ultracart_api 3.11.0 → 4.0.32.rc

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 (1773) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +9 -7
  3. data/README.md +1166 -1726
  4. data/Rakefile +10 -8
  5. data/docs/AccountsReceivableRetryConfig.md +46 -23
  6. data/docs/AccountsReceivableRetryConfigResponse.md +32 -15
  7. data/docs/AccountsReceivableRetryDayActivity.md +22 -10
  8. data/docs/AccountsReceivableRetryStatAccount.md +24 -11
  9. data/docs/AccountsReceivableRetryStatMetrics.md +38 -18
  10. data/docs/AccountsReceivableRetryStatRevenue.md +20 -9
  11. data/docs/AccountsReceivableRetryStatsResponse.md +28 -13
  12. data/docs/Activity.md +28 -15
  13. data/docs/AddLibraryItemRequest.md +38 -18
  14. data/docs/AdjustInternalCertificateRequest.md +28 -13
  15. data/docs/AdjustInternalCertificateResponse.md +28 -13
  16. data/docs/AffiliateApi.md +173 -126
  17. data/docs/AffiliateClick.md +38 -20
  18. data/docs/AffiliateClickQuery.md +28 -13
  19. data/docs/AffiliateClicksResponse.md +26 -12
  20. data/docs/AffiliateLedger.md +54 -26
  21. data/docs/AffiliateLedgerQuery.md +28 -13
  22. data/docs/AffiliateLedgersResponse.md +26 -12
  23. data/docs/AffiliateLink.md +44 -21
  24. data/docs/ApiUserApplicationProfile.md +26 -12
  25. data/docs/ApplyLibraryItemRequest.md +24 -11
  26. data/docs/ApplyLibraryItemResponse.md +38 -18
  27. data/docs/AutoOrder.md +60 -34
  28. data/docs/AutoOrderApi.md +693 -617
  29. data/docs/AutoOrderItem.md +64 -35
  30. data/docs/AutoOrderItemFutureSchedule.md +24 -11
  31. data/docs/AutoOrderItemOption.md +20 -9
  32. data/docs/AutoOrderItemSimpleSchedule.md +22 -10
  33. data/docs/AutoOrderLog.md +20 -9
  34. data/docs/AutoOrderQuery.md +58 -28
  35. data/docs/AutoOrderQueryBatch.md +18 -8
  36. data/docs/AutoOrderResponse.md +26 -12
  37. data/docs/AutoOrdersRequest.md +18 -8
  38. data/docs/AutoOrdersResponse.md +26 -12
  39. data/docs/AvalaraConfig.md +42 -20
  40. data/docs/BaseResponse.md +24 -11
  41. data/docs/Browser.md +22 -10
  42. data/docs/BrowserDevice.md +18 -8
  43. data/docs/BrowserOS.md +26 -12
  44. data/docs/BrowserUserAgent.md +24 -11
  45. data/docs/Cart.md +68 -33
  46. data/docs/CartAffiliate.md +20 -9
  47. data/docs/CartAffirmCheckoutResponse.md +20 -9
  48. data/docs/CartBilling.md +46 -24
  49. data/docs/CartBuysafe.md +28 -13
  50. data/docs/CartCheckout.md +44 -25
  51. data/docs/CartCoupon.md +18 -8
  52. data/docs/CartCurrencyConversion.md +20 -9
  53. data/docs/CartCustomerProfile.md +60 -30
  54. data/docs/CartCustomerProfileAddress.md +44 -21
  55. data/docs/CartCustomerProfileCreditCard.md +28 -13
  56. data/docs/CartFinalizeOrderRequest.md +20 -9
  57. data/docs/CartFinalizeOrderRequestOptions.md +42 -20
  58. data/docs/CartFinalizeOrderResponse.md +26 -12
  59. data/docs/CartGift.md +28 -13
  60. data/docs/CartGiftCertificate.md +22 -10
  61. data/docs/CartItem.md +74 -37
  62. data/docs/CartItemAttribute.md +22 -10
  63. data/docs/CartItemMultimedia.md +34 -16
  64. data/docs/CartItemMultimediaThumbnail.md +26 -12
  65. data/docs/CartItemOption.md +40 -19
  66. data/docs/CartItemOptionValue.md +26 -12
  67. data/docs/CartItemPhysical.md +24 -11
  68. data/docs/CartItemVariationSelection.md +20 -9
  69. data/docs/CartKitComponentOption.md +44 -21
  70. data/docs/CartMarketing.md +20 -10
  71. data/docs/CartPayment.md +30 -15
  72. data/docs/CartPaymentAffirm.md +18 -8
  73. data/docs/CartPaymentAmazon.md +18 -8
  74. data/docs/CartPaymentCheck.md +18 -8
  75. data/docs/CartPaymentCreditCard.md +34 -16
  76. data/docs/CartPaymentPurchaseOrder.md +18 -8
  77. data/docs/CartProfileLoginRequest.md +22 -10
  78. data/docs/CartProfileLoginResponse.md +20 -9
  79. data/docs/CartProfileRegisterRequest.md +20 -9
  80. data/docs/CartProfileRegisterResponse.md +20 -9
  81. data/docs/CartProperty.md +24 -11
  82. data/docs/CartResponse.md +20 -9
  83. data/docs/CartSettings.md +28 -13
  84. data/docs/CartSettingsBilling.md +18 -8
  85. data/docs/CartSettingsGift.md +24 -11
  86. data/docs/CartSettingsGiftWrap.md +22 -10
  87. data/docs/CartSettingsPayment.md +42 -20
  88. data/docs/CartSettingsPaymentAmazon.md +22 -10
  89. data/docs/CartSettingsPaymentCreditCard.md +22 -11
  90. data/docs/CartSettingsPaymentPayPal.md +26 -12
  91. data/docs/CartSettingsProvince.md +20 -9
  92. data/docs/CartSettingsShipping.md +26 -12
  93. data/docs/CartSettingsShippingCalendar.md +26 -12
  94. data/docs/CartSettingsShippingEstimate.md +44 -21
  95. data/docs/CartSettingsTaxes.md +18 -8
  96. data/docs/CartSettingsTerms.md +20 -9
  97. data/docs/CartShipping.md +54 -26
  98. data/docs/CartSummary.md +48 -27
  99. data/docs/CartTaxes.md +22 -10
  100. data/docs/CartUpsellAfter.md +22 -10
  101. data/docs/CartValidationRequest.md +20 -9
  102. data/docs/CartValidationResponse.md +20 -9
  103. data/docs/ChannelPartnerApi.md +382 -760
  104. data/docs/ChannelPartnerCancelResponse.md +26 -12
  105. data/docs/ChannelPartnerEstimateShippingResponse.md +26 -12
  106. data/docs/ChannelPartnerEstimateTaxResponse.md +26 -12
  107. data/docs/ChannelPartnerImportResponse.md +30 -14
  108. data/docs/ChannelPartnerOrder.md +176 -99
  109. data/docs/ChannelPartnerOrderItem.md +30 -14
  110. data/docs/ChannelPartnerOrderItemOption.md +20 -9
  111. data/docs/ChannelPartnerOrderTransaction.md +20 -9
  112. data/docs/ChannelPartnerOrderTransactionDetail.md +20 -9
  113. data/docs/ChannelPartnerShippingEstimate.md +20 -9
  114. data/docs/ChargebackApi.md +420 -301
  115. data/docs/ChargebackDispute.md +62 -30
  116. data/docs/ChargebackDisputeResponse.md +26 -12
  117. data/docs/ChargebackDisputesResponse.md +26 -12
  118. data/docs/CheckoutAllowedCountriesResponse.md +18 -8
  119. data/docs/CheckoutApi.md +1566 -1023
  120. data/docs/CheckoutHandoffRequest.md +32 -15
  121. data/docs/CheckoutHandoffResponse.md +22 -10
  122. data/docs/CheckoutSetupBrowserKeyRequest.md +18 -8
  123. data/docs/CheckoutSetupBrowserKeyResponse.md +18 -8
  124. data/docs/CheckoutStateProvinceResponse.md +18 -8
  125. data/docs/CityStateZip.md +26 -12
  126. data/docs/CountriesResponse.md +18 -8
  127. data/docs/Country.md +20 -9
  128. data/docs/Coupon.md +136 -74
  129. data/docs/CouponAmountOffItems.md +24 -12
  130. data/docs/CouponAmountOffShipping.md +22 -10
  131. data/docs/CouponAmountOffShippingWithItemsPurchase.md +24 -11
  132. data/docs/CouponAmountOffSubtotal.md +20 -9
  133. data/docs/CouponAmountOffSubtotalAndShipping.md +20 -9
  134. data/docs/CouponAmountOffSubtotalFreeShippingWithPurchase.md +24 -11
  135. data/docs/CouponAmountOffSubtotalWithBlockPurchase.md +24 -11
  136. data/docs/CouponAmountOffSubtotalWithItemsPurchase.md +24 -11
  137. data/docs/CouponAmountOffSubtotalWithPurchase.md +22 -10
  138. data/docs/CouponAmountShippingWithSubtotal.md +24 -11
  139. data/docs/CouponApi.md +1500 -1043
  140. data/docs/CouponAutoApplyCondition.md +22 -10
  141. data/docs/CouponAutoApplyConditions.md +28 -13
  142. data/docs/CouponAutomaticallyApplyCouponCodes.md +18 -8
  143. data/docs/CouponBuyOneGetOneLimit.md +20 -10
  144. data/docs/CouponCodesRequest.md +30 -14
  145. data/docs/CouponCodesResponse.md +28 -13
  146. data/docs/CouponDeletesRequest.md +20 -9
  147. data/docs/CouponDiscountItemWithItemPurchase.md +26 -14
  148. data/docs/CouponDiscountItems.md +24 -11
  149. data/docs/CouponEditorValues.md +36 -18
  150. data/docs/CouponExistsResponse.md +28 -13
  151. data/docs/CouponFreeItemAndShippingWithSubtotal.md +26 -12
  152. data/docs/CouponFreeItemWithItemPurchase.md +24 -13
  153. data/docs/CouponFreeItemWithSubtotal.md +24 -11
  154. data/docs/CouponFreeItemsWithItemPurchase.md +26 -12
  155. data/docs/CouponFreeItemsWithMixMatchPurchase.md +26 -12
  156. data/docs/CouponFreeShipping.md +18 -8
  157. data/docs/CouponFreeShippingSpecificItems.md +18 -8
  158. data/docs/CouponFreeShippingWithItemsPurchase.md +20 -9
  159. data/docs/CouponFreeShippingWithSubtotal.md +22 -10
  160. data/docs/CouponItemSearchResult.md +32 -15
  161. data/docs/CouponItemSearchResultsResponse.md +26 -12
  162. data/docs/CouponMultipleAmountsOffItems.md +20 -9
  163. data/docs/CouponPercentOffItemWithItemsQuantityPurchase.md +26 -14
  164. data/docs/CouponPercentOffItems.md +24 -13
  165. data/docs/CouponPercentOffItemsAndFreeShipping.md +22 -12
  166. data/docs/CouponPercentOffItemsWithItemsPurchase.md +24 -13
  167. data/docs/CouponPercentOffMsrpItems.md +24 -13
  168. data/docs/CouponPercentOffRetailPriceItems.md +24 -11
  169. data/docs/CouponPercentOffShipping.md +20 -9
  170. data/docs/CouponPercentOffSubtotal.md +18 -8
  171. data/docs/CouponPercentOffSubtotalAndFreeShipping.md +20 -9
  172. data/docs/CouponPercentOffSubtotalLimit.md +22 -10
  173. data/docs/CouponPercentOffSubtotalWithItemsPurchase.md +20 -9
  174. data/docs/CouponPercentOffSubtotalWithSubtotal.md +22 -10
  175. data/docs/CouponQuery.md +36 -17
  176. data/docs/CouponResponse.md +28 -13
  177. data/docs/CouponRestriction.md +24 -11
  178. data/docs/CouponTierAmount.md +22 -10
  179. data/docs/CouponTierItemDiscount.md +20 -9
  180. data/docs/CouponTierPercent.md +22 -10
  181. data/docs/CouponTierQuantityAmount.md +22 -10
  182. data/docs/CouponTierQuantityPercent.md +22 -10
  183. data/docs/CouponTieredAmountOffItems.md +22 -11
  184. data/docs/CouponTieredAmountOffSubtotal.md +20 -9
  185. data/docs/CouponTieredPercentOffItems.md +22 -11
  186. data/docs/CouponTieredPercentOffShipping.md +22 -10
  187. data/docs/CouponTieredPercentOffSubtotal.md +20 -9
  188. data/docs/CouponType.md +20 -9
  189. data/docs/CouponsRequest.md +18 -8
  190. data/docs/CouponsResponse.md +26 -12
  191. data/docs/Currency.md +26 -12
  192. data/docs/Customer.md +134 -71
  193. data/docs/CustomerActivity.md +24 -15
  194. data/docs/CustomerAffiliate.md +24 -11
  195. data/docs/CustomerApi.md +1380 -1347
  196. data/docs/CustomerAttachment.md +26 -12
  197. data/docs/CustomerBilling.md +50 -24
  198. data/docs/CustomerCard.md +32 -15
  199. data/docs/CustomerEditorValues.md +36 -19
  200. data/docs/CustomerEmail.md +28 -13
  201. data/docs/CustomerEmailListChanges.md +20 -9
  202. data/docs/CustomerLoyalty.md +30 -14
  203. data/docs/CustomerLoyaltyLedger.md +46 -22
  204. data/docs/CustomerLoyaltyRedemption.md +42 -20
  205. data/docs/CustomerOrdersSummary.md +24 -11
  206. data/docs/CustomerPricingTier.md +20 -9
  207. data/docs/CustomerPrivacy.md +24 -11
  208. data/docs/CustomerQuery.md +74 -37
  209. data/docs/CustomerQuotesSummary.md +24 -11
  210. data/docs/CustomerResponse.md +26 -12
  211. data/docs/CustomerReviewer.md +36 -17
  212. data/docs/CustomerShipping.md +50 -24
  213. data/docs/CustomerSoftwareEntitlement.md +32 -15
  214. data/docs/CustomerStoreCredit.md +28 -13
  215. data/docs/CustomerStoreCreditAddRequest.md +24 -11
  216. data/docs/CustomerStoreCreditLedgerEntry.md +30 -14
  217. data/docs/CustomerStoreCreditResponse.md +26 -12
  218. data/docs/CustomerTag.md +18 -8
  219. data/docs/CustomerTaxCodes.md +26 -12
  220. data/docs/CustomersResponse.md +26 -12
  221. data/docs/DataTablesServerSideResponse.md +24 -11
  222. data/docs/Distance.md +20 -9
  223. data/docs/DistributionCenter.md +86 -57
  224. data/docs/DistributionCentersResponse.md +26 -12
  225. data/docs/EmailBaseTemplateListResponse.md +18 -8
  226. data/docs/EmailCampaign.md +64 -33
  227. data/docs/EmailCampaignFolder.md +26 -12
  228. data/docs/EmailCampaignFolderResponse.md +26 -12
  229. data/docs/EmailCampaignFoldersResponse.md +26 -12
  230. data/docs/EmailCampaignResponse.md +26 -12
  231. data/docs/EmailCampaignsResponse.md +26 -12
  232. data/docs/EmailClick.md +20 -9
  233. data/docs/EmailClicksResponse.md +26 -12
  234. data/docs/EmailCommseq.md +24 -11
  235. data/docs/EmailCommseqEmail.md +68 -41
  236. data/docs/EmailCommseqEmailResponse.md +26 -12
  237. data/docs/EmailCommseqEmailSendTestRequest.md +36 -17
  238. data/docs/EmailCommseqEmailSendTestResponse.md +24 -11
  239. data/docs/EmailCommseqEmailsRequest.md +26 -12
  240. data/docs/EmailCommseqEmailsResponse.md +26 -12
  241. data/docs/EmailCommseqPostcard.md +42 -20
  242. data/docs/EmailCommseqPostcardResponse.md +26 -12
  243. data/docs/EmailCommseqPostcardSendTestRequest.md +42 -20
  244. data/docs/EmailCommseqPostcardSendTestResponse.md +30 -14
  245. data/docs/EmailCommseqPostcardsRequest.md +18 -8
  246. data/docs/EmailCommseqPostcardsResponse.md +26 -12
  247. data/docs/EmailCommseqResponse.md +26 -12
  248. data/docs/EmailCommseqStat.md +90 -44
  249. data/docs/EmailCommseqStatResponse.md +26 -12
  250. data/docs/EmailCommseqStep.md +36 -17
  251. data/docs/EmailCommseqStepLog.md +22 -10
  252. data/docs/EmailCommseqStepLogsResponse.md +26 -12
  253. data/docs/EmailCommseqWebhookSendTestRequest.md +30 -14
  254. data/docs/EmailCommseqWebhookSendTestResponse.md +30 -14
  255. data/docs/EmailCommseqsResponse.md +26 -12
  256. data/docs/EmailCustomer.md +32 -15
  257. data/docs/EmailCustomerEditorUrlResponse.md +26 -12
  258. data/docs/EmailCustomersResponse.md +26 -12
  259. data/docs/EmailDashboardActivity.md +30 -14
  260. data/docs/EmailDashboardActivityResponse.md +26 -12
  261. data/docs/EmailDashboardStatsResponse.md +26 -12
  262. data/docs/EmailDomain.md +42 -20
  263. data/docs/EmailEditorTokenResponse.md +26 -12
  264. data/docs/EmailFlow.md +72 -38
  265. data/docs/EmailFlowBackPopulateRequest.md +20 -9
  266. data/docs/EmailFlowBackPopulateResponse.md +24 -11
  267. data/docs/EmailFlowFolder.md +26 -12
  268. data/docs/EmailFlowFolderResponse.md +26 -12
  269. data/docs/EmailFlowFoldersResponse.md +26 -12
  270. data/docs/EmailFlowResponse.md +26 -12
  271. data/docs/EmailFlowsResponse.md +26 -12
  272. data/docs/EmailGlobalSettings.md +18 -8
  273. data/docs/EmailGlobalSettingsResponse.md +26 -12
  274. data/docs/EmailGlobalUnsubscribeRequest.md +18 -8
  275. data/docs/EmailGlobalUnsubscribeResponse.md +18 -8
  276. data/docs/EmailHistogramPropertyNamesResponse.md +18 -8
  277. data/docs/EmailHistogramPropertyValuesResponse.md +18 -8
  278. data/docs/EmailList.md +40 -19
  279. data/docs/EmailListArchiveResponse.md +26 -12
  280. data/docs/EmailListCustomer.md +24 -11
  281. data/docs/EmailListCustomersResponse.md +26 -12
  282. data/docs/EmailListResponse.md +26 -12
  283. data/docs/EmailListSegmentFolder.md +26 -12
  284. data/docs/EmailListSegmentFolderResponse.md +26 -12
  285. data/docs/EmailListSegmentFoldersResponse.md +26 -12
  286. data/docs/EmailListSegmentMembership.md +24 -11
  287. data/docs/EmailListSegmentUsedBy.md +22 -10
  288. data/docs/EmailListSubscribeResponse.md +20 -9
  289. data/docs/EmailListsResponse.md +26 -12
  290. data/docs/EmailOrder.md +24 -11
  291. data/docs/EmailOrdersResponse.md +26 -12
  292. data/docs/EmailPerformance.md +62 -30
  293. data/docs/EmailPerformanceCustomerHistogram.md +18 -8
  294. data/docs/EmailPerformanceCustomerHistogramPeriod.md +26 -12
  295. data/docs/EmailPerformanceDaily.md +30 -14
  296. data/docs/EmailPerformanceResponse.md +26 -12
  297. data/docs/EmailPlan.md +50 -24
  298. data/docs/EmailPlanAdditional.md +34 -16
  299. data/docs/EmailPlanResponse.md +26 -12
  300. data/docs/EmailPostcardStat.md +80 -39
  301. data/docs/EmailSegment.md +58 -29
  302. data/docs/EmailSegmentArchiveResponse.md +26 -12
  303. data/docs/EmailSegmentCustomer.md +24 -11
  304. data/docs/EmailSegmentCustomersResponse.md +26 -12
  305. data/docs/EmailSegmentDownloadPrepareResponse.md +32 -15
  306. data/docs/EmailSegmentResponse.md +26 -12
  307. data/docs/EmailSegmentsResponse.md +26 -12
  308. data/docs/EmailSendingDomainResponse.md +26 -12
  309. data/docs/EmailSendingDomainsResponse.md +26 -12
  310. data/docs/EmailSettings.md +40 -26
  311. data/docs/EmailSettingsResponse.md +26 -12
  312. data/docs/EmailStat.md +92 -45
  313. data/docs/EmailStatPostcardSummaryRequest.md +20 -9
  314. data/docs/EmailStatPostcardSummaryResponse.md +26 -12
  315. data/docs/EmailStatSummaryRequest.md +22 -10
  316. data/docs/EmailStatSummaryResponse.md +26 -12
  317. data/docs/EmailStepStat.md +56 -37
  318. data/docs/EmailStepStatRequest.md +20 -9
  319. data/docs/EmailStepStatResponse.md +26 -12
  320. data/docs/EmailStepWaitingRequest.md +18 -8
  321. data/docs/EmailStepWaitingResponse.md +18 -8
  322. data/docs/EmailTemplate.md +38 -18
  323. data/docs/EmailTemplatesResponse.md +26 -12
  324. data/docs/EmailThirdPartyList.md +20 -9
  325. data/docs/EmailThirdPartyListImportRequest.md +18 -8
  326. data/docs/EmailThirdPartyProvider.md +38 -18
  327. data/docs/EmailThirdPartyProvidersResponse.md +26 -12
  328. data/docs/EmailThirdPartyTag.md +20 -9
  329. data/docs/EmailVerifyTokenRequest.md +20 -9
  330. data/docs/EmailVerifyTokenResponse.md +26 -12
  331. data/docs/EmailVerifyTokenValidateRequest.md +18 -8
  332. data/docs/EmailVerifyTokenValidateResponse.md +24 -11
  333. data/docs/EmailWebhookEditorValuesResponse.md +30 -14
  334. data/docs/Error.md +26 -12
  335. data/docs/ErrorResponse.md +24 -11
  336. data/docs/Experiment.md +52 -31
  337. data/docs/ExperimentResponse.md +26 -12
  338. data/docs/ExperimentVariation.md +60 -30
  339. data/docs/ExperimentVariationStat.md +38 -20
  340. data/docs/ExperimentsResponse.md +26 -12
  341. data/docs/FulfillmentApi.md +459 -318
  342. data/docs/FulfillmentInventory.md +20 -9
  343. data/docs/FulfillmentShipment.md +26 -12
  344. data/docs/GeoPoint.md +20 -9
  345. data/docs/GeocodeRequest.md +26 -12
  346. data/docs/GeocodeResponse.md +28 -13
  347. data/docs/GiftCertificate.md +44 -21
  348. data/docs/GiftCertificateApi.md +622 -433
  349. data/docs/GiftCertificateCreateRequest.md +26 -12
  350. data/docs/GiftCertificateLedgerEntry.md +28 -13
  351. data/docs/GiftCertificateQuery.md +34 -16
  352. data/docs/GiftCertificateResponse.md +26 -12
  353. data/docs/GiftCertificatesResponse.md +26 -12
  354. data/docs/Group.md +26 -12
  355. data/docs/GroupResponse.md +26 -12
  356. data/docs/GroupUserMembership.md +26 -12
  357. data/docs/GroupsResponse.md +26 -12
  358. data/docs/HTTPHeader.md +20 -9
  359. data/docs/IntegrationLog.md +52 -26
  360. data/docs/IntegrationLogApi.md +400 -286
  361. data/docs/IntegrationLogFile.md +24 -11
  362. data/docs/IntegrationLogLog.md +20 -9
  363. data/docs/IntegrationLogQueryFilterValues.md +40 -19
  364. data/docs/IntegrationLogQueryRequest.md +42 -23
  365. data/docs/IntegrationLogQueryResponse.md +28 -13
  366. data/docs/IntegrationLogResponse.md +26 -12
  367. data/docs/IntegrationLogSummary.md +34 -16
  368. data/docs/IntegrationLogSummaryQueryRequest.md +20 -9
  369. data/docs/IntegrationLogSummaryQueryResponse.md +26 -12
  370. data/docs/Item.md +118 -58
  371. data/docs/ItemAccounting.md +20 -9
  372. data/docs/ItemAmember.md +20 -9
  373. data/docs/ItemApi.md +733 -1266
  374. data/docs/ItemAutoOrder.md +50 -29
  375. data/docs/ItemAutoOrderStep.md +46 -24
  376. data/docs/ItemAutoOrderStepArbitraryUnitCostSchedule.md +20 -9
  377. data/docs/ItemAutoOrderStepGrandfatherPricing.md +20 -9
  378. data/docs/ItemCCBill.md +28 -13
  379. data/docs/ItemChannelPartnerMapping.md +54 -26
  380. data/docs/ItemChargeback.md +20 -9
  381. data/docs/ItemChargebackAddendum.md +24 -11
  382. data/docs/ItemChargebackAdjustmentRequest.md +22 -10
  383. data/docs/ItemCheckout.md +24 -11
  384. data/docs/ItemContent.md +42 -23
  385. data/docs/ItemContentAssignment.md +28 -13
  386. data/docs/ItemContentAttribute.md +24 -11
  387. data/docs/ItemContentMultimedia.md +46 -22
  388. data/docs/ItemContentMultimediaThumbnail.md +28 -13
  389. data/docs/ItemDigitalDelivery.md +28 -13
  390. data/docs/ItemDigitalItem.md +26 -17
  391. data/docs/ItemEbay.md +154 -76
  392. data/docs/ItemEbayCategorySpecific.md +20 -9
  393. data/docs/ItemEbayMarketListing.md +26 -12
  394. data/docs/ItemEbayMarketPlaceAnalysis.md +36 -17
  395. data/docs/ItemEmailNotifications.md +20 -9
  396. data/docs/ItemEnrollment123.md +18 -8
  397. data/docs/ItemFulfillmentAddon.md +24 -12
  398. data/docs/ItemGiftCertificate.md +20 -9
  399. data/docs/ItemGoogleProductSearch.md +112 -55
  400. data/docs/ItemIdentifiers.md +24 -15
  401. data/docs/ItemInstantPaymentNotification.md +22 -10
  402. data/docs/ItemInstantPaymentNotifications.md +18 -8
  403. data/docs/ItemInternal.md +18 -8
  404. data/docs/ItemKitComponent.md +26 -12
  405. data/docs/ItemKitDefinition.md +18 -8
  406. data/docs/ItemOption.md +44 -21
  407. data/docs/ItemOptionValue.md +46 -22
  408. data/docs/ItemOptionValueAdditionalItem.md +20 -9
  409. data/docs/ItemOptionValueDigitalItem.md +20 -9
  410. data/docs/ItemPaymentProcessing.md +26 -13
  411. data/docs/ItemPhysical.md +24 -11
  412. data/docs/ItemPricing.md +52 -25
  413. data/docs/ItemPricingTier.md +26 -12
  414. data/docs/ItemPricingTierDiscount.md +20 -9
  415. data/docs/ItemPricingTierLimit.md +22 -12
  416. data/docs/ItemProperty.md +22 -10
  417. data/docs/ItemRealtimePricing.md +22 -10
  418. data/docs/ItemRelated.md +22 -10
  419. data/docs/ItemRelatedItem.md +22 -10
  420. data/docs/ItemReporting.md +20 -9
  421. data/docs/ItemResponse.md +26 -12
  422. data/docs/ItemRestriction.md +32 -15
  423. data/docs/ItemRestrictionItem.md +22 -10
  424. data/docs/ItemRevguard.md +30 -14
  425. data/docs/ItemReviews.md +34 -17
  426. data/docs/ItemSalesforce.md +20 -9
  427. data/docs/ItemShipping.md +112 -56
  428. data/docs/ItemShippingCase.md +24 -11
  429. data/docs/ItemShippingDestinationMarkup.md +28 -14
  430. data/docs/ItemShippingDestinationRestriction.md +22 -10
  431. data/docs/ItemShippingDistributionCenter.md +44 -21
  432. data/docs/ItemShippingMethod.md +46 -22
  433. data/docs/ItemShippingPackageRequirement.md +20 -9
  434. data/docs/ItemTag.md +20 -9
  435. data/docs/ItemTags.md +18 -8
  436. data/docs/ItemTax.md +24 -11
  437. data/docs/ItemTaxExemption.md +26 -12
  438. data/docs/ItemThirdPartyEmailMarketing.md +26 -12
  439. data/docs/ItemVariantItem.md +28 -13
  440. data/docs/ItemVariation.md +26 -12
  441. data/docs/ItemVariationOption.md +24 -11
  442. data/docs/ItemWishlistMember.md +22 -10
  443. data/docs/ItemsRequest.md +18 -8
  444. data/docs/ItemsResponse.md +26 -12
  445. data/docs/KeyValue.md +22 -10
  446. data/docs/LibraryFilterValues.md +24 -11
  447. data/docs/LibraryFilterValuesResponse.md +26 -12
  448. data/docs/LibraryItem.md +96 -47
  449. data/docs/LibraryItemAccount.md +22 -10
  450. data/docs/LibraryItemAsset.md +20 -9
  451. data/docs/LibraryItemAttribute.md +20 -9
  452. data/docs/LibraryItemEmail.md +22 -10
  453. data/docs/LibraryItemPublishedMeta.md +32 -15
  454. data/docs/LibraryItemPurchasedMeta.md +22 -10
  455. data/docs/LibraryItemQuery.md +40 -19
  456. data/docs/LibraryItemResponse.md +26 -12
  457. data/docs/LibraryItemScreenshot.md +20 -9
  458. data/docs/LibraryItemsResponse.md +26 -12
  459. data/docs/LinkedAccount.md +22 -10
  460. data/docs/ListSegmentMembership.md +22 -10
  461. data/docs/LookupRequest.md +26 -13
  462. data/docs/LookupResponse.md +26 -12
  463. data/docs/Mailgun.md +18 -8
  464. data/docs/Metric.md +32 -15
  465. data/docs/Notification.md +38 -18
  466. data/docs/OauthApi.md +179 -124
  467. data/docs/OauthRevokeSuccessResponse.md +20 -9
  468. data/docs/OauthTokenResponse.md +32 -15
  469. data/docs/Order.md +84 -46
  470. data/docs/OrderAffiliate.md +22 -10
  471. data/docs/OrderAffiliateLedger.md +34 -16
  472. data/docs/OrderApi.md +1856 -1522
  473. data/docs/OrderAutoOrder.md +56 -27
  474. data/docs/OrderBilling.md +48 -25
  475. data/docs/OrderBuysafe.md +28 -13
  476. data/docs/OrderByTokenQuery.md +18 -8
  477. data/docs/OrderChannelPartner.md +38 -18
  478. data/docs/OrderCheckout.md +44 -24
  479. data/docs/OrderCoupon.md +26 -12
  480. data/docs/OrderDigitalItem.md +32 -15
  481. data/docs/OrderDigitalOrder.md +26 -12
  482. data/docs/OrderEdi.md +24 -11
  483. data/docs/OrderFormat.md +48 -23
  484. data/docs/OrderFormatResponse.md +20 -9
  485. data/docs/OrderFraudScore.md +56 -27
  486. data/docs/OrderGift.md +36 -17
  487. data/docs/OrderGiftCertificate.md +22 -10
  488. data/docs/OrderInternal.md +26 -13
  489. data/docs/OrderItem.md +128 -73
  490. data/docs/OrderItemEdi.md +20 -9
  491. data/docs/OrderItemEdiIdentification.md +20 -9
  492. data/docs/OrderItemEdiLot.md +22 -10
  493. data/docs/OrderItemOption.md +38 -18
  494. data/docs/OrderItemOptionFileAttachment.md +24 -11
  495. data/docs/OrderItemProperty.md +24 -11
  496. data/docs/OrderItemTag.md +18 -8
  497. data/docs/OrderLinkedShipment.md +26 -12
  498. data/docs/OrderMarketing.md +22 -11
  499. data/docs/OrderPackingSlipResponse.md +26 -12
  500. data/docs/OrderPayment.md +52 -27
  501. data/docs/OrderPaymentCheck.md +18 -8
  502. data/docs/OrderPaymentCreditCard.md +38 -19
  503. data/docs/OrderPaymentECheck.md +36 -17
  504. data/docs/OrderPaymentInsurance.md +24 -11
  505. data/docs/OrderPaymentPurchaseOrder.md +18 -8
  506. data/docs/OrderPaymentTransaction.md +24 -12
  507. data/docs/OrderPaymentTransactionDetail.md +22 -10
  508. data/docs/OrderProcessPaymentRequest.md +20 -9
  509. data/docs/OrderProcessPaymentResponse.md +26 -12
  510. data/docs/OrderProperty.md +24 -11
  511. data/docs/OrderQuery.md +94 -50
  512. data/docs/OrderQueryBatch.md +18 -9
  513. data/docs/OrderQuote.md +22 -10
  514. data/docs/OrderReplacement.md +46 -22
  515. data/docs/OrderReplacementItem.md +22 -10
  516. data/docs/OrderReplacementResponse.md +28 -13
  517. data/docs/OrderResponse.md +26 -12
  518. data/docs/OrderSalesforce.md +18 -8
  519. data/docs/OrderShipping.md +76 -38
  520. data/docs/OrderSummary.md +56 -33
  521. data/docs/OrderTag.md +18 -8
  522. data/docs/OrderTaxes.md +50 -24
  523. data/docs/OrderTokenResponse.md +26 -12
  524. data/docs/OrderTrackingNumberDetail.md +40 -19
  525. data/docs/OrderTrackingNumberDetails.md +52 -25
  526. data/docs/OrdersResponse.md +26 -12
  527. data/docs/Permission.md +22 -10
  528. data/docs/PricingTier.md +78 -41
  529. data/docs/PricingTierNotification.md +22 -10
  530. data/docs/PricingTiersResponse.md +26 -12
  531. data/docs/Property.md +20 -9
  532. data/docs/PublishLibraryItemRequest.md +18 -8
  533. data/docs/RegisterAffiliateClickRequest.md +28 -13
  534. data/docs/RegisterAffiliateClickResponse.md +24 -11
  535. data/docs/ResponseMetadata.md +20 -9
  536. data/docs/ResultSet.md +28 -13
  537. data/docs/ScreenRecording.md +116 -57
  538. data/docs/ScreenRecordingAdPlatform.md +30 -14
  539. data/docs/ScreenRecordingFilter.md +136 -67
  540. data/docs/ScreenRecordingFilterGeoDistance.md +26 -12
  541. data/docs/ScreenRecordingFilterIpSearch.md +24 -11
  542. data/docs/ScreenRecordingFilterPageView.md +50 -24
  543. data/docs/ScreenRecordingFilterPageViewEvent.md +20 -9
  544. data/docs/ScreenRecordingFilterPageViewEventParam.md +26 -12
  545. data/docs/ScreenRecordingFilterPageViewParam.md +20 -9
  546. data/docs/ScreenRecordingFilterPageViewReferrerParam.md +20 -9
  547. data/docs/ScreenRecordingFilterRangeBigDecimal.md +26 -12
  548. data/docs/ScreenRecordingFilterRangeDate.md +20 -9
  549. data/docs/ScreenRecordingFilterRangeInteger.md +26 -12
  550. data/docs/ScreenRecordingFilterStringSearch.md +26 -12
  551. data/docs/ScreenRecordingFilterValues.md +58 -28
  552. data/docs/ScreenRecordingFilterValuesEvent.md +20 -9
  553. data/docs/ScreenRecordingFilterValuesEventParams.md +26 -12
  554. data/docs/ScreenRecordingFilterValuesPageParam.md +20 -9
  555. data/docs/ScreenRecordingFilterValuesPageView.md +28 -13
  556. data/docs/ScreenRecordingHeatmap.md +64 -31
  557. data/docs/ScreenRecordingHeatmapIndexRequest.md +18 -8
  558. data/docs/ScreenRecordingHeatmapIndexResponse.md +26 -12
  559. data/docs/ScreenRecordingHeatmapRequest.md +22 -10
  560. data/docs/ScreenRecordingHeatmapReset.md +18 -8
  561. data/docs/ScreenRecordingHeatmapResponse.md +26 -12
  562. data/docs/ScreenRecordingHeatmapUrl.md +28 -13
  563. data/docs/ScreenRecordingMerchantNotesRequest.md +18 -8
  564. data/docs/ScreenRecordingMultifield.md +26 -12
  565. data/docs/ScreenRecordingPageView.md +54 -26
  566. data/docs/ScreenRecordingPageViewDataResponse.md +26 -12
  567. data/docs/ScreenRecordingPageViewEvent.md +28 -13
  568. data/docs/ScreenRecordingPageViewEventParameter.md +20 -9
  569. data/docs/ScreenRecordingPageViewParameter.md +20 -9
  570. data/docs/ScreenRecordingQueryRequest.md +18 -8
  571. data/docs/ScreenRecordingQueryResponse.md +38 -18
  572. data/docs/ScreenRecordingResponse.md +28 -13
  573. data/docs/ScreenRecordingSegment.md +36 -17
  574. data/docs/ScreenRecordingSegmentResponse.md +26 -12
  575. data/docs/ScreenRecordingSegmentsResponse.md +26 -12
  576. data/docs/ScreenRecordingSettings.md +32 -15
  577. data/docs/ScreenRecordingSettingsResponse.md +26 -12
  578. data/docs/ScreenRecordingStoreFront.md +20 -9
  579. data/docs/ScreenRecordingTagsRequest.md +18 -8
  580. data/docs/ScreenRecordingTagsResponse.md +26 -12
  581. data/docs/ScreenRecordingUserAgent.md +26 -12
  582. data/docs/ScreenRecordingUserAgentDevice.md +18 -8
  583. data/docs/ScreenRecordingUserAgentOS.md +22 -10
  584. data/docs/ScreenRecordingUserProperty.md +20 -9
  585. data/docs/ScreenshotsResponse.md +26 -12
  586. data/docs/SelfConfig.md +18 -10
  587. data/docs/SimpleValue.md +20 -9
  588. data/docs/SingleSignOnAuthorizeRequest.md +20 -9
  589. data/docs/SingleSignOnAuthorizeResponse.md +20 -9
  590. data/docs/SingleSignOnTokenRequest.md +20 -9
  591. data/docs/SingleSignOnTokenResponse.md +22 -10
  592. data/docs/SovosConfig.md +30 -14
  593. data/docs/SsoApi.md +300 -201
  594. data/docs/StateProvince.md +20 -9
  595. data/docs/StepWaiting.md +20 -9
  596. data/docs/StorefrontApi.md +13005 -9377
  597. data/docs/TaxApi.md +2101 -1421
  598. data/docs/TaxCity.md +34 -16
  599. data/docs/TaxCountry.md +34 -16
  600. data/docs/TaxCountryCode.md +26 -12
  601. data/docs/TaxCounty.md +36 -17
  602. data/docs/TaxJarConfig.md +30 -14
  603. data/docs/TaxPostalCode.md +30 -14
  604. data/docs/TaxProviderActivateResult.md +20 -9
  605. data/docs/TaxProviderAvalara.md +24 -11
  606. data/docs/TaxProviderAvalaraCompaniesResult.md +18 -8
  607. data/docs/TaxProviderAvalaraCompany.md +26 -12
  608. data/docs/TaxProviderSelf.md +26 -12
  609. data/docs/TaxProviderSelfCountriesResponse.md +18 -8
  610. data/docs/TaxProviderSelfRegionsResponse.md +18 -8
  611. data/docs/TaxProviderSovos.md +24 -11
  612. data/docs/TaxProviderTaxJar.md +24 -11
  613. data/docs/TaxProviderTestResult.md +20 -9
  614. data/docs/TaxProviderUltraCart.md +26 -12
  615. data/docs/TaxProviderUltraCartState.md +36 -17
  616. data/docs/TaxProvidersResponse.md +34 -16
  617. data/docs/TaxState.md +52 -25
  618. data/docs/TaxStateCode.md +26 -12
  619. data/docs/TempMultimedia.md +30 -14
  620. data/docs/TempMultimediaResponse.md +26 -12
  621. data/docs/ThumbnailParametersRequest.md +26 -12
  622. data/docs/ThumbnailParametersResponse.md +26 -12
  623. data/docs/TransactionEmail.md +56 -27
  624. data/docs/TransactionEmailListResponse.md +26 -12
  625. data/docs/TransactionEmailOption.md +32 -15
  626. data/docs/TransactionEmailResponse.md +26 -12
  627. data/docs/Twilio.md +24 -16
  628. data/docs/TwilioResponse.md +28 -13
  629. data/docs/TwiliosResponse.md +26 -12
  630. data/docs/UltraCartConfig.md +18 -10
  631. data/docs/UploadCouponCodesRequest.md +26 -12
  632. data/docs/UploadCouponCodesResponse.md +30 -14
  633. data/docs/User.md +44 -21
  634. data/docs/UserApi.md +823 -558
  635. data/docs/UserGroupMembership.md +22 -10
  636. data/docs/UserLogin.md +24 -11
  637. data/docs/UserLoginsResponse.md +26 -12
  638. data/docs/UserResponse.md +26 -12
  639. data/docs/UsersResponse.md +26 -12
  640. data/docs/VerificationRecord.md +22 -10
  641. data/docs/Warning.md +20 -9
  642. data/docs/Webhook.md +52 -26
  643. data/docs/WebhookApi.md +636 -447
  644. data/docs/WebhookEventCategory.md +26 -12
  645. data/docs/WebhookEventSubscription.md +34 -17
  646. data/docs/WebhookLog.md +38 -19
  647. data/docs/WebhookLogResponse.md +26 -12
  648. data/docs/WebhookLogSummariesResponse.md +26 -12
  649. data/docs/WebhookLogSummary.md +22 -10
  650. data/docs/WebhookResponse.md +26 -12
  651. data/docs/WebhookSampleRequest.md +24 -0
  652. data/docs/WebhookSampleRequestResponse.md +26 -0
  653. data/docs/WebhooksResponse.md +26 -12
  654. data/docs/Weight.md +20 -9
  655. data/git_push.sh +57 -55
  656. data/lib/ultracart_api/api/affiliate_api.rb +191 -164
  657. data/lib/ultracart_api/api/auto_order_api.rb +672 -706
  658. data/lib/ultracart_api/api/channel_partner_api.rb +370 -865
  659. data/lib/ultracart_api/api/chargeback_api.rb +410 -356
  660. data/lib/ultracart_api/api/checkout_api.rb +1341 -1111
  661. data/lib/ultracart_api/api/coupon_api.rb +1390 -1161
  662. data/lib/ultracart_api/api/customer_api.rb +1292 -1523
  663. data/lib/ultracart_api/api/fulfillment_api.rb +452 -381
  664. data/lib/ultracart_api/api/gift_certificate_api.rb +594 -502
  665. data/lib/ultracart_api/api/integration_log_api.rb +404 -350
  666. data/lib/ultracart_api/api/item_api.rb +686 -1412
  667. data/lib/ultracart_api/api/oauth_api.rb +198 -171
  668. data/lib/ultracart_api/api/order_api.rb +1728 -1703
  669. data/lib/ultracart_api/api/sso_api.rb +289 -243
  670. data/lib/ultracart_api/api/storefront_api.rb +11407 -10583
  671. data/lib/ultracart_api/api/tax_api.rb +1916 -1580
  672. data/lib/ultracart_api/api/user_api.rb +755 -634
  673. data/lib/ultracart_api/api/webhook_api.rb +601 -514
  674. data/lib/ultracart_api/api_client.rb +399 -400
  675. data/lib/ultracart_api/api_error.rb +57 -38
  676. data/lib/ultracart_api/configuration.rb +302 -229
  677. data/lib/ultracart_api/models/accounts_receivable_retry_config.rb +364 -341
  678. data/lib/ultracart_api/models/accounts_receivable_retry_config_response.rb +287 -252
  679. data/lib/ultracart_api/models/accounts_receivable_retry_day_activity.rb +240 -205
  680. data/lib/ultracart_api/models/accounts_receivable_retry_stat_account.rb +250 -215
  681. data/lib/ultracart_api/models/accounts_receivable_retry_stat_metrics.rb +309 -274
  682. data/lib/ultracart_api/models/accounts_receivable_retry_stat_revenue.rb +228 -193
  683. data/lib/ultracart_api/models/accounts_receivable_retry_stats_response.rb +267 -232
  684. data/lib/ultracart_api/models/activity.rb +264 -247
  685. data/lib/ultracart_api/models/add_library_item_request.rb +324 -289
  686. data/lib/ultracart_api/models/adjust_internal_certificate_request.rb +270 -235
  687. data/lib/ultracart_api/models/adjust_internal_certificate_response.rb +267 -232
  688. data/lib/ultracart_api/models/affiliate_click.rb +319 -304
  689. data/lib/ultracart_api/models/affiliate_click_query.rb +270 -235
  690. data/lib/ultracart_api/models/affiliate_clicks_response.rb +259 -224
  691. data/lib/ultracart_api/models/affiliate_ledger.rb +431 -396
  692. data/lib/ultracart_api/models/affiliate_ledger_query.rb +270 -235
  693. data/lib/ultracart_api/models/affiliate_ledgers_response.rb +259 -224
  694. data/lib/ultracart_api/models/affiliate_link.rb +408 -373
  695. data/lib/ultracart_api/models/api_user_application_profile.rb +260 -225
  696. data/lib/ultracart_api/models/apply_library_item_request.rb +250 -215
  697. data/lib/ultracart_api/models/apply_library_item_response.rb +319 -284
  698. data/lib/ultracart_api/models/auto_order.rb +469 -485
  699. data/lib/ultracart_api/models/auto_order_item.rb +487 -492
  700. data/lib/ultracart_api/models/auto_order_item_future_schedule.rb +250 -215
  701. data/lib/ultracart_api/models/auto_order_item_option.rb +260 -225
  702. data/lib/ultracart_api/models/auto_order_item_simple_schedule.rb +274 -239
  703. data/lib/ultracart_api/models/auto_order_log.rb +230 -195
  704. data/lib/ultracart_api/models/auto_order_query.rb +480 -445
  705. data/lib/ultracart_api/models/auto_order_query_batch.rb +222 -187
  706. data/lib/ultracart_api/models/auto_order_response.rb +256 -221
  707. data/lib/ultracart_api/models/auto_orders_request.rb +222 -187
  708. data/lib/ultracart_api/models/auto_orders_response.rb +258 -223
  709. data/lib/ultracart_api/models/avalara_config.rb +340 -305
  710. data/lib/ultracart_api/models/base_response.rb +247 -212
  711. data/lib/ultracart_api/models/browser.rb +237 -202
  712. data/lib/ultracart_api/models/browser_device.rb +219 -184
  713. data/lib/ultracart_api/models/browser_os.rb +255 -220
  714. data/lib/ultracart_api/models/browser_user_agent.rb +246 -211
  715. data/lib/ultracart_api/models/cart.rb +506 -471
  716. data/lib/ultracart_api/models/cart_affiliate.rb +245 -210
  717. data/lib/ultracart_api/models/cart_affirm_checkout_response.rb +232 -197
  718. data/lib/ultracart_api/models/cart_billing.rb +572 -587
  719. data/lib/ultracart_api/models/cart_buysafe.rb +269 -234
  720. data/lib/ultracart_api/models/cart_checkout.rb +500 -550
  721. data/lib/ultracart_api/models/cart_coupon.rb +220 -185
  722. data/lib/ultracart_api/models/cart_currency_conversion.rb +232 -197
  723. data/lib/ultracart_api/models/cart_customer_profile.rb +438 -413
  724. data/lib/ultracart_api/models/cart_customer_profile_address.rb +350 -315
  725. data/lib/ultracart_api/models/cart_customer_profile_credit_card.rb +304 -269
  726. data/lib/ultracart_api/models/cart_finalize_order_request.rb +228 -193
  727. data/lib/ultracart_api/models/cart_finalize_order_request_options.rb +355 -320
  728. data/lib/ultracart_api/models/cart_finalize_order_response.rb +260 -225
  729. data/lib/ultracart_api/models/cart_gift.rb +313 -278
  730. data/lib/ultracart_api/models/cart_gift_certificate.rb +238 -203
  731. data/lib/ultracart_api/models/cart_item.rb +504 -481
  732. data/lib/ultracart_api/models/cart_item_attribute.rb +240 -205
  733. data/lib/ultracart_api/models/cart_item_multimedia.rb +336 -301
  734. data/lib/ultracart_api/models/cart_item_multimedia_thumbnail.rb +260 -225
  735. data/lib/ultracart_api/models/cart_item_option.rb +378 -343
  736. data/lib/ultracart_api/models/cart_item_option_value.rb +258 -223
  737. data/lib/ultracart_api/models/cart_item_physical.rb +246 -211
  738. data/lib/ultracart_api/models/cart_item_variation_selection.rb +230 -195
  739. data/lib/ultracart_api/models/cart_kit_component_option.rb +398 -363
  740. data/lib/ultracart_api/models/cart_marketing.rb +230 -205
  741. data/lib/ultracart_api/models/cart_payment.rb +275 -249
  742. data/lib/ultracart_api/models/cart_payment_affirm.rb +220 -185
  743. data/lib/ultracart_api/models/cart_payment_amazon.rb +220 -185
  744. data/lib/ultracart_api/models/cart_payment_check.rb +220 -185
  745. data/lib/ultracart_api/models/cart_payment_credit_card.rb +300 -265
  746. data/lib/ultracart_api/models/cart_payment_purchase_order.rb +220 -185
  747. data/lib/ultracart_api/models/cart_profile_login_request.rb +239 -204
  748. data/lib/ultracart_api/models/cart_profile_login_response.rb +231 -196
  749. data/lib/ultracart_api/models/cart_profile_register_request.rb +229 -194
  750. data/lib/ultracart_api/models/cart_profile_register_response.rb +231 -196
  751. data/lib/ultracart_api/models/cart_property.rb +280 -245
  752. data/lib/ultracart_api/models/cart_response.rb +231 -196
  753. data/lib/ultracart_api/models/cart_settings.rb +264 -229
  754. data/lib/ultracart_api/models/cart_settings_billing.rb +222 -187
  755. data/lib/ultracart_api/models/cart_settings_gift.rb +251 -216
  756. data/lib/ultracart_api/models/cart_settings_gift_wrap.rb +239 -204
  757. data/lib/ultracart_api/models/cart_settings_payment.rb +337 -302
  758. data/lib/ultracart_api/models/cart_settings_payment_amazon.rb +240 -205
  759. data/lib/ultracart_api/models/cart_settings_payment_credit_card.rb +242 -217
  760. data/lib/ultracart_api/models/cart_settings_payment_pay_pal.rb +260 -225
  761. data/lib/ultracart_api/models/cart_settings_province.rb +228 -193
  762. data/lib/ultracart_api/models/cart_settings_shipping.rb +262 -227
  763. data/lib/ultracart_api/models/cart_settings_shipping_calendar.rb +264 -229
  764. data/lib/ultracart_api/models/cart_settings_shipping_estimate.rb +345 -310
  765. data/lib/ultracart_api/models/cart_settings_taxes.rb +221 -186
  766. data/lib/ultracart_api/models/cart_settings_terms.rb +230 -195
  767. data/lib/ultracart_api/models/cart_shipping.rb +625 -590
  768. data/lib/ultracart_api/models/cart_summary.rb +354 -356
  769. data/lib/ultracart_api/models/cart_taxes.rb +255 -220
  770. data/lib/ultracart_api/models/cart_upsell_after.rb +255 -220
  771. data/lib/ultracart_api/models/cart_validation_request.rb +231 -196
  772. data/lib/ultracart_api/models/cart_validation_response.rb +231 -196
  773. data/lib/ultracart_api/models/channel_partner_cancel_response.rb +259 -224
  774. data/lib/ultracart_api/models/channel_partner_estimate_shipping_response.rb +259 -224
  775. data/lib/ultracart_api/models/channel_partner_estimate_tax_response.rb +256 -221
  776. data/lib/ultracart_api/models/channel_partner_import_response.rb +281 -246
  777. data/lib/ultracart_api/models/channel_partner_order.rb +1604 -1713
  778. data/lib/ultracart_api/models/channel_partner_order_item.rb +331 -296
  779. data/lib/ultracart_api/models/channel_partner_order_item_option.rb +230 -195
  780. data/lib/ultracart_api/models/channel_partner_order_transaction.rb +232 -197
  781. data/lib/ultracart_api/models/channel_partner_order_transaction_detail.rb +230 -195
  782. data/lib/ultracart_api/models/channel_partner_shipping_estimate.rb +230 -195
  783. data/lib/ultracart_api/models/chargeback_dispute.rb +649 -614
  784. data/lib/ultracart_api/models/chargeback_dispute_response.rb +256 -221
  785. data/lib/ultracart_api/models/chargeback_disputes_response.rb +258 -223
  786. data/lib/ultracart_api/models/checkout_allowed_countries_response.rb +221 -186
  787. data/lib/ultracart_api/models/checkout_handoff_request.rb +323 -288
  788. data/lib/ultracart_api/models/checkout_handoff_response.rb +241 -206
  789. data/lib/ultracart_api/models/checkout_setup_browser_key_request.rb +222 -187
  790. data/lib/ultracart_api/models/checkout_setup_browser_key_response.rb +220 -185
  791. data/lib/ultracart_api/models/checkout_state_province_response.rb +221 -186
  792. data/lib/ultracart_api/models/city_state_zip.rb +255 -220
  793. data/lib/ultracart_api/models/countries_response.rb +221 -186
  794. data/lib/ultracart_api/models/country.rb +260 -225
  795. data/lib/ultracart_api/models/coupon.rb +864 -917
  796. data/lib/ultracart_api/models/coupon_amount_off_items.rb +267 -244
  797. data/lib/ultracart_api/models/coupon_amount_off_shipping.rb +257 -222
  798. data/lib/ultracart_api/models/coupon_amount_off_shipping_with_items_purchase.rb +269 -234
  799. data/lib/ultracart_api/models/coupon_amount_off_subtotal.rb +245 -210
  800. data/lib/ultracart_api/models/coupon_amount_off_subtotal_and_shipping.rb +245 -210
  801. data/lib/ultracart_api/models/coupon_amount_off_subtotal_free_shipping_with_purchase.rb +267 -232
  802. data/lib/ultracart_api/models/coupon_amount_off_subtotal_with_block_purchase.rb +265 -230
  803. data/lib/ultracart_api/models/coupon_amount_off_subtotal_with_items_purchase.rb +267 -232
  804. data/lib/ultracart_api/models/coupon_amount_off_subtotal_with_purchase.rb +255 -220
  805. data/lib/ultracart_api/models/coupon_amount_shipping_with_subtotal.rb +267 -232
  806. data/lib/ultracart_api/models/coupon_auto_apply_condition.rb +239 -204
  807. data/lib/ultracart_api/models/coupon_auto_apply_conditions.rb +269 -234
  808. data/lib/ultracart_api/models/coupon_automatically_apply_coupon_codes.rb +222 -187
  809. data/lib/ultracart_api/models/coupon_buy_one_get_one_limit.rb +232 -209
  810. data/lib/ultracart_api/models/coupon_codes_request.rb +277 -242
  811. data/lib/ultracart_api/models/coupon_codes_response.rb +269 -234
  812. data/lib/ultracart_api/models/coupon_deletes_request.rb +234 -199
  813. data/lib/ultracart_api/models/coupon_discount_item_with_item_purchase.rb +275 -264
  814. data/lib/ultracart_api/models/coupon_discount_items.rb +267 -232
  815. data/lib/ultracart_api/models/coupon_editor_values.rb +330 -307
  816. data/lib/ultracart_api/models/coupon_exists_response.rb +267 -232
  817. data/lib/ultracart_api/models/coupon_free_item_and_shipping_with_subtotal.rb +279 -244
  818. data/lib/ultracart_api/models/coupon_free_item_with_item_purchase.rb +254 -243
  819. data/lib/ultracart_api/models/coupon_free_item_with_subtotal.rb +267 -232
  820. data/lib/ultracart_api/models/coupon_free_items_with_item_purchase.rb +260 -225
  821. data/lib/ultracart_api/models/coupon_free_items_with_mix_match_purchase.rb +260 -225
  822. data/lib/ultracart_api/models/coupon_free_shipping.rb +222 -187
  823. data/lib/ultracart_api/models/coupon_free_shipping_specific_items.rb +222 -187
  824. data/lib/ultracart_api/models/coupon_free_shipping_with_items_purchase.rb +234 -199
  825. data/lib/ultracart_api/models/coupon_free_shipping_with_subtotal.rb +257 -222
  826. data/lib/ultracart_api/models/coupon_item_search_result.rb +290 -255
  827. data/lib/ultracart_api/models/coupon_item_search_results_response.rb +259 -224
  828. data/lib/ultracart_api/models/coupon_multiple_amounts_off_items.rb +232 -197
  829. data/lib/ultracart_api/models/coupon_percent_off_item_with_items_quantity_purchase.rb +264 -253
  830. data/lib/ultracart_api/models/coupon_percent_off_items.rb +254 -243
  831. data/lib/ultracart_api/models/coupon_percent_off_items_and_free_shipping.rb +244 -233
  832. data/lib/ultracart_api/models/coupon_percent_off_items_with_items_purchase.rb +254 -243
  833. data/lib/ultracart_api/models/coupon_percent_off_msrp_items.rb +254 -239
  834. data/lib/ultracart_api/models/coupon_percent_off_retail_price_items.rb +254 -219
  835. data/lib/ultracart_api/models/coupon_percent_off_shipping.rb +232 -197
  836. data/lib/ultracart_api/models/coupon_percent_off_subtotal.rb +220 -185
  837. data/lib/ultracart_api/models/coupon_percent_off_subtotal_and_free_shipping.rb +232 -197
  838. data/lib/ultracart_api/models/coupon_percent_off_subtotal_limit.rb +255 -220
  839. data/lib/ultracart_api/models/coupon_percent_off_subtotal_with_items_purchase.rb +232 -197
  840. data/lib/ultracart_api/models/coupon_percent_off_subtotal_with_subtotal.rb +255 -220
  841. data/lib/ultracart_api/models/coupon_query.rb +310 -275
  842. data/lib/ultracart_api/models/coupon_response.rb +268 -233
  843. data/lib/ultracart_api/models/coupon_restriction.rb +246 -211
  844. data/lib/ultracart_api/models/coupon_tier_amount.rb +255 -220
  845. data/lib/ultracart_api/models/coupon_tier_item_discount.rb +232 -197
  846. data/lib/ultracart_api/models/coupon_tier_percent.rb +255 -220
  847. data/lib/ultracart_api/models/coupon_tier_quantity_amount.rb +255 -220
  848. data/lib/ultracart_api/models/coupon_tier_quantity_percent.rb +255 -220
  849. data/lib/ultracart_api/models/coupon_tiered_amount_off_items.rb +244 -221
  850. data/lib/ultracart_api/models/coupon_tiered_amount_off_subtotal.rb +234 -199
  851. data/lib/ultracart_api/models/coupon_tiered_percent_off_items.rb +244 -221
  852. data/lib/ultracart_api/models/coupon_tiered_percent_off_shipping.rb +259 -224
  853. data/lib/ultracart_api/models/coupon_tiered_percent_off_subtotal.rb +234 -199
  854. data/lib/ultracart_api/models/coupon_type.rb +230 -195
  855. data/lib/ultracart_api/models/coupons_request.rb +222 -187
  856. data/lib/ultracart_api/models/coupons_response.rb +258 -223
  857. data/lib/ultracart_api/models/currency.rb +260 -225
  858. data/lib/ultracart_api/models/customer.rb +978 -994
  859. data/lib/ultracart_api/models/customer_activity.rb +254 -255
  860. data/lib/ultracart_api/models/customer_affiliate.rb +250 -215
  861. data/lib/ultracart_api/models/customer_attachment.rb +260 -225
  862. data/lib/ultracart_api/models/customer_billing.rb +575 -540
  863. data/lib/ultracart_api/models/customer_card.rb +290 -255
  864. data/lib/ultracart_api/models/customer_editor_values.rb +328 -317
  865. data/lib/ultracart_api/models/customer_email.rb +300 -265
  866. data/lib/ultracart_api/models/customer_email_list_changes.rb +234 -199
  867. data/lib/ultracart_api/models/customer_loyalty.rb +283 -248
  868. data/lib/ultracart_api/models/customer_loyalty_ledger.rb +360 -325
  869. data/lib/ultracart_api/models/customer_loyalty_redemption.rb +340 -305
  870. data/lib/ultracart_api/models/customer_orders_summary.rb +250 -215
  871. data/lib/ultracart_api/models/customer_pricing_tier.rb +245 -210
  872. data/lib/ultracart_api/models/customer_privacy.rb +250 -215
  873. data/lib/ultracart_api/models/customer_query.rb +789 -766
  874. data/lib/ultracart_api/models/customer_quotes_summary.rb +250 -215
  875. data/lib/ultracart_api/models/customer_response.rb +256 -221
  876. data/lib/ultracart_api/models/customer_reviewer.rb +310 -275
  877. data/lib/ultracart_api/models/customer_shipping.rb +575 -540
  878. data/lib/ultracart_api/models/customer_software_entitlement.rb +365 -330
  879. data/lib/ultracart_api/models/customer_store_credit.rb +274 -239
  880. data/lib/ultracart_api/models/customer_store_credit_add_request.rb +250 -215
  881. data/lib/ultracart_api/models/customer_store_credit_ledger_entry.rb +295 -260
  882. data/lib/ultracart_api/models/customer_store_credit_response.rb +256 -221
  883. data/lib/ultracart_api/models/customer_tag.rb +235 -200
  884. data/lib/ultracart_api/models/customer_tax_codes.rb +260 -225
  885. data/lib/ultracart_api/models/customers_response.rb +258 -223
  886. data/lib/ultracart_api/models/data_tables_server_side_response.rb +248 -213
  887. data/lib/ultracart_api/models/distance.rb +264 -229
  888. data/lib/ultracart_api/models/distribution_center.rb +559 -674
  889. data/lib/ultracart_api/models/distribution_centers_response.rb +258 -223
  890. data/lib/ultracart_api/models/email_base_template_list_response.rb +221 -186
  891. data/lib/ultracart_api/models/email_campaign.rb +467 -452
  892. data/lib/ultracart_api/models/email_campaign_folder.rb +275 -240
  893. data/lib/ultracart_api/models/email_campaign_folder_response.rb +256 -221
  894. data/lib/ultracart_api/models/email_campaign_folders_response.rb +258 -223
  895. data/lib/ultracart_api/models/email_campaign_response.rb +256 -221
  896. data/lib/ultracart_api/models/email_campaigns_response.rb +258 -223
  897. data/lib/ultracart_api/models/email_click.rb +230 -195
  898. data/lib/ultracart_api/models/email_clicks_response.rb +258 -223
  899. data/lib/ultracart_api/models/email_commseq.rb +252 -217
  900. data/lib/ultracart_api/models/email_commseq_email.rb +470 -507
  901. data/lib/ultracart_api/models/email_commseq_email_response.rb +256 -221
  902. data/lib/ultracart_api/models/email_commseq_email_send_test_request.rb +304 -269
  903. data/lib/ultracart_api/models/email_commseq_email_send_test_response.rb +247 -212
  904. data/lib/ultracart_api/models/email_commseq_emails_request.rb +258 -223
  905. data/lib/ultracart_api/models/email_commseq_emails_response.rb +258 -223
  906. data/lib/ultracart_api/models/email_commseq_postcard.rb +340 -305
  907. data/lib/ultracart_api/models/email_commseq_postcard_response.rb +256 -221
  908. data/lib/ultracart_api/models/email_commseq_postcard_send_test_request.rb +329 -294
  909. data/lib/ultracart_api/models/email_commseq_postcard_send_test_response.rb +274 -239
  910. data/lib/ultracart_api/models/email_commseq_postcards_request.rb +221 -186
  911. data/lib/ultracart_api/models/email_commseq_postcards_response.rb +258 -223
  912. data/lib/ultracart_api/models/email_commseq_response.rb +256 -221
  913. data/lib/ultracart_api/models/email_commseq_stat.rb +580 -545
  914. data/lib/ultracart_api/models/email_commseq_stat_response.rb +256 -221
  915. data/lib/ultracart_api/models/email_commseq_step.rb +348 -313
  916. data/lib/ultracart_api/models/email_commseq_step_log.rb +240 -205
  917. data/lib/ultracart_api/models/email_commseq_step_logs_response.rb +258 -223
  918. data/lib/ultracart_api/models/email_commseq_webhook_send_test_request.rb +275 -240
  919. data/lib/ultracart_api/models/email_commseq_webhook_send_test_response.rb +277 -242
  920. data/lib/ultracart_api/models/email_commseqs_response.rb +258 -223
  921. data/lib/ultracart_api/models/email_customer.rb +292 -257
  922. data/lib/ultracart_api/models/email_customer_editor_url_response.rb +256 -221
  923. data/lib/ultracart_api/models/email_customers_response.rb +262 -227
  924. data/lib/ultracart_api/models/email_dashboard_activity.rb +280 -245
  925. data/lib/ultracart_api/models/email_dashboard_activity_response.rb +258 -223
  926. data/lib/ultracart_api/models/email_dashboard_stats_response.rb +258 -223
  927. data/lib/ultracart_api/models/email_domain.rb +329 -294
  928. data/lib/ultracart_api/models/email_editor_token_response.rb +256 -221
  929. data/lib/ultracart_api/models/email_flow.rb +505 -500
  930. data/lib/ultracart_api/models/email_flow_back_populate_request.rb +230 -195
  931. data/lib/ultracart_api/models/email_flow_back_populate_response.rb +247 -212
  932. data/lib/ultracart_api/models/email_flow_folder.rb +275 -240
  933. data/lib/ultracart_api/models/email_flow_folder_response.rb +256 -221
  934. data/lib/ultracart_api/models/email_flow_folders_response.rb +258 -223
  935. data/lib/ultracart_api/models/email_flow_response.rb +256 -221
  936. data/lib/ultracart_api/models/email_flows_response.rb +258 -223
  937. data/lib/ultracart_api/models/email_global_settings.rb +219 -184
  938. data/lib/ultracart_api/models/email_global_settings_response.rb +256 -221
  939. data/lib/ultracart_api/models/email_global_unsubscribe_request.rb +219 -184
  940. data/lib/ultracart_api/models/email_global_unsubscribe_response.rb +219 -184
  941. data/lib/ultracart_api/models/email_histogram_property_names_response.rb +221 -186
  942. data/lib/ultracart_api/models/email_histogram_property_values_response.rb +221 -186
  943. data/lib/ultracart_api/models/email_list.rb +347 -312
  944. data/lib/ultracart_api/models/email_list_archive_response.rb +256 -221
  945. data/lib/ultracart_api/models/email_list_customer.rb +250 -215
  946. data/lib/ultracart_api/models/email_list_customers_response.rb +262 -227
  947. data/lib/ultracart_api/models/email_list_response.rb +256 -221
  948. data/lib/ultracart_api/models/email_list_segment_folder.rb +275 -240
  949. data/lib/ultracart_api/models/email_list_segment_folder_response.rb +256 -221
  950. data/lib/ultracart_api/models/email_list_segment_folders_response.rb +258 -223
  951. data/lib/ultracart_api/models/email_list_segment_membership.rb +250 -215
  952. data/lib/ultracart_api/models/email_list_segment_used_by.rb +240 -205
  953. data/lib/ultracart_api/models/email_list_subscribe_response.rb +228 -193
  954. data/lib/ultracart_api/models/email_lists_response.rb +258 -223
  955. data/lib/ultracart_api/models/email_order.rb +249 -214
  956. data/lib/ultracart_api/models/email_orders_response.rb +258 -223
  957. data/lib/ultracart_api/models/email_performance.rb +475 -440
  958. data/lib/ultracart_api/models/email_performance_customer_histogram.rb +222 -187
  959. data/lib/ultracart_api/models/email_performance_customer_histogram_period.rb +260 -225
  960. data/lib/ultracart_api/models/email_performance_daily.rb +280 -245
  961. data/lib/ultracart_api/models/email_performance_response.rb +256 -221
  962. data/lib/ultracart_api/models/email_plan.rb +365 -330
  963. data/lib/ultracart_api/models/email_plan_additional.rb +291 -256
  964. data/lib/ultracart_api/models/email_plan_response.rb +256 -221
  965. data/lib/ultracart_api/models/email_postcard_stat.rb +531 -496
  966. data/lib/ultracart_api/models/email_segment.rb +445 -420
  967. data/lib/ultracart_api/models/email_segment_archive_response.rb +256 -221
  968. data/lib/ultracart_api/models/email_segment_customer.rb +250 -215
  969. data/lib/ultracart_api/models/email_segment_customers_response.rb +262 -227
  970. data/lib/ultracart_api/models/email_segment_download_prepare_response.rb +283 -248
  971. data/lib/ultracart_api/models/email_segment_response.rb +256 -221
  972. data/lib/ultracart_api/models/email_segments_response.rb +258 -223
  973. data/lib/ultracart_api/models/email_sending_domain_response.rb +256 -221
  974. data/lib/ultracart_api/models/email_sending_domains_response.rb +258 -223
  975. data/lib/ultracart_api/models/email_settings.rb +318 -351
  976. data/lib/ultracart_api/models/email_settings_response.rb +256 -221
  977. data/lib/ultracart_api/models/email_stat.rb +591 -556
  978. data/lib/ultracart_api/models/email_stat_postcard_summary_request.rb +230 -195
  979. data/lib/ultracart_api/models/email_stat_postcard_summary_response.rb +258 -223
  980. data/lib/ultracart_api/models/email_stat_summary_request.rb +241 -206
  981. data/lib/ultracart_api/models/email_stat_summary_response.rb +258 -223
  982. data/lib/ultracart_api/models/email_step_stat.rb +410 -475
  983. data/lib/ultracart_api/models/email_step_stat_request.rb +230 -195
  984. data/lib/ultracart_api/models/email_step_stat_response.rb +258 -223
  985. data/lib/ultracart_api/models/email_step_waiting_request.rb +221 -186
  986. data/lib/ultracart_api/models/email_step_waiting_response.rb +221 -186
  987. data/lib/ultracart_api/models/email_template.rb +365 -330
  988. data/lib/ultracart_api/models/email_templates_response.rb +258 -223
  989. data/lib/ultracart_api/models/email_third_party_list.rb +230 -195
  990. data/lib/ultracart_api/models/email_third_party_list_import_request.rb +222 -187
  991. data/lib/ultracart_api/models/email_third_party_provider.rb +324 -289
  992. data/lib/ultracart_api/models/email_third_party_providers_response.rb +258 -223
  993. data/lib/ultracart_api/models/email_third_party_tag.rb +230 -195
  994. data/lib/ultracart_api/models/email_verify_token_request.rb +230 -195
  995. data/lib/ultracart_api/models/email_verify_token_response.rb +257 -222
  996. data/lib/ultracart_api/models/email_verify_token_validate_request.rb +220 -185
  997. data/lib/ultracart_api/models/email_verify_token_validate_response.rb +247 -212
  998. data/lib/ultracart_api/models/email_webhook_editor_values_response.rb +278 -243
  999. data/lib/ultracart_api/models/error.rb +260 -225
  1000. data/lib/ultracart_api/models/error_response.rb +247 -212
  1001. data/lib/ultracart_api/models/experiment.rb +426 -463
  1002. data/lib/ultracart_api/models/experiment_response.rb +256 -221
  1003. data/lib/ultracart_api/models/experiment_variation.rb +432 -407
  1004. data/lib/ultracart_api/models/experiment_variation_stat.rb +320 -307
  1005. data/lib/ultracart_api/models/experiments_response.rb +258 -223
  1006. data/lib/ultracart_api/models/fulfillment_inventory.rb +228 -193
  1007. data/lib/ultracart_api/models/fulfillment_shipment.rb +262 -227
  1008. data/lib/ultracart_api/models/geo_point.rb +228 -193
  1009. data/lib/ultracart_api/models/geocode_request.rb +260 -225
  1010. data/lib/ultracart_api/models/geocode_response.rb +265 -230
  1011. data/lib/ultracart_api/models/gift_certificate.rb +367 -332
  1012. data/lib/ultracart_api/models/gift_certificate_create_request.rb +260 -225
  1013. data/lib/ultracart_api/models/gift_certificate_ledger_entry.rb +285 -250
  1014. data/lib/ultracart_api/models/gift_certificate_query.rb +300 -265
  1015. data/lib/ultracart_api/models/gift_certificate_response.rb +256 -221
  1016. data/lib/ultracart_api/models/gift_certificates_response.rb +258 -223
  1017. data/lib/ultracart_api/models/group.rb +266 -231
  1018. data/lib/ultracart_api/models/group_response.rb +256 -221
  1019. data/lib/ultracart_api/models/group_user_membership.rb +260 -225
  1020. data/lib/ultracart_api/models/groups_response.rb +258 -223
  1021. data/lib/ultracart_api/models/http_header.rb +230 -195
  1022. data/lib/ultracart_api/models/integration_log.rb +379 -355
  1023. data/lib/ultracart_api/models/integration_log_file.rb +246 -211
  1024. data/lib/ultracart_api/models/integration_log_log.rb +228 -193
  1025. data/lib/ultracart_api/models/integration_log_query_filter_values.rb +340 -305
  1026. data/lib/ultracart_api/models/integration_log_query_request.rb +333 -329
  1027. data/lib/ultracart_api/models/integration_log_query_response.rb +267 -232
  1028. data/lib/ultracart_api/models/integration_log_response.rb +256 -221
  1029. data/lib/ultracart_api/models/integration_log_summary.rb +291 -256
  1030. data/lib/ultracart_api/models/integration_log_summary_query_request.rb +230 -195
  1031. data/lib/ultracart_api/models/integration_log_summary_query_response.rb +258 -223
  1032. data/lib/ultracart_api/models/item.rb +748 -713
  1033. data/lib/ultracart_api/models/item_accounting.rb +260 -225
  1034. data/lib/ultracart_api/models/item_amember.rb +245 -210
  1035. data/lib/ultracart_api/models/item_auto_order.rb +403 -418
  1036. data/lib/ultracart_api/models/item_auto_order_step.rb +413 -398
  1037. data/lib/ultracart_api/models/item_auto_order_step_arbitrary_unit_cost_schedule.rb +230 -195
  1038. data/lib/ultracart_api/models/item_auto_order_step_grandfather_pricing.rb +230 -195
  1039. data/lib/ultracart_api/models/item_cc_bill.rb +270 -235
  1040. data/lib/ultracart_api/models/item_channel_partner_mapping.rb +445 -410
  1041. data/lib/ultracart_api/models/item_chargeback.rb +234 -199
  1042. data/lib/ultracart_api/models/item_chargeback_addendum.rb +250 -215
  1043. data/lib/ultracart_api/models/item_chargeback_adjustment_request.rb +240 -205
  1044. data/lib/ultracart_api/models/item_checkout.rb +265 -230
  1045. data/lib/ultracart_api/models/item_content.rb +361 -356
  1046. data/lib/ultracart_api/models/item_content_assignment.rb +285 -250
  1047. data/lib/ultracart_api/models/item_content_attribute.rb +280 -245
  1048. data/lib/ultracart_api/models/item_content_multimedia.rb +441 -406
  1049. data/lib/ultracart_api/models/item_content_multimedia_thumbnail.rb +270 -235
  1050. data/lib/ultracart_api/models/item_digital_delivery.rb +317 -282
  1051. data/lib/ultracart_api/models/item_digital_item.rb +305 -334
  1052. data/lib/ultracart_api/models/item_ebay.rb +901 -866
  1053. data/lib/ultracart_api/models/item_ebay_category_specific.rb +230 -195
  1054. data/lib/ultracart_api/models/item_ebay_market_listing.rb +260 -225
  1055. data/lib/ultracart_api/models/item_ebay_market_place_analysis.rb +311 -276
  1056. data/lib/ultracart_api/models/item_email_notifications.rb +230 -195
  1057. data/lib/ultracart_api/models/item_enrollment123.rb +220 -185
  1058. data/lib/ultracart_api/models/item_fulfillment_addon.rb +250 -225
  1059. data/lib/ultracart_api/models/item_gift_certificate.rb +230 -195
  1060. data/lib/ultracart_api/models/item_google_product_search.rb +1289 -1254
  1061. data/lib/ultracart_api/models/item_identifiers.rb +310 -375
  1062. data/lib/ultracart_api/models/item_instant_payment_notification.rb +270 -235
  1063. data/lib/ultracart_api/models/item_instant_payment_notifications.rb +222 -187
  1064. data/lib/ultracart_api/models/item_internal.rb +235 -200
  1065. data/lib/ultracart_api/models/item_kit_component.rb +260 -225
  1066. data/lib/ultracart_api/models/item_kit_definition.rb +222 -187
  1067. data/lib/ultracart_api/models/item_option.rb +416 -381
  1068. data/lib/ultracart_api/models/item_option_value.rb +409 -374
  1069. data/lib/ultracart_api/models/item_option_value_additional_item.rb +230 -195
  1070. data/lib/ultracart_api/models/item_option_value_digital_item.rb +230 -195
  1071. data/lib/ultracart_api/models/item_payment_processing.rb +264 -239
  1072. data/lib/ultracart_api/models/item_physical.rb +246 -211
  1073. data/lib/ultracart_api/models/item_pricing.rb +422 -387
  1074. data/lib/ultracart_api/models/item_pricing_tier.rb +261 -226
  1075. data/lib/ultracart_api/models/item_pricing_tier_discount.rb +230 -195
  1076. data/lib/ultracart_api/models/item_pricing_tier_limit.rb +240 -227
  1077. data/lib/ultracart_api/models/item_property.rb +270 -235
  1078. data/lib/ultracart_api/models/item_realtime_pricing.rb +240 -205
  1079. data/lib/ultracart_api/models/item_related.rb +242 -207
  1080. data/lib/ultracart_api/models/item_related_item.rb +274 -239
  1081. data/lib/ultracart_api/models/item_reporting.rb +232 -197
  1082. data/lib/ultracart_api/models/item_response.rb +256 -221
  1083. data/lib/ultracart_api/models/item_restriction.rb +292 -257
  1084. data/lib/ultracart_api/models/item_restriction_item.rb +274 -239
  1085. data/lib/ultracart_api/models/item_revguard.rb +280 -245
  1086. data/lib/ultracart_api/models/item_reviews.rb +300 -276
  1087. data/lib/ultracart_api/models/item_salesforce.rb +230 -195
  1088. data/lib/ultracart_api/models/item_shipping.rb +713 -688
  1089. data/lib/ultracart_api/models/item_shipping_case.rb +265 -230
  1090. data/lib/ultracart_api/models/item_shipping_destination_markup.rb +315 -290
  1091. data/lib/ultracart_api/models/item_shipping_destination_restriction.rb +304 -269
  1092. data/lib/ultracart_api/models/item_shipping_distribution_center.rb +380 -345
  1093. data/lib/ultracart_api/models/item_shipping_method.rb +394 -359
  1094. data/lib/ultracart_api/models/item_shipping_package_requirement.rb +230 -195
  1095. data/lib/ultracart_api/models/item_tag.rb +279 -244
  1096. data/lib/ultracart_api/models/item_tags.rb +222 -187
  1097. data/lib/ultracart_api/models/item_tax.rb +286 -251
  1098. data/lib/ultracart_api/models/item_tax_exemption.rb +335 -300
  1099. data/lib/ultracart_api/models/item_third_party_email_marketing.rb +302 -267
  1100. data/lib/ultracart_api/models/item_variant_item.rb +289 -254
  1101. data/lib/ultracart_api/models/item_variation.rb +292 -257
  1102. data/lib/ultracart_api/models/item_variation_option.rb +265 -230
  1103. data/lib/ultracart_api/models/item_wishlist_member.rb +255 -220
  1104. data/lib/ultracart_api/models/items_request.rb +222 -187
  1105. data/lib/ultracart_api/models/items_response.rb +259 -224
  1106. data/lib/ultracart_api/models/key_value.rb +240 -205
  1107. data/lib/ultracart_api/models/library_filter_values.rb +254 -219
  1108. data/lib/ultracart_api/models/library_filter_values_response.rb +256 -221
  1109. data/lib/ultracart_api/models/library_item.rb +606 -571
  1110. data/lib/ultracart_api/models/library_item_account.rb +237 -202
  1111. data/lib/ultracart_api/models/library_item_asset.rb +228 -193
  1112. data/lib/ultracart_api/models/library_item_attribute.rb +228 -193
  1113. data/lib/ultracart_api/models/library_item_email.rb +237 -202
  1114. data/lib/ultracart_api/models/library_item_published_meta.rb +290 -255
  1115. data/lib/ultracart_api/models/library_item_purchased_meta.rb +240 -205
  1116. data/lib/ultracart_api/models/library_item_query.rb +330 -295
  1117. data/lib/ultracart_api/models/library_item_response.rb +256 -221
  1118. data/lib/ultracart_api/models/library_item_screenshot.rb +228 -193
  1119. data/lib/ultracart_api/models/library_items_response.rb +259 -224
  1120. data/lib/ultracart_api/models/linked_account.rb +240 -205
  1121. data/lib/ultracart_api/models/list_segment_membership.rb +237 -202
  1122. data/lib/ultracart_api/models/lookup_request.rb +255 -229
  1123. data/lib/ultracart_api/models/lookup_response.rb +258 -223
  1124. data/lib/ultracart_api/models/mailgun.rb +219 -184
  1125. data/lib/ultracart_api/models/metric.rb +282 -247
  1126. data/lib/ultracart_api/models/notification.rb +322 -287
  1127. data/lib/ultracart_api/models/oauth_revoke_success_response.rb +230 -195
  1128. data/lib/ultracart_api/models/oauth_token_response.rb +321 -286
  1129. data/lib/ultracart_api/models/order.rb +604 -622
  1130. data/lib/ultracart_api/models/order_affiliate.rb +242 -207
  1131. data/lib/ultracart_api/models/order_affiliate_ledger.rb +334 -299
  1132. data/lib/ultracart_api/models/order_auto_order.rb +448 -413
  1133. data/lib/ultracart_api/models/order_billing.rb +597 -612
  1134. data/lib/ultracart_api/models/order_buysafe.rb +268 -233
  1135. data/lib/ultracart_api/models/order_by_token_query.rb +220 -185
  1136. data/lib/ultracart_api/models/order_channel_partner.rb +335 -300
  1137. data/lib/ultracart_api/models/order_checkout.rb +469 -509
  1138. data/lib/ultracart_api/models/order_coupon.rb +290 -255
  1139. data/lib/ultracart_api/models/order_digital_item.rb +290 -255
  1140. data/lib/ultracart_api/models/order_digital_order.rb +262 -227
  1141. data/lib/ultracart_api/models/order_edi.rb +265 -230
  1142. data/lib/ultracart_api/models/order_format.rb +404 -369
  1143. data/lib/ultracart_api/models/order_format_response.rb +232 -197
  1144. data/lib/ultracart_api/models/order_fraud_score.rb +444 -409
  1145. data/lib/ultracart_api/models/order_gift.rb +351 -316
  1146. data/lib/ultracart_api/models/order_gift_certificate.rb +239 -204
  1147. data/lib/ultracart_api/models/order_internal.rb +275 -252
  1148. data/lib/ultracart_api/models/order_item.rb +889 -1028
  1149. data/lib/ultracart_api/models/order_item_edi.rb +234 -199
  1150. data/lib/ultracart_api/models/order_item_edi_identification.rb +230 -195
  1151. data/lib/ultracart_api/models/order_item_edi_lot.rb +240 -205
  1152. data/lib/ultracart_api/models/order_item_option.rb +378 -343
  1153. data/lib/ultracart_api/models/order_item_option_file_attachment.rb +250 -215
  1154. data/lib/ultracart_api/models/order_item_property.rb +280 -245
  1155. data/lib/ultracart_api/models/order_item_tag.rb +235 -200
  1156. data/lib/ultracart_api/models/order_linked_shipment.rb +264 -229
  1157. data/lib/ultracart_api/models/order_marketing.rb +270 -245
  1158. data/lib/ultracart_api/models/order_packing_slip_response.rb +257 -222
  1159. data/lib/ultracart_api/models/order_payment.rb +432 -415
  1160. data/lib/ultracart_api/models/order_payment_check.rb +220 -185
  1161. data/lib/ultracart_api/models/order_payment_credit_card.rb +354 -328
  1162. data/lib/ultracart_api/models/order_payment_e_check.rb +476 -441
  1163. data/lib/ultracart_api/models/order_payment_insurance.rb +250 -215
  1164. data/lib/ultracart_api/models/order_payment_purchase_order.rb +220 -185
  1165. data/lib/ultracart_api/models/order_payment_transaction.rb +252 -227
  1166. data/lib/ultracart_api/models/order_payment_transaction_detail.rb +240 -205
  1167. data/lib/ultracart_api/models/order_process_payment_request.rb +230 -195
  1168. data/lib/ultracart_api/models/order_process_payment_response.rb +256 -221
  1169. data/lib/ultracart_api/models/order_property.rb +280 -245
  1170. data/lib/ultracart_api/models/order_query.rb +826 -843
  1171. data/lib/ultracart_api/models/order_query_batch.rb +222 -231
  1172. data/lib/ultracart_api/models/order_quote.rb +240 -205
  1173. data/lib/ultracart_api/models/order_replacement.rb +467 -432
  1174. data/lib/ultracart_api/models/order_replacement_item.rb +255 -220
  1175. data/lib/ultracart_api/models/order_replacement_response.rb +264 -229
  1176. data/lib/ultracart_api/models/order_response.rb +256 -221
  1177. data/lib/ultracart_api/models/order_salesforce.rb +220 -185
  1178. data/lib/ultracart_api/models/order_shipping.rb +770 -745
  1179. data/lib/ultracart_api/models/order_summary.rb +390 -411
  1180. data/lib/ultracart_api/models/order_tag.rb +235 -200
  1181. data/lib/ultracart_api/models/order_taxes.rb +395 -360
  1182. data/lib/ultracart_api/models/order_token_response.rb +257 -222
  1183. data/lib/ultracart_api/models/order_tracking_number_detail.rb +320 -285
  1184. data/lib/ultracart_api/models/order_tracking_number_details.rb +374 -339
  1185. data/lib/ultracart_api/models/orders_response.rb +259 -224
  1186. data/lib/ultracart_api/models/permission.rb +240 -205
  1187. data/lib/ultracart_api/models/pricing_tier.rb +533 -528
  1188. data/lib/ultracart_api/models/pricing_tier_notification.rb +270 -235
  1189. data/lib/ultracart_api/models/pricing_tiers_response.rb +259 -224
  1190. data/lib/ultracart_api/models/property.rb +228 -193
  1191. data/lib/ultracart_api/models/publish_library_item_request.rb +220 -185
  1192. data/lib/ultracart_api/models/register_affiliate_click_request.rb +270 -235
  1193. data/lib/ultracart_api/models/register_affiliate_click_response.rb +254 -219
  1194. data/lib/ultracart_api/models/response_metadata.rb +229 -194
  1195. data/lib/ultracart_api/models/result_set.rb +270 -235
  1196. data/lib/ultracart_api/models/screen_recording.rb +688 -653
  1197. data/lib/ultracart_api/models/screen_recording_ad_platform.rb +280 -245
  1198. data/lib/ultracart_api/models/screen_recording_filter.rb +758 -723
  1199. data/lib/ultracart_api/models/screen_recording_filter_geo_distance.rb +255 -220
  1200. data/lib/ultracart_api/models/screen_recording_filter_ip_search.rb +246 -211
  1201. data/lib/ultracart_api/models/screen_recording_filter_page_view.rb +369 -334
  1202. data/lib/ultracart_api/models/screen_recording_filter_page_view_event.rb +230 -195
  1203. data/lib/ultracart_api/models/screen_recording_filter_page_view_event_param.rb +255 -220
  1204. data/lib/ultracart_api/models/screen_recording_filter_page_view_param.rb +228 -193
  1205. data/lib/ultracart_api/models/screen_recording_filter_page_view_referrer_param.rb +228 -193
  1206. data/lib/ultracart_api/models/screen_recording_filter_range_big_decimal.rb +255 -220
  1207. data/lib/ultracart_api/models/screen_recording_filter_range_date.rb +230 -195
  1208. data/lib/ultracart_api/models/screen_recording_filter_range_integer.rb +255 -220
  1209. data/lib/ultracart_api/models/screen_recording_filter_string_search.rb +255 -220
  1210. data/lib/ultracart_api/models/screen_recording_filter_values.rb +435 -400
  1211. data/lib/ultracart_api/models/screen_recording_filter_values_event.rb +230 -195
  1212. data/lib/ultracart_api/models/screen_recording_filter_values_event_params.rb +263 -228
  1213. data/lib/ultracart_api/models/screen_recording_filter_values_page_param.rb +230 -195
  1214. data/lib/ultracart_api/models/screen_recording_filter_values_page_view.rb +272 -237
  1215. data/lib/ultracart_api/models/screen_recording_heatmap.rb +426 -391
  1216. data/lib/ultracart_api/models/screen_recording_heatmap_index_request.rb +219 -184
  1217. data/lib/ultracart_api/models/screen_recording_heatmap_index_response.rb +258 -223
  1218. data/lib/ultracart_api/models/screen_recording_heatmap_request.rb +239 -204
  1219. data/lib/ultracart_api/models/screen_recording_heatmap_reset.rb +219 -184
  1220. data/lib/ultracart_api/models/screen_recording_heatmap_response.rb +256 -221
  1221. data/lib/ultracart_api/models/screen_recording_heatmap_url.rb +266 -231
  1222. data/lib/ultracart_api/models/screen_recording_merchant_notes_request.rb +219 -184
  1223. data/lib/ultracart_api/models/screen_recording_multifield.rb +255 -220
  1224. data/lib/ultracart_api/models/screen_recording_page_view.rb +391 -356
  1225. data/lib/ultracart_api/models/screen_recording_page_view_data_response.rb +256 -221
  1226. data/lib/ultracart_api/models/screen_recording_page_view_event.rb +267 -232
  1227. data/lib/ultracart_api/models/screen_recording_page_view_event_parameter.rb +228 -193
  1228. data/lib/ultracart_api/models/screen_recording_page_view_parameter.rb +228 -193
  1229. data/lib/ultracart_api/models/screen_recording_query_request.rb +219 -184
  1230. data/lib/ultracart_api/models/screen_recording_query_response.rb +314 -279
  1231. data/lib/ultracart_api/models/screen_recording_response.rb +265 -230
  1232. data/lib/ultracart_api/models/screen_recording_segment.rb +302 -267
  1233. data/lib/ultracart_api/models/screen_recording_segment_response.rb +256 -221
  1234. data/lib/ultracart_api/models/screen_recording_segments_response.rb +258 -223
  1235. data/lib/ultracart_api/models/screen_recording_settings.rb +284 -249
  1236. data/lib/ultracart_api/models/screen_recording_settings_response.rb +256 -221
  1237. data/lib/ultracart_api/models/screen_recording_store_front.rb +228 -193
  1238. data/lib/ultracart_api/models/screen_recording_tags_request.rb +221 -186
  1239. data/lib/ultracart_api/models/screen_recording_tags_response.rb +258 -223
  1240. data/lib/ultracart_api/models/screen_recording_user_agent.rb +255 -220
  1241. data/lib/ultracart_api/models/screen_recording_user_agent_device.rb +219 -184
  1242. data/lib/ultracart_api/models/screen_recording_user_agent_os.rb +237 -202
  1243. data/lib/ultracart_api/models/screen_recording_user_property.rb +228 -193
  1244. data/lib/ultracart_api/models/screenshots_response.rb +259 -224
  1245. data/lib/ultracart_api/models/self_config.rb +220 -205
  1246. data/lib/ultracart_api/models/simple_value.rb +230 -195
  1247. data/lib/ultracart_api/models/single_sign_on_authorize_request.rb +230 -195
  1248. data/lib/ultracart_api/models/single_sign_on_authorize_response.rb +230 -195
  1249. data/lib/ultracart_api/models/single_sign_on_token_request.rb +230 -195
  1250. data/lib/ultracart_api/models/single_sign_on_token_response.rb +240 -205
  1251. data/lib/ultracart_api/models/sovos_config.rb +280 -245
  1252. data/lib/ultracart_api/models/state_province.rb +245 -210
  1253. data/lib/ultracart_api/models/step_waiting.rb +228 -193
  1254. data/lib/ultracart_api/models/tax_city.rb +302 -267
  1255. data/lib/ultracart_api/models/tax_country.rb +302 -267
  1256. data/lib/ultracart_api/models/tax_country_code.rb +260 -225
  1257. data/lib/ultracart_api/models/tax_county.rb +312 -277
  1258. data/lib/ultracart_api/models/tax_jar_config.rb +280 -245
  1259. data/lib/ultracart_api/models/tax_postal_code.rb +280 -245
  1260. data/lib/ultracart_api/models/tax_provider_activate_result.rb +229 -194
  1261. data/lib/ultracart_api/models/tax_provider_avalara.rb +249 -214
  1262. data/lib/ultracart_api/models/tax_provider_avalara_companies_result.rb +222 -187
  1263. data/lib/ultracart_api/models/tax_provider_avalara_company.rb +260 -225
  1264. data/lib/ultracart_api/models/tax_provider_self.rb +261 -226
  1265. data/lib/ultracart_api/models/tax_provider_self_countries_response.rb +222 -187
  1266. data/lib/ultracart_api/models/tax_provider_self_regions_response.rb +222 -187
  1267. data/lib/ultracart_api/models/tax_provider_sovos.rb +249 -214
  1268. data/lib/ultracart_api/models/tax_provider_tax_jar.rb +249 -214
  1269. data/lib/ultracart_api/models/tax_provider_test_result.rb +229 -194
  1270. data/lib/ultracart_api/models/tax_provider_ultra_cart.rb +261 -226
  1271. data/lib/ultracart_api/models/tax_provider_ultra_cart_state.rb +310 -275
  1272. data/lib/ultracart_api/models/tax_providers_response.rb +292 -257
  1273. data/lib/ultracart_api/models/tax_state.rb +392 -357
  1274. data/lib/ultracart_api/models/tax_state_code.rb +260 -225
  1275. data/lib/ultracart_api/models/temp_multimedia.rb +329 -294
  1276. data/lib/ultracart_api/models/temp_multimedia_response.rb +256 -221
  1277. data/lib/ultracart_api/models/thumbnail_parameters_request.rb +255 -220
  1278. data/lib/ultracart_api/models/thumbnail_parameters_response.rb +257 -222
  1279. data/lib/ultracart_api/models/transaction_email.rb +414 -379
  1280. data/lib/ultracart_api/models/transaction_email_list_response.rb +258 -223
  1281. data/lib/ultracart_api/models/transaction_email_option.rb +282 -247
  1282. data/lib/ultracart_api/models/transaction_email_response.rb +256 -221
  1283. data/lib/ultracart_api/models/twilio.rb +248 -258
  1284. data/lib/ultracart_api/models/twilio_response.rb +265 -230
  1285. data/lib/ultracart_api/models/twilios_response.rb +258 -223
  1286. data/lib/ultracart_api/models/ultra_cart_config.rb +220 -205
  1287. data/lib/ultracart_api/models/upload_coupon_codes_request.rb +259 -224
  1288. data/lib/ultracart_api/models/upload_coupon_codes_response.rb +283 -248
  1289. data/lib/ultracart_api/models/user.rb +377 -342
  1290. data/lib/ultracart_api/models/user_group_membership.rb +240 -205
  1291. data/lib/ultracart_api/models/user_login.rb +250 -215
  1292. data/lib/ultracart_api/models/user_logins_response.rb +259 -224
  1293. data/lib/ultracart_api/models/user_response.rb +256 -221
  1294. data/lib/ultracart_api/models/users_response.rb +258 -223
  1295. data/lib/ultracart_api/models/verification_record.rb +237 -202
  1296. data/lib/ultracart_api/models/warning.rb +230 -195
  1297. data/lib/ultracart_api/models/webhook.rb +437 -412
  1298. data/lib/ultracart_api/models/webhook_event_category.rb +264 -229
  1299. data/lib/ultracart_api/models/webhook_event_subscription.rb +300 -275
  1300. data/lib/ultracart_api/models/webhook_log.rb +324 -299
  1301. data/lib/ultracart_api/models/webhook_log_response.rb +256 -221
  1302. data/lib/ultracart_api/models/webhook_log_summaries_response.rb +259 -224
  1303. data/lib/ultracart_api/models/webhook_log_summary.rb +240 -205
  1304. data/lib/ultracart_api/models/webhook_response.rb +256 -221
  1305. data/lib/ultracart_api/models/{conversation_pbx_audio_usage_response.rb → webhook_sample_request.rb} +252 -245
  1306. data/lib/ultracart_api/models/{customer_wish_list_items_response.rb → webhook_sample_request_response.rb} +256 -223
  1307. data/lib/ultracart_api/models/webhooks_response.rb +258 -223
  1308. data/lib/ultracart_api/models/weight.rb +264 -229
  1309. data/lib/ultracart_api/version.rb +15 -15
  1310. data/lib/ultracart_api.rb +689 -917
  1311. data/spec/api_client_spec.rb +226 -243
  1312. data/spec/configuration_spec.rb +42 -42
  1313. data/spec/spec_helper.rb +111 -111
  1314. data/ultracart_api.gemspec +38 -46
  1315. metadata +9 -625
  1316. data/docs/AccountsReceivableRetryTransactionReject.md +0 -9
  1317. data/docs/AutoOrderAddonItem.md +0 -13
  1318. data/docs/AutoOrderAddonItemOption.md +0 -9
  1319. data/docs/AutoOrderConsolidate.md +0 -8
  1320. data/docs/AutoOrderManagement.md +0 -8
  1321. data/docs/CartItemProperty.md +0 -11
  1322. data/docs/CartPaymentHealthBenefitCard.md +0 -13
  1323. data/docs/ChannelPartner.md +0 -15
  1324. data/docs/ChannelPartnerShipToPreference.md +0 -14
  1325. data/docs/ChannelPartnerShipToPreferenceResponse.md +0 -12
  1326. data/docs/ChannelPartnerShipToPreferencesResponse.md +0 -12
  1327. data/docs/ChannelPartnersResponse.md +0 -12
  1328. data/docs/Conversation.md +0 -26
  1329. data/docs/ConversationAgentAuth.md +0 -22
  1330. data/docs/ConversationAgentAuthResponse.md +0 -12
  1331. data/docs/ConversationAgentProfile.md +0 -14
  1332. data/docs/ConversationAgentProfileResponse.md +0 -12
  1333. data/docs/ConversationApi.md +0 -4199
  1334. data/docs/ConversationAutocompleteRequest.md +0 -9
  1335. data/docs/ConversationAutocompleteResponse.md +0 -14
  1336. data/docs/ConversationAutocompleteValue.md +0 -9
  1337. data/docs/ConversationCannedMessage.md +0 -11
  1338. data/docs/ConversationCannedMessageResponse.md +0 -12
  1339. data/docs/ConversationCannedMessagesResponse.md +0 -12
  1340. data/docs/ConversationCannedMessagesSearch.md +0 -9
  1341. data/docs/ConversationDepartment.md +0 -12
  1342. data/docs/ConversationDepartmentMember.md +0 -10
  1343. data/docs/ConversationDepartmentMembersResponse.md +0 -12
  1344. data/docs/ConversationDepartmentResponse.md +0 -12
  1345. data/docs/ConversationDepartmentSettings.md +0 -7
  1346. data/docs/ConversationDepartmentsResponse.md +0 -12
  1347. data/docs/ConversationEngagement.md +0 -16
  1348. data/docs/ConversationEngagementEquation.md +0 -8
  1349. data/docs/ConversationEngagementEquationFunction.md +0 -21
  1350. data/docs/ConversationEngagementEquationGroup.md +0 -8
  1351. data/docs/ConversationEngagementResponse.md +0 -12
  1352. data/docs/ConversationEngagementsResponse.md +0 -12
  1353. data/docs/ConversationEventAddCoupon.md +0 -10
  1354. data/docs/ConversationEventAddItem.md +0 -10
  1355. data/docs/ConversationEventQueuePosition.md +0 -9
  1356. data/docs/ConversationEventRRWeb.md +0 -14
  1357. data/docs/ConversationEventReadMessage.md +0 -10
  1358. data/docs/ConversationEventTyping.md +0 -10
  1359. data/docs/ConversationEventWebchatContext.md +0 -10
  1360. data/docs/ConversationJoinRequest.md +0 -8
  1361. data/docs/ConversationLocationCountry.md +0 -10
  1362. data/docs/ConversationLocationStateProvince.md +0 -9
  1363. data/docs/ConversationLocationsResponse.md +0 -12
  1364. data/docs/ConversationMessage.md +0 -22
  1365. data/docs/ConversationMessageTranslation.md +0 -9
  1366. data/docs/ConversationMessageTransportStatus.md +0 -9
  1367. data/docs/ConversationMessagesResponse.md +0 -12
  1368. data/docs/ConversationMultimediaUploadUrl.md +0 -9
  1369. data/docs/ConversationMultimediaUploadUrlResponse.md +0 -12
  1370. data/docs/ConversationParticipant.md +0 -20
  1371. data/docs/ConversationPbxAgent.md +0 -23
  1372. data/docs/ConversationPbxAgentResponse.md +0 -12
  1373. data/docs/ConversationPbxAgentsResponse.md +0 -12
  1374. data/docs/ConversationPbxAudio.md +0 -17
  1375. data/docs/ConversationPbxAudioResponse.md +0 -12
  1376. data/docs/ConversationPbxAudioUploadUrl.md +0 -9
  1377. data/docs/ConversationPbxAudioUploadUrlResponse.md +0 -12
  1378. data/docs/ConversationPbxAudioUsageResponse.md +0 -14
  1379. data/docs/ConversationPbxAudiosResponse.md +0 -12
  1380. data/docs/ConversationPbxCustomerSnapshotRequest.md +0 -15
  1381. data/docs/ConversationPbxCustomerSnapshotResponse.md +0 -14
  1382. data/docs/ConversationPbxMenu.md +0 -18
  1383. data/docs/ConversationPbxMenuMapping.md +0 -11
  1384. data/docs/ConversationPbxMenuResponse.md +0 -12
  1385. data/docs/ConversationPbxMenusResponse.md +0 -12
  1386. data/docs/ConversationPbxPhoneNumber.md +0 -12
  1387. data/docs/ConversationPbxPhoneNumberResponse.md +0 -12
  1388. data/docs/ConversationPbxPhoneNumbersResponse.md +0 -12
  1389. data/docs/ConversationPbxQueue.md +0 -28
  1390. data/docs/ConversationPbxQueueMembers.md +0 -9
  1391. data/docs/ConversationPbxQueueResponse.md +0 -12
  1392. data/docs/ConversationPbxQueuesResponse.md +0 -12
  1393. data/docs/ConversationPbxTimeBased.md +0 -11
  1394. data/docs/ConversationPbxTimeBasedMapping.md +0 -11
  1395. data/docs/ConversationPbxTimeBasedMappingConfig.md +0 -9
  1396. data/docs/ConversationPbxTimeBasedResponse.md +0 -12
  1397. data/docs/ConversationPbxTimeBasedsResponse.md +0 -12
  1398. data/docs/ConversationPbxTimeRange.md +0 -12
  1399. data/docs/ConversationPbxTimeRangeConfig.md +0 -13
  1400. data/docs/ConversationPbxTimeRangeResponse.md +0 -12
  1401. data/docs/ConversationPbxTimeRangesResponse.md +0 -12
  1402. data/docs/ConversationPbxVoicemailMailbox.md +0 -19
  1403. data/docs/ConversationPbxVoicemailMailboxResponse.md +0 -12
  1404. data/docs/ConversationPbxVoicemailMailboxesResponse.md +0 -12
  1405. data/docs/ConversationPbxVoicemailMessage.md +0 -20
  1406. data/docs/ConversationPbxVoicemailMessageResponse.md +0 -12
  1407. data/docs/ConversationPbxVoicemailMessageSummariesResponse.md +0 -12
  1408. data/docs/ConversationPbxVoicemailMessageSummary.md +0 -17
  1409. data/docs/ConversationPermissions.md +0 -8
  1410. data/docs/ConversationPermissionsResponse.md +0 -12
  1411. data/docs/ConversationResponse.md +0 -12
  1412. data/docs/ConversationSearchRequest.md +0 -19
  1413. data/docs/ConversationSearchResponse.md +0 -11
  1414. data/docs/ConversationSentiment.md +0 -13
  1415. data/docs/ConversationStartRequest.md +0 -10
  1416. data/docs/ConversationStartResponse.md +0 -8
  1417. data/docs/ConversationSummary.md +0 -24
  1418. data/docs/ConversationTwilioAccount.md +0 -9
  1419. data/docs/ConversationWebchatContext.md +0 -15
  1420. data/docs/ConversationWebchatQueueStatus.md +0 -22
  1421. data/docs/ConversationWebchatQueueStatusAgent.md +0 -13
  1422. data/docs/ConversationWebchatQueueStatusQueueEntry.md +0 -15
  1423. data/docs/ConversationWebchatQueueStatusUpdateRequest.md +0 -8
  1424. data/docs/ConversationWebchatQueueStatusesResponse.md +0 -12
  1425. data/docs/ConversationWebsocketMessage.md +0 -31
  1426. data/docs/ConversationsResponse.md +0 -12
  1427. data/docs/CouponFreeItemWithItemPurchaseAndFreeShipping.md +0 -11
  1428. data/docs/CouponMoreLoyaltyCashback.md +0 -8
  1429. data/docs/CouponMoreLoyaltyPoints.md +0 -8
  1430. data/docs/CouponNoDiscount.md +0 -8
  1431. data/docs/CouponPercentMoreLoyaltyCashback.md +0 -8
  1432. data/docs/CouponPercentMoreLoyaltyPoints.md +0 -8
  1433. data/docs/CouponTieredPercentOffSubtotalBasedOnMSRP.md +0 -9
  1434. data/docs/CustomerEDI.md +0 -10
  1435. data/docs/CustomerMagicLinkResponse.md +0 -12
  1436. data/docs/CustomerMergeRequest.md +0 -9
  1437. data/docs/CustomerProperty.md +0 -11
  1438. data/docs/CustomerWishListItem.md +0 -14
  1439. data/docs/CustomerWishListItemResponse.md +0 -12
  1440. data/docs/CustomerWishListItemsResponse.md +0 -12
  1441. data/docs/DatawarehouseApi.md +0 -512
  1442. data/docs/EmailCommseqSequenceTestRequest.md +0 -22
  1443. data/docs/EmailCommseqSequenceTestResponse.md +0 -11
  1444. data/docs/EmailCommseqSmsSendTestRequest.md +0 -10
  1445. data/docs/EmailCommseqSmsSendTestResponse.md +0 -13
  1446. data/docs/EmailPostcardTracking.md +0 -32
  1447. data/docs/EmailPostcardTrackingResponse.md +0 -12
  1448. data/docs/EmailRateLimiter.md +0 -10
  1449. data/docs/EmailRateLimitersResponse.md +0 -12
  1450. data/docs/EmailSmsOrder.md +0 -11
  1451. data/docs/EmailSmsOrdersResponse.md +0 -12
  1452. data/docs/EmailSmsStat.md +0 -37
  1453. data/docs/EmailStatSmsSummaryRequest.md +0 -9
  1454. data/docs/EmailStatSmsSummaryResponse.md +0 -12
  1455. data/docs/FileManagerDirectory.md +0 -20
  1456. data/docs/FileManagerFile.md +0 -29
  1457. data/docs/FileManagerPage.md +0 -15
  1458. data/docs/FileManagerPageResponse.md +0 -12
  1459. data/docs/FileManagerUploadRequest.md +0 -10
  1460. data/docs/FileManagerUploadUrlResponse.md +0 -13
  1461. data/docs/HitPageView.md +0 -18
  1462. data/docs/HitPageViewMetaData.md +0 -9
  1463. data/docs/HitSessionStart.md +0 -24
  1464. data/docs/HitSessionUtm.md +0 -22
  1465. data/docs/ItemDigitalItemPdfMeta.md +0 -18
  1466. data/docs/ItemDigitalItemResponse.md +0 -12
  1467. data/docs/ItemDigitalItemsResponse.md +0 -12
  1468. data/docs/ItemInventorySnapshot.md +0 -13
  1469. data/docs/ItemInventorySnapshotDistributionCenter.md +0 -12
  1470. data/docs/ItemInventorySnapshotResponse.md +0 -12
  1471. data/docs/ItemReview.md +0 -45
  1472. data/docs/ItemReviewResponse.md +0 -12
  1473. data/docs/ItemReviewsResponse.md +0 -12
  1474. data/docs/OrderCurrentStageHistory.md +0 -10
  1475. data/docs/OrderEdiDocument.md +0 -21
  1476. data/docs/OrderEdiDocumentsResponse.md +0 -12
  1477. data/docs/OrderInvoiceResponse.md +0 -12
  1478. data/docs/OrderPaymentCreditCardDualVaulted.md +0 -10
  1479. data/docs/OrderPaymentCreditCardDualVaultedProperty.md +0 -9
  1480. data/docs/OrderPaymentHealthBenefitCard.md +0 -13
  1481. data/docs/OrderPaymentPayPal.md +0 -9
  1482. data/docs/OrderPointOfSale.md +0 -10
  1483. data/docs/OrderReason.md +0 -10
  1484. data/docs/OrderRefundableResponse.md +0 -20
  1485. data/docs/OrderTransactionalMerchantNote.md +0 -11
  1486. data/docs/OrderUtm.md +0 -39
  1487. data/docs/OrderValidationRequest.md +0 -9
  1488. data/docs/OrderValidationResponse.md +0 -10
  1489. data/docs/PointOfSaleLocation.md +0 -17
  1490. data/docs/PointOfSaleReader.md +0 -16
  1491. data/docs/PointOfSaleRegister.md +0 -11
  1492. data/docs/Report.md +0 -18
  1493. data/docs/ReportAuth.md +0 -11
  1494. data/docs/ReportAuthResponse.md +0 -12
  1495. data/docs/ReportDataSet.md +0 -24
  1496. data/docs/ReportDataSetColumn.md +0 -13
  1497. data/docs/ReportDataSetPage.md +0 -17
  1498. data/docs/ReportDataSetPageResponse.md +0 -12
  1499. data/docs/ReportDataSetQuery.md +0 -20
  1500. data/docs/ReportDataSetQueryOrderByColumn.md +0 -9
  1501. data/docs/ReportDataSetResponse.md +0 -12
  1502. data/docs/ReportDataSetRow.md +0 -8
  1503. data/docs/ReportDataSetSchema.md +0 -10
  1504. data/docs/ReportDataSource.md +0 -14
  1505. data/docs/ReportDataSourceSchema.md +0 -11
  1506. data/docs/ReportDryRunQueriesRequest.md +0 -13
  1507. data/docs/ReportDryRunQueriesResponse.md +0 -8
  1508. data/docs/ReportDryRunQueryResult.md +0 -9
  1509. data/docs/ReportExecuteQueriesRequest.md +0 -15
  1510. data/docs/ReportFilter.md +0 -13
  1511. data/docs/ReportFilterConnection.md +0 -10
  1512. data/docs/ReportPage.md +0 -13
  1513. data/docs/ReportPageFilter.md +0 -11
  1514. data/docs/ReportPageVisualization.md +0 -17
  1515. data/docs/ReportPageVisualizationDimension.md +0 -14
  1516. data/docs/ReportPageVisualizationMetric.md +0 -11
  1517. data/docs/ReportResponse.md +0 -12
  1518. data/docs/ReportWebsocketEvent.md +0 -9
  1519. data/docs/ReportsResponse.md +0 -12
  1520. data/docs/RulerValidationRequest.md +0 -8
  1521. data/docs/RulerValidationResponse.md +0 -9
  1522. data/docs/StoreFront.md +0 -18
  1523. data/docs/StoreFrontPageContentAttribute.md +0 -11
  1524. data/docs/StoreFrontsResponse.md +0 -12
  1525. data/docs/WebhookReflow.md +0 -9
  1526. data/docs/WebhookReflowResponse.md +0 -12
  1527. data/docs/WorkflowAgentAuth.md +0 -10
  1528. data/docs/WorkflowAgentAuthResponse.md +0 -12
  1529. data/docs/WorkflowApi.md +0 -620
  1530. data/docs/WorkflowAttachment.md +0 -12
  1531. data/docs/WorkflowAttachmentUploadUrl.md +0 -9
  1532. data/docs/WorkflowAttachmentUploadUrlResponse.md +0 -12
  1533. data/docs/WorkflowGroup.md +0 -9
  1534. data/docs/WorkflowGroupsResponse.md +0 -12
  1535. data/docs/WorkflowNote.md +0 -13
  1536. data/docs/WorkflowTask.md +0 -39
  1537. data/docs/WorkflowTaskHistory.md +0 -11
  1538. data/docs/WorkflowTaskOpenCountResponse.md +0 -12
  1539. data/docs/WorkflowTaskResponse.md +0 -12
  1540. data/docs/WorkflowTaskTagsResponse.md +0 -12
  1541. data/docs/WorkflowTasksRequest.md +0 -27
  1542. data/docs/WorkflowTasksResponse.md +0 -13
  1543. data/docs/WorkflowUser.md +0 -10
  1544. data/docs/WorkflowUserResponse.md +0 -12
  1545. data/docs/WorkflowUsersResponse.md +0 -13
  1546. data/lib/ultracart_api/api/conversation_api.rb +0 -4583
  1547. data/lib/ultracart_api/api/datawarehouse_api.rb +0 -584
  1548. data/lib/ultracart_api/api/workflow_api.rb +0 -693
  1549. data/lib/ultracart_api/models/accounts_receivable_retry_transaction_reject.rb +0 -195
  1550. data/lib/ultracart_api/models/auto_order_addon_item.rb +0 -232
  1551. data/lib/ultracart_api/models/auto_order_addon_item_option.rb +0 -225
  1552. data/lib/ultracart_api/models/auto_order_consolidate.rb +0 -186
  1553. data/lib/ultracart_api/models/auto_order_management.rb +0 -185
  1554. data/lib/ultracart_api/models/cart_item_property.rb +0 -245
  1555. data/lib/ultracart_api/models/cart_payment_health_benefit_card.rb +0 -235
  1556. data/lib/ultracart_api/models/channel_partner.rb +0 -255
  1557. data/lib/ultracart_api/models/channel_partner_ship_to_preference.rb +0 -262
  1558. data/lib/ultracart_api/models/channel_partner_ship_to_preference_response.rb +0 -221
  1559. data/lib/ultracart_api/models/channel_partner_ship_to_preferences_response.rb +0 -224
  1560. data/lib/ultracart_api/models/channel_partners_response.rb +0 -224
  1561. data/lib/ultracart_api/models/conversation.rb +0 -390
  1562. data/lib/ultracart_api/models/conversation_agent_auth.rb +0 -316
  1563. data/lib/ultracart_api/models/conversation_agent_auth_response.rb +0 -221
  1564. data/lib/ultracart_api/models/conversation_agent_profile.rb +0 -279
  1565. data/lib/ultracart_api/models/conversation_agent_profile_response.rb +0 -221
  1566. data/lib/ultracart_api/models/conversation_autocomplete_request.rb +0 -193
  1567. data/lib/ultracart_api/models/conversation_autocomplete_response.rb +0 -241
  1568. data/lib/ultracart_api/models/conversation_autocomplete_value.rb +0 -193
  1569. data/lib/ultracart_api/models/conversation_canned_message.rb +0 -213
  1570. data/lib/ultracart_api/models/conversation_canned_message_response.rb +0 -221
  1571. data/lib/ultracart_api/models/conversation_canned_messages_response.rb +0 -223
  1572. data/lib/ultracart_api/models/conversation_canned_messages_search.rb +0 -193
  1573. data/lib/ultracart_api/models/conversation_department.rb +0 -222
  1574. data/lib/ultracart_api/models/conversation_department_member.rb +0 -202
  1575. data/lib/ultracart_api/models/conversation_department_members_response.rb +0 -223
  1576. data/lib/ultracart_api/models/conversation_department_response.rb +0 -221
  1577. data/lib/ultracart_api/models/conversation_department_settings.rb +0 -175
  1578. data/lib/ultracart_api/models/conversation_departments_response.rb +0 -223
  1579. data/lib/ultracart_api/models/conversation_engagement.rb +0 -293
  1580. data/lib/ultracart_api/models/conversation_engagement_equation.rb +0 -186
  1581. data/lib/ultracart_api/models/conversation_engagement_equation_function.rb +0 -414
  1582. data/lib/ultracart_api/models/conversation_engagement_equation_group.rb +0 -186
  1583. data/lib/ultracart_api/models/conversation_engagement_response.rb +0 -221
  1584. data/lib/ultracart_api/models/conversation_engagements_response.rb +0 -223
  1585. data/lib/ultracart_api/models/conversation_event_add_coupon.rb +0 -202
  1586. data/lib/ultracart_api/models/conversation_event_add_item.rb +0 -204
  1587. data/lib/ultracart_api/models/conversation_event_queue_position.rb +0 -195
  1588. data/lib/ultracart_api/models/conversation_event_read_message.rb +0 -203
  1589. data/lib/ultracart_api/models/conversation_event_rr_web.rb +0 -273
  1590. data/lib/ultracart_api/models/conversation_event_typing.rb +0 -202
  1591. data/lib/ultracart_api/models/conversation_event_webchat_context.rb +0 -202
  1592. data/lib/ultracart_api/models/conversation_join_request.rb +0 -184
  1593. data/lib/ultracart_api/models/conversation_location_country.rb +0 -204
  1594. data/lib/ultracart_api/models/conversation_location_state_province.rb +0 -193
  1595. data/lib/ultracart_api/models/conversation_locations_response.rb +0 -223
  1596. data/lib/ultracart_api/models/conversation_message.rb +0 -356
  1597. data/lib/ultracart_api/models/conversation_message_translation.rb +0 -193
  1598. data/lib/ultracart_api/models/conversation_message_transport_status.rb +0 -228
  1599. data/lib/ultracart_api/models/conversation_messages_response.rb +0 -223
  1600. data/lib/ultracart_api/models/conversation_multimedia_upload_url.rb +0 -193
  1601. data/lib/ultracart_api/models/conversation_multimedia_upload_url_response.rb +0 -221
  1602. data/lib/ultracart_api/models/conversation_participant.rb +0 -295
  1603. data/lib/ultracart_api/models/conversation_pbx_agent.rb +0 -440
  1604. data/lib/ultracart_api/models/conversation_pbx_agent_response.rb +0 -221
  1605. data/lib/ultracart_api/models/conversation_pbx_agents_response.rb +0 -223
  1606. data/lib/ultracart_api/models/conversation_pbx_audio.rb +0 -365
  1607. data/lib/ultracart_api/models/conversation_pbx_audio_response.rb +0 -221
  1608. data/lib/ultracart_api/models/conversation_pbx_audio_upload_url.rb +0 -193
  1609. data/lib/ultracart_api/models/conversation_pbx_audio_upload_url_response.rb +0 -221
  1610. data/lib/ultracart_api/models/conversation_pbx_audios_response.rb +0 -223
  1611. data/lib/ultracart_api/models/conversation_pbx_customer_snapshot_request.rb +0 -248
  1612. data/lib/ultracart_api/models/conversation_pbx_customer_snapshot_response.rb +0 -245
  1613. data/lib/ultracart_api/models/conversation_pbx_menu.rb +0 -416
  1614. data/lib/ultracart_api/models/conversation_pbx_menu_mapping.rb +0 -269
  1615. data/lib/ultracart_api/models/conversation_pbx_menu_response.rb +0 -221
  1616. data/lib/ultracart_api/models/conversation_pbx_menus_response.rb +0 -223
  1617. data/lib/ultracart_api/models/conversation_pbx_phone_number.rb +0 -324
  1618. data/lib/ultracart_api/models/conversation_pbx_phone_number_response.rb +0 -221
  1619. data/lib/ultracart_api/models/conversation_pbx_phone_numbers_response.rb +0 -223
  1620. data/lib/ultracart_api/models/conversation_pbx_queue.rb +0 -534
  1621. data/lib/ultracart_api/models/conversation_pbx_queue_members.rb +0 -197
  1622. data/lib/ultracart_api/models/conversation_pbx_queue_response.rb +0 -221
  1623. data/lib/ultracart_api/models/conversation_pbx_queues_response.rb +0 -223
  1624. data/lib/ultracart_api/models/conversation_pbx_time_based.rb +0 -211
  1625. data/lib/ultracart_api/models/conversation_pbx_time_based_mapping.rb +0 -299
  1626. data/lib/ultracart_api/models/conversation_pbx_time_based_mapping_config.rb +0 -196
  1627. data/lib/ultracart_api/models/conversation_pbx_time_based_response.rb +0 -221
  1628. data/lib/ultracart_api/models/conversation_pbx_time_baseds_response.rb +0 -223
  1629. data/lib/ultracart_api/models/conversation_pbx_time_range.rb +0 -287
  1630. data/lib/ultracart_api/models/conversation_pbx_time_range_config.rb +0 -235
  1631. data/lib/ultracart_api/models/conversation_pbx_time_range_response.rb +0 -221
  1632. data/lib/ultracart_api/models/conversation_pbx_time_ranges_response.rb +0 -223
  1633. data/lib/ultracart_api/models/conversation_pbx_voicemail_mailbox.rb +0 -458
  1634. data/lib/ultracart_api/models/conversation_pbx_voicemail_mailbox_response.rb +0 -221
  1635. data/lib/ultracart_api/models/conversation_pbx_voicemail_mailboxes_response.rb +0 -223
  1636. data/lib/ultracart_api/models/conversation_pbx_voicemail_message.rb +0 -339
  1637. data/lib/ultracart_api/models/conversation_pbx_voicemail_message_response.rb +0 -221
  1638. data/lib/ultracart_api/models/conversation_pbx_voicemail_message_summaries_response.rb +0 -223
  1639. data/lib/ultracart_api/models/conversation_pbx_voicemail_message_summary.rb +0 -309
  1640. data/lib/ultracart_api/models/conversation_permissions.rb +0 -184
  1641. data/lib/ultracart_api/models/conversation_permissions_response.rb +0 -221
  1642. data/lib/ultracart_api/models/conversation_response.rb +0 -221
  1643. data/lib/ultracart_api/models/conversation_search_request.rb +0 -285
  1644. data/lib/ultracart_api/models/conversation_search_response.rb +0 -213
  1645. data/lib/ultracart_api/models/conversation_sentiment.rb +0 -269
  1646. data/lib/ultracart_api/models/conversation_start_request.rb +0 -204
  1647. data/lib/ultracart_api/models/conversation_start_response.rb +0 -184
  1648. data/lib/ultracart_api/models/conversation_summary.rb +0 -369
  1649. data/lib/ultracart_api/models/conversation_twilio_account.rb +0 -195
  1650. data/lib/ultracart_api/models/conversation_webchat_context.rb +0 -254
  1651. data/lib/ultracart_api/models/conversation_webchat_queue_status.rb +0 -315
  1652. data/lib/ultracart_api/models/conversation_webchat_queue_status_agent.rb +0 -266
  1653. data/lib/ultracart_api/models/conversation_webchat_queue_status_queue_entry.rb +0 -248
  1654. data/lib/ultracart_api/models/conversation_webchat_queue_status_update_request.rb +0 -219
  1655. data/lib/ultracart_api/models/conversation_webchat_queue_statuses_response.rb +0 -223
  1656. data/lib/ultracart_api/models/conversation_websocket_message.rb +0 -441
  1657. data/lib/ultracart_api/models/conversations_response.rb +0 -223
  1658. data/lib/ultracart_api/models/coupon_free_item_with_item_purchase_and_free_shipping.rb +0 -219
  1659. data/lib/ultracart_api/models/coupon_more_loyalty_cashback.rb +0 -185
  1660. data/lib/ultracart_api/models/coupon_more_loyalty_points.rb +0 -185
  1661. data/lib/ultracart_api/models/coupon_no_discount.rb +0 -185
  1662. data/lib/ultracart_api/models/coupon_percent_more_loyalty_cashback.rb +0 -185
  1663. data/lib/ultracart_api/models/coupon_percent_more_loyalty_points.rb +0 -185
  1664. data/lib/ultracart_api/models/coupon_tiered_percent_off_subtotal_based_on_msrp.rb +0 -199
  1665. data/lib/ultracart_api/models/customer_edi.rb +0 -205
  1666. data/lib/ultracart_api/models/customer_magic_link_response.rb +0 -222
  1667. data/lib/ultracart_api/models/customer_merge_request.rb +0 -195
  1668. data/lib/ultracart_api/models/customer_property.rb +0 -245
  1669. data/lib/ultracart_api/models/customer_wish_list_item.rb +0 -260
  1670. data/lib/ultracart_api/models/customer_wish_list_item_response.rb +0 -221
  1671. data/lib/ultracart_api/models/email_commseq_sequence_test_request.rb +0 -312
  1672. data/lib/ultracart_api/models/email_commseq_sequence_test_response.rb +0 -212
  1673. data/lib/ultracart_api/models/email_commseq_sms_send_test_request.rb +0 -202
  1674. data/lib/ultracart_api/models/email_commseq_sms_send_test_response.rb +0 -232
  1675. data/lib/ultracart_api/models/email_postcard_tracking.rb +0 -404
  1676. data/lib/ultracart_api/models/email_postcard_tracking_response.rb +0 -221
  1677. data/lib/ultracart_api/models/email_rate_limiter.rb +0 -202
  1678. data/lib/ultracart_api/models/email_rate_limiters_response.rb +0 -223
  1679. data/lib/ultracart_api/models/email_sms_order.rb +0 -214
  1680. data/lib/ultracart_api/models/email_sms_orders_response.rb +0 -223
  1681. data/lib/ultracart_api/models/email_sms_stat.rb +0 -476
  1682. data/lib/ultracart_api/models/email_stat_sms_summary_request.rb +0 -195
  1683. data/lib/ultracart_api/models/email_stat_sms_summary_response.rb +0 -223
  1684. data/lib/ultracart_api/models/file_manager_directory.rb +0 -292
  1685. data/lib/ultracart_api/models/file_manager_file.rb +0 -376
  1686. data/lib/ultracart_api/models/file_manager_page.rb +0 -253
  1687. data/lib/ultracart_api/models/file_manager_page_response.rb +0 -221
  1688. data/lib/ultracart_api/models/file_manager_upload_request.rb +0 -202
  1689. data/lib/ultracart_api/models/file_manager_upload_url_response.rb +0 -230
  1690. data/lib/ultracart_api/models/hit_page_view.rb +0 -276
  1691. data/lib/ultracart_api/models/hit_page_view_meta_data.rb +0 -193
  1692. data/lib/ultracart_api/models/hit_session_start.rb +0 -328
  1693. data/lib/ultracart_api/models/hit_session_utm.rb +0 -310
  1694. data/lib/ultracart_api/models/item_digital_item_pdf_meta.rb +0 -315
  1695. data/lib/ultracart_api/models/item_digital_item_response.rb +0 -221
  1696. data/lib/ultracart_api/models/item_digital_items_response.rb +0 -224
  1697. data/lib/ultracart_api/models/item_inventory_snapshot.rb +0 -231
  1698. data/lib/ultracart_api/models/item_inventory_snapshot_distribution_center.rb +0 -220
  1699. data/lib/ultracart_api/models/item_inventory_snapshot_response.rb +0 -224
  1700. data/lib/ultracart_api/models/item_review.rb +0 -826
  1701. data/lib/ultracart_api/models/item_review_response.rb +0 -221
  1702. data/lib/ultracart_api/models/item_reviews_response.rb +0 -224
  1703. data/lib/ultracart_api/models/order_current_stage_history.rb +0 -251
  1704. data/lib/ultracart_api/models/order_edi_document.rb +0 -337
  1705. data/lib/ultracart_api/models/order_edi_documents_response.rb +0 -224
  1706. data/lib/ultracart_api/models/order_invoice_response.rb +0 -222
  1707. data/lib/ultracart_api/models/order_payment_credit_card_dual_vaulted.rb +0 -204
  1708. data/lib/ultracart_api/models/order_payment_credit_card_dual_vaulted_property.rb +0 -193
  1709. data/lib/ultracart_api/models/order_payment_health_benefit_card.rb +0 -235
  1710. data/lib/ultracart_api/models/order_payment_pay_pal.rb +0 -195
  1711. data/lib/ultracart_api/models/order_point_of_sale.rb +0 -202
  1712. data/lib/ultracart_api/models/order_reason.rb +0 -205
  1713. data/lib/ultracart_api/models/order_refundable_response.rb +0 -310
  1714. data/lib/ultracart_api/models/order_transactional_merchant_note.rb +0 -215
  1715. data/lib/ultracart_api/models/order_utm.rb +0 -464
  1716. data/lib/ultracart_api/models/order_validation_request.rb +0 -196
  1717. data/lib/ultracart_api/models/order_validation_response.rb +0 -209
  1718. data/lib/ultracart_api/models/point_of_sale_location.rb +0 -290
  1719. data/lib/ultracart_api/models/point_of_sale_reader.rb +0 -299
  1720. data/lib/ultracart_api/models/point_of_sale_register.rb +0 -215
  1721. data/lib/ultracart_api/models/report.rb +0 -317
  1722. data/lib/ultracart_api/models/report_auth.rb +0 -212
  1723. data/lib/ultracart_api/models/report_auth_response.rb +0 -221
  1724. data/lib/ultracart_api/models/report_data_set.rb +0 -381
  1725. data/lib/ultracart_api/models/report_data_set_column.rb +0 -229
  1726. data/lib/ultracart_api/models/report_data_set_page.rb +0 -273
  1727. data/lib/ultracart_api/models/report_data_set_page_response.rb +0 -221
  1728. data/lib/ultracart_api/models/report_data_set_query.rb +0 -342
  1729. data/lib/ultracart_api/models/report_data_set_query_order_by_column.rb +0 -193
  1730. data/lib/ultracart_api/models/report_data_set_response.rb +0 -221
  1731. data/lib/ultracart_api/models/report_data_set_row.rb +0 -186
  1732. data/lib/ultracart_api/models/report_data_set_schema.rb +0 -238
  1733. data/lib/ultracart_api/models/report_data_source.rb +0 -242
  1734. data/lib/ultracart_api/models/report_data_source_schema.rb +0 -248
  1735. data/lib/ultracart_api/models/report_dry_run_queries_request.rb +0 -231
  1736. data/lib/ultracart_api/models/report_dry_run_queries_response.rb +0 -186
  1737. data/lib/ultracart_api/models/report_dry_run_query_result.rb +0 -193
  1738. data/lib/ultracart_api/models/report_execute_queries_request.rb +0 -288
  1739. data/lib/ultracart_api/models/report_filter.rb +0 -272
  1740. data/lib/ultracart_api/models/report_filter_connection.rb +0 -203
  1741. data/lib/ultracart_api/models/report_page.rb +0 -237
  1742. data/lib/ultracart_api/models/report_page_filter.rb +0 -214
  1743. data/lib/ultracart_api/models/report_page_visualization.rb +0 -309
  1744. data/lib/ultracart_api/models/report_page_visualization_dimension.rb +0 -244
  1745. data/lib/ultracart_api/models/report_page_visualization_metric.rb +0 -248
  1746. data/lib/ultracart_api/models/report_response.rb +0 -221
  1747. data/lib/ultracart_api/models/report_websocket_event.rb +0 -228
  1748. data/lib/ultracart_api/models/reports_response.rb +0 -223
  1749. data/lib/ultracart_api/models/ruler_validation_request.rb +0 -184
  1750. data/lib/ultracart_api/models/ruler_validation_response.rb +0 -193
  1751. data/lib/ultracart_api/models/store_front.rb +0 -274
  1752. data/lib/ultracart_api/models/store_front_page_content_attribute.rb +0 -245
  1753. data/lib/ultracart_api/models/store_fronts_response.rb +0 -223
  1754. data/lib/ultracart_api/models/webhook_reflow.rb +0 -193
  1755. data/lib/ultracart_api/models/webhook_reflow_response.rb +0 -221
  1756. data/lib/ultracart_api/models/workflow_agent_auth.rb +0 -202
  1757. data/lib/ultracart_api/models/workflow_agent_auth_response.rb +0 -221
  1758. data/lib/ultracart_api/models/workflow_attachment.rb +0 -225
  1759. data/lib/ultracart_api/models/workflow_attachment_upload_url.rb +0 -193
  1760. data/lib/ultracart_api/models/workflow_attachment_upload_url_response.rb +0 -221
  1761. data/lib/ultracart_api/models/workflow_group.rb +0 -195
  1762. data/lib/ultracart_api/models/workflow_groups_response.rb +0 -224
  1763. data/lib/ultracart_api/models/workflow_note.rb +0 -236
  1764. data/lib/ultracart_api/models/workflow_task.rb +0 -574
  1765. data/lib/ultracart_api/models/workflow_task_history.rb +0 -214
  1766. data/lib/ultracart_api/models/workflow_task_open_count_response.rb +0 -222
  1767. data/lib/ultracart_api/models/workflow_task_response.rb +0 -221
  1768. data/lib/ultracart_api/models/workflow_task_tags_response.rb +0 -224
  1769. data/lib/ultracart_api/models/workflow_tasks_request.rb +0 -434
  1770. data/lib/ultracart_api/models/workflow_tasks_response.rb +0 -234
  1771. data/lib/ultracart_api/models/workflow_user.rb +0 -205
  1772. data/lib/ultracart_api/models/workflow_user_response.rb +0 -221
  1773. data/lib/ultracart_api/models/workflow_users_response.rb +0 -234
@@ -1,1254 +1,1289 @@
1
- =begin
2
- #UltraCart Rest API V2
3
-
4
- #UltraCart REST API Version 2
5
-
6
- OpenAPI spec version: 2.0.0
7
- Contact: support@ultracart.com
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.15-SNAPSHOT
10
-
11
- =end
12
-
13
- require 'date'
14
-
15
- module UltracartClient
16
- class ItemGoogleProductSearch
17
- # Adwords grouping
18
- attr_accessor :adwords_grouping
19
-
20
- # Adwords label 1
21
- attr_accessor :adwords_label1
22
-
23
- # Adwords label 2
24
- attr_accessor :adwords_label2
25
-
26
- # Adwords label 3
27
- attr_accessor :adwords_label3
28
-
29
- # Adwords label 4
30
- attr_accessor :adwords_label4
31
-
32
- # Adwords label 5
33
- attr_accessor :adwords_label5
34
-
35
- # Age group
36
- attr_accessor :age_group
37
-
38
- # Available at physical store
39
- attr_accessor :available_at_physical_store
40
-
41
- # Book - author
42
- attr_accessor :book_author
43
-
44
- # Book - format
45
- attr_accessor :book_format
46
-
47
- # Bood - ISBN
48
- attr_accessor :book_isbn
49
-
50
- # Book - publisher
51
- attr_accessor :book_publisher
52
-
53
- # Category description
54
- attr_accessor :category_description
55
-
56
- # Color
57
- attr_accessor :color
58
-
59
- # Condition
60
- attr_accessor :condition
61
-
62
- # Custom label 0
63
- attr_accessor :custom_label0
64
-
65
- # Custom label 1
66
- attr_accessor :custom_label1
67
-
68
- # Custom label 2
69
- attr_accessor :custom_label2
70
-
71
- # Custom label 3
72
- attr_accessor :custom_label3
73
-
74
- # Custom label 4
75
- attr_accessor :custom_label4
76
-
77
- # Gender
78
- attr_accessor :gender
79
-
80
- # Google product category
81
- attr_accessor :google_product_category
82
-
83
- # Music - artist
84
- attr_accessor :music_artist
85
-
86
- # Music - format
87
- attr_accessor :music_format
88
-
89
- # Music - release date
90
- attr_accessor :music_release_date
91
-
92
- # Omit from feed
93
- attr_accessor :omit_from_feed
94
-
95
- # Product type
96
- attr_accessor :product_type
97
-
98
- # Promotion ID 1
99
- attr_accessor :promotion_id1
100
-
101
- # Promotion ID 10
102
- attr_accessor :promotion_id10
103
-
104
- # Promotion ID 2
105
- attr_accessor :promotion_id2
106
-
107
- # Promotion ID 3
108
- attr_accessor :promotion_id3
109
-
110
- # Promotion ID 4
111
- attr_accessor :promotion_id4
112
-
113
- # Promotion ID 5
114
- attr_accessor :promotion_id5
115
-
116
- # Promotion ID 6
117
- attr_accessor :promotion_id6
118
-
119
- # Promotion ID 7
120
- attr_accessor :promotion_id7
121
-
122
- # Promotion ID 8
123
- attr_accessor :promotion_id8
124
-
125
- # Promotion ID 9
126
- attr_accessor :promotion_id9
127
-
128
- # Search date/time
129
- attr_accessor :search_dts
130
-
131
- # Search lowest price
132
- attr_accessor :search_lowest_price
133
-
134
- # Search lowest URL
135
- attr_accessor :search_lowest_url
136
-
137
- # Search position
138
- attr_accessor :search_position
139
-
140
- attr_accessor :shipping_label
141
-
142
- # Size
143
- attr_accessor :size
144
-
145
- # Video - director
146
- attr_accessor :video_director
147
-
148
- # Video - format
149
- attr_accessor :video_format
150
-
151
- # Video - rating
152
- attr_accessor :video_rating
153
-
154
- # Video - release date
155
- attr_accessor :video_release_date
156
-
157
- # Video - starring
158
- attr_accessor :video_starring
159
-
160
- # Attribute mapping from ruby-style variable name to JSON key.
161
- def self.attribute_map
162
- {
163
- :'adwords_grouping' => :'adwords_grouping',
164
- :'adwords_label1' => :'adwords_label1',
165
- :'adwords_label2' => :'adwords_label2',
166
- :'adwords_label3' => :'adwords_label3',
167
- :'adwords_label4' => :'adwords_label4',
168
- :'adwords_label5' => :'adwords_label5',
169
- :'age_group' => :'age_group',
170
- :'available_at_physical_store' => :'available_at_physical_store',
171
- :'book_author' => :'book_author',
172
- :'book_format' => :'book_format',
173
- :'book_isbn' => :'book_isbn',
174
- :'book_publisher' => :'book_publisher',
175
- :'category_description' => :'category_description',
176
- :'color' => :'color',
177
- :'condition' => :'condition',
178
- :'custom_label0' => :'custom_label0',
179
- :'custom_label1' => :'custom_label1',
180
- :'custom_label2' => :'custom_label2',
181
- :'custom_label3' => :'custom_label3',
182
- :'custom_label4' => :'custom_label4',
183
- :'gender' => :'gender',
184
- :'google_product_category' => :'google_product_category',
185
- :'music_artist' => :'music_artist',
186
- :'music_format' => :'music_format',
187
- :'music_release_date' => :'music_release_date',
188
- :'omit_from_feed' => :'omit_from_feed',
189
- :'product_type' => :'product_type',
190
- :'promotion_id1' => :'promotion_id1',
191
- :'promotion_id10' => :'promotion_id10',
192
- :'promotion_id2' => :'promotion_id2',
193
- :'promotion_id3' => :'promotion_id3',
194
- :'promotion_id4' => :'promotion_id4',
195
- :'promotion_id5' => :'promotion_id5',
196
- :'promotion_id6' => :'promotion_id6',
197
- :'promotion_id7' => :'promotion_id7',
198
- :'promotion_id8' => :'promotion_id8',
199
- :'promotion_id9' => :'promotion_id9',
200
- :'search_dts' => :'search_dts',
201
- :'search_lowest_price' => :'search_lowest_price',
202
- :'search_lowest_url' => :'search_lowest_url',
203
- :'search_position' => :'search_position',
204
- :'shipping_label' => :'shippingLabel',
205
- :'size' => :'size',
206
- :'video_director' => :'video_director',
207
- :'video_format' => :'video_format',
208
- :'video_rating' => :'video_rating',
209
- :'video_release_date' => :'video_release_date',
210
- :'video_starring' => :'video_starring'
211
- }
212
- end
213
-
214
- # Attribute type mapping.
215
- def self.swagger_types
216
- {
217
- :'adwords_grouping' => :'String',
218
- :'adwords_label1' => :'String',
219
- :'adwords_label2' => :'String',
220
- :'adwords_label3' => :'String',
221
- :'adwords_label4' => :'String',
222
- :'adwords_label5' => :'String',
223
- :'age_group' => :'String',
224
- :'available_at_physical_store' => :'BOOLEAN',
225
- :'book_author' => :'String',
226
- :'book_format' => :'String',
227
- :'book_isbn' => :'String',
228
- :'book_publisher' => :'String',
229
- :'category_description' => :'String',
230
- :'color' => :'String',
231
- :'condition' => :'String',
232
- :'custom_label0' => :'String',
233
- :'custom_label1' => :'String',
234
- :'custom_label2' => :'String',
235
- :'custom_label3' => :'String',
236
- :'custom_label4' => :'String',
237
- :'gender' => :'String',
238
- :'google_product_category' => :'String',
239
- :'music_artist' => :'String',
240
- :'music_format' => :'String',
241
- :'music_release_date' => :'String',
242
- :'omit_from_feed' => :'BOOLEAN',
243
- :'product_type' => :'String',
244
- :'promotion_id1' => :'String',
245
- :'promotion_id10' => :'String',
246
- :'promotion_id2' => :'String',
247
- :'promotion_id3' => :'String',
248
- :'promotion_id4' => :'String',
249
- :'promotion_id5' => :'String',
250
- :'promotion_id6' => :'String',
251
- :'promotion_id7' => :'String',
252
- :'promotion_id8' => :'String',
253
- :'promotion_id9' => :'String',
254
- :'search_dts' => :'String',
255
- :'search_lowest_price' => :'Float',
256
- :'search_lowest_url' => :'String',
257
- :'search_position' => :'Integer',
258
- :'shipping_label' => :'String',
259
- :'size' => :'String',
260
- :'video_director' => :'String',
261
- :'video_format' => :'String',
262
- :'video_rating' => :'String',
263
- :'video_release_date' => :'String',
264
- :'video_starring' => :'String'
265
- }
266
- end
267
-
268
- # Initializes the object
269
- # @param [Hash] attributes Model attributes in the form of hash
270
- def initialize(attributes = {})
271
- return unless attributes.is_a?(Hash)
272
-
273
- # convert string to symbol for hash key
274
- attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
275
-
276
- if attributes.has_key?(:'adwords_grouping')
277
- self.adwords_grouping = attributes[:'adwords_grouping']
278
- end
279
-
280
- if attributes.has_key?(:'adwords_label1')
281
- self.adwords_label1 = attributes[:'adwords_label1']
282
- end
283
-
284
- if attributes.has_key?(:'adwords_label2')
285
- self.adwords_label2 = attributes[:'adwords_label2']
286
- end
287
-
288
- if attributes.has_key?(:'adwords_label3')
289
- self.adwords_label3 = attributes[:'adwords_label3']
290
- end
291
-
292
- if attributes.has_key?(:'adwords_label4')
293
- self.adwords_label4 = attributes[:'adwords_label4']
294
- end
295
-
296
- if attributes.has_key?(:'adwords_label5')
297
- self.adwords_label5 = attributes[:'adwords_label5']
298
- end
299
-
300
- if attributes.has_key?(:'age_group')
301
- self.age_group = attributes[:'age_group']
302
- end
303
-
304
- if attributes.has_key?(:'available_at_physical_store')
305
- self.available_at_physical_store = attributes[:'available_at_physical_store']
306
- end
307
-
308
- if attributes.has_key?(:'book_author')
309
- self.book_author = attributes[:'book_author']
310
- end
311
-
312
- if attributes.has_key?(:'book_format')
313
- self.book_format = attributes[:'book_format']
314
- end
315
-
316
- if attributes.has_key?(:'book_isbn')
317
- self.book_isbn = attributes[:'book_isbn']
318
- end
319
-
320
- if attributes.has_key?(:'book_publisher')
321
- self.book_publisher = attributes[:'book_publisher']
322
- end
323
-
324
- if attributes.has_key?(:'category_description')
325
- self.category_description = attributes[:'category_description']
326
- end
327
-
328
- if attributes.has_key?(:'color')
329
- self.color = attributes[:'color']
330
- end
331
-
332
- if attributes.has_key?(:'condition')
333
- self.condition = attributes[:'condition']
334
- end
335
-
336
- if attributes.has_key?(:'custom_label0')
337
- self.custom_label0 = attributes[:'custom_label0']
338
- end
339
-
340
- if attributes.has_key?(:'custom_label1')
341
- self.custom_label1 = attributes[:'custom_label1']
342
- end
343
-
344
- if attributes.has_key?(:'custom_label2')
345
- self.custom_label2 = attributes[:'custom_label2']
346
- end
347
-
348
- if attributes.has_key?(:'custom_label3')
349
- self.custom_label3 = attributes[:'custom_label3']
350
- end
351
-
352
- if attributes.has_key?(:'custom_label4')
353
- self.custom_label4 = attributes[:'custom_label4']
354
- end
355
-
356
- if attributes.has_key?(:'gender')
357
- self.gender = attributes[:'gender']
358
- end
359
-
360
- if attributes.has_key?(:'google_product_category')
361
- self.google_product_category = attributes[:'google_product_category']
362
- end
363
-
364
- if attributes.has_key?(:'music_artist')
365
- self.music_artist = attributes[:'music_artist']
366
- end
367
-
368
- if attributes.has_key?(:'music_format')
369
- self.music_format = attributes[:'music_format']
370
- end
371
-
372
- if attributes.has_key?(:'music_release_date')
373
- self.music_release_date = attributes[:'music_release_date']
374
- end
375
-
376
- if attributes.has_key?(:'omit_from_feed')
377
- self.omit_from_feed = attributes[:'omit_from_feed']
378
- end
379
-
380
- if attributes.has_key?(:'product_type')
381
- self.product_type = attributes[:'product_type']
382
- end
383
-
384
- if attributes.has_key?(:'promotion_id1')
385
- self.promotion_id1 = attributes[:'promotion_id1']
386
- end
387
-
388
- if attributes.has_key?(:'promotion_id10')
389
- self.promotion_id10 = attributes[:'promotion_id10']
390
- end
391
-
392
- if attributes.has_key?(:'promotion_id2')
393
- self.promotion_id2 = attributes[:'promotion_id2']
394
- end
395
-
396
- if attributes.has_key?(:'promotion_id3')
397
- self.promotion_id3 = attributes[:'promotion_id3']
398
- end
399
-
400
- if attributes.has_key?(:'promotion_id4')
401
- self.promotion_id4 = attributes[:'promotion_id4']
402
- end
403
-
404
- if attributes.has_key?(:'promotion_id5')
405
- self.promotion_id5 = attributes[:'promotion_id5']
406
- end
407
-
408
- if attributes.has_key?(:'promotion_id6')
409
- self.promotion_id6 = attributes[:'promotion_id6']
410
- end
411
-
412
- if attributes.has_key?(:'promotion_id7')
413
- self.promotion_id7 = attributes[:'promotion_id7']
414
- end
415
-
416
- if attributes.has_key?(:'promotion_id8')
417
- self.promotion_id8 = attributes[:'promotion_id8']
418
- end
419
-
420
- if attributes.has_key?(:'promotion_id9')
421
- self.promotion_id9 = attributes[:'promotion_id9']
422
- end
423
-
424
- if attributes.has_key?(:'search_dts')
425
- self.search_dts = attributes[:'search_dts']
426
- end
427
-
428
- if attributes.has_key?(:'search_lowest_price')
429
- self.search_lowest_price = attributes[:'search_lowest_price']
430
- end
431
-
432
- if attributes.has_key?(:'search_lowest_url')
433
- self.search_lowest_url = attributes[:'search_lowest_url']
434
- end
435
-
436
- if attributes.has_key?(:'search_position')
437
- self.search_position = attributes[:'search_position']
438
- end
439
-
440
- if attributes.has_key?(:'shippingLabel')
441
- self.shipping_label = attributes[:'shippingLabel']
442
- end
443
-
444
- if attributes.has_key?(:'size')
445
- self.size = attributes[:'size']
446
- end
447
-
448
- if attributes.has_key?(:'video_director')
449
- self.video_director = attributes[:'video_director']
450
- end
451
-
452
- if attributes.has_key?(:'video_format')
453
- self.video_format = attributes[:'video_format']
454
- end
455
-
456
- if attributes.has_key?(:'video_rating')
457
- self.video_rating = attributes[:'video_rating']
458
- end
459
-
460
- if attributes.has_key?(:'video_release_date')
461
- self.video_release_date = attributes[:'video_release_date']
462
- end
463
-
464
- if attributes.has_key?(:'video_starring')
465
- self.video_starring = attributes[:'video_starring']
466
- end
467
- end
468
-
469
- # Show invalid properties with the reasons. Usually used together with valid?
470
- # @return Array for valid properties with the reasons
471
- def list_invalid_properties
472
- invalid_properties = Array.new
473
- if !@adwords_grouping.nil? && @adwords_grouping.to_s.length > 50
474
- invalid_properties.push('invalid value for "adwords_grouping", the character length must be smaller than or equal to 50.')
475
- end
476
-
477
- if !@adwords_label1.nil? && @adwords_label1.to_s.length > 50
478
- invalid_properties.push('invalid value for "adwords_label1", the character length must be smaller than or equal to 50.')
479
- end
480
-
481
- if !@adwords_label2.nil? && @adwords_label2.to_s.length > 50
482
- invalid_properties.push('invalid value for "adwords_label2", the character length must be smaller than or equal to 50.')
483
- end
484
-
485
- if !@adwords_label3.nil? && @adwords_label3.to_s.length > 50
486
- invalid_properties.push('invalid value for "adwords_label3", the character length must be smaller than or equal to 50.')
487
- end
488
-
489
- if !@adwords_label4.nil? && @adwords_label4.to_s.length > 50
490
- invalid_properties.push('invalid value for "adwords_label4", the character length must be smaller than or equal to 50.')
491
- end
492
-
493
- if !@adwords_label5.nil? && @adwords_label5.to_s.length > 50
494
- invalid_properties.push('invalid value for "adwords_label5", the character length must be smaller than or equal to 50.')
495
- end
496
-
497
- if !@age_group.nil? && @age_group.to_s.length > 5
498
- invalid_properties.push('invalid value for "age_group", the character length must be smaller than or equal to 5.')
499
- end
500
-
501
- if !@book_author.nil? && @book_author.to_s.length > 50
502
- invalid_properties.push('invalid value for "book_author", the character length must be smaller than or equal to 50.')
503
- end
504
-
505
- if !@book_format.nil? && @book_format.to_s.length > 50
506
- invalid_properties.push('invalid value for "book_format", the character length must be smaller than or equal to 50.')
507
- end
508
-
509
- if !@book_isbn.nil? && @book_isbn.to_s.length > 20
510
- invalid_properties.push('invalid value for "book_isbn", the character length must be smaller than or equal to 20.')
511
- end
512
-
513
- if !@book_publisher.nil? && @book_publisher.to_s.length > 50
514
- invalid_properties.push('invalid value for "book_publisher", the character length must be smaller than or equal to 50.')
515
- end
516
-
517
- if !@category_description.nil? && @category_description.to_s.length > 1000
518
- invalid_properties.push('invalid value for "category_description", the character length must be smaller than or equal to 1000.')
519
- end
520
-
521
- if !@color.nil? && @color.to_s.length > 100
522
- invalid_properties.push('invalid value for "color", the character length must be smaller than or equal to 100.')
523
- end
524
-
525
- if !@condition.nil? && @condition.to_s.length > 15
526
- invalid_properties.push('invalid value for "condition", the character length must be smaller than or equal to 15.')
527
- end
528
-
529
- if !@custom_label0.nil? && @custom_label0.to_s.length > 50
530
- invalid_properties.push('invalid value for "custom_label0", the character length must be smaller than or equal to 50.')
531
- end
532
-
533
- if !@custom_label1.nil? && @custom_label1.to_s.length > 50
534
- invalid_properties.push('invalid value for "custom_label1", the character length must be smaller than or equal to 50.')
535
- end
536
-
537
- if !@custom_label2.nil? && @custom_label2.to_s.length > 50
538
- invalid_properties.push('invalid value for "custom_label2", the character length must be smaller than or equal to 50.')
539
- end
540
-
541
- if !@custom_label3.nil? && @custom_label3.to_s.length > 50
542
- invalid_properties.push('invalid value for "custom_label3", the character length must be smaller than or equal to 50.')
543
- end
544
-
545
- if !@custom_label4.nil? && @custom_label4.to_s.length > 50
546
- invalid_properties.push('invalid value for "custom_label4", the character length must be smaller than or equal to 50.')
547
- end
548
-
549
- if !@gender.nil? && @gender.to_s.length > 6
550
- invalid_properties.push('invalid value for "gender", the character length must be smaller than or equal to 6.')
551
- end
552
-
553
- if !@google_product_category.nil? && @google_product_category.to_s.length > 250
554
- invalid_properties.push('invalid value for "google_product_category", the character length must be smaller than or equal to 250.')
555
- end
556
-
557
- if !@music_artist.nil? && @music_artist.to_s.length > 50
558
- invalid_properties.push('invalid value for "music_artist", the character length must be smaller than or equal to 50.')
559
- end
560
-
561
- if !@music_format.nil? && @music_format.to_s.length > 5
562
- invalid_properties.push('invalid value for "music_format", the character length must be smaller than or equal to 5.')
563
- end
564
-
565
- if !@product_type.nil? && @product_type.to_s.length > 10
566
- invalid_properties.push('invalid value for "product_type", the character length must be smaller than or equal to 10.')
567
- end
568
-
569
- if !@promotion_id1.nil? && @promotion_id1.to_s.length > 30
570
- invalid_properties.push('invalid value for "promotion_id1", the character length must be smaller than or equal to 30.')
571
- end
572
-
573
- if !@promotion_id10.nil? && @promotion_id10.to_s.length > 30
574
- invalid_properties.push('invalid value for "promotion_id10", the character length must be smaller than or equal to 30.')
575
- end
576
-
577
- if !@promotion_id2.nil? && @promotion_id2.to_s.length > 30
578
- invalid_properties.push('invalid value for "promotion_id2", the character length must be smaller than or equal to 30.')
579
- end
580
-
581
- if !@promotion_id3.nil? && @promotion_id3.to_s.length > 30
582
- invalid_properties.push('invalid value for "promotion_id3", the character length must be smaller than or equal to 30.')
583
- end
584
-
585
- if !@promotion_id4.nil? && @promotion_id4.to_s.length > 30
586
- invalid_properties.push('invalid value for "promotion_id4", the character length must be smaller than or equal to 30.')
587
- end
588
-
589
- if !@promotion_id5.nil? && @promotion_id5.to_s.length > 30
590
- invalid_properties.push('invalid value for "promotion_id5", the character length must be smaller than or equal to 30.')
591
- end
592
-
593
- if !@promotion_id6.nil? && @promotion_id6.to_s.length > 30
594
- invalid_properties.push('invalid value for "promotion_id6", the character length must be smaller than or equal to 30.')
595
- end
596
-
597
- if !@promotion_id7.nil? && @promotion_id7.to_s.length > 30
598
- invalid_properties.push('invalid value for "promotion_id7", the character length must be smaller than or equal to 30.')
599
- end
600
-
601
- if !@promotion_id8.nil? && @promotion_id8.to_s.length > 30
602
- invalid_properties.push('invalid value for "promotion_id8", the character length must be smaller than or equal to 30.')
603
- end
604
-
605
- if !@promotion_id9.nil? && @promotion_id9.to_s.length > 30
606
- invalid_properties.push('invalid value for "promotion_id9", the character length must be smaller than or equal to 30.')
607
- end
608
-
609
- if !@search_lowest_url.nil? && @search_lowest_url.to_s.length > 250
610
- invalid_properties.push('invalid value for "search_lowest_url", the character length must be smaller than or equal to 250.')
611
- end
612
-
613
- if !@size.nil? && @size.to_s.length > 20
614
- invalid_properties.push('invalid value for "size", the character length must be smaller than or equal to 20.')
615
- end
616
-
617
- if !@video_director.nil? && @video_director.to_s.length > 50
618
- invalid_properties.push('invalid value for "video_director", the character length must be smaller than or equal to 50.')
619
- end
620
-
621
- if !@video_format.nil? && @video_format.to_s.length > 5
622
- invalid_properties.push('invalid value for "video_format", the character length must be smaller than or equal to 5.')
623
- end
624
-
625
- if !@video_rating.nil? && @video_rating.to_s.length > 5
626
- invalid_properties.push('invalid value for "video_rating", the character length must be smaller than or equal to 5.')
627
- end
628
-
629
- if !@video_starring.nil? && @video_starring.to_s.length > 150
630
- invalid_properties.push('invalid value for "video_starring", the character length must be smaller than or equal to 150.')
631
- end
632
-
633
- invalid_properties
634
- end
635
-
636
- # Check to see if the all the properties in the model are valid
637
- # @return true if the model is valid
638
- def valid?
639
- return false if !@adwords_grouping.nil? && @adwords_grouping.to_s.length > 50
640
- return false if !@adwords_label1.nil? && @adwords_label1.to_s.length > 50
641
- return false if !@adwords_label2.nil? && @adwords_label2.to_s.length > 50
642
- return false if !@adwords_label3.nil? && @adwords_label3.to_s.length > 50
643
- return false if !@adwords_label4.nil? && @adwords_label4.to_s.length > 50
644
- return false if !@adwords_label5.nil? && @adwords_label5.to_s.length > 50
645
- return false if !@age_group.nil? && @age_group.to_s.length > 5
646
- return false if !@book_author.nil? && @book_author.to_s.length > 50
647
- return false if !@book_format.nil? && @book_format.to_s.length > 50
648
- return false if !@book_isbn.nil? && @book_isbn.to_s.length > 20
649
- return false if !@book_publisher.nil? && @book_publisher.to_s.length > 50
650
- return false if !@category_description.nil? && @category_description.to_s.length > 1000
651
- return false if !@color.nil? && @color.to_s.length > 100
652
- return false if !@condition.nil? && @condition.to_s.length > 15
653
- return false if !@custom_label0.nil? && @custom_label0.to_s.length > 50
654
- return false if !@custom_label1.nil? && @custom_label1.to_s.length > 50
655
- return false if !@custom_label2.nil? && @custom_label2.to_s.length > 50
656
- return false if !@custom_label3.nil? && @custom_label3.to_s.length > 50
657
- return false if !@custom_label4.nil? && @custom_label4.to_s.length > 50
658
- return false if !@gender.nil? && @gender.to_s.length > 6
659
- return false if !@google_product_category.nil? && @google_product_category.to_s.length > 250
660
- return false if !@music_artist.nil? && @music_artist.to_s.length > 50
661
- return false if !@music_format.nil? && @music_format.to_s.length > 5
662
- return false if !@product_type.nil? && @product_type.to_s.length > 10
663
- return false if !@promotion_id1.nil? && @promotion_id1.to_s.length > 30
664
- return false if !@promotion_id10.nil? && @promotion_id10.to_s.length > 30
665
- return false if !@promotion_id2.nil? && @promotion_id2.to_s.length > 30
666
- return false if !@promotion_id3.nil? && @promotion_id3.to_s.length > 30
667
- return false if !@promotion_id4.nil? && @promotion_id4.to_s.length > 30
668
- return false if !@promotion_id5.nil? && @promotion_id5.to_s.length > 30
669
- return false if !@promotion_id6.nil? && @promotion_id6.to_s.length > 30
670
- return false if !@promotion_id7.nil? && @promotion_id7.to_s.length > 30
671
- return false if !@promotion_id8.nil? && @promotion_id8.to_s.length > 30
672
- return false if !@promotion_id9.nil? && @promotion_id9.to_s.length > 30
673
- return false if !@search_lowest_url.nil? && @search_lowest_url.to_s.length > 250
674
- return false if !@size.nil? && @size.to_s.length > 20
675
- return false if !@video_director.nil? && @video_director.to_s.length > 50
676
- return false if !@video_format.nil? && @video_format.to_s.length > 5
677
- return false if !@video_rating.nil? && @video_rating.to_s.length > 5
678
- return false if !@video_starring.nil? && @video_starring.to_s.length > 150
679
- true
680
- end
681
-
682
- # Custom attribute writer method with validation
683
- # @param [Object] adwords_grouping Value to be assigned
684
- def adwords_grouping=(adwords_grouping)
685
- if !adwords_grouping.nil? && adwords_grouping.to_s.length > 50
686
- fail ArgumentError, 'invalid value for "adwords_grouping", the character length must be smaller than or equal to 50.'
687
- end
688
-
689
- @adwords_grouping = adwords_grouping
690
- end
691
-
692
- # Custom attribute writer method with validation
693
- # @param [Object] adwords_label1 Value to be assigned
694
- def adwords_label1=(adwords_label1)
695
- if !adwords_label1.nil? && adwords_label1.to_s.length > 50
696
- fail ArgumentError, 'invalid value for "adwords_label1", the character length must be smaller than or equal to 50.'
697
- end
698
-
699
- @adwords_label1 = adwords_label1
700
- end
701
-
702
- # Custom attribute writer method with validation
703
- # @param [Object] adwords_label2 Value to be assigned
704
- def adwords_label2=(adwords_label2)
705
- if !adwords_label2.nil? && adwords_label2.to_s.length > 50
706
- fail ArgumentError, 'invalid value for "adwords_label2", the character length must be smaller than or equal to 50.'
707
- end
708
-
709
- @adwords_label2 = adwords_label2
710
- end
711
-
712
- # Custom attribute writer method with validation
713
- # @param [Object] adwords_label3 Value to be assigned
714
- def adwords_label3=(adwords_label3)
715
- if !adwords_label3.nil? && adwords_label3.to_s.length > 50
716
- fail ArgumentError, 'invalid value for "adwords_label3", the character length must be smaller than or equal to 50.'
717
- end
718
-
719
- @adwords_label3 = adwords_label3
720
- end
721
-
722
- # Custom attribute writer method with validation
723
- # @param [Object] adwords_label4 Value to be assigned
724
- def adwords_label4=(adwords_label4)
725
- if !adwords_label4.nil? && adwords_label4.to_s.length > 50
726
- fail ArgumentError, 'invalid value for "adwords_label4", the character length must be smaller than or equal to 50.'
727
- end
728
-
729
- @adwords_label4 = adwords_label4
730
- end
731
-
732
- # Custom attribute writer method with validation
733
- # @param [Object] adwords_label5 Value to be assigned
734
- def adwords_label5=(adwords_label5)
735
- if !adwords_label5.nil? && adwords_label5.to_s.length > 50
736
- fail ArgumentError, 'invalid value for "adwords_label5", the character length must be smaller than or equal to 50.'
737
- end
738
-
739
- @adwords_label5 = adwords_label5
740
- end
741
-
742
- # Custom attribute writer method with validation
743
- # @param [Object] age_group Value to be assigned
744
- def age_group=(age_group)
745
- if !age_group.nil? && age_group.to_s.length > 5
746
- fail ArgumentError, 'invalid value for "age_group", the character length must be smaller than or equal to 5.'
747
- end
748
-
749
- @age_group = age_group
750
- end
751
-
752
- # Custom attribute writer method with validation
753
- # @param [Object] book_author Value to be assigned
754
- def book_author=(book_author)
755
- if !book_author.nil? && book_author.to_s.length > 50
756
- fail ArgumentError, 'invalid value for "book_author", the character length must be smaller than or equal to 50.'
757
- end
758
-
759
- @book_author = book_author
760
- end
761
-
762
- # Custom attribute writer method with validation
763
- # @param [Object] book_format Value to be assigned
764
- def book_format=(book_format)
765
- if !book_format.nil? && book_format.to_s.length > 50
766
- fail ArgumentError, 'invalid value for "book_format", the character length must be smaller than or equal to 50.'
767
- end
768
-
769
- @book_format = book_format
770
- end
771
-
772
- # Custom attribute writer method with validation
773
- # @param [Object] book_isbn Value to be assigned
774
- def book_isbn=(book_isbn)
775
- if !book_isbn.nil? && book_isbn.to_s.length > 20
776
- fail ArgumentError, 'invalid value for "book_isbn", the character length must be smaller than or equal to 20.'
777
- end
778
-
779
- @book_isbn = book_isbn
780
- end
781
-
782
- # Custom attribute writer method with validation
783
- # @param [Object] book_publisher Value to be assigned
784
- def book_publisher=(book_publisher)
785
- if !book_publisher.nil? && book_publisher.to_s.length > 50
786
- fail ArgumentError, 'invalid value for "book_publisher", the character length must be smaller than or equal to 50.'
787
- end
788
-
789
- @book_publisher = book_publisher
790
- end
791
-
792
- # Custom attribute writer method with validation
793
- # @param [Object] category_description Value to be assigned
794
- def category_description=(category_description)
795
- if !category_description.nil? && category_description.to_s.length > 1000
796
- fail ArgumentError, 'invalid value for "category_description", the character length must be smaller than or equal to 1000.'
797
- end
798
-
799
- @category_description = category_description
800
- end
801
-
802
- # Custom attribute writer method with validation
803
- # @param [Object] color Value to be assigned
804
- def color=(color)
805
- if !color.nil? && color.to_s.length > 100
806
- fail ArgumentError, 'invalid value for "color", the character length must be smaller than or equal to 100.'
807
- end
808
-
809
- @color = color
810
- end
811
-
812
- # Custom attribute writer method with validation
813
- # @param [Object] condition Value to be assigned
814
- def condition=(condition)
815
- if !condition.nil? && condition.to_s.length > 15
816
- fail ArgumentError, 'invalid value for "condition", the character length must be smaller than or equal to 15.'
817
- end
818
-
819
- @condition = condition
820
- end
821
-
822
- # Custom attribute writer method with validation
823
- # @param [Object] custom_label0 Value to be assigned
824
- def custom_label0=(custom_label0)
825
- if !custom_label0.nil? && custom_label0.to_s.length > 50
826
- fail ArgumentError, 'invalid value for "custom_label0", the character length must be smaller than or equal to 50.'
827
- end
828
-
829
- @custom_label0 = custom_label0
830
- end
831
-
832
- # Custom attribute writer method with validation
833
- # @param [Object] custom_label1 Value to be assigned
834
- def custom_label1=(custom_label1)
835
- if !custom_label1.nil? && custom_label1.to_s.length > 50
836
- fail ArgumentError, 'invalid value for "custom_label1", the character length must be smaller than or equal to 50.'
837
- end
838
-
839
- @custom_label1 = custom_label1
840
- end
841
-
842
- # Custom attribute writer method with validation
843
- # @param [Object] custom_label2 Value to be assigned
844
- def custom_label2=(custom_label2)
845
- if !custom_label2.nil? && custom_label2.to_s.length > 50
846
- fail ArgumentError, 'invalid value for "custom_label2", the character length must be smaller than or equal to 50.'
847
- end
848
-
849
- @custom_label2 = custom_label2
850
- end
851
-
852
- # Custom attribute writer method with validation
853
- # @param [Object] custom_label3 Value to be assigned
854
- def custom_label3=(custom_label3)
855
- if !custom_label3.nil? && custom_label3.to_s.length > 50
856
- fail ArgumentError, 'invalid value for "custom_label3", the character length must be smaller than or equal to 50.'
857
- end
858
-
859
- @custom_label3 = custom_label3
860
- end
861
-
862
- # Custom attribute writer method with validation
863
- # @param [Object] custom_label4 Value to be assigned
864
- def custom_label4=(custom_label4)
865
- if !custom_label4.nil? && custom_label4.to_s.length > 50
866
- fail ArgumentError, 'invalid value for "custom_label4", the character length must be smaller than or equal to 50.'
867
- end
868
-
869
- @custom_label4 = custom_label4
870
- end
871
-
872
- # Custom attribute writer method with validation
873
- # @param [Object] gender Value to be assigned
874
- def gender=(gender)
875
- if !gender.nil? && gender.to_s.length > 6
876
- fail ArgumentError, 'invalid value for "gender", the character length must be smaller than or equal to 6.'
877
- end
878
-
879
- @gender = gender
880
- end
881
-
882
- # Custom attribute writer method with validation
883
- # @param [Object] google_product_category Value to be assigned
884
- def google_product_category=(google_product_category)
885
- if !google_product_category.nil? && google_product_category.to_s.length > 250
886
- fail ArgumentError, 'invalid value for "google_product_category", the character length must be smaller than or equal to 250.'
887
- end
888
-
889
- @google_product_category = google_product_category
890
- end
891
-
892
- # Custom attribute writer method with validation
893
- # @param [Object] music_artist Value to be assigned
894
- def music_artist=(music_artist)
895
- if !music_artist.nil? && music_artist.to_s.length > 50
896
- fail ArgumentError, 'invalid value for "music_artist", the character length must be smaller than or equal to 50.'
897
- end
898
-
899
- @music_artist = music_artist
900
- end
901
-
902
- # Custom attribute writer method with validation
903
- # @param [Object] music_format Value to be assigned
904
- def music_format=(music_format)
905
- if !music_format.nil? && music_format.to_s.length > 5
906
- fail ArgumentError, 'invalid value for "music_format", the character length must be smaller than or equal to 5.'
907
- end
908
-
909
- @music_format = music_format
910
- end
911
-
912
- # Custom attribute writer method with validation
913
- # @param [Object] product_type Value to be assigned
914
- def product_type=(product_type)
915
- if !product_type.nil? && product_type.to_s.length > 10
916
- fail ArgumentError, 'invalid value for "product_type", the character length must be smaller than or equal to 10.'
917
- end
918
-
919
- @product_type = product_type
920
- end
921
-
922
- # Custom attribute writer method with validation
923
- # @param [Object] promotion_id1 Value to be assigned
924
- def promotion_id1=(promotion_id1)
925
- if !promotion_id1.nil? && promotion_id1.to_s.length > 30
926
- fail ArgumentError, 'invalid value for "promotion_id1", the character length must be smaller than or equal to 30.'
927
- end
928
-
929
- @promotion_id1 = promotion_id1
930
- end
931
-
932
- # Custom attribute writer method with validation
933
- # @param [Object] promotion_id10 Value to be assigned
934
- def promotion_id10=(promotion_id10)
935
- if !promotion_id10.nil? && promotion_id10.to_s.length > 30
936
- fail ArgumentError, 'invalid value for "promotion_id10", the character length must be smaller than or equal to 30.'
937
- end
938
-
939
- @promotion_id10 = promotion_id10
940
- end
941
-
942
- # Custom attribute writer method with validation
943
- # @param [Object] promotion_id2 Value to be assigned
944
- def promotion_id2=(promotion_id2)
945
- if !promotion_id2.nil? && promotion_id2.to_s.length > 30
946
- fail ArgumentError, 'invalid value for "promotion_id2", the character length must be smaller than or equal to 30.'
947
- end
948
-
949
- @promotion_id2 = promotion_id2
950
- end
951
-
952
- # Custom attribute writer method with validation
953
- # @param [Object] promotion_id3 Value to be assigned
954
- def promotion_id3=(promotion_id3)
955
- if !promotion_id3.nil? && promotion_id3.to_s.length > 30
956
- fail ArgumentError, 'invalid value for "promotion_id3", the character length must be smaller than or equal to 30.'
957
- end
958
-
959
- @promotion_id3 = promotion_id3
960
- end
961
-
962
- # Custom attribute writer method with validation
963
- # @param [Object] promotion_id4 Value to be assigned
964
- def promotion_id4=(promotion_id4)
965
- if !promotion_id4.nil? && promotion_id4.to_s.length > 30
966
- fail ArgumentError, 'invalid value for "promotion_id4", the character length must be smaller than or equal to 30.'
967
- end
968
-
969
- @promotion_id4 = promotion_id4
970
- end
971
-
972
- # Custom attribute writer method with validation
973
- # @param [Object] promotion_id5 Value to be assigned
974
- def promotion_id5=(promotion_id5)
975
- if !promotion_id5.nil? && promotion_id5.to_s.length > 30
976
- fail ArgumentError, 'invalid value for "promotion_id5", the character length must be smaller than or equal to 30.'
977
- end
978
-
979
- @promotion_id5 = promotion_id5
980
- end
981
-
982
- # Custom attribute writer method with validation
983
- # @param [Object] promotion_id6 Value to be assigned
984
- def promotion_id6=(promotion_id6)
985
- if !promotion_id6.nil? && promotion_id6.to_s.length > 30
986
- fail ArgumentError, 'invalid value for "promotion_id6", the character length must be smaller than or equal to 30.'
987
- end
988
-
989
- @promotion_id6 = promotion_id6
990
- end
991
-
992
- # Custom attribute writer method with validation
993
- # @param [Object] promotion_id7 Value to be assigned
994
- def promotion_id7=(promotion_id7)
995
- if !promotion_id7.nil? && promotion_id7.to_s.length > 30
996
- fail ArgumentError, 'invalid value for "promotion_id7", the character length must be smaller than or equal to 30.'
997
- end
998
-
999
- @promotion_id7 = promotion_id7
1000
- end
1001
-
1002
- # Custom attribute writer method with validation
1003
- # @param [Object] promotion_id8 Value to be assigned
1004
- def promotion_id8=(promotion_id8)
1005
- if !promotion_id8.nil? && promotion_id8.to_s.length > 30
1006
- fail ArgumentError, 'invalid value for "promotion_id8", the character length must be smaller than or equal to 30.'
1007
- end
1008
-
1009
- @promotion_id8 = promotion_id8
1010
- end
1011
-
1012
- # Custom attribute writer method with validation
1013
- # @param [Object] promotion_id9 Value to be assigned
1014
- def promotion_id9=(promotion_id9)
1015
- if !promotion_id9.nil? && promotion_id9.to_s.length > 30
1016
- fail ArgumentError, 'invalid value for "promotion_id9", the character length must be smaller than or equal to 30.'
1017
- end
1018
-
1019
- @promotion_id9 = promotion_id9
1020
- end
1021
-
1022
- # Custom attribute writer method with validation
1023
- # @param [Object] search_lowest_url Value to be assigned
1024
- def search_lowest_url=(search_lowest_url)
1025
- if !search_lowest_url.nil? && search_lowest_url.to_s.length > 250
1026
- fail ArgumentError, 'invalid value for "search_lowest_url", the character length must be smaller than or equal to 250.'
1027
- end
1028
-
1029
- @search_lowest_url = search_lowest_url
1030
- end
1031
-
1032
- # Custom attribute writer method with validation
1033
- # @param [Object] size Value to be assigned
1034
- def size=(size)
1035
- if !size.nil? && size.to_s.length > 20
1036
- fail ArgumentError, 'invalid value for "size", the character length must be smaller than or equal to 20.'
1037
- end
1038
-
1039
- @size = size
1040
- end
1041
-
1042
- # Custom attribute writer method with validation
1043
- # @param [Object] video_director Value to be assigned
1044
- def video_director=(video_director)
1045
- if !video_director.nil? && video_director.to_s.length > 50
1046
- fail ArgumentError, 'invalid value for "video_director", the character length must be smaller than or equal to 50.'
1047
- end
1048
-
1049
- @video_director = video_director
1050
- end
1051
-
1052
- # Custom attribute writer method with validation
1053
- # @param [Object] video_format Value to be assigned
1054
- def video_format=(video_format)
1055
- if !video_format.nil? && video_format.to_s.length > 5
1056
- fail ArgumentError, 'invalid value for "video_format", the character length must be smaller than or equal to 5.'
1057
- end
1058
-
1059
- @video_format = video_format
1060
- end
1061
-
1062
- # Custom attribute writer method with validation
1063
- # @param [Object] video_rating Value to be assigned
1064
- def video_rating=(video_rating)
1065
- if !video_rating.nil? && video_rating.to_s.length > 5
1066
- fail ArgumentError, 'invalid value for "video_rating", the character length must be smaller than or equal to 5.'
1067
- end
1068
-
1069
- @video_rating = video_rating
1070
- end
1071
-
1072
- # Custom attribute writer method with validation
1073
- # @param [Object] video_starring Value to be assigned
1074
- def video_starring=(video_starring)
1075
- if !video_starring.nil? && video_starring.to_s.length > 150
1076
- fail ArgumentError, 'invalid value for "video_starring", the character length must be smaller than or equal to 150.'
1077
- end
1078
-
1079
- @video_starring = video_starring
1080
- end
1081
-
1082
- # Checks equality by comparing each attribute.
1083
- # @param [Object] Object to be compared
1084
- def ==(o)
1085
- return true if self.equal?(o)
1086
- self.class == o.class &&
1087
- adwords_grouping == o.adwords_grouping &&
1088
- adwords_label1 == o.adwords_label1 &&
1089
- adwords_label2 == o.adwords_label2 &&
1090
- adwords_label3 == o.adwords_label3 &&
1091
- adwords_label4 == o.adwords_label4 &&
1092
- adwords_label5 == o.adwords_label5 &&
1093
- age_group == o.age_group &&
1094
- available_at_physical_store == o.available_at_physical_store &&
1095
- book_author == o.book_author &&
1096
- book_format == o.book_format &&
1097
- book_isbn == o.book_isbn &&
1098
- book_publisher == o.book_publisher &&
1099
- category_description == o.category_description &&
1100
- color == o.color &&
1101
- condition == o.condition &&
1102
- custom_label0 == o.custom_label0 &&
1103
- custom_label1 == o.custom_label1 &&
1104
- custom_label2 == o.custom_label2 &&
1105
- custom_label3 == o.custom_label3 &&
1106
- custom_label4 == o.custom_label4 &&
1107
- gender == o.gender &&
1108
- google_product_category == o.google_product_category &&
1109
- music_artist == o.music_artist &&
1110
- music_format == o.music_format &&
1111
- music_release_date == o.music_release_date &&
1112
- omit_from_feed == o.omit_from_feed &&
1113
- product_type == o.product_type &&
1114
- promotion_id1 == o.promotion_id1 &&
1115
- promotion_id10 == o.promotion_id10 &&
1116
- promotion_id2 == o.promotion_id2 &&
1117
- promotion_id3 == o.promotion_id3 &&
1118
- promotion_id4 == o.promotion_id4 &&
1119
- promotion_id5 == o.promotion_id5 &&
1120
- promotion_id6 == o.promotion_id6 &&
1121
- promotion_id7 == o.promotion_id7 &&
1122
- promotion_id8 == o.promotion_id8 &&
1123
- promotion_id9 == o.promotion_id9 &&
1124
- search_dts == o.search_dts &&
1125
- search_lowest_price == o.search_lowest_price &&
1126
- search_lowest_url == o.search_lowest_url &&
1127
- search_position == o.search_position &&
1128
- shipping_label == o.shipping_label &&
1129
- size == o.size &&
1130
- video_director == o.video_director &&
1131
- video_format == o.video_format &&
1132
- video_rating == o.video_rating &&
1133
- video_release_date == o.video_release_date &&
1134
- video_starring == o.video_starring
1135
- end
1136
-
1137
- # @see the `==` method
1138
- # @param [Object] Object to be compared
1139
- def eql?(o)
1140
- self == o
1141
- end
1142
-
1143
- # Calculates hash code according to all attributes.
1144
- # @return [Fixnum] Hash code
1145
- def hash
1146
- [adwords_grouping, adwords_label1, adwords_label2, adwords_label3, adwords_label4, adwords_label5, age_group, available_at_physical_store, book_author, book_format, book_isbn, book_publisher, category_description, color, condition, custom_label0, custom_label1, custom_label2, custom_label3, custom_label4, gender, google_product_category, music_artist, music_format, music_release_date, omit_from_feed, product_type, promotion_id1, promotion_id10, promotion_id2, promotion_id3, promotion_id4, promotion_id5, promotion_id6, promotion_id7, promotion_id8, promotion_id9, search_dts, search_lowest_price, search_lowest_url, search_position, shipping_label, size, video_director, video_format, video_rating, video_release_date, video_starring].hash
1147
- end
1148
-
1149
- # Builds the object from hash
1150
- # @param [Hash] attributes Model attributes in the form of hash
1151
- # @return [Object] Returns the model itself
1152
- def build_from_hash(attributes)
1153
- return nil unless attributes.is_a?(Hash)
1154
- self.class.swagger_types.each_pair do |key, type|
1155
- if type =~ /\AArray<(.*)>/i
1156
- # check to ensure the input is an array given that the attribute
1157
- # is documented as an array but the input is not
1158
- if attributes[self.class.attribute_map[key]].is_a?(Array)
1159
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
1160
- end
1161
- elsif !attributes[self.class.attribute_map[key]].nil?
1162
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
1163
- end # or else data not found in attributes(hash), not an issue as the data can be optional
1164
- end
1165
-
1166
- self
1167
- end
1168
-
1169
- # Deserializes the data based on type
1170
- # @param string type Data type
1171
- # @param string value Value to be deserialized
1172
- # @return [Object] Deserialized data
1173
- def _deserialize(type, value)
1174
- case type.to_sym
1175
- when :DateTime
1176
- DateTime.parse(value)
1177
- when :Date
1178
- Date.parse(value)
1179
- when :String
1180
- value.to_s
1181
- when :Integer
1182
- value.to_i
1183
- when :Float
1184
- value.to_f
1185
- when :BOOLEAN
1186
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
1187
- true
1188
- else
1189
- false
1190
- end
1191
- when :Object
1192
- # generic object (usually a Hash), return directly
1193
- value
1194
- when /\AArray<(?<inner_type>.+)>\z/
1195
- inner_type = Regexp.last_match[:inner_type]
1196
- value.map { |v| _deserialize(inner_type, v) }
1197
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
1198
- k_type = Regexp.last_match[:k_type]
1199
- v_type = Regexp.last_match[:v_type]
1200
- {}.tap do |hash|
1201
- value.each do |k, v|
1202
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
1203
- end
1204
- end
1205
- else # model
1206
- temp_model = UltracartClient.const_get(type).new
1207
- temp_model.build_from_hash(value)
1208
- end
1209
- end
1210
-
1211
- # Returns the string representation of the object
1212
- # @return [String] String presentation of the object
1213
- def to_s
1214
- to_hash.to_s
1215
- end
1216
-
1217
- # to_body is an alias to to_hash (backward compatibility)
1218
- # @return [Hash] Returns the object in the form of hash
1219
- def to_body
1220
- to_hash
1221
- end
1222
-
1223
- # Returns the object in the form of hash
1224
- # @return [Hash] Returns the object in the form of hash
1225
- def to_hash
1226
- hash = {}
1227
- self.class.attribute_map.each_pair do |attr, param|
1228
- value = self.send(attr)
1229
- next if value.nil?
1230
- hash[param] = _to_hash(value)
1231
- end
1232
- hash
1233
- end
1234
-
1235
- # Outputs non-array value in the form of hash
1236
- # For object, use to_hash. Otherwise, just return the value
1237
- # @param [Object] value Any valid value
1238
- # @return [Hash] Returns the value in the form of hash
1239
- def _to_hash(value)
1240
- if value.is_a?(Array)
1241
- value.compact.map { |v| _to_hash(v) }
1242
- elsif value.is_a?(Hash)
1243
- {}.tap do |hash|
1244
- value.each { |k, v| hash[k] = _to_hash(v) }
1245
- end
1246
- elsif value.respond_to? :to_hash
1247
- value.to_hash
1248
- else
1249
- value
1250
- end
1251
- end
1252
-
1253
- end
1254
- end
1
+ =begin
2
+ #UltraCart Rest API V2
3
+
4
+ #UltraCart REST API Version 2
5
+
6
+ The version of the OpenAPI document: 2.0.0
7
+ Contact: support@ultracart.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.0.1-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module UltracartClient
17
+ class ItemGoogleProductSearch
18
+ # Adwords grouping
19
+ attr_accessor :adwords_grouping
20
+
21
+ # Adwords label 1
22
+ attr_accessor :adwords_label1
23
+
24
+ # Adwords label 2
25
+ attr_accessor :adwords_label2
26
+
27
+ # Adwords label 3
28
+ attr_accessor :adwords_label3
29
+
30
+ # Adwords label 4
31
+ attr_accessor :adwords_label4
32
+
33
+ # Adwords label 5
34
+ attr_accessor :adwords_label5
35
+
36
+ # Age group
37
+ attr_accessor :age_group
38
+
39
+ # Available at physical store
40
+ attr_accessor :available_at_physical_store
41
+
42
+ # Book - author
43
+ attr_accessor :book_author
44
+
45
+ # Book - format
46
+ attr_accessor :book_format
47
+
48
+ # Bood - ISBN
49
+ attr_accessor :book_isbn
50
+
51
+ # Book - publisher
52
+ attr_accessor :book_publisher
53
+
54
+ # Category description
55
+ attr_accessor :category_description
56
+
57
+ # Color
58
+ attr_accessor :color
59
+
60
+ # Condition
61
+ attr_accessor :condition
62
+
63
+ # Custom label 0
64
+ attr_accessor :custom_label0
65
+
66
+ # Custom label 1
67
+ attr_accessor :custom_label1
68
+
69
+ # Custom label 2
70
+ attr_accessor :custom_label2
71
+
72
+ # Custom label 3
73
+ attr_accessor :custom_label3
74
+
75
+ # Custom label 4
76
+ attr_accessor :custom_label4
77
+
78
+ # Gender
79
+ attr_accessor :gender
80
+
81
+ # Google product category
82
+ attr_accessor :google_product_category
83
+
84
+ # Music - artist
85
+ attr_accessor :music_artist
86
+
87
+ # Music - format
88
+ attr_accessor :music_format
89
+
90
+ # Music - release date
91
+ attr_accessor :music_release_date
92
+
93
+ # Omit from feed
94
+ attr_accessor :omit_from_feed
95
+
96
+ # Product type
97
+ attr_accessor :product_type
98
+
99
+ # Promotion ID 1
100
+ attr_accessor :promotion_id1
101
+
102
+ # Promotion ID 10
103
+ attr_accessor :promotion_id10
104
+
105
+ # Promotion ID 2
106
+ attr_accessor :promotion_id2
107
+
108
+ # Promotion ID 3
109
+ attr_accessor :promotion_id3
110
+
111
+ # Promotion ID 4
112
+ attr_accessor :promotion_id4
113
+
114
+ # Promotion ID 5
115
+ attr_accessor :promotion_id5
116
+
117
+ # Promotion ID 6
118
+ attr_accessor :promotion_id6
119
+
120
+ # Promotion ID 7
121
+ attr_accessor :promotion_id7
122
+
123
+ # Promotion ID 8
124
+ attr_accessor :promotion_id8
125
+
126
+ # Promotion ID 9
127
+ attr_accessor :promotion_id9
128
+
129
+ # Search date/time
130
+ attr_accessor :search_dts
131
+
132
+ # Search lowest price
133
+ attr_accessor :search_lowest_price
134
+
135
+ # Search lowest URL
136
+ attr_accessor :search_lowest_url
137
+
138
+ # Search position
139
+ attr_accessor :search_position
140
+
141
+ attr_accessor :shipping_label
142
+
143
+ # Size
144
+ attr_accessor :size
145
+
146
+ # Video - director
147
+ attr_accessor :video_director
148
+
149
+ # Video - format
150
+ attr_accessor :video_format
151
+
152
+ # Video - rating
153
+ attr_accessor :video_rating
154
+
155
+ # Video - release date
156
+ attr_accessor :video_release_date
157
+
158
+ # Video - starring
159
+ attr_accessor :video_starring
160
+
161
+ # Attribute mapping from ruby-style variable name to JSON key.
162
+ def self.attribute_map
163
+ {
164
+ :'adwords_grouping' => :'adwords_grouping',
165
+ :'adwords_label1' => :'adwords_label1',
166
+ :'adwords_label2' => :'adwords_label2',
167
+ :'adwords_label3' => :'adwords_label3',
168
+ :'adwords_label4' => :'adwords_label4',
169
+ :'adwords_label5' => :'adwords_label5',
170
+ :'age_group' => :'age_group',
171
+ :'available_at_physical_store' => :'available_at_physical_store',
172
+ :'book_author' => :'book_author',
173
+ :'book_format' => :'book_format',
174
+ :'book_isbn' => :'book_isbn',
175
+ :'book_publisher' => :'book_publisher',
176
+ :'category_description' => :'category_description',
177
+ :'color' => :'color',
178
+ :'condition' => :'condition',
179
+ :'custom_label0' => :'custom_label0',
180
+ :'custom_label1' => :'custom_label1',
181
+ :'custom_label2' => :'custom_label2',
182
+ :'custom_label3' => :'custom_label3',
183
+ :'custom_label4' => :'custom_label4',
184
+ :'gender' => :'gender',
185
+ :'google_product_category' => :'google_product_category',
186
+ :'music_artist' => :'music_artist',
187
+ :'music_format' => :'music_format',
188
+ :'music_release_date' => :'music_release_date',
189
+ :'omit_from_feed' => :'omit_from_feed',
190
+ :'product_type' => :'product_type',
191
+ :'promotion_id1' => :'promotion_id1',
192
+ :'promotion_id10' => :'promotion_id10',
193
+ :'promotion_id2' => :'promotion_id2',
194
+ :'promotion_id3' => :'promotion_id3',
195
+ :'promotion_id4' => :'promotion_id4',
196
+ :'promotion_id5' => :'promotion_id5',
197
+ :'promotion_id6' => :'promotion_id6',
198
+ :'promotion_id7' => :'promotion_id7',
199
+ :'promotion_id8' => :'promotion_id8',
200
+ :'promotion_id9' => :'promotion_id9',
201
+ :'search_dts' => :'search_dts',
202
+ :'search_lowest_price' => :'search_lowest_price',
203
+ :'search_lowest_url' => :'search_lowest_url',
204
+ :'search_position' => :'search_position',
205
+ :'shipping_label' => :'shippingLabel',
206
+ :'size' => :'size',
207
+ :'video_director' => :'video_director',
208
+ :'video_format' => :'video_format',
209
+ :'video_rating' => :'video_rating',
210
+ :'video_release_date' => :'video_release_date',
211
+ :'video_starring' => :'video_starring'
212
+ }
213
+ end
214
+
215
+ # Returns all the JSON keys this model knows about
216
+ def self.acceptable_attributes
217
+ attribute_map.values
218
+ end
219
+
220
+ # Attribute type mapping.
221
+ def self.openapi_types
222
+ {
223
+ :'adwords_grouping' => :'String',
224
+ :'adwords_label1' => :'String',
225
+ :'adwords_label2' => :'String',
226
+ :'adwords_label3' => :'String',
227
+ :'adwords_label4' => :'String',
228
+ :'adwords_label5' => :'String',
229
+ :'age_group' => :'String',
230
+ :'available_at_physical_store' => :'Boolean',
231
+ :'book_author' => :'String',
232
+ :'book_format' => :'String',
233
+ :'book_isbn' => :'String',
234
+ :'book_publisher' => :'String',
235
+ :'category_description' => :'String',
236
+ :'color' => :'String',
237
+ :'condition' => :'String',
238
+ :'custom_label0' => :'String',
239
+ :'custom_label1' => :'String',
240
+ :'custom_label2' => :'String',
241
+ :'custom_label3' => :'String',
242
+ :'custom_label4' => :'String',
243
+ :'gender' => :'String',
244
+ :'google_product_category' => :'String',
245
+ :'music_artist' => :'String',
246
+ :'music_format' => :'String',
247
+ :'music_release_date' => :'String',
248
+ :'omit_from_feed' => :'Boolean',
249
+ :'product_type' => :'String',
250
+ :'promotion_id1' => :'String',
251
+ :'promotion_id10' => :'String',
252
+ :'promotion_id2' => :'String',
253
+ :'promotion_id3' => :'String',
254
+ :'promotion_id4' => :'String',
255
+ :'promotion_id5' => :'String',
256
+ :'promotion_id6' => :'String',
257
+ :'promotion_id7' => :'String',
258
+ :'promotion_id8' => :'String',
259
+ :'promotion_id9' => :'String',
260
+ :'search_dts' => :'String',
261
+ :'search_lowest_price' => :'Float',
262
+ :'search_lowest_url' => :'String',
263
+ :'search_position' => :'Integer',
264
+ :'shipping_label' => :'String',
265
+ :'size' => :'String',
266
+ :'video_director' => :'String',
267
+ :'video_format' => :'String',
268
+ :'video_rating' => :'String',
269
+ :'video_release_date' => :'String',
270
+ :'video_starring' => :'String'
271
+ }
272
+ end
273
+
274
+ # List of attributes with nullable: true
275
+ def self.openapi_nullable
276
+ Set.new([
277
+ ])
278
+ end
279
+
280
+ # Initializes the object
281
+ # @param [Hash] attributes Model attributes in the form of hash
282
+ def initialize(attributes = {})
283
+ if (!attributes.is_a?(Hash))
284
+ fail ArgumentError, "The input argument (attributes) must be a hash in `UltracartClient::ItemGoogleProductSearch` initialize method"
285
+ end
286
+
287
+ # check to see if the attribute exists and convert string to symbol for hash key
288
+ attributes = attributes.each_with_object({}) { |(k, v), h|
289
+ if (!self.class.attribute_map.key?(k.to_sym))
290
+ fail ArgumentError, "`#{k}` is not a valid attribute in `UltracartClient::ItemGoogleProductSearch`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
291
+ end
292
+ h[k.to_sym] = v
293
+ }
294
+
295
+ if attributes.key?(:'adwords_grouping')
296
+ self.adwords_grouping = attributes[:'adwords_grouping']
297
+ end
298
+
299
+ if attributes.key?(:'adwords_label1')
300
+ self.adwords_label1 = attributes[:'adwords_label1']
301
+ end
302
+
303
+ if attributes.key?(:'adwords_label2')
304
+ self.adwords_label2 = attributes[:'adwords_label2']
305
+ end
306
+
307
+ if attributes.key?(:'adwords_label3')
308
+ self.adwords_label3 = attributes[:'adwords_label3']
309
+ end
310
+
311
+ if attributes.key?(:'adwords_label4')
312
+ self.adwords_label4 = attributes[:'adwords_label4']
313
+ end
314
+
315
+ if attributes.key?(:'adwords_label5')
316
+ self.adwords_label5 = attributes[:'adwords_label5']
317
+ end
318
+
319
+ if attributes.key?(:'age_group')
320
+ self.age_group = attributes[:'age_group']
321
+ end
322
+
323
+ if attributes.key?(:'available_at_physical_store')
324
+ self.available_at_physical_store = attributes[:'available_at_physical_store']
325
+ end
326
+
327
+ if attributes.key?(:'book_author')
328
+ self.book_author = attributes[:'book_author']
329
+ end
330
+
331
+ if attributes.key?(:'book_format')
332
+ self.book_format = attributes[:'book_format']
333
+ end
334
+
335
+ if attributes.key?(:'book_isbn')
336
+ self.book_isbn = attributes[:'book_isbn']
337
+ end
338
+
339
+ if attributes.key?(:'book_publisher')
340
+ self.book_publisher = attributes[:'book_publisher']
341
+ end
342
+
343
+ if attributes.key?(:'category_description')
344
+ self.category_description = attributes[:'category_description']
345
+ end
346
+
347
+ if attributes.key?(:'color')
348
+ self.color = attributes[:'color']
349
+ end
350
+
351
+ if attributes.key?(:'condition')
352
+ self.condition = attributes[:'condition']
353
+ end
354
+
355
+ if attributes.key?(:'custom_label0')
356
+ self.custom_label0 = attributes[:'custom_label0']
357
+ end
358
+
359
+ if attributes.key?(:'custom_label1')
360
+ self.custom_label1 = attributes[:'custom_label1']
361
+ end
362
+
363
+ if attributes.key?(:'custom_label2')
364
+ self.custom_label2 = attributes[:'custom_label2']
365
+ end
366
+
367
+ if attributes.key?(:'custom_label3')
368
+ self.custom_label3 = attributes[:'custom_label3']
369
+ end
370
+
371
+ if attributes.key?(:'custom_label4')
372
+ self.custom_label4 = attributes[:'custom_label4']
373
+ end
374
+
375
+ if attributes.key?(:'gender')
376
+ self.gender = attributes[:'gender']
377
+ end
378
+
379
+ if attributes.key?(:'google_product_category')
380
+ self.google_product_category = attributes[:'google_product_category']
381
+ end
382
+
383
+ if attributes.key?(:'music_artist')
384
+ self.music_artist = attributes[:'music_artist']
385
+ end
386
+
387
+ if attributes.key?(:'music_format')
388
+ self.music_format = attributes[:'music_format']
389
+ end
390
+
391
+ if attributes.key?(:'music_release_date')
392
+ self.music_release_date = attributes[:'music_release_date']
393
+ end
394
+
395
+ if attributes.key?(:'omit_from_feed')
396
+ self.omit_from_feed = attributes[:'omit_from_feed']
397
+ end
398
+
399
+ if attributes.key?(:'product_type')
400
+ self.product_type = attributes[:'product_type']
401
+ end
402
+
403
+ if attributes.key?(:'promotion_id1')
404
+ self.promotion_id1 = attributes[:'promotion_id1']
405
+ end
406
+
407
+ if attributes.key?(:'promotion_id10')
408
+ self.promotion_id10 = attributes[:'promotion_id10']
409
+ end
410
+
411
+ if attributes.key?(:'promotion_id2')
412
+ self.promotion_id2 = attributes[:'promotion_id2']
413
+ end
414
+
415
+ if attributes.key?(:'promotion_id3')
416
+ self.promotion_id3 = attributes[:'promotion_id3']
417
+ end
418
+
419
+ if attributes.key?(:'promotion_id4')
420
+ self.promotion_id4 = attributes[:'promotion_id4']
421
+ end
422
+
423
+ if attributes.key?(:'promotion_id5')
424
+ self.promotion_id5 = attributes[:'promotion_id5']
425
+ end
426
+
427
+ if attributes.key?(:'promotion_id6')
428
+ self.promotion_id6 = attributes[:'promotion_id6']
429
+ end
430
+
431
+ if attributes.key?(:'promotion_id7')
432
+ self.promotion_id7 = attributes[:'promotion_id7']
433
+ end
434
+
435
+ if attributes.key?(:'promotion_id8')
436
+ self.promotion_id8 = attributes[:'promotion_id8']
437
+ end
438
+
439
+ if attributes.key?(:'promotion_id9')
440
+ self.promotion_id9 = attributes[:'promotion_id9']
441
+ end
442
+
443
+ if attributes.key?(:'search_dts')
444
+ self.search_dts = attributes[:'search_dts']
445
+ end
446
+
447
+ if attributes.key?(:'search_lowest_price')
448
+ self.search_lowest_price = attributes[:'search_lowest_price']
449
+ end
450
+
451
+ if attributes.key?(:'search_lowest_url')
452
+ self.search_lowest_url = attributes[:'search_lowest_url']
453
+ end
454
+
455
+ if attributes.key?(:'search_position')
456
+ self.search_position = attributes[:'search_position']
457
+ end
458
+
459
+ if attributes.key?(:'shipping_label')
460
+ self.shipping_label = attributes[:'shipping_label']
461
+ end
462
+
463
+ if attributes.key?(:'size')
464
+ self.size = attributes[:'size']
465
+ end
466
+
467
+ if attributes.key?(:'video_director')
468
+ self.video_director = attributes[:'video_director']
469
+ end
470
+
471
+ if attributes.key?(:'video_format')
472
+ self.video_format = attributes[:'video_format']
473
+ end
474
+
475
+ if attributes.key?(:'video_rating')
476
+ self.video_rating = attributes[:'video_rating']
477
+ end
478
+
479
+ if attributes.key?(:'video_release_date')
480
+ self.video_release_date = attributes[:'video_release_date']
481
+ end
482
+
483
+ if attributes.key?(:'video_starring')
484
+ self.video_starring = attributes[:'video_starring']
485
+ end
486
+ end
487
+
488
+ # Show invalid properties with the reasons. Usually used together with valid?
489
+ # @return Array for valid properties with the reasons
490
+ def list_invalid_properties
491
+ invalid_properties = Array.new
492
+ if !@adwords_grouping.nil? && @adwords_grouping.to_s.length > 50
493
+ invalid_properties.push('invalid value for "adwords_grouping", the character length must be smaller than or equal to 50.')
494
+ end
495
+
496
+ if !@adwords_label1.nil? && @adwords_label1.to_s.length > 50
497
+ invalid_properties.push('invalid value for "adwords_label1", the character length must be smaller than or equal to 50.')
498
+ end
499
+
500
+ if !@adwords_label2.nil? && @adwords_label2.to_s.length > 50
501
+ invalid_properties.push('invalid value for "adwords_label2", the character length must be smaller than or equal to 50.')
502
+ end
503
+
504
+ if !@adwords_label3.nil? && @adwords_label3.to_s.length > 50
505
+ invalid_properties.push('invalid value for "adwords_label3", the character length must be smaller than or equal to 50.')
506
+ end
507
+
508
+ if !@adwords_label4.nil? && @adwords_label4.to_s.length > 50
509
+ invalid_properties.push('invalid value for "adwords_label4", the character length must be smaller than or equal to 50.')
510
+ end
511
+
512
+ if !@adwords_label5.nil? && @adwords_label5.to_s.length > 50
513
+ invalid_properties.push('invalid value for "adwords_label5", the character length must be smaller than or equal to 50.')
514
+ end
515
+
516
+ if !@age_group.nil? && @age_group.to_s.length > 5
517
+ invalid_properties.push('invalid value for "age_group", the character length must be smaller than or equal to 5.')
518
+ end
519
+
520
+ if !@book_author.nil? && @book_author.to_s.length > 50
521
+ invalid_properties.push('invalid value for "book_author", the character length must be smaller than or equal to 50.')
522
+ end
523
+
524
+ if !@book_format.nil? && @book_format.to_s.length > 50
525
+ invalid_properties.push('invalid value for "book_format", the character length must be smaller than or equal to 50.')
526
+ end
527
+
528
+ if !@book_isbn.nil? && @book_isbn.to_s.length > 20
529
+ invalid_properties.push('invalid value for "book_isbn", the character length must be smaller than or equal to 20.')
530
+ end
531
+
532
+ if !@book_publisher.nil? && @book_publisher.to_s.length > 50
533
+ invalid_properties.push('invalid value for "book_publisher", the character length must be smaller than or equal to 50.')
534
+ end
535
+
536
+ if !@category_description.nil? && @category_description.to_s.length > 1000
537
+ invalid_properties.push('invalid value for "category_description", the character length must be smaller than or equal to 1000.')
538
+ end
539
+
540
+ if !@color.nil? && @color.to_s.length > 20
541
+ invalid_properties.push('invalid value for "color", the character length must be smaller than or equal to 20.')
542
+ end
543
+
544
+ if !@condition.nil? && @condition.to_s.length > 15
545
+ invalid_properties.push('invalid value for "condition", the character length must be smaller than or equal to 15.')
546
+ end
547
+
548
+ if !@custom_label0.nil? && @custom_label0.to_s.length > 50
549
+ invalid_properties.push('invalid value for "custom_label0", the character length must be smaller than or equal to 50.')
550
+ end
551
+
552
+ if !@custom_label1.nil? && @custom_label1.to_s.length > 50
553
+ invalid_properties.push('invalid value for "custom_label1", the character length must be smaller than or equal to 50.')
554
+ end
555
+
556
+ if !@custom_label2.nil? && @custom_label2.to_s.length > 50
557
+ invalid_properties.push('invalid value for "custom_label2", the character length must be smaller than or equal to 50.')
558
+ end
559
+
560
+ if !@custom_label3.nil? && @custom_label3.to_s.length > 50
561
+ invalid_properties.push('invalid value for "custom_label3", the character length must be smaller than or equal to 50.')
562
+ end
563
+
564
+ if !@custom_label4.nil? && @custom_label4.to_s.length > 50
565
+ invalid_properties.push('invalid value for "custom_label4", the character length must be smaller than or equal to 50.')
566
+ end
567
+
568
+ if !@gender.nil? && @gender.to_s.length > 6
569
+ invalid_properties.push('invalid value for "gender", the character length must be smaller than or equal to 6.')
570
+ end
571
+
572
+ if !@google_product_category.nil? && @google_product_category.to_s.length > 250
573
+ invalid_properties.push('invalid value for "google_product_category", the character length must be smaller than or equal to 250.')
574
+ end
575
+
576
+ if !@music_artist.nil? && @music_artist.to_s.length > 50
577
+ invalid_properties.push('invalid value for "music_artist", the character length must be smaller than or equal to 50.')
578
+ end
579
+
580
+ if !@music_format.nil? && @music_format.to_s.length > 5
581
+ invalid_properties.push('invalid value for "music_format", the character length must be smaller than or equal to 5.')
582
+ end
583
+
584
+ if !@product_type.nil? && @product_type.to_s.length > 10
585
+ invalid_properties.push('invalid value for "product_type", the character length must be smaller than or equal to 10.')
586
+ end
587
+
588
+ if !@promotion_id1.nil? && @promotion_id1.to_s.length > 30
589
+ invalid_properties.push('invalid value for "promotion_id1", the character length must be smaller than or equal to 30.')
590
+ end
591
+
592
+ if !@promotion_id10.nil? && @promotion_id10.to_s.length > 30
593
+ invalid_properties.push('invalid value for "promotion_id10", the character length must be smaller than or equal to 30.')
594
+ end
595
+
596
+ if !@promotion_id2.nil? && @promotion_id2.to_s.length > 30
597
+ invalid_properties.push('invalid value for "promotion_id2", the character length must be smaller than or equal to 30.')
598
+ end
599
+
600
+ if !@promotion_id3.nil? && @promotion_id3.to_s.length > 30
601
+ invalid_properties.push('invalid value for "promotion_id3", the character length must be smaller than or equal to 30.')
602
+ end
603
+
604
+ if !@promotion_id4.nil? && @promotion_id4.to_s.length > 30
605
+ invalid_properties.push('invalid value for "promotion_id4", the character length must be smaller than or equal to 30.')
606
+ end
607
+
608
+ if !@promotion_id5.nil? && @promotion_id5.to_s.length > 30
609
+ invalid_properties.push('invalid value for "promotion_id5", the character length must be smaller than or equal to 30.')
610
+ end
611
+
612
+ if !@promotion_id6.nil? && @promotion_id6.to_s.length > 30
613
+ invalid_properties.push('invalid value for "promotion_id6", the character length must be smaller than or equal to 30.')
614
+ end
615
+
616
+ if !@promotion_id7.nil? && @promotion_id7.to_s.length > 30
617
+ invalid_properties.push('invalid value for "promotion_id7", the character length must be smaller than or equal to 30.')
618
+ end
619
+
620
+ if !@promotion_id8.nil? && @promotion_id8.to_s.length > 30
621
+ invalid_properties.push('invalid value for "promotion_id8", the character length must be smaller than or equal to 30.')
622
+ end
623
+
624
+ if !@promotion_id9.nil? && @promotion_id9.to_s.length > 30
625
+ invalid_properties.push('invalid value for "promotion_id9", the character length must be smaller than or equal to 30.')
626
+ end
627
+
628
+ if !@search_lowest_url.nil? && @search_lowest_url.to_s.length > 250
629
+ invalid_properties.push('invalid value for "search_lowest_url", the character length must be smaller than or equal to 250.')
630
+ end
631
+
632
+ if !@size.nil? && @size.to_s.length > 20
633
+ invalid_properties.push('invalid value for "size", the character length must be smaller than or equal to 20.')
634
+ end
635
+
636
+ if !@video_director.nil? && @video_director.to_s.length > 50
637
+ invalid_properties.push('invalid value for "video_director", the character length must be smaller than or equal to 50.')
638
+ end
639
+
640
+ if !@video_format.nil? && @video_format.to_s.length > 5
641
+ invalid_properties.push('invalid value for "video_format", the character length must be smaller than or equal to 5.')
642
+ end
643
+
644
+ if !@video_rating.nil? && @video_rating.to_s.length > 5
645
+ invalid_properties.push('invalid value for "video_rating", the character length must be smaller than or equal to 5.')
646
+ end
647
+
648
+ if !@video_starring.nil? && @video_starring.to_s.length > 150
649
+ invalid_properties.push('invalid value for "video_starring", the character length must be smaller than or equal to 150.')
650
+ end
651
+
652
+ invalid_properties
653
+ end
654
+
655
+ # Check to see if the all the properties in the model are valid
656
+ # @return true if the model is valid
657
+ def valid?
658
+ return false if !@adwords_grouping.nil? && @adwords_grouping.to_s.length > 50
659
+ return false if !@adwords_label1.nil? && @adwords_label1.to_s.length > 50
660
+ return false if !@adwords_label2.nil? && @adwords_label2.to_s.length > 50
661
+ return false if !@adwords_label3.nil? && @adwords_label3.to_s.length > 50
662
+ return false if !@adwords_label4.nil? && @adwords_label4.to_s.length > 50
663
+ return false if !@adwords_label5.nil? && @adwords_label5.to_s.length > 50
664
+ return false if !@age_group.nil? && @age_group.to_s.length > 5
665
+ return false if !@book_author.nil? && @book_author.to_s.length > 50
666
+ return false if !@book_format.nil? && @book_format.to_s.length > 50
667
+ return false if !@book_isbn.nil? && @book_isbn.to_s.length > 20
668
+ return false if !@book_publisher.nil? && @book_publisher.to_s.length > 50
669
+ return false if !@category_description.nil? && @category_description.to_s.length > 1000
670
+ return false if !@color.nil? && @color.to_s.length > 20
671
+ return false if !@condition.nil? && @condition.to_s.length > 15
672
+ return false if !@custom_label0.nil? && @custom_label0.to_s.length > 50
673
+ return false if !@custom_label1.nil? && @custom_label1.to_s.length > 50
674
+ return false if !@custom_label2.nil? && @custom_label2.to_s.length > 50
675
+ return false if !@custom_label3.nil? && @custom_label3.to_s.length > 50
676
+ return false if !@custom_label4.nil? && @custom_label4.to_s.length > 50
677
+ return false if !@gender.nil? && @gender.to_s.length > 6
678
+ return false if !@google_product_category.nil? && @google_product_category.to_s.length > 250
679
+ return false if !@music_artist.nil? && @music_artist.to_s.length > 50
680
+ return false if !@music_format.nil? && @music_format.to_s.length > 5
681
+ return false if !@product_type.nil? && @product_type.to_s.length > 10
682
+ return false if !@promotion_id1.nil? && @promotion_id1.to_s.length > 30
683
+ return false if !@promotion_id10.nil? && @promotion_id10.to_s.length > 30
684
+ return false if !@promotion_id2.nil? && @promotion_id2.to_s.length > 30
685
+ return false if !@promotion_id3.nil? && @promotion_id3.to_s.length > 30
686
+ return false if !@promotion_id4.nil? && @promotion_id4.to_s.length > 30
687
+ return false if !@promotion_id5.nil? && @promotion_id5.to_s.length > 30
688
+ return false if !@promotion_id6.nil? && @promotion_id6.to_s.length > 30
689
+ return false if !@promotion_id7.nil? && @promotion_id7.to_s.length > 30
690
+ return false if !@promotion_id8.nil? && @promotion_id8.to_s.length > 30
691
+ return false if !@promotion_id9.nil? && @promotion_id9.to_s.length > 30
692
+ return false if !@search_lowest_url.nil? && @search_lowest_url.to_s.length > 250
693
+ return false if !@size.nil? && @size.to_s.length > 20
694
+ return false if !@video_director.nil? && @video_director.to_s.length > 50
695
+ return false if !@video_format.nil? && @video_format.to_s.length > 5
696
+ return false if !@video_rating.nil? && @video_rating.to_s.length > 5
697
+ return false if !@video_starring.nil? && @video_starring.to_s.length > 150
698
+ true
699
+ end
700
+
701
+ # Custom attribute writer method with validation
702
+ # @param [Object] adwords_grouping Value to be assigned
703
+ def adwords_grouping=(adwords_grouping)
704
+ if !adwords_grouping.nil? && adwords_grouping.to_s.length > 50
705
+ fail ArgumentError, 'invalid value for "adwords_grouping", the character length must be smaller than or equal to 50.'
706
+ end
707
+
708
+ @adwords_grouping = adwords_grouping
709
+ end
710
+
711
+ # Custom attribute writer method with validation
712
+ # @param [Object] adwords_label1 Value to be assigned
713
+ def adwords_label1=(adwords_label1)
714
+ if !adwords_label1.nil? && adwords_label1.to_s.length > 50
715
+ fail ArgumentError, 'invalid value for "adwords_label1", the character length must be smaller than or equal to 50.'
716
+ end
717
+
718
+ @adwords_label1 = adwords_label1
719
+ end
720
+
721
+ # Custom attribute writer method with validation
722
+ # @param [Object] adwords_label2 Value to be assigned
723
+ def adwords_label2=(adwords_label2)
724
+ if !adwords_label2.nil? && adwords_label2.to_s.length > 50
725
+ fail ArgumentError, 'invalid value for "adwords_label2", the character length must be smaller than or equal to 50.'
726
+ end
727
+
728
+ @adwords_label2 = adwords_label2
729
+ end
730
+
731
+ # Custom attribute writer method with validation
732
+ # @param [Object] adwords_label3 Value to be assigned
733
+ def adwords_label3=(adwords_label3)
734
+ if !adwords_label3.nil? && adwords_label3.to_s.length > 50
735
+ fail ArgumentError, 'invalid value for "adwords_label3", the character length must be smaller than or equal to 50.'
736
+ end
737
+
738
+ @adwords_label3 = adwords_label3
739
+ end
740
+
741
+ # Custom attribute writer method with validation
742
+ # @param [Object] adwords_label4 Value to be assigned
743
+ def adwords_label4=(adwords_label4)
744
+ if !adwords_label4.nil? && adwords_label4.to_s.length > 50
745
+ fail ArgumentError, 'invalid value for "adwords_label4", the character length must be smaller than or equal to 50.'
746
+ end
747
+
748
+ @adwords_label4 = adwords_label4
749
+ end
750
+
751
+ # Custom attribute writer method with validation
752
+ # @param [Object] adwords_label5 Value to be assigned
753
+ def adwords_label5=(adwords_label5)
754
+ if !adwords_label5.nil? && adwords_label5.to_s.length > 50
755
+ fail ArgumentError, 'invalid value for "adwords_label5", the character length must be smaller than or equal to 50.'
756
+ end
757
+
758
+ @adwords_label5 = adwords_label5
759
+ end
760
+
761
+ # Custom attribute writer method with validation
762
+ # @param [Object] age_group Value to be assigned
763
+ def age_group=(age_group)
764
+ if !age_group.nil? && age_group.to_s.length > 5
765
+ fail ArgumentError, 'invalid value for "age_group", the character length must be smaller than or equal to 5.'
766
+ end
767
+
768
+ @age_group = age_group
769
+ end
770
+
771
+ # Custom attribute writer method with validation
772
+ # @param [Object] book_author Value to be assigned
773
+ def book_author=(book_author)
774
+ if !book_author.nil? && book_author.to_s.length > 50
775
+ fail ArgumentError, 'invalid value for "book_author", the character length must be smaller than or equal to 50.'
776
+ end
777
+
778
+ @book_author = book_author
779
+ end
780
+
781
+ # Custom attribute writer method with validation
782
+ # @param [Object] book_format Value to be assigned
783
+ def book_format=(book_format)
784
+ if !book_format.nil? && book_format.to_s.length > 50
785
+ fail ArgumentError, 'invalid value for "book_format", the character length must be smaller than or equal to 50.'
786
+ end
787
+
788
+ @book_format = book_format
789
+ end
790
+
791
+ # Custom attribute writer method with validation
792
+ # @param [Object] book_isbn Value to be assigned
793
+ def book_isbn=(book_isbn)
794
+ if !book_isbn.nil? && book_isbn.to_s.length > 20
795
+ fail ArgumentError, 'invalid value for "book_isbn", the character length must be smaller than or equal to 20.'
796
+ end
797
+
798
+ @book_isbn = book_isbn
799
+ end
800
+
801
+ # Custom attribute writer method with validation
802
+ # @param [Object] book_publisher Value to be assigned
803
+ def book_publisher=(book_publisher)
804
+ if !book_publisher.nil? && book_publisher.to_s.length > 50
805
+ fail ArgumentError, 'invalid value for "book_publisher", the character length must be smaller than or equal to 50.'
806
+ end
807
+
808
+ @book_publisher = book_publisher
809
+ end
810
+
811
+ # Custom attribute writer method with validation
812
+ # @param [Object] category_description Value to be assigned
813
+ def category_description=(category_description)
814
+ if !category_description.nil? && category_description.to_s.length > 1000
815
+ fail ArgumentError, 'invalid value for "category_description", the character length must be smaller than or equal to 1000.'
816
+ end
817
+
818
+ @category_description = category_description
819
+ end
820
+
821
+ # Custom attribute writer method with validation
822
+ # @param [Object] color Value to be assigned
823
+ def color=(color)
824
+ if !color.nil? && color.to_s.length > 20
825
+ fail ArgumentError, 'invalid value for "color", the character length must be smaller than or equal to 20.'
826
+ end
827
+
828
+ @color = color
829
+ end
830
+
831
+ # Custom attribute writer method with validation
832
+ # @param [Object] condition Value to be assigned
833
+ def condition=(condition)
834
+ if !condition.nil? && condition.to_s.length > 15
835
+ fail ArgumentError, 'invalid value for "condition", the character length must be smaller than or equal to 15.'
836
+ end
837
+
838
+ @condition = condition
839
+ end
840
+
841
+ # Custom attribute writer method with validation
842
+ # @param [Object] custom_label0 Value to be assigned
843
+ def custom_label0=(custom_label0)
844
+ if !custom_label0.nil? && custom_label0.to_s.length > 50
845
+ fail ArgumentError, 'invalid value for "custom_label0", the character length must be smaller than or equal to 50.'
846
+ end
847
+
848
+ @custom_label0 = custom_label0
849
+ end
850
+
851
+ # Custom attribute writer method with validation
852
+ # @param [Object] custom_label1 Value to be assigned
853
+ def custom_label1=(custom_label1)
854
+ if !custom_label1.nil? && custom_label1.to_s.length > 50
855
+ fail ArgumentError, 'invalid value for "custom_label1", the character length must be smaller than or equal to 50.'
856
+ end
857
+
858
+ @custom_label1 = custom_label1
859
+ end
860
+
861
+ # Custom attribute writer method with validation
862
+ # @param [Object] custom_label2 Value to be assigned
863
+ def custom_label2=(custom_label2)
864
+ if !custom_label2.nil? && custom_label2.to_s.length > 50
865
+ fail ArgumentError, 'invalid value for "custom_label2", the character length must be smaller than or equal to 50.'
866
+ end
867
+
868
+ @custom_label2 = custom_label2
869
+ end
870
+
871
+ # Custom attribute writer method with validation
872
+ # @param [Object] custom_label3 Value to be assigned
873
+ def custom_label3=(custom_label3)
874
+ if !custom_label3.nil? && custom_label3.to_s.length > 50
875
+ fail ArgumentError, 'invalid value for "custom_label3", the character length must be smaller than or equal to 50.'
876
+ end
877
+
878
+ @custom_label3 = custom_label3
879
+ end
880
+
881
+ # Custom attribute writer method with validation
882
+ # @param [Object] custom_label4 Value to be assigned
883
+ def custom_label4=(custom_label4)
884
+ if !custom_label4.nil? && custom_label4.to_s.length > 50
885
+ fail ArgumentError, 'invalid value for "custom_label4", the character length must be smaller than or equal to 50.'
886
+ end
887
+
888
+ @custom_label4 = custom_label4
889
+ end
890
+
891
+ # Custom attribute writer method with validation
892
+ # @param [Object] gender Value to be assigned
893
+ def gender=(gender)
894
+ if !gender.nil? && gender.to_s.length > 6
895
+ fail ArgumentError, 'invalid value for "gender", the character length must be smaller than or equal to 6.'
896
+ end
897
+
898
+ @gender = gender
899
+ end
900
+
901
+ # Custom attribute writer method with validation
902
+ # @param [Object] google_product_category Value to be assigned
903
+ def google_product_category=(google_product_category)
904
+ if !google_product_category.nil? && google_product_category.to_s.length > 250
905
+ fail ArgumentError, 'invalid value for "google_product_category", the character length must be smaller than or equal to 250.'
906
+ end
907
+
908
+ @google_product_category = google_product_category
909
+ end
910
+
911
+ # Custom attribute writer method with validation
912
+ # @param [Object] music_artist Value to be assigned
913
+ def music_artist=(music_artist)
914
+ if !music_artist.nil? && music_artist.to_s.length > 50
915
+ fail ArgumentError, 'invalid value for "music_artist", the character length must be smaller than or equal to 50.'
916
+ end
917
+
918
+ @music_artist = music_artist
919
+ end
920
+
921
+ # Custom attribute writer method with validation
922
+ # @param [Object] music_format Value to be assigned
923
+ def music_format=(music_format)
924
+ if !music_format.nil? && music_format.to_s.length > 5
925
+ fail ArgumentError, 'invalid value for "music_format", the character length must be smaller than or equal to 5.'
926
+ end
927
+
928
+ @music_format = music_format
929
+ end
930
+
931
+ # Custom attribute writer method with validation
932
+ # @param [Object] product_type Value to be assigned
933
+ def product_type=(product_type)
934
+ if !product_type.nil? && product_type.to_s.length > 10
935
+ fail ArgumentError, 'invalid value for "product_type", the character length must be smaller than or equal to 10.'
936
+ end
937
+
938
+ @product_type = product_type
939
+ end
940
+
941
+ # Custom attribute writer method with validation
942
+ # @param [Object] promotion_id1 Value to be assigned
943
+ def promotion_id1=(promotion_id1)
944
+ if !promotion_id1.nil? && promotion_id1.to_s.length > 30
945
+ fail ArgumentError, 'invalid value for "promotion_id1", the character length must be smaller than or equal to 30.'
946
+ end
947
+
948
+ @promotion_id1 = promotion_id1
949
+ end
950
+
951
+ # Custom attribute writer method with validation
952
+ # @param [Object] promotion_id10 Value to be assigned
953
+ def promotion_id10=(promotion_id10)
954
+ if !promotion_id10.nil? && promotion_id10.to_s.length > 30
955
+ fail ArgumentError, 'invalid value for "promotion_id10", the character length must be smaller than or equal to 30.'
956
+ end
957
+
958
+ @promotion_id10 = promotion_id10
959
+ end
960
+
961
+ # Custom attribute writer method with validation
962
+ # @param [Object] promotion_id2 Value to be assigned
963
+ def promotion_id2=(promotion_id2)
964
+ if !promotion_id2.nil? && promotion_id2.to_s.length > 30
965
+ fail ArgumentError, 'invalid value for "promotion_id2", the character length must be smaller than or equal to 30.'
966
+ end
967
+
968
+ @promotion_id2 = promotion_id2
969
+ end
970
+
971
+ # Custom attribute writer method with validation
972
+ # @param [Object] promotion_id3 Value to be assigned
973
+ def promotion_id3=(promotion_id3)
974
+ if !promotion_id3.nil? && promotion_id3.to_s.length > 30
975
+ fail ArgumentError, 'invalid value for "promotion_id3", the character length must be smaller than or equal to 30.'
976
+ end
977
+
978
+ @promotion_id3 = promotion_id3
979
+ end
980
+
981
+ # Custom attribute writer method with validation
982
+ # @param [Object] promotion_id4 Value to be assigned
983
+ def promotion_id4=(promotion_id4)
984
+ if !promotion_id4.nil? && promotion_id4.to_s.length > 30
985
+ fail ArgumentError, 'invalid value for "promotion_id4", the character length must be smaller than or equal to 30.'
986
+ end
987
+
988
+ @promotion_id4 = promotion_id4
989
+ end
990
+
991
+ # Custom attribute writer method with validation
992
+ # @param [Object] promotion_id5 Value to be assigned
993
+ def promotion_id5=(promotion_id5)
994
+ if !promotion_id5.nil? && promotion_id5.to_s.length > 30
995
+ fail ArgumentError, 'invalid value for "promotion_id5", the character length must be smaller than or equal to 30.'
996
+ end
997
+
998
+ @promotion_id5 = promotion_id5
999
+ end
1000
+
1001
+ # Custom attribute writer method with validation
1002
+ # @param [Object] promotion_id6 Value to be assigned
1003
+ def promotion_id6=(promotion_id6)
1004
+ if !promotion_id6.nil? && promotion_id6.to_s.length > 30
1005
+ fail ArgumentError, 'invalid value for "promotion_id6", the character length must be smaller than or equal to 30.'
1006
+ end
1007
+
1008
+ @promotion_id6 = promotion_id6
1009
+ end
1010
+
1011
+ # Custom attribute writer method with validation
1012
+ # @param [Object] promotion_id7 Value to be assigned
1013
+ def promotion_id7=(promotion_id7)
1014
+ if !promotion_id7.nil? && promotion_id7.to_s.length > 30
1015
+ fail ArgumentError, 'invalid value for "promotion_id7", the character length must be smaller than or equal to 30.'
1016
+ end
1017
+
1018
+ @promotion_id7 = promotion_id7
1019
+ end
1020
+
1021
+ # Custom attribute writer method with validation
1022
+ # @param [Object] promotion_id8 Value to be assigned
1023
+ def promotion_id8=(promotion_id8)
1024
+ if !promotion_id8.nil? && promotion_id8.to_s.length > 30
1025
+ fail ArgumentError, 'invalid value for "promotion_id8", the character length must be smaller than or equal to 30.'
1026
+ end
1027
+
1028
+ @promotion_id8 = promotion_id8
1029
+ end
1030
+
1031
+ # Custom attribute writer method with validation
1032
+ # @param [Object] promotion_id9 Value to be assigned
1033
+ def promotion_id9=(promotion_id9)
1034
+ if !promotion_id9.nil? && promotion_id9.to_s.length > 30
1035
+ fail ArgumentError, 'invalid value for "promotion_id9", the character length must be smaller than or equal to 30.'
1036
+ end
1037
+
1038
+ @promotion_id9 = promotion_id9
1039
+ end
1040
+
1041
+ # Custom attribute writer method with validation
1042
+ # @param [Object] search_lowest_url Value to be assigned
1043
+ def search_lowest_url=(search_lowest_url)
1044
+ if !search_lowest_url.nil? && search_lowest_url.to_s.length > 250
1045
+ fail ArgumentError, 'invalid value for "search_lowest_url", the character length must be smaller than or equal to 250.'
1046
+ end
1047
+
1048
+ @search_lowest_url = search_lowest_url
1049
+ end
1050
+
1051
+ # Custom attribute writer method with validation
1052
+ # @param [Object] size Value to be assigned
1053
+ def size=(size)
1054
+ if !size.nil? && size.to_s.length > 20
1055
+ fail ArgumentError, 'invalid value for "size", the character length must be smaller than or equal to 20.'
1056
+ end
1057
+
1058
+ @size = size
1059
+ end
1060
+
1061
+ # Custom attribute writer method with validation
1062
+ # @param [Object] video_director Value to be assigned
1063
+ def video_director=(video_director)
1064
+ if !video_director.nil? && video_director.to_s.length > 50
1065
+ fail ArgumentError, 'invalid value for "video_director", the character length must be smaller than or equal to 50.'
1066
+ end
1067
+
1068
+ @video_director = video_director
1069
+ end
1070
+
1071
+ # Custom attribute writer method with validation
1072
+ # @param [Object] video_format Value to be assigned
1073
+ def video_format=(video_format)
1074
+ if !video_format.nil? && video_format.to_s.length > 5
1075
+ fail ArgumentError, 'invalid value for "video_format", the character length must be smaller than or equal to 5.'
1076
+ end
1077
+
1078
+ @video_format = video_format
1079
+ end
1080
+
1081
+ # Custom attribute writer method with validation
1082
+ # @param [Object] video_rating Value to be assigned
1083
+ def video_rating=(video_rating)
1084
+ if !video_rating.nil? && video_rating.to_s.length > 5
1085
+ fail ArgumentError, 'invalid value for "video_rating", the character length must be smaller than or equal to 5.'
1086
+ end
1087
+
1088
+ @video_rating = video_rating
1089
+ end
1090
+
1091
+ # Custom attribute writer method with validation
1092
+ # @param [Object] video_starring Value to be assigned
1093
+ def video_starring=(video_starring)
1094
+ if !video_starring.nil? && video_starring.to_s.length > 150
1095
+ fail ArgumentError, 'invalid value for "video_starring", the character length must be smaller than or equal to 150.'
1096
+ end
1097
+
1098
+ @video_starring = video_starring
1099
+ end
1100
+
1101
+ # Checks equality by comparing each attribute.
1102
+ # @param [Object] Object to be compared
1103
+ def ==(o)
1104
+ return true if self.equal?(o)
1105
+ self.class == o.class &&
1106
+ adwords_grouping == o.adwords_grouping &&
1107
+ adwords_label1 == o.adwords_label1 &&
1108
+ adwords_label2 == o.adwords_label2 &&
1109
+ adwords_label3 == o.adwords_label3 &&
1110
+ adwords_label4 == o.adwords_label4 &&
1111
+ adwords_label5 == o.adwords_label5 &&
1112
+ age_group == o.age_group &&
1113
+ available_at_physical_store == o.available_at_physical_store &&
1114
+ book_author == o.book_author &&
1115
+ book_format == o.book_format &&
1116
+ book_isbn == o.book_isbn &&
1117
+ book_publisher == o.book_publisher &&
1118
+ category_description == o.category_description &&
1119
+ color == o.color &&
1120
+ condition == o.condition &&
1121
+ custom_label0 == o.custom_label0 &&
1122
+ custom_label1 == o.custom_label1 &&
1123
+ custom_label2 == o.custom_label2 &&
1124
+ custom_label3 == o.custom_label3 &&
1125
+ custom_label4 == o.custom_label4 &&
1126
+ gender == o.gender &&
1127
+ google_product_category == o.google_product_category &&
1128
+ music_artist == o.music_artist &&
1129
+ music_format == o.music_format &&
1130
+ music_release_date == o.music_release_date &&
1131
+ omit_from_feed == o.omit_from_feed &&
1132
+ product_type == o.product_type &&
1133
+ promotion_id1 == o.promotion_id1 &&
1134
+ promotion_id10 == o.promotion_id10 &&
1135
+ promotion_id2 == o.promotion_id2 &&
1136
+ promotion_id3 == o.promotion_id3 &&
1137
+ promotion_id4 == o.promotion_id4 &&
1138
+ promotion_id5 == o.promotion_id5 &&
1139
+ promotion_id6 == o.promotion_id6 &&
1140
+ promotion_id7 == o.promotion_id7 &&
1141
+ promotion_id8 == o.promotion_id8 &&
1142
+ promotion_id9 == o.promotion_id9 &&
1143
+ search_dts == o.search_dts &&
1144
+ search_lowest_price == o.search_lowest_price &&
1145
+ search_lowest_url == o.search_lowest_url &&
1146
+ search_position == o.search_position &&
1147
+ shipping_label == o.shipping_label &&
1148
+ size == o.size &&
1149
+ video_director == o.video_director &&
1150
+ video_format == o.video_format &&
1151
+ video_rating == o.video_rating &&
1152
+ video_release_date == o.video_release_date &&
1153
+ video_starring == o.video_starring
1154
+ end
1155
+
1156
+ # @see the `==` method
1157
+ # @param [Object] Object to be compared
1158
+ def eql?(o)
1159
+ self == o
1160
+ end
1161
+
1162
+ # Calculates hash code according to all attributes.
1163
+ # @return [Integer] Hash code
1164
+ def hash
1165
+ [adwords_grouping, adwords_label1, adwords_label2, adwords_label3, adwords_label4, adwords_label5, age_group, available_at_physical_store, book_author, book_format, book_isbn, book_publisher, category_description, color, condition, custom_label0, custom_label1, custom_label2, custom_label3, custom_label4, gender, google_product_category, music_artist, music_format, music_release_date, omit_from_feed, product_type, promotion_id1, promotion_id10, promotion_id2, promotion_id3, promotion_id4, promotion_id5, promotion_id6, promotion_id7, promotion_id8, promotion_id9, search_dts, search_lowest_price, search_lowest_url, search_position, shipping_label, size, video_director, video_format, video_rating, video_release_date, video_starring].hash
1166
+ end
1167
+
1168
+ # Builds the object from hash
1169
+ # @param [Hash] attributes Model attributes in the form of hash
1170
+ # @return [Object] Returns the model itself
1171
+ def self.build_from_hash(attributes)
1172
+ new.build_from_hash(attributes)
1173
+ end
1174
+
1175
+ # Builds the object from hash
1176
+ # @param [Hash] attributes Model attributes in the form of hash
1177
+ # @return [Object] Returns the model itself
1178
+ def build_from_hash(attributes)
1179
+ return nil unless attributes.is_a?(Hash)
1180
+ attributes = attributes.transform_keys(&:to_sym)
1181
+ self.class.openapi_types.each_pair do |key, type|
1182
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
1183
+ self.send("#{key}=", nil)
1184
+ elsif type =~ /\AArray<(.*)>/i
1185
+ # check to ensure the input is an array given that the attribute
1186
+ # is documented as an array but the input is not
1187
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
1188
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
1189
+ end
1190
+ elsif !attributes[self.class.attribute_map[key]].nil?
1191
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
1192
+ end
1193
+ end
1194
+
1195
+ self
1196
+ end
1197
+
1198
+ # Deserializes the data based on type
1199
+ # @param string type Data type
1200
+ # @param string value Value to be deserialized
1201
+ # @return [Object] Deserialized data
1202
+ def _deserialize(type, value)
1203
+ case type.to_sym
1204
+ when :Time
1205
+ Time.parse(value)
1206
+ when :Date
1207
+ Date.parse(value)
1208
+ when :String
1209
+ value.to_s
1210
+ when :Integer
1211
+ value.to_i
1212
+ when :Float
1213
+ value.to_f
1214
+ when :Boolean
1215
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
1216
+ true
1217
+ else
1218
+ false
1219
+ end
1220
+ when :Object
1221
+ # generic object (usually a Hash), return directly
1222
+ value
1223
+ when /\AArray<(?<inner_type>.+)>\z/
1224
+ inner_type = Regexp.last_match[:inner_type]
1225
+ value.map { |v| _deserialize(inner_type, v) }
1226
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
1227
+ k_type = Regexp.last_match[:k_type]
1228
+ v_type = Regexp.last_match[:v_type]
1229
+ {}.tap do |hash|
1230
+ value.each do |k, v|
1231
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
1232
+ end
1233
+ end
1234
+ else # model
1235
+ # models (e.g. Pet) or oneOf
1236
+ klass = UltracartClient.const_get(type)
1237
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
1238
+ end
1239
+ end
1240
+
1241
+ # Returns the string representation of the object
1242
+ # @return [String] String presentation of the object
1243
+ def to_s
1244
+ to_hash.to_s
1245
+ end
1246
+
1247
+ # to_body is an alias to to_hash (backward compatibility)
1248
+ # @return [Hash] Returns the object in the form of hash
1249
+ def to_body
1250
+ to_hash
1251
+ end
1252
+
1253
+ # Returns the object in the form of hash
1254
+ # @return [Hash] Returns the object in the form of hash
1255
+ def to_hash
1256
+ hash = {}
1257
+ self.class.attribute_map.each_pair do |attr, param|
1258
+ value = self.send(attr)
1259
+ if value.nil?
1260
+ is_nullable = self.class.openapi_nullable.include?(attr)
1261
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
1262
+ end
1263
+
1264
+ hash[param] = _to_hash(value)
1265
+ end
1266
+ hash
1267
+ end
1268
+
1269
+ # Outputs non-array value in the form of hash
1270
+ # For object, use to_hash. Otherwise, just return the value
1271
+ # @param [Object] value Any valid value
1272
+ # @return [Hash] Returns the value in the form of hash
1273
+ def _to_hash(value)
1274
+ if value.is_a?(Array)
1275
+ value.compact.map { |v| _to_hash(v) }
1276
+ elsif value.is_a?(Hash)
1277
+ {}.tap do |hash|
1278
+ value.each { |k, v| hash[k] = _to_hash(v) }
1279
+ end
1280
+ elsif value.respond_to? :to_hash
1281
+ value.to_hash
1282
+ else
1283
+ value
1284
+ end
1285
+ end
1286
+
1287
+ end
1288
+
1289
+ end