ultracart_api 3.0.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/LICENSE +201 -0
- data/README.md +1055 -0
- data/Rakefile +8 -0
- data/docs/AccountsReceivableRetryConfig.md +21 -0
- data/docs/AccountsReceivableRetryConfigResponse.md +15 -0
- data/docs/AccountsReceivableRetryDayActivity.md +10 -0
- data/docs/AccountsReceivableRetryStatAccount.md +11 -0
- data/docs/AccountsReceivableRetryStatMetrics.md +18 -0
- data/docs/AccountsReceivableRetryStatRevenue.md +9 -0
- data/docs/AccountsReceivableRetryStatsResponse.md +13 -0
- data/docs/Activity.md +13 -0
- data/docs/AddLibraryItemRequest.md +18 -0
- data/docs/AffiliateApi.md +140 -0
- data/docs/AffiliateClick.md +18 -0
- data/docs/AffiliateClickQuery.md +13 -0
- data/docs/AffiliateClicksResponse.md +12 -0
- data/docs/AffiliateLedger.md +25 -0
- data/docs/AffiliateLedgerQuery.md +13 -0
- data/docs/AffiliateLedgersResponse.md +12 -0
- data/docs/AffiliateLink.md +21 -0
- data/docs/ApiUserApplicationProfile.md +12 -0
- data/docs/ApplyLibraryItemRequest.md +10 -0
- data/docs/ApplyLibraryItemResponse.md +18 -0
- data/docs/AutoOrder.md +27 -0
- data/docs/AutoOrderApi.md +558 -0
- data/docs/AutoOrderItem.md +31 -0
- data/docs/AutoOrderItemFutureSchedule.md +11 -0
- data/docs/AutoOrderItemOption.md +9 -0
- data/docs/AutoOrderItemSimpleSchedule.md +10 -0
- data/docs/AutoOrderQuery.md +26 -0
- data/docs/AutoOrderQueryBatch.md +8 -0
- data/docs/AutoOrderResponse.md +12 -0
- data/docs/AutoOrdersRequest.md +8 -0
- data/docs/AutoOrdersResponse.md +12 -0
- data/docs/AvalaraConfig.md +20 -0
- data/docs/BaseResponse.md +11 -0
- data/docs/Cart.md +32 -0
- data/docs/CartAffiliate.md +9 -0
- data/docs/CartAffirmCheckoutResponse.md +9 -0
- data/docs/CartBilling.md +22 -0
- data/docs/CartBuysafe.md +13 -0
- data/docs/CartCheckout.md +21 -0
- data/docs/CartCoupon.md +8 -0
- data/docs/CartCurrencyConversion.md +9 -0
- data/docs/CartCustomerProfile.md +29 -0
- data/docs/CartCustomerProfileAddress.md +21 -0
- data/docs/CartCustomerProfileCreditCard.md +13 -0
- data/docs/CartFinalizeOrderRequest.md +9 -0
- data/docs/CartFinalizeOrderRequestOptions.md +20 -0
- data/docs/CartFinalizeOrderResponse.md +12 -0
- data/docs/CartGift.md +13 -0
- data/docs/CartGiftCertificate.md +10 -0
- data/docs/CartItem.md +36 -0
- data/docs/CartItemAttribute.md +10 -0
- data/docs/CartItemMultimedia.md +16 -0
- data/docs/CartItemMultimediaThumbnail.md +12 -0
- data/docs/CartItemOption.md +19 -0
- data/docs/CartItemOptionValue.md +12 -0
- data/docs/CartItemPhysical.md +11 -0
- data/docs/CartItemVariationSelection.md +9 -0
- data/docs/CartKitComponentOption.md +21 -0
- data/docs/CartMarketing.md +9 -0
- data/docs/CartPayment.md +14 -0
- data/docs/CartPaymentAffirm.md +8 -0
- data/docs/CartPaymentAmazon.md +8 -0
- data/docs/CartPaymentCheck.md +8 -0
- data/docs/CartPaymentCreditCard.md +16 -0
- data/docs/CartPaymentPurchaseOrder.md +8 -0
- data/docs/CartProfileLoginRequest.md +10 -0
- data/docs/CartProfileLoginResponse.md +9 -0
- data/docs/CartProfileRegisterRequest.md +9 -0
- data/docs/CartProfileRegisterResponse.md +9 -0
- data/docs/CartProperty.md +11 -0
- data/docs/CartResponse.md +9 -0
- data/docs/CartSettings.md +13 -0
- data/docs/CartSettingsBilling.md +8 -0
- data/docs/CartSettingsGift.md +11 -0
- data/docs/CartSettingsGiftWrap.md +10 -0
- data/docs/CartSettingsPayment.md +20 -0
- data/docs/CartSettingsPaymentAmazon.md +10 -0
- data/docs/CartSettingsPaymentCreditCard.md +10 -0
- data/docs/CartSettingsPaymentPayPal.md +12 -0
- data/docs/CartSettingsProvince.md +9 -0
- data/docs/CartSettingsShipping.md +12 -0
- data/docs/CartSettingsShippingCalendar.md +12 -0
- data/docs/CartSettingsShippingEstimate.md +20 -0
- data/docs/CartSettingsTaxes.md +8 -0
- data/docs/CartSettingsTerms.md +9 -0
- data/docs/CartShipping.md +26 -0
- data/docs/CartSummary.md +23 -0
- data/docs/CartTaxes.md +10 -0
- data/docs/CartUpsellAfter.md +10 -0
- data/docs/CartValidationRequest.md +9 -0
- data/docs/CartValidationResponse.md +9 -0
- data/docs/ChargebackApi.md +336 -0
- data/docs/ChargebackDispute.md +30 -0
- data/docs/ChargebackDisputeResponse.md +12 -0
- data/docs/ChargebackDisputesResponse.md +12 -0
- data/docs/CheckoutAllowedCountriesResponse.md +8 -0
- data/docs/CheckoutApi.md +1240 -0
- data/docs/CheckoutHandoffRequest.md +15 -0
- data/docs/CheckoutHandoffResponse.md +10 -0
- data/docs/CheckoutSetupBrowserKeyRequest.md +8 -0
- data/docs/CheckoutSetupBrowserKeyResponse.md +8 -0
- data/docs/CheckoutStateProvinceResponse.md +8 -0
- data/docs/CityStateZip.md +12 -0
- data/docs/CountriesResponse.md +8 -0
- data/docs/Country.md +9 -0
- data/docs/Coupon.md +63 -0
- data/docs/CouponAmountOffItems.md +11 -0
- data/docs/CouponAmountOffShipping.md +10 -0
- data/docs/CouponAmountOffShippingWithItemsPurchase.md +11 -0
- data/docs/CouponAmountOffSubtotal.md +9 -0
- data/docs/CouponAmountOffSubtotalAndShipping.md +9 -0
- data/docs/CouponAmountOffSubtotalFreeShippingWithPurchase.md +11 -0
- data/docs/CouponAmountOffSubtotalWithBlockPurchase.md +11 -0
- data/docs/CouponAmountOffSubtotalWithItemsPurchase.md +11 -0
- data/docs/CouponApi.md +1174 -0
- data/docs/CouponAutoApplyCondition.md +10 -0
- data/docs/CouponAutoApplyConditions.md +13 -0
- data/docs/CouponAutomaticallyApplyCouponCodes.md +8 -0
- data/docs/CouponBuyOneGetOneLimit.md +9 -0
- data/docs/CouponCodesRequest.md +14 -0
- data/docs/CouponCodesResponse.md +13 -0
- data/docs/CouponDeletesRequest.md +9 -0
- data/docs/CouponDiscountItemWithItemPurchase.md +12 -0
- data/docs/CouponDiscountItems.md +11 -0
- data/docs/CouponEditorValues.md +17 -0
- data/docs/CouponExistsResponse.md +13 -0
- data/docs/CouponFreeItemAndShippingWithSubtotal.md +12 -0
- data/docs/CouponFreeItemWithItemPurchase.md +11 -0
- data/docs/CouponFreeItemWithSubtotal.md +11 -0
- data/docs/CouponFreeItemsWithItemPurchase.md +12 -0
- data/docs/CouponFreeItemsWithMixMatchPurchase.md +12 -0
- data/docs/CouponFreeShipping.md +8 -0
- data/docs/CouponFreeShippingSpecificItems.md +8 -0
- data/docs/CouponFreeShippingWithItemsPurchase.md +9 -0
- data/docs/CouponFreeShippingWithSubtotal.md +10 -0
- data/docs/CouponItemSearchResult.md +15 -0
- data/docs/CouponItemSearchResultsResponse.md +12 -0
- data/docs/CouponMultipleAmountsOffItems.md +9 -0
- data/docs/CouponNoDiscount.md +7 -0
- data/docs/CouponPercentOffItemWithItemsQuantityPurchase.md +12 -0
- data/docs/CouponPercentOffItems.md +11 -0
- data/docs/CouponPercentOffItemsAndFreeShipping.md +10 -0
- data/docs/CouponPercentOffItemsWithItemsPurchase.md +11 -0
- data/docs/CouponPercentOffRetailPriceItems.md +11 -0
- data/docs/CouponPercentOffShipping.md +9 -0
- data/docs/CouponPercentOffSubtotal.md +8 -0
- data/docs/CouponPercentOffSubtotalAndFreeShipping.md +9 -0
- data/docs/CouponPercentOffSubtotalLimit.md +10 -0
- data/docs/CouponPercentOffSubtotalWithItemsPurchase.md +9 -0
- data/docs/CouponPercentOffSubtotalWithSubtotal.md +10 -0
- data/docs/CouponQuery.md +16 -0
- data/docs/CouponResponse.md +12 -0
- data/docs/CouponRestriction.md +11 -0
- data/docs/CouponTierAmount.md +9 -0
- data/docs/CouponTierItemDiscount.md +9 -0
- data/docs/CouponTierPercent.md +9 -0
- data/docs/CouponTierQuantityAmount.md +9 -0
- data/docs/CouponTierQuantityPercent.md +9 -0
- data/docs/CouponTieredAmountOffItem.md +10 -0
- data/docs/CouponTieredAmountOffSubtotal.md +9 -0
- data/docs/CouponTieredPercentOffItems.md +10 -0
- data/docs/CouponTieredPercentOffShipping.md +9 -0
- data/docs/CouponTieredPercentOffSubtotal.md +9 -0
- data/docs/CouponType.md +9 -0
- data/docs/CouponsRequest.md +8 -0
- data/docs/CouponsResponse.md +12 -0
- data/docs/Currency.md +12 -0
- data/docs/Customer.md +65 -0
- data/docs/CustomerActivity.md +11 -0
- data/docs/CustomerAffiliate.md +9 -0
- data/docs/CustomerApi.md +670 -0
- data/docs/CustomerAttachment.md +12 -0
- data/docs/CustomerBilling.md +24 -0
- data/docs/CustomerCard.md +15 -0
- data/docs/CustomerEditorValues.md +15 -0
- data/docs/CustomerEmail.md +13 -0
- data/docs/CustomerEmailListChanges.md +9 -0
- data/docs/CustomerLoyalty.md +10 -0
- data/docs/CustomerLoyaltyLedger.md +22 -0
- data/docs/CustomerLoyaltyRedemption.md +20 -0
- data/docs/CustomerOrdersSummary.md +11 -0
- data/docs/CustomerPricingTier.md +9 -0
- data/docs/CustomerPrivacy.md +11 -0
- data/docs/CustomerQuery.md +36 -0
- data/docs/CustomerQuotesSummary.md +11 -0
- data/docs/CustomerResponse.md +12 -0
- data/docs/CustomerReviewer.md +17 -0
- data/docs/CustomerShipping.md +24 -0
- data/docs/CustomerSoftwareEntitlement.md +15 -0
- data/docs/CustomerTag.md +8 -0
- data/docs/CustomerTaxCodes.md +12 -0
- data/docs/CustomersResponse.md +12 -0
- data/docs/DataTablesServerSideResponse.md +11 -0
- data/docs/Distance.md +9 -0
- data/docs/DistributionCenter.md +41 -0
- data/docs/DistributionCentersResponse.md +12 -0
- data/docs/EmailBaseTemplateListResponse.md +8 -0
- data/docs/EmailCampaign.md +30 -0
- data/docs/EmailCampaignFolder.md +12 -0
- data/docs/EmailCampaignFolderResponse.md +12 -0
- data/docs/EmailCampaignFoldersResponse.md +12 -0
- data/docs/EmailCampaignResponse.md +12 -0
- data/docs/EmailCampaignsResponse.md +12 -0
- data/docs/EmailClick.md +9 -0
- data/docs/EmailClicksResponse.md +12 -0
- data/docs/EmailCommseq.md +11 -0
- data/docs/EmailCommseqEmail.md +31 -0
- data/docs/EmailCommseqEmailResponse.md +12 -0
- data/docs/EmailCommseqEmailSendTestRequest.md +17 -0
- data/docs/EmailCommseqEmailSendTestResponse.md +11 -0
- data/docs/EmailCommseqEmailsRequest.md +12 -0
- data/docs/EmailCommseqEmailsResponse.md +12 -0
- data/docs/EmailCommseqPostcard.md +18 -0
- data/docs/EmailCommseqPostcardResponse.md +12 -0
- data/docs/EmailCommseqPostcardSendTestRequest.md +19 -0
- data/docs/EmailCommseqPostcardSendTestResponse.md +14 -0
- data/docs/EmailCommseqPostcardsRequest.md +8 -0
- data/docs/EmailCommseqPostcardsResponse.md +12 -0
- data/docs/EmailCommseqResponse.md +12 -0
- data/docs/EmailCommseqStat.md +44 -0
- data/docs/EmailCommseqStatResponse.md +12 -0
- data/docs/EmailCommseqStep.md +17 -0
- data/docs/EmailCommseqsResponse.md +12 -0
- data/docs/EmailCustomer.md +15 -0
- data/docs/EmailCustomerEditorUrlResponse.md +12 -0
- data/docs/EmailCustomersResponse.md +12 -0
- data/docs/EmailDashboardActivity.md +14 -0
- data/docs/EmailDashboardActivityResponse.md +12 -0
- data/docs/EmailDashboardStatsResponse.md +12 -0
- data/docs/EmailDomain.md +18 -0
- data/docs/EmailEditorTokenResponse.md +12 -0
- data/docs/EmailFlow.md +34 -0
- data/docs/EmailFlowBackPopulateRequest.md +9 -0
- data/docs/EmailFlowBackPopulateResponse.md +11 -0
- data/docs/EmailFlowFolder.md +12 -0
- data/docs/EmailFlowFolderResponse.md +12 -0
- data/docs/EmailFlowFoldersResponse.md +12 -0
- data/docs/EmailFlowResponse.md +12 -0
- data/docs/EmailFlowsResponse.md +12 -0
- data/docs/EmailGlobalSettings.md +8 -0
- data/docs/EmailGlobalSettingsResponse.md +12 -0
- data/docs/EmailGlobalUnsubscribeRequest.md +8 -0
- data/docs/EmailGlobalUnsubscribeResponse.md +8 -0
- data/docs/EmailHistogramPropertyNamesResponse.md +8 -0
- data/docs/EmailHistogramPropertyValuesResponse.md +8 -0
- data/docs/EmailList.md +18 -0
- data/docs/EmailListArchiveResponse.md +12 -0
- data/docs/EmailListCustomer.md +11 -0
- data/docs/EmailListCustomersResponse.md +12 -0
- data/docs/EmailListResponse.md +12 -0
- data/docs/EmailListSegmentMembership.md +11 -0
- data/docs/EmailListSegmentUsedBy.md +10 -0
- data/docs/EmailListSubscribeResponse.md +9 -0
- data/docs/EmailListsResponse.md +12 -0
- data/docs/EmailOrder.md +11 -0
- data/docs/EmailOrdersResponse.md +12 -0
- data/docs/EmailPerformance.md +29 -0
- data/docs/EmailPerformanceCustomerHistogram.md +8 -0
- data/docs/EmailPerformanceCustomerHistogramPeriod.md +12 -0
- data/docs/EmailPerformanceDaily.md +14 -0
- data/docs/EmailPerformanceResponse.md +12 -0
- data/docs/EmailPlan.md +23 -0
- data/docs/EmailPlanAdditional.md +13 -0
- data/docs/EmailPlanResponse.md +12 -0
- data/docs/EmailPostcardStat.md +39 -0
- data/docs/EmailSegment.md +21 -0
- data/docs/EmailSegmentArchiveResponse.md +12 -0
- data/docs/EmailSegmentCustomer.md +11 -0
- data/docs/EmailSegmentCustomersResponse.md +12 -0
- data/docs/EmailSegmentDownloadPrepareResponse.md +15 -0
- data/docs/EmailSegmentResponse.md +12 -0
- data/docs/EmailSegmentsResponse.md +12 -0
- data/docs/EmailSendingDomainResponse.md +12 -0
- data/docs/EmailSendingDomainsResponse.md +12 -0
- data/docs/EmailSettings.md +19 -0
- data/docs/EmailSettingsResponse.md +12 -0
- data/docs/EmailStat.md +45 -0
- data/docs/EmailStatPostcardSummaryRequest.md +9 -0
- data/docs/EmailStatPostcardSummaryResponse.md +12 -0
- data/docs/EmailStatSummaryRequest.md +10 -0
- data/docs/EmailStatSummaryResponse.md +12 -0
- data/docs/EmailStepStat.md +27 -0
- data/docs/EmailStepStatRequest.md +9 -0
- data/docs/EmailStepStatResponse.md +12 -0
- data/docs/EmailStepWaitingRequest.md +8 -0
- data/docs/EmailStepWaitingResponse.md +8 -0
- data/docs/EmailTemplate.md +18 -0
- data/docs/EmailTemplatesResponse.md +12 -0
- data/docs/EmailThirdPartyList.md +9 -0
- data/docs/EmailThirdPartyListImportRequest.md +8 -0
- data/docs/EmailThirdPartyProvider.md +16 -0
- data/docs/EmailThirdPartyProvidersResponse.md +12 -0
- data/docs/Error.md +11 -0
- data/docs/ErrorResponse.md +11 -0
- data/docs/Experiment.md +25 -0
- data/docs/ExperimentResponse.md +12 -0
- data/docs/ExperimentVariation.md +26 -0
- data/docs/ExperimentsResponse.md +12 -0
- data/docs/FulfillmentApi.md +298 -0
- data/docs/FulfillmentInventory.md +9 -0
- data/docs/FulfillmentShipment.md +12 -0
- data/docs/GeoPoint.md +9 -0
- data/docs/GeocodeRequest.md +12 -0
- data/docs/GeocodeResponse.md +13 -0
- data/docs/Group.md +12 -0
- data/docs/GroupResponse.md +12 -0
- data/docs/GroupUserMembership.md +12 -0
- data/docs/GroupsResponse.md +12 -0
- data/docs/HTTPHeader.md +9 -0
- data/docs/Item.md +57 -0
- data/docs/ItemAccounting.md +9 -0
- data/docs/ItemAmember.md +9 -0
- data/docs/ItemApi.md +580 -0
- data/docs/ItemAutoOrder.md +23 -0
- data/docs/ItemAutoOrderStep.md +22 -0
- data/docs/ItemAutoOrderStepArbitraryUnitCostSchedule.md +9 -0
- data/docs/ItemAutoOrderStepGrandfatherPricing.md +9 -0
- data/docs/ItemCCBill.md +13 -0
- data/docs/ItemChannelPartnerMapping.md +25 -0
- data/docs/ItemChargeback.md +9 -0
- data/docs/ItemChargebackAddendum.md +11 -0
- data/docs/ItemChargebackAdjustmentRequest.md +10 -0
- data/docs/ItemCheckout.md +10 -0
- data/docs/ItemContent.md +19 -0
- data/docs/ItemContentAssignment.md +12 -0
- data/docs/ItemContentAttribute.md +11 -0
- data/docs/ItemContentMultimedia.md +22 -0
- data/docs/ItemContentMultimediaThumbnail.md +13 -0
- data/docs/ItemDigitalDelivery.md +13 -0
- data/docs/ItemDigitalItem.md +12 -0
- data/docs/ItemEbay.md +76 -0
- data/docs/ItemEbayCategorySpecific.md +9 -0
- data/docs/ItemEbayMarketListing.md +12 -0
- data/docs/ItemEbayMarketPlaceAnalysis.md +17 -0
- data/docs/ItemEmailNotifications.md +9 -0
- data/docs/ItemEnrollment123.md +8 -0
- data/docs/ItemGiftCertificate.md +9 -0
- data/docs/ItemGoogleProductSearch.md +55 -0
- data/docs/ItemIdentifiers.md +11 -0
- data/docs/ItemInstantPaymentNotification.md +10 -0
- data/docs/ItemInstantPaymentNotifications.md +8 -0
- data/docs/ItemInternal.md +8 -0
- data/docs/ItemKitComponent.md +12 -0
- data/docs/ItemKitDefinition.md +8 -0
- data/docs/ItemOption.md +21 -0
- data/docs/ItemOptionValue.md +22 -0
- data/docs/ItemOptionValueAdditionalItem.md +9 -0
- data/docs/ItemOptionValueDigitalItem.md +9 -0
- data/docs/ItemPaymentProcessing.md +12 -0
- data/docs/ItemPhysical.md +11 -0
- data/docs/ItemPricing.md +25 -0
- data/docs/ItemPricingTier.md +12 -0
- data/docs/ItemPricingTierDiscount.md +9 -0
- data/docs/ItemPricingTierLimit.md +10 -0
- data/docs/ItemProperty.md +10 -0
- data/docs/ItemRealtimePricing.md +10 -0
- data/docs/ItemRelated.md +10 -0
- data/docs/ItemRelatedItem.md +10 -0
- data/docs/ItemReporting.md +9 -0
- data/docs/ItemResponse.md +12 -0
- data/docs/ItemRestriction.md +15 -0
- data/docs/ItemRestrictionItem.md +10 -0
- data/docs/ItemRevguard.md +14 -0
- data/docs/ItemReviews.md +14 -0
- data/docs/ItemSalesforce.md +9 -0
- data/docs/ItemShipping.md +55 -0
- data/docs/ItemShippingCase.md +11 -0
- data/docs/ItemShippingDestinationMarkup.md +13 -0
- data/docs/ItemShippingDestinationRestriction.md +10 -0
- data/docs/ItemShippingDistributionCenter.md +20 -0
- data/docs/ItemShippingMethod.md +22 -0
- data/docs/ItemShippingPackageRequirement.md +9 -0
- data/docs/ItemTag.md +9 -0
- data/docs/ItemTags.md +8 -0
- data/docs/ItemTax.md +10 -0
- data/docs/ItemTaxExemption.md +12 -0
- data/docs/ItemThirdPartyEmailMarketing.md +12 -0
- data/docs/ItemVariantItem.md +13 -0
- data/docs/ItemVariation.md +12 -0
- data/docs/ItemVariationOption.md +11 -0
- data/docs/ItemWishlistMember.md +10 -0
- data/docs/ItemsRequest.md +8 -0
- data/docs/ItemsResponse.md +12 -0
- data/docs/KeyValue.md +10 -0
- data/docs/LibraryFilterValues.md +11 -0
- data/docs/LibraryFilterValuesResponse.md +12 -0
- data/docs/LibraryItem.md +47 -0
- data/docs/LibraryItemAccount.md +10 -0
- data/docs/LibraryItemAsset.md +9 -0
- data/docs/LibraryItemAttribute.md +10 -0
- data/docs/LibraryItemEmail.md +10 -0
- data/docs/LibraryItemPublishedMeta.md +15 -0
- data/docs/LibraryItemPurchasedMeta.md +10 -0
- data/docs/LibraryItemQuery.md +19 -0
- data/docs/LibraryItemResponse.md +12 -0
- data/docs/LibraryItemScreenshot.md +9 -0
- data/docs/LibraryItemsResponse.md +12 -0
- data/docs/LinkedAccount.md +10 -0
- data/docs/ListSegmentMembership.md +10 -0
- data/docs/LookupRequest.md +12 -0
- data/docs/LookupResponse.md +12 -0
- data/docs/Metric.md +15 -0
- data/docs/Notification.md +18 -0
- data/docs/OauthApi.md +148 -0
- data/docs/OauthRevokeSuccessResponse.md +9 -0
- data/docs/OauthTokenResponse.md +15 -0
- data/docs/Order.md +41 -0
- data/docs/OrderAffiliate.md +10 -0
- data/docs/OrderAffiliateLedger.md +16 -0
- data/docs/OrderApi.md +1293 -0
- data/docs/OrderAutoOrder.md +26 -0
- data/docs/OrderBilling.md +22 -0
- data/docs/OrderBuysafe.md +13 -0
- data/docs/OrderByTokenQuery.md +8 -0
- data/docs/OrderChannelPartner.md +17 -0
- data/docs/OrderCheckout.md +19 -0
- data/docs/OrderCoupon.md +11 -0
- data/docs/OrderDigitalItem.md +15 -0
- data/docs/OrderDigitalOrder.md +12 -0
- data/docs/OrderEdi.md +11 -0
- data/docs/OrderFormat.md +23 -0
- data/docs/OrderFormatResponse.md +9 -0
- data/docs/OrderFraudScore.md +27 -0
- data/docs/OrderGift.md +17 -0
- data/docs/OrderGiftCertificate.md +10 -0
- data/docs/OrderInternal.md +12 -0
- data/docs/OrderItem.md +61 -0
- data/docs/OrderItemEdi.md +9 -0
- data/docs/OrderItemEdiIdentification.md +9 -0
- data/docs/OrderItemEdiLot.md +10 -0
- data/docs/OrderItemOption.md +18 -0
- data/docs/OrderItemOptionFileAttachment.md +11 -0
- data/docs/OrderItemProperty.md +11 -0
- data/docs/OrderItemTag.md +8 -0
- data/docs/OrderLinkedShipment.md +12 -0
- data/docs/OrderMarketing.md +10 -0
- data/docs/OrderPayment.md +24 -0
- data/docs/OrderPaymentCheck.md +8 -0
- data/docs/OrderPaymentCreditCard.md +18 -0
- data/docs/OrderPaymentECheck.md +17 -0
- data/docs/OrderPaymentPurchaseOrder.md +8 -0
- data/docs/OrderPaymentTransaction.md +11 -0
- data/docs/OrderPaymentTransactionDetail.md +10 -0
- data/docs/OrderProcessPaymentRequest.md +8 -0
- data/docs/OrderProcessPaymentResponse.md +12 -0
- data/docs/OrderProperty.md +11 -0
- data/docs/OrderQuery.md +37 -0
- data/docs/OrderQueryBatch.md +8 -0
- data/docs/OrderQuote.md +10 -0
- data/docs/OrderReplacement.md +22 -0
- data/docs/OrderReplacementItem.md +10 -0
- data/docs/OrderReplacementResponse.md +13 -0
- data/docs/OrderResponse.md +12 -0
- data/docs/OrderSalesforce.md +8 -0
- data/docs/OrderShipping.md +36 -0
- data/docs/OrderSummary.md +24 -0
- data/docs/OrderTag.md +8 -0
- data/docs/OrderTaxes.md +24 -0
- data/docs/OrderTokenResponse.md +12 -0
- data/docs/OrderTrackingNumberDetail.md +17 -0
- data/docs/OrderTrackingNumberDetails.md +24 -0
- data/docs/OrdersResponse.md +12 -0
- data/docs/Permission.md +10 -0
- data/docs/PricingTier.md +38 -0
- data/docs/PricingTierNotification.md +10 -0
- data/docs/PricingTiersResponse.md +12 -0
- data/docs/Property.md +9 -0
- data/docs/PublishLibraryItemRequest.md +8 -0
- data/docs/RegisterAffiliateClickRequest.md +13 -0
- data/docs/RegisterAffiliateClickResponse.md +11 -0
- data/docs/ResponseMetadata.md +9 -0
- data/docs/ResultSet.md +13 -0
- data/docs/ScreenRecording.md +39 -0
- data/docs/ScreenRecordingFilter.md +34 -0
- data/docs/ScreenRecordingFilterGeoDistance.md +12 -0
- data/docs/ScreenRecordingFilterIpSearch.md +11 -0
- data/docs/ScreenRecordingFilterPageView.md +14 -0
- data/docs/ScreenRecordingFilterPageViewEvent.md +9 -0
- data/docs/ScreenRecordingFilterPageViewEventParam.md +12 -0
- data/docs/ScreenRecordingFilterPageViewParam.md +9 -0
- data/docs/ScreenRecordingFilterPageViewReferrerParam.md +9 -0
- data/docs/ScreenRecordingFilterRangeBigDecimal.md +12 -0
- data/docs/ScreenRecordingFilterRangeDate.md +9 -0
- data/docs/ScreenRecordingFilterRangeInteger.md +12 -0
- data/docs/ScreenRecordingFilterStringSearch.md +12 -0
- data/docs/ScreenRecordingFilterValues.md +17 -0
- data/docs/ScreenRecordingFilterValuesEvent.md +9 -0
- data/docs/ScreenRecordingFilterValuesEventParams.md +12 -0
- data/docs/ScreenRecordingMultifield.md +12 -0
- data/docs/ScreenRecordingPageView.md +22 -0
- data/docs/ScreenRecordingPageViewEvent.md +11 -0
- data/docs/ScreenRecordingPageViewEventParameter.md +9 -0
- data/docs/ScreenRecordingPageViewParameter.md +9 -0
- data/docs/ScreenRecordingQueryRequest.md +8 -0
- data/docs/ScreenRecordingQueryResponse.md +14 -0
- data/docs/ScreenRecordingResponse.md +12 -0
- data/docs/ScreenRecordingSegment.md +14 -0
- data/docs/ScreenRecordingSegmentResponse.md +12 -0
- data/docs/ScreenRecordingSegmentsResponse.md +12 -0
- data/docs/ScreenRecordingSettings.md +8 -0
- data/docs/ScreenRecordingSettingsResponse.md +12 -0
- data/docs/ScreenRecordingStoreFront.md +9 -0
- data/docs/ScreenRecordingTagsRequest.md +8 -0
- data/docs/ScreenRecordingTagsResponse.md +12 -0
- data/docs/ScreenRecordingUserAgent.md +12 -0
- data/docs/ScreenRecordingUserAgentDevice.md +8 -0
- data/docs/ScreenRecordingUserAgentOS.md +10 -0
- data/docs/ScreenRecordingUserProperty.md +9 -0
- data/docs/ScreenshotsResponse.md +12 -0
- data/docs/SelfConfig.md +8 -0
- data/docs/SimpleValue.md +9 -0
- data/docs/SovosConfig.md +14 -0
- data/docs/StateProvince.md +9 -0
- data/docs/StepWaiting.md +9 -0
- data/docs/StorefrontApi.md +9186 -0
- data/docs/TaxApi.md +1608 -0
- data/docs/TaxCity.md +16 -0
- data/docs/TaxCountry.md +16 -0
- data/docs/TaxCountryCode.md +12 -0
- data/docs/TaxCounty.md +17 -0
- data/docs/TaxJarConfig.md +13 -0
- data/docs/TaxPostalCode.md +14 -0
- data/docs/TaxProviderActivateResult.md +9 -0
- data/docs/TaxProviderAvalara.md +11 -0
- data/docs/TaxProviderAvalaraCompaniesResult.md +8 -0
- data/docs/TaxProviderAvalaraCompany.md +12 -0
- data/docs/TaxProviderSelf.md +12 -0
- data/docs/TaxProviderSelfCountriesResponse.md +8 -0
- data/docs/TaxProviderSelfRegionsResponse.md +8 -0
- data/docs/TaxProviderSovos.md +11 -0
- data/docs/TaxProviderTaxJar.md +11 -0
- data/docs/TaxProviderTestResult.md +9 -0
- data/docs/TaxProviderUltraCart.md +12 -0
- data/docs/TaxProviderUltraCartState.md +14 -0
- data/docs/TaxProvidersResponse.md +16 -0
- data/docs/TaxState.md +22 -0
- data/docs/TaxStateCode.md +12 -0
- data/docs/TempMultimedia.md +14 -0
- data/docs/TempMultimediaResponse.md +12 -0
- data/docs/ThumbnailParametersRequest.md +12 -0
- data/docs/ThumbnailParametersResponse.md +12 -0
- data/docs/TransactionEmail.md +27 -0
- data/docs/TransactionEmailListResponse.md +12 -0
- data/docs/TransactionEmailOption.md +15 -0
- data/docs/TransactionEmailResponse.md +12 -0
- data/docs/UltraCartConfig.md +8 -0
- data/docs/UploadCouponCodesRequest.md +12 -0
- data/docs/UploadCouponCodesResponse.md +14 -0
- data/docs/User.md +21 -0
- data/docs/UserApi.md +633 -0
- data/docs/UserGroupMembership.md +10 -0
- data/docs/UserLogin.md +11 -0
- data/docs/UserLoginsResponse.md +12 -0
- data/docs/UserResponse.md +12 -0
- data/docs/UsersResponse.md +12 -0
- data/docs/VerificationRecord.md +10 -0
- data/docs/Warning.md +9 -0
- data/docs/Webhook.md +25 -0
- data/docs/WebhookApi.md +503 -0
- data/docs/WebhookEventCategory.md +12 -0
- data/docs/WebhookEventSubscription.md +16 -0
- data/docs/WebhookLog.md +17 -0
- data/docs/WebhookLogResponse.md +12 -0
- data/docs/WebhookLogSummariesResponse.md +12 -0
- data/docs/WebhookLogSummary.md +10 -0
- data/docs/WebhookResponse.md +12 -0
- data/docs/WebhookSampleRequest.md +11 -0
- data/docs/WebhookSampleRequestResponse.md +12 -0
- data/docs/WebhooksResponse.md +12 -0
- data/docs/Weight.md +9 -0
- data/git_push.sh +55 -0
- data/lib/ultracart_api.rb +609 -0
- data/lib/ultracart_api/api/affiliate_api.rb +151 -0
- data/lib/ultracart_api/api/auto_order_api.rb +568 -0
- data/lib/ultracart_api/api/chargeback_api.rb +343 -0
- data/lib/ultracart_api/api/checkout_api.rb +1098 -0
- data/lib/ultracart_api/api/coupon_api.rb +1148 -0
- data/lib/ultracart_api/api/customer_api.rb +684 -0
- data/lib/ultracart_api/api/fulfillment_api.rb +307 -0
- data/lib/ultracart_api/api/item_api.rb +572 -0
- data/lib/ultracart_api/api/oauth_api.rb +158 -0
- data/lib/ultracart_api/api/order_api.rb +1293 -0
- data/lib/ultracart_api/api/storefront_api.rb +8493 -0
- data/lib/ultracart_api/api/tax_api.rb +1567 -0
- data/lib/ultracart_api/api/user_api.rb +621 -0
- data/lib/ultracart_api/api/webhook_api.rb +501 -0
- data/lib/ultracart_api/api_client.rb +400 -0
- data/lib/ultracart_api/api_error.rb +38 -0
- data/lib/ultracart_api/configuration.rb +229 -0
- data/lib/ultracart_api/models/accounts_receivable_retry_config.rb +319 -0
- data/lib/ultracart_api/models/accounts_receivable_retry_config_response.rb +252 -0
- data/lib/ultracart_api/models/accounts_receivable_retry_day_activity.rb +205 -0
- data/lib/ultracart_api/models/accounts_receivable_retry_stat_account.rb +215 -0
- data/lib/ultracart_api/models/accounts_receivable_retry_stat_metrics.rb +274 -0
- data/lib/ultracart_api/models/accounts_receivable_retry_stat_revenue.rb +193 -0
- data/lib/ultracart_api/models/accounts_receivable_retry_stats_response.rb +232 -0
- data/lib/ultracart_api/models/activity.rb +229 -0
- data/lib/ultracart_api/models/add_library_item_request.rb +289 -0
- data/lib/ultracart_api/models/affiliate_click.rb +284 -0
- data/lib/ultracart_api/models/affiliate_click_query.rb +235 -0
- data/lib/ultracart_api/models/affiliate_clicks_response.rb +224 -0
- data/lib/ultracart_api/models/affiliate_ledger.rb +386 -0
- data/lib/ultracart_api/models/affiliate_ledger_query.rb +235 -0
- data/lib/ultracart_api/models/affiliate_ledgers_response.rb +224 -0
- data/lib/ultracart_api/models/affiliate_link.rb +373 -0
- data/lib/ultracart_api/models/api_user_application_profile.rb +225 -0
- data/lib/ultracart_api/models/apply_library_item_request.rb +205 -0
- data/lib/ultracart_api/models/apply_library_item_response.rb +284 -0
- data/lib/ultracart_api/models/auto_order.rb +412 -0
- data/lib/ultracart_api/models/auto_order_item.rb +452 -0
- data/lib/ultracart_api/models/auto_order_item_future_schedule.rb +215 -0
- data/lib/ultracart_api/models/auto_order_item_option.rb +225 -0
- data/lib/ultracart_api/models/auto_order_item_simple_schedule.rb +239 -0
- data/lib/ultracart_api/models/auto_order_query.rb +425 -0
- data/lib/ultracart_api/models/auto_order_query_batch.rb +187 -0
- data/lib/ultracart_api/models/auto_order_response.rb +221 -0
- data/lib/ultracart_api/models/auto_orders_request.rb +187 -0
- data/lib/ultracart_api/models/auto_orders_response.rb +223 -0
- data/lib/ultracart_api/models/avalara_config.rb +305 -0
- data/lib/ultracart_api/models/base_response.rb +212 -0
- data/lib/ultracart_api/models/cart.rb +461 -0
- data/lib/ultracart_api/models/cart_affiliate.rb +210 -0
- data/lib/ultracart_api/models/cart_affirm_checkout_response.rb +197 -0
- data/lib/ultracart_api/models/cart_billing.rb +537 -0
- data/lib/ultracart_api/models/cart_buysafe.rb +234 -0
- data/lib/ultracart_api/models/cart_checkout.rb +465 -0
- data/lib/ultracart_api/models/cart_coupon.rb +185 -0
- data/lib/ultracart_api/models/cart_currency_conversion.rb +197 -0
- data/lib/ultracart_api/models/cart_customer_profile.rb +403 -0
- data/lib/ultracart_api/models/cart_customer_profile_address.rb +315 -0
- data/lib/ultracart_api/models/cart_customer_profile_credit_card.rb +269 -0
- data/lib/ultracart_api/models/cart_finalize_order_request.rb +193 -0
- data/lib/ultracart_api/models/cart_finalize_order_request_options.rb +320 -0
- data/lib/ultracart_api/models/cart_finalize_order_response.rb +225 -0
- data/lib/ultracart_api/models/cart_gift.rb +278 -0
- data/lib/ultracart_api/models/cart_gift_certificate.rb +203 -0
- data/lib/ultracart_api/models/cart_item.rb +469 -0
- data/lib/ultracart_api/models/cart_item_attribute.rb +205 -0
- data/lib/ultracart_api/models/cart_item_multimedia.rb +301 -0
- data/lib/ultracart_api/models/cart_item_multimedia_thumbnail.rb +225 -0
- data/lib/ultracart_api/models/cart_item_option.rb +343 -0
- data/lib/ultracart_api/models/cart_item_option_value.rb +223 -0
- data/lib/ultracart_api/models/cart_item_physical.rb +211 -0
- data/lib/ultracart_api/models/cart_item_variation_selection.rb +195 -0
- data/lib/ultracart_api/models/cart_kit_component_option.rb +363 -0
- data/lib/ultracart_api/models/cart_marketing.rb +195 -0
- data/lib/ultracart_api/models/cart_payment.rb +240 -0
- data/lib/ultracart_api/models/cart_payment_affirm.rb +185 -0
- data/lib/ultracart_api/models/cart_payment_amazon.rb +185 -0
- data/lib/ultracart_api/models/cart_payment_check.rb +185 -0
- data/lib/ultracart_api/models/cart_payment_credit_card.rb +265 -0
- data/lib/ultracart_api/models/cart_payment_purchase_order.rb +185 -0
- data/lib/ultracart_api/models/cart_profile_login_request.rb +204 -0
- data/lib/ultracart_api/models/cart_profile_login_response.rb +196 -0
- data/lib/ultracart_api/models/cart_profile_register_request.rb +194 -0
- data/lib/ultracart_api/models/cart_profile_register_response.rb +196 -0
- data/lib/ultracart_api/models/cart_property.rb +245 -0
- data/lib/ultracart_api/models/cart_response.rb +196 -0
- data/lib/ultracart_api/models/cart_settings.rb +229 -0
- data/lib/ultracart_api/models/cart_settings_billing.rb +187 -0
- data/lib/ultracart_api/models/cart_settings_gift.rb +216 -0
- data/lib/ultracart_api/models/cart_settings_gift_wrap.rb +204 -0
- data/lib/ultracart_api/models/cart_settings_payment.rb +302 -0
- data/lib/ultracart_api/models/cart_settings_payment_amazon.rb +205 -0
- data/lib/ultracart_api/models/cart_settings_payment_credit_card.rb +207 -0
- data/lib/ultracart_api/models/cart_settings_payment_pay_pal.rb +225 -0
- data/lib/ultracart_api/models/cart_settings_province.rb +193 -0
- data/lib/ultracart_api/models/cart_settings_shipping.rb +227 -0
- data/lib/ultracart_api/models/cart_settings_shipping_calendar.rb +229 -0
- data/lib/ultracart_api/models/cart_settings_shipping_estimate.rb +300 -0
- data/lib/ultracart_api/models/cart_settings_taxes.rb +186 -0
- data/lib/ultracart_api/models/cart_settings_terms.rb +195 -0
- data/lib/ultracart_api/models/cart_shipping.rb +590 -0
- data/lib/ultracart_api/models/cart_summary.rb +319 -0
- data/lib/ultracart_api/models/cart_taxes.rb +220 -0
- data/lib/ultracart_api/models/cart_upsell_after.rb +220 -0
- data/lib/ultracart_api/models/cart_validation_request.rb +196 -0
- data/lib/ultracart_api/models/cart_validation_response.rb +196 -0
- data/lib/ultracart_api/models/chargeback_dispute.rb +614 -0
- data/lib/ultracart_api/models/chargeback_dispute_response.rb +221 -0
- data/lib/ultracart_api/models/chargeback_disputes_response.rb +223 -0
- data/lib/ultracart_api/models/checkout_allowed_countries_response.rb +186 -0
- data/lib/ultracart_api/models/checkout_handoff_request.rb +288 -0
- data/lib/ultracart_api/models/checkout_handoff_response.rb +206 -0
- data/lib/ultracart_api/models/checkout_setup_browser_key_request.rb +187 -0
- data/lib/ultracart_api/models/checkout_setup_browser_key_response.rb +185 -0
- data/lib/ultracart_api/models/checkout_state_province_response.rb +186 -0
- data/lib/ultracart_api/models/city_state_zip.rb +220 -0
- data/lib/ultracart_api/models/countries_response.rb +186 -0
- data/lib/ultracart_api/models/country.rb +225 -0
- data/lib/ultracart_api/models/coupon.rb +792 -0
- data/lib/ultracart_api/models/coupon_amount_off_items.rb +232 -0
- data/lib/ultracart_api/models/coupon_amount_off_shipping.rb +222 -0
- data/lib/ultracart_api/models/coupon_amount_off_shipping_with_items_purchase.rb +234 -0
- data/lib/ultracart_api/models/coupon_amount_off_subtotal.rb +210 -0
- data/lib/ultracart_api/models/coupon_amount_off_subtotal_and_shipping.rb +210 -0
- data/lib/ultracart_api/models/coupon_amount_off_subtotal_free_shipping_with_purchase.rb +232 -0
- data/lib/ultracart_api/models/coupon_amount_off_subtotal_with_block_purchase.rb +230 -0
- data/lib/ultracart_api/models/coupon_amount_off_subtotal_with_items_purchase.rb +232 -0
- data/lib/ultracart_api/models/coupon_auto_apply_condition.rb +204 -0
- data/lib/ultracart_api/models/coupon_auto_apply_conditions.rb +234 -0
- data/lib/ultracart_api/models/coupon_automatically_apply_coupon_codes.rb +187 -0
- data/lib/ultracart_api/models/coupon_buy_one_get_one_limit.rb +197 -0
- data/lib/ultracart_api/models/coupon_codes_request.rb +242 -0
- data/lib/ultracart_api/models/coupon_codes_response.rb +234 -0
- data/lib/ultracart_api/models/coupon_deletes_request.rb +199 -0
- data/lib/ultracart_api/models/coupon_discount_item_with_item_purchase.rb +240 -0
- data/lib/ultracart_api/models/coupon_discount_items.rb +232 -0
- data/lib/ultracart_api/models/coupon_editor_values.rb +295 -0
- data/lib/ultracart_api/models/coupon_exists_response.rb +232 -0
- data/lib/ultracart_api/models/coupon_free_item_and_shipping_with_subtotal.rb +244 -0
- data/lib/ultracart_api/models/coupon_free_item_with_item_purchase.rb +219 -0
- data/lib/ultracart_api/models/coupon_free_item_with_subtotal.rb +232 -0
- data/lib/ultracart_api/models/coupon_free_items_with_item_purchase.rb +225 -0
- data/lib/ultracart_api/models/coupon_free_items_with_mix_match_purchase.rb +225 -0
- data/lib/ultracart_api/models/coupon_free_shipping.rb +187 -0
- data/lib/ultracart_api/models/coupon_free_shipping_specific_items.rb +187 -0
- data/lib/ultracart_api/models/coupon_free_shipping_with_items_purchase.rb +199 -0
- data/lib/ultracart_api/models/coupon_free_shipping_with_subtotal.rb +222 -0
- data/lib/ultracart_api/models/coupon_item_search_result.rb +255 -0
- data/lib/ultracart_api/models/coupon_item_search_results_response.rb +224 -0
- data/lib/ultracart_api/models/coupon_multiple_amounts_off_items.rb +197 -0
- data/lib/ultracart_api/models/coupon_no_discount.rb +175 -0
- data/lib/ultracart_api/models/coupon_percent_off_item_with_items_quantity_purchase.rb +229 -0
- data/lib/ultracart_api/models/coupon_percent_off_items.rb +219 -0
- data/lib/ultracart_api/models/coupon_percent_off_items_and_free_shipping.rb +209 -0
- data/lib/ultracart_api/models/coupon_percent_off_items_with_items_purchase.rb +219 -0
- data/lib/ultracart_api/models/coupon_percent_off_retail_price_items.rb +219 -0
- data/lib/ultracart_api/models/coupon_percent_off_shipping.rb +197 -0
- data/lib/ultracart_api/models/coupon_percent_off_subtotal.rb +185 -0
- data/lib/ultracart_api/models/coupon_percent_off_subtotal_and_free_shipping.rb +197 -0
- data/lib/ultracart_api/models/coupon_percent_off_subtotal_limit.rb +220 -0
- data/lib/ultracart_api/models/coupon_percent_off_subtotal_with_items_purchase.rb +197 -0
- data/lib/ultracart_api/models/coupon_percent_off_subtotal_with_subtotal.rb +220 -0
- data/lib/ultracart_api/models/coupon_query.rb +265 -0
- data/lib/ultracart_api/models/coupon_response.rb +221 -0
- data/lib/ultracart_api/models/coupon_restriction.rb +211 -0
- data/lib/ultracart_api/models/coupon_tier_amount.rb +195 -0
- data/lib/ultracart_api/models/coupon_tier_item_discount.rb +197 -0
- data/lib/ultracart_api/models/coupon_tier_percent.rb +195 -0
- data/lib/ultracart_api/models/coupon_tier_quantity_amount.rb +195 -0
- data/lib/ultracart_api/models/coupon_tier_quantity_percent.rb +195 -0
- data/lib/ultracart_api/models/coupon_tiered_amount_off_item.rb +207 -0
- data/lib/ultracart_api/models/coupon_tiered_amount_off_subtotal.rb +199 -0
- data/lib/ultracart_api/models/coupon_tiered_percent_off_items.rb +209 -0
- data/lib/ultracart_api/models/coupon_tiered_percent_off_shipping.rb +199 -0
- data/lib/ultracart_api/models/coupon_tiered_percent_off_subtotal.rb +199 -0
- data/lib/ultracart_api/models/coupon_type.rb +195 -0
- data/lib/ultracart_api/models/coupons_request.rb +187 -0
- data/lib/ultracart_api/models/coupons_response.rb +223 -0
- data/lib/ultracart_api/models/currency.rb +225 -0
- data/lib/ultracart_api/models/customer.rb +933 -0
- data/lib/ultracart_api/models/customer_activity.rb +219 -0
- data/lib/ultracart_api/models/customer_affiliate.rb +195 -0
- data/lib/ultracart_api/models/customer_attachment.rb +225 -0
- data/lib/ultracart_api/models/customer_billing.rb +540 -0
- data/lib/ultracart_api/models/customer_card.rb +255 -0
- data/lib/ultracart_api/models/customer_editor_values.rb +271 -0
- data/lib/ultracart_api/models/customer_email.rb +265 -0
- data/lib/ultracart_api/models/customer_email_list_changes.rb +199 -0
- data/lib/ultracart_api/models/customer_loyalty.rb +209 -0
- data/lib/ultracart_api/models/customer_loyalty_ledger.rb +325 -0
- data/lib/ultracart_api/models/customer_loyalty_redemption.rb +305 -0
- data/lib/ultracart_api/models/customer_orders_summary.rb +215 -0
- data/lib/ultracart_api/models/customer_pricing_tier.rb +210 -0
- data/lib/ultracart_api/models/customer_privacy.rb +215 -0
- data/lib/ultracart_api/models/customer_query.rb +754 -0
- data/lib/ultracart_api/models/customer_quotes_summary.rb +215 -0
- data/lib/ultracart_api/models/customer_response.rb +221 -0
- data/lib/ultracart_api/models/customer_reviewer.rb +275 -0
- data/lib/ultracart_api/models/customer_shipping.rb +540 -0
- data/lib/ultracart_api/models/customer_software_entitlement.rb +330 -0
- data/lib/ultracart_api/models/customer_tag.rb +200 -0
- data/lib/ultracart_api/models/customer_tax_codes.rb +225 -0
- data/lib/ultracart_api/models/customers_response.rb +223 -0
- data/lib/ultracart_api/models/data_tables_server_side_response.rb +213 -0
- data/lib/ultracart_api/models/distance.rb +229 -0
- data/lib/ultracart_api/models/distribution_center.rb +514 -0
- data/lib/ultracart_api/models/distribution_centers_response.rb +223 -0
- data/lib/ultracart_api/models/email_base_template_list_response.rb +186 -0
- data/lib/ultracart_api/models/email_campaign.rb +422 -0
- data/lib/ultracart_api/models/email_campaign_folder.rb +240 -0
- data/lib/ultracart_api/models/email_campaign_folder_response.rb +221 -0
- data/lib/ultracart_api/models/email_campaign_folders_response.rb +223 -0
- data/lib/ultracart_api/models/email_campaign_response.rb +221 -0
- data/lib/ultracart_api/models/email_campaigns_response.rb +223 -0
- data/lib/ultracart_api/models/email_click.rb +195 -0
- data/lib/ultracart_api/models/email_clicks_response.rb +223 -0
- data/lib/ultracart_api/models/email_commseq.rb +217 -0
- data/lib/ultracart_api/models/email_commseq_email.rb +415 -0
- data/lib/ultracart_api/models/email_commseq_email_response.rb +221 -0
- data/lib/ultracart_api/models/email_commseq_email_send_test_request.rb +269 -0
- data/lib/ultracart_api/models/email_commseq_email_send_test_response.rb +212 -0
- data/lib/ultracart_api/models/email_commseq_emails_request.rb +223 -0
- data/lib/ultracart_api/models/email_commseq_emails_response.rb +223 -0
- data/lib/ultracart_api/models/email_commseq_postcard.rb +285 -0
- data/lib/ultracart_api/models/email_commseq_postcard_response.rb +221 -0
- data/lib/ultracart_api/models/email_commseq_postcard_send_test_request.rb +285 -0
- data/lib/ultracart_api/models/email_commseq_postcard_send_test_response.rb +239 -0
- data/lib/ultracart_api/models/email_commseq_postcards_request.rb +186 -0
- data/lib/ultracart_api/models/email_commseq_postcards_response.rb +223 -0
- data/lib/ultracart_api/models/email_commseq_response.rb +221 -0
- data/lib/ultracart_api/models/email_commseq_stat.rb +545 -0
- data/lib/ultracart_api/models/email_commseq_stat_response.rb +221 -0
- data/lib/ultracart_api/models/email_commseq_step.rb +313 -0
- data/lib/ultracart_api/models/email_commseqs_response.rb +223 -0
- data/lib/ultracart_api/models/email_customer.rb +257 -0
- data/lib/ultracart_api/models/email_customer_editor_url_response.rb +221 -0
- data/lib/ultracart_api/models/email_customers_response.rb +227 -0
- data/lib/ultracart_api/models/email_dashboard_activity.rb +245 -0
- data/lib/ultracart_api/models/email_dashboard_activity_response.rb +223 -0
- data/lib/ultracart_api/models/email_dashboard_stats_response.rb +223 -0
- data/lib/ultracart_api/models/email_domain.rb +276 -0
- data/lib/ultracart_api/models/email_editor_token_response.rb +221 -0
- data/lib/ultracart_api/models/email_flow.rb +460 -0
- data/lib/ultracart_api/models/email_flow_back_populate_request.rb +195 -0
- data/lib/ultracart_api/models/email_flow_back_populate_response.rb +212 -0
- data/lib/ultracart_api/models/email_flow_folder.rb +240 -0
- data/lib/ultracart_api/models/email_flow_folder_response.rb +221 -0
- data/lib/ultracart_api/models/email_flow_folders_response.rb +223 -0
- data/lib/ultracart_api/models/email_flow_response.rb +221 -0
- data/lib/ultracart_api/models/email_flows_response.rb +223 -0
- data/lib/ultracart_api/models/email_global_settings.rb +184 -0
- data/lib/ultracart_api/models/email_global_settings_response.rb +221 -0
- data/lib/ultracart_api/models/email_global_unsubscribe_request.rb +184 -0
- data/lib/ultracart_api/models/email_global_unsubscribe_response.rb +184 -0
- data/lib/ultracart_api/models/email_histogram_property_names_response.rb +186 -0
- data/lib/ultracart_api/models/email_histogram_property_values_response.rb +186 -0
- data/lib/ultracart_api/models/email_list.rb +302 -0
- data/lib/ultracart_api/models/email_list_archive_response.rb +221 -0
- data/lib/ultracart_api/models/email_list_customer.rb +215 -0
- data/lib/ultracart_api/models/email_list_customers_response.rb +227 -0
- data/lib/ultracart_api/models/email_list_response.rb +221 -0
- data/lib/ultracart_api/models/email_list_segment_membership.rb +215 -0
- data/lib/ultracart_api/models/email_list_segment_used_by.rb +205 -0
- data/lib/ultracart_api/models/email_list_subscribe_response.rb +193 -0
- data/lib/ultracart_api/models/email_lists_response.rb +223 -0
- data/lib/ultracart_api/models/email_order.rb +214 -0
- data/lib/ultracart_api/models/email_orders_response.rb +223 -0
- data/lib/ultracart_api/models/email_performance.rb +396 -0
- data/lib/ultracart_api/models/email_performance_customer_histogram.rb +187 -0
- data/lib/ultracart_api/models/email_performance_customer_histogram_period.rb +225 -0
- data/lib/ultracart_api/models/email_performance_daily.rb +245 -0
- data/lib/ultracart_api/models/email_performance_response.rb +221 -0
- data/lib/ultracart_api/models/email_plan.rb +321 -0
- data/lib/ultracart_api/models/email_plan_additional.rb +229 -0
- data/lib/ultracart_api/models/email_plan_response.rb +221 -0
- data/lib/ultracart_api/models/email_postcard_stat.rb +496 -0
- data/lib/ultracart_api/models/email_segment.rb +332 -0
- data/lib/ultracart_api/models/email_segment_archive_response.rb +221 -0
- data/lib/ultracart_api/models/email_segment_customer.rb +215 -0
- data/lib/ultracart_api/models/email_segment_customers_response.rb +227 -0
- data/lib/ultracart_api/models/email_segment_download_prepare_response.rb +248 -0
- data/lib/ultracart_api/models/email_segment_response.rb +221 -0
- data/lib/ultracart_api/models/email_segments_response.rb +223 -0
- data/lib/ultracart_api/models/email_sending_domain_response.rb +221 -0
- data/lib/ultracart_api/models/email_sending_domains_response.rb +223 -0
- data/lib/ultracart_api/models/email_settings.rb +283 -0
- data/lib/ultracart_api/models/email_settings_response.rb +221 -0
- data/lib/ultracart_api/models/email_stat.rb +556 -0
- data/lib/ultracart_api/models/email_stat_postcard_summary_request.rb +195 -0
- data/lib/ultracart_api/models/email_stat_postcard_summary_response.rb +223 -0
- data/lib/ultracart_api/models/email_stat_summary_request.rb +206 -0
- data/lib/ultracart_api/models/email_stat_summary_response.rb +223 -0
- data/lib/ultracart_api/models/email_step_stat.rb +375 -0
- data/lib/ultracart_api/models/email_step_stat_request.rb +195 -0
- data/lib/ultracart_api/models/email_step_stat_response.rb +223 -0
- data/lib/ultracart_api/models/email_step_waiting_request.rb +186 -0
- data/lib/ultracart_api/models/email_step_waiting_response.rb +186 -0
- data/lib/ultracart_api/models/email_template.rb +330 -0
- data/lib/ultracart_api/models/email_templates_response.rb +223 -0
- data/lib/ultracart_api/models/email_third_party_list.rb +195 -0
- data/lib/ultracart_api/models/email_third_party_list_import_request.rb +187 -0
- data/lib/ultracart_api/models/email_third_party_provider.rb +267 -0
- data/lib/ultracart_api/models/email_third_party_providers_response.rb +223 -0
- data/lib/ultracart_api/models/error.rb +215 -0
- data/lib/ultracart_api/models/error_response.rb +212 -0
- data/lib/ultracart_api/models/experiment.rb +391 -0
- data/lib/ultracart_api/models/experiment_response.rb +221 -0
- data/lib/ultracart_api/models/experiment_variation.rb +365 -0
- data/lib/ultracart_api/models/experiments_response.rb +223 -0
- data/lib/ultracart_api/models/fulfillment_inventory.rb +193 -0
- data/lib/ultracart_api/models/fulfillment_shipment.rb +227 -0
- data/lib/ultracart_api/models/geo_point.rb +193 -0
- data/lib/ultracart_api/models/geocode_request.rb +225 -0
- data/lib/ultracart_api/models/geocode_response.rb +230 -0
- data/lib/ultracart_api/models/group.rb +231 -0
- data/lib/ultracart_api/models/group_response.rb +221 -0
- data/lib/ultracart_api/models/group_user_membership.rb +225 -0
- data/lib/ultracart_api/models/groups_response.rb +223 -0
- data/lib/ultracart_api/models/http_header.rb +195 -0
- data/lib/ultracart_api/models/item.rb +701 -0
- data/lib/ultracart_api/models/item_accounting.rb +225 -0
- data/lib/ultracart_api/models/item_amember.rb +210 -0
- data/lib/ultracart_api/models/item_auto_order.rb +358 -0
- data/lib/ultracart_api/models/item_auto_order_step.rb +378 -0
- data/lib/ultracart_api/models/item_auto_order_step_arbitrary_unit_cost_schedule.rb +195 -0
- data/lib/ultracart_api/models/item_auto_order_step_grandfather_pricing.rb +195 -0
- data/lib/ultracart_api/models/item_cc_bill.rb +235 -0
- data/lib/ultracart_api/models/item_channel_partner_mapping.rb +400 -0
- data/lib/ultracart_api/models/item_chargeback.rb +199 -0
- data/lib/ultracart_api/models/item_chargeback_addendum.rb +215 -0
- data/lib/ultracart_api/models/item_chargeback_adjustment_request.rb +205 -0
- data/lib/ultracart_api/models/item_checkout.rb +220 -0
- data/lib/ultracart_api/models/item_content.rb +316 -0
- data/lib/ultracart_api/models/item_content_assignment.rb +240 -0
- data/lib/ultracart_api/models/item_content_attribute.rb +245 -0
- data/lib/ultracart_api/models/item_content_multimedia.rb +406 -0
- data/lib/ultracart_api/models/item_content_multimedia_thumbnail.rb +235 -0
- data/lib/ultracart_api/models/item_digital_delivery.rb +282 -0
- data/lib/ultracart_api/models/item_digital_item.rb +270 -0
- data/lib/ultracart_api/models/item_ebay.rb +866 -0
- data/lib/ultracart_api/models/item_ebay_category_specific.rb +195 -0
- data/lib/ultracart_api/models/item_ebay_market_listing.rb +225 -0
- data/lib/ultracart_api/models/item_ebay_market_place_analysis.rb +276 -0
- data/lib/ultracart_api/models/item_email_notifications.rb +195 -0
- data/lib/ultracart_api/models/item_enrollment123.rb +185 -0
- data/lib/ultracart_api/models/item_gift_certificate.rb +195 -0
- data/lib/ultracart_api/models/item_google_product_search.rb +1254 -0
- data/lib/ultracart_api/models/item_identifiers.rb +275 -0
- data/lib/ultracart_api/models/item_instant_payment_notification.rb +235 -0
- data/lib/ultracart_api/models/item_instant_payment_notifications.rb +187 -0
- data/lib/ultracart_api/models/item_internal.rb +200 -0
- data/lib/ultracart_api/models/item_kit_component.rb +225 -0
- data/lib/ultracart_api/models/item_kit_definition.rb +187 -0
- data/lib/ultracart_api/models/item_option.rb +381 -0
- data/lib/ultracart_api/models/item_option_value.rb +374 -0
- data/lib/ultracart_api/models/item_option_value_additional_item.rb +195 -0
- data/lib/ultracart_api/models/item_option_value_digital_item.rb +195 -0
- data/lib/ultracart_api/models/item_payment_processing.rb +229 -0
- data/lib/ultracart_api/models/item_physical.rb +211 -0
- data/lib/ultracart_api/models/item_pricing.rb +387 -0
- data/lib/ultracart_api/models/item_pricing_tier.rb +226 -0
- data/lib/ultracart_api/models/item_pricing_tier_discount.rb +195 -0
- data/lib/ultracart_api/models/item_pricing_tier_limit.rb +205 -0
- data/lib/ultracart_api/models/item_property.rb +235 -0
- data/lib/ultracart_api/models/item_realtime_pricing.rb +205 -0
- data/lib/ultracart_api/models/item_related.rb +207 -0
- data/lib/ultracart_api/models/item_related_item.rb +239 -0
- data/lib/ultracart_api/models/item_reporting.rb +197 -0
- data/lib/ultracart_api/models/item_response.rb +221 -0
- data/lib/ultracart_api/models/item_restriction.rb +257 -0
- data/lib/ultracart_api/models/item_restriction_item.rb +239 -0
- data/lib/ultracart_api/models/item_revguard.rb +245 -0
- data/lib/ultracart_api/models/item_reviews.rb +245 -0
- data/lib/ultracart_api/models/item_salesforce.rb +195 -0
- data/lib/ultracart_api/models/item_shipping.rb +678 -0
- data/lib/ultracart_api/models/item_shipping_case.rb +230 -0
- data/lib/ultracart_api/models/item_shipping_destination_markup.rb +280 -0
- data/lib/ultracart_api/models/item_shipping_destination_restriction.rb +269 -0
- data/lib/ultracart_api/models/item_shipping_distribution_center.rb +335 -0
- data/lib/ultracart_api/models/item_shipping_method.rb +359 -0
- data/lib/ultracart_api/models/item_shipping_package_requirement.rb +195 -0
- data/lib/ultracart_api/models/item_tag.rb +244 -0
- data/lib/ultracart_api/models/item_tags.rb +187 -0
- data/lib/ultracart_api/models/item_tax.rb +207 -0
- data/lib/ultracart_api/models/item_tax_exemption.rb +300 -0
- data/lib/ultracart_api/models/item_third_party_email_marketing.rb +267 -0
- data/lib/ultracart_api/models/item_variant_item.rb +254 -0
- data/lib/ultracart_api/models/item_variation.rb +257 -0
- data/lib/ultracart_api/models/item_variation_option.rb +230 -0
- data/lib/ultracart_api/models/item_wishlist_member.rb +220 -0
- data/lib/ultracart_api/models/items_request.rb +187 -0
- data/lib/ultracart_api/models/items_response.rb +224 -0
- data/lib/ultracart_api/models/key_value.rb +205 -0
- data/lib/ultracart_api/models/library_filter_values.rb +219 -0
- data/lib/ultracart_api/models/library_filter_values_response.rb +221 -0
- data/lib/ultracart_api/models/library_item.rb +571 -0
- data/lib/ultracart_api/models/library_item_account.rb +202 -0
- data/lib/ultracart_api/models/library_item_asset.rb +193 -0
- data/lib/ultracart_api/models/library_item_attribute.rb +202 -0
- data/lib/ultracart_api/models/library_item_email.rb +202 -0
- data/lib/ultracart_api/models/library_item_published_meta.rb +255 -0
- data/lib/ultracart_api/models/library_item_purchased_meta.rb +205 -0
- data/lib/ultracart_api/models/library_item_query.rb +295 -0
- data/lib/ultracart_api/models/library_item_response.rb +221 -0
- data/lib/ultracart_api/models/library_item_screenshot.rb +193 -0
- data/lib/ultracart_api/models/library_items_response.rb +224 -0
- data/lib/ultracart_api/models/linked_account.rb +205 -0
- data/lib/ultracart_api/models/list_segment_membership.rb +202 -0
- data/lib/ultracart_api/models/lookup_request.rb +220 -0
- data/lib/ultracart_api/models/lookup_response.rb +223 -0
- data/lib/ultracart_api/models/metric.rb +247 -0
- data/lib/ultracart_api/models/notification.rb +287 -0
- data/lib/ultracart_api/models/oauth_revoke_success_response.rb +195 -0
- data/lib/ultracart_api/models/oauth_token_response.rb +286 -0
- data/lib/ultracart_api/models/order.rb +569 -0
- data/lib/ultracart_api/models/order_affiliate.rb +207 -0
- data/lib/ultracart_api/models/order_affiliate_ledger.rb +299 -0
- data/lib/ultracart_api/models/order_auto_order.rb +403 -0
- data/lib/ultracart_api/models/order_billing.rb +537 -0
- data/lib/ultracart_api/models/order_buysafe.rb +233 -0
- data/lib/ultracart_api/models/order_by_token_query.rb +185 -0
- data/lib/ultracart_api/models/order_channel_partner.rb +275 -0
- data/lib/ultracart_api/models/order_checkout.rb +415 -0
- data/lib/ultracart_api/models/order_coupon.rb +245 -0
- data/lib/ultracart_api/models/order_digital_item.rb +255 -0
- data/lib/ultracart_api/models/order_digital_order.rb +227 -0
- data/lib/ultracart_api/models/order_edi.rb +230 -0
- data/lib/ultracart_api/models/order_format.rb +369 -0
- data/lib/ultracart_api/models/order_format_response.rb +197 -0
- data/lib/ultracart_api/models/order_fraud_score.rb +409 -0
- data/lib/ultracart_api/models/order_gift.rb +316 -0
- data/lib/ultracart_api/models/order_gift_certificate.rb +204 -0
- data/lib/ultracart_api/models/order_internal.rb +240 -0
- data/lib/ultracart_api/models/order_item.rb +800 -0
- data/lib/ultracart_api/models/order_item_edi.rb +199 -0
- data/lib/ultracart_api/models/order_item_edi_identification.rb +195 -0
- data/lib/ultracart_api/models/order_item_edi_lot.rb +205 -0
- data/lib/ultracart_api/models/order_item_option.rb +343 -0
- data/lib/ultracart_api/models/order_item_option_file_attachment.rb +215 -0
- data/lib/ultracart_api/models/order_item_property.rb +245 -0
- data/lib/ultracart_api/models/order_item_tag.rb +200 -0
- data/lib/ultracart_api/models/order_linked_shipment.rb +229 -0
- data/lib/ultracart_api/models/order_marketing.rb +235 -0
- data/lib/ultracart_api/models/order_payment.rb +388 -0
- data/lib/ultracart_api/models/order_payment_check.rb +185 -0
- data/lib/ultracart_api/models/order_payment_credit_card.rb +319 -0
- data/lib/ultracart_api/models/order_payment_e_check.rb +441 -0
- data/lib/ultracart_api/models/order_payment_purchase_order.rb +185 -0
- data/lib/ultracart_api/models/order_payment_transaction.rb +217 -0
- data/lib/ultracart_api/models/order_payment_transaction_detail.rb +205 -0
- data/lib/ultracart_api/models/order_process_payment_request.rb +185 -0
- data/lib/ultracart_api/models/order_process_payment_response.rb +221 -0
- data/lib/ultracart_api/models/order_property.rb +245 -0
- data/lib/ultracart_api/models/order_query.rb +701 -0
- data/lib/ultracart_api/models/order_query_batch.rb +187 -0
- data/lib/ultracart_api/models/order_quote.rb +205 -0
- data/lib/ultracart_api/models/order_replacement.rb +432 -0
- data/lib/ultracart_api/models/order_replacement_item.rb +220 -0
- data/lib/ultracart_api/models/order_replacement_response.rb +229 -0
- data/lib/ultracart_api/models/order_response.rb +221 -0
- data/lib/ultracart_api/models/order_salesforce.rb +185 -0
- data/lib/ultracart_api/models/order_shipping.rb +710 -0
- data/lib/ultracart_api/models/order_summary.rb +328 -0
- data/lib/ultracart_api/models/order_tag.rb +200 -0
- data/lib/ultracart_api/models/order_taxes.rb +360 -0
- data/lib/ultracart_api/models/order_token_response.rb +222 -0
- data/lib/ultracart_api/models/order_tracking_number_detail.rb +265 -0
- data/lib/ultracart_api/models/order_tracking_number_details.rb +330 -0
- data/lib/ultracart_api/models/orders_response.rb +224 -0
- data/lib/ultracart_api/models/permission.rb +205 -0
- data/lib/ultracart_api/models/pricing_tier.rb +498 -0
- data/lib/ultracart_api/models/pricing_tier_notification.rb +235 -0
- data/lib/ultracart_api/models/pricing_tiers_response.rb +224 -0
- data/lib/ultracart_api/models/property.rb +193 -0
- data/lib/ultracart_api/models/publish_library_item_request.rb +185 -0
- data/lib/ultracart_api/models/register_affiliate_click_request.rb +235 -0
- data/lib/ultracart_api/models/register_affiliate_click_response.rb +219 -0
- data/lib/ultracart_api/models/response_metadata.rb +194 -0
- data/lib/ultracart_api/models/result_set.rb +235 -0
- data/lib/ultracart_api/models/screen_recording.rb +477 -0
- data/lib/ultracart_api/models/screen_recording_filter.rb +426 -0
- data/lib/ultracart_api/models/screen_recording_filter_geo_distance.rb +220 -0
- data/lib/ultracart_api/models/screen_recording_filter_ip_search.rb +211 -0
- data/lib/ultracart_api/models/screen_recording_filter_page_view.rb +244 -0
- data/lib/ultracart_api/models/screen_recording_filter_page_view_event.rb +195 -0
- data/lib/ultracart_api/models/screen_recording_filter_page_view_event_param.rb +220 -0
- data/lib/ultracart_api/models/screen_recording_filter_page_view_param.rb +193 -0
- data/lib/ultracart_api/models/screen_recording_filter_page_view_referrer_param.rb +193 -0
- data/lib/ultracart_api/models/screen_recording_filter_range_big_decimal.rb +220 -0
- data/lib/ultracart_api/models/screen_recording_filter_range_date.rb +195 -0
- data/lib/ultracart_api/models/screen_recording_filter_range_integer.rb +220 -0
- data/lib/ultracart_api/models/screen_recording_filter_string_search.rb +220 -0
- data/lib/ultracart_api/models/screen_recording_filter_values.rb +283 -0
- data/lib/ultracart_api/models/screen_recording_filter_values_event.rb +195 -0
- data/lib/ultracart_api/models/screen_recording_filter_values_event_params.rb +228 -0
- data/lib/ultracart_api/models/screen_recording_multifield.rb +220 -0
- data/lib/ultracart_api/models/screen_recording_page_view.rb +318 -0
- data/lib/ultracart_api/models/screen_recording_page_view_event.rb +214 -0
- data/lib/ultracart_api/models/screen_recording_page_view_event_parameter.rb +193 -0
- data/lib/ultracart_api/models/screen_recording_page_view_parameter.rb +193 -0
- data/lib/ultracart_api/models/screen_recording_query_request.rb +184 -0
- data/lib/ultracart_api/models/screen_recording_query_response.rb +241 -0
- data/lib/ultracart_api/models/screen_recording_response.rb +221 -0
- data/lib/ultracart_api/models/screen_recording_segment.rb +238 -0
- data/lib/ultracart_api/models/screen_recording_segment_response.rb +221 -0
- data/lib/ultracart_api/models/screen_recording_segments_response.rb +223 -0
- data/lib/ultracart_api/models/screen_recording_settings.rb +184 -0
- data/lib/ultracart_api/models/screen_recording_settings_response.rb +221 -0
- data/lib/ultracart_api/models/screen_recording_store_front.rb +193 -0
- data/lib/ultracart_api/models/screen_recording_tags_request.rb +186 -0
- data/lib/ultracart_api/models/screen_recording_tags_response.rb +223 -0
- data/lib/ultracart_api/models/screen_recording_user_agent.rb +220 -0
- data/lib/ultracart_api/models/screen_recording_user_agent_device.rb +184 -0
- data/lib/ultracart_api/models/screen_recording_user_agent_os.rb +202 -0
- data/lib/ultracart_api/models/screen_recording_user_property.rb +193 -0
- data/lib/ultracart_api/models/screenshots_response.rb +224 -0
- data/lib/ultracart_api/models/self_config.rb +185 -0
- data/lib/ultracart_api/models/simple_value.rb +195 -0
- data/lib/ultracart_api/models/sovos_config.rb +245 -0
- data/lib/ultracart_api/models/state_province.rb +210 -0
- data/lib/ultracart_api/models/step_waiting.rb +193 -0
- data/lib/ultracart_api/models/tax_city.rb +267 -0
- data/lib/ultracart_api/models/tax_country.rb +267 -0
- data/lib/ultracart_api/models/tax_country_code.rb +225 -0
- data/lib/ultracart_api/models/tax_county.rb +277 -0
- data/lib/ultracart_api/models/tax_jar_config.rb +235 -0
- data/lib/ultracart_api/models/tax_postal_code.rb +245 -0
- data/lib/ultracart_api/models/tax_provider_activate_result.rb +194 -0
- data/lib/ultracart_api/models/tax_provider_avalara.rb +214 -0
- data/lib/ultracart_api/models/tax_provider_avalara_companies_result.rb +187 -0
- data/lib/ultracart_api/models/tax_provider_avalara_company.rb +225 -0
- data/lib/ultracart_api/models/tax_provider_self.rb +226 -0
- data/lib/ultracart_api/models/tax_provider_self_countries_response.rb +187 -0
- data/lib/ultracart_api/models/tax_provider_self_regions_response.rb +187 -0
- data/lib/ultracart_api/models/tax_provider_sovos.rb +214 -0
- data/lib/ultracart_api/models/tax_provider_tax_jar.rb +214 -0
- data/lib/ultracart_api/models/tax_provider_test_result.rb +194 -0
- data/lib/ultracart_api/models/tax_provider_ultra_cart.rb +226 -0
- data/lib/ultracart_api/models/tax_provider_ultra_cart_state.rb +245 -0
- data/lib/ultracart_api/models/tax_providers_response.rb +257 -0
- data/lib/ultracart_api/models/tax_state.rb +327 -0
- data/lib/ultracart_api/models/tax_state_code.rb +225 -0
- data/lib/ultracart_api/models/temp_multimedia.rb +294 -0
- data/lib/ultracart_api/models/temp_multimedia_response.rb +221 -0
- data/lib/ultracart_api/models/thumbnail_parameters_request.rb +220 -0
- data/lib/ultracart_api/models/thumbnail_parameters_response.rb +222 -0
- data/lib/ultracart_api/models/transaction_email.rb +379 -0
- data/lib/ultracart_api/models/transaction_email_list_response.rb +223 -0
- data/lib/ultracart_api/models/transaction_email_option.rb +247 -0
- data/lib/ultracart_api/models/transaction_email_response.rb +221 -0
- data/lib/ultracart_api/models/ultra_cart_config.rb +185 -0
- data/lib/ultracart_api/models/upload_coupon_codes_request.rb +224 -0
- data/lib/ultracart_api/models/upload_coupon_codes_response.rb +248 -0
- data/lib/ultracart_api/models/user.rb +327 -0
- data/lib/ultracart_api/models/user_group_membership.rb +205 -0
- data/lib/ultracart_api/models/user_login.rb +215 -0
- data/lib/ultracart_api/models/user_logins_response.rb +224 -0
- data/lib/ultracart_api/models/user_response.rb +221 -0
- data/lib/ultracart_api/models/users_response.rb +223 -0
- data/lib/ultracart_api/models/verification_record.rb +202 -0
- data/lib/ultracart_api/models/warning.rb +195 -0
- data/lib/ultracart_api/models/webhook.rb +402 -0
- data/lib/ultracart_api/models/webhook_event_category.rb +229 -0
- data/lib/ultracart_api/models/webhook_event_subscription.rb +265 -0
- data/lib/ultracart_api/models/webhook_log.rb +279 -0
- data/lib/ultracart_api/models/webhook_log_response.rb +221 -0
- data/lib/ultracart_api/models/webhook_log_summaries_response.rb +224 -0
- data/lib/ultracart_api/models/webhook_log_summary.rb +205 -0
- data/lib/ultracart_api/models/webhook_response.rb +221 -0
- data/lib/ultracart_api/models/webhook_sample_request.rb +217 -0
- data/lib/ultracart_api/models/webhook_sample_request_response.rb +221 -0
- data/lib/ultracart_api/models/webhooks_response.rb +223 -0
- data/lib/ultracart_api/models/weight.rb +229 -0
- data/lib/ultracart_api/version.rb +15 -0
- data/spec/api_client_spec.rb +243 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/spec_helper.rb +111 -0
- data/ultracart_api.gemspec +45 -0
- metadata +1380 -0
|
@@ -0,0 +1,210 @@
|
|
|
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 CustomerPricingTier
|
|
17
|
+
# Name
|
|
18
|
+
attr_accessor :name
|
|
19
|
+
|
|
20
|
+
# Pricing Tier Oid
|
|
21
|
+
attr_accessor :pricing_tier_oid
|
|
22
|
+
|
|
23
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
24
|
+
def self.attribute_map
|
|
25
|
+
{
|
|
26
|
+
:'name' => :'name',
|
|
27
|
+
:'pricing_tier_oid' => :'pricing_tier_oid'
|
|
28
|
+
}
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
# Attribute type mapping.
|
|
32
|
+
def self.swagger_types
|
|
33
|
+
{
|
|
34
|
+
:'name' => :'String',
|
|
35
|
+
:'pricing_tier_oid' => :'Integer'
|
|
36
|
+
}
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# Initializes the object
|
|
40
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
41
|
+
def initialize(attributes = {})
|
|
42
|
+
return unless attributes.is_a?(Hash)
|
|
43
|
+
|
|
44
|
+
# convert string to symbol for hash key
|
|
45
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
46
|
+
|
|
47
|
+
if attributes.has_key?(:'name')
|
|
48
|
+
self.name = attributes[:'name']
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
if attributes.has_key?(:'pricing_tier_oid')
|
|
52
|
+
self.pricing_tier_oid = attributes[:'pricing_tier_oid']
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
57
|
+
# @return Array for valid properties with the reasons
|
|
58
|
+
def list_invalid_properties
|
|
59
|
+
invalid_properties = Array.new
|
|
60
|
+
if !@name.nil? && @name.to_s.length > 50
|
|
61
|
+
invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 50.')
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
invalid_properties
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
# Check to see if the all the properties in the model are valid
|
|
68
|
+
# @return true if the model is valid
|
|
69
|
+
def valid?
|
|
70
|
+
return false if !@name.nil? && @name.to_s.length > 50
|
|
71
|
+
true
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
# Custom attribute writer method with validation
|
|
75
|
+
# @param [Object] name Value to be assigned
|
|
76
|
+
def name=(name)
|
|
77
|
+
if !name.nil? && name.to_s.length > 50
|
|
78
|
+
fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to 50.'
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
@name = name
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
# Checks equality by comparing each attribute.
|
|
85
|
+
# @param [Object] Object to be compared
|
|
86
|
+
def ==(o)
|
|
87
|
+
return true if self.equal?(o)
|
|
88
|
+
self.class == o.class &&
|
|
89
|
+
name == o.name &&
|
|
90
|
+
pricing_tier_oid == o.pricing_tier_oid
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
# @see the `==` method
|
|
94
|
+
# @param [Object] Object to be compared
|
|
95
|
+
def eql?(o)
|
|
96
|
+
self == o
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
# Calculates hash code according to all attributes.
|
|
100
|
+
# @return [Fixnum] Hash code
|
|
101
|
+
def hash
|
|
102
|
+
[name, pricing_tier_oid].hash
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
# Builds the object from hash
|
|
106
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
107
|
+
# @return [Object] Returns the model itself
|
|
108
|
+
def build_from_hash(attributes)
|
|
109
|
+
return nil unless attributes.is_a?(Hash)
|
|
110
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
111
|
+
if type =~ /\AArray<(.*)>/i
|
|
112
|
+
# check to ensure the input is an array given that the attribute
|
|
113
|
+
# is documented as an array but the input is not
|
|
114
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
115
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
116
|
+
end
|
|
117
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
118
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
119
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
self
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
# Deserializes the data based on type
|
|
126
|
+
# @param string type Data type
|
|
127
|
+
# @param string value Value to be deserialized
|
|
128
|
+
# @return [Object] Deserialized data
|
|
129
|
+
def _deserialize(type, value)
|
|
130
|
+
case type.to_sym
|
|
131
|
+
when :DateTime
|
|
132
|
+
DateTime.parse(value)
|
|
133
|
+
when :Date
|
|
134
|
+
Date.parse(value)
|
|
135
|
+
when :String
|
|
136
|
+
value.to_s
|
|
137
|
+
when :Integer
|
|
138
|
+
value.to_i
|
|
139
|
+
when :Float
|
|
140
|
+
value.to_f
|
|
141
|
+
when :BOOLEAN
|
|
142
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
143
|
+
true
|
|
144
|
+
else
|
|
145
|
+
false
|
|
146
|
+
end
|
|
147
|
+
when :Object
|
|
148
|
+
# generic object (usually a Hash), return directly
|
|
149
|
+
value
|
|
150
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
151
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
152
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
153
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
154
|
+
k_type = Regexp.last_match[:k_type]
|
|
155
|
+
v_type = Regexp.last_match[:v_type]
|
|
156
|
+
{}.tap do |hash|
|
|
157
|
+
value.each do |k, v|
|
|
158
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
159
|
+
end
|
|
160
|
+
end
|
|
161
|
+
else # model
|
|
162
|
+
temp_model = UltracartClient.const_get(type).new
|
|
163
|
+
temp_model.build_from_hash(value)
|
|
164
|
+
end
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
# Returns the string representation of the object
|
|
168
|
+
# @return [String] String presentation of the object
|
|
169
|
+
def to_s
|
|
170
|
+
to_hash.to_s
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
174
|
+
# @return [Hash] Returns the object in the form of hash
|
|
175
|
+
def to_body
|
|
176
|
+
to_hash
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
# Returns the object in the form of hash
|
|
180
|
+
# @return [Hash] Returns the object in the form of hash
|
|
181
|
+
def to_hash
|
|
182
|
+
hash = {}
|
|
183
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
184
|
+
value = self.send(attr)
|
|
185
|
+
next if value.nil?
|
|
186
|
+
hash[param] = _to_hash(value)
|
|
187
|
+
end
|
|
188
|
+
hash
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
# Outputs non-array value in the form of hash
|
|
192
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
193
|
+
# @param [Object] value Any valid value
|
|
194
|
+
# @return [Hash] Returns the value in the form of hash
|
|
195
|
+
def _to_hash(value)
|
|
196
|
+
if value.is_a?(Array)
|
|
197
|
+
value.compact.map { |v| _to_hash(v) }
|
|
198
|
+
elsif value.is_a?(Hash)
|
|
199
|
+
{}.tap do |hash|
|
|
200
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
201
|
+
end
|
|
202
|
+
elsif value.respond_to? :to_hash
|
|
203
|
+
value.to_hash
|
|
204
|
+
else
|
|
205
|
+
value
|
|
206
|
+
end
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
end
|
|
210
|
+
end
|
|
@@ -0,0 +1,215 @@
|
|
|
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 CustomerPrivacy
|
|
17
|
+
# Last update date
|
|
18
|
+
attr_accessor :last_update_dts
|
|
19
|
+
|
|
20
|
+
# The customer has opted in to marketing
|
|
21
|
+
attr_accessor :marketing
|
|
22
|
+
|
|
23
|
+
# The customer has opted in to preference tracking
|
|
24
|
+
attr_accessor :preference
|
|
25
|
+
|
|
26
|
+
# The customer has opted in to statistics collection
|
|
27
|
+
attr_accessor :statistics
|
|
28
|
+
|
|
29
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
30
|
+
def self.attribute_map
|
|
31
|
+
{
|
|
32
|
+
:'last_update_dts' => :'last_update_dts',
|
|
33
|
+
:'marketing' => :'marketing',
|
|
34
|
+
:'preference' => :'preference',
|
|
35
|
+
:'statistics' => :'statistics'
|
|
36
|
+
}
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# Attribute type mapping.
|
|
40
|
+
def self.swagger_types
|
|
41
|
+
{
|
|
42
|
+
:'last_update_dts' => :'String',
|
|
43
|
+
:'marketing' => :'BOOLEAN',
|
|
44
|
+
:'preference' => :'BOOLEAN',
|
|
45
|
+
:'statistics' => :'BOOLEAN'
|
|
46
|
+
}
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# Initializes the object
|
|
50
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
51
|
+
def initialize(attributes = {})
|
|
52
|
+
return unless attributes.is_a?(Hash)
|
|
53
|
+
|
|
54
|
+
# convert string to symbol for hash key
|
|
55
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
56
|
+
|
|
57
|
+
if attributes.has_key?(:'last_update_dts')
|
|
58
|
+
self.last_update_dts = attributes[:'last_update_dts']
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
if attributes.has_key?(:'marketing')
|
|
62
|
+
self.marketing = attributes[:'marketing']
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
if attributes.has_key?(:'preference')
|
|
66
|
+
self.preference = attributes[:'preference']
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
if attributes.has_key?(:'statistics')
|
|
70
|
+
self.statistics = attributes[:'statistics']
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
75
|
+
# @return Array for valid properties with the reasons
|
|
76
|
+
def list_invalid_properties
|
|
77
|
+
invalid_properties = Array.new
|
|
78
|
+
invalid_properties
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
# Check to see if the all the properties in the model are valid
|
|
82
|
+
# @return true if the model is valid
|
|
83
|
+
def valid?
|
|
84
|
+
true
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
# Checks equality by comparing each attribute.
|
|
88
|
+
# @param [Object] Object to be compared
|
|
89
|
+
def ==(o)
|
|
90
|
+
return true if self.equal?(o)
|
|
91
|
+
self.class == o.class &&
|
|
92
|
+
last_update_dts == o.last_update_dts &&
|
|
93
|
+
marketing == o.marketing &&
|
|
94
|
+
preference == o.preference &&
|
|
95
|
+
statistics == o.statistics
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
# @see the `==` method
|
|
99
|
+
# @param [Object] Object to be compared
|
|
100
|
+
def eql?(o)
|
|
101
|
+
self == o
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
# Calculates hash code according to all attributes.
|
|
105
|
+
# @return [Fixnum] Hash code
|
|
106
|
+
def hash
|
|
107
|
+
[last_update_dts, marketing, preference, statistics].hash
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
# Builds the object from hash
|
|
111
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
112
|
+
# @return [Object] Returns the model itself
|
|
113
|
+
def build_from_hash(attributes)
|
|
114
|
+
return nil unless attributes.is_a?(Hash)
|
|
115
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
116
|
+
if type =~ /\AArray<(.*)>/i
|
|
117
|
+
# check to ensure the input is an array given that the attribute
|
|
118
|
+
# is documented as an array but the input is not
|
|
119
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
120
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
121
|
+
end
|
|
122
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
123
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
124
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
self
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
# Deserializes the data based on type
|
|
131
|
+
# @param string type Data type
|
|
132
|
+
# @param string value Value to be deserialized
|
|
133
|
+
# @return [Object] Deserialized data
|
|
134
|
+
def _deserialize(type, value)
|
|
135
|
+
case type.to_sym
|
|
136
|
+
when :DateTime
|
|
137
|
+
DateTime.parse(value)
|
|
138
|
+
when :Date
|
|
139
|
+
Date.parse(value)
|
|
140
|
+
when :String
|
|
141
|
+
value.to_s
|
|
142
|
+
when :Integer
|
|
143
|
+
value.to_i
|
|
144
|
+
when :Float
|
|
145
|
+
value.to_f
|
|
146
|
+
when :BOOLEAN
|
|
147
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
148
|
+
true
|
|
149
|
+
else
|
|
150
|
+
false
|
|
151
|
+
end
|
|
152
|
+
when :Object
|
|
153
|
+
# generic object (usually a Hash), return directly
|
|
154
|
+
value
|
|
155
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
156
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
157
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
158
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
159
|
+
k_type = Regexp.last_match[:k_type]
|
|
160
|
+
v_type = Regexp.last_match[:v_type]
|
|
161
|
+
{}.tap do |hash|
|
|
162
|
+
value.each do |k, v|
|
|
163
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
164
|
+
end
|
|
165
|
+
end
|
|
166
|
+
else # model
|
|
167
|
+
temp_model = UltracartClient.const_get(type).new
|
|
168
|
+
temp_model.build_from_hash(value)
|
|
169
|
+
end
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
# Returns the string representation of the object
|
|
173
|
+
# @return [String] String presentation of the object
|
|
174
|
+
def to_s
|
|
175
|
+
to_hash.to_s
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
179
|
+
# @return [Hash] Returns the object in the form of hash
|
|
180
|
+
def to_body
|
|
181
|
+
to_hash
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
# Returns the object in the form of hash
|
|
185
|
+
# @return [Hash] Returns the object in the form of hash
|
|
186
|
+
def to_hash
|
|
187
|
+
hash = {}
|
|
188
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
189
|
+
value = self.send(attr)
|
|
190
|
+
next if value.nil?
|
|
191
|
+
hash[param] = _to_hash(value)
|
|
192
|
+
end
|
|
193
|
+
hash
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
# Outputs non-array value in the form of hash
|
|
197
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
198
|
+
# @param [Object] value Any valid value
|
|
199
|
+
# @return [Hash] Returns the value in the form of hash
|
|
200
|
+
def _to_hash(value)
|
|
201
|
+
if value.is_a?(Array)
|
|
202
|
+
value.compact.map { |v| _to_hash(v) }
|
|
203
|
+
elsif value.is_a?(Hash)
|
|
204
|
+
{}.tap do |hash|
|
|
205
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
206
|
+
end
|
|
207
|
+
elsif value.respond_to? :to_hash
|
|
208
|
+
value.to_hash
|
|
209
|
+
else
|
|
210
|
+
value
|
|
211
|
+
end
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
end
|
|
215
|
+
end
|
|
@@ -0,0 +1,754 @@
|
|
|
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 CustomerQuery
|
|
17
|
+
# All tags the customer must have
|
|
18
|
+
attr_accessor :all_tags
|
|
19
|
+
|
|
20
|
+
# Any of these tags the customer must have
|
|
21
|
+
attr_accessor :any_tags
|
|
22
|
+
|
|
23
|
+
# Billing city
|
|
24
|
+
attr_accessor :billing_city
|
|
25
|
+
|
|
26
|
+
# Billing company
|
|
27
|
+
attr_accessor :billing_company
|
|
28
|
+
|
|
29
|
+
# Billing country code
|
|
30
|
+
attr_accessor :billing_country_code
|
|
31
|
+
|
|
32
|
+
# Billing day phone
|
|
33
|
+
attr_accessor :billing_day_phone
|
|
34
|
+
|
|
35
|
+
# Billing evening phone
|
|
36
|
+
attr_accessor :billing_evening_phone
|
|
37
|
+
|
|
38
|
+
# Billing first name
|
|
39
|
+
attr_accessor :billing_first_name
|
|
40
|
+
|
|
41
|
+
# Billing last name
|
|
42
|
+
attr_accessor :billing_last_name
|
|
43
|
+
|
|
44
|
+
# Billing postal code
|
|
45
|
+
attr_accessor :billing_postal_code
|
|
46
|
+
|
|
47
|
+
# Billing state
|
|
48
|
+
attr_accessor :billing_state
|
|
49
|
+
|
|
50
|
+
# Email address of this customer profile
|
|
51
|
+
attr_accessor :email
|
|
52
|
+
|
|
53
|
+
# Last modified date end
|
|
54
|
+
attr_accessor :last_modified_dts_end
|
|
55
|
+
|
|
56
|
+
# Last modified date start
|
|
57
|
+
attr_accessor :last_modified_dts_start
|
|
58
|
+
|
|
59
|
+
# Pricing tier name
|
|
60
|
+
attr_accessor :pricing_tier_name
|
|
61
|
+
|
|
62
|
+
# Pricing tier oid
|
|
63
|
+
attr_accessor :pricing_tier_oid
|
|
64
|
+
|
|
65
|
+
# QuickBooks class to import this customer as
|
|
66
|
+
attr_accessor :qb_class
|
|
67
|
+
|
|
68
|
+
# QuickBooks name to import this customer as
|
|
69
|
+
attr_accessor :quickbooks_code
|
|
70
|
+
|
|
71
|
+
# Billing city
|
|
72
|
+
attr_accessor :shipping_city
|
|
73
|
+
|
|
74
|
+
# Billing company
|
|
75
|
+
attr_accessor :shipping_company
|
|
76
|
+
|
|
77
|
+
# Billing country code
|
|
78
|
+
attr_accessor :shipping_country_code
|
|
79
|
+
|
|
80
|
+
# Billing day phone
|
|
81
|
+
attr_accessor :shipping_day_phone
|
|
82
|
+
|
|
83
|
+
# Billing evening phone
|
|
84
|
+
attr_accessor :shipping_evening_phone
|
|
85
|
+
|
|
86
|
+
# Billing first name
|
|
87
|
+
attr_accessor :shipping_first_name
|
|
88
|
+
|
|
89
|
+
# Billing last name
|
|
90
|
+
attr_accessor :shipping_last_name
|
|
91
|
+
|
|
92
|
+
# Billing postal code
|
|
93
|
+
attr_accessor :shipping_postal_code
|
|
94
|
+
|
|
95
|
+
# Billing state
|
|
96
|
+
attr_accessor :shipping_state
|
|
97
|
+
|
|
98
|
+
# Signup date end
|
|
99
|
+
attr_accessor :signup_dts_end
|
|
100
|
+
|
|
101
|
+
# Signup date start
|
|
102
|
+
attr_accessor :signup_dts_start
|
|
103
|
+
|
|
104
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
105
|
+
def self.attribute_map
|
|
106
|
+
{
|
|
107
|
+
:'all_tags' => :'all_tags',
|
|
108
|
+
:'any_tags' => :'any_tags',
|
|
109
|
+
:'billing_city' => :'billing_city',
|
|
110
|
+
:'billing_company' => :'billing_company',
|
|
111
|
+
:'billing_country_code' => :'billing_country_code',
|
|
112
|
+
:'billing_day_phone' => :'billing_day_phone',
|
|
113
|
+
:'billing_evening_phone' => :'billing_evening_phone',
|
|
114
|
+
:'billing_first_name' => :'billing_first_name',
|
|
115
|
+
:'billing_last_name' => :'billing_last_name',
|
|
116
|
+
:'billing_postal_code' => :'billing_postal_code',
|
|
117
|
+
:'billing_state' => :'billing_state',
|
|
118
|
+
:'email' => :'email',
|
|
119
|
+
:'last_modified_dts_end' => :'last_modified_dts_end',
|
|
120
|
+
:'last_modified_dts_start' => :'last_modified_dts_start',
|
|
121
|
+
:'pricing_tier_name' => :'pricing_tier_name',
|
|
122
|
+
:'pricing_tier_oid' => :'pricing_tier_oid',
|
|
123
|
+
:'qb_class' => :'qb_class',
|
|
124
|
+
:'quickbooks_code' => :'quickbooks_code',
|
|
125
|
+
:'shipping_city' => :'shipping_city',
|
|
126
|
+
:'shipping_company' => :'shipping_company',
|
|
127
|
+
:'shipping_country_code' => :'shipping_country_code',
|
|
128
|
+
:'shipping_day_phone' => :'shipping_day_phone',
|
|
129
|
+
:'shipping_evening_phone' => :'shipping_evening_phone',
|
|
130
|
+
:'shipping_first_name' => :'shipping_first_name',
|
|
131
|
+
:'shipping_last_name' => :'shipping_last_name',
|
|
132
|
+
:'shipping_postal_code' => :'shipping_postal_code',
|
|
133
|
+
:'shipping_state' => :'shipping_state',
|
|
134
|
+
:'signup_dts_end' => :'signup_dts_end',
|
|
135
|
+
:'signup_dts_start' => :'signup_dts_start'
|
|
136
|
+
}
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
# Attribute type mapping.
|
|
140
|
+
def self.swagger_types
|
|
141
|
+
{
|
|
142
|
+
:'all_tags' => :'Array<String>',
|
|
143
|
+
:'any_tags' => :'Array<String>',
|
|
144
|
+
:'billing_city' => :'String',
|
|
145
|
+
:'billing_company' => :'String',
|
|
146
|
+
:'billing_country_code' => :'String',
|
|
147
|
+
:'billing_day_phone' => :'String',
|
|
148
|
+
:'billing_evening_phone' => :'String',
|
|
149
|
+
:'billing_first_name' => :'String',
|
|
150
|
+
:'billing_last_name' => :'String',
|
|
151
|
+
:'billing_postal_code' => :'String',
|
|
152
|
+
:'billing_state' => :'String',
|
|
153
|
+
:'email' => :'String',
|
|
154
|
+
:'last_modified_dts_end' => :'String',
|
|
155
|
+
:'last_modified_dts_start' => :'String',
|
|
156
|
+
:'pricing_tier_name' => :'String',
|
|
157
|
+
:'pricing_tier_oid' => :'Integer',
|
|
158
|
+
:'qb_class' => :'String',
|
|
159
|
+
:'quickbooks_code' => :'String',
|
|
160
|
+
:'shipping_city' => :'String',
|
|
161
|
+
:'shipping_company' => :'String',
|
|
162
|
+
:'shipping_country_code' => :'String',
|
|
163
|
+
:'shipping_day_phone' => :'String',
|
|
164
|
+
:'shipping_evening_phone' => :'String',
|
|
165
|
+
:'shipping_first_name' => :'String',
|
|
166
|
+
:'shipping_last_name' => :'String',
|
|
167
|
+
:'shipping_postal_code' => :'String',
|
|
168
|
+
:'shipping_state' => :'String',
|
|
169
|
+
:'signup_dts_end' => :'String',
|
|
170
|
+
:'signup_dts_start' => :'String'
|
|
171
|
+
}
|
|
172
|
+
end
|
|
173
|
+
|
|
174
|
+
# Initializes the object
|
|
175
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
176
|
+
def initialize(attributes = {})
|
|
177
|
+
return unless attributes.is_a?(Hash)
|
|
178
|
+
|
|
179
|
+
# convert string to symbol for hash key
|
|
180
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
181
|
+
|
|
182
|
+
if attributes.has_key?(:'all_tags')
|
|
183
|
+
if (value = attributes[:'all_tags']).is_a?(Array)
|
|
184
|
+
self.all_tags = value
|
|
185
|
+
end
|
|
186
|
+
end
|
|
187
|
+
|
|
188
|
+
if attributes.has_key?(:'any_tags')
|
|
189
|
+
if (value = attributes[:'any_tags']).is_a?(Array)
|
|
190
|
+
self.any_tags = value
|
|
191
|
+
end
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
if attributes.has_key?(:'billing_city')
|
|
195
|
+
self.billing_city = attributes[:'billing_city']
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
if attributes.has_key?(:'billing_company')
|
|
199
|
+
self.billing_company = attributes[:'billing_company']
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
if attributes.has_key?(:'billing_country_code')
|
|
203
|
+
self.billing_country_code = attributes[:'billing_country_code']
|
|
204
|
+
end
|
|
205
|
+
|
|
206
|
+
if attributes.has_key?(:'billing_day_phone')
|
|
207
|
+
self.billing_day_phone = attributes[:'billing_day_phone']
|
|
208
|
+
end
|
|
209
|
+
|
|
210
|
+
if attributes.has_key?(:'billing_evening_phone')
|
|
211
|
+
self.billing_evening_phone = attributes[:'billing_evening_phone']
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
if attributes.has_key?(:'billing_first_name')
|
|
215
|
+
self.billing_first_name = attributes[:'billing_first_name']
|
|
216
|
+
end
|
|
217
|
+
|
|
218
|
+
if attributes.has_key?(:'billing_last_name')
|
|
219
|
+
self.billing_last_name = attributes[:'billing_last_name']
|
|
220
|
+
end
|
|
221
|
+
|
|
222
|
+
if attributes.has_key?(:'billing_postal_code')
|
|
223
|
+
self.billing_postal_code = attributes[:'billing_postal_code']
|
|
224
|
+
end
|
|
225
|
+
|
|
226
|
+
if attributes.has_key?(:'billing_state')
|
|
227
|
+
self.billing_state = attributes[:'billing_state']
|
|
228
|
+
end
|
|
229
|
+
|
|
230
|
+
if attributes.has_key?(:'email')
|
|
231
|
+
self.email = attributes[:'email']
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
if attributes.has_key?(:'last_modified_dts_end')
|
|
235
|
+
self.last_modified_dts_end = attributes[:'last_modified_dts_end']
|
|
236
|
+
end
|
|
237
|
+
|
|
238
|
+
if attributes.has_key?(:'last_modified_dts_start')
|
|
239
|
+
self.last_modified_dts_start = attributes[:'last_modified_dts_start']
|
|
240
|
+
end
|
|
241
|
+
|
|
242
|
+
if attributes.has_key?(:'pricing_tier_name')
|
|
243
|
+
self.pricing_tier_name = attributes[:'pricing_tier_name']
|
|
244
|
+
end
|
|
245
|
+
|
|
246
|
+
if attributes.has_key?(:'pricing_tier_oid')
|
|
247
|
+
self.pricing_tier_oid = attributes[:'pricing_tier_oid']
|
|
248
|
+
end
|
|
249
|
+
|
|
250
|
+
if attributes.has_key?(:'qb_class')
|
|
251
|
+
self.qb_class = attributes[:'qb_class']
|
|
252
|
+
end
|
|
253
|
+
|
|
254
|
+
if attributes.has_key?(:'quickbooks_code')
|
|
255
|
+
self.quickbooks_code = attributes[:'quickbooks_code']
|
|
256
|
+
end
|
|
257
|
+
|
|
258
|
+
if attributes.has_key?(:'shipping_city')
|
|
259
|
+
self.shipping_city = attributes[:'shipping_city']
|
|
260
|
+
end
|
|
261
|
+
|
|
262
|
+
if attributes.has_key?(:'shipping_company')
|
|
263
|
+
self.shipping_company = attributes[:'shipping_company']
|
|
264
|
+
end
|
|
265
|
+
|
|
266
|
+
if attributes.has_key?(:'shipping_country_code')
|
|
267
|
+
self.shipping_country_code = attributes[:'shipping_country_code']
|
|
268
|
+
end
|
|
269
|
+
|
|
270
|
+
if attributes.has_key?(:'shipping_day_phone')
|
|
271
|
+
self.shipping_day_phone = attributes[:'shipping_day_phone']
|
|
272
|
+
end
|
|
273
|
+
|
|
274
|
+
if attributes.has_key?(:'shipping_evening_phone')
|
|
275
|
+
self.shipping_evening_phone = attributes[:'shipping_evening_phone']
|
|
276
|
+
end
|
|
277
|
+
|
|
278
|
+
if attributes.has_key?(:'shipping_first_name')
|
|
279
|
+
self.shipping_first_name = attributes[:'shipping_first_name']
|
|
280
|
+
end
|
|
281
|
+
|
|
282
|
+
if attributes.has_key?(:'shipping_last_name')
|
|
283
|
+
self.shipping_last_name = attributes[:'shipping_last_name']
|
|
284
|
+
end
|
|
285
|
+
|
|
286
|
+
if attributes.has_key?(:'shipping_postal_code')
|
|
287
|
+
self.shipping_postal_code = attributes[:'shipping_postal_code']
|
|
288
|
+
end
|
|
289
|
+
|
|
290
|
+
if attributes.has_key?(:'shipping_state')
|
|
291
|
+
self.shipping_state = attributes[:'shipping_state']
|
|
292
|
+
end
|
|
293
|
+
|
|
294
|
+
if attributes.has_key?(:'signup_dts_end')
|
|
295
|
+
self.signup_dts_end = attributes[:'signup_dts_end']
|
|
296
|
+
end
|
|
297
|
+
|
|
298
|
+
if attributes.has_key?(:'signup_dts_start')
|
|
299
|
+
self.signup_dts_start = attributes[:'signup_dts_start']
|
|
300
|
+
end
|
|
301
|
+
end
|
|
302
|
+
|
|
303
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
304
|
+
# @return Array for valid properties with the reasons
|
|
305
|
+
def list_invalid_properties
|
|
306
|
+
invalid_properties = Array.new
|
|
307
|
+
if !@billing_city.nil? && @billing_city.to_s.length > 32
|
|
308
|
+
invalid_properties.push('invalid value for "billing_city", the character length must be smaller than or equal to 32.')
|
|
309
|
+
end
|
|
310
|
+
|
|
311
|
+
if !@billing_company.nil? && @billing_company.to_s.length > 50
|
|
312
|
+
invalid_properties.push('invalid value for "billing_company", the character length must be smaller than or equal to 50.')
|
|
313
|
+
end
|
|
314
|
+
|
|
315
|
+
if !@billing_country_code.nil? && @billing_country_code.to_s.length > 2
|
|
316
|
+
invalid_properties.push('invalid value for "billing_country_code", the character length must be smaller than or equal to 2.')
|
|
317
|
+
end
|
|
318
|
+
|
|
319
|
+
if !@billing_day_phone.nil? && @billing_day_phone.to_s.length > 25
|
|
320
|
+
invalid_properties.push('invalid value for "billing_day_phone", the character length must be smaller than or equal to 25.')
|
|
321
|
+
end
|
|
322
|
+
|
|
323
|
+
if !@billing_evening_phone.nil? && @billing_evening_phone.to_s.length > 25
|
|
324
|
+
invalid_properties.push('invalid value for "billing_evening_phone", the character length must be smaller than or equal to 25.')
|
|
325
|
+
end
|
|
326
|
+
|
|
327
|
+
if !@billing_first_name.nil? && @billing_first_name.to_s.length > 30
|
|
328
|
+
invalid_properties.push('invalid value for "billing_first_name", the character length must be smaller than or equal to 30.')
|
|
329
|
+
end
|
|
330
|
+
|
|
331
|
+
if !@billing_last_name.nil? && @billing_last_name.to_s.length > 30
|
|
332
|
+
invalid_properties.push('invalid value for "billing_last_name", the character length must be smaller than or equal to 30.')
|
|
333
|
+
end
|
|
334
|
+
|
|
335
|
+
if !@billing_postal_code.nil? && @billing_postal_code.to_s.length > 20
|
|
336
|
+
invalid_properties.push('invalid value for "billing_postal_code", the character length must be smaller than or equal to 20.')
|
|
337
|
+
end
|
|
338
|
+
|
|
339
|
+
if !@billing_state.nil? && @billing_state.to_s.length > 32
|
|
340
|
+
invalid_properties.push('invalid value for "billing_state", the character length must be smaller than or equal to 32.')
|
|
341
|
+
end
|
|
342
|
+
|
|
343
|
+
if !@pricing_tier_name.nil? && @pricing_tier_name.to_s.length > 50
|
|
344
|
+
invalid_properties.push('invalid value for "pricing_tier_name", the character length must be smaller than or equal to 50.')
|
|
345
|
+
end
|
|
346
|
+
|
|
347
|
+
if !@shipping_city.nil? && @shipping_city.to_s.length > 32
|
|
348
|
+
invalid_properties.push('invalid value for "shipping_city", the character length must be smaller than or equal to 32.')
|
|
349
|
+
end
|
|
350
|
+
|
|
351
|
+
if !@shipping_company.nil? && @shipping_company.to_s.length > 50
|
|
352
|
+
invalid_properties.push('invalid value for "shipping_company", the character length must be smaller than or equal to 50.')
|
|
353
|
+
end
|
|
354
|
+
|
|
355
|
+
if !@shipping_country_code.nil? && @shipping_country_code.to_s.length > 2
|
|
356
|
+
invalid_properties.push('invalid value for "shipping_country_code", the character length must be smaller than or equal to 2.')
|
|
357
|
+
end
|
|
358
|
+
|
|
359
|
+
if !@shipping_day_phone.nil? && @shipping_day_phone.to_s.length > 25
|
|
360
|
+
invalid_properties.push('invalid value for "shipping_day_phone", the character length must be smaller than or equal to 25.')
|
|
361
|
+
end
|
|
362
|
+
|
|
363
|
+
if !@shipping_evening_phone.nil? && @shipping_evening_phone.to_s.length > 25
|
|
364
|
+
invalid_properties.push('invalid value for "shipping_evening_phone", the character length must be smaller than or equal to 25.')
|
|
365
|
+
end
|
|
366
|
+
|
|
367
|
+
if !@shipping_first_name.nil? && @shipping_first_name.to_s.length > 30
|
|
368
|
+
invalid_properties.push('invalid value for "shipping_first_name", the character length must be smaller than or equal to 30.')
|
|
369
|
+
end
|
|
370
|
+
|
|
371
|
+
if !@shipping_last_name.nil? && @shipping_last_name.to_s.length > 30
|
|
372
|
+
invalid_properties.push('invalid value for "shipping_last_name", the character length must be smaller than or equal to 30.')
|
|
373
|
+
end
|
|
374
|
+
|
|
375
|
+
if !@shipping_postal_code.nil? && @shipping_postal_code.to_s.length > 20
|
|
376
|
+
invalid_properties.push('invalid value for "shipping_postal_code", the character length must be smaller than or equal to 20.')
|
|
377
|
+
end
|
|
378
|
+
|
|
379
|
+
if !@shipping_state.nil? && @shipping_state.to_s.length > 32
|
|
380
|
+
invalid_properties.push('invalid value for "shipping_state", the character length must be smaller than or equal to 32.')
|
|
381
|
+
end
|
|
382
|
+
|
|
383
|
+
invalid_properties
|
|
384
|
+
end
|
|
385
|
+
|
|
386
|
+
# Check to see if the all the properties in the model are valid
|
|
387
|
+
# @return true if the model is valid
|
|
388
|
+
def valid?
|
|
389
|
+
return false if !@billing_city.nil? && @billing_city.to_s.length > 32
|
|
390
|
+
return false if !@billing_company.nil? && @billing_company.to_s.length > 50
|
|
391
|
+
return false if !@billing_country_code.nil? && @billing_country_code.to_s.length > 2
|
|
392
|
+
return false if !@billing_day_phone.nil? && @billing_day_phone.to_s.length > 25
|
|
393
|
+
return false if !@billing_evening_phone.nil? && @billing_evening_phone.to_s.length > 25
|
|
394
|
+
return false if !@billing_first_name.nil? && @billing_first_name.to_s.length > 30
|
|
395
|
+
return false if !@billing_last_name.nil? && @billing_last_name.to_s.length > 30
|
|
396
|
+
return false if !@billing_postal_code.nil? && @billing_postal_code.to_s.length > 20
|
|
397
|
+
return false if !@billing_state.nil? && @billing_state.to_s.length > 32
|
|
398
|
+
return false if !@pricing_tier_name.nil? && @pricing_tier_name.to_s.length > 50
|
|
399
|
+
return false if !@shipping_city.nil? && @shipping_city.to_s.length > 32
|
|
400
|
+
return false if !@shipping_company.nil? && @shipping_company.to_s.length > 50
|
|
401
|
+
return false if !@shipping_country_code.nil? && @shipping_country_code.to_s.length > 2
|
|
402
|
+
return false if !@shipping_day_phone.nil? && @shipping_day_phone.to_s.length > 25
|
|
403
|
+
return false if !@shipping_evening_phone.nil? && @shipping_evening_phone.to_s.length > 25
|
|
404
|
+
return false if !@shipping_first_name.nil? && @shipping_first_name.to_s.length > 30
|
|
405
|
+
return false if !@shipping_last_name.nil? && @shipping_last_name.to_s.length > 30
|
|
406
|
+
return false if !@shipping_postal_code.nil? && @shipping_postal_code.to_s.length > 20
|
|
407
|
+
return false if !@shipping_state.nil? && @shipping_state.to_s.length > 32
|
|
408
|
+
true
|
|
409
|
+
end
|
|
410
|
+
|
|
411
|
+
# Custom attribute writer method with validation
|
|
412
|
+
# @param [Object] billing_city Value to be assigned
|
|
413
|
+
def billing_city=(billing_city)
|
|
414
|
+
if !billing_city.nil? && billing_city.to_s.length > 32
|
|
415
|
+
fail ArgumentError, 'invalid value for "billing_city", the character length must be smaller than or equal to 32.'
|
|
416
|
+
end
|
|
417
|
+
|
|
418
|
+
@billing_city = billing_city
|
|
419
|
+
end
|
|
420
|
+
|
|
421
|
+
# Custom attribute writer method with validation
|
|
422
|
+
# @param [Object] billing_company Value to be assigned
|
|
423
|
+
def billing_company=(billing_company)
|
|
424
|
+
if !billing_company.nil? && billing_company.to_s.length > 50
|
|
425
|
+
fail ArgumentError, 'invalid value for "billing_company", the character length must be smaller than or equal to 50.'
|
|
426
|
+
end
|
|
427
|
+
|
|
428
|
+
@billing_company = billing_company
|
|
429
|
+
end
|
|
430
|
+
|
|
431
|
+
# Custom attribute writer method with validation
|
|
432
|
+
# @param [Object] billing_country_code Value to be assigned
|
|
433
|
+
def billing_country_code=(billing_country_code)
|
|
434
|
+
if !billing_country_code.nil? && billing_country_code.to_s.length > 2
|
|
435
|
+
fail ArgumentError, 'invalid value for "billing_country_code", the character length must be smaller than or equal to 2.'
|
|
436
|
+
end
|
|
437
|
+
|
|
438
|
+
@billing_country_code = billing_country_code
|
|
439
|
+
end
|
|
440
|
+
|
|
441
|
+
# Custom attribute writer method with validation
|
|
442
|
+
# @param [Object] billing_day_phone Value to be assigned
|
|
443
|
+
def billing_day_phone=(billing_day_phone)
|
|
444
|
+
if !billing_day_phone.nil? && billing_day_phone.to_s.length > 25
|
|
445
|
+
fail ArgumentError, 'invalid value for "billing_day_phone", the character length must be smaller than or equal to 25.'
|
|
446
|
+
end
|
|
447
|
+
|
|
448
|
+
@billing_day_phone = billing_day_phone
|
|
449
|
+
end
|
|
450
|
+
|
|
451
|
+
# Custom attribute writer method with validation
|
|
452
|
+
# @param [Object] billing_evening_phone Value to be assigned
|
|
453
|
+
def billing_evening_phone=(billing_evening_phone)
|
|
454
|
+
if !billing_evening_phone.nil? && billing_evening_phone.to_s.length > 25
|
|
455
|
+
fail ArgumentError, 'invalid value for "billing_evening_phone", the character length must be smaller than or equal to 25.'
|
|
456
|
+
end
|
|
457
|
+
|
|
458
|
+
@billing_evening_phone = billing_evening_phone
|
|
459
|
+
end
|
|
460
|
+
|
|
461
|
+
# Custom attribute writer method with validation
|
|
462
|
+
# @param [Object] billing_first_name Value to be assigned
|
|
463
|
+
def billing_first_name=(billing_first_name)
|
|
464
|
+
if !billing_first_name.nil? && billing_first_name.to_s.length > 30
|
|
465
|
+
fail ArgumentError, 'invalid value for "billing_first_name", the character length must be smaller than or equal to 30.'
|
|
466
|
+
end
|
|
467
|
+
|
|
468
|
+
@billing_first_name = billing_first_name
|
|
469
|
+
end
|
|
470
|
+
|
|
471
|
+
# Custom attribute writer method with validation
|
|
472
|
+
# @param [Object] billing_last_name Value to be assigned
|
|
473
|
+
def billing_last_name=(billing_last_name)
|
|
474
|
+
if !billing_last_name.nil? && billing_last_name.to_s.length > 30
|
|
475
|
+
fail ArgumentError, 'invalid value for "billing_last_name", the character length must be smaller than or equal to 30.'
|
|
476
|
+
end
|
|
477
|
+
|
|
478
|
+
@billing_last_name = billing_last_name
|
|
479
|
+
end
|
|
480
|
+
|
|
481
|
+
# Custom attribute writer method with validation
|
|
482
|
+
# @param [Object] billing_postal_code Value to be assigned
|
|
483
|
+
def billing_postal_code=(billing_postal_code)
|
|
484
|
+
if !billing_postal_code.nil? && billing_postal_code.to_s.length > 20
|
|
485
|
+
fail ArgumentError, 'invalid value for "billing_postal_code", the character length must be smaller than or equal to 20.'
|
|
486
|
+
end
|
|
487
|
+
|
|
488
|
+
@billing_postal_code = billing_postal_code
|
|
489
|
+
end
|
|
490
|
+
|
|
491
|
+
# Custom attribute writer method with validation
|
|
492
|
+
# @param [Object] billing_state Value to be assigned
|
|
493
|
+
def billing_state=(billing_state)
|
|
494
|
+
if !billing_state.nil? && billing_state.to_s.length > 32
|
|
495
|
+
fail ArgumentError, 'invalid value for "billing_state", the character length must be smaller than or equal to 32.'
|
|
496
|
+
end
|
|
497
|
+
|
|
498
|
+
@billing_state = billing_state
|
|
499
|
+
end
|
|
500
|
+
|
|
501
|
+
# Custom attribute writer method with validation
|
|
502
|
+
# @param [Object] pricing_tier_name Value to be assigned
|
|
503
|
+
def pricing_tier_name=(pricing_tier_name)
|
|
504
|
+
if !pricing_tier_name.nil? && pricing_tier_name.to_s.length > 50
|
|
505
|
+
fail ArgumentError, 'invalid value for "pricing_tier_name", the character length must be smaller than or equal to 50.'
|
|
506
|
+
end
|
|
507
|
+
|
|
508
|
+
@pricing_tier_name = pricing_tier_name
|
|
509
|
+
end
|
|
510
|
+
|
|
511
|
+
# Custom attribute writer method with validation
|
|
512
|
+
# @param [Object] shipping_city Value to be assigned
|
|
513
|
+
def shipping_city=(shipping_city)
|
|
514
|
+
if !shipping_city.nil? && shipping_city.to_s.length > 32
|
|
515
|
+
fail ArgumentError, 'invalid value for "shipping_city", the character length must be smaller than or equal to 32.'
|
|
516
|
+
end
|
|
517
|
+
|
|
518
|
+
@shipping_city = shipping_city
|
|
519
|
+
end
|
|
520
|
+
|
|
521
|
+
# Custom attribute writer method with validation
|
|
522
|
+
# @param [Object] shipping_company Value to be assigned
|
|
523
|
+
def shipping_company=(shipping_company)
|
|
524
|
+
if !shipping_company.nil? && shipping_company.to_s.length > 50
|
|
525
|
+
fail ArgumentError, 'invalid value for "shipping_company", the character length must be smaller than or equal to 50.'
|
|
526
|
+
end
|
|
527
|
+
|
|
528
|
+
@shipping_company = shipping_company
|
|
529
|
+
end
|
|
530
|
+
|
|
531
|
+
# Custom attribute writer method with validation
|
|
532
|
+
# @param [Object] shipping_country_code Value to be assigned
|
|
533
|
+
def shipping_country_code=(shipping_country_code)
|
|
534
|
+
if !shipping_country_code.nil? && shipping_country_code.to_s.length > 2
|
|
535
|
+
fail ArgumentError, 'invalid value for "shipping_country_code", the character length must be smaller than or equal to 2.'
|
|
536
|
+
end
|
|
537
|
+
|
|
538
|
+
@shipping_country_code = shipping_country_code
|
|
539
|
+
end
|
|
540
|
+
|
|
541
|
+
# Custom attribute writer method with validation
|
|
542
|
+
# @param [Object] shipping_day_phone Value to be assigned
|
|
543
|
+
def shipping_day_phone=(shipping_day_phone)
|
|
544
|
+
if !shipping_day_phone.nil? && shipping_day_phone.to_s.length > 25
|
|
545
|
+
fail ArgumentError, 'invalid value for "shipping_day_phone", the character length must be smaller than or equal to 25.'
|
|
546
|
+
end
|
|
547
|
+
|
|
548
|
+
@shipping_day_phone = shipping_day_phone
|
|
549
|
+
end
|
|
550
|
+
|
|
551
|
+
# Custom attribute writer method with validation
|
|
552
|
+
# @param [Object] shipping_evening_phone Value to be assigned
|
|
553
|
+
def shipping_evening_phone=(shipping_evening_phone)
|
|
554
|
+
if !shipping_evening_phone.nil? && shipping_evening_phone.to_s.length > 25
|
|
555
|
+
fail ArgumentError, 'invalid value for "shipping_evening_phone", the character length must be smaller than or equal to 25.'
|
|
556
|
+
end
|
|
557
|
+
|
|
558
|
+
@shipping_evening_phone = shipping_evening_phone
|
|
559
|
+
end
|
|
560
|
+
|
|
561
|
+
# Custom attribute writer method with validation
|
|
562
|
+
# @param [Object] shipping_first_name Value to be assigned
|
|
563
|
+
def shipping_first_name=(shipping_first_name)
|
|
564
|
+
if !shipping_first_name.nil? && shipping_first_name.to_s.length > 30
|
|
565
|
+
fail ArgumentError, 'invalid value for "shipping_first_name", the character length must be smaller than or equal to 30.'
|
|
566
|
+
end
|
|
567
|
+
|
|
568
|
+
@shipping_first_name = shipping_first_name
|
|
569
|
+
end
|
|
570
|
+
|
|
571
|
+
# Custom attribute writer method with validation
|
|
572
|
+
# @param [Object] shipping_last_name Value to be assigned
|
|
573
|
+
def shipping_last_name=(shipping_last_name)
|
|
574
|
+
if !shipping_last_name.nil? && shipping_last_name.to_s.length > 30
|
|
575
|
+
fail ArgumentError, 'invalid value for "shipping_last_name", the character length must be smaller than or equal to 30.'
|
|
576
|
+
end
|
|
577
|
+
|
|
578
|
+
@shipping_last_name = shipping_last_name
|
|
579
|
+
end
|
|
580
|
+
|
|
581
|
+
# Custom attribute writer method with validation
|
|
582
|
+
# @param [Object] shipping_postal_code Value to be assigned
|
|
583
|
+
def shipping_postal_code=(shipping_postal_code)
|
|
584
|
+
if !shipping_postal_code.nil? && shipping_postal_code.to_s.length > 20
|
|
585
|
+
fail ArgumentError, 'invalid value for "shipping_postal_code", the character length must be smaller than or equal to 20.'
|
|
586
|
+
end
|
|
587
|
+
|
|
588
|
+
@shipping_postal_code = shipping_postal_code
|
|
589
|
+
end
|
|
590
|
+
|
|
591
|
+
# Custom attribute writer method with validation
|
|
592
|
+
# @param [Object] shipping_state Value to be assigned
|
|
593
|
+
def shipping_state=(shipping_state)
|
|
594
|
+
if !shipping_state.nil? && shipping_state.to_s.length > 32
|
|
595
|
+
fail ArgumentError, 'invalid value for "shipping_state", the character length must be smaller than or equal to 32.'
|
|
596
|
+
end
|
|
597
|
+
|
|
598
|
+
@shipping_state = shipping_state
|
|
599
|
+
end
|
|
600
|
+
|
|
601
|
+
# Checks equality by comparing each attribute.
|
|
602
|
+
# @param [Object] Object to be compared
|
|
603
|
+
def ==(o)
|
|
604
|
+
return true if self.equal?(o)
|
|
605
|
+
self.class == o.class &&
|
|
606
|
+
all_tags == o.all_tags &&
|
|
607
|
+
any_tags == o.any_tags &&
|
|
608
|
+
billing_city == o.billing_city &&
|
|
609
|
+
billing_company == o.billing_company &&
|
|
610
|
+
billing_country_code == o.billing_country_code &&
|
|
611
|
+
billing_day_phone == o.billing_day_phone &&
|
|
612
|
+
billing_evening_phone == o.billing_evening_phone &&
|
|
613
|
+
billing_first_name == o.billing_first_name &&
|
|
614
|
+
billing_last_name == o.billing_last_name &&
|
|
615
|
+
billing_postal_code == o.billing_postal_code &&
|
|
616
|
+
billing_state == o.billing_state &&
|
|
617
|
+
email == o.email &&
|
|
618
|
+
last_modified_dts_end == o.last_modified_dts_end &&
|
|
619
|
+
last_modified_dts_start == o.last_modified_dts_start &&
|
|
620
|
+
pricing_tier_name == o.pricing_tier_name &&
|
|
621
|
+
pricing_tier_oid == o.pricing_tier_oid &&
|
|
622
|
+
qb_class == o.qb_class &&
|
|
623
|
+
quickbooks_code == o.quickbooks_code &&
|
|
624
|
+
shipping_city == o.shipping_city &&
|
|
625
|
+
shipping_company == o.shipping_company &&
|
|
626
|
+
shipping_country_code == o.shipping_country_code &&
|
|
627
|
+
shipping_day_phone == o.shipping_day_phone &&
|
|
628
|
+
shipping_evening_phone == o.shipping_evening_phone &&
|
|
629
|
+
shipping_first_name == o.shipping_first_name &&
|
|
630
|
+
shipping_last_name == o.shipping_last_name &&
|
|
631
|
+
shipping_postal_code == o.shipping_postal_code &&
|
|
632
|
+
shipping_state == o.shipping_state &&
|
|
633
|
+
signup_dts_end == o.signup_dts_end &&
|
|
634
|
+
signup_dts_start == o.signup_dts_start
|
|
635
|
+
end
|
|
636
|
+
|
|
637
|
+
# @see the `==` method
|
|
638
|
+
# @param [Object] Object to be compared
|
|
639
|
+
def eql?(o)
|
|
640
|
+
self == o
|
|
641
|
+
end
|
|
642
|
+
|
|
643
|
+
# Calculates hash code according to all attributes.
|
|
644
|
+
# @return [Fixnum] Hash code
|
|
645
|
+
def hash
|
|
646
|
+
[all_tags, any_tags, billing_city, billing_company, billing_country_code, billing_day_phone, billing_evening_phone, billing_first_name, billing_last_name, billing_postal_code, billing_state, email, last_modified_dts_end, last_modified_dts_start, pricing_tier_name, pricing_tier_oid, qb_class, quickbooks_code, shipping_city, shipping_company, shipping_country_code, shipping_day_phone, shipping_evening_phone, shipping_first_name, shipping_last_name, shipping_postal_code, shipping_state, signup_dts_end, signup_dts_start].hash
|
|
647
|
+
end
|
|
648
|
+
|
|
649
|
+
# Builds the object from hash
|
|
650
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
651
|
+
# @return [Object] Returns the model itself
|
|
652
|
+
def build_from_hash(attributes)
|
|
653
|
+
return nil unless attributes.is_a?(Hash)
|
|
654
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
655
|
+
if type =~ /\AArray<(.*)>/i
|
|
656
|
+
# check to ensure the input is an array given that the attribute
|
|
657
|
+
# is documented as an array but the input is not
|
|
658
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
659
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
660
|
+
end
|
|
661
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
662
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
663
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
664
|
+
end
|
|
665
|
+
|
|
666
|
+
self
|
|
667
|
+
end
|
|
668
|
+
|
|
669
|
+
# Deserializes the data based on type
|
|
670
|
+
# @param string type Data type
|
|
671
|
+
# @param string value Value to be deserialized
|
|
672
|
+
# @return [Object] Deserialized data
|
|
673
|
+
def _deserialize(type, value)
|
|
674
|
+
case type.to_sym
|
|
675
|
+
when :DateTime
|
|
676
|
+
DateTime.parse(value)
|
|
677
|
+
when :Date
|
|
678
|
+
Date.parse(value)
|
|
679
|
+
when :String
|
|
680
|
+
value.to_s
|
|
681
|
+
when :Integer
|
|
682
|
+
value.to_i
|
|
683
|
+
when :Float
|
|
684
|
+
value.to_f
|
|
685
|
+
when :BOOLEAN
|
|
686
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
687
|
+
true
|
|
688
|
+
else
|
|
689
|
+
false
|
|
690
|
+
end
|
|
691
|
+
when :Object
|
|
692
|
+
# generic object (usually a Hash), return directly
|
|
693
|
+
value
|
|
694
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
695
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
696
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
697
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
698
|
+
k_type = Regexp.last_match[:k_type]
|
|
699
|
+
v_type = Regexp.last_match[:v_type]
|
|
700
|
+
{}.tap do |hash|
|
|
701
|
+
value.each do |k, v|
|
|
702
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
703
|
+
end
|
|
704
|
+
end
|
|
705
|
+
else # model
|
|
706
|
+
temp_model = UltracartClient.const_get(type).new
|
|
707
|
+
temp_model.build_from_hash(value)
|
|
708
|
+
end
|
|
709
|
+
end
|
|
710
|
+
|
|
711
|
+
# Returns the string representation of the object
|
|
712
|
+
# @return [String] String presentation of the object
|
|
713
|
+
def to_s
|
|
714
|
+
to_hash.to_s
|
|
715
|
+
end
|
|
716
|
+
|
|
717
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
718
|
+
# @return [Hash] Returns the object in the form of hash
|
|
719
|
+
def to_body
|
|
720
|
+
to_hash
|
|
721
|
+
end
|
|
722
|
+
|
|
723
|
+
# Returns the object in the form of hash
|
|
724
|
+
# @return [Hash] Returns the object in the form of hash
|
|
725
|
+
def to_hash
|
|
726
|
+
hash = {}
|
|
727
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
728
|
+
value = self.send(attr)
|
|
729
|
+
next if value.nil?
|
|
730
|
+
hash[param] = _to_hash(value)
|
|
731
|
+
end
|
|
732
|
+
hash
|
|
733
|
+
end
|
|
734
|
+
|
|
735
|
+
# Outputs non-array value in the form of hash
|
|
736
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
737
|
+
# @param [Object] value Any valid value
|
|
738
|
+
# @return [Hash] Returns the value in the form of hash
|
|
739
|
+
def _to_hash(value)
|
|
740
|
+
if value.is_a?(Array)
|
|
741
|
+
value.compact.map { |v| _to_hash(v) }
|
|
742
|
+
elsif value.is_a?(Hash)
|
|
743
|
+
{}.tap do |hash|
|
|
744
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
745
|
+
end
|
|
746
|
+
elsif value.respond_to? :to_hash
|
|
747
|
+
value.to_hash
|
|
748
|
+
else
|
|
749
|
+
value
|
|
750
|
+
end
|
|
751
|
+
end
|
|
752
|
+
|
|
753
|
+
end
|
|
754
|
+
end
|