Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
xvantage-integration committed Nov 5, 2024
1 parent 6917d25 commit 306d1fa
Show file tree
Hide file tree
Showing 13 changed files with 720 additions and 368 deletions.
657 changes: 355 additions & 302 deletions api/openapi.yaml

Large diffs are not rendered by default.

36 changes: 26 additions & 10 deletions docs/PriceAndAvailabilityResponseInner.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Index** | Pointer to **float32** | | [optional]
**ProductStatusCode** | Pointer to **string** | Codes signifying whether the sku is active or not. | [optional]
**ProductStatusMessage** | Pointer to **string** | Message returned saying whether sku is active. | [optional]
**IngramPartNumber** | Pointer to **string** | Ingram Micro unique part number for the product. | [optional]
Expand Down Expand Up @@ -52,6 +53,31 @@ NewPriceAndAvailabilityResponseInnerWithDefaults instantiates a new PriceAndAvai
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set

### GetIndex

`func (o *PriceAndAvailabilityResponseInner) GetIndex() float32`

GetIndex returns the Index field if non-nil, zero value otherwise.

### GetIndexOk

`func (o *PriceAndAvailabilityResponseInner) GetIndexOk() (*float32, bool)`

GetIndexOk returns a tuple with the Index field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetIndex

`func (o *PriceAndAvailabilityResponseInner) SetIndex(v float32)`

SetIndex sets Index field to given value.

### HasIndex

`func (o *PriceAndAvailabilityResponseInner) HasIndex() bool`

HasIndex returns a boolean if a field has been set.

### GetProductStatusCode

`func (o *PriceAndAvailabilityResponseInner) GetProductStatusCode() string`
Expand Down Expand Up @@ -807,16 +833,6 @@ SetReserveInventoryDetails sets ReserveInventoryDetails field to given value.

HasReserveInventoryDetails returns a boolean if a field has been set.

### SetReserveInventoryDetailsNil

`func (o *PriceAndAvailabilityResponseInner) SetReserveInventoryDetailsNil(b bool)`

SetReserveInventoryDetailsNil sets the value for ReserveInventoryDetails to be an explicit nil

### UnsetReserveInventoryDetails
`func (o *PriceAndAvailabilityResponseInner) UnsetReserveInventoryDetails()`

UnsetReserveInventoryDetails ensures that no value is present for ReserveInventoryDetails, not even an explicit nil
### GetPricing

`func (o *PriceAndAvailabilityResponseInner) GetPricing() PriceAndAvailabilityResponseInnerPricing`
Expand Down
34 changes: 30 additions & 4 deletions docs/PriceAndAvailabilityResponseInnerSubscriptionPriceInner.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Index** | Pointer to **float32** | | [optional]
**PlanId** | Pointer to **string** | Id of the plan. | [optional]
**PlanName** | Pointer to **string** | Name of the plan. | [optional]
**PlanDescription** | Pointer to **float32** | The description of the plan. | [optional]
**PlanDescription** | Pointer to **string** | The description of the plan. | [optional]
**Groups** | Pointer to [**[]PriceAndAvailabilityResponseInnerSubscriptionPriceInnerGroupsInner**](PriceAndAvailabilityResponseInnerSubscriptionPriceInnerGroupsInner.md) | | [optional]
**BillingPeriod** | Pointer to [**[]PriceAndAvailabilityResponseInnerSubscriptionPriceInnerBillingPeriodInner**](PriceAndAvailabilityResponseInnerSubscriptionPriceInnerBillingPeriodInner.md) | | [optional]
**SubscriptionPeriod** | Pointer to [**[]PriceAndAvailabilityResponseInnerSubscriptionPriceInnerSubscriptionPeriodInner**](PriceAndAvailabilityResponseInnerSubscriptionPriceInnerSubscriptionPeriodInner.md) | | [optional]
Expand All @@ -31,6 +32,31 @@ NewPriceAndAvailabilityResponseInnerSubscriptionPriceInnerWithDefaults instantia
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set

### GetIndex

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInner) GetIndex() float32`

GetIndex returns the Index field if non-nil, zero value otherwise.

### GetIndexOk

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInner) GetIndexOk() (*float32, bool)`

GetIndexOk returns a tuple with the Index field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetIndex

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInner) SetIndex(v float32)`

SetIndex sets Index field to given value.

### HasIndex

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInner) HasIndex() bool`

HasIndex returns a boolean if a field has been set.

### GetPlanId

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInner) GetPlanId() string`
Expand Down Expand Up @@ -83,20 +109,20 @@ HasPlanName returns a boolean if a field has been set.

### GetPlanDescription

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInner) GetPlanDescription() float32`
`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInner) GetPlanDescription() string`

GetPlanDescription returns the PlanDescription field if non-nil, zero value otherwise.

### GetPlanDescriptionOk

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInner) GetPlanDescriptionOk() (*float32, bool)`
`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInner) GetPlanDescriptionOk() (*string, bool)`

GetPlanDescriptionOk returns a tuple with the PlanDescription field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetPlanDescription

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInner) SetPlanDescription(v float32)`
`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInner) SetPlanDescription(v string)`

SetPlanDescription sets PlanDescription field to given value.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**BillingPeriodUnit** | Pointer to **string** | The unit of the billing period. | [optional]
**BillingPeriod** | Pointer to **string** | The billing period value. | [optional]
**BillingPeriod** | Pointer to **float32** | The billing period value. | [optional]

## Methods

Expand Down Expand Up @@ -53,20 +53,20 @@ HasBillingPeriodUnit returns a boolean if a field has been set.

### GetBillingPeriod

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerBillingPeriodInner) GetBillingPeriod() string`
`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerBillingPeriodInner) GetBillingPeriod() float32`

GetBillingPeriod returns the BillingPeriod field if non-nil, zero value otherwise.

### GetBillingPeriodOk

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerBillingPeriodInner) GetBillingPeriodOk() (*string, bool)`
`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerBillingPeriodInner) GetBillingPeriodOk() (*float32, bool)`

GetBillingPeriodOk returns a tuple with the BillingPeriod field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetBillingPeriod

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerBillingPeriodInner) SetBillingPeriod(v string)`
`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerBillingPeriodInner) SetBillingPeriod(v float32)`

SetBillingPeriod sets BillingPeriod field to given value.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ResourceId** | Pointer to **string** | The resource id of the subscription product. | [optional]
**ResourceId** | Pointer to **string** | | [optional]
**ResourceUId** | Pointer to **string** | The resource id of the subscription product. | [optional]
**ResourceName** | Pointer to **string** | The name of the resource of the subscription product. | [optional]
**VendorPartNumber** | Pointer to **string** | Vendor’s part number for the subscription product. | [optional]
**MinUnits** | Pointer to **string** | Minimum unit needs to purchased. | [optional]
**MaxUnits** | Pointer to **string** | Maximum unit available for a purchase. | [optional]
**MinUnits** | Pointer to **float32** | Minimum unit needs to purchased. | [optional]
**MaxUnits** | Pointer to **float32** | Maximum unit available for a purchase. | [optional]
**Recurringpricemodel** | Pointer to **string** | Recurring price model | [optional]
**UnitOfMeasure** | Pointer to **string** | Unit of mesaure for a subscription product. | [optional]
**ResourcePricing** | Pointer to [**[]PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner**](PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner.md) | | [optional]
Expand Down Expand Up @@ -59,6 +60,31 @@ SetResourceId sets ResourceId field to given value.

HasResourceId returns a boolean if a field has been set.

### GetResourceUId

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInner) GetResourceUId() string`

GetResourceUId returns the ResourceUId field if non-nil, zero value otherwise.

### GetResourceUIdOk

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInner) GetResourceUIdOk() (*string, bool)`

GetResourceUIdOk returns a tuple with the ResourceUId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetResourceUId

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInner) SetResourceUId(v string)`

SetResourceUId sets ResourceUId field to given value.

### HasResourceUId

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInner) HasResourceUId() bool`

HasResourceUId returns a boolean if a field has been set.

### GetResourceName

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInner) GetResourceName() string`
Expand Down Expand Up @@ -111,20 +137,20 @@ HasVendorPartNumber returns a boolean if a field has been set.

### GetMinUnits

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInner) GetMinUnits() string`
`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInner) GetMinUnits() float32`

GetMinUnits returns the MinUnits field if non-nil, zero value otherwise.

### GetMinUnitsOk

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInner) GetMinUnitsOk() (*string, bool)`
`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInner) GetMinUnitsOk() (*float32, bool)`

GetMinUnitsOk returns a tuple with the MinUnits field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetMinUnits

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInner) SetMinUnits(v string)`
`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInner) SetMinUnits(v float32)`

SetMinUnits sets MinUnits field to given value.

Expand All @@ -136,20 +162,20 @@ HasMinUnits returns a boolean if a field has been set.

### GetMaxUnits

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInner) GetMaxUnits() string`
`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInner) GetMaxUnits() float32`

GetMaxUnits returns the MaxUnits field if non-nil, zero value otherwise.

### GetMaxUnitsOk

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInner) GetMaxUnitsOk() (*string, bool)`
`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInner) GetMaxUnitsOk() (*float32, bool)`

GetMaxUnitsOk returns a tuple with the MaxUnits field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetMaxUnits

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInner) SetMaxUnits(v string)`
`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInner) SetMaxUnits(v float32)`

SetMaxUnits sets MaxUnits field to given value.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Price** | Pointer to **float32** | Fee price of the line item. | [optional]
**Type** | Pointer to **string** | The type of the fees. | [optional]
**Msrp** | Pointer to **float32** | | [optional]
**Code** | Pointer to **string** | | [optional]

## Methods

Expand Down Expand Up @@ -76,6 +78,56 @@ SetType sets Type field to given value.

HasType returns a boolean if a field has been set.

### GetMsrp

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerFeesInner) GetMsrp() float32`

GetMsrp returns the Msrp field if non-nil, zero value otherwise.

### GetMsrpOk

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerFeesInner) GetMsrpOk() (*float32, bool)`

GetMsrpOk returns a tuple with the Msrp field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetMsrp

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerFeesInner) SetMsrp(v float32)`

SetMsrp sets Msrp field to given value.

### HasMsrp

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerFeesInner) HasMsrp() bool`

HasMsrp returns a boolean if a field has been set.

### GetCode

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerFeesInner) GetCode() string`

GetCode returns the Code field if non-nil, zero value otherwise.

### GetCodeOk

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerFeesInner) GetCodeOk() (*string, bool)`

GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetCode

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerFeesInner) SetCode(v string)`

SetCode sets Code field to given value.

### HasCode

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerFeesInner) HasCode() bool`

HasCode returns a boolean if a field has been set.


[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | Pointer to **string** | Name of the type of pricing. | [optional]
**Quantity** | Pointer to **int32** | Quantity of the line item. | [optional]
**Quantity** | Pointer to **string** | Quantity of the line item. | [optional]
**Msrp** | Pointer to **float32** | Manufacturer Suggested Retail Price. | [optional]
**UnitPrice** | Pointer to **float32** | The unit price of the line item. | [optional]
**Margin** | Pointer to **float32** | Reseller’s margin percentage | [optional]
Expand Down Expand Up @@ -58,20 +58,20 @@ HasName returns a boolean if a field has been set.

### GetQuantity

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) GetQuantity() int32`
`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) GetQuantity() string`

GetQuantity returns the Quantity field if non-nil, zero value otherwise.

### GetQuantityOk

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) GetQuantityOk() (*int32, bool)`
`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) GetQuantityOk() (*string, bool)`

GetQuantityOk returns a tuple with the Quantity field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetQuantity

`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) SetQuantity(v int32)`
`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerResourcePricingInner) SetQuantity(v string)`

SetQuantity sets Quantity field to given value.

Expand Down
Loading

0 comments on commit 306d1fa

Please sign in to comment.