diff --git a/api/openapi.yaml b/api/openapi.yaml index 0fc1056..374b1ff 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -15040,10 +15040,10 @@ components: type: object PriceAndAvailabilityResponse_inner_subscriptionPrice_inner_options_inner_discounts_inner_volumeDiscounts_inner: example: - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode properties: currencyCode: @@ -15053,7 +15053,7 @@ components: quantity: description: Quantity of the line item. nullable: true - type: integer + type: string msrp: description: Manufacturer Suggested Retail Price. format: decimal @@ -15072,9 +15072,9 @@ components: type: object PriceAndAvailabilityResponse_inner_subscriptionPrice_inner_options_inner_discounts_inner_specialPricing_inner: example: - discountQtyLimit: 6 + discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate @@ -15108,28 +15108,28 @@ components: PriceAndAvailabilityResponse_inner_subscriptionPrice_inner_options_inner_discounts_inner: example: specialPricing: - - discountQtyLimit: 6 + - discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate - - discountQtyLimit: 6 + - discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate volumeDiscounts: - - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + - unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode - - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + - unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode properties: volumeDiscounts: @@ -15144,8 +15144,8 @@ components: PriceAndAvailabilityResponse_inner_subscriptionPrice_inner_options_inner_fees_inner: example: code: code - price: 6.878052220127876 - msrp: 5.944895607614016 + price: 6.778324963048013 + msrp: 6.878052220127876 type: type properties: price: @@ -15170,62 +15170,62 @@ components: resourceId: resourceId fees: - code: code - price: 6.878052220127876 - msrp: 5.944895607614016 + price: 6.778324963048013 + msrp: 6.878052220127876 type: type - code: code - price: 6.878052220127876 - msrp: 5.944895607614016 + price: 6.778324963048013 + msrp: 6.878052220127876 type: type unitOfMeasure: unitOfMeasure discounts: - specialPricing: - - discountQtyLimit: 6 + - discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate - - discountQtyLimit: 6 + - discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate volumeDiscounts: - - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + - unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode - - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + - unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode - specialPricing: - - discountQtyLimit: 6 + - discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate - - discountQtyLimit: 6 + - discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate volumeDiscounts: - - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + - unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode - - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + - unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode resourceUId: resourceUId maxUnits: 9.369310271410669 @@ -15310,62 +15310,62 @@ components: - resourceId: resourceId fees: - code: code - price: 6.878052220127876 - msrp: 5.944895607614016 + price: 6.778324963048013 + msrp: 6.878052220127876 type: type - code: code - price: 6.878052220127876 - msrp: 5.944895607614016 + price: 6.778324963048013 + msrp: 6.878052220127876 type: type unitOfMeasure: unitOfMeasure discounts: - specialPricing: - - discountQtyLimit: 6 + - discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate - - discountQtyLimit: 6 + - discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate volumeDiscounts: - - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + - unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode - - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + - unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode - specialPricing: - - discountQtyLimit: 6 + - discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate - - discountQtyLimit: 6 + - discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate volumeDiscounts: - - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + - unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode - - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + - unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode resourceUId: resourceUId maxUnits: 9.369310271410669 @@ -15391,62 +15391,62 @@ components: - resourceId: resourceId fees: - code: code - price: 6.878052220127876 - msrp: 5.944895607614016 + price: 6.778324963048013 + msrp: 6.878052220127876 type: type - code: code - price: 6.878052220127876 - msrp: 5.944895607614016 + price: 6.778324963048013 + msrp: 6.878052220127876 type: type unitOfMeasure: unitOfMeasure discounts: - specialPricing: - - discountQtyLimit: 6 + - discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate - - discountQtyLimit: 6 + - discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate volumeDiscounts: - - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + - unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode - - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + - unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode - specialPricing: - - discountQtyLimit: 6 + - discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate - - discountQtyLimit: 6 + - discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate volumeDiscounts: - - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + - unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode - - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + - unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode resourceUId: resourceUId maxUnits: 9.369310271410669 @@ -15665,62 +15665,62 @@ components: - resourceId: resourceId fees: - code: code - price: 6.878052220127876 - msrp: 5.944895607614016 + price: 6.778324963048013 + msrp: 6.878052220127876 type: type - code: code - price: 6.878052220127876 - msrp: 5.944895607614016 + price: 6.778324963048013 + msrp: 6.878052220127876 type: type unitOfMeasure: unitOfMeasure discounts: - specialPricing: - - discountQtyLimit: 6 + - discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate - - discountQtyLimit: 6 + - discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate volumeDiscounts: - - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + - unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode - - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + - unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode - specialPricing: - - discountQtyLimit: 6 + - discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate - - discountQtyLimit: 6 + - discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate volumeDiscounts: - - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + - unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode - - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + - unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode resourceUId: resourceUId maxUnits: 9.369310271410669 @@ -15746,62 +15746,62 @@ components: - resourceId: resourceId fees: - code: code - price: 6.878052220127876 - msrp: 5.944895607614016 + price: 6.778324963048013 + msrp: 6.878052220127876 type: type - code: code - price: 6.878052220127876 - msrp: 5.944895607614016 + price: 6.778324963048013 + msrp: 6.878052220127876 type: type unitOfMeasure: unitOfMeasure discounts: - specialPricing: - - discountQtyLimit: 6 + - discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate - - discountQtyLimit: 6 + - discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate volumeDiscounts: - - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + - unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode - - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + - unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode - specialPricing: - - discountQtyLimit: 6 + - discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate - - discountQtyLimit: 6 + - discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate volumeDiscounts: - - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + - unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode - - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + - unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode resourceUId: resourceUId maxUnits: 9.369310271410669 @@ -15846,62 +15846,62 @@ components: - resourceId: resourceId fees: - code: code - price: 6.878052220127876 - msrp: 5.944895607614016 + price: 6.778324963048013 + msrp: 6.878052220127876 type: type - code: code - price: 6.878052220127876 - msrp: 5.944895607614016 + price: 6.778324963048013 + msrp: 6.878052220127876 type: type unitOfMeasure: unitOfMeasure discounts: - specialPricing: - - discountQtyLimit: 6 + - discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate - - discountQtyLimit: 6 + - discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate volumeDiscounts: - - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + - unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode - - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + - unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode - specialPricing: - - discountQtyLimit: 6 + - discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate - - discountQtyLimit: 6 + - discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate volumeDiscounts: - - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + - unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode - - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + - unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode resourceUId: resourceUId maxUnits: 9.369310271410669 @@ -15927,62 +15927,62 @@ components: - resourceId: resourceId fees: - code: code - price: 6.878052220127876 - msrp: 5.944895607614016 + price: 6.778324963048013 + msrp: 6.878052220127876 type: type - code: code - price: 6.878052220127876 - msrp: 5.944895607614016 + price: 6.778324963048013 + msrp: 6.878052220127876 type: type unitOfMeasure: unitOfMeasure discounts: - specialPricing: - - discountQtyLimit: 6 + - discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate - - discountQtyLimit: 6 + - discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate volumeDiscounts: - - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + - unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode - - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + - unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode - specialPricing: - - discountQtyLimit: 6 + - discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate - - discountQtyLimit: 6 + - discountQtyLimit: 2 vendorProgramName: vendorProgramName - discount: 2.8841621266687802 + discount: 1.284659006116532 discountType: discountType currencyCode: currencyCode discountExpiryDate: discountExpiryDate volumeDiscounts: - - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + - unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode - - unitPrice: 6.965117697638846 - margin: 1.284659006116532 - quantity: 6 - msrp: 3.5571952270680973 + - unitPrice: 3.5571952270680973 + margin: 6.965117697638846 + quantity: quantity + msrp: 6.438423552598547 currencyCode: currencyCode resourceUId: resourceUId maxUnits: 9.369310271410669 diff --git a/docs/PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner.md b/docs/PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner.md index 030c67a..84e958e 100644 --- a/docs/PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner.md +++ b/docs/PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **CurrencyCode** | Pointer to **NullableString** | The 3-digit ISO currency code. | [optional] -**Quantity** | Pointer to **NullableInt32** | Quantity of the line item. | [optional] +**Quantity** | Pointer to **NullableString** | Quantity of the line item. | [optional] **Msrp** | Pointer to **NullableFloat32** | Manufacturer Suggested Retail Price. | [optional] **UnitPrice** | Pointer to **NullableFloat32** | The unit price of the line item. | [optional] **Margin** | Pointer to **NullableFloat32** | Reseller’s margin percentage | [optional] @@ -66,20 +66,20 @@ HasCurrencyCode returns a boolean if a field has been set. UnsetCurrencyCode ensures that no value is present for CurrencyCode, not even an explicit nil ### GetQuantity -`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) GetQuantity() int32` +`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) GetQuantity() string` GetQuantity returns the Quantity field if non-nil, zero value otherwise. ### GetQuantityOk -`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) GetQuantityOk() (*int32, bool)` +`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) 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 *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) SetQuantity(v int32)` +`func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) SetQuantity(v string)` SetQuantity sets Quantity field to given value. diff --git a/model_price_and_availability_response_inner_subscription_price_inner_options_inner_discounts_inner_volume_discounts_inner.go b/model_price_and_availability_response_inner_subscription_price_inner_options_inner_discounts_inner_volume_discounts_inner.go index b47d255..8217685 100644 --- a/model_price_and_availability_response_inner_subscription_price_inner_options_inner_discounts_inner_volume_discounts_inner.go +++ b/model_price_and_availability_response_inner_subscription_price_inner_options_inner_discounts_inner_volume_discounts_inner.go @@ -22,7 +22,7 @@ type PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscount // The 3-digit ISO currency code. CurrencyCode NullableString `json:"currencyCode,omitempty"` // Quantity of the line item. - Quantity NullableInt32 `json:"quantity,omitempty"` + Quantity NullableString `json:"quantity,omitempty"` // Manufacturer Suggested Retail Price. Msrp NullableFloat32 `json:"msrp,omitempty"` // The unit price of the line item. @@ -91,9 +91,9 @@ func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDisc } // GetQuantity returns the Quantity field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) GetQuantity() int32 { +func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) GetQuantity() string { if o == nil || IsNil(o.Quantity.Get()) { - var ret int32 + var ret string return ret } return *o.Quantity.Get() @@ -102,7 +102,7 @@ func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDisc // GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) GetQuantityOk() (*int32, bool) { +func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) GetQuantityOk() (*string, bool) { if o == nil { return nil, false } @@ -118,8 +118,8 @@ func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDisc return false } -// SetQuantity gets a reference to the given NullableInt32 and assigns it to the Quantity field. -func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) SetQuantity(v int32) { +// SetQuantity gets a reference to the given NullableString and assigns it to the Quantity field. +func (o *PriceAndAvailabilityResponseInnerSubscriptionPriceInnerOptionsInnerDiscountsInnerVolumeDiscountsInner) SetQuantity(v string) { o.Quantity.Set(&v) } // SetQuantityNil sets the value for Quantity to be an explicit nil