ultracart_api 3.10.213 → 4.0.32.rc

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1765) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +9 -7
  3. data/README.md +1166 -1703
  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 -578
  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 -98
  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 -12
  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 -36
  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 -20
  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 -12
  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 -55
  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 -45
  470. data/docs/OrderAffiliate.md +22 -10
  471. data/docs/OrderAffiliateLedger.md +34 -16
  472. data/docs/OrderApi.md +1856 -1520
  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 -72
  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 -26
  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 -8
  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 -29
  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 -8
  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 -9321
  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 -8
  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 -18
  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 -11
  652. data/docs/WebhookSampleRequestResponse.md +26 -12
  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 -664
  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 -1700
  669. data/lib/ultracart_api/api/sso_api.rb +289 -243
  670. data/lib/ultracart_api/api/storefront_api.rb +11407 -10517
  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 -1703
  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 -229
  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 -754
  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 -326
  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 -229
  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 -678
  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 -610
  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 -1019
  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 -406
  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 -187
  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 -373
  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 -185
  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 -185
  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 -289
  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/webhook_sample_request.rb +252 -217
  1306. data/lib/ultracart_api/models/webhook_sample_request_response.rb +256 -221
  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 -914
  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 +5 -615
  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 -20
  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 -44
  1472. data/docs/ItemReviewResponse.md +0 -12
  1473. data/docs/ItemReviewsResponse.md +0 -12
  1474. data/docs/OrderEdiDocument.md +0 -21
  1475. data/docs/OrderEdiDocumentsResponse.md +0 -12
  1476. data/docs/OrderInvoiceResponse.md +0 -12
  1477. data/docs/OrderPaymentCreditCardDualVaulted.md +0 -10
  1478. data/docs/OrderPaymentCreditCardDualVaultedProperty.md +0 -9
  1479. data/docs/OrderPaymentHealthBenefitCard.md +0 -13
  1480. data/docs/OrderPointOfSale.md +0 -10
  1481. data/docs/OrderReason.md +0 -10
  1482. data/docs/OrderRefundableResponse.md +0 -20
  1483. data/docs/OrderTransactionalMerchantNote.md +0 -11
  1484. data/docs/OrderUtm.md +0 -37
  1485. data/docs/OrderValidationRequest.md +0 -9
  1486. data/docs/OrderValidationResponse.md +0 -10
  1487. data/docs/PointOfSaleLocation.md +0 -17
  1488. data/docs/PointOfSaleReader.md +0 -16
  1489. data/docs/PointOfSaleRegister.md +0 -11
  1490. data/docs/Report.md +0 -18
  1491. data/docs/ReportAuth.md +0 -11
  1492. data/docs/ReportAuthResponse.md +0 -12
  1493. data/docs/ReportDataSet.md +0 -24
  1494. data/docs/ReportDataSetColumn.md +0 -13
  1495. data/docs/ReportDataSetPage.md +0 -17
  1496. data/docs/ReportDataSetPageResponse.md +0 -12
  1497. data/docs/ReportDataSetQuery.md +0 -20
  1498. data/docs/ReportDataSetQueryOrderByColumn.md +0 -9
  1499. data/docs/ReportDataSetResponse.md +0 -12
  1500. data/docs/ReportDataSetRow.md +0 -8
  1501. data/docs/ReportDataSetSchema.md +0 -10
  1502. data/docs/ReportDataSource.md +0 -14
  1503. data/docs/ReportDataSourceSchema.md +0 -11
  1504. data/docs/ReportDryRunQueriesRequest.md +0 -13
  1505. data/docs/ReportDryRunQueriesResponse.md +0 -8
  1506. data/docs/ReportDryRunQueryResult.md +0 -9
  1507. data/docs/ReportExecuteQueriesRequest.md +0 -15
  1508. data/docs/ReportFilter.md +0 -13
  1509. data/docs/ReportFilterConnection.md +0 -10
  1510. data/docs/ReportPage.md +0 -13
  1511. data/docs/ReportPageFilter.md +0 -11
  1512. data/docs/ReportPageVisualization.md +0 -17
  1513. data/docs/ReportPageVisualizationDimension.md +0 -14
  1514. data/docs/ReportPageVisualizationMetric.md +0 -11
  1515. data/docs/ReportResponse.md +0 -12
  1516. data/docs/ReportWebsocketEvent.md +0 -9
  1517. data/docs/ReportsResponse.md +0 -12
  1518. data/docs/RulerValidationRequest.md +0 -8
  1519. data/docs/RulerValidationResponse.md +0 -9
  1520. data/docs/StoreFront.md +0 -18
  1521. data/docs/StoreFrontsResponse.md +0 -12
  1522. data/docs/WorkflowAgentAuth.md +0 -10
  1523. data/docs/WorkflowAgentAuthResponse.md +0 -12
  1524. data/docs/WorkflowApi.md +0 -620
  1525. data/docs/WorkflowAttachment.md +0 -12
  1526. data/docs/WorkflowAttachmentUploadUrl.md +0 -9
  1527. data/docs/WorkflowAttachmentUploadUrlResponse.md +0 -12
  1528. data/docs/WorkflowGroup.md +0 -9
  1529. data/docs/WorkflowGroupsResponse.md +0 -12
  1530. data/docs/WorkflowNote.md +0 -13
  1531. data/docs/WorkflowTask.md +0 -39
  1532. data/docs/WorkflowTaskHistory.md +0 -11
  1533. data/docs/WorkflowTaskOpenCountResponse.md +0 -12
  1534. data/docs/WorkflowTaskResponse.md +0 -12
  1535. data/docs/WorkflowTaskTagsResponse.md +0 -12
  1536. data/docs/WorkflowTasksRequest.md +0 -27
  1537. data/docs/WorkflowTasksResponse.md +0 -13
  1538. data/docs/WorkflowUser.md +0 -10
  1539. data/docs/WorkflowUserResponse.md +0 -12
  1540. data/docs/WorkflowUsersResponse.md +0 -13
  1541. data/lib/ultracart_api/api/conversation_api.rb +0 -4583
  1542. data/lib/ultracart_api/api/datawarehouse_api.rb +0 -584
  1543. data/lib/ultracart_api/api/workflow_api.rb +0 -693
  1544. data/lib/ultracart_api/models/accounts_receivable_retry_transaction_reject.rb +0 -195
  1545. data/lib/ultracart_api/models/auto_order_addon_item.rb +0 -232
  1546. data/lib/ultracart_api/models/auto_order_addon_item_option.rb +0 -225
  1547. data/lib/ultracart_api/models/auto_order_consolidate.rb +0 -186
  1548. data/lib/ultracart_api/models/auto_order_management.rb +0 -185
  1549. data/lib/ultracart_api/models/cart_item_property.rb +0 -245
  1550. data/lib/ultracart_api/models/cart_payment_health_benefit_card.rb +0 -235
  1551. data/lib/ultracart_api/models/channel_partner.rb +0 -255
  1552. data/lib/ultracart_api/models/channel_partner_ship_to_preference.rb +0 -262
  1553. data/lib/ultracart_api/models/channel_partner_ship_to_preference_response.rb +0 -221
  1554. data/lib/ultracart_api/models/channel_partner_ship_to_preferences_response.rb +0 -224
  1555. data/lib/ultracart_api/models/channel_partners_response.rb +0 -224
  1556. data/lib/ultracart_api/models/conversation.rb +0 -390
  1557. data/lib/ultracart_api/models/conversation_agent_auth.rb +0 -294
  1558. data/lib/ultracart_api/models/conversation_agent_auth_response.rb +0 -221
  1559. data/lib/ultracart_api/models/conversation_agent_profile.rb +0 -279
  1560. data/lib/ultracart_api/models/conversation_agent_profile_response.rb +0 -221
  1561. data/lib/ultracart_api/models/conversation_autocomplete_request.rb +0 -193
  1562. data/lib/ultracart_api/models/conversation_autocomplete_response.rb +0 -241
  1563. data/lib/ultracart_api/models/conversation_autocomplete_value.rb +0 -193
  1564. data/lib/ultracart_api/models/conversation_canned_message.rb +0 -213
  1565. data/lib/ultracart_api/models/conversation_canned_message_response.rb +0 -221
  1566. data/lib/ultracart_api/models/conversation_canned_messages_response.rb +0 -223
  1567. data/lib/ultracart_api/models/conversation_canned_messages_search.rb +0 -193
  1568. data/lib/ultracart_api/models/conversation_department.rb +0 -222
  1569. data/lib/ultracart_api/models/conversation_department_member.rb +0 -202
  1570. data/lib/ultracart_api/models/conversation_department_members_response.rb +0 -223
  1571. data/lib/ultracart_api/models/conversation_department_response.rb +0 -221
  1572. data/lib/ultracart_api/models/conversation_department_settings.rb +0 -175
  1573. data/lib/ultracart_api/models/conversation_departments_response.rb +0 -223
  1574. data/lib/ultracart_api/models/conversation_engagement.rb +0 -293
  1575. data/lib/ultracart_api/models/conversation_engagement_equation.rb +0 -186
  1576. data/lib/ultracart_api/models/conversation_engagement_equation_function.rb +0 -414
  1577. data/lib/ultracart_api/models/conversation_engagement_equation_group.rb +0 -186
  1578. data/lib/ultracart_api/models/conversation_engagement_response.rb +0 -221
  1579. data/lib/ultracart_api/models/conversation_engagements_response.rb +0 -223
  1580. data/lib/ultracart_api/models/conversation_event_add_coupon.rb +0 -202
  1581. data/lib/ultracart_api/models/conversation_event_add_item.rb +0 -204
  1582. data/lib/ultracart_api/models/conversation_event_queue_position.rb +0 -195
  1583. data/lib/ultracart_api/models/conversation_event_read_message.rb +0 -203
  1584. data/lib/ultracart_api/models/conversation_event_rr_web.rb +0 -273
  1585. data/lib/ultracart_api/models/conversation_event_typing.rb +0 -202
  1586. data/lib/ultracart_api/models/conversation_event_webchat_context.rb +0 -202
  1587. data/lib/ultracart_api/models/conversation_join_request.rb +0 -184
  1588. data/lib/ultracart_api/models/conversation_location_country.rb +0 -204
  1589. data/lib/ultracart_api/models/conversation_location_state_province.rb +0 -193
  1590. data/lib/ultracart_api/models/conversation_locations_response.rb +0 -223
  1591. data/lib/ultracart_api/models/conversation_message.rb +0 -356
  1592. data/lib/ultracart_api/models/conversation_message_translation.rb +0 -193
  1593. data/lib/ultracart_api/models/conversation_message_transport_status.rb +0 -228
  1594. data/lib/ultracart_api/models/conversation_messages_response.rb +0 -223
  1595. data/lib/ultracart_api/models/conversation_multimedia_upload_url.rb +0 -193
  1596. data/lib/ultracart_api/models/conversation_multimedia_upload_url_response.rb +0 -221
  1597. data/lib/ultracart_api/models/conversation_participant.rb +0 -295
  1598. data/lib/ultracart_api/models/conversation_pbx_agent.rb +0 -440
  1599. data/lib/ultracart_api/models/conversation_pbx_agent_response.rb +0 -221
  1600. data/lib/ultracart_api/models/conversation_pbx_agents_response.rb +0 -223
  1601. data/lib/ultracart_api/models/conversation_pbx_audio.rb +0 -365
  1602. data/lib/ultracart_api/models/conversation_pbx_audio_response.rb +0 -221
  1603. data/lib/ultracart_api/models/conversation_pbx_audio_upload_url.rb +0 -193
  1604. data/lib/ultracart_api/models/conversation_pbx_audio_upload_url_response.rb +0 -221
  1605. data/lib/ultracart_api/models/conversation_pbx_audio_usage_response.rb +0 -245
  1606. data/lib/ultracart_api/models/conversation_pbx_audios_response.rb +0 -223
  1607. data/lib/ultracart_api/models/conversation_pbx_customer_snapshot_request.rb +0 -248
  1608. data/lib/ultracart_api/models/conversation_pbx_customer_snapshot_response.rb +0 -245
  1609. data/lib/ultracart_api/models/conversation_pbx_menu.rb +0 -416
  1610. data/lib/ultracart_api/models/conversation_pbx_menu_mapping.rb +0 -269
  1611. data/lib/ultracart_api/models/conversation_pbx_menu_response.rb +0 -221
  1612. data/lib/ultracart_api/models/conversation_pbx_menus_response.rb +0 -223
  1613. data/lib/ultracart_api/models/conversation_pbx_phone_number.rb +0 -324
  1614. data/lib/ultracart_api/models/conversation_pbx_phone_number_response.rb +0 -221
  1615. data/lib/ultracart_api/models/conversation_pbx_phone_numbers_response.rb +0 -223
  1616. data/lib/ultracart_api/models/conversation_pbx_queue.rb +0 -534
  1617. data/lib/ultracart_api/models/conversation_pbx_queue_members.rb +0 -197
  1618. data/lib/ultracart_api/models/conversation_pbx_queue_response.rb +0 -221
  1619. data/lib/ultracart_api/models/conversation_pbx_queues_response.rb +0 -223
  1620. data/lib/ultracart_api/models/conversation_pbx_time_based.rb +0 -211
  1621. data/lib/ultracart_api/models/conversation_pbx_time_based_mapping.rb +0 -299
  1622. data/lib/ultracart_api/models/conversation_pbx_time_based_mapping_config.rb +0 -196
  1623. data/lib/ultracart_api/models/conversation_pbx_time_based_response.rb +0 -221
  1624. data/lib/ultracart_api/models/conversation_pbx_time_baseds_response.rb +0 -223
  1625. data/lib/ultracart_api/models/conversation_pbx_time_range.rb +0 -287
  1626. data/lib/ultracart_api/models/conversation_pbx_time_range_config.rb +0 -235
  1627. data/lib/ultracart_api/models/conversation_pbx_time_range_response.rb +0 -221
  1628. data/lib/ultracart_api/models/conversation_pbx_time_ranges_response.rb +0 -223
  1629. data/lib/ultracart_api/models/conversation_pbx_voicemail_mailbox.rb +0 -458
  1630. data/lib/ultracart_api/models/conversation_pbx_voicemail_mailbox_response.rb +0 -221
  1631. data/lib/ultracart_api/models/conversation_pbx_voicemail_mailboxes_response.rb +0 -223
  1632. data/lib/ultracart_api/models/conversation_pbx_voicemail_message.rb +0 -339
  1633. data/lib/ultracart_api/models/conversation_pbx_voicemail_message_response.rb +0 -221
  1634. data/lib/ultracart_api/models/conversation_pbx_voicemail_message_summaries_response.rb +0 -223
  1635. data/lib/ultracart_api/models/conversation_pbx_voicemail_message_summary.rb +0 -309
  1636. data/lib/ultracart_api/models/conversation_permissions.rb +0 -184
  1637. data/lib/ultracart_api/models/conversation_permissions_response.rb +0 -221
  1638. data/lib/ultracart_api/models/conversation_response.rb +0 -221
  1639. data/lib/ultracart_api/models/conversation_search_request.rb +0 -285
  1640. data/lib/ultracart_api/models/conversation_search_response.rb +0 -213
  1641. data/lib/ultracart_api/models/conversation_sentiment.rb +0 -269
  1642. data/lib/ultracart_api/models/conversation_start_request.rb +0 -204
  1643. data/lib/ultracart_api/models/conversation_start_response.rb +0 -184
  1644. data/lib/ultracart_api/models/conversation_summary.rb +0 -369
  1645. data/lib/ultracart_api/models/conversation_twilio_account.rb +0 -195
  1646. data/lib/ultracart_api/models/conversation_webchat_context.rb +0 -254
  1647. data/lib/ultracart_api/models/conversation_webchat_queue_status.rb +0 -315
  1648. data/lib/ultracart_api/models/conversation_webchat_queue_status_agent.rb +0 -266
  1649. data/lib/ultracart_api/models/conversation_webchat_queue_status_queue_entry.rb +0 -248
  1650. data/lib/ultracart_api/models/conversation_webchat_queue_status_update_request.rb +0 -219
  1651. data/lib/ultracart_api/models/conversation_webchat_queue_statuses_response.rb +0 -223
  1652. data/lib/ultracart_api/models/conversation_websocket_message.rb +0 -441
  1653. data/lib/ultracart_api/models/conversations_response.rb +0 -223
  1654. data/lib/ultracart_api/models/coupon_free_item_with_item_purchase_and_free_shipping.rb +0 -219
  1655. data/lib/ultracart_api/models/coupon_more_loyalty_cashback.rb +0 -185
  1656. data/lib/ultracart_api/models/coupon_more_loyalty_points.rb +0 -185
  1657. data/lib/ultracart_api/models/coupon_no_discount.rb +0 -185
  1658. data/lib/ultracart_api/models/coupon_percent_more_loyalty_cashback.rb +0 -185
  1659. data/lib/ultracart_api/models/coupon_percent_more_loyalty_points.rb +0 -185
  1660. data/lib/ultracart_api/models/coupon_tiered_percent_off_subtotal_based_on_msrp.rb +0 -199
  1661. data/lib/ultracart_api/models/customer_edi.rb +0 -205
  1662. data/lib/ultracart_api/models/customer_magic_link_response.rb +0 -222
  1663. data/lib/ultracart_api/models/customer_merge_request.rb +0 -195
  1664. data/lib/ultracart_api/models/customer_property.rb +0 -245
  1665. data/lib/ultracart_api/models/customer_wish_list_item.rb +0 -260
  1666. data/lib/ultracart_api/models/customer_wish_list_item_response.rb +0 -221
  1667. data/lib/ultracart_api/models/customer_wish_list_items_response.rb +0 -223
  1668. data/lib/ultracart_api/models/email_commseq_sequence_test_request.rb +0 -312
  1669. data/lib/ultracart_api/models/email_commseq_sequence_test_response.rb +0 -212
  1670. data/lib/ultracart_api/models/email_commseq_sms_send_test_request.rb +0 -202
  1671. data/lib/ultracart_api/models/email_commseq_sms_send_test_response.rb +0 -232
  1672. data/lib/ultracart_api/models/email_postcard_tracking.rb +0 -404
  1673. data/lib/ultracart_api/models/email_postcard_tracking_response.rb +0 -221
  1674. data/lib/ultracart_api/models/email_rate_limiter.rb +0 -202
  1675. data/lib/ultracart_api/models/email_rate_limiters_response.rb +0 -223
  1676. data/lib/ultracart_api/models/email_sms_order.rb +0 -214
  1677. data/lib/ultracart_api/models/email_sms_orders_response.rb +0 -223
  1678. data/lib/ultracart_api/models/email_sms_stat.rb +0 -476
  1679. data/lib/ultracart_api/models/email_stat_sms_summary_request.rb +0 -195
  1680. data/lib/ultracart_api/models/email_stat_sms_summary_response.rb +0 -223
  1681. data/lib/ultracart_api/models/file_manager_directory.rb +0 -292
  1682. data/lib/ultracart_api/models/file_manager_file.rb +0 -376
  1683. data/lib/ultracart_api/models/file_manager_page.rb +0 -253
  1684. data/lib/ultracart_api/models/file_manager_page_response.rb +0 -221
  1685. data/lib/ultracart_api/models/file_manager_upload_request.rb +0 -202
  1686. data/lib/ultracart_api/models/file_manager_upload_url_response.rb +0 -230
  1687. data/lib/ultracart_api/models/hit_page_view.rb +0 -276
  1688. data/lib/ultracart_api/models/hit_page_view_meta_data.rb +0 -193
  1689. data/lib/ultracart_api/models/hit_session_start.rb +0 -328
  1690. data/lib/ultracart_api/models/hit_session_utm.rb +0 -310
  1691. data/lib/ultracart_api/models/item_digital_item_pdf_meta.rb +0 -315
  1692. data/lib/ultracart_api/models/item_digital_item_response.rb +0 -221
  1693. data/lib/ultracart_api/models/item_digital_items_response.rb +0 -224
  1694. data/lib/ultracart_api/models/item_inventory_snapshot.rb +0 -231
  1695. data/lib/ultracart_api/models/item_inventory_snapshot_distribution_center.rb +0 -220
  1696. data/lib/ultracart_api/models/item_inventory_snapshot_response.rb +0 -224
  1697. data/lib/ultracart_api/models/item_review.rb +0 -801
  1698. data/lib/ultracart_api/models/item_review_response.rb +0 -221
  1699. data/lib/ultracart_api/models/item_reviews_response.rb +0 -224
  1700. data/lib/ultracart_api/models/order_edi_document.rb +0 -337
  1701. data/lib/ultracart_api/models/order_edi_documents_response.rb +0 -224
  1702. data/lib/ultracart_api/models/order_invoice_response.rb +0 -222
  1703. data/lib/ultracart_api/models/order_payment_credit_card_dual_vaulted.rb +0 -204
  1704. data/lib/ultracart_api/models/order_payment_credit_card_dual_vaulted_property.rb +0 -193
  1705. data/lib/ultracart_api/models/order_payment_health_benefit_card.rb +0 -235
  1706. data/lib/ultracart_api/models/order_point_of_sale.rb +0 -202
  1707. data/lib/ultracart_api/models/order_reason.rb +0 -205
  1708. data/lib/ultracart_api/models/order_refundable_response.rb +0 -310
  1709. data/lib/ultracart_api/models/order_transactional_merchant_note.rb +0 -215
  1710. data/lib/ultracart_api/models/order_utm.rb +0 -446
  1711. data/lib/ultracart_api/models/order_validation_request.rb +0 -196
  1712. data/lib/ultracart_api/models/order_validation_response.rb +0 -209
  1713. data/lib/ultracart_api/models/point_of_sale_location.rb +0 -290
  1714. data/lib/ultracart_api/models/point_of_sale_reader.rb +0 -299
  1715. data/lib/ultracart_api/models/point_of_sale_register.rb +0 -215
  1716. data/lib/ultracart_api/models/report.rb +0 -317
  1717. data/lib/ultracart_api/models/report_auth.rb +0 -212
  1718. data/lib/ultracart_api/models/report_auth_response.rb +0 -221
  1719. data/lib/ultracart_api/models/report_data_set.rb +0 -381
  1720. data/lib/ultracart_api/models/report_data_set_column.rb +0 -229
  1721. data/lib/ultracart_api/models/report_data_set_page.rb +0 -273
  1722. data/lib/ultracart_api/models/report_data_set_page_response.rb +0 -221
  1723. data/lib/ultracart_api/models/report_data_set_query.rb +0 -342
  1724. data/lib/ultracart_api/models/report_data_set_query_order_by_column.rb +0 -193
  1725. data/lib/ultracart_api/models/report_data_set_response.rb +0 -221
  1726. data/lib/ultracart_api/models/report_data_set_row.rb +0 -186
  1727. data/lib/ultracart_api/models/report_data_set_schema.rb +0 -238
  1728. data/lib/ultracart_api/models/report_data_source.rb +0 -242
  1729. data/lib/ultracart_api/models/report_data_source_schema.rb +0 -248
  1730. data/lib/ultracart_api/models/report_dry_run_queries_request.rb +0 -231
  1731. data/lib/ultracart_api/models/report_dry_run_queries_response.rb +0 -186
  1732. data/lib/ultracart_api/models/report_dry_run_query_result.rb +0 -193
  1733. data/lib/ultracart_api/models/report_execute_queries_request.rb +0 -288
  1734. data/lib/ultracart_api/models/report_filter.rb +0 -272
  1735. data/lib/ultracart_api/models/report_filter_connection.rb +0 -203
  1736. data/lib/ultracart_api/models/report_page.rb +0 -237
  1737. data/lib/ultracart_api/models/report_page_filter.rb +0 -214
  1738. data/lib/ultracart_api/models/report_page_visualization.rb +0 -309
  1739. data/lib/ultracart_api/models/report_page_visualization_dimension.rb +0 -244
  1740. data/lib/ultracart_api/models/report_page_visualization_metric.rb +0 -248
  1741. data/lib/ultracart_api/models/report_response.rb +0 -221
  1742. data/lib/ultracart_api/models/report_websocket_event.rb +0 -228
  1743. data/lib/ultracart_api/models/reports_response.rb +0 -223
  1744. data/lib/ultracart_api/models/ruler_validation_request.rb +0 -184
  1745. data/lib/ultracart_api/models/ruler_validation_response.rb +0 -193
  1746. data/lib/ultracart_api/models/store_front.rb +0 -274
  1747. data/lib/ultracart_api/models/store_fronts_response.rb +0 -223
  1748. data/lib/ultracart_api/models/workflow_agent_auth.rb +0 -202
  1749. data/lib/ultracart_api/models/workflow_agent_auth_response.rb +0 -221
  1750. data/lib/ultracart_api/models/workflow_attachment.rb +0 -225
  1751. data/lib/ultracart_api/models/workflow_attachment_upload_url.rb +0 -193
  1752. data/lib/ultracart_api/models/workflow_attachment_upload_url_response.rb +0 -221
  1753. data/lib/ultracart_api/models/workflow_group.rb +0 -195
  1754. data/lib/ultracart_api/models/workflow_groups_response.rb +0 -224
  1755. data/lib/ultracart_api/models/workflow_note.rb +0 -236
  1756. data/lib/ultracart_api/models/workflow_task.rb +0 -574
  1757. data/lib/ultracart_api/models/workflow_task_history.rb +0 -214
  1758. data/lib/ultracart_api/models/workflow_task_open_count_response.rb +0 -222
  1759. data/lib/ultracart_api/models/workflow_task_response.rb +0 -221
  1760. data/lib/ultracart_api/models/workflow_task_tags_response.rb +0 -224
  1761. data/lib/ultracart_api/models/workflow_tasks_request.rb +0 -434
  1762. data/lib/ultracart_api/models/workflow_tasks_response.rb +0 -234
  1763. data/lib/ultracart_api/models/workflow_user.rb +0 -205
  1764. data/lib/ultracart_api/models/workflow_user_response.rb +0 -221
  1765. data/lib/ultracart_api/models/workflow_users_response.rb +0 -234
@@ -1,1703 +1,1604 @@
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 ChannelPartnerOrder
17
- # advertising_source
18
- attr_accessor :advertising_source
19
-
20
- # Affiliate Id
21
- attr_accessor :affiliate_id
22
-
23
- # Affiliate Sub Id
24
- attr_accessor :affiliate_sub_id
25
-
26
- # Arbitrary shipping handling total
27
- attr_accessor :arbitrary_shipping_handling_total
28
-
29
- # Arbitrary tax for overriding calculated taxes
30
- attr_accessor :arbitrary_tax
31
-
32
- # Arbitrary tax rate
33
- attr_accessor :arbitrary_tax_rate
34
-
35
- # Arbitrary taxable subtotal
36
- attr_accessor :arbitrary_taxable_subtotal
37
-
38
- # If true any matching customer profile based on email is associated with this order
39
- attr_accessor :associate_with_customer_profile_if_present
40
-
41
- # If true any purchase orders are automatically approved
42
- attr_accessor :auto_approve_purchase_order
43
-
44
- # Billing Address line 1
45
- attr_accessor :billto_address1
46
-
47
- # Billing Address line 2
48
- attr_accessor :billto_address2
49
-
50
- # Billing City
51
- attr_accessor :billto_city
52
-
53
- # Billing Company
54
- attr_accessor :billto_company
55
-
56
- # Billing ISO-3166 two letter country code
57
- attr_accessor :billto_country_code
58
-
59
- # Billing Day phone
60
- attr_accessor :billto_day_phone
61
-
62
- # Billing Evening phone
63
- attr_accessor :billto_evening_phone
64
-
65
- # Billing First name
66
- attr_accessor :billto_first_name
67
-
68
- # Billing Last name
69
- attr_accessor :billto_last_name
70
-
71
- # Billing Postal code
72
- attr_accessor :billto_postal_code
73
-
74
- # Billing State for United States otherwise region or province for other countries
75
- attr_accessor :billto_state_region
76
-
77
- # Billing Title
78
- attr_accessor :billto_title
79
-
80
- # CC email.
81
- attr_accessor :cc_email
82
-
83
- # The id for this order within the channel partner system.
84
- attr_accessor :channel_partner_order_id
85
-
86
- # If true this order is marked as an auto order (recurring)
87
- attr_accessor :consider_recurring
88
-
89
- # Array of coupon codes
90
- attr_accessor :coupons
91
-
92
- # The amount authorized externally
93
- attr_accessor :credit_card_authorization_amount
94
-
95
- # Date/Time of credit card authorization in ISO8601 format
96
- attr_accessor :credit_card_authorization_dts
97
-
98
- # The reference number provided by an externally processed transaction
99
- attr_accessor :credit_card_authorization_number
100
-
101
- # Credit card expiration month
102
- attr_accessor :credit_card_expiration_month
103
-
104
- # Credit card expiration year
105
- attr_accessor :credit_card_expiration_year
106
-
107
- # Credit card type
108
- attr_accessor :credit_card_type
109
-
110
- # Custom field 1
111
- attr_accessor :custom_field1
112
-
113
- # Custom field 2
114
- attr_accessor :custom_field2
115
-
116
- # Custom field 3
117
- attr_accessor :custom_field3
118
-
119
- # Custom field 4
120
- attr_accessor :custom_field4
121
-
122
- # Custom field 5
123
- attr_accessor :custom_field5
124
-
125
- # Custom field 6
126
- attr_accessor :custom_field6
127
-
128
- # Custom field 7
129
- attr_accessor :custom_field7
130
-
131
- # Date the customer is requesting delivery on. Typically used for perishable product delivery.
132
- attr_accessor :delivery_date
133
-
134
- # eCheck bank ABA code
135
- attr_accessor :echeck_bank_aba_code
136
-
137
- # eCheck bank account name
138
- attr_accessor :echeck_bank_account_name
139
-
140
- # eCheck bank account number
141
- attr_accessor :echeck_bank_account_number
142
-
143
- # eCheck bank account type
144
- attr_accessor :echeck_bank_account_type
145
-
146
- # eCheck bank name
147
- attr_accessor :echeck_bank_name
148
-
149
- # eCheck bank owner type
150
- attr_accessor :echeck_bank_owner_type
151
-
152
- # eCheck customer tax id
153
- attr_accessor :echeck_customer_tax_id
154
-
155
- # eCheck drivers license dob
156
- attr_accessor :echeck_drivers_license_dob
157
-
158
- # eCheck drivers license number
159
- attr_accessor :echeck_drivers_license_number
160
-
161
- # eCheck drivers license state
162
- attr_accessor :echeck_drivers_license_state
163
-
164
- # Email
165
- attr_accessor :email
166
-
167
- # True if this order is a gift
168
- attr_accessor :gift
169
-
170
- # Email address of the gift recipient
171
- attr_accessor :gift_email
172
-
173
- # Message to the gift recipient
174
- attr_accessor :gift_message
175
-
176
- # The token provided by UltraCart hosted fields when a credit card number is uploaded into the system. This is the only way to provide a credit card number.
177
- attr_accessor :hosted_fields_card_token
178
-
179
- # The token provided by UltraCart hosted fields when a credit card cvv is uploaded into the system. This is the only way to provide a cvv number.
180
- attr_accessor :hosted_fields_cvv_token
181
-
182
- # Insurance application id
183
- attr_accessor :insurance_application_id
184
-
185
- # Insurance claim id
186
- attr_accessor :insurance_claim_id
187
-
188
- # IP Address of the customer
189
- attr_accessor :ip_address
190
-
191
- # Items
192
- attr_accessor :items
193
-
194
- # If true the least expensive shipping method is automatically chosen during the order import
195
- attr_accessor :least_cost_route
196
-
197
- # An optional array of shipping methods to restict choices if least_cost_route is true
198
- attr_accessor :least_cost_route_shipping_methods
199
-
200
- # If true the customer is subscribed to any configured mailing lists
201
- attr_accessor :mailing_list_opt_in
202
-
203
- # If true no payment processing is done and the order is placed into Accounts Receivable
204
- attr_accessor :no_realtime_payment_processing
205
-
206
- # Payment method
207
- attr_accessor :payment_method
208
-
209
- # Purchase order number
210
- attr_accessor :purchase_order_number
211
-
212
- # The rotating transaction gateway code for the gateway used to charge this order
213
- attr_accessor :rotating_transaction_gateway_code
214
-
215
- # Sales rep code
216
- attr_accessor :sales_rep_code
217
-
218
- # Screen branding theme code
219
- attr_accessor :screen_branding_theme_code
220
-
221
- # Date the customer is requesting that the order ship on. Typically used for perishable product delivery.
222
- attr_accessor :ship_on_date
223
-
224
- # True if the shipping adress is residential. Effects the methods that are available to the customer as well as the price of the shipping method.
225
- attr_accessor :ship_to_residential
226
-
227
- # Shipping method
228
- attr_accessor :shipping_method
229
-
230
- # Shipping Address line 1
231
- attr_accessor :shipto_address1
232
-
233
- # Shipping Address line 2
234
- attr_accessor :shipto_address2
235
-
236
- # Shipping City
237
- attr_accessor :shipto_city
238
-
239
- # Shipping Company
240
- attr_accessor :shipto_company
241
-
242
- # Shipping ISO-3166 two letter country code
243
- attr_accessor :shipto_country_code
244
-
245
- # Shipping Day phone
246
- attr_accessor :shipto_day_phone
247
-
248
- # Shipping Evening phone
249
- attr_accessor :shipto_evening_phone
250
-
251
- # Shipping First name
252
- attr_accessor :shipto_first_name
253
-
254
- # Shipping Last name
255
- attr_accessor :shipto_last_name
256
-
257
- # Shipping Postal code
258
- attr_accessor :shipto_postal_code
259
-
260
- # Shipping State for United States otherwise region or province for other countries
261
- attr_accessor :shipto_state_region
262
-
263
- # Shipping Title
264
- attr_accessor :shipto_title
265
-
266
- # If true the order is placed directly into the shipping department
267
- attr_accessor :skip_payment_processing
268
-
269
- # Special instructions from the customer regarding shipping
270
- attr_accessor :special_instructions
271
-
272
- # If true the order bypasses shipping and is marked completed
273
- attr_accessor :store_completed
274
-
275
- # If true any failed payments are placed into Accounts Receivable. If false any failed payments result in a rejected order resulting in errors thrown during the insert routine
276
- attr_accessor :store_if_payment_declines
277
-
278
- # The optional shipping county used to determine exact taxes
279
- attr_accessor :tax_county
280
-
281
- # If true this order is marked as being tax exempt
282
- attr_accessor :tax_exempt
283
-
284
- attr_accessor :transaction
285
-
286
- # If true all warnings are considered errors, this is true by default
287
- attr_accessor :treat_warnings_as_errors
288
-
289
- class EnumAttributeValidator
290
- attr_reader :datatype
291
- attr_reader :allowable_values
292
-
293
- def initialize(datatype, allowable_values)
294
- @allowable_values = allowable_values.map do |value|
295
- case datatype.to_s
296
- when /Integer/i
297
- value.to_i
298
- when /Float/i
299
- value.to_f
300
- else
301
- value
302
- end
303
- end
304
- end
305
-
306
- def valid?(value)
307
- !value || allowable_values.include?(value)
308
- end
309
- end
310
-
311
- # Attribute mapping from ruby-style variable name to JSON key.
312
- def self.attribute_map
313
- {
314
- :'advertising_source' => :'advertisingSource',
315
- :'affiliate_id' => :'affiliate_id',
316
- :'affiliate_sub_id' => :'affiliate_sub_id',
317
- :'arbitrary_shipping_handling_total' => :'arbitrary_shipping_handling_total',
318
- :'arbitrary_tax' => :'arbitrary_tax',
319
- :'arbitrary_tax_rate' => :'arbitrary_tax_rate',
320
- :'arbitrary_taxable_subtotal' => :'arbitrary_taxable_subtotal',
321
- :'associate_with_customer_profile_if_present' => :'associate_with_customer_profile_if_present',
322
- :'auto_approve_purchase_order' => :'auto_approve_purchase_order',
323
- :'billto_address1' => :'billto_address1',
324
- :'billto_address2' => :'billto_address2',
325
- :'billto_city' => :'billto_city',
326
- :'billto_company' => :'billto_company',
327
- :'billto_country_code' => :'billto_country_code',
328
- :'billto_day_phone' => :'billto_day_phone',
329
- :'billto_evening_phone' => :'billto_evening_phone',
330
- :'billto_first_name' => :'billto_first_name',
331
- :'billto_last_name' => :'billto_last_name',
332
- :'billto_postal_code' => :'billto_postal_code',
333
- :'billto_state_region' => :'billto_state_region',
334
- :'billto_title' => :'billto_title',
335
- :'cc_email' => :'cc_email',
336
- :'channel_partner_order_id' => :'channel_partner_order_id',
337
- :'consider_recurring' => :'consider_recurring',
338
- :'coupons' => :'coupons',
339
- :'credit_card_authorization_amount' => :'credit_card_authorization_amount',
340
- :'credit_card_authorization_dts' => :'credit_card_authorization_dts',
341
- :'credit_card_authorization_number' => :'credit_card_authorization_number',
342
- :'credit_card_expiration_month' => :'credit_card_expiration_month',
343
- :'credit_card_expiration_year' => :'credit_card_expiration_year',
344
- :'credit_card_type' => :'credit_card_type',
345
- :'custom_field1' => :'custom_field1',
346
- :'custom_field2' => :'custom_field2',
347
- :'custom_field3' => :'custom_field3',
348
- :'custom_field4' => :'custom_field4',
349
- :'custom_field5' => :'custom_field5',
350
- :'custom_field6' => :'custom_field6',
351
- :'custom_field7' => :'custom_field7',
352
- :'delivery_date' => :'delivery_date',
353
- :'echeck_bank_aba_code' => :'echeck_bank_aba_code',
354
- :'echeck_bank_account_name' => :'echeck_bank_account_name',
355
- :'echeck_bank_account_number' => :'echeck_bank_account_number',
356
- :'echeck_bank_account_type' => :'echeck_bank_account_type',
357
- :'echeck_bank_name' => :'echeck_bank_name',
358
- :'echeck_bank_owner_type' => :'echeck_bank_owner_type',
359
- :'echeck_customer_tax_id' => :'echeck_customer_tax_id',
360
- :'echeck_drivers_license_dob' => :'echeck_drivers_license_dob',
361
- :'echeck_drivers_license_number' => :'echeck_drivers_license_number',
362
- :'echeck_drivers_license_state' => :'echeck_drivers_license_state',
363
- :'email' => :'email',
364
- :'gift' => :'gift',
365
- :'gift_email' => :'gift_email',
366
- :'gift_message' => :'gift_message',
367
- :'hosted_fields_card_token' => :'hosted_fields_card_token',
368
- :'hosted_fields_cvv_token' => :'hosted_fields_cvv_token',
369
- :'insurance_application_id' => :'insurance_application_id',
370
- :'insurance_claim_id' => :'insurance_claim_id',
371
- :'ip_address' => :'ip_address',
372
- :'items' => :'items',
373
- :'least_cost_route' => :'least_cost_route',
374
- :'least_cost_route_shipping_methods' => :'least_cost_route_shipping_methods',
375
- :'mailing_list_opt_in' => :'mailing_list_opt_in',
376
- :'no_realtime_payment_processing' => :'no_realtime_payment_processing',
377
- :'payment_method' => :'payment_method',
378
- :'purchase_order_number' => :'purchase_order_number',
379
- :'rotating_transaction_gateway_code' => :'rotating_transaction_gateway_code',
380
- :'sales_rep_code' => :'sales_rep_code',
381
- :'screen_branding_theme_code' => :'screen_branding_theme_code',
382
- :'ship_on_date' => :'ship_on_date',
383
- :'ship_to_residential' => :'ship_to_residential',
384
- :'shipping_method' => :'shipping_method',
385
- :'shipto_address1' => :'shipto_address1',
386
- :'shipto_address2' => :'shipto_address2',
387
- :'shipto_city' => :'shipto_city',
388
- :'shipto_company' => :'shipto_company',
389
- :'shipto_country_code' => :'shipto_country_code',
390
- :'shipto_day_phone' => :'shipto_day_phone',
391
- :'shipto_evening_phone' => :'shipto_evening_phone',
392
- :'shipto_first_name' => :'shipto_first_name',
393
- :'shipto_last_name' => :'shipto_last_name',
394
- :'shipto_postal_code' => :'shipto_postal_code',
395
- :'shipto_state_region' => :'shipto_state_region',
396
- :'shipto_title' => :'shipto_title',
397
- :'skip_payment_processing' => :'skip_payment_processing',
398
- :'special_instructions' => :'special_instructions',
399
- :'store_completed' => :'store_completed',
400
- :'store_if_payment_declines' => :'store_if_payment_declines',
401
- :'tax_county' => :'tax_county',
402
- :'tax_exempt' => :'tax_exempt',
403
- :'transaction' => :'transaction',
404
- :'treat_warnings_as_errors' => :'treat_warnings_as_errors'
405
- }
406
- end
407
-
408
- # Attribute type mapping.
409
- def self.swagger_types
410
- {
411
- :'advertising_source' => :'String',
412
- :'affiliate_id' => :'String',
413
- :'affiliate_sub_id' => :'String',
414
- :'arbitrary_shipping_handling_total' => :'Float',
415
- :'arbitrary_tax' => :'Float',
416
- :'arbitrary_tax_rate' => :'Float',
417
- :'arbitrary_taxable_subtotal' => :'Float',
418
- :'associate_with_customer_profile_if_present' => :'BOOLEAN',
419
- :'auto_approve_purchase_order' => :'BOOLEAN',
420
- :'billto_address1' => :'String',
421
- :'billto_address2' => :'String',
422
- :'billto_city' => :'String',
423
- :'billto_company' => :'String',
424
- :'billto_country_code' => :'String',
425
- :'billto_day_phone' => :'String',
426
- :'billto_evening_phone' => :'String',
427
- :'billto_first_name' => :'String',
428
- :'billto_last_name' => :'String',
429
- :'billto_postal_code' => :'String',
430
- :'billto_state_region' => :'String',
431
- :'billto_title' => :'String',
432
- :'cc_email' => :'String',
433
- :'channel_partner_order_id' => :'String',
434
- :'consider_recurring' => :'BOOLEAN',
435
- :'coupons' => :'Array<String>',
436
- :'credit_card_authorization_amount' => :'Float',
437
- :'credit_card_authorization_dts' => :'String',
438
- :'credit_card_authorization_number' => :'String',
439
- :'credit_card_expiration_month' => :'Integer',
440
- :'credit_card_expiration_year' => :'Integer',
441
- :'credit_card_type' => :'String',
442
- :'custom_field1' => :'String',
443
- :'custom_field2' => :'String',
444
- :'custom_field3' => :'String',
445
- :'custom_field4' => :'String',
446
- :'custom_field5' => :'String',
447
- :'custom_field6' => :'String',
448
- :'custom_field7' => :'String',
449
- :'delivery_date' => :'String',
450
- :'echeck_bank_aba_code' => :'String',
451
- :'echeck_bank_account_name' => :'String',
452
- :'echeck_bank_account_number' => :'String',
453
- :'echeck_bank_account_type' => :'String',
454
- :'echeck_bank_name' => :'String',
455
- :'echeck_bank_owner_type' => :'String',
456
- :'echeck_customer_tax_id' => :'String',
457
- :'echeck_drivers_license_dob' => :'String',
458
- :'echeck_drivers_license_number' => :'String',
459
- :'echeck_drivers_license_state' => :'String',
460
- :'email' => :'String',
461
- :'gift' => :'BOOLEAN',
462
- :'gift_email' => :'String',
463
- :'gift_message' => :'String',
464
- :'hosted_fields_card_token' => :'String',
465
- :'hosted_fields_cvv_token' => :'String',
466
- :'insurance_application_id' => :'String',
467
- :'insurance_claim_id' => :'String',
468
- :'ip_address' => :'String',
469
- :'items' => :'Array<ChannelPartnerOrderItem>',
470
- :'least_cost_route' => :'BOOLEAN',
471
- :'least_cost_route_shipping_methods' => :'Array<String>',
472
- :'mailing_list_opt_in' => :'BOOLEAN',
473
- :'no_realtime_payment_processing' => :'BOOLEAN',
474
- :'payment_method' => :'String',
475
- :'purchase_order_number' => :'String',
476
- :'rotating_transaction_gateway_code' => :'String',
477
- :'sales_rep_code' => :'String',
478
- :'screen_branding_theme_code' => :'String',
479
- :'ship_on_date' => :'String',
480
- :'ship_to_residential' => :'BOOLEAN',
481
- :'shipping_method' => :'String',
482
- :'shipto_address1' => :'String',
483
- :'shipto_address2' => :'String',
484
- :'shipto_city' => :'String',
485
- :'shipto_company' => :'String',
486
- :'shipto_country_code' => :'String',
487
- :'shipto_day_phone' => :'String',
488
- :'shipto_evening_phone' => :'String',
489
- :'shipto_first_name' => :'String',
490
- :'shipto_last_name' => :'String',
491
- :'shipto_postal_code' => :'String',
492
- :'shipto_state_region' => :'String',
493
- :'shipto_title' => :'String',
494
- :'skip_payment_processing' => :'BOOLEAN',
495
- :'special_instructions' => :'String',
496
- :'store_completed' => :'BOOLEAN',
497
- :'store_if_payment_declines' => :'BOOLEAN',
498
- :'tax_county' => :'String',
499
- :'tax_exempt' => :'BOOLEAN',
500
- :'transaction' => :'ChannelPartnerOrderTransaction',
501
- :'treat_warnings_as_errors' => :'BOOLEAN'
502
- }
503
- end
504
-
505
- # Initializes the object
506
- # @param [Hash] attributes Model attributes in the form of hash
507
- def initialize(attributes = {})
508
- return unless attributes.is_a?(Hash)
509
-
510
- # convert string to symbol for hash key
511
- attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
512
-
513
- if attributes.has_key?(:'advertisingSource')
514
- self.advertising_source = attributes[:'advertisingSource']
515
- end
516
-
517
- if attributes.has_key?(:'affiliate_id')
518
- self.affiliate_id = attributes[:'affiliate_id']
519
- end
520
-
521
- if attributes.has_key?(:'affiliate_sub_id')
522
- self.affiliate_sub_id = attributes[:'affiliate_sub_id']
523
- end
524
-
525
- if attributes.has_key?(:'arbitrary_shipping_handling_total')
526
- self.arbitrary_shipping_handling_total = attributes[:'arbitrary_shipping_handling_total']
527
- end
528
-
529
- if attributes.has_key?(:'arbitrary_tax')
530
- self.arbitrary_tax = attributes[:'arbitrary_tax']
531
- end
532
-
533
- if attributes.has_key?(:'arbitrary_tax_rate')
534
- self.arbitrary_tax_rate = attributes[:'arbitrary_tax_rate']
535
- end
536
-
537
- if attributes.has_key?(:'arbitrary_taxable_subtotal')
538
- self.arbitrary_taxable_subtotal = attributes[:'arbitrary_taxable_subtotal']
539
- end
540
-
541
- if attributes.has_key?(:'associate_with_customer_profile_if_present')
542
- self.associate_with_customer_profile_if_present = attributes[:'associate_with_customer_profile_if_present']
543
- end
544
-
545
- if attributes.has_key?(:'auto_approve_purchase_order')
546
- self.auto_approve_purchase_order = attributes[:'auto_approve_purchase_order']
547
- end
548
-
549
- if attributes.has_key?(:'billto_address1')
550
- self.billto_address1 = attributes[:'billto_address1']
551
- end
552
-
553
- if attributes.has_key?(:'billto_address2')
554
- self.billto_address2 = attributes[:'billto_address2']
555
- end
556
-
557
- if attributes.has_key?(:'billto_city')
558
- self.billto_city = attributes[:'billto_city']
559
- end
560
-
561
- if attributes.has_key?(:'billto_company')
562
- self.billto_company = attributes[:'billto_company']
563
- end
564
-
565
- if attributes.has_key?(:'billto_country_code')
566
- self.billto_country_code = attributes[:'billto_country_code']
567
- end
568
-
569
- if attributes.has_key?(:'billto_day_phone')
570
- self.billto_day_phone = attributes[:'billto_day_phone']
571
- end
572
-
573
- if attributes.has_key?(:'billto_evening_phone')
574
- self.billto_evening_phone = attributes[:'billto_evening_phone']
575
- end
576
-
577
- if attributes.has_key?(:'billto_first_name')
578
- self.billto_first_name = attributes[:'billto_first_name']
579
- end
580
-
581
- if attributes.has_key?(:'billto_last_name')
582
- self.billto_last_name = attributes[:'billto_last_name']
583
- end
584
-
585
- if attributes.has_key?(:'billto_postal_code')
586
- self.billto_postal_code = attributes[:'billto_postal_code']
587
- end
588
-
589
- if attributes.has_key?(:'billto_state_region')
590
- self.billto_state_region = attributes[:'billto_state_region']
591
- end
592
-
593
- if attributes.has_key?(:'billto_title')
594
- self.billto_title = attributes[:'billto_title']
595
- end
596
-
597
- if attributes.has_key?(:'cc_email')
598
- self.cc_email = attributes[:'cc_email']
599
- end
600
-
601
- if attributes.has_key?(:'channel_partner_order_id')
602
- self.channel_partner_order_id = attributes[:'channel_partner_order_id']
603
- end
604
-
605
- if attributes.has_key?(:'consider_recurring')
606
- self.consider_recurring = attributes[:'consider_recurring']
607
- end
608
-
609
- if attributes.has_key?(:'coupons')
610
- if (value = attributes[:'coupons']).is_a?(Array)
611
- self.coupons = value
612
- end
613
- end
614
-
615
- if attributes.has_key?(:'credit_card_authorization_amount')
616
- self.credit_card_authorization_amount = attributes[:'credit_card_authorization_amount']
617
- end
618
-
619
- if attributes.has_key?(:'credit_card_authorization_dts')
620
- self.credit_card_authorization_dts = attributes[:'credit_card_authorization_dts']
621
- end
622
-
623
- if attributes.has_key?(:'credit_card_authorization_number')
624
- self.credit_card_authorization_number = attributes[:'credit_card_authorization_number']
625
- end
626
-
627
- if attributes.has_key?(:'credit_card_expiration_month')
628
- self.credit_card_expiration_month = attributes[:'credit_card_expiration_month']
629
- end
630
-
631
- if attributes.has_key?(:'credit_card_expiration_year')
632
- self.credit_card_expiration_year = attributes[:'credit_card_expiration_year']
633
- end
634
-
635
- if attributes.has_key?(:'credit_card_type')
636
- self.credit_card_type = attributes[:'credit_card_type']
637
- end
638
-
639
- if attributes.has_key?(:'custom_field1')
640
- self.custom_field1 = attributes[:'custom_field1']
641
- end
642
-
643
- if attributes.has_key?(:'custom_field2')
644
- self.custom_field2 = attributes[:'custom_field2']
645
- end
646
-
647
- if attributes.has_key?(:'custom_field3')
648
- self.custom_field3 = attributes[:'custom_field3']
649
- end
650
-
651
- if attributes.has_key?(:'custom_field4')
652
- self.custom_field4 = attributes[:'custom_field4']
653
- end
654
-
655
- if attributes.has_key?(:'custom_field5')
656
- self.custom_field5 = attributes[:'custom_field5']
657
- end
658
-
659
- if attributes.has_key?(:'custom_field6')
660
- self.custom_field6 = attributes[:'custom_field6']
661
- end
662
-
663
- if attributes.has_key?(:'custom_field7')
664
- self.custom_field7 = attributes[:'custom_field7']
665
- end
666
-
667
- if attributes.has_key?(:'delivery_date')
668
- self.delivery_date = attributes[:'delivery_date']
669
- end
670
-
671
- if attributes.has_key?(:'echeck_bank_aba_code')
672
- self.echeck_bank_aba_code = attributes[:'echeck_bank_aba_code']
673
- end
674
-
675
- if attributes.has_key?(:'echeck_bank_account_name')
676
- self.echeck_bank_account_name = attributes[:'echeck_bank_account_name']
677
- end
678
-
679
- if attributes.has_key?(:'echeck_bank_account_number')
680
- self.echeck_bank_account_number = attributes[:'echeck_bank_account_number']
681
- end
682
-
683
- if attributes.has_key?(:'echeck_bank_account_type')
684
- self.echeck_bank_account_type = attributes[:'echeck_bank_account_type']
685
- end
686
-
687
- if attributes.has_key?(:'echeck_bank_name')
688
- self.echeck_bank_name = attributes[:'echeck_bank_name']
689
- end
690
-
691
- if attributes.has_key?(:'echeck_bank_owner_type')
692
- self.echeck_bank_owner_type = attributes[:'echeck_bank_owner_type']
693
- end
694
-
695
- if attributes.has_key?(:'echeck_customer_tax_id')
696
- self.echeck_customer_tax_id = attributes[:'echeck_customer_tax_id']
697
- end
698
-
699
- if attributes.has_key?(:'echeck_drivers_license_dob')
700
- self.echeck_drivers_license_dob = attributes[:'echeck_drivers_license_dob']
701
- end
702
-
703
- if attributes.has_key?(:'echeck_drivers_license_number')
704
- self.echeck_drivers_license_number = attributes[:'echeck_drivers_license_number']
705
- end
706
-
707
- if attributes.has_key?(:'echeck_drivers_license_state')
708
- self.echeck_drivers_license_state = attributes[:'echeck_drivers_license_state']
709
- end
710
-
711
- if attributes.has_key?(:'email')
712
- self.email = attributes[:'email']
713
- end
714
-
715
- if attributes.has_key?(:'gift')
716
- self.gift = attributes[:'gift']
717
- end
718
-
719
- if attributes.has_key?(:'gift_email')
720
- self.gift_email = attributes[:'gift_email']
721
- end
722
-
723
- if attributes.has_key?(:'gift_message')
724
- self.gift_message = attributes[:'gift_message']
725
- end
726
-
727
- if attributes.has_key?(:'hosted_fields_card_token')
728
- self.hosted_fields_card_token = attributes[:'hosted_fields_card_token']
729
- end
730
-
731
- if attributes.has_key?(:'hosted_fields_cvv_token')
732
- self.hosted_fields_cvv_token = attributes[:'hosted_fields_cvv_token']
733
- end
734
-
735
- if attributes.has_key?(:'insurance_application_id')
736
- self.insurance_application_id = attributes[:'insurance_application_id']
737
- end
738
-
739
- if attributes.has_key?(:'insurance_claim_id')
740
- self.insurance_claim_id = attributes[:'insurance_claim_id']
741
- end
742
-
743
- if attributes.has_key?(:'ip_address')
744
- self.ip_address = attributes[:'ip_address']
745
- end
746
-
747
- if attributes.has_key?(:'items')
748
- if (value = attributes[:'items']).is_a?(Array)
749
- self.items = value
750
- end
751
- end
752
-
753
- if attributes.has_key?(:'least_cost_route')
754
- self.least_cost_route = attributes[:'least_cost_route']
755
- end
756
-
757
- if attributes.has_key?(:'least_cost_route_shipping_methods')
758
- if (value = attributes[:'least_cost_route_shipping_methods']).is_a?(Array)
759
- self.least_cost_route_shipping_methods = value
760
- end
761
- end
762
-
763
- if attributes.has_key?(:'mailing_list_opt_in')
764
- self.mailing_list_opt_in = attributes[:'mailing_list_opt_in']
765
- end
766
-
767
- if attributes.has_key?(:'no_realtime_payment_processing')
768
- self.no_realtime_payment_processing = attributes[:'no_realtime_payment_processing']
769
- end
770
-
771
- if attributes.has_key?(:'payment_method')
772
- self.payment_method = attributes[:'payment_method']
773
- end
774
-
775
- if attributes.has_key?(:'purchase_order_number')
776
- self.purchase_order_number = attributes[:'purchase_order_number']
777
- end
778
-
779
- if attributes.has_key?(:'rotating_transaction_gateway_code')
780
- self.rotating_transaction_gateway_code = attributes[:'rotating_transaction_gateway_code']
781
- end
782
-
783
- if attributes.has_key?(:'sales_rep_code')
784
- self.sales_rep_code = attributes[:'sales_rep_code']
785
- end
786
-
787
- if attributes.has_key?(:'screen_branding_theme_code')
788
- self.screen_branding_theme_code = attributes[:'screen_branding_theme_code']
789
- end
790
-
791
- if attributes.has_key?(:'ship_on_date')
792
- self.ship_on_date = attributes[:'ship_on_date']
793
- end
794
-
795
- if attributes.has_key?(:'ship_to_residential')
796
- self.ship_to_residential = attributes[:'ship_to_residential']
797
- end
798
-
799
- if attributes.has_key?(:'shipping_method')
800
- self.shipping_method = attributes[:'shipping_method']
801
- end
802
-
803
- if attributes.has_key?(:'shipto_address1')
804
- self.shipto_address1 = attributes[:'shipto_address1']
805
- end
806
-
807
- if attributes.has_key?(:'shipto_address2')
808
- self.shipto_address2 = attributes[:'shipto_address2']
809
- end
810
-
811
- if attributes.has_key?(:'shipto_city')
812
- self.shipto_city = attributes[:'shipto_city']
813
- end
814
-
815
- if attributes.has_key?(:'shipto_company')
816
- self.shipto_company = attributes[:'shipto_company']
817
- end
818
-
819
- if attributes.has_key?(:'shipto_country_code')
820
- self.shipto_country_code = attributes[:'shipto_country_code']
821
- end
822
-
823
- if attributes.has_key?(:'shipto_day_phone')
824
- self.shipto_day_phone = attributes[:'shipto_day_phone']
825
- end
826
-
827
- if attributes.has_key?(:'shipto_evening_phone')
828
- self.shipto_evening_phone = attributes[:'shipto_evening_phone']
829
- end
830
-
831
- if attributes.has_key?(:'shipto_first_name')
832
- self.shipto_first_name = attributes[:'shipto_first_name']
833
- end
834
-
835
- if attributes.has_key?(:'shipto_last_name')
836
- self.shipto_last_name = attributes[:'shipto_last_name']
837
- end
838
-
839
- if attributes.has_key?(:'shipto_postal_code')
840
- self.shipto_postal_code = attributes[:'shipto_postal_code']
841
- end
842
-
843
- if attributes.has_key?(:'shipto_state_region')
844
- self.shipto_state_region = attributes[:'shipto_state_region']
845
- end
846
-
847
- if attributes.has_key?(:'shipto_title')
848
- self.shipto_title = attributes[:'shipto_title']
849
- end
850
-
851
- if attributes.has_key?(:'skip_payment_processing')
852
- self.skip_payment_processing = attributes[:'skip_payment_processing']
853
- end
854
-
855
- if attributes.has_key?(:'special_instructions')
856
- self.special_instructions = attributes[:'special_instructions']
857
- end
858
-
859
- if attributes.has_key?(:'store_completed')
860
- self.store_completed = attributes[:'store_completed']
861
- end
862
-
863
- if attributes.has_key?(:'store_if_payment_declines')
864
- self.store_if_payment_declines = attributes[:'store_if_payment_declines']
865
- end
866
-
867
- if attributes.has_key?(:'tax_county')
868
- self.tax_county = attributes[:'tax_county']
869
- end
870
-
871
- if attributes.has_key?(:'tax_exempt')
872
- self.tax_exempt = attributes[:'tax_exempt']
873
- end
874
-
875
- if attributes.has_key?(:'transaction')
876
- self.transaction = attributes[:'transaction']
877
- end
878
-
879
- if attributes.has_key?(:'treat_warnings_as_errors')
880
- self.treat_warnings_as_errors = attributes[:'treat_warnings_as_errors']
881
- end
882
- end
883
-
884
- # Show invalid properties with the reasons. Usually used together with valid?
885
- # @return Array for valid properties with the reasons
886
- def list_invalid_properties
887
- invalid_properties = Array.new
888
- if !@billto_address1.nil? && @billto_address1.to_s.length > 50
889
- invalid_properties.push('invalid value for "billto_address1", the character length must be smaller than or equal to 50.')
890
- end
891
-
892
- if !@billto_address2.nil? && @billto_address2.to_s.length > 50
893
- invalid_properties.push('invalid value for "billto_address2", the character length must be smaller than or equal to 50.')
894
- end
895
-
896
- if !@billto_city.nil? && @billto_city.to_s.length > 32
897
- invalid_properties.push('invalid value for "billto_city", the character length must be smaller than or equal to 32.')
898
- end
899
-
900
- if !@billto_company.nil? && @billto_company.to_s.length > 50
901
- invalid_properties.push('invalid value for "billto_company", the character length must be smaller than or equal to 50.')
902
- end
903
-
904
- if !@billto_country_code.nil? && @billto_country_code.to_s.length > 2
905
- invalid_properties.push('invalid value for "billto_country_code", the character length must be smaller than or equal to 2.')
906
- end
907
-
908
- if !@billto_day_phone.nil? && @billto_day_phone.to_s.length > 25
909
- invalid_properties.push('invalid value for "billto_day_phone", the character length must be smaller than or equal to 25.')
910
- end
911
-
912
- if !@billto_evening_phone.nil? && @billto_evening_phone.to_s.length > 25
913
- invalid_properties.push('invalid value for "billto_evening_phone", the character length must be smaller than or equal to 25.')
914
- end
915
-
916
- if !@billto_first_name.nil? && @billto_first_name.to_s.length > 30
917
- invalid_properties.push('invalid value for "billto_first_name", the character length must be smaller than or equal to 30.')
918
- end
919
-
920
- if !@billto_last_name.nil? && @billto_last_name.to_s.length > 30
921
- invalid_properties.push('invalid value for "billto_last_name", the character length must be smaller than or equal to 30.')
922
- end
923
-
924
- if !@billto_postal_code.nil? && @billto_postal_code.to_s.length > 20
925
- invalid_properties.push('invalid value for "billto_postal_code", the character length must be smaller than or equal to 20.')
926
- end
927
-
928
- if !@billto_state_region.nil? && @billto_state_region.to_s.length > 32
929
- invalid_properties.push('invalid value for "billto_state_region", the character length must be smaller than or equal to 32.')
930
- end
931
-
932
- if !@billto_title.nil? && @billto_title.to_s.length > 50
933
- invalid_properties.push('invalid value for "billto_title", the character length must be smaller than or equal to 50.')
934
- end
935
-
936
- if !@cc_email.nil? && @cc_email.to_s.length > 100
937
- invalid_properties.push('invalid value for "cc_email", the character length must be smaller than or equal to 100.')
938
- end
939
-
940
- if !@custom_field1.nil? && @custom_field1.to_s.length > 50
941
- invalid_properties.push('invalid value for "custom_field1", the character length must be smaller than or equal to 50.')
942
- end
943
-
944
- if !@custom_field2.nil? && @custom_field2.to_s.length > 50
945
- invalid_properties.push('invalid value for "custom_field2", the character length must be smaller than or equal to 50.')
946
- end
947
-
948
- if !@custom_field3.nil? && @custom_field3.to_s.length > 50
949
- invalid_properties.push('invalid value for "custom_field3", the character length must be smaller than or equal to 50.')
950
- end
951
-
952
- if !@custom_field4.nil? && @custom_field4.to_s.length > 50
953
- invalid_properties.push('invalid value for "custom_field4", the character length must be smaller than or equal to 50.')
954
- end
955
-
956
- if !@custom_field5.nil? && @custom_field5.to_s.length > 75
957
- invalid_properties.push('invalid value for "custom_field5", the character length must be smaller than or equal to 75.')
958
- end
959
-
960
- if !@custom_field6.nil? && @custom_field6.to_s.length > 50
961
- invalid_properties.push('invalid value for "custom_field6", the character length must be smaller than or equal to 50.')
962
- end
963
-
964
- if !@custom_field7.nil? && @custom_field7.to_s.length > 50
965
- invalid_properties.push('invalid value for "custom_field7", the character length must be smaller than or equal to 50.')
966
- end
967
-
968
- if !@email.nil? && @email.to_s.length > 100
969
- invalid_properties.push('invalid value for "email", the character length must be smaller than or equal to 100.')
970
- end
971
-
972
- if !@gift_email.nil? && @gift_email.to_s.length > 100
973
- invalid_properties.push('invalid value for "gift_email", the character length must be smaller than or equal to 100.')
974
- end
975
-
976
- if !@gift_message.nil? && @gift_message.to_s.length > 10000
977
- invalid_properties.push('invalid value for "gift_message", the character length must be smaller than or equal to 10000.')
978
- end
979
-
980
- if !@screen_branding_theme_code.nil? && @screen_branding_theme_code.to_s.length > 10
981
- invalid_properties.push('invalid value for "screen_branding_theme_code", the character length must be smaller than or equal to 10.')
982
- end
983
-
984
- if !@shipto_address1.nil? && @shipto_address1.to_s.length > 50
985
- invalid_properties.push('invalid value for "shipto_address1", the character length must be smaller than or equal to 50.')
986
- end
987
-
988
- if !@shipto_address2.nil? && @shipto_address2.to_s.length > 50
989
- invalid_properties.push('invalid value for "shipto_address2", the character length must be smaller than or equal to 50.')
990
- end
991
-
992
- if !@shipto_city.nil? && @shipto_city.to_s.length > 32
993
- invalid_properties.push('invalid value for "shipto_city", the character length must be smaller than or equal to 32.')
994
- end
995
-
996
- if !@shipto_company.nil? && @shipto_company.to_s.length > 50
997
- invalid_properties.push('invalid value for "shipto_company", the character length must be smaller than or equal to 50.')
998
- end
999
-
1000
- if !@shipto_country_code.nil? && @shipto_country_code.to_s.length > 2
1001
- invalid_properties.push('invalid value for "shipto_country_code", the character length must be smaller than or equal to 2.')
1002
- end
1003
-
1004
- if !@shipto_day_phone.nil? && @shipto_day_phone.to_s.length > 25
1005
- invalid_properties.push('invalid value for "shipto_day_phone", the character length must be smaller than or equal to 25.')
1006
- end
1007
-
1008
- if !@shipto_evening_phone.nil? && @shipto_evening_phone.to_s.length > 25
1009
- invalid_properties.push('invalid value for "shipto_evening_phone", the character length must be smaller than or equal to 25.')
1010
- end
1011
-
1012
- if !@shipto_first_name.nil? && @shipto_first_name.to_s.length > 30
1013
- invalid_properties.push('invalid value for "shipto_first_name", the character length must be smaller than or equal to 30.')
1014
- end
1015
-
1016
- if !@shipto_last_name.nil? && @shipto_last_name.to_s.length > 30
1017
- invalid_properties.push('invalid value for "shipto_last_name", the character length must be smaller than or equal to 30.')
1018
- end
1019
-
1020
- if !@shipto_postal_code.nil? && @shipto_postal_code.to_s.length > 20
1021
- invalid_properties.push('invalid value for "shipto_postal_code", the character length must be smaller than or equal to 20.')
1022
- end
1023
-
1024
- if !@shipto_state_region.nil? && @shipto_state_region.to_s.length > 32
1025
- invalid_properties.push('invalid value for "shipto_state_region", the character length must be smaller than or equal to 32.')
1026
- end
1027
-
1028
- if !@shipto_title.nil? && @shipto_title.to_s.length > 50
1029
- invalid_properties.push('invalid value for "shipto_title", the character length must be smaller than or equal to 50.')
1030
- end
1031
-
1032
- if !@special_instructions.nil? && @special_instructions.to_s.length > 10000
1033
- invalid_properties.push('invalid value for "special_instructions", the character length must be smaller than or equal to 10000.')
1034
- end
1035
-
1036
- invalid_properties
1037
- end
1038
-
1039
- # Check to see if the all the properties in the model are valid
1040
- # @return true if the model is valid
1041
- def valid?
1042
- return false if !@billto_address1.nil? && @billto_address1.to_s.length > 50
1043
- return false if !@billto_address2.nil? && @billto_address2.to_s.length > 50
1044
- return false if !@billto_city.nil? && @billto_city.to_s.length > 32
1045
- return false if !@billto_company.nil? && @billto_company.to_s.length > 50
1046
- return false if !@billto_country_code.nil? && @billto_country_code.to_s.length > 2
1047
- return false if !@billto_day_phone.nil? && @billto_day_phone.to_s.length > 25
1048
- return false if !@billto_evening_phone.nil? && @billto_evening_phone.to_s.length > 25
1049
- return false if !@billto_first_name.nil? && @billto_first_name.to_s.length > 30
1050
- return false if !@billto_last_name.nil? && @billto_last_name.to_s.length > 30
1051
- return false if !@billto_postal_code.nil? && @billto_postal_code.to_s.length > 20
1052
- return false if !@billto_state_region.nil? && @billto_state_region.to_s.length > 32
1053
- return false if !@billto_title.nil? && @billto_title.to_s.length > 50
1054
- return false if !@cc_email.nil? && @cc_email.to_s.length > 100
1055
- return false if !@custom_field1.nil? && @custom_field1.to_s.length > 50
1056
- return false if !@custom_field2.nil? && @custom_field2.to_s.length > 50
1057
- return false if !@custom_field3.nil? && @custom_field3.to_s.length > 50
1058
- return false if !@custom_field4.nil? && @custom_field4.to_s.length > 50
1059
- return false if !@custom_field5.nil? && @custom_field5.to_s.length > 75
1060
- return false if !@custom_field6.nil? && @custom_field6.to_s.length > 50
1061
- return false if !@custom_field7.nil? && @custom_field7.to_s.length > 50
1062
- echeck_bank_account_type_validator = EnumAttributeValidator.new('String', ['Checking', 'Savings'])
1063
- return false unless echeck_bank_account_type_validator.valid?(@echeck_bank_account_type)
1064
- echeck_bank_owner_type_validator = EnumAttributeValidator.new('String', ['Business', 'Personal'])
1065
- return false unless echeck_bank_owner_type_validator.valid?(@echeck_bank_owner_type)
1066
- return false if !@email.nil? && @email.to_s.length > 100
1067
- return false if !@gift_email.nil? && @gift_email.to_s.length > 100
1068
- return false if !@gift_message.nil? && @gift_message.to_s.length > 10000
1069
- payment_method_validator = EnumAttributeValidator.new('String', ['Affirm', 'Amazon', 'Check', 'COD', 'Credit Card', 'eCheck', 'LoanHero', 'Money Order', 'PayPal', 'Purchase Order', 'Quote Request', 'Wire Transfer'])
1070
- return false unless payment_method_validator.valid?(@payment_method)
1071
- return false if !@screen_branding_theme_code.nil? && @screen_branding_theme_code.to_s.length > 10
1072
- return false if !@shipto_address1.nil? && @shipto_address1.to_s.length > 50
1073
- return false if !@shipto_address2.nil? && @shipto_address2.to_s.length > 50
1074
- return false if !@shipto_city.nil? && @shipto_city.to_s.length > 32
1075
- return false if !@shipto_company.nil? && @shipto_company.to_s.length > 50
1076
- return false if !@shipto_country_code.nil? && @shipto_country_code.to_s.length > 2
1077
- return false if !@shipto_day_phone.nil? && @shipto_day_phone.to_s.length > 25
1078
- return false if !@shipto_evening_phone.nil? && @shipto_evening_phone.to_s.length > 25
1079
- return false if !@shipto_first_name.nil? && @shipto_first_name.to_s.length > 30
1080
- return false if !@shipto_last_name.nil? && @shipto_last_name.to_s.length > 30
1081
- return false if !@shipto_postal_code.nil? && @shipto_postal_code.to_s.length > 20
1082
- return false if !@shipto_state_region.nil? && @shipto_state_region.to_s.length > 32
1083
- return false if !@shipto_title.nil? && @shipto_title.to_s.length > 50
1084
- return false if !@special_instructions.nil? && @special_instructions.to_s.length > 10000
1085
- true
1086
- end
1087
-
1088
- # Custom attribute writer method with validation
1089
- # @param [Object] billto_address1 Value to be assigned
1090
- def billto_address1=(billto_address1)
1091
- if !billto_address1.nil? && billto_address1.to_s.length > 50
1092
- fail ArgumentError, 'invalid value for "billto_address1", the character length must be smaller than or equal to 50.'
1093
- end
1094
-
1095
- @billto_address1 = billto_address1
1096
- end
1097
-
1098
- # Custom attribute writer method with validation
1099
- # @param [Object] billto_address2 Value to be assigned
1100
- def billto_address2=(billto_address2)
1101
- if !billto_address2.nil? && billto_address2.to_s.length > 50
1102
- fail ArgumentError, 'invalid value for "billto_address2", the character length must be smaller than or equal to 50.'
1103
- end
1104
-
1105
- @billto_address2 = billto_address2
1106
- end
1107
-
1108
- # Custom attribute writer method with validation
1109
- # @param [Object] billto_city Value to be assigned
1110
- def billto_city=(billto_city)
1111
- if !billto_city.nil? && billto_city.to_s.length > 32
1112
- fail ArgumentError, 'invalid value for "billto_city", the character length must be smaller than or equal to 32.'
1113
- end
1114
-
1115
- @billto_city = billto_city
1116
- end
1117
-
1118
- # Custom attribute writer method with validation
1119
- # @param [Object] billto_company Value to be assigned
1120
- def billto_company=(billto_company)
1121
- if !billto_company.nil? && billto_company.to_s.length > 50
1122
- fail ArgumentError, 'invalid value for "billto_company", the character length must be smaller than or equal to 50.'
1123
- end
1124
-
1125
- @billto_company = billto_company
1126
- end
1127
-
1128
- # Custom attribute writer method with validation
1129
- # @param [Object] billto_country_code Value to be assigned
1130
- def billto_country_code=(billto_country_code)
1131
- if !billto_country_code.nil? && billto_country_code.to_s.length > 2
1132
- fail ArgumentError, 'invalid value for "billto_country_code", the character length must be smaller than or equal to 2.'
1133
- end
1134
-
1135
- @billto_country_code = billto_country_code
1136
- end
1137
-
1138
- # Custom attribute writer method with validation
1139
- # @param [Object] billto_day_phone Value to be assigned
1140
- def billto_day_phone=(billto_day_phone)
1141
- if !billto_day_phone.nil? && billto_day_phone.to_s.length > 25
1142
- fail ArgumentError, 'invalid value for "billto_day_phone", the character length must be smaller than or equal to 25.'
1143
- end
1144
-
1145
- @billto_day_phone = billto_day_phone
1146
- end
1147
-
1148
- # Custom attribute writer method with validation
1149
- # @param [Object] billto_evening_phone Value to be assigned
1150
- def billto_evening_phone=(billto_evening_phone)
1151
- if !billto_evening_phone.nil? && billto_evening_phone.to_s.length > 25
1152
- fail ArgumentError, 'invalid value for "billto_evening_phone", the character length must be smaller than or equal to 25.'
1153
- end
1154
-
1155
- @billto_evening_phone = billto_evening_phone
1156
- end
1157
-
1158
- # Custom attribute writer method with validation
1159
- # @param [Object] billto_first_name Value to be assigned
1160
- def billto_first_name=(billto_first_name)
1161
- if !billto_first_name.nil? && billto_first_name.to_s.length > 30
1162
- fail ArgumentError, 'invalid value for "billto_first_name", the character length must be smaller than or equal to 30.'
1163
- end
1164
-
1165
- @billto_first_name = billto_first_name
1166
- end
1167
-
1168
- # Custom attribute writer method with validation
1169
- # @param [Object] billto_last_name Value to be assigned
1170
- def billto_last_name=(billto_last_name)
1171
- if !billto_last_name.nil? && billto_last_name.to_s.length > 30
1172
- fail ArgumentError, 'invalid value for "billto_last_name", the character length must be smaller than or equal to 30.'
1173
- end
1174
-
1175
- @billto_last_name = billto_last_name
1176
- end
1177
-
1178
- # Custom attribute writer method with validation
1179
- # @param [Object] billto_postal_code Value to be assigned
1180
- def billto_postal_code=(billto_postal_code)
1181
- if !billto_postal_code.nil? && billto_postal_code.to_s.length > 20
1182
- fail ArgumentError, 'invalid value for "billto_postal_code", the character length must be smaller than or equal to 20.'
1183
- end
1184
-
1185
- @billto_postal_code = billto_postal_code
1186
- end
1187
-
1188
- # Custom attribute writer method with validation
1189
- # @param [Object] billto_state_region Value to be assigned
1190
- def billto_state_region=(billto_state_region)
1191
- if !billto_state_region.nil? && billto_state_region.to_s.length > 32
1192
- fail ArgumentError, 'invalid value for "billto_state_region", the character length must be smaller than or equal to 32.'
1193
- end
1194
-
1195
- @billto_state_region = billto_state_region
1196
- end
1197
-
1198
- # Custom attribute writer method with validation
1199
- # @param [Object] billto_title Value to be assigned
1200
- def billto_title=(billto_title)
1201
- if !billto_title.nil? && billto_title.to_s.length > 50
1202
- fail ArgumentError, 'invalid value for "billto_title", the character length must be smaller than or equal to 50.'
1203
- end
1204
-
1205
- @billto_title = billto_title
1206
- end
1207
-
1208
- # Custom attribute writer method with validation
1209
- # @param [Object] cc_email Value to be assigned
1210
- def cc_email=(cc_email)
1211
- if !cc_email.nil? && cc_email.to_s.length > 100
1212
- fail ArgumentError, 'invalid value for "cc_email", the character length must be smaller than or equal to 100.'
1213
- end
1214
-
1215
- @cc_email = cc_email
1216
- end
1217
-
1218
- # Custom attribute writer method with validation
1219
- # @param [Object] custom_field1 Value to be assigned
1220
- def custom_field1=(custom_field1)
1221
- if !custom_field1.nil? && custom_field1.to_s.length > 50
1222
- fail ArgumentError, 'invalid value for "custom_field1", the character length must be smaller than or equal to 50.'
1223
- end
1224
-
1225
- @custom_field1 = custom_field1
1226
- end
1227
-
1228
- # Custom attribute writer method with validation
1229
- # @param [Object] custom_field2 Value to be assigned
1230
- def custom_field2=(custom_field2)
1231
- if !custom_field2.nil? && custom_field2.to_s.length > 50
1232
- fail ArgumentError, 'invalid value for "custom_field2", the character length must be smaller than or equal to 50.'
1233
- end
1234
-
1235
- @custom_field2 = custom_field2
1236
- end
1237
-
1238
- # Custom attribute writer method with validation
1239
- # @param [Object] custom_field3 Value to be assigned
1240
- def custom_field3=(custom_field3)
1241
- if !custom_field3.nil? && custom_field3.to_s.length > 50
1242
- fail ArgumentError, 'invalid value for "custom_field3", the character length must be smaller than or equal to 50.'
1243
- end
1244
-
1245
- @custom_field3 = custom_field3
1246
- end
1247
-
1248
- # Custom attribute writer method with validation
1249
- # @param [Object] custom_field4 Value to be assigned
1250
- def custom_field4=(custom_field4)
1251
- if !custom_field4.nil? && custom_field4.to_s.length > 50
1252
- fail ArgumentError, 'invalid value for "custom_field4", the character length must be smaller than or equal to 50.'
1253
- end
1254
-
1255
- @custom_field4 = custom_field4
1256
- end
1257
-
1258
- # Custom attribute writer method with validation
1259
- # @param [Object] custom_field5 Value to be assigned
1260
- def custom_field5=(custom_field5)
1261
- if !custom_field5.nil? && custom_field5.to_s.length > 75
1262
- fail ArgumentError, 'invalid value for "custom_field5", the character length must be smaller than or equal to 75.'
1263
- end
1264
-
1265
- @custom_field5 = custom_field5
1266
- end
1267
-
1268
- # Custom attribute writer method with validation
1269
- # @param [Object] custom_field6 Value to be assigned
1270
- def custom_field6=(custom_field6)
1271
- if !custom_field6.nil? && custom_field6.to_s.length > 50
1272
- fail ArgumentError, 'invalid value for "custom_field6", the character length must be smaller than or equal to 50.'
1273
- end
1274
-
1275
- @custom_field6 = custom_field6
1276
- end
1277
-
1278
- # Custom attribute writer method with validation
1279
- # @param [Object] custom_field7 Value to be assigned
1280
- def custom_field7=(custom_field7)
1281
- if !custom_field7.nil? && custom_field7.to_s.length > 50
1282
- fail ArgumentError, 'invalid value for "custom_field7", the character length must be smaller than or equal to 50.'
1283
- end
1284
-
1285
- @custom_field7 = custom_field7
1286
- end
1287
-
1288
- # Custom attribute writer method checking allowed values (enum).
1289
- # @param [Object] echeck_bank_account_type Object to be assigned
1290
- def echeck_bank_account_type=(echeck_bank_account_type)
1291
- validator = EnumAttributeValidator.new('String', ['Checking', 'Savings'])
1292
- unless validator.valid?(echeck_bank_account_type)
1293
- fail ArgumentError, 'invalid value for "echeck_bank_account_type", must be one of #{validator.allowable_values}.'
1294
- end
1295
- @echeck_bank_account_type = echeck_bank_account_type
1296
- end
1297
-
1298
- # Custom attribute writer method checking allowed values (enum).
1299
- # @param [Object] echeck_bank_owner_type Object to be assigned
1300
- def echeck_bank_owner_type=(echeck_bank_owner_type)
1301
- validator = EnumAttributeValidator.new('String', ['Business', 'Personal'])
1302
- unless validator.valid?(echeck_bank_owner_type)
1303
- fail ArgumentError, 'invalid value for "echeck_bank_owner_type", must be one of #{validator.allowable_values}.'
1304
- end
1305
- @echeck_bank_owner_type = echeck_bank_owner_type
1306
- end
1307
-
1308
- # Custom attribute writer method with validation
1309
- # @param [Object] email Value to be assigned
1310
- def email=(email)
1311
- if !email.nil? && email.to_s.length > 100
1312
- fail ArgumentError, 'invalid value for "email", the character length must be smaller than or equal to 100.'
1313
- end
1314
-
1315
- @email = email
1316
- end
1317
-
1318
- # Custom attribute writer method with validation
1319
- # @param [Object] gift_email Value to be assigned
1320
- def gift_email=(gift_email)
1321
- if !gift_email.nil? && gift_email.to_s.length > 100
1322
- fail ArgumentError, 'invalid value for "gift_email", the character length must be smaller than or equal to 100.'
1323
- end
1324
-
1325
- @gift_email = gift_email
1326
- end
1327
-
1328
- # Custom attribute writer method with validation
1329
- # @param [Object] gift_message Value to be assigned
1330
- def gift_message=(gift_message)
1331
- if !gift_message.nil? && gift_message.to_s.length > 10000
1332
- fail ArgumentError, 'invalid value for "gift_message", the character length must be smaller than or equal to 10000.'
1333
- end
1334
-
1335
- @gift_message = gift_message
1336
- end
1337
-
1338
- # Custom attribute writer method checking allowed values (enum).
1339
- # @param [Object] payment_method Object to be assigned
1340
- def payment_method=(payment_method)
1341
- validator = EnumAttributeValidator.new('String', ['Affirm', 'Amazon', 'Check', 'COD', 'Credit Card', 'eCheck', 'LoanHero', 'Money Order', 'PayPal', 'Purchase Order', 'Quote Request', 'Wire Transfer'])
1342
- unless validator.valid?(payment_method)
1343
- fail ArgumentError, 'invalid value for "payment_method", must be one of #{validator.allowable_values}.'
1344
- end
1345
- @payment_method = payment_method
1346
- end
1347
-
1348
- # Custom attribute writer method with validation
1349
- # @param [Object] screen_branding_theme_code Value to be assigned
1350
- def screen_branding_theme_code=(screen_branding_theme_code)
1351
- if !screen_branding_theme_code.nil? && screen_branding_theme_code.to_s.length > 10
1352
- fail ArgumentError, 'invalid value for "screen_branding_theme_code", the character length must be smaller than or equal to 10.'
1353
- end
1354
-
1355
- @screen_branding_theme_code = screen_branding_theme_code
1356
- end
1357
-
1358
- # Custom attribute writer method with validation
1359
- # @param [Object] shipto_address1 Value to be assigned
1360
- def shipto_address1=(shipto_address1)
1361
- if !shipto_address1.nil? && shipto_address1.to_s.length > 50
1362
- fail ArgumentError, 'invalid value for "shipto_address1", the character length must be smaller than or equal to 50.'
1363
- end
1364
-
1365
- @shipto_address1 = shipto_address1
1366
- end
1367
-
1368
- # Custom attribute writer method with validation
1369
- # @param [Object] shipto_address2 Value to be assigned
1370
- def shipto_address2=(shipto_address2)
1371
- if !shipto_address2.nil? && shipto_address2.to_s.length > 50
1372
- fail ArgumentError, 'invalid value for "shipto_address2", the character length must be smaller than or equal to 50.'
1373
- end
1374
-
1375
- @shipto_address2 = shipto_address2
1376
- end
1377
-
1378
- # Custom attribute writer method with validation
1379
- # @param [Object] shipto_city Value to be assigned
1380
- def shipto_city=(shipto_city)
1381
- if !shipto_city.nil? && shipto_city.to_s.length > 32
1382
- fail ArgumentError, 'invalid value for "shipto_city", the character length must be smaller than or equal to 32.'
1383
- end
1384
-
1385
- @shipto_city = shipto_city
1386
- end
1387
-
1388
- # Custom attribute writer method with validation
1389
- # @param [Object] shipto_company Value to be assigned
1390
- def shipto_company=(shipto_company)
1391
- if !shipto_company.nil? && shipto_company.to_s.length > 50
1392
- fail ArgumentError, 'invalid value for "shipto_company", the character length must be smaller than or equal to 50.'
1393
- end
1394
-
1395
- @shipto_company = shipto_company
1396
- end
1397
-
1398
- # Custom attribute writer method with validation
1399
- # @param [Object] shipto_country_code Value to be assigned
1400
- def shipto_country_code=(shipto_country_code)
1401
- if !shipto_country_code.nil? && shipto_country_code.to_s.length > 2
1402
- fail ArgumentError, 'invalid value for "shipto_country_code", the character length must be smaller than or equal to 2.'
1403
- end
1404
-
1405
- @shipto_country_code = shipto_country_code
1406
- end
1407
-
1408
- # Custom attribute writer method with validation
1409
- # @param [Object] shipto_day_phone Value to be assigned
1410
- def shipto_day_phone=(shipto_day_phone)
1411
- if !shipto_day_phone.nil? && shipto_day_phone.to_s.length > 25
1412
- fail ArgumentError, 'invalid value for "shipto_day_phone", the character length must be smaller than or equal to 25.'
1413
- end
1414
-
1415
- @shipto_day_phone = shipto_day_phone
1416
- end
1417
-
1418
- # Custom attribute writer method with validation
1419
- # @param [Object] shipto_evening_phone Value to be assigned
1420
- def shipto_evening_phone=(shipto_evening_phone)
1421
- if !shipto_evening_phone.nil? && shipto_evening_phone.to_s.length > 25
1422
- fail ArgumentError, 'invalid value for "shipto_evening_phone", the character length must be smaller than or equal to 25.'
1423
- end
1424
-
1425
- @shipto_evening_phone = shipto_evening_phone
1426
- end
1427
-
1428
- # Custom attribute writer method with validation
1429
- # @param [Object] shipto_first_name Value to be assigned
1430
- def shipto_first_name=(shipto_first_name)
1431
- if !shipto_first_name.nil? && shipto_first_name.to_s.length > 30
1432
- fail ArgumentError, 'invalid value for "shipto_first_name", the character length must be smaller than or equal to 30.'
1433
- end
1434
-
1435
- @shipto_first_name = shipto_first_name
1436
- end
1437
-
1438
- # Custom attribute writer method with validation
1439
- # @param [Object] shipto_last_name Value to be assigned
1440
- def shipto_last_name=(shipto_last_name)
1441
- if !shipto_last_name.nil? && shipto_last_name.to_s.length > 30
1442
- fail ArgumentError, 'invalid value for "shipto_last_name", the character length must be smaller than or equal to 30.'
1443
- end
1444
-
1445
- @shipto_last_name = shipto_last_name
1446
- end
1447
-
1448
- # Custom attribute writer method with validation
1449
- # @param [Object] shipto_postal_code Value to be assigned
1450
- def shipto_postal_code=(shipto_postal_code)
1451
- if !shipto_postal_code.nil? && shipto_postal_code.to_s.length > 20
1452
- fail ArgumentError, 'invalid value for "shipto_postal_code", the character length must be smaller than or equal to 20.'
1453
- end
1454
-
1455
- @shipto_postal_code = shipto_postal_code
1456
- end
1457
-
1458
- # Custom attribute writer method with validation
1459
- # @param [Object] shipto_state_region Value to be assigned
1460
- def shipto_state_region=(shipto_state_region)
1461
- if !shipto_state_region.nil? && shipto_state_region.to_s.length > 32
1462
- fail ArgumentError, 'invalid value for "shipto_state_region", the character length must be smaller than or equal to 32.'
1463
- end
1464
-
1465
- @shipto_state_region = shipto_state_region
1466
- end
1467
-
1468
- # Custom attribute writer method with validation
1469
- # @param [Object] shipto_title Value to be assigned
1470
- def shipto_title=(shipto_title)
1471
- if !shipto_title.nil? && shipto_title.to_s.length > 50
1472
- fail ArgumentError, 'invalid value for "shipto_title", the character length must be smaller than or equal to 50.'
1473
- end
1474
-
1475
- @shipto_title = shipto_title
1476
- end
1477
-
1478
- # Custom attribute writer method with validation
1479
- # @param [Object] special_instructions Value to be assigned
1480
- def special_instructions=(special_instructions)
1481
- if !special_instructions.nil? && special_instructions.to_s.length > 10000
1482
- fail ArgumentError, 'invalid value for "special_instructions", the character length must be smaller than or equal to 10000.'
1483
- end
1484
-
1485
- @special_instructions = special_instructions
1486
- end
1487
-
1488
- # Checks equality by comparing each attribute.
1489
- # @param [Object] Object to be compared
1490
- def ==(o)
1491
- return true if self.equal?(o)
1492
- self.class == o.class &&
1493
- advertising_source == o.advertising_source &&
1494
- affiliate_id == o.affiliate_id &&
1495
- affiliate_sub_id == o.affiliate_sub_id &&
1496
- arbitrary_shipping_handling_total == o.arbitrary_shipping_handling_total &&
1497
- arbitrary_tax == o.arbitrary_tax &&
1498
- arbitrary_tax_rate == o.arbitrary_tax_rate &&
1499
- arbitrary_taxable_subtotal == o.arbitrary_taxable_subtotal &&
1500
- associate_with_customer_profile_if_present == o.associate_with_customer_profile_if_present &&
1501
- auto_approve_purchase_order == o.auto_approve_purchase_order &&
1502
- billto_address1 == o.billto_address1 &&
1503
- billto_address2 == o.billto_address2 &&
1504
- billto_city == o.billto_city &&
1505
- billto_company == o.billto_company &&
1506
- billto_country_code == o.billto_country_code &&
1507
- billto_day_phone == o.billto_day_phone &&
1508
- billto_evening_phone == o.billto_evening_phone &&
1509
- billto_first_name == o.billto_first_name &&
1510
- billto_last_name == o.billto_last_name &&
1511
- billto_postal_code == o.billto_postal_code &&
1512
- billto_state_region == o.billto_state_region &&
1513
- billto_title == o.billto_title &&
1514
- cc_email == o.cc_email &&
1515
- channel_partner_order_id == o.channel_partner_order_id &&
1516
- consider_recurring == o.consider_recurring &&
1517
- coupons == o.coupons &&
1518
- credit_card_authorization_amount == o.credit_card_authorization_amount &&
1519
- credit_card_authorization_dts == o.credit_card_authorization_dts &&
1520
- credit_card_authorization_number == o.credit_card_authorization_number &&
1521
- credit_card_expiration_month == o.credit_card_expiration_month &&
1522
- credit_card_expiration_year == o.credit_card_expiration_year &&
1523
- credit_card_type == o.credit_card_type &&
1524
- custom_field1 == o.custom_field1 &&
1525
- custom_field2 == o.custom_field2 &&
1526
- custom_field3 == o.custom_field3 &&
1527
- custom_field4 == o.custom_field4 &&
1528
- custom_field5 == o.custom_field5 &&
1529
- custom_field6 == o.custom_field6 &&
1530
- custom_field7 == o.custom_field7 &&
1531
- delivery_date == o.delivery_date &&
1532
- echeck_bank_aba_code == o.echeck_bank_aba_code &&
1533
- echeck_bank_account_name == o.echeck_bank_account_name &&
1534
- echeck_bank_account_number == o.echeck_bank_account_number &&
1535
- echeck_bank_account_type == o.echeck_bank_account_type &&
1536
- echeck_bank_name == o.echeck_bank_name &&
1537
- echeck_bank_owner_type == o.echeck_bank_owner_type &&
1538
- echeck_customer_tax_id == o.echeck_customer_tax_id &&
1539
- echeck_drivers_license_dob == o.echeck_drivers_license_dob &&
1540
- echeck_drivers_license_number == o.echeck_drivers_license_number &&
1541
- echeck_drivers_license_state == o.echeck_drivers_license_state &&
1542
- email == o.email &&
1543
- gift == o.gift &&
1544
- gift_email == o.gift_email &&
1545
- gift_message == o.gift_message &&
1546
- hosted_fields_card_token == o.hosted_fields_card_token &&
1547
- hosted_fields_cvv_token == o.hosted_fields_cvv_token &&
1548
- insurance_application_id == o.insurance_application_id &&
1549
- insurance_claim_id == o.insurance_claim_id &&
1550
- ip_address == o.ip_address &&
1551
- items == o.items &&
1552
- least_cost_route == o.least_cost_route &&
1553
- least_cost_route_shipping_methods == o.least_cost_route_shipping_methods &&
1554
- mailing_list_opt_in == o.mailing_list_opt_in &&
1555
- no_realtime_payment_processing == o.no_realtime_payment_processing &&
1556
- payment_method == o.payment_method &&
1557
- purchase_order_number == o.purchase_order_number &&
1558
- rotating_transaction_gateway_code == o.rotating_transaction_gateway_code &&
1559
- sales_rep_code == o.sales_rep_code &&
1560
- screen_branding_theme_code == o.screen_branding_theme_code &&
1561
- ship_on_date == o.ship_on_date &&
1562
- ship_to_residential == o.ship_to_residential &&
1563
- shipping_method == o.shipping_method &&
1564
- shipto_address1 == o.shipto_address1 &&
1565
- shipto_address2 == o.shipto_address2 &&
1566
- shipto_city == o.shipto_city &&
1567
- shipto_company == o.shipto_company &&
1568
- shipto_country_code == o.shipto_country_code &&
1569
- shipto_day_phone == o.shipto_day_phone &&
1570
- shipto_evening_phone == o.shipto_evening_phone &&
1571
- shipto_first_name == o.shipto_first_name &&
1572
- shipto_last_name == o.shipto_last_name &&
1573
- shipto_postal_code == o.shipto_postal_code &&
1574
- shipto_state_region == o.shipto_state_region &&
1575
- shipto_title == o.shipto_title &&
1576
- skip_payment_processing == o.skip_payment_processing &&
1577
- special_instructions == o.special_instructions &&
1578
- store_completed == o.store_completed &&
1579
- store_if_payment_declines == o.store_if_payment_declines &&
1580
- tax_county == o.tax_county &&
1581
- tax_exempt == o.tax_exempt &&
1582
- transaction == o.transaction &&
1583
- treat_warnings_as_errors == o.treat_warnings_as_errors
1584
- end
1585
-
1586
- # @see the `==` method
1587
- # @param [Object] Object to be compared
1588
- def eql?(o)
1589
- self == o
1590
- end
1591
-
1592
- # Calculates hash code according to all attributes.
1593
- # @return [Fixnum] Hash code
1594
- def hash
1595
- [advertising_source, affiliate_id, affiliate_sub_id, arbitrary_shipping_handling_total, arbitrary_tax, arbitrary_tax_rate, arbitrary_taxable_subtotal, associate_with_customer_profile_if_present, auto_approve_purchase_order, billto_address1, billto_address2, billto_city, billto_company, billto_country_code, billto_day_phone, billto_evening_phone, billto_first_name, billto_last_name, billto_postal_code, billto_state_region, billto_title, cc_email, channel_partner_order_id, consider_recurring, coupons, credit_card_authorization_amount, credit_card_authorization_dts, credit_card_authorization_number, credit_card_expiration_month, credit_card_expiration_year, credit_card_type, custom_field1, custom_field2, custom_field3, custom_field4, custom_field5, custom_field6, custom_field7, delivery_date, echeck_bank_aba_code, echeck_bank_account_name, echeck_bank_account_number, echeck_bank_account_type, echeck_bank_name, echeck_bank_owner_type, echeck_customer_tax_id, echeck_drivers_license_dob, echeck_drivers_license_number, echeck_drivers_license_state, email, gift, gift_email, gift_message, hosted_fields_card_token, hosted_fields_cvv_token, insurance_application_id, insurance_claim_id, ip_address, items, least_cost_route, least_cost_route_shipping_methods, mailing_list_opt_in, no_realtime_payment_processing, payment_method, purchase_order_number, rotating_transaction_gateway_code, sales_rep_code, screen_branding_theme_code, ship_on_date, ship_to_residential, shipping_method, shipto_address1, shipto_address2, shipto_city, shipto_company, shipto_country_code, shipto_day_phone, shipto_evening_phone, shipto_first_name, shipto_last_name, shipto_postal_code, shipto_state_region, shipto_title, skip_payment_processing, special_instructions, store_completed, store_if_payment_declines, tax_county, tax_exempt, transaction, treat_warnings_as_errors].hash
1596
- end
1597
-
1598
- # Builds the object from hash
1599
- # @param [Hash] attributes Model attributes in the form of hash
1600
- # @return [Object] Returns the model itself
1601
- def build_from_hash(attributes)
1602
- return nil unless attributes.is_a?(Hash)
1603
- self.class.swagger_types.each_pair do |key, type|
1604
- if type =~ /\AArray<(.*)>/i
1605
- # check to ensure the input is an array given that the attribute
1606
- # is documented as an array but the input is not
1607
- if attributes[self.class.attribute_map[key]].is_a?(Array)
1608
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
1609
- end
1610
- elsif !attributes[self.class.attribute_map[key]].nil?
1611
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
1612
- end # or else data not found in attributes(hash), not an issue as the data can be optional
1613
- end
1614
-
1615
- self
1616
- end
1617
-
1618
- # Deserializes the data based on type
1619
- # @param string type Data type
1620
- # @param string value Value to be deserialized
1621
- # @return [Object] Deserialized data
1622
- def _deserialize(type, value)
1623
- case type.to_sym
1624
- when :DateTime
1625
- DateTime.parse(value)
1626
- when :Date
1627
- Date.parse(value)
1628
- when :String
1629
- value.to_s
1630
- when :Integer
1631
- value.to_i
1632
- when :Float
1633
- value.to_f
1634
- when :BOOLEAN
1635
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
1636
- true
1637
- else
1638
- false
1639
- end
1640
- when :Object
1641
- # generic object (usually a Hash), return directly
1642
- value
1643
- when /\AArray<(?<inner_type>.+)>\z/
1644
- inner_type = Regexp.last_match[:inner_type]
1645
- value.map { |v| _deserialize(inner_type, v) }
1646
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
1647
- k_type = Regexp.last_match[:k_type]
1648
- v_type = Regexp.last_match[:v_type]
1649
- {}.tap do |hash|
1650
- value.each do |k, v|
1651
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
1652
- end
1653
- end
1654
- else # model
1655
- temp_model = UltracartClient.const_get(type).new
1656
- temp_model.build_from_hash(value)
1657
- end
1658
- end
1659
-
1660
- # Returns the string representation of the object
1661
- # @return [String] String presentation of the object
1662
- def to_s
1663
- to_hash.to_s
1664
- end
1665
-
1666
- # to_body is an alias to to_hash (backward compatibility)
1667
- # @return [Hash] Returns the object in the form of hash
1668
- def to_body
1669
- to_hash
1670
- end
1671
-
1672
- # Returns the object in the form of hash
1673
- # @return [Hash] Returns the object in the form of hash
1674
- def to_hash
1675
- hash = {}
1676
- self.class.attribute_map.each_pair do |attr, param|
1677
- value = self.send(attr)
1678
- next if value.nil?
1679
- hash[param] = _to_hash(value)
1680
- end
1681
- hash
1682
- end
1683
-
1684
- # Outputs non-array value in the form of hash
1685
- # For object, use to_hash. Otherwise, just return the value
1686
- # @param [Object] value Any valid value
1687
- # @return [Hash] Returns the value in the form of hash
1688
- def _to_hash(value)
1689
- if value.is_a?(Array)
1690
- value.compact.map { |v| _to_hash(v) }
1691
- elsif value.is_a?(Hash)
1692
- {}.tap do |hash|
1693
- value.each { |k, v| hash[k] = _to_hash(v) }
1694
- end
1695
- elsif value.respond_to? :to_hash
1696
- value.to_hash
1697
- else
1698
- value
1699
- end
1700
- end
1701
-
1702
- end
1703
- 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 ChannelPartnerOrder
18
+ # advertising_source
19
+ attr_accessor :advertising_source
20
+
21
+ # Affiliate Id
22
+ attr_accessor :affiliate_id
23
+
24
+ # Affiliate Sub Id
25
+ attr_accessor :affiliate_sub_id
26
+
27
+ # Arbitrary shipping handling total
28
+ attr_accessor :arbitrary_shipping_handling_total
29
+
30
+ # Arbitrary tax for overriding calculated taxes
31
+ attr_accessor :arbitrary_tax
32
+
33
+ # Arbitrary tax rate
34
+ attr_accessor :arbitrary_tax_rate
35
+
36
+ # Arbitrary taxable subtotal
37
+ attr_accessor :arbitrary_taxable_subtotal
38
+
39
+ # If true any matching customer profile based on email is associated with this order
40
+ attr_accessor :associate_with_customer_profile_if_present
41
+
42
+ # If true any purchase orders are automatically approved
43
+ attr_accessor :auto_approve_purchase_order
44
+
45
+ # Billing Address line 1
46
+ attr_accessor :billto_address1
47
+
48
+ # Billing Address line 2
49
+ attr_accessor :billto_address2
50
+
51
+ # Billing City
52
+ attr_accessor :billto_city
53
+
54
+ # Billing Company
55
+ attr_accessor :billto_company
56
+
57
+ # Billing ISO-3166 two letter country code
58
+ attr_accessor :billto_country_code
59
+
60
+ # Billing Day phone
61
+ attr_accessor :billto_day_phone
62
+
63
+ # Billing Evening phone
64
+ attr_accessor :billto_evening_phone
65
+
66
+ # Billing First name
67
+ attr_accessor :billto_first_name
68
+
69
+ # Billing Last name
70
+ attr_accessor :billto_last_name
71
+
72
+ # Billing Postal code
73
+ attr_accessor :billto_postal_code
74
+
75
+ # Billing State for United States otherwise region or province for other countries
76
+ attr_accessor :billto_state_region
77
+
78
+ # Billing Title
79
+ attr_accessor :billto_title
80
+
81
+ # CC email.
82
+ attr_accessor :cc_email
83
+
84
+ # The id for this order within the channel partner system.
85
+ attr_accessor :channel_partner_order_id
86
+
87
+ # If true this order is marked as an auto order (recurring)
88
+ attr_accessor :consider_recurring
89
+
90
+ # Array of coupon codes
91
+ attr_accessor :coupons
92
+
93
+ # The amount authorized externally
94
+ attr_accessor :credit_card_authorization_amount
95
+
96
+ # Date/Time of credit card authorization in ISO8601 format
97
+ attr_accessor :credit_card_authorization_dts
98
+
99
+ # The reference number provided by an externally processed transaction
100
+ attr_accessor :credit_card_authorization_number
101
+
102
+ # Credit card expiration month
103
+ attr_accessor :credit_card_expiration_month
104
+
105
+ # Credit card expiration year
106
+ attr_accessor :credit_card_expiration_year
107
+
108
+ # Credit card type
109
+ attr_accessor :credit_card_type
110
+
111
+ # Custom field 1
112
+ attr_accessor :custom_field1
113
+
114
+ # Custom field 2
115
+ attr_accessor :custom_field2
116
+
117
+ # Custom field 3
118
+ attr_accessor :custom_field3
119
+
120
+ # Custom field 4
121
+ attr_accessor :custom_field4
122
+
123
+ # Custom field 5
124
+ attr_accessor :custom_field5
125
+
126
+ # Custom field 6
127
+ attr_accessor :custom_field6
128
+
129
+ # Custom field 7
130
+ attr_accessor :custom_field7
131
+
132
+ # Date the customer is requesting delivery on. Typically used for perishable product delivery.
133
+ attr_accessor :delivery_date
134
+
135
+ # Email
136
+ attr_accessor :email
137
+
138
+ # True if this order is a gift
139
+ attr_accessor :gift
140
+
141
+ # Email address of the gift recipient
142
+ attr_accessor :gift_email
143
+
144
+ # Message to the gift recipient
145
+ attr_accessor :gift_message
146
+
147
+ # The token provided by UltraCart hosted fields when a credit card number is uploaded into the system. This is the only way to provide a credit card number.
148
+ attr_accessor :hosted_fields_card_token
149
+
150
+ # The token provided by UltraCart hosted fields when a credit card cvv is uploaded into the system. This is the only way to provide a cvv number.
151
+ attr_accessor :hosted_fields_cvv_token
152
+
153
+ # Insurance application id
154
+ attr_accessor :insurance_application_id
155
+
156
+ # Insurance claim id
157
+ attr_accessor :insurance_claim_id
158
+
159
+ # IP Address of the customer
160
+ attr_accessor :ip_address
161
+
162
+ # Items
163
+ attr_accessor :items
164
+
165
+ # If true the least expensive shipping method is automatically chosen during the order import
166
+ attr_accessor :least_cost_route
167
+
168
+ # An optional array of shipping methods to restict choices if least_cost_route is true
169
+ attr_accessor :least_cost_route_shipping_methods
170
+
171
+ # If true the customer is subscribed to any configured mailing lists
172
+ attr_accessor :mailing_list_opt_in
173
+
174
+ # If true no payment processing is done and the order is placed into Accounts Receivable
175
+ attr_accessor :no_realtime_payment_processing
176
+
177
+ # Payment method
178
+ attr_accessor :payment_method
179
+
180
+ # Purchase order number
181
+ attr_accessor :purchase_order_number
182
+
183
+ # The rotating transaction gateway code for the gateway used to charge this order
184
+ attr_accessor :rotating_transaction_gateway_code
185
+
186
+ # Screen branding theme code
187
+ attr_accessor :screen_branding_theme_code
188
+
189
+ # Date the customer is requesting that the order ship on. Typically used for perishable product delivery.
190
+ attr_accessor :ship_on_date
191
+
192
+ # True if the shipping adress is residential. Effects the methods that are available to the customer as well as the price of the shipping method.
193
+ attr_accessor :ship_to_residential
194
+
195
+ # Shipping method
196
+ attr_accessor :shipping_method
197
+
198
+ # Shipping Address line 1
199
+ attr_accessor :shipto_address1
200
+
201
+ # Shipping Address line 2
202
+ attr_accessor :shipto_address2
203
+
204
+ # Shipping City
205
+ attr_accessor :shipto_city
206
+
207
+ # Shipping Company
208
+ attr_accessor :shipto_company
209
+
210
+ # Shipping ISO-3166 two letter country code
211
+ attr_accessor :shipto_country_code
212
+
213
+ # Shipping Day phone
214
+ attr_accessor :shipto_day_phone
215
+
216
+ # Shipping Evening phone
217
+ attr_accessor :shipto_evening_phone
218
+
219
+ # Shipping First name
220
+ attr_accessor :shipto_first_name
221
+
222
+ # Shipping Last name
223
+ attr_accessor :shipto_last_name
224
+
225
+ # Shipping Postal code
226
+ attr_accessor :shipto_postal_code
227
+
228
+ # Shipping State for United States otherwise region or province for other countries
229
+ attr_accessor :shipto_state_region
230
+
231
+ # Shipping Title
232
+ attr_accessor :shipto_title
233
+
234
+ # If true the order is placed directly into the shipping department
235
+ attr_accessor :skip_payment_processing
236
+
237
+ # Special instructions from the customer regarding shipping
238
+ attr_accessor :special_instructions
239
+
240
+ # If true the order bypasses shipping and is marked completed
241
+ attr_accessor :store_completed
242
+
243
+ # If true any failed payments are placed into Accounts Receivable. If false any failed payments result in a rejected order resulting in errors thrown during the insert routine
244
+ attr_accessor :store_if_payment_declines
245
+
246
+ # The optional shipping county used to determine exact taxes
247
+ attr_accessor :tax_county
248
+
249
+ # If true this order is marked as being tax exempt
250
+ attr_accessor :tax_exempt
251
+
252
+ attr_accessor :transaction
253
+
254
+ # If true all warnings are considered errors, this is true by default
255
+ attr_accessor :treat_warnings_as_errors
256
+
257
+ class EnumAttributeValidator
258
+ attr_reader :datatype
259
+ attr_reader :allowable_values
260
+
261
+ def initialize(datatype, allowable_values)
262
+ @allowable_values = allowable_values.map do |value|
263
+ case datatype.to_s
264
+ when /Integer/i
265
+ value.to_i
266
+ when /Float/i
267
+ value.to_f
268
+ else
269
+ value
270
+ end
271
+ end
272
+ end
273
+
274
+ def valid?(value)
275
+ !value || allowable_values.include?(value)
276
+ end
277
+ end
278
+
279
+ # Attribute mapping from ruby-style variable name to JSON key.
280
+ def self.attribute_map
281
+ {
282
+ :'advertising_source' => :'advertisingSource',
283
+ :'affiliate_id' => :'affiliate_id',
284
+ :'affiliate_sub_id' => :'affiliate_sub_id',
285
+ :'arbitrary_shipping_handling_total' => :'arbitrary_shipping_handling_total',
286
+ :'arbitrary_tax' => :'arbitrary_tax',
287
+ :'arbitrary_tax_rate' => :'arbitrary_tax_rate',
288
+ :'arbitrary_taxable_subtotal' => :'arbitrary_taxable_subtotal',
289
+ :'associate_with_customer_profile_if_present' => :'associate_with_customer_profile_if_present',
290
+ :'auto_approve_purchase_order' => :'auto_approve_purchase_order',
291
+ :'billto_address1' => :'billto_address1',
292
+ :'billto_address2' => :'billto_address2',
293
+ :'billto_city' => :'billto_city',
294
+ :'billto_company' => :'billto_company',
295
+ :'billto_country_code' => :'billto_country_code',
296
+ :'billto_day_phone' => :'billto_day_phone',
297
+ :'billto_evening_phone' => :'billto_evening_phone',
298
+ :'billto_first_name' => :'billto_first_name',
299
+ :'billto_last_name' => :'billto_last_name',
300
+ :'billto_postal_code' => :'billto_postal_code',
301
+ :'billto_state_region' => :'billto_state_region',
302
+ :'billto_title' => :'billto_title',
303
+ :'cc_email' => :'cc_email',
304
+ :'channel_partner_order_id' => :'channel_partner_order_id',
305
+ :'consider_recurring' => :'consider_recurring',
306
+ :'coupons' => :'coupons',
307
+ :'credit_card_authorization_amount' => :'credit_card_authorization_amount',
308
+ :'credit_card_authorization_dts' => :'credit_card_authorization_dts',
309
+ :'credit_card_authorization_number' => :'credit_card_authorization_number',
310
+ :'credit_card_expiration_month' => :'credit_card_expiration_month',
311
+ :'credit_card_expiration_year' => :'credit_card_expiration_year',
312
+ :'credit_card_type' => :'credit_card_type',
313
+ :'custom_field1' => :'custom_field1',
314
+ :'custom_field2' => :'custom_field2',
315
+ :'custom_field3' => :'custom_field3',
316
+ :'custom_field4' => :'custom_field4',
317
+ :'custom_field5' => :'custom_field5',
318
+ :'custom_field6' => :'custom_field6',
319
+ :'custom_field7' => :'custom_field7',
320
+ :'delivery_date' => :'delivery_date',
321
+ :'email' => :'email',
322
+ :'gift' => :'gift',
323
+ :'gift_email' => :'gift_email',
324
+ :'gift_message' => :'gift_message',
325
+ :'hosted_fields_card_token' => :'hosted_fields_card_token',
326
+ :'hosted_fields_cvv_token' => :'hosted_fields_cvv_token',
327
+ :'insurance_application_id' => :'insurance_application_id',
328
+ :'insurance_claim_id' => :'insurance_claim_id',
329
+ :'ip_address' => :'ip_address',
330
+ :'items' => :'items',
331
+ :'least_cost_route' => :'least_cost_route',
332
+ :'least_cost_route_shipping_methods' => :'least_cost_route_shipping_methods',
333
+ :'mailing_list_opt_in' => :'mailing_list_opt_in',
334
+ :'no_realtime_payment_processing' => :'no_realtime_payment_processing',
335
+ :'payment_method' => :'payment_method',
336
+ :'purchase_order_number' => :'purchase_order_number',
337
+ :'rotating_transaction_gateway_code' => :'rotating_transaction_gateway_code',
338
+ :'screen_branding_theme_code' => :'screen_branding_theme_code',
339
+ :'ship_on_date' => :'ship_on_date',
340
+ :'ship_to_residential' => :'ship_to_residential',
341
+ :'shipping_method' => :'shipping_method',
342
+ :'shipto_address1' => :'shipto_address1',
343
+ :'shipto_address2' => :'shipto_address2',
344
+ :'shipto_city' => :'shipto_city',
345
+ :'shipto_company' => :'shipto_company',
346
+ :'shipto_country_code' => :'shipto_country_code',
347
+ :'shipto_day_phone' => :'shipto_day_phone',
348
+ :'shipto_evening_phone' => :'shipto_evening_phone',
349
+ :'shipto_first_name' => :'shipto_first_name',
350
+ :'shipto_last_name' => :'shipto_last_name',
351
+ :'shipto_postal_code' => :'shipto_postal_code',
352
+ :'shipto_state_region' => :'shipto_state_region',
353
+ :'shipto_title' => :'shipto_title',
354
+ :'skip_payment_processing' => :'skip_payment_processing',
355
+ :'special_instructions' => :'special_instructions',
356
+ :'store_completed' => :'store_completed',
357
+ :'store_if_payment_declines' => :'store_if_payment_declines',
358
+ :'tax_county' => :'tax_county',
359
+ :'tax_exempt' => :'tax_exempt',
360
+ :'transaction' => :'transaction',
361
+ :'treat_warnings_as_errors' => :'treat_warnings_as_errors'
362
+ }
363
+ end
364
+
365
+ # Returns all the JSON keys this model knows about
366
+ def self.acceptable_attributes
367
+ attribute_map.values
368
+ end
369
+
370
+ # Attribute type mapping.
371
+ def self.openapi_types
372
+ {
373
+ :'advertising_source' => :'String',
374
+ :'affiliate_id' => :'String',
375
+ :'affiliate_sub_id' => :'String',
376
+ :'arbitrary_shipping_handling_total' => :'Float',
377
+ :'arbitrary_tax' => :'Float',
378
+ :'arbitrary_tax_rate' => :'Float',
379
+ :'arbitrary_taxable_subtotal' => :'Float',
380
+ :'associate_with_customer_profile_if_present' => :'Boolean',
381
+ :'auto_approve_purchase_order' => :'Boolean',
382
+ :'billto_address1' => :'String',
383
+ :'billto_address2' => :'String',
384
+ :'billto_city' => :'String',
385
+ :'billto_company' => :'String',
386
+ :'billto_country_code' => :'String',
387
+ :'billto_day_phone' => :'String',
388
+ :'billto_evening_phone' => :'String',
389
+ :'billto_first_name' => :'String',
390
+ :'billto_last_name' => :'String',
391
+ :'billto_postal_code' => :'String',
392
+ :'billto_state_region' => :'String',
393
+ :'billto_title' => :'String',
394
+ :'cc_email' => :'String',
395
+ :'channel_partner_order_id' => :'String',
396
+ :'consider_recurring' => :'Boolean',
397
+ :'coupons' => :'Array<String>',
398
+ :'credit_card_authorization_amount' => :'Float',
399
+ :'credit_card_authorization_dts' => :'String',
400
+ :'credit_card_authorization_number' => :'String',
401
+ :'credit_card_expiration_month' => :'Integer',
402
+ :'credit_card_expiration_year' => :'Integer',
403
+ :'credit_card_type' => :'String',
404
+ :'custom_field1' => :'String',
405
+ :'custom_field2' => :'String',
406
+ :'custom_field3' => :'String',
407
+ :'custom_field4' => :'String',
408
+ :'custom_field5' => :'String',
409
+ :'custom_field6' => :'String',
410
+ :'custom_field7' => :'String',
411
+ :'delivery_date' => :'String',
412
+ :'email' => :'String',
413
+ :'gift' => :'Boolean',
414
+ :'gift_email' => :'String',
415
+ :'gift_message' => :'String',
416
+ :'hosted_fields_card_token' => :'String',
417
+ :'hosted_fields_cvv_token' => :'String',
418
+ :'insurance_application_id' => :'String',
419
+ :'insurance_claim_id' => :'String',
420
+ :'ip_address' => :'String',
421
+ :'items' => :'Array<ChannelPartnerOrderItem>',
422
+ :'least_cost_route' => :'Boolean',
423
+ :'least_cost_route_shipping_methods' => :'Array<String>',
424
+ :'mailing_list_opt_in' => :'Boolean',
425
+ :'no_realtime_payment_processing' => :'Boolean',
426
+ :'payment_method' => :'String',
427
+ :'purchase_order_number' => :'String',
428
+ :'rotating_transaction_gateway_code' => :'String',
429
+ :'screen_branding_theme_code' => :'String',
430
+ :'ship_on_date' => :'String',
431
+ :'ship_to_residential' => :'Boolean',
432
+ :'shipping_method' => :'String',
433
+ :'shipto_address1' => :'String',
434
+ :'shipto_address2' => :'String',
435
+ :'shipto_city' => :'String',
436
+ :'shipto_company' => :'String',
437
+ :'shipto_country_code' => :'String',
438
+ :'shipto_day_phone' => :'String',
439
+ :'shipto_evening_phone' => :'String',
440
+ :'shipto_first_name' => :'String',
441
+ :'shipto_last_name' => :'String',
442
+ :'shipto_postal_code' => :'String',
443
+ :'shipto_state_region' => :'String',
444
+ :'shipto_title' => :'String',
445
+ :'skip_payment_processing' => :'Boolean',
446
+ :'special_instructions' => :'String',
447
+ :'store_completed' => :'Boolean',
448
+ :'store_if_payment_declines' => :'Boolean',
449
+ :'tax_county' => :'String',
450
+ :'tax_exempt' => :'Boolean',
451
+ :'transaction' => :'ChannelPartnerOrderTransaction',
452
+ :'treat_warnings_as_errors' => :'Boolean'
453
+ }
454
+ end
455
+
456
+ # List of attributes with nullable: true
457
+ def self.openapi_nullable
458
+ Set.new([
459
+ ])
460
+ end
461
+
462
+ # Initializes the object
463
+ # @param [Hash] attributes Model attributes in the form of hash
464
+ def initialize(attributes = {})
465
+ if (!attributes.is_a?(Hash))
466
+ fail ArgumentError, "The input argument (attributes) must be a hash in `UltracartClient::ChannelPartnerOrder` initialize method"
467
+ end
468
+
469
+ # check to see if the attribute exists and convert string to symbol for hash key
470
+ attributes = attributes.each_with_object({}) { |(k, v), h|
471
+ if (!self.class.attribute_map.key?(k.to_sym))
472
+ fail ArgumentError, "`#{k}` is not a valid attribute in `UltracartClient::ChannelPartnerOrder`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
473
+ end
474
+ h[k.to_sym] = v
475
+ }
476
+
477
+ if attributes.key?(:'advertising_source')
478
+ self.advertising_source = attributes[:'advertising_source']
479
+ end
480
+
481
+ if attributes.key?(:'affiliate_id')
482
+ self.affiliate_id = attributes[:'affiliate_id']
483
+ end
484
+
485
+ if attributes.key?(:'affiliate_sub_id')
486
+ self.affiliate_sub_id = attributes[:'affiliate_sub_id']
487
+ end
488
+
489
+ if attributes.key?(:'arbitrary_shipping_handling_total')
490
+ self.arbitrary_shipping_handling_total = attributes[:'arbitrary_shipping_handling_total']
491
+ end
492
+
493
+ if attributes.key?(:'arbitrary_tax')
494
+ self.arbitrary_tax = attributes[:'arbitrary_tax']
495
+ end
496
+
497
+ if attributes.key?(:'arbitrary_tax_rate')
498
+ self.arbitrary_tax_rate = attributes[:'arbitrary_tax_rate']
499
+ end
500
+
501
+ if attributes.key?(:'arbitrary_taxable_subtotal')
502
+ self.arbitrary_taxable_subtotal = attributes[:'arbitrary_taxable_subtotal']
503
+ end
504
+
505
+ if attributes.key?(:'associate_with_customer_profile_if_present')
506
+ self.associate_with_customer_profile_if_present = attributes[:'associate_with_customer_profile_if_present']
507
+ end
508
+
509
+ if attributes.key?(:'auto_approve_purchase_order')
510
+ self.auto_approve_purchase_order = attributes[:'auto_approve_purchase_order']
511
+ end
512
+
513
+ if attributes.key?(:'billto_address1')
514
+ self.billto_address1 = attributes[:'billto_address1']
515
+ end
516
+
517
+ if attributes.key?(:'billto_address2')
518
+ self.billto_address2 = attributes[:'billto_address2']
519
+ end
520
+
521
+ if attributes.key?(:'billto_city')
522
+ self.billto_city = attributes[:'billto_city']
523
+ end
524
+
525
+ if attributes.key?(:'billto_company')
526
+ self.billto_company = attributes[:'billto_company']
527
+ end
528
+
529
+ if attributes.key?(:'billto_country_code')
530
+ self.billto_country_code = attributes[:'billto_country_code']
531
+ end
532
+
533
+ if attributes.key?(:'billto_day_phone')
534
+ self.billto_day_phone = attributes[:'billto_day_phone']
535
+ end
536
+
537
+ if attributes.key?(:'billto_evening_phone')
538
+ self.billto_evening_phone = attributes[:'billto_evening_phone']
539
+ end
540
+
541
+ if attributes.key?(:'billto_first_name')
542
+ self.billto_first_name = attributes[:'billto_first_name']
543
+ end
544
+
545
+ if attributes.key?(:'billto_last_name')
546
+ self.billto_last_name = attributes[:'billto_last_name']
547
+ end
548
+
549
+ if attributes.key?(:'billto_postal_code')
550
+ self.billto_postal_code = attributes[:'billto_postal_code']
551
+ end
552
+
553
+ if attributes.key?(:'billto_state_region')
554
+ self.billto_state_region = attributes[:'billto_state_region']
555
+ end
556
+
557
+ if attributes.key?(:'billto_title')
558
+ self.billto_title = attributes[:'billto_title']
559
+ end
560
+
561
+ if attributes.key?(:'cc_email')
562
+ self.cc_email = attributes[:'cc_email']
563
+ end
564
+
565
+ if attributes.key?(:'channel_partner_order_id')
566
+ self.channel_partner_order_id = attributes[:'channel_partner_order_id']
567
+ end
568
+
569
+ if attributes.key?(:'consider_recurring')
570
+ self.consider_recurring = attributes[:'consider_recurring']
571
+ end
572
+
573
+ if attributes.key?(:'coupons')
574
+ if (value = attributes[:'coupons']).is_a?(Array)
575
+ self.coupons = value
576
+ end
577
+ end
578
+
579
+ if attributes.key?(:'credit_card_authorization_amount')
580
+ self.credit_card_authorization_amount = attributes[:'credit_card_authorization_amount']
581
+ end
582
+
583
+ if attributes.key?(:'credit_card_authorization_dts')
584
+ self.credit_card_authorization_dts = attributes[:'credit_card_authorization_dts']
585
+ end
586
+
587
+ if attributes.key?(:'credit_card_authorization_number')
588
+ self.credit_card_authorization_number = attributes[:'credit_card_authorization_number']
589
+ end
590
+
591
+ if attributes.key?(:'credit_card_expiration_month')
592
+ self.credit_card_expiration_month = attributes[:'credit_card_expiration_month']
593
+ end
594
+
595
+ if attributes.key?(:'credit_card_expiration_year')
596
+ self.credit_card_expiration_year = attributes[:'credit_card_expiration_year']
597
+ end
598
+
599
+ if attributes.key?(:'credit_card_type')
600
+ self.credit_card_type = attributes[:'credit_card_type']
601
+ end
602
+
603
+ if attributes.key?(:'custom_field1')
604
+ self.custom_field1 = attributes[:'custom_field1']
605
+ end
606
+
607
+ if attributes.key?(:'custom_field2')
608
+ self.custom_field2 = attributes[:'custom_field2']
609
+ end
610
+
611
+ if attributes.key?(:'custom_field3')
612
+ self.custom_field3 = attributes[:'custom_field3']
613
+ end
614
+
615
+ if attributes.key?(:'custom_field4')
616
+ self.custom_field4 = attributes[:'custom_field4']
617
+ end
618
+
619
+ if attributes.key?(:'custom_field5')
620
+ self.custom_field5 = attributes[:'custom_field5']
621
+ end
622
+
623
+ if attributes.key?(:'custom_field6')
624
+ self.custom_field6 = attributes[:'custom_field6']
625
+ end
626
+
627
+ if attributes.key?(:'custom_field7')
628
+ self.custom_field7 = attributes[:'custom_field7']
629
+ end
630
+
631
+ if attributes.key?(:'delivery_date')
632
+ self.delivery_date = attributes[:'delivery_date']
633
+ end
634
+
635
+ if attributes.key?(:'email')
636
+ self.email = attributes[:'email']
637
+ end
638
+
639
+ if attributes.key?(:'gift')
640
+ self.gift = attributes[:'gift']
641
+ end
642
+
643
+ if attributes.key?(:'gift_email')
644
+ self.gift_email = attributes[:'gift_email']
645
+ end
646
+
647
+ if attributes.key?(:'gift_message')
648
+ self.gift_message = attributes[:'gift_message']
649
+ end
650
+
651
+ if attributes.key?(:'hosted_fields_card_token')
652
+ self.hosted_fields_card_token = attributes[:'hosted_fields_card_token']
653
+ end
654
+
655
+ if attributes.key?(:'hosted_fields_cvv_token')
656
+ self.hosted_fields_cvv_token = attributes[:'hosted_fields_cvv_token']
657
+ end
658
+
659
+ if attributes.key?(:'insurance_application_id')
660
+ self.insurance_application_id = attributes[:'insurance_application_id']
661
+ end
662
+
663
+ if attributes.key?(:'insurance_claim_id')
664
+ self.insurance_claim_id = attributes[:'insurance_claim_id']
665
+ end
666
+
667
+ if attributes.key?(:'ip_address')
668
+ self.ip_address = attributes[:'ip_address']
669
+ end
670
+
671
+ if attributes.key?(:'items')
672
+ if (value = attributes[:'items']).is_a?(Array)
673
+ self.items = value
674
+ end
675
+ end
676
+
677
+ if attributes.key?(:'least_cost_route')
678
+ self.least_cost_route = attributes[:'least_cost_route']
679
+ end
680
+
681
+ if attributes.key?(:'least_cost_route_shipping_methods')
682
+ if (value = attributes[:'least_cost_route_shipping_methods']).is_a?(Array)
683
+ self.least_cost_route_shipping_methods = value
684
+ end
685
+ end
686
+
687
+ if attributes.key?(:'mailing_list_opt_in')
688
+ self.mailing_list_opt_in = attributes[:'mailing_list_opt_in']
689
+ end
690
+
691
+ if attributes.key?(:'no_realtime_payment_processing')
692
+ self.no_realtime_payment_processing = attributes[:'no_realtime_payment_processing']
693
+ end
694
+
695
+ if attributes.key?(:'payment_method')
696
+ self.payment_method = attributes[:'payment_method']
697
+ end
698
+
699
+ if attributes.key?(:'purchase_order_number')
700
+ self.purchase_order_number = attributes[:'purchase_order_number']
701
+ end
702
+
703
+ if attributes.key?(:'rotating_transaction_gateway_code')
704
+ self.rotating_transaction_gateway_code = attributes[:'rotating_transaction_gateway_code']
705
+ end
706
+
707
+ if attributes.key?(:'screen_branding_theme_code')
708
+ self.screen_branding_theme_code = attributes[:'screen_branding_theme_code']
709
+ end
710
+
711
+ if attributes.key?(:'ship_on_date')
712
+ self.ship_on_date = attributes[:'ship_on_date']
713
+ end
714
+
715
+ if attributes.key?(:'ship_to_residential')
716
+ self.ship_to_residential = attributes[:'ship_to_residential']
717
+ end
718
+
719
+ if attributes.key?(:'shipping_method')
720
+ self.shipping_method = attributes[:'shipping_method']
721
+ end
722
+
723
+ if attributes.key?(:'shipto_address1')
724
+ self.shipto_address1 = attributes[:'shipto_address1']
725
+ end
726
+
727
+ if attributes.key?(:'shipto_address2')
728
+ self.shipto_address2 = attributes[:'shipto_address2']
729
+ end
730
+
731
+ if attributes.key?(:'shipto_city')
732
+ self.shipto_city = attributes[:'shipto_city']
733
+ end
734
+
735
+ if attributes.key?(:'shipto_company')
736
+ self.shipto_company = attributes[:'shipto_company']
737
+ end
738
+
739
+ if attributes.key?(:'shipto_country_code')
740
+ self.shipto_country_code = attributes[:'shipto_country_code']
741
+ end
742
+
743
+ if attributes.key?(:'shipto_day_phone')
744
+ self.shipto_day_phone = attributes[:'shipto_day_phone']
745
+ end
746
+
747
+ if attributes.key?(:'shipto_evening_phone')
748
+ self.shipto_evening_phone = attributes[:'shipto_evening_phone']
749
+ end
750
+
751
+ if attributes.key?(:'shipto_first_name')
752
+ self.shipto_first_name = attributes[:'shipto_first_name']
753
+ end
754
+
755
+ if attributes.key?(:'shipto_last_name')
756
+ self.shipto_last_name = attributes[:'shipto_last_name']
757
+ end
758
+
759
+ if attributes.key?(:'shipto_postal_code')
760
+ self.shipto_postal_code = attributes[:'shipto_postal_code']
761
+ end
762
+
763
+ if attributes.key?(:'shipto_state_region')
764
+ self.shipto_state_region = attributes[:'shipto_state_region']
765
+ end
766
+
767
+ if attributes.key?(:'shipto_title')
768
+ self.shipto_title = attributes[:'shipto_title']
769
+ end
770
+
771
+ if attributes.key?(:'skip_payment_processing')
772
+ self.skip_payment_processing = attributes[:'skip_payment_processing']
773
+ end
774
+
775
+ if attributes.key?(:'special_instructions')
776
+ self.special_instructions = attributes[:'special_instructions']
777
+ end
778
+
779
+ if attributes.key?(:'store_completed')
780
+ self.store_completed = attributes[:'store_completed']
781
+ end
782
+
783
+ if attributes.key?(:'store_if_payment_declines')
784
+ self.store_if_payment_declines = attributes[:'store_if_payment_declines']
785
+ end
786
+
787
+ if attributes.key?(:'tax_county')
788
+ self.tax_county = attributes[:'tax_county']
789
+ end
790
+
791
+ if attributes.key?(:'tax_exempt')
792
+ self.tax_exempt = attributes[:'tax_exempt']
793
+ end
794
+
795
+ if attributes.key?(:'transaction')
796
+ self.transaction = attributes[:'transaction']
797
+ end
798
+
799
+ if attributes.key?(:'treat_warnings_as_errors')
800
+ self.treat_warnings_as_errors = attributes[:'treat_warnings_as_errors']
801
+ end
802
+ end
803
+
804
+ # Show invalid properties with the reasons. Usually used together with valid?
805
+ # @return Array for valid properties with the reasons
806
+ def list_invalid_properties
807
+ invalid_properties = Array.new
808
+ if !@billto_address1.nil? && @billto_address1.to_s.length > 50
809
+ invalid_properties.push('invalid value for "billto_address1", the character length must be smaller than or equal to 50.')
810
+ end
811
+
812
+ if !@billto_address2.nil? && @billto_address2.to_s.length > 50
813
+ invalid_properties.push('invalid value for "billto_address2", the character length must be smaller than or equal to 50.')
814
+ end
815
+
816
+ if !@billto_city.nil? && @billto_city.to_s.length > 32
817
+ invalid_properties.push('invalid value for "billto_city", the character length must be smaller than or equal to 32.')
818
+ end
819
+
820
+ if !@billto_company.nil? && @billto_company.to_s.length > 50
821
+ invalid_properties.push('invalid value for "billto_company", the character length must be smaller than or equal to 50.')
822
+ end
823
+
824
+ if !@billto_country_code.nil? && @billto_country_code.to_s.length > 2
825
+ invalid_properties.push('invalid value for "billto_country_code", the character length must be smaller than or equal to 2.')
826
+ end
827
+
828
+ if !@billto_day_phone.nil? && @billto_day_phone.to_s.length > 25
829
+ invalid_properties.push('invalid value for "billto_day_phone", the character length must be smaller than or equal to 25.')
830
+ end
831
+
832
+ if !@billto_evening_phone.nil? && @billto_evening_phone.to_s.length > 25
833
+ invalid_properties.push('invalid value for "billto_evening_phone", the character length must be smaller than or equal to 25.')
834
+ end
835
+
836
+ if !@billto_first_name.nil? && @billto_first_name.to_s.length > 30
837
+ invalid_properties.push('invalid value for "billto_first_name", the character length must be smaller than or equal to 30.')
838
+ end
839
+
840
+ if !@billto_last_name.nil? && @billto_last_name.to_s.length > 30
841
+ invalid_properties.push('invalid value for "billto_last_name", the character length must be smaller than or equal to 30.')
842
+ end
843
+
844
+ if !@billto_postal_code.nil? && @billto_postal_code.to_s.length > 20
845
+ invalid_properties.push('invalid value for "billto_postal_code", the character length must be smaller than or equal to 20.')
846
+ end
847
+
848
+ if !@billto_state_region.nil? && @billto_state_region.to_s.length > 32
849
+ invalid_properties.push('invalid value for "billto_state_region", the character length must be smaller than or equal to 32.')
850
+ end
851
+
852
+ if !@billto_title.nil? && @billto_title.to_s.length > 50
853
+ invalid_properties.push('invalid value for "billto_title", the character length must be smaller than or equal to 50.')
854
+ end
855
+
856
+ if !@cc_email.nil? && @cc_email.to_s.length > 100
857
+ invalid_properties.push('invalid value for "cc_email", the character length must be smaller than or equal to 100.')
858
+ end
859
+
860
+ if !@custom_field1.nil? && @custom_field1.to_s.length > 50
861
+ invalid_properties.push('invalid value for "custom_field1", the character length must be smaller than or equal to 50.')
862
+ end
863
+
864
+ if !@custom_field2.nil? && @custom_field2.to_s.length > 50
865
+ invalid_properties.push('invalid value for "custom_field2", the character length must be smaller than or equal to 50.')
866
+ end
867
+
868
+ if !@custom_field3.nil? && @custom_field3.to_s.length > 50
869
+ invalid_properties.push('invalid value for "custom_field3", the character length must be smaller than or equal to 50.')
870
+ end
871
+
872
+ if !@custom_field4.nil? && @custom_field4.to_s.length > 50
873
+ invalid_properties.push('invalid value for "custom_field4", the character length must be smaller than or equal to 50.')
874
+ end
875
+
876
+ if !@custom_field5.nil? && @custom_field5.to_s.length > 75
877
+ invalid_properties.push('invalid value for "custom_field5", the character length must be smaller than or equal to 75.')
878
+ end
879
+
880
+ if !@custom_field6.nil? && @custom_field6.to_s.length > 50
881
+ invalid_properties.push('invalid value for "custom_field6", the character length must be smaller than or equal to 50.')
882
+ end
883
+
884
+ if !@custom_field7.nil? && @custom_field7.to_s.length > 50
885
+ invalid_properties.push('invalid value for "custom_field7", the character length must be smaller than or equal to 50.')
886
+ end
887
+
888
+ if !@email.nil? && @email.to_s.length > 100
889
+ invalid_properties.push('invalid value for "email", the character length must be smaller than or equal to 100.')
890
+ end
891
+
892
+ if !@gift_email.nil? && @gift_email.to_s.length > 100
893
+ invalid_properties.push('invalid value for "gift_email", the character length must be smaller than or equal to 100.')
894
+ end
895
+
896
+ if !@gift_message.nil? && @gift_message.to_s.length > 10000
897
+ invalid_properties.push('invalid value for "gift_message", the character length must be smaller than or equal to 10000.')
898
+ end
899
+
900
+ if !@screen_branding_theme_code.nil? && @screen_branding_theme_code.to_s.length > 10
901
+ invalid_properties.push('invalid value for "screen_branding_theme_code", the character length must be smaller than or equal to 10.')
902
+ end
903
+
904
+ if !@shipto_address1.nil? && @shipto_address1.to_s.length > 50
905
+ invalid_properties.push('invalid value for "shipto_address1", the character length must be smaller than or equal to 50.')
906
+ end
907
+
908
+ if !@shipto_address2.nil? && @shipto_address2.to_s.length > 50
909
+ invalid_properties.push('invalid value for "shipto_address2", the character length must be smaller than or equal to 50.')
910
+ end
911
+
912
+ if !@shipto_city.nil? && @shipto_city.to_s.length > 32
913
+ invalid_properties.push('invalid value for "shipto_city", the character length must be smaller than or equal to 32.')
914
+ end
915
+
916
+ if !@shipto_company.nil? && @shipto_company.to_s.length > 50
917
+ invalid_properties.push('invalid value for "shipto_company", the character length must be smaller than or equal to 50.')
918
+ end
919
+
920
+ if !@shipto_country_code.nil? && @shipto_country_code.to_s.length > 2
921
+ invalid_properties.push('invalid value for "shipto_country_code", the character length must be smaller than or equal to 2.')
922
+ end
923
+
924
+ if !@shipto_day_phone.nil? && @shipto_day_phone.to_s.length > 25
925
+ invalid_properties.push('invalid value for "shipto_day_phone", the character length must be smaller than or equal to 25.')
926
+ end
927
+
928
+ if !@shipto_evening_phone.nil? && @shipto_evening_phone.to_s.length > 25
929
+ invalid_properties.push('invalid value for "shipto_evening_phone", the character length must be smaller than or equal to 25.')
930
+ end
931
+
932
+ if !@shipto_first_name.nil? && @shipto_first_name.to_s.length > 30
933
+ invalid_properties.push('invalid value for "shipto_first_name", the character length must be smaller than or equal to 30.')
934
+ end
935
+
936
+ if !@shipto_last_name.nil? && @shipto_last_name.to_s.length > 30
937
+ invalid_properties.push('invalid value for "shipto_last_name", the character length must be smaller than or equal to 30.')
938
+ end
939
+
940
+ if !@shipto_postal_code.nil? && @shipto_postal_code.to_s.length > 20
941
+ invalid_properties.push('invalid value for "shipto_postal_code", the character length must be smaller than or equal to 20.')
942
+ end
943
+
944
+ if !@shipto_state_region.nil? && @shipto_state_region.to_s.length > 32
945
+ invalid_properties.push('invalid value for "shipto_state_region", the character length must be smaller than or equal to 32.')
946
+ end
947
+
948
+ if !@shipto_title.nil? && @shipto_title.to_s.length > 50
949
+ invalid_properties.push('invalid value for "shipto_title", the character length must be smaller than or equal to 50.')
950
+ end
951
+
952
+ if !@special_instructions.nil? && @special_instructions.to_s.length > 10000
953
+ invalid_properties.push('invalid value for "special_instructions", the character length must be smaller than or equal to 10000.')
954
+ end
955
+
956
+ invalid_properties
957
+ end
958
+
959
+ # Check to see if the all the properties in the model are valid
960
+ # @return true if the model is valid
961
+ def valid?
962
+ return false if !@billto_address1.nil? && @billto_address1.to_s.length > 50
963
+ return false if !@billto_address2.nil? && @billto_address2.to_s.length > 50
964
+ return false if !@billto_city.nil? && @billto_city.to_s.length > 32
965
+ return false if !@billto_company.nil? && @billto_company.to_s.length > 50
966
+ return false if !@billto_country_code.nil? && @billto_country_code.to_s.length > 2
967
+ return false if !@billto_day_phone.nil? && @billto_day_phone.to_s.length > 25
968
+ return false if !@billto_evening_phone.nil? && @billto_evening_phone.to_s.length > 25
969
+ return false if !@billto_first_name.nil? && @billto_first_name.to_s.length > 30
970
+ return false if !@billto_last_name.nil? && @billto_last_name.to_s.length > 30
971
+ return false if !@billto_postal_code.nil? && @billto_postal_code.to_s.length > 20
972
+ return false if !@billto_state_region.nil? && @billto_state_region.to_s.length > 32
973
+ return false if !@billto_title.nil? && @billto_title.to_s.length > 50
974
+ return false if !@cc_email.nil? && @cc_email.to_s.length > 100
975
+ return false if !@custom_field1.nil? && @custom_field1.to_s.length > 50
976
+ return false if !@custom_field2.nil? && @custom_field2.to_s.length > 50
977
+ return false if !@custom_field3.nil? && @custom_field3.to_s.length > 50
978
+ return false if !@custom_field4.nil? && @custom_field4.to_s.length > 50
979
+ return false if !@custom_field5.nil? && @custom_field5.to_s.length > 75
980
+ return false if !@custom_field6.nil? && @custom_field6.to_s.length > 50
981
+ return false if !@custom_field7.nil? && @custom_field7.to_s.length > 50
982
+ return false if !@email.nil? && @email.to_s.length > 100
983
+ return false if !@gift_email.nil? && @gift_email.to_s.length > 100
984
+ return false if !@gift_message.nil? && @gift_message.to_s.length > 10000
985
+ payment_method_validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Check", "COD", "Credit Card", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Wire Transfer"])
986
+ return false unless payment_method_validator.valid?(@payment_method)
987
+ return false if !@screen_branding_theme_code.nil? && @screen_branding_theme_code.to_s.length > 10
988
+ return false if !@shipto_address1.nil? && @shipto_address1.to_s.length > 50
989
+ return false if !@shipto_address2.nil? && @shipto_address2.to_s.length > 50
990
+ return false if !@shipto_city.nil? && @shipto_city.to_s.length > 32
991
+ return false if !@shipto_company.nil? && @shipto_company.to_s.length > 50
992
+ return false if !@shipto_country_code.nil? && @shipto_country_code.to_s.length > 2
993
+ return false if !@shipto_day_phone.nil? && @shipto_day_phone.to_s.length > 25
994
+ return false if !@shipto_evening_phone.nil? && @shipto_evening_phone.to_s.length > 25
995
+ return false if !@shipto_first_name.nil? && @shipto_first_name.to_s.length > 30
996
+ return false if !@shipto_last_name.nil? && @shipto_last_name.to_s.length > 30
997
+ return false if !@shipto_postal_code.nil? && @shipto_postal_code.to_s.length > 20
998
+ return false if !@shipto_state_region.nil? && @shipto_state_region.to_s.length > 32
999
+ return false if !@shipto_title.nil? && @shipto_title.to_s.length > 50
1000
+ return false if !@special_instructions.nil? && @special_instructions.to_s.length > 10000
1001
+ true
1002
+ end
1003
+
1004
+ # Custom attribute writer method with validation
1005
+ # @param [Object] billto_address1 Value to be assigned
1006
+ def billto_address1=(billto_address1)
1007
+ if !billto_address1.nil? && billto_address1.to_s.length > 50
1008
+ fail ArgumentError, 'invalid value for "billto_address1", the character length must be smaller than or equal to 50.'
1009
+ end
1010
+
1011
+ @billto_address1 = billto_address1
1012
+ end
1013
+
1014
+ # Custom attribute writer method with validation
1015
+ # @param [Object] billto_address2 Value to be assigned
1016
+ def billto_address2=(billto_address2)
1017
+ if !billto_address2.nil? && billto_address2.to_s.length > 50
1018
+ fail ArgumentError, 'invalid value for "billto_address2", the character length must be smaller than or equal to 50.'
1019
+ end
1020
+
1021
+ @billto_address2 = billto_address2
1022
+ end
1023
+
1024
+ # Custom attribute writer method with validation
1025
+ # @param [Object] billto_city Value to be assigned
1026
+ def billto_city=(billto_city)
1027
+ if !billto_city.nil? && billto_city.to_s.length > 32
1028
+ fail ArgumentError, 'invalid value for "billto_city", the character length must be smaller than or equal to 32.'
1029
+ end
1030
+
1031
+ @billto_city = billto_city
1032
+ end
1033
+
1034
+ # Custom attribute writer method with validation
1035
+ # @param [Object] billto_company Value to be assigned
1036
+ def billto_company=(billto_company)
1037
+ if !billto_company.nil? && billto_company.to_s.length > 50
1038
+ fail ArgumentError, 'invalid value for "billto_company", the character length must be smaller than or equal to 50.'
1039
+ end
1040
+
1041
+ @billto_company = billto_company
1042
+ end
1043
+
1044
+ # Custom attribute writer method with validation
1045
+ # @param [Object] billto_country_code Value to be assigned
1046
+ def billto_country_code=(billto_country_code)
1047
+ if !billto_country_code.nil? && billto_country_code.to_s.length > 2
1048
+ fail ArgumentError, 'invalid value for "billto_country_code", the character length must be smaller than or equal to 2.'
1049
+ end
1050
+
1051
+ @billto_country_code = billto_country_code
1052
+ end
1053
+
1054
+ # Custom attribute writer method with validation
1055
+ # @param [Object] billto_day_phone Value to be assigned
1056
+ def billto_day_phone=(billto_day_phone)
1057
+ if !billto_day_phone.nil? && billto_day_phone.to_s.length > 25
1058
+ fail ArgumentError, 'invalid value for "billto_day_phone", the character length must be smaller than or equal to 25.'
1059
+ end
1060
+
1061
+ @billto_day_phone = billto_day_phone
1062
+ end
1063
+
1064
+ # Custom attribute writer method with validation
1065
+ # @param [Object] billto_evening_phone Value to be assigned
1066
+ def billto_evening_phone=(billto_evening_phone)
1067
+ if !billto_evening_phone.nil? && billto_evening_phone.to_s.length > 25
1068
+ fail ArgumentError, 'invalid value for "billto_evening_phone", the character length must be smaller than or equal to 25.'
1069
+ end
1070
+
1071
+ @billto_evening_phone = billto_evening_phone
1072
+ end
1073
+
1074
+ # Custom attribute writer method with validation
1075
+ # @param [Object] billto_first_name Value to be assigned
1076
+ def billto_first_name=(billto_first_name)
1077
+ if !billto_first_name.nil? && billto_first_name.to_s.length > 30
1078
+ fail ArgumentError, 'invalid value for "billto_first_name", the character length must be smaller than or equal to 30.'
1079
+ end
1080
+
1081
+ @billto_first_name = billto_first_name
1082
+ end
1083
+
1084
+ # Custom attribute writer method with validation
1085
+ # @param [Object] billto_last_name Value to be assigned
1086
+ def billto_last_name=(billto_last_name)
1087
+ if !billto_last_name.nil? && billto_last_name.to_s.length > 30
1088
+ fail ArgumentError, 'invalid value for "billto_last_name", the character length must be smaller than or equal to 30.'
1089
+ end
1090
+
1091
+ @billto_last_name = billto_last_name
1092
+ end
1093
+
1094
+ # Custom attribute writer method with validation
1095
+ # @param [Object] billto_postal_code Value to be assigned
1096
+ def billto_postal_code=(billto_postal_code)
1097
+ if !billto_postal_code.nil? && billto_postal_code.to_s.length > 20
1098
+ fail ArgumentError, 'invalid value for "billto_postal_code", the character length must be smaller than or equal to 20.'
1099
+ end
1100
+
1101
+ @billto_postal_code = billto_postal_code
1102
+ end
1103
+
1104
+ # Custom attribute writer method with validation
1105
+ # @param [Object] billto_state_region Value to be assigned
1106
+ def billto_state_region=(billto_state_region)
1107
+ if !billto_state_region.nil? && billto_state_region.to_s.length > 32
1108
+ fail ArgumentError, 'invalid value for "billto_state_region", the character length must be smaller than or equal to 32.'
1109
+ end
1110
+
1111
+ @billto_state_region = billto_state_region
1112
+ end
1113
+
1114
+ # Custom attribute writer method with validation
1115
+ # @param [Object] billto_title Value to be assigned
1116
+ def billto_title=(billto_title)
1117
+ if !billto_title.nil? && billto_title.to_s.length > 50
1118
+ fail ArgumentError, 'invalid value for "billto_title", the character length must be smaller than or equal to 50.'
1119
+ end
1120
+
1121
+ @billto_title = billto_title
1122
+ end
1123
+
1124
+ # Custom attribute writer method with validation
1125
+ # @param [Object] cc_email Value to be assigned
1126
+ def cc_email=(cc_email)
1127
+ if !cc_email.nil? && cc_email.to_s.length > 100
1128
+ fail ArgumentError, 'invalid value for "cc_email", the character length must be smaller than or equal to 100.'
1129
+ end
1130
+
1131
+ @cc_email = cc_email
1132
+ end
1133
+
1134
+ # Custom attribute writer method with validation
1135
+ # @param [Object] custom_field1 Value to be assigned
1136
+ def custom_field1=(custom_field1)
1137
+ if !custom_field1.nil? && custom_field1.to_s.length > 50
1138
+ fail ArgumentError, 'invalid value for "custom_field1", the character length must be smaller than or equal to 50.'
1139
+ end
1140
+
1141
+ @custom_field1 = custom_field1
1142
+ end
1143
+
1144
+ # Custom attribute writer method with validation
1145
+ # @param [Object] custom_field2 Value to be assigned
1146
+ def custom_field2=(custom_field2)
1147
+ if !custom_field2.nil? && custom_field2.to_s.length > 50
1148
+ fail ArgumentError, 'invalid value for "custom_field2", the character length must be smaller than or equal to 50.'
1149
+ end
1150
+
1151
+ @custom_field2 = custom_field2
1152
+ end
1153
+
1154
+ # Custom attribute writer method with validation
1155
+ # @param [Object] custom_field3 Value to be assigned
1156
+ def custom_field3=(custom_field3)
1157
+ if !custom_field3.nil? && custom_field3.to_s.length > 50
1158
+ fail ArgumentError, 'invalid value for "custom_field3", the character length must be smaller than or equal to 50.'
1159
+ end
1160
+
1161
+ @custom_field3 = custom_field3
1162
+ end
1163
+
1164
+ # Custom attribute writer method with validation
1165
+ # @param [Object] custom_field4 Value to be assigned
1166
+ def custom_field4=(custom_field4)
1167
+ if !custom_field4.nil? && custom_field4.to_s.length > 50
1168
+ fail ArgumentError, 'invalid value for "custom_field4", the character length must be smaller than or equal to 50.'
1169
+ end
1170
+
1171
+ @custom_field4 = custom_field4
1172
+ end
1173
+
1174
+ # Custom attribute writer method with validation
1175
+ # @param [Object] custom_field5 Value to be assigned
1176
+ def custom_field5=(custom_field5)
1177
+ if !custom_field5.nil? && custom_field5.to_s.length > 75
1178
+ fail ArgumentError, 'invalid value for "custom_field5", the character length must be smaller than or equal to 75.'
1179
+ end
1180
+
1181
+ @custom_field5 = custom_field5
1182
+ end
1183
+
1184
+ # Custom attribute writer method with validation
1185
+ # @param [Object] custom_field6 Value to be assigned
1186
+ def custom_field6=(custom_field6)
1187
+ if !custom_field6.nil? && custom_field6.to_s.length > 50
1188
+ fail ArgumentError, 'invalid value for "custom_field6", the character length must be smaller than or equal to 50.'
1189
+ end
1190
+
1191
+ @custom_field6 = custom_field6
1192
+ end
1193
+
1194
+ # Custom attribute writer method with validation
1195
+ # @param [Object] custom_field7 Value to be assigned
1196
+ def custom_field7=(custom_field7)
1197
+ if !custom_field7.nil? && custom_field7.to_s.length > 50
1198
+ fail ArgumentError, 'invalid value for "custom_field7", the character length must be smaller than or equal to 50.'
1199
+ end
1200
+
1201
+ @custom_field7 = custom_field7
1202
+ end
1203
+
1204
+ # Custom attribute writer method with validation
1205
+ # @param [Object] email Value to be assigned
1206
+ def email=(email)
1207
+ if !email.nil? && email.to_s.length > 100
1208
+ fail ArgumentError, 'invalid value for "email", the character length must be smaller than or equal to 100.'
1209
+ end
1210
+
1211
+ @email = email
1212
+ end
1213
+
1214
+ # Custom attribute writer method with validation
1215
+ # @param [Object] gift_email Value to be assigned
1216
+ def gift_email=(gift_email)
1217
+ if !gift_email.nil? && gift_email.to_s.length > 100
1218
+ fail ArgumentError, 'invalid value for "gift_email", the character length must be smaller than or equal to 100.'
1219
+ end
1220
+
1221
+ @gift_email = gift_email
1222
+ end
1223
+
1224
+ # Custom attribute writer method with validation
1225
+ # @param [Object] gift_message Value to be assigned
1226
+ def gift_message=(gift_message)
1227
+ if !gift_message.nil? && gift_message.to_s.length > 10000
1228
+ fail ArgumentError, 'invalid value for "gift_message", the character length must be smaller than or equal to 10000.'
1229
+ end
1230
+
1231
+ @gift_message = gift_message
1232
+ end
1233
+
1234
+ # Custom attribute writer method checking allowed values (enum).
1235
+ # @param [Object] payment_method Object to be assigned
1236
+ def payment_method=(payment_method)
1237
+ validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Check", "COD", "Credit Card", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Wire Transfer"])
1238
+ unless validator.valid?(payment_method)
1239
+ fail ArgumentError, "invalid value for \"payment_method\", must be one of #{validator.allowable_values}."
1240
+ end
1241
+ @payment_method = payment_method
1242
+ end
1243
+
1244
+ # Custom attribute writer method with validation
1245
+ # @param [Object] screen_branding_theme_code Value to be assigned
1246
+ def screen_branding_theme_code=(screen_branding_theme_code)
1247
+ if !screen_branding_theme_code.nil? && screen_branding_theme_code.to_s.length > 10
1248
+ fail ArgumentError, 'invalid value for "screen_branding_theme_code", the character length must be smaller than or equal to 10.'
1249
+ end
1250
+
1251
+ @screen_branding_theme_code = screen_branding_theme_code
1252
+ end
1253
+
1254
+ # Custom attribute writer method with validation
1255
+ # @param [Object] shipto_address1 Value to be assigned
1256
+ def shipto_address1=(shipto_address1)
1257
+ if !shipto_address1.nil? && shipto_address1.to_s.length > 50
1258
+ fail ArgumentError, 'invalid value for "shipto_address1", the character length must be smaller than or equal to 50.'
1259
+ end
1260
+
1261
+ @shipto_address1 = shipto_address1
1262
+ end
1263
+
1264
+ # Custom attribute writer method with validation
1265
+ # @param [Object] shipto_address2 Value to be assigned
1266
+ def shipto_address2=(shipto_address2)
1267
+ if !shipto_address2.nil? && shipto_address2.to_s.length > 50
1268
+ fail ArgumentError, 'invalid value for "shipto_address2", the character length must be smaller than or equal to 50.'
1269
+ end
1270
+
1271
+ @shipto_address2 = shipto_address2
1272
+ end
1273
+
1274
+ # Custom attribute writer method with validation
1275
+ # @param [Object] shipto_city Value to be assigned
1276
+ def shipto_city=(shipto_city)
1277
+ if !shipto_city.nil? && shipto_city.to_s.length > 32
1278
+ fail ArgumentError, 'invalid value for "shipto_city", the character length must be smaller than or equal to 32.'
1279
+ end
1280
+
1281
+ @shipto_city = shipto_city
1282
+ end
1283
+
1284
+ # Custom attribute writer method with validation
1285
+ # @param [Object] shipto_company Value to be assigned
1286
+ def shipto_company=(shipto_company)
1287
+ if !shipto_company.nil? && shipto_company.to_s.length > 50
1288
+ fail ArgumentError, 'invalid value for "shipto_company", the character length must be smaller than or equal to 50.'
1289
+ end
1290
+
1291
+ @shipto_company = shipto_company
1292
+ end
1293
+
1294
+ # Custom attribute writer method with validation
1295
+ # @param [Object] shipto_country_code Value to be assigned
1296
+ def shipto_country_code=(shipto_country_code)
1297
+ if !shipto_country_code.nil? && shipto_country_code.to_s.length > 2
1298
+ fail ArgumentError, 'invalid value for "shipto_country_code", the character length must be smaller than or equal to 2.'
1299
+ end
1300
+
1301
+ @shipto_country_code = shipto_country_code
1302
+ end
1303
+
1304
+ # Custom attribute writer method with validation
1305
+ # @param [Object] shipto_day_phone Value to be assigned
1306
+ def shipto_day_phone=(shipto_day_phone)
1307
+ if !shipto_day_phone.nil? && shipto_day_phone.to_s.length > 25
1308
+ fail ArgumentError, 'invalid value for "shipto_day_phone", the character length must be smaller than or equal to 25.'
1309
+ end
1310
+
1311
+ @shipto_day_phone = shipto_day_phone
1312
+ end
1313
+
1314
+ # Custom attribute writer method with validation
1315
+ # @param [Object] shipto_evening_phone Value to be assigned
1316
+ def shipto_evening_phone=(shipto_evening_phone)
1317
+ if !shipto_evening_phone.nil? && shipto_evening_phone.to_s.length > 25
1318
+ fail ArgumentError, 'invalid value for "shipto_evening_phone", the character length must be smaller than or equal to 25.'
1319
+ end
1320
+
1321
+ @shipto_evening_phone = shipto_evening_phone
1322
+ end
1323
+
1324
+ # Custom attribute writer method with validation
1325
+ # @param [Object] shipto_first_name Value to be assigned
1326
+ def shipto_first_name=(shipto_first_name)
1327
+ if !shipto_first_name.nil? && shipto_first_name.to_s.length > 30
1328
+ fail ArgumentError, 'invalid value for "shipto_first_name", the character length must be smaller than or equal to 30.'
1329
+ end
1330
+
1331
+ @shipto_first_name = shipto_first_name
1332
+ end
1333
+
1334
+ # Custom attribute writer method with validation
1335
+ # @param [Object] shipto_last_name Value to be assigned
1336
+ def shipto_last_name=(shipto_last_name)
1337
+ if !shipto_last_name.nil? && shipto_last_name.to_s.length > 30
1338
+ fail ArgumentError, 'invalid value for "shipto_last_name", the character length must be smaller than or equal to 30.'
1339
+ end
1340
+
1341
+ @shipto_last_name = shipto_last_name
1342
+ end
1343
+
1344
+ # Custom attribute writer method with validation
1345
+ # @param [Object] shipto_postal_code Value to be assigned
1346
+ def shipto_postal_code=(shipto_postal_code)
1347
+ if !shipto_postal_code.nil? && shipto_postal_code.to_s.length > 20
1348
+ fail ArgumentError, 'invalid value for "shipto_postal_code", the character length must be smaller than or equal to 20.'
1349
+ end
1350
+
1351
+ @shipto_postal_code = shipto_postal_code
1352
+ end
1353
+
1354
+ # Custom attribute writer method with validation
1355
+ # @param [Object] shipto_state_region Value to be assigned
1356
+ def shipto_state_region=(shipto_state_region)
1357
+ if !shipto_state_region.nil? && shipto_state_region.to_s.length > 32
1358
+ fail ArgumentError, 'invalid value for "shipto_state_region", the character length must be smaller than or equal to 32.'
1359
+ end
1360
+
1361
+ @shipto_state_region = shipto_state_region
1362
+ end
1363
+
1364
+ # Custom attribute writer method with validation
1365
+ # @param [Object] shipto_title Value to be assigned
1366
+ def shipto_title=(shipto_title)
1367
+ if !shipto_title.nil? && shipto_title.to_s.length > 50
1368
+ fail ArgumentError, 'invalid value for "shipto_title", the character length must be smaller than or equal to 50.'
1369
+ end
1370
+
1371
+ @shipto_title = shipto_title
1372
+ end
1373
+
1374
+ # Custom attribute writer method with validation
1375
+ # @param [Object] special_instructions Value to be assigned
1376
+ def special_instructions=(special_instructions)
1377
+ if !special_instructions.nil? && special_instructions.to_s.length > 10000
1378
+ fail ArgumentError, 'invalid value for "special_instructions", the character length must be smaller than or equal to 10000.'
1379
+ end
1380
+
1381
+ @special_instructions = special_instructions
1382
+ end
1383
+
1384
+ # Checks equality by comparing each attribute.
1385
+ # @param [Object] Object to be compared
1386
+ def ==(o)
1387
+ return true if self.equal?(o)
1388
+ self.class == o.class &&
1389
+ advertising_source == o.advertising_source &&
1390
+ affiliate_id == o.affiliate_id &&
1391
+ affiliate_sub_id == o.affiliate_sub_id &&
1392
+ arbitrary_shipping_handling_total == o.arbitrary_shipping_handling_total &&
1393
+ arbitrary_tax == o.arbitrary_tax &&
1394
+ arbitrary_tax_rate == o.arbitrary_tax_rate &&
1395
+ arbitrary_taxable_subtotal == o.arbitrary_taxable_subtotal &&
1396
+ associate_with_customer_profile_if_present == o.associate_with_customer_profile_if_present &&
1397
+ auto_approve_purchase_order == o.auto_approve_purchase_order &&
1398
+ billto_address1 == o.billto_address1 &&
1399
+ billto_address2 == o.billto_address2 &&
1400
+ billto_city == o.billto_city &&
1401
+ billto_company == o.billto_company &&
1402
+ billto_country_code == o.billto_country_code &&
1403
+ billto_day_phone == o.billto_day_phone &&
1404
+ billto_evening_phone == o.billto_evening_phone &&
1405
+ billto_first_name == o.billto_first_name &&
1406
+ billto_last_name == o.billto_last_name &&
1407
+ billto_postal_code == o.billto_postal_code &&
1408
+ billto_state_region == o.billto_state_region &&
1409
+ billto_title == o.billto_title &&
1410
+ cc_email == o.cc_email &&
1411
+ channel_partner_order_id == o.channel_partner_order_id &&
1412
+ consider_recurring == o.consider_recurring &&
1413
+ coupons == o.coupons &&
1414
+ credit_card_authorization_amount == o.credit_card_authorization_amount &&
1415
+ credit_card_authorization_dts == o.credit_card_authorization_dts &&
1416
+ credit_card_authorization_number == o.credit_card_authorization_number &&
1417
+ credit_card_expiration_month == o.credit_card_expiration_month &&
1418
+ credit_card_expiration_year == o.credit_card_expiration_year &&
1419
+ credit_card_type == o.credit_card_type &&
1420
+ custom_field1 == o.custom_field1 &&
1421
+ custom_field2 == o.custom_field2 &&
1422
+ custom_field3 == o.custom_field3 &&
1423
+ custom_field4 == o.custom_field4 &&
1424
+ custom_field5 == o.custom_field5 &&
1425
+ custom_field6 == o.custom_field6 &&
1426
+ custom_field7 == o.custom_field7 &&
1427
+ delivery_date == o.delivery_date &&
1428
+ email == o.email &&
1429
+ gift == o.gift &&
1430
+ gift_email == o.gift_email &&
1431
+ gift_message == o.gift_message &&
1432
+ hosted_fields_card_token == o.hosted_fields_card_token &&
1433
+ hosted_fields_cvv_token == o.hosted_fields_cvv_token &&
1434
+ insurance_application_id == o.insurance_application_id &&
1435
+ insurance_claim_id == o.insurance_claim_id &&
1436
+ ip_address == o.ip_address &&
1437
+ items == o.items &&
1438
+ least_cost_route == o.least_cost_route &&
1439
+ least_cost_route_shipping_methods == o.least_cost_route_shipping_methods &&
1440
+ mailing_list_opt_in == o.mailing_list_opt_in &&
1441
+ no_realtime_payment_processing == o.no_realtime_payment_processing &&
1442
+ payment_method == o.payment_method &&
1443
+ purchase_order_number == o.purchase_order_number &&
1444
+ rotating_transaction_gateway_code == o.rotating_transaction_gateway_code &&
1445
+ screen_branding_theme_code == o.screen_branding_theme_code &&
1446
+ ship_on_date == o.ship_on_date &&
1447
+ ship_to_residential == o.ship_to_residential &&
1448
+ shipping_method == o.shipping_method &&
1449
+ shipto_address1 == o.shipto_address1 &&
1450
+ shipto_address2 == o.shipto_address2 &&
1451
+ shipto_city == o.shipto_city &&
1452
+ shipto_company == o.shipto_company &&
1453
+ shipto_country_code == o.shipto_country_code &&
1454
+ shipto_day_phone == o.shipto_day_phone &&
1455
+ shipto_evening_phone == o.shipto_evening_phone &&
1456
+ shipto_first_name == o.shipto_first_name &&
1457
+ shipto_last_name == o.shipto_last_name &&
1458
+ shipto_postal_code == o.shipto_postal_code &&
1459
+ shipto_state_region == o.shipto_state_region &&
1460
+ shipto_title == o.shipto_title &&
1461
+ skip_payment_processing == o.skip_payment_processing &&
1462
+ special_instructions == o.special_instructions &&
1463
+ store_completed == o.store_completed &&
1464
+ store_if_payment_declines == o.store_if_payment_declines &&
1465
+ tax_county == o.tax_county &&
1466
+ tax_exempt == o.tax_exempt &&
1467
+ transaction == o.transaction &&
1468
+ treat_warnings_as_errors == o.treat_warnings_as_errors
1469
+ end
1470
+
1471
+ # @see the `==` method
1472
+ # @param [Object] Object to be compared
1473
+ def eql?(o)
1474
+ self == o
1475
+ end
1476
+
1477
+ # Calculates hash code according to all attributes.
1478
+ # @return [Integer] Hash code
1479
+ def hash
1480
+ [advertising_source, affiliate_id, affiliate_sub_id, arbitrary_shipping_handling_total, arbitrary_tax, arbitrary_tax_rate, arbitrary_taxable_subtotal, associate_with_customer_profile_if_present, auto_approve_purchase_order, billto_address1, billto_address2, billto_city, billto_company, billto_country_code, billto_day_phone, billto_evening_phone, billto_first_name, billto_last_name, billto_postal_code, billto_state_region, billto_title, cc_email, channel_partner_order_id, consider_recurring, coupons, credit_card_authorization_amount, credit_card_authorization_dts, credit_card_authorization_number, credit_card_expiration_month, credit_card_expiration_year, credit_card_type, custom_field1, custom_field2, custom_field3, custom_field4, custom_field5, custom_field6, custom_field7, delivery_date, email, gift, gift_email, gift_message, hosted_fields_card_token, hosted_fields_cvv_token, insurance_application_id, insurance_claim_id, ip_address, items, least_cost_route, least_cost_route_shipping_methods, mailing_list_opt_in, no_realtime_payment_processing, payment_method, purchase_order_number, rotating_transaction_gateway_code, screen_branding_theme_code, ship_on_date, ship_to_residential, shipping_method, shipto_address1, shipto_address2, shipto_city, shipto_company, shipto_country_code, shipto_day_phone, shipto_evening_phone, shipto_first_name, shipto_last_name, shipto_postal_code, shipto_state_region, shipto_title, skip_payment_processing, special_instructions, store_completed, store_if_payment_declines, tax_county, tax_exempt, transaction, treat_warnings_as_errors].hash
1481
+ end
1482
+
1483
+ # Builds the object from hash
1484
+ # @param [Hash] attributes Model attributes in the form of hash
1485
+ # @return [Object] Returns the model itself
1486
+ def self.build_from_hash(attributes)
1487
+ new.build_from_hash(attributes)
1488
+ end
1489
+
1490
+ # Builds the object from hash
1491
+ # @param [Hash] attributes Model attributes in the form of hash
1492
+ # @return [Object] Returns the model itself
1493
+ def build_from_hash(attributes)
1494
+ return nil unless attributes.is_a?(Hash)
1495
+ attributes = attributes.transform_keys(&:to_sym)
1496
+ self.class.openapi_types.each_pair do |key, type|
1497
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
1498
+ self.send("#{key}=", nil)
1499
+ elsif type =~ /\AArray<(.*)>/i
1500
+ # check to ensure the input is an array given that the attribute
1501
+ # is documented as an array but the input is not
1502
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
1503
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
1504
+ end
1505
+ elsif !attributes[self.class.attribute_map[key]].nil?
1506
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
1507
+ end
1508
+ end
1509
+
1510
+ self
1511
+ end
1512
+
1513
+ # Deserializes the data based on type
1514
+ # @param string type Data type
1515
+ # @param string value Value to be deserialized
1516
+ # @return [Object] Deserialized data
1517
+ def _deserialize(type, value)
1518
+ case type.to_sym
1519
+ when :Time
1520
+ Time.parse(value)
1521
+ when :Date
1522
+ Date.parse(value)
1523
+ when :String
1524
+ value.to_s
1525
+ when :Integer
1526
+ value.to_i
1527
+ when :Float
1528
+ value.to_f
1529
+ when :Boolean
1530
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
1531
+ true
1532
+ else
1533
+ false
1534
+ end
1535
+ when :Object
1536
+ # generic object (usually a Hash), return directly
1537
+ value
1538
+ when /\AArray<(?<inner_type>.+)>\z/
1539
+ inner_type = Regexp.last_match[:inner_type]
1540
+ value.map { |v| _deserialize(inner_type, v) }
1541
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
1542
+ k_type = Regexp.last_match[:k_type]
1543
+ v_type = Regexp.last_match[:v_type]
1544
+ {}.tap do |hash|
1545
+ value.each do |k, v|
1546
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
1547
+ end
1548
+ end
1549
+ else # model
1550
+ # models (e.g. Pet) or oneOf
1551
+ klass = UltracartClient.const_get(type)
1552
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
1553
+ end
1554
+ end
1555
+
1556
+ # Returns the string representation of the object
1557
+ # @return [String] String presentation of the object
1558
+ def to_s
1559
+ to_hash.to_s
1560
+ end
1561
+
1562
+ # to_body is an alias to to_hash (backward compatibility)
1563
+ # @return [Hash] Returns the object in the form of hash
1564
+ def to_body
1565
+ to_hash
1566
+ end
1567
+
1568
+ # Returns the object in the form of hash
1569
+ # @return [Hash] Returns the object in the form of hash
1570
+ def to_hash
1571
+ hash = {}
1572
+ self.class.attribute_map.each_pair do |attr, param|
1573
+ value = self.send(attr)
1574
+ if value.nil?
1575
+ is_nullable = self.class.openapi_nullable.include?(attr)
1576
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
1577
+ end
1578
+
1579
+ hash[param] = _to_hash(value)
1580
+ end
1581
+ hash
1582
+ end
1583
+
1584
+ # Outputs non-array value in the form of hash
1585
+ # For object, use to_hash. Otherwise, just return the value
1586
+ # @param [Object] value Any valid value
1587
+ # @return [Hash] Returns the value in the form of hash
1588
+ def _to_hash(value)
1589
+ if value.is_a?(Array)
1590
+ value.compact.map { |v| _to_hash(v) }
1591
+ elsif value.is_a?(Hash)
1592
+ {}.tap do |hash|
1593
+ value.each { |k, v| hash[k] = _to_hash(v) }
1594
+ end
1595
+ elsif value.respond_to? :to_hash
1596
+ value.to_hash
1597
+ else
1598
+ value
1599
+ end
1600
+ end
1601
+
1602
+ end
1603
+
1604
+ end