peddler 4.6.0 → 4.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/lib/peddler/types/fba_inbound_eligibility_v1/item_eligibility_preview.rb +1 -1
  3. data/lib/peddler/types/fulfillment_outbound_2020_07_01/cod_settings.rb +1 -1
  4. data/lib/peddler/types/fulfillment_outbound_2020_07_01/fulfillment_preview.rb +2 -2
  5. data/lib/peddler/types/fulfillment_outbound_2020_07_01/get_feature_sku_result.rb +1 -1
  6. data/lib/peddler/types/merchant_fulfillment_v0/item.rb +1 -1
  7. data/lib/peddler/types/merchant_fulfillment_v0/seller_input_definition.rb +1 -1
  8. data/lib/peddler/types/orders_v0/exception_dates.rb +1 -1
  9. data/lib/peddler/types/orders_v0/order.rb +10 -10
  10. data/lib/peddler/types/orders_v0/order_item.rb +1 -1
  11. data/lib/peddler/types/product_fees_v0/fees_estimate_identifier.rb +1 -1
  12. data/lib/peddler/types/product_fees_v0/fees_estimate_request.rb +1 -1
  13. data/lib/peddler/types/product_pricing_v0/offer_detail.rb +3 -3
  14. data/lib/peddler/types/product_pricing_v0/prime_information_type.rb +2 -2
  15. data/lib/peddler/types/sellers_v1/participation.rb +1 -1
  16. data/lib/peddler/types/services_v1/buyer.rb +1 -1
  17. data/lib/peddler/types/shipping_v2/available_value_added_service_group.rb +1 -1
  18. data/lib/peddler/types/shipping_v2/carrier_account_input.rb +3 -3
  19. data/lib/peddler/types/shipping_v2/create_claim_request.rb +1 -1
  20. data/lib/peddler/types/shipping_v2/item.rb +1 -1
  21. data/lib/peddler/types/shipping_v2/package.rb +1 -1
  22. data/lib/peddler/types/shipping_v2/supported_document_detail.rb +1 -1
  23. data/lib/peddler/types/shipping_v2/unlink_carrier_account_response.rb +1 -1
  24. data/lib/peddler/types/supply_sources_2020_07_01/curbside_pickup_configuration.rb +1 -1
  25. data/lib/peddler/types/supply_sources_2020_07_01/delivery_channel.rb +1 -1
  26. data/lib/peddler/types/supply_sources_2020_07_01/in_store_pickup_configuration.rb +1 -1
  27. data/lib/peddler/types/supply_sources_2020_07_01/outbound_capability.rb +1 -1
  28. data/lib/peddler/types/supply_sources_2020_07_01/pickup_channel.rb +1 -1
  29. data/lib/peddler/types/supply_sources_2020_07_01/services_capability.rb +1 -1
  30. data/lib/peddler/types/vendor_direct_fulfillment_inventory_v1/inventory_update.rb +1 -1
  31. data/lib/peddler/types/vendor_direct_fulfillment_inventory_v1/item_details.rb +1 -1
  32. data/lib/peddler/types/vendor_direct_fulfillment_orders_2021_12_28/shipment_details.rb +4 -4
  33. data/lib/peddler/types/vendor_direct_fulfillment_orders_v1/shipment_details.rb +4 -4
  34. data/lib/peddler/types/vendor_direct_fulfillment_shipping_2021_12_28/shipment_details.rb +1 -1
  35. data/lib/peddler/types/vendor_direct_fulfillment_shipping_v1/shipment_details.rb +1 -1
  36. data/lib/peddler/types/vendor_orders_v1/order_item.rb +1 -1
  37. data/lib/peddler/version.rb +1 -1
  38. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ba82042badf4244382b3940ce49aee56c54f8558da34e2036c1b86bc39a92d80
4
- data.tar.gz: e287aa77f2ec37862c8f14480389b8a0a650141932fd0fbc301411cc8695402c
3
+ metadata.gz: e21291f817cc61091769def0875721246c08d64f7a8a66cc5ced664635756544
4
+ data.tar.gz: 34c2848e0c11ce8c064974c01cfa19ab160a8f1df73f8017ea4f3bbcf3c89ad5
5
5
  SHA512:
6
- metadata.gz: 7dc987e9271cd6f711669c9faaa30075afcc5c07b08137ab7f5e2a3422b74da67b698e9e477850a099906324178abc95c693f4460b286c58fe643a971986c80f
7
- data.tar.gz: 23ce12ffd930ed067aa3d1e67d4b2439b4b52cd9f90f2b1cce00d214d2f323259091d57ac7ad22e10b55f6a3fb825e04ba019739673ff77ea5c1d21c36a4c8f1
6
+ metadata.gz: 970ce3368939131d2ea82fccefc7c3892b751f70616fd5488acf8679a09eadbe02261295614dbb5210f0e9d4314e4bc65296d2da8ae954c4b0defec38e4ae45f
7
+ data.tar.gz: 6a0448616fc1d34ce1f480e76c01233b75c89e8f5a706f8282ee927b6c778664f2eb8b82a8366cd1cf5f14ca54cd34a02fc329d0ee18908baefba5fe3efadf70
@@ -18,7 +18,7 @@ module Peddler
18
18
  attribute(:program, String)
19
19
 
20
20
  # @return [:boolean] Indicates if the item is eligible for the program.
21
- attribute(:is_eligible_for_program, :boolean, from: "isEligibleForProgram")
21
+ attribute(:eligible_for_program, :boolean, from: "isEligibleForProgram")
22
22
 
23
23
  # @return [Array<String>] Potential Ineligibility Reason Codes.
24
24
  attribute(:ineligibility_reason_list, [String], from: "ineligibilityReasonList")
@@ -8,7 +8,7 @@ module Peddler
8
8
  # The COD (Cash On Delivery) charges that you associate with a COD fulfillment order.
9
9
  CODSettings = Structure.new do
10
10
  # @return [:boolean] When true, this fulfillment order requires a COD (Cash On Delivery) payment.
11
- attribute(:is_cod_required, :boolean, from: "isCodRequired")
11
+ attribute(:cod_required, :boolean, from: "isCodRequired")
12
12
 
13
13
  # @return [Money] The amount of the COD charge to be collected from the recipient for a COD order.
14
14
  attribute(:cod_charge, Money, from: "codCharge")
@@ -19,10 +19,10 @@ module Peddler
19
19
  attribute(:scheduled_delivery_info, ScheduledDeliveryInfo, from: "scheduledDeliveryInfo")
20
20
 
21
21
  # @return [:boolean] When true, this fulfillment order preview is fulfillable.
22
- attribute(:is_fulfillable, :boolean, from: "isFulfillable")
22
+ attribute(:fulfillable, :boolean, from: "isFulfillable")
23
23
 
24
24
  # @return [:boolean] When true, this fulfillment order preview is for COD (Cash On Delivery).
25
- attribute(:is_cod_capable, :boolean, from: "isCODCapable")
25
+ attribute(:cod_capable, :boolean, from: "isCODCapable")
26
26
 
27
27
  # @return [Weight] Estimated shipping weight for this fulfillment order preview.
28
28
  attribute(:estimated_shipping_weight, Weight, from: "estimatedShippingWeight")
@@ -14,7 +14,7 @@ module Peddler
14
14
  attribute(:feature_name, String, from: "featureName")
15
15
 
16
16
  # @return [:boolean] When true, the seller SKU is eligible for the requested feature.
17
- attribute(:is_eligible, :boolean, from: "isEligible")
17
+ attribute(:eligible, :boolean, from: "isEligible")
18
18
 
19
19
  # @return [Array<String>] A list of one or more reasons that the seller SKU is ineligible for the feature.
20
20
  #
@@ -33,7 +33,7 @@ module Peddler
33
33
  attribute(:liquid_volume, LiquidVolume, from: "LiquidVolume")
34
34
 
35
35
  # @return [:boolean] When true, the item qualifies as hazardous materials (hazmat). Defaults to false.
36
- attribute(:is_hazmat, :boolean, from: "IsHazmat")
36
+ attribute(:hazmat, :boolean, from: "IsHazmat")
37
37
 
38
38
  # @return [DangerousGoodsDetails]
39
39
  attribute(:dangerous_goods_details, DangerousGoodsDetails, from: "DangerousGoodsDetails")
@@ -9,7 +9,7 @@ module Peddler
9
9
  # Specifies characteristics that apply to a seller input.
10
10
  SellerInputDefinition = Structure.new do
11
11
  # @return [:boolean] When true, the additional input field is required.
12
- attribute(:is_required, :boolean, from: "IsRequired")
12
+ attribute(:required, :boolean, from: "IsRequired")
13
13
 
14
14
  # @return [String] The data type of the additional input field.
15
15
  attribute(:data_type, String, from: "DataType")
@@ -12,7 +12,7 @@ module Peddler
12
12
  attribute(:exception_date, String, from: "ExceptionDate")
13
13
 
14
14
  # @return [:boolean] Boolean indicating if the business is closed or open on that date.
15
- attribute(:is_open, :boolean, from: "IsOpen")
15
+ attribute(:open, :boolean, from: "IsOpen")
16
16
 
17
17
  # @return [Array<OpenInterval>] Time window during the day when the business is open.
18
18
  attribute(:open_intervals, [OpenInterval], from: "OpenIntervals")
@@ -109,25 +109,25 @@ module Peddler
109
109
 
110
110
  # @return [:boolean] When true, the order is an Amazon Business order. An Amazon Business order is an order
111
111
  # where the buyer is a Verified Business Buyer.
112
- attribute(:is_business_order, :boolean, from: "IsBusinessOrder")
112
+ attribute(:business_order, :boolean, from: "IsBusinessOrder")
113
113
 
114
114
  # @return [:boolean] When true, the order is a seller-fulfilled Amazon Prime order.
115
- attribute(:is_prime, :boolean, from: "IsPrime")
115
+ attribute(:prime, :boolean, from: "IsPrime")
116
116
 
117
117
  # @return [:boolean] When true, the order has a Premium Shipping Service Level Agreement. For more information
118
118
  # about Premium Shipping orders, refer to "Premium Shipping Options" in the Seller Central Help for your
119
119
  # marketplace.
120
- attribute(:is_premium_order, :boolean, from: "IsPremiumOrder")
120
+ attribute(:premium_order, :boolean, from: "IsPremiumOrder")
121
121
 
122
122
  # @return [:boolean] When true, the order is a `GlobalExpress` order.
123
- attribute(:is_global_express_enabled, :boolean, from: "IsGlobalExpressEnabled")
123
+ attribute(:global_express_enabled, :boolean, from: "IsGlobalExpressEnabled")
124
124
 
125
125
  # @return [String] The order ID value for the order that is being replaced. Returned only if IsReplacementOrder
126
126
  # = true.
127
127
  attribute(:replaced_order_id, String, from: "ReplacedOrderId")
128
128
 
129
129
  # @return [:boolean] When true, this is a replacement order.
130
- attribute(:is_replacement_order, :boolean, from: "IsReplacementOrder")
130
+ attribute(:replacement_order, :boolean, from: "IsReplacementOrder")
131
131
 
132
132
  # @return [String] Indicates the date by which the seller must respond to the buyer with an estimated ship date.
133
133
  # Only returned for Sourcing on Demand orders.
@@ -135,17 +135,17 @@ module Peddler
135
135
 
136
136
  # @return [:boolean] When true, the estimated ship date is set for the order. Only returned for Sourcing on
137
137
  # Demand orders.
138
- attribute(:is_estimated_ship_date_set, :boolean, from: "IsEstimatedShipDateSet")
138
+ attribute(:estimated_ship_date_set, :boolean, from: "IsEstimatedShipDateSet")
139
139
 
140
140
  # @return [:boolean] When true, the item within this order was bought and re-sold by Amazon Business EU SARL
141
141
  # (ABEU). By buying and instantly re-selling your items, ABEU becomes the seller of record, making your
142
142
  # inventory available for sale to customers who would not otherwise purchase from a third-party seller.
143
- attribute(:is_sold_by_ab, :boolean, from: "IsSoldByAB")
143
+ attribute(:sold_by_ab, :boolean, from: "IsSoldByAB")
144
144
 
145
145
  # @return [:boolean] When true, the item within this order was bought and re-sold by Amazon Business EU SARL
146
146
  # (ABEU). By buying and instantly re-selling your items, ABEU becomes the seller of record, making your
147
147
  # inventory available for sale to customers who would not otherwise purchase from a third-party seller.
148
- attribute(:is_iba, :boolean, from: "IsIBA")
148
+ attribute(:iba, :boolean, from: "IsIBA")
149
149
 
150
150
  # @return [Address] The recommended location for the seller to ship the items from. It is calculated at
151
151
  # checkout. The seller may or may not choose to ship from this location.
@@ -172,12 +172,12 @@ module Peddler
172
172
  attribute(:fulfillment_instruction, FulfillmentInstruction, from: "FulfillmentInstruction")
173
173
 
174
174
  # @return [:boolean] When true, this order is marked to be picked up from a store rather than delivered.
175
- attribute(:is_ispu, :boolean, from: "IsISPU")
175
+ attribute(:ispu, :boolean, from: "IsISPU")
176
176
 
177
177
  # @return [:boolean] When true, this order is marked to be delivered to an Access Point. The access location is
178
178
  # chosen by the customer. Access Points include Amazon Hub Lockers, Amazon Hub Counters, and pickup points
179
179
  # operated by carriers.
180
- attribute(:is_access_point_order, :boolean, from: "IsAccessPointOrder")
180
+ attribute(:access_point_order, :boolean, from: "IsAccessPointOrder")
181
181
 
182
182
  # @return [MarketplaceTaxInfo] Tax information about the marketplace where the sale took place. Sellers can use
183
183
  # this data to issue electronic invoices for orders in Brazil.
@@ -130,7 +130,7 @@ module Peddler
130
130
  # **2D Barcode SN:** Submit the 7- to 20-character serial number barcode, which likely has the prefix **SN**.
131
131
  # The serial number is applied to the same side of the packaging as the GTIN (UPC/EAN/ISBN) barcode.
132
132
  # **QR code SN:** Submit the URL that the QR code generates.
133
- attribute(:is_transparency, :boolean, from: "IsTransparency")
133
+ attribute(:transparency, :boolean, from: "IsTransparency")
134
134
 
135
135
  # @return [String] The IOSS number of the marketplace. Sellers shipping to the EU from outside the EU must
136
136
  # provide this IOSS number to their carrier when Amazon has collected the VAT on the sale.
@@ -20,7 +20,7 @@ module Peddler
20
20
  attribute(:id_value, String, from: "IdValue")
21
21
 
22
22
  # @return [:boolean] When true, the offer is fulfilled by Amazon.
23
- attribute(:is_amazon_fulfilled, :boolean, from: "IsAmazonFulfilled")
23
+ attribute(:amazon_fulfilled, :boolean, from: "IsAmazonFulfilled")
24
24
 
25
25
  # @return [PriceToEstimateFees] The item price on which the fee estimate is based.
26
26
  attribute(:price_to_estimate_fees, PriceToEstimateFees, from: "PriceToEstimateFees")
@@ -11,7 +11,7 @@ module Peddler
11
11
  attribute(:marketplace_id, String, from: "MarketplaceId")
12
12
 
13
13
  # @return [:boolean] When true, the offer is fulfilled by Amazon.
14
- attribute(:is_amazon_fulfilled, :boolean, from: "IsAmazonFulfilled")
14
+ attribute(:amazon_fulfilled, :boolean, from: "IsAmazonFulfilled")
15
15
 
16
16
  # @return [PriceToEstimateFees] The product price that the fee estimate is based on.
17
17
  attribute(:price_to_estimate_fees, PriceToEstimateFees, from: "PriceToEstimateFees")
@@ -55,17 +55,17 @@ module Peddler
55
55
  attribute(:ships_from, ShipsFromType, from: "ShipsFrom")
56
56
 
57
57
  # @return [:boolean] When true, the offer is fulfilled by Amazon.
58
- attribute(:is_fulfilled_by_amazon, :boolean, from: "IsFulfilledByAmazon")
58
+ attribute(:fulfilled_by_amazon, :boolean, from: "IsFulfilledByAmazon")
59
59
 
60
60
  # @return [PrimeInformationType] Amazon Prime information.
61
61
  attribute(:prime_information, PrimeInformationType, from: "PrimeInformation")
62
62
 
63
63
  # @return [:boolean] When true, the offer is currently in the Buy Box. There can be up to two Buy Box winners at
64
64
  # any time per ASIN, one that is eligible for Prime and one that is not eligible for Prime.
65
- attribute(:is_buy_box_winner, :boolean, from: "IsBuyBoxWinner")
65
+ attribute(:buy_box_winner, :boolean, from: "IsBuyBoxWinner")
66
66
 
67
67
  # @return [:boolean] When true, the seller of the item is eligible to win the Buy Box.
68
- attribute(:is_featured_merchant, :boolean, from: "IsFeaturedMerchant")
68
+ attribute(:featured_merchant, :boolean, from: "IsFeaturedMerchant")
69
69
  end
70
70
  end
71
71
  end
@@ -8,11 +8,11 @@ module Peddler
8
8
  # Amazon Prime information.
9
9
  PrimeInformationType = Structure.new do
10
10
  # @return [:boolean] Indicates whether the offer is an Amazon Prime offer.
11
- attribute(:is_prime, :boolean, from: "IsPrime")
11
+ attribute(:prime, :boolean, from: "IsPrime")
12
12
 
13
13
  # @return [:boolean] Indicates whether the offer is an Amazon Prime offer throughout the entire marketplace
14
14
  # where it is listed.
15
- attribute(:is_national_prime, :boolean, from: "IsNationalPrime")
15
+ attribute(:national_prime, :boolean, from: "IsNationalPrime")
16
16
  end
17
17
  end
18
18
  end
@@ -8,7 +8,7 @@ module Peddler
8
8
  # Information that is specific to a seller in a marketplace.
9
9
  Participation = Structure.new do
10
10
  # @return [:boolean] If `true`, the seller participates in the marketplace. Otherwise `false`.
11
- attribute(:is_participating, :boolean, from: "isParticipating")
11
+ attribute(:participating, :boolean, from: "isParticipating")
12
12
 
13
13
  # @return [:boolean] Specifies if the seller has suspended listings. `true` if the seller Listing Status is set
14
14
  # to Inactive, otherwise `false`.
@@ -17,7 +17,7 @@ module Peddler
17
17
  attribute(:phone, String)
18
18
 
19
19
  # @return [:boolean] When true, the service is for an Amazon Prime buyer.
20
- attribute(:is_prime_member, :boolean, from: "isPrimeMember")
20
+ attribute(:prime_member, :boolean, from: "isPrimeMember")
21
21
  end
22
22
  end
23
23
  end
@@ -14,7 +14,7 @@ module Peddler
14
14
  attribute(:group_description, String, from: "groupDescription")
15
15
 
16
16
  # @return [:boolean] When true, one or more of the value-added services listed must be specified.
17
- attribute(:is_required, :boolean, from: "isRequired")
17
+ attribute(:required, :boolean, from: "isRequired")
18
18
 
19
19
  # @return [Array<ValueAddedService>] A list of optional value-added services available for purchase with a
20
20
  # shipping service offering.
@@ -20,13 +20,13 @@ module Peddler
20
20
  attribute(:input_type, String, from: "inputType")
21
21
 
22
22
  # @return [:boolean] mandatory or not value .
23
- attribute(:is_mandatory, :boolean, from: "isMandatory")
23
+ attribute(:mandatory, :boolean, from: "isMandatory")
24
24
 
25
25
  # @return [:boolean] is value is Confidential .
26
- attribute(:is_confidential, :boolean, from: "isConfidential")
26
+ attribute(:confidential, :boolean, from: "isConfidential")
27
27
 
28
28
  # @return [:boolean] is value is hidden .
29
- attribute(:is_hidden, :boolean, from: "isHidden")
29
+ attribute(:hidden, :boolean, from: "isHidden")
30
30
 
31
31
  # @return [Array<ValidationMetadata>]
32
32
  attribute(:validation_metadata, [ValidationMetadata], from: "validationMetadata")
@@ -17,7 +17,7 @@ module Peddler
17
17
  attribute(:claim_reason, String, from: "claimReason")
18
18
 
19
19
  # @return [:boolean] Applicable for only On Amazon shipments to identify if replacement was sent
20
- attribute(:is_replacement_package_sent, :boolean, from: "isReplacementPackageSent")
20
+ attribute(:replacement_package_sent, :boolean, from: "isReplacementPackageSent")
21
21
 
22
22
  # @return [Array]
23
23
  attribute(:proofs, Array)
@@ -31,7 +31,7 @@ module Peddler
31
31
  attribute(:liquid_volume, LiquidVolume, from: "liquidVolume")
32
32
 
33
33
  # @return [:boolean] When true, the item qualifies as hazardous materials (hazmat). Defaults to false.
34
- attribute(:is_hazmat, :boolean, from: "isHazmat")
34
+ attribute(:hazmat, :boolean, from: "isHazmat")
35
35
 
36
36
  # @return [DangerousGoodsDetails]
37
37
  attribute(:dangerous_goods_details, DangerousGoodsDetails, from: "dangerousGoodsDetails")
@@ -21,7 +21,7 @@ module Peddler
21
21
  attribute(:insured_value, Currency, from: "insuredValue")
22
22
 
23
23
  # @return [:boolean] When true, the package contains hazardous materials. Defaults to false.
24
- attribute(:is_hazmat, :boolean, from: "isHazmat")
24
+ attribute(:hazmat, :boolean, from: "isHazmat")
25
25
 
26
26
  # @return [String] The seller name displayed on the label.
27
27
  attribute(:seller_display_name, String, from: "sellerDisplayName")
@@ -11,7 +11,7 @@ module Peddler
11
11
  attribute(:name, String)
12
12
 
13
13
  # @return [:boolean] When true, the supported document type is required.
14
- attribute(:is_mandatory, :boolean, from: "isMandatory")
14
+ attribute(:mandatory, :boolean, from: "isMandatory")
15
15
  end
16
16
  end
17
17
  end
@@ -8,7 +8,7 @@ module Peddler
8
8
  # The Response for the UnlinkCarrierAccountResponse operation.
9
9
  UnlinkCarrierAccountResponse = Structure.new do
10
10
  # @return [:boolean] Is Carrier unlinked from Merchant
11
- attribute(:is_unlinked, :boolean, from: "isUnlinked")
11
+ attribute(:unlinked, :boolean, from: "isUnlinked")
12
12
  end
13
13
  end
14
14
  end
@@ -8,7 +8,7 @@ module Peddler
8
8
  # The curbside pickup configuration of a supply source.
9
9
  CurbsidePickupConfiguration = Structure.new do
10
10
  # @return [:boolean] When true, curbside pickup is supported by the supply source.
11
- attribute(:is_supported, :boolean, from: "isSupported")
11
+ attribute(:supported, :boolean, from: "isSupported")
12
12
 
13
13
  # @return [OperationalConfiguration] The operational configuration for the curbside pickup configuration.
14
14
  attribute(:operational_configuration, OperationalConfiguration, from: "operationalConfiguration")
@@ -8,7 +8,7 @@ module Peddler
8
8
  # The delivery channel of a supply source.
9
9
  DeliveryChannel = Structure.new do
10
10
  # @return [:boolean]
11
- attribute(:is_supported, :boolean, from: "isSupported")
11
+ attribute(:supported, :boolean, from: "isSupported")
12
12
 
13
13
  # @return [OperationalConfiguration]
14
14
  attribute(:operational_configuration, OperationalConfiguration, from: "operationalConfiguration")
@@ -9,7 +9,7 @@ module Peddler
9
9
  InStorePickupConfiguration = Structure.new do
10
10
  # @return [:boolean] When true, in-store pickup is supported by the supply source (default: `isSupported` value
11
11
  # in `PickupChannel`).
12
- attribute(:is_supported, :boolean, from: "isSupported")
12
+ attribute(:supported, :boolean, from: "isSupported")
13
13
 
14
14
  # @return [ParkingConfiguration] The parking configuration for in-store pickup.
15
15
  attribute(:parking_configuration, ParkingConfiguration, from: "parkingConfiguration")
@@ -11,7 +11,7 @@ module Peddler
11
11
  # The outbound capability of a supply source.
12
12
  OutboundCapability = Structure.new do
13
13
  # @return [:boolean]
14
- attribute(:is_supported, :boolean, from: "isSupported")
14
+ attribute(:supported, :boolean, from: "isSupported")
15
15
 
16
16
  # @return [OperationalConfiguration]
17
17
  attribute(:operational_configuration, OperationalConfiguration, from: "operationalConfiguration")
@@ -14,7 +14,7 @@ module Peddler
14
14
  attribute(:inventory_hold_period, Duration, from: "inventoryHoldPeriod")
15
15
 
16
16
  # @return [:boolean]
17
- attribute(:is_supported, :boolean, from: "isSupported")
17
+ attribute(:supported, :boolean, from: "isSupported")
18
18
 
19
19
  # @return [OperationalConfiguration]
20
20
  attribute(:operational_configuration, OperationalConfiguration, from: "operationalConfiguration")
@@ -8,7 +8,7 @@ module Peddler
8
8
  # The services capability of a supply source.
9
9
  ServicesCapability = Structure.new do
10
10
  # @return [:boolean] When true, `SupplySource` supports the Service capability.
11
- attribute(:is_supported, :boolean, from: "isSupported")
11
+ attribute(:supported, :boolean, from: "isSupported")
12
12
 
13
13
  # @return [OperationalConfiguration]
14
14
  attribute(:operational_configuration, OperationalConfiguration, from: "operationalConfiguration")
@@ -15,7 +15,7 @@ module Peddler
15
15
  # feed. When sending a full feed, you must send information about all items in the warehouse. Any items not in
16
16
  # the full feed are updated as not available. When sending a partial feed, only include the items that need an
17
17
  # update to inventory. The status of other items will remain unchanged.
18
- attribute(:is_full_update, :boolean, from: "isFullUpdate")
18
+ attribute(:full_update, :boolean, from: "isFullUpdate")
19
19
 
20
20
  # @return [Array<ItemDetails>] A list of inventory items with updated details, including quantity available.
21
21
  attribute(:items, [ItemDetails])
@@ -19,7 +19,7 @@ module Peddler
19
19
  attribute(:available_quantity, ItemQuantity, from: "availableQuantity")
20
20
 
21
21
  # @return [:boolean] When true, the item is permanently unavailable.
22
- attribute(:is_obsolete, :boolean, from: "isObsolete")
22
+ attribute(:obsolete, :boolean, from: "isObsolete")
23
23
  end
24
24
  end
25
25
  end
@@ -8,16 +8,16 @@ module Peddler
8
8
  # Shipment details required for the shipment.
9
9
  ShipmentDetails = Structure.new do
10
10
  # @return [:boolean] When true, this is a priority shipment.
11
- attribute(:is_priority_shipment, :boolean, from: "isPriorityShipment")
11
+ attribute(:priority_shipment, :boolean, from: "isPriorityShipment")
12
12
 
13
13
  # @return [:boolean] When true, this order is part of a scheduled delivery program.
14
- attribute(:is_scheduled_delivery_shipment, :boolean, from: "isScheduledDeliveryShipment")
14
+ attribute(:scheduled_delivery_shipment, :boolean, from: "isScheduledDeliveryShipment")
15
15
 
16
16
  # @return [:boolean] When true, a packing slip is required to be sent to the customer.
17
- attribute(:is_pslip_required, :boolean, from: "isPslipRequired")
17
+ attribute(:pslip_required, :boolean, from: "isPslipRequired")
18
18
 
19
19
  # @return [:boolean] When true, the order contain a gift. Include the gift message and gift wrap information.
20
- attribute(:is_gift, :boolean, from: "isGift")
20
+ attribute(:gift, :boolean, from: "isGift")
21
21
 
22
22
  # @return [String] Ship method to be used for shipping the order. Amazon defines ship method codes indicating
23
23
  # the shipping carrier and shipment service level. To see the full list of ship methods in use, including both
@@ -8,16 +8,16 @@ module Peddler
8
8
  # Shipment details required for the shipment.
9
9
  ShipmentDetails = Structure.new do
10
10
  # @return [:boolean] When true, this is a priority shipment.
11
- attribute(:is_priority_shipment, :boolean, from: "isPriorityShipment")
11
+ attribute(:priority_shipment, :boolean, from: "isPriorityShipment")
12
12
 
13
13
  # @return [:boolean] When true, this order is part of a scheduled delivery program.
14
- attribute(:is_scheduled_delivery_shipment, :boolean, from: "isScheduledDeliveryShipment")
14
+ attribute(:scheduled_delivery_shipment, :boolean, from: "isScheduledDeliveryShipment")
15
15
 
16
16
  # @return [:boolean] When true, a packing slip is required to be sent to the customer.
17
- attribute(:is_pslip_required, :boolean, from: "isPslipRequired")
17
+ attribute(:pslip_required, :boolean, from: "isPslipRequired")
18
18
 
19
19
  # @return [:boolean] When true, the order contain a gift. Include the gift message and gift wrap information.
20
- attribute(:is_gift, :boolean, from: "isGift")
20
+ attribute(:gift, :boolean, from: "isGift")
21
21
 
22
22
  # @return [String] Ship method to be used for shipping the order. Amazon defines ship method codes indicating
23
23
  # the shipping carrier and shipment service level. To see the full list of ship methods in use, including both
@@ -17,7 +17,7 @@ module Peddler
17
17
  attribute(:shipment_status, String, from: "shipmentStatus")
18
18
 
19
19
  # @return [:boolean] Provide the priority of the shipment.
20
- attribute(:is_priority_shipment, :boolean, from: "isPriorityShipment")
20
+ attribute(:priority_shipment, :boolean, from: "isPriorityShipment")
21
21
 
22
22
  # @return [String] The vendor order number is a unique identifier generated by a vendor for their reference.
23
23
  attribute(:vendor_order_number, String, from: "vendorOrderNumber")
@@ -17,7 +17,7 @@ module Peddler
17
17
  attribute(:shipment_status, String, from: "shipmentStatus")
18
18
 
19
19
  # @return [:boolean] Provide the priority of the shipment.
20
- attribute(:is_priority_shipment, :boolean, from: "isPriorityShipment")
20
+ attribute(:priority_shipment, :boolean, from: "isPriorityShipment")
21
21
 
22
22
  # @return [String] The vendor order number is a unique identifier generated by a vendor for their reference.
23
23
  attribute(:vendor_order_number, String, from: "vendorOrderNumber")
@@ -23,7 +23,7 @@ module Peddler
23
23
  attribute(:ordered_quantity, ItemQuantity, from: "orderedQuantity")
24
24
 
25
25
  # @return [:boolean] When true, we will accept backorder confirmations for this item.
26
- attribute(:is_back_order_allowed, :boolean, from: "isBackOrderAllowed")
26
+ attribute(:back_order_allowed, :boolean, from: "isBackOrderAllowed")
27
27
 
28
28
  # @return [Money] The net cost of an item per each or weight unit.
29
29
  attribute(:net_cost, Money, from: "netCost")
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Peddler
4
- VERSION = "4.6.0"
4
+ VERSION = "4.6.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: peddler
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.6.0
4
+ version: 4.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hakan Ensari