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,1254 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#UltraCart Rest API V2
|
|
3
|
+
|
|
4
|
+
#UltraCart REST API Version 2
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 2.0.0
|
|
7
|
+
Contact: support@ultracart.com
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.15-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
|
|
15
|
+
module UltracartClient
|
|
16
|
+
class ItemGoogleProductSearch
|
|
17
|
+
# Adwords grouping
|
|
18
|
+
attr_accessor :adwords_grouping
|
|
19
|
+
|
|
20
|
+
# Adwords label 1
|
|
21
|
+
attr_accessor :adwords_label1
|
|
22
|
+
|
|
23
|
+
# Adwords label 2
|
|
24
|
+
attr_accessor :adwords_label2
|
|
25
|
+
|
|
26
|
+
# Adwords label 3
|
|
27
|
+
attr_accessor :adwords_label3
|
|
28
|
+
|
|
29
|
+
# Adwords label 4
|
|
30
|
+
attr_accessor :adwords_label4
|
|
31
|
+
|
|
32
|
+
# Adwords label 5
|
|
33
|
+
attr_accessor :adwords_label5
|
|
34
|
+
|
|
35
|
+
# Age group
|
|
36
|
+
attr_accessor :age_group
|
|
37
|
+
|
|
38
|
+
# Available at physical store
|
|
39
|
+
attr_accessor :available_at_physical_store
|
|
40
|
+
|
|
41
|
+
# Book - author
|
|
42
|
+
attr_accessor :book_author
|
|
43
|
+
|
|
44
|
+
# Book - format
|
|
45
|
+
attr_accessor :book_format
|
|
46
|
+
|
|
47
|
+
# Bood - ISBN
|
|
48
|
+
attr_accessor :book_isbn
|
|
49
|
+
|
|
50
|
+
# Book - publisher
|
|
51
|
+
attr_accessor :book_publisher
|
|
52
|
+
|
|
53
|
+
# Category description
|
|
54
|
+
attr_accessor :category_description
|
|
55
|
+
|
|
56
|
+
# Color
|
|
57
|
+
attr_accessor :color
|
|
58
|
+
|
|
59
|
+
# Condition
|
|
60
|
+
attr_accessor :condition
|
|
61
|
+
|
|
62
|
+
# Custom label 0
|
|
63
|
+
attr_accessor :custom_label0
|
|
64
|
+
|
|
65
|
+
# Custom label 1
|
|
66
|
+
attr_accessor :custom_label1
|
|
67
|
+
|
|
68
|
+
# Custom label 2
|
|
69
|
+
attr_accessor :custom_label2
|
|
70
|
+
|
|
71
|
+
# Custom label 3
|
|
72
|
+
attr_accessor :custom_label3
|
|
73
|
+
|
|
74
|
+
# Custom label 4
|
|
75
|
+
attr_accessor :custom_label4
|
|
76
|
+
|
|
77
|
+
# Gender
|
|
78
|
+
attr_accessor :gender
|
|
79
|
+
|
|
80
|
+
# Google product category
|
|
81
|
+
attr_accessor :google_product_category
|
|
82
|
+
|
|
83
|
+
# Music - artist
|
|
84
|
+
attr_accessor :music_artist
|
|
85
|
+
|
|
86
|
+
# Music - format
|
|
87
|
+
attr_accessor :music_format
|
|
88
|
+
|
|
89
|
+
# Music - release date
|
|
90
|
+
attr_accessor :music_release_date
|
|
91
|
+
|
|
92
|
+
# Omit from feed
|
|
93
|
+
attr_accessor :omit_from_feed
|
|
94
|
+
|
|
95
|
+
# Product type
|
|
96
|
+
attr_accessor :product_type
|
|
97
|
+
|
|
98
|
+
# Promotion ID 1
|
|
99
|
+
attr_accessor :promotion_id1
|
|
100
|
+
|
|
101
|
+
# Promotion ID 10
|
|
102
|
+
attr_accessor :promotion_id10
|
|
103
|
+
|
|
104
|
+
# Promotion ID 2
|
|
105
|
+
attr_accessor :promotion_id2
|
|
106
|
+
|
|
107
|
+
# Promotion ID 3
|
|
108
|
+
attr_accessor :promotion_id3
|
|
109
|
+
|
|
110
|
+
# Promotion ID 4
|
|
111
|
+
attr_accessor :promotion_id4
|
|
112
|
+
|
|
113
|
+
# Promotion ID 5
|
|
114
|
+
attr_accessor :promotion_id5
|
|
115
|
+
|
|
116
|
+
# Promotion ID 6
|
|
117
|
+
attr_accessor :promotion_id6
|
|
118
|
+
|
|
119
|
+
# Promotion ID 7
|
|
120
|
+
attr_accessor :promotion_id7
|
|
121
|
+
|
|
122
|
+
# Promotion ID 8
|
|
123
|
+
attr_accessor :promotion_id8
|
|
124
|
+
|
|
125
|
+
# Promotion ID 9
|
|
126
|
+
attr_accessor :promotion_id9
|
|
127
|
+
|
|
128
|
+
# Search date/time
|
|
129
|
+
attr_accessor :search_dts
|
|
130
|
+
|
|
131
|
+
# Search lowest price
|
|
132
|
+
attr_accessor :search_lowest_price
|
|
133
|
+
|
|
134
|
+
# Search lowest URL
|
|
135
|
+
attr_accessor :search_lowest_url
|
|
136
|
+
|
|
137
|
+
# Search position
|
|
138
|
+
attr_accessor :search_position
|
|
139
|
+
|
|
140
|
+
attr_accessor :shipping_label
|
|
141
|
+
|
|
142
|
+
# Size
|
|
143
|
+
attr_accessor :size
|
|
144
|
+
|
|
145
|
+
# Video - director
|
|
146
|
+
attr_accessor :video_director
|
|
147
|
+
|
|
148
|
+
# Video - format
|
|
149
|
+
attr_accessor :video_format
|
|
150
|
+
|
|
151
|
+
# Video - rating
|
|
152
|
+
attr_accessor :video_rating
|
|
153
|
+
|
|
154
|
+
# Video - release date
|
|
155
|
+
attr_accessor :video_release_date
|
|
156
|
+
|
|
157
|
+
# Video - starring
|
|
158
|
+
attr_accessor :video_starring
|
|
159
|
+
|
|
160
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
161
|
+
def self.attribute_map
|
|
162
|
+
{
|
|
163
|
+
:'adwords_grouping' => :'adwords_grouping',
|
|
164
|
+
:'adwords_label1' => :'adwords_label1',
|
|
165
|
+
:'adwords_label2' => :'adwords_label2',
|
|
166
|
+
:'adwords_label3' => :'adwords_label3',
|
|
167
|
+
:'adwords_label4' => :'adwords_label4',
|
|
168
|
+
:'adwords_label5' => :'adwords_label5',
|
|
169
|
+
:'age_group' => :'age_group',
|
|
170
|
+
:'available_at_physical_store' => :'available_at_physical_store',
|
|
171
|
+
:'book_author' => :'book_author',
|
|
172
|
+
:'book_format' => :'book_format',
|
|
173
|
+
:'book_isbn' => :'book_isbn',
|
|
174
|
+
:'book_publisher' => :'book_publisher',
|
|
175
|
+
:'category_description' => :'category_description',
|
|
176
|
+
:'color' => :'color',
|
|
177
|
+
:'condition' => :'condition',
|
|
178
|
+
:'custom_label0' => :'custom_label0',
|
|
179
|
+
:'custom_label1' => :'custom_label1',
|
|
180
|
+
:'custom_label2' => :'custom_label2',
|
|
181
|
+
:'custom_label3' => :'custom_label3',
|
|
182
|
+
:'custom_label4' => :'custom_label4',
|
|
183
|
+
:'gender' => :'gender',
|
|
184
|
+
:'google_product_category' => :'google_product_category',
|
|
185
|
+
:'music_artist' => :'music_artist',
|
|
186
|
+
:'music_format' => :'music_format',
|
|
187
|
+
:'music_release_date' => :'music_release_date',
|
|
188
|
+
:'omit_from_feed' => :'omit_from_feed',
|
|
189
|
+
:'product_type' => :'product_type',
|
|
190
|
+
:'promotion_id1' => :'promotion_id1',
|
|
191
|
+
:'promotion_id10' => :'promotion_id10',
|
|
192
|
+
:'promotion_id2' => :'promotion_id2',
|
|
193
|
+
:'promotion_id3' => :'promotion_id3',
|
|
194
|
+
:'promotion_id4' => :'promotion_id4',
|
|
195
|
+
:'promotion_id5' => :'promotion_id5',
|
|
196
|
+
:'promotion_id6' => :'promotion_id6',
|
|
197
|
+
:'promotion_id7' => :'promotion_id7',
|
|
198
|
+
:'promotion_id8' => :'promotion_id8',
|
|
199
|
+
:'promotion_id9' => :'promotion_id9',
|
|
200
|
+
:'search_dts' => :'search_dts',
|
|
201
|
+
:'search_lowest_price' => :'search_lowest_price',
|
|
202
|
+
:'search_lowest_url' => :'search_lowest_url',
|
|
203
|
+
:'search_position' => :'search_position',
|
|
204
|
+
:'shipping_label' => :'shippingLabel',
|
|
205
|
+
:'size' => :'size',
|
|
206
|
+
:'video_director' => :'video_director',
|
|
207
|
+
:'video_format' => :'video_format',
|
|
208
|
+
:'video_rating' => :'video_rating',
|
|
209
|
+
:'video_release_date' => :'video_release_date',
|
|
210
|
+
:'video_starring' => :'video_starring'
|
|
211
|
+
}
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
# Attribute type mapping.
|
|
215
|
+
def self.swagger_types
|
|
216
|
+
{
|
|
217
|
+
:'adwords_grouping' => :'String',
|
|
218
|
+
:'adwords_label1' => :'String',
|
|
219
|
+
:'adwords_label2' => :'String',
|
|
220
|
+
:'adwords_label3' => :'String',
|
|
221
|
+
:'adwords_label4' => :'String',
|
|
222
|
+
:'adwords_label5' => :'String',
|
|
223
|
+
:'age_group' => :'String',
|
|
224
|
+
:'available_at_physical_store' => :'BOOLEAN',
|
|
225
|
+
:'book_author' => :'String',
|
|
226
|
+
:'book_format' => :'String',
|
|
227
|
+
:'book_isbn' => :'String',
|
|
228
|
+
:'book_publisher' => :'String',
|
|
229
|
+
:'category_description' => :'String',
|
|
230
|
+
:'color' => :'String',
|
|
231
|
+
:'condition' => :'String',
|
|
232
|
+
:'custom_label0' => :'String',
|
|
233
|
+
:'custom_label1' => :'String',
|
|
234
|
+
:'custom_label2' => :'String',
|
|
235
|
+
:'custom_label3' => :'String',
|
|
236
|
+
:'custom_label4' => :'String',
|
|
237
|
+
:'gender' => :'String',
|
|
238
|
+
:'google_product_category' => :'String',
|
|
239
|
+
:'music_artist' => :'String',
|
|
240
|
+
:'music_format' => :'String',
|
|
241
|
+
:'music_release_date' => :'String',
|
|
242
|
+
:'omit_from_feed' => :'BOOLEAN',
|
|
243
|
+
:'product_type' => :'String',
|
|
244
|
+
:'promotion_id1' => :'String',
|
|
245
|
+
:'promotion_id10' => :'String',
|
|
246
|
+
:'promotion_id2' => :'String',
|
|
247
|
+
:'promotion_id3' => :'String',
|
|
248
|
+
:'promotion_id4' => :'String',
|
|
249
|
+
:'promotion_id5' => :'String',
|
|
250
|
+
:'promotion_id6' => :'String',
|
|
251
|
+
:'promotion_id7' => :'String',
|
|
252
|
+
:'promotion_id8' => :'String',
|
|
253
|
+
:'promotion_id9' => :'String',
|
|
254
|
+
:'search_dts' => :'String',
|
|
255
|
+
:'search_lowest_price' => :'Float',
|
|
256
|
+
:'search_lowest_url' => :'String',
|
|
257
|
+
:'search_position' => :'Integer',
|
|
258
|
+
:'shipping_label' => :'String',
|
|
259
|
+
:'size' => :'String',
|
|
260
|
+
:'video_director' => :'String',
|
|
261
|
+
:'video_format' => :'String',
|
|
262
|
+
:'video_rating' => :'String',
|
|
263
|
+
:'video_release_date' => :'String',
|
|
264
|
+
:'video_starring' => :'String'
|
|
265
|
+
}
|
|
266
|
+
end
|
|
267
|
+
|
|
268
|
+
# Initializes the object
|
|
269
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
270
|
+
def initialize(attributes = {})
|
|
271
|
+
return unless attributes.is_a?(Hash)
|
|
272
|
+
|
|
273
|
+
# convert string to symbol for hash key
|
|
274
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
275
|
+
|
|
276
|
+
if attributes.has_key?(:'adwords_grouping')
|
|
277
|
+
self.adwords_grouping = attributes[:'adwords_grouping']
|
|
278
|
+
end
|
|
279
|
+
|
|
280
|
+
if attributes.has_key?(:'adwords_label1')
|
|
281
|
+
self.adwords_label1 = attributes[:'adwords_label1']
|
|
282
|
+
end
|
|
283
|
+
|
|
284
|
+
if attributes.has_key?(:'adwords_label2')
|
|
285
|
+
self.adwords_label2 = attributes[:'adwords_label2']
|
|
286
|
+
end
|
|
287
|
+
|
|
288
|
+
if attributes.has_key?(:'adwords_label3')
|
|
289
|
+
self.adwords_label3 = attributes[:'adwords_label3']
|
|
290
|
+
end
|
|
291
|
+
|
|
292
|
+
if attributes.has_key?(:'adwords_label4')
|
|
293
|
+
self.adwords_label4 = attributes[:'adwords_label4']
|
|
294
|
+
end
|
|
295
|
+
|
|
296
|
+
if attributes.has_key?(:'adwords_label5')
|
|
297
|
+
self.adwords_label5 = attributes[:'adwords_label5']
|
|
298
|
+
end
|
|
299
|
+
|
|
300
|
+
if attributes.has_key?(:'age_group')
|
|
301
|
+
self.age_group = attributes[:'age_group']
|
|
302
|
+
end
|
|
303
|
+
|
|
304
|
+
if attributes.has_key?(:'available_at_physical_store')
|
|
305
|
+
self.available_at_physical_store = attributes[:'available_at_physical_store']
|
|
306
|
+
end
|
|
307
|
+
|
|
308
|
+
if attributes.has_key?(:'book_author')
|
|
309
|
+
self.book_author = attributes[:'book_author']
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
if attributes.has_key?(:'book_format')
|
|
313
|
+
self.book_format = attributes[:'book_format']
|
|
314
|
+
end
|
|
315
|
+
|
|
316
|
+
if attributes.has_key?(:'book_isbn')
|
|
317
|
+
self.book_isbn = attributes[:'book_isbn']
|
|
318
|
+
end
|
|
319
|
+
|
|
320
|
+
if attributes.has_key?(:'book_publisher')
|
|
321
|
+
self.book_publisher = attributes[:'book_publisher']
|
|
322
|
+
end
|
|
323
|
+
|
|
324
|
+
if attributes.has_key?(:'category_description')
|
|
325
|
+
self.category_description = attributes[:'category_description']
|
|
326
|
+
end
|
|
327
|
+
|
|
328
|
+
if attributes.has_key?(:'color')
|
|
329
|
+
self.color = attributes[:'color']
|
|
330
|
+
end
|
|
331
|
+
|
|
332
|
+
if attributes.has_key?(:'condition')
|
|
333
|
+
self.condition = attributes[:'condition']
|
|
334
|
+
end
|
|
335
|
+
|
|
336
|
+
if attributes.has_key?(:'custom_label0')
|
|
337
|
+
self.custom_label0 = attributes[:'custom_label0']
|
|
338
|
+
end
|
|
339
|
+
|
|
340
|
+
if attributes.has_key?(:'custom_label1')
|
|
341
|
+
self.custom_label1 = attributes[:'custom_label1']
|
|
342
|
+
end
|
|
343
|
+
|
|
344
|
+
if attributes.has_key?(:'custom_label2')
|
|
345
|
+
self.custom_label2 = attributes[:'custom_label2']
|
|
346
|
+
end
|
|
347
|
+
|
|
348
|
+
if attributes.has_key?(:'custom_label3')
|
|
349
|
+
self.custom_label3 = attributes[:'custom_label3']
|
|
350
|
+
end
|
|
351
|
+
|
|
352
|
+
if attributes.has_key?(:'custom_label4')
|
|
353
|
+
self.custom_label4 = attributes[:'custom_label4']
|
|
354
|
+
end
|
|
355
|
+
|
|
356
|
+
if attributes.has_key?(:'gender')
|
|
357
|
+
self.gender = attributes[:'gender']
|
|
358
|
+
end
|
|
359
|
+
|
|
360
|
+
if attributes.has_key?(:'google_product_category')
|
|
361
|
+
self.google_product_category = attributes[:'google_product_category']
|
|
362
|
+
end
|
|
363
|
+
|
|
364
|
+
if attributes.has_key?(:'music_artist')
|
|
365
|
+
self.music_artist = attributes[:'music_artist']
|
|
366
|
+
end
|
|
367
|
+
|
|
368
|
+
if attributes.has_key?(:'music_format')
|
|
369
|
+
self.music_format = attributes[:'music_format']
|
|
370
|
+
end
|
|
371
|
+
|
|
372
|
+
if attributes.has_key?(:'music_release_date')
|
|
373
|
+
self.music_release_date = attributes[:'music_release_date']
|
|
374
|
+
end
|
|
375
|
+
|
|
376
|
+
if attributes.has_key?(:'omit_from_feed')
|
|
377
|
+
self.omit_from_feed = attributes[:'omit_from_feed']
|
|
378
|
+
end
|
|
379
|
+
|
|
380
|
+
if attributes.has_key?(:'product_type')
|
|
381
|
+
self.product_type = attributes[:'product_type']
|
|
382
|
+
end
|
|
383
|
+
|
|
384
|
+
if attributes.has_key?(:'promotion_id1')
|
|
385
|
+
self.promotion_id1 = attributes[:'promotion_id1']
|
|
386
|
+
end
|
|
387
|
+
|
|
388
|
+
if attributes.has_key?(:'promotion_id10')
|
|
389
|
+
self.promotion_id10 = attributes[:'promotion_id10']
|
|
390
|
+
end
|
|
391
|
+
|
|
392
|
+
if attributes.has_key?(:'promotion_id2')
|
|
393
|
+
self.promotion_id2 = attributes[:'promotion_id2']
|
|
394
|
+
end
|
|
395
|
+
|
|
396
|
+
if attributes.has_key?(:'promotion_id3')
|
|
397
|
+
self.promotion_id3 = attributes[:'promotion_id3']
|
|
398
|
+
end
|
|
399
|
+
|
|
400
|
+
if attributes.has_key?(:'promotion_id4')
|
|
401
|
+
self.promotion_id4 = attributes[:'promotion_id4']
|
|
402
|
+
end
|
|
403
|
+
|
|
404
|
+
if attributes.has_key?(:'promotion_id5')
|
|
405
|
+
self.promotion_id5 = attributes[:'promotion_id5']
|
|
406
|
+
end
|
|
407
|
+
|
|
408
|
+
if attributes.has_key?(:'promotion_id6')
|
|
409
|
+
self.promotion_id6 = attributes[:'promotion_id6']
|
|
410
|
+
end
|
|
411
|
+
|
|
412
|
+
if attributes.has_key?(:'promotion_id7')
|
|
413
|
+
self.promotion_id7 = attributes[:'promotion_id7']
|
|
414
|
+
end
|
|
415
|
+
|
|
416
|
+
if attributes.has_key?(:'promotion_id8')
|
|
417
|
+
self.promotion_id8 = attributes[:'promotion_id8']
|
|
418
|
+
end
|
|
419
|
+
|
|
420
|
+
if attributes.has_key?(:'promotion_id9')
|
|
421
|
+
self.promotion_id9 = attributes[:'promotion_id9']
|
|
422
|
+
end
|
|
423
|
+
|
|
424
|
+
if attributes.has_key?(:'search_dts')
|
|
425
|
+
self.search_dts = attributes[:'search_dts']
|
|
426
|
+
end
|
|
427
|
+
|
|
428
|
+
if attributes.has_key?(:'search_lowest_price')
|
|
429
|
+
self.search_lowest_price = attributes[:'search_lowest_price']
|
|
430
|
+
end
|
|
431
|
+
|
|
432
|
+
if attributes.has_key?(:'search_lowest_url')
|
|
433
|
+
self.search_lowest_url = attributes[:'search_lowest_url']
|
|
434
|
+
end
|
|
435
|
+
|
|
436
|
+
if attributes.has_key?(:'search_position')
|
|
437
|
+
self.search_position = attributes[:'search_position']
|
|
438
|
+
end
|
|
439
|
+
|
|
440
|
+
if attributes.has_key?(:'shippingLabel')
|
|
441
|
+
self.shipping_label = attributes[:'shippingLabel']
|
|
442
|
+
end
|
|
443
|
+
|
|
444
|
+
if attributes.has_key?(:'size')
|
|
445
|
+
self.size = attributes[:'size']
|
|
446
|
+
end
|
|
447
|
+
|
|
448
|
+
if attributes.has_key?(:'video_director')
|
|
449
|
+
self.video_director = attributes[:'video_director']
|
|
450
|
+
end
|
|
451
|
+
|
|
452
|
+
if attributes.has_key?(:'video_format')
|
|
453
|
+
self.video_format = attributes[:'video_format']
|
|
454
|
+
end
|
|
455
|
+
|
|
456
|
+
if attributes.has_key?(:'video_rating')
|
|
457
|
+
self.video_rating = attributes[:'video_rating']
|
|
458
|
+
end
|
|
459
|
+
|
|
460
|
+
if attributes.has_key?(:'video_release_date')
|
|
461
|
+
self.video_release_date = attributes[:'video_release_date']
|
|
462
|
+
end
|
|
463
|
+
|
|
464
|
+
if attributes.has_key?(:'video_starring')
|
|
465
|
+
self.video_starring = attributes[:'video_starring']
|
|
466
|
+
end
|
|
467
|
+
end
|
|
468
|
+
|
|
469
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
470
|
+
# @return Array for valid properties with the reasons
|
|
471
|
+
def list_invalid_properties
|
|
472
|
+
invalid_properties = Array.new
|
|
473
|
+
if !@adwords_grouping.nil? && @adwords_grouping.to_s.length > 50
|
|
474
|
+
invalid_properties.push('invalid value for "adwords_grouping", the character length must be smaller than or equal to 50.')
|
|
475
|
+
end
|
|
476
|
+
|
|
477
|
+
if !@adwords_label1.nil? && @adwords_label1.to_s.length > 50
|
|
478
|
+
invalid_properties.push('invalid value for "adwords_label1", the character length must be smaller than or equal to 50.')
|
|
479
|
+
end
|
|
480
|
+
|
|
481
|
+
if !@adwords_label2.nil? && @adwords_label2.to_s.length > 50
|
|
482
|
+
invalid_properties.push('invalid value for "adwords_label2", the character length must be smaller than or equal to 50.')
|
|
483
|
+
end
|
|
484
|
+
|
|
485
|
+
if !@adwords_label3.nil? && @adwords_label3.to_s.length > 50
|
|
486
|
+
invalid_properties.push('invalid value for "adwords_label3", the character length must be smaller than or equal to 50.')
|
|
487
|
+
end
|
|
488
|
+
|
|
489
|
+
if !@adwords_label4.nil? && @adwords_label4.to_s.length > 50
|
|
490
|
+
invalid_properties.push('invalid value for "adwords_label4", the character length must be smaller than or equal to 50.')
|
|
491
|
+
end
|
|
492
|
+
|
|
493
|
+
if !@adwords_label5.nil? && @adwords_label5.to_s.length > 50
|
|
494
|
+
invalid_properties.push('invalid value for "adwords_label5", the character length must be smaller than or equal to 50.')
|
|
495
|
+
end
|
|
496
|
+
|
|
497
|
+
if !@age_group.nil? && @age_group.to_s.length > 5
|
|
498
|
+
invalid_properties.push('invalid value for "age_group", the character length must be smaller than or equal to 5.')
|
|
499
|
+
end
|
|
500
|
+
|
|
501
|
+
if !@book_author.nil? && @book_author.to_s.length > 50
|
|
502
|
+
invalid_properties.push('invalid value for "book_author", the character length must be smaller than or equal to 50.')
|
|
503
|
+
end
|
|
504
|
+
|
|
505
|
+
if !@book_format.nil? && @book_format.to_s.length > 50
|
|
506
|
+
invalid_properties.push('invalid value for "book_format", the character length must be smaller than or equal to 50.')
|
|
507
|
+
end
|
|
508
|
+
|
|
509
|
+
if !@book_isbn.nil? && @book_isbn.to_s.length > 20
|
|
510
|
+
invalid_properties.push('invalid value for "book_isbn", the character length must be smaller than or equal to 20.')
|
|
511
|
+
end
|
|
512
|
+
|
|
513
|
+
if !@book_publisher.nil? && @book_publisher.to_s.length > 50
|
|
514
|
+
invalid_properties.push('invalid value for "book_publisher", the character length must be smaller than or equal to 50.')
|
|
515
|
+
end
|
|
516
|
+
|
|
517
|
+
if !@category_description.nil? && @category_description.to_s.length > 1000
|
|
518
|
+
invalid_properties.push('invalid value for "category_description", the character length must be smaller than or equal to 1000.')
|
|
519
|
+
end
|
|
520
|
+
|
|
521
|
+
if !@color.nil? && @color.to_s.length > 20
|
|
522
|
+
invalid_properties.push('invalid value for "color", the character length must be smaller than or equal to 20.')
|
|
523
|
+
end
|
|
524
|
+
|
|
525
|
+
if !@condition.nil? && @condition.to_s.length > 15
|
|
526
|
+
invalid_properties.push('invalid value for "condition", the character length must be smaller than or equal to 15.')
|
|
527
|
+
end
|
|
528
|
+
|
|
529
|
+
if !@custom_label0.nil? && @custom_label0.to_s.length > 50
|
|
530
|
+
invalid_properties.push('invalid value for "custom_label0", the character length must be smaller than or equal to 50.')
|
|
531
|
+
end
|
|
532
|
+
|
|
533
|
+
if !@custom_label1.nil? && @custom_label1.to_s.length > 50
|
|
534
|
+
invalid_properties.push('invalid value for "custom_label1", the character length must be smaller than or equal to 50.')
|
|
535
|
+
end
|
|
536
|
+
|
|
537
|
+
if !@custom_label2.nil? && @custom_label2.to_s.length > 50
|
|
538
|
+
invalid_properties.push('invalid value for "custom_label2", the character length must be smaller than or equal to 50.')
|
|
539
|
+
end
|
|
540
|
+
|
|
541
|
+
if !@custom_label3.nil? && @custom_label3.to_s.length > 50
|
|
542
|
+
invalid_properties.push('invalid value for "custom_label3", the character length must be smaller than or equal to 50.')
|
|
543
|
+
end
|
|
544
|
+
|
|
545
|
+
if !@custom_label4.nil? && @custom_label4.to_s.length > 50
|
|
546
|
+
invalid_properties.push('invalid value for "custom_label4", the character length must be smaller than or equal to 50.')
|
|
547
|
+
end
|
|
548
|
+
|
|
549
|
+
if !@gender.nil? && @gender.to_s.length > 6
|
|
550
|
+
invalid_properties.push('invalid value for "gender", the character length must be smaller than or equal to 6.')
|
|
551
|
+
end
|
|
552
|
+
|
|
553
|
+
if !@google_product_category.nil? && @google_product_category.to_s.length > 250
|
|
554
|
+
invalid_properties.push('invalid value for "google_product_category", the character length must be smaller than or equal to 250.')
|
|
555
|
+
end
|
|
556
|
+
|
|
557
|
+
if !@music_artist.nil? && @music_artist.to_s.length > 50
|
|
558
|
+
invalid_properties.push('invalid value for "music_artist", the character length must be smaller than or equal to 50.')
|
|
559
|
+
end
|
|
560
|
+
|
|
561
|
+
if !@music_format.nil? && @music_format.to_s.length > 5
|
|
562
|
+
invalid_properties.push('invalid value for "music_format", the character length must be smaller than or equal to 5.')
|
|
563
|
+
end
|
|
564
|
+
|
|
565
|
+
if !@product_type.nil? && @product_type.to_s.length > 10
|
|
566
|
+
invalid_properties.push('invalid value for "product_type", the character length must be smaller than or equal to 10.')
|
|
567
|
+
end
|
|
568
|
+
|
|
569
|
+
if !@promotion_id1.nil? && @promotion_id1.to_s.length > 30
|
|
570
|
+
invalid_properties.push('invalid value for "promotion_id1", the character length must be smaller than or equal to 30.')
|
|
571
|
+
end
|
|
572
|
+
|
|
573
|
+
if !@promotion_id10.nil? && @promotion_id10.to_s.length > 30
|
|
574
|
+
invalid_properties.push('invalid value for "promotion_id10", the character length must be smaller than or equal to 30.')
|
|
575
|
+
end
|
|
576
|
+
|
|
577
|
+
if !@promotion_id2.nil? && @promotion_id2.to_s.length > 30
|
|
578
|
+
invalid_properties.push('invalid value for "promotion_id2", the character length must be smaller than or equal to 30.')
|
|
579
|
+
end
|
|
580
|
+
|
|
581
|
+
if !@promotion_id3.nil? && @promotion_id3.to_s.length > 30
|
|
582
|
+
invalid_properties.push('invalid value for "promotion_id3", the character length must be smaller than or equal to 30.')
|
|
583
|
+
end
|
|
584
|
+
|
|
585
|
+
if !@promotion_id4.nil? && @promotion_id4.to_s.length > 30
|
|
586
|
+
invalid_properties.push('invalid value for "promotion_id4", the character length must be smaller than or equal to 30.')
|
|
587
|
+
end
|
|
588
|
+
|
|
589
|
+
if !@promotion_id5.nil? && @promotion_id5.to_s.length > 30
|
|
590
|
+
invalid_properties.push('invalid value for "promotion_id5", the character length must be smaller than or equal to 30.')
|
|
591
|
+
end
|
|
592
|
+
|
|
593
|
+
if !@promotion_id6.nil? && @promotion_id6.to_s.length > 30
|
|
594
|
+
invalid_properties.push('invalid value for "promotion_id6", the character length must be smaller than or equal to 30.')
|
|
595
|
+
end
|
|
596
|
+
|
|
597
|
+
if !@promotion_id7.nil? && @promotion_id7.to_s.length > 30
|
|
598
|
+
invalid_properties.push('invalid value for "promotion_id7", the character length must be smaller than or equal to 30.')
|
|
599
|
+
end
|
|
600
|
+
|
|
601
|
+
if !@promotion_id8.nil? && @promotion_id8.to_s.length > 30
|
|
602
|
+
invalid_properties.push('invalid value for "promotion_id8", the character length must be smaller than or equal to 30.')
|
|
603
|
+
end
|
|
604
|
+
|
|
605
|
+
if !@promotion_id9.nil? && @promotion_id9.to_s.length > 30
|
|
606
|
+
invalid_properties.push('invalid value for "promotion_id9", the character length must be smaller than or equal to 30.')
|
|
607
|
+
end
|
|
608
|
+
|
|
609
|
+
if !@search_lowest_url.nil? && @search_lowest_url.to_s.length > 250
|
|
610
|
+
invalid_properties.push('invalid value for "search_lowest_url", the character length must be smaller than or equal to 250.')
|
|
611
|
+
end
|
|
612
|
+
|
|
613
|
+
if !@size.nil? && @size.to_s.length > 20
|
|
614
|
+
invalid_properties.push('invalid value for "size", the character length must be smaller than or equal to 20.')
|
|
615
|
+
end
|
|
616
|
+
|
|
617
|
+
if !@video_director.nil? && @video_director.to_s.length > 50
|
|
618
|
+
invalid_properties.push('invalid value for "video_director", the character length must be smaller than or equal to 50.')
|
|
619
|
+
end
|
|
620
|
+
|
|
621
|
+
if !@video_format.nil? && @video_format.to_s.length > 5
|
|
622
|
+
invalid_properties.push('invalid value for "video_format", the character length must be smaller than or equal to 5.')
|
|
623
|
+
end
|
|
624
|
+
|
|
625
|
+
if !@video_rating.nil? && @video_rating.to_s.length > 5
|
|
626
|
+
invalid_properties.push('invalid value for "video_rating", the character length must be smaller than or equal to 5.')
|
|
627
|
+
end
|
|
628
|
+
|
|
629
|
+
if !@video_starring.nil? && @video_starring.to_s.length > 150
|
|
630
|
+
invalid_properties.push('invalid value for "video_starring", the character length must be smaller than or equal to 150.')
|
|
631
|
+
end
|
|
632
|
+
|
|
633
|
+
invalid_properties
|
|
634
|
+
end
|
|
635
|
+
|
|
636
|
+
# Check to see if the all the properties in the model are valid
|
|
637
|
+
# @return true if the model is valid
|
|
638
|
+
def valid?
|
|
639
|
+
return false if !@adwords_grouping.nil? && @adwords_grouping.to_s.length > 50
|
|
640
|
+
return false if !@adwords_label1.nil? && @adwords_label1.to_s.length > 50
|
|
641
|
+
return false if !@adwords_label2.nil? && @adwords_label2.to_s.length > 50
|
|
642
|
+
return false if !@adwords_label3.nil? && @adwords_label3.to_s.length > 50
|
|
643
|
+
return false if !@adwords_label4.nil? && @adwords_label4.to_s.length > 50
|
|
644
|
+
return false if !@adwords_label5.nil? && @adwords_label5.to_s.length > 50
|
|
645
|
+
return false if !@age_group.nil? && @age_group.to_s.length > 5
|
|
646
|
+
return false if !@book_author.nil? && @book_author.to_s.length > 50
|
|
647
|
+
return false if !@book_format.nil? && @book_format.to_s.length > 50
|
|
648
|
+
return false if !@book_isbn.nil? && @book_isbn.to_s.length > 20
|
|
649
|
+
return false if !@book_publisher.nil? && @book_publisher.to_s.length > 50
|
|
650
|
+
return false if !@category_description.nil? && @category_description.to_s.length > 1000
|
|
651
|
+
return false if !@color.nil? && @color.to_s.length > 20
|
|
652
|
+
return false if !@condition.nil? && @condition.to_s.length > 15
|
|
653
|
+
return false if !@custom_label0.nil? && @custom_label0.to_s.length > 50
|
|
654
|
+
return false if !@custom_label1.nil? && @custom_label1.to_s.length > 50
|
|
655
|
+
return false if !@custom_label2.nil? && @custom_label2.to_s.length > 50
|
|
656
|
+
return false if !@custom_label3.nil? && @custom_label3.to_s.length > 50
|
|
657
|
+
return false if !@custom_label4.nil? && @custom_label4.to_s.length > 50
|
|
658
|
+
return false if !@gender.nil? && @gender.to_s.length > 6
|
|
659
|
+
return false if !@google_product_category.nil? && @google_product_category.to_s.length > 250
|
|
660
|
+
return false if !@music_artist.nil? && @music_artist.to_s.length > 50
|
|
661
|
+
return false if !@music_format.nil? && @music_format.to_s.length > 5
|
|
662
|
+
return false if !@product_type.nil? && @product_type.to_s.length > 10
|
|
663
|
+
return false if !@promotion_id1.nil? && @promotion_id1.to_s.length > 30
|
|
664
|
+
return false if !@promotion_id10.nil? && @promotion_id10.to_s.length > 30
|
|
665
|
+
return false if !@promotion_id2.nil? && @promotion_id2.to_s.length > 30
|
|
666
|
+
return false if !@promotion_id3.nil? && @promotion_id3.to_s.length > 30
|
|
667
|
+
return false if !@promotion_id4.nil? && @promotion_id4.to_s.length > 30
|
|
668
|
+
return false if !@promotion_id5.nil? && @promotion_id5.to_s.length > 30
|
|
669
|
+
return false if !@promotion_id6.nil? && @promotion_id6.to_s.length > 30
|
|
670
|
+
return false if !@promotion_id7.nil? && @promotion_id7.to_s.length > 30
|
|
671
|
+
return false if !@promotion_id8.nil? && @promotion_id8.to_s.length > 30
|
|
672
|
+
return false if !@promotion_id9.nil? && @promotion_id9.to_s.length > 30
|
|
673
|
+
return false if !@search_lowest_url.nil? && @search_lowest_url.to_s.length > 250
|
|
674
|
+
return false if !@size.nil? && @size.to_s.length > 20
|
|
675
|
+
return false if !@video_director.nil? && @video_director.to_s.length > 50
|
|
676
|
+
return false if !@video_format.nil? && @video_format.to_s.length > 5
|
|
677
|
+
return false if !@video_rating.nil? && @video_rating.to_s.length > 5
|
|
678
|
+
return false if !@video_starring.nil? && @video_starring.to_s.length > 150
|
|
679
|
+
true
|
|
680
|
+
end
|
|
681
|
+
|
|
682
|
+
# Custom attribute writer method with validation
|
|
683
|
+
# @param [Object] adwords_grouping Value to be assigned
|
|
684
|
+
def adwords_grouping=(adwords_grouping)
|
|
685
|
+
if !adwords_grouping.nil? && adwords_grouping.to_s.length > 50
|
|
686
|
+
fail ArgumentError, 'invalid value for "adwords_grouping", the character length must be smaller than or equal to 50.'
|
|
687
|
+
end
|
|
688
|
+
|
|
689
|
+
@adwords_grouping = adwords_grouping
|
|
690
|
+
end
|
|
691
|
+
|
|
692
|
+
# Custom attribute writer method with validation
|
|
693
|
+
# @param [Object] adwords_label1 Value to be assigned
|
|
694
|
+
def adwords_label1=(adwords_label1)
|
|
695
|
+
if !adwords_label1.nil? && adwords_label1.to_s.length > 50
|
|
696
|
+
fail ArgumentError, 'invalid value for "adwords_label1", the character length must be smaller than or equal to 50.'
|
|
697
|
+
end
|
|
698
|
+
|
|
699
|
+
@adwords_label1 = adwords_label1
|
|
700
|
+
end
|
|
701
|
+
|
|
702
|
+
# Custom attribute writer method with validation
|
|
703
|
+
# @param [Object] adwords_label2 Value to be assigned
|
|
704
|
+
def adwords_label2=(adwords_label2)
|
|
705
|
+
if !adwords_label2.nil? && adwords_label2.to_s.length > 50
|
|
706
|
+
fail ArgumentError, 'invalid value for "adwords_label2", the character length must be smaller than or equal to 50.'
|
|
707
|
+
end
|
|
708
|
+
|
|
709
|
+
@adwords_label2 = adwords_label2
|
|
710
|
+
end
|
|
711
|
+
|
|
712
|
+
# Custom attribute writer method with validation
|
|
713
|
+
# @param [Object] adwords_label3 Value to be assigned
|
|
714
|
+
def adwords_label3=(adwords_label3)
|
|
715
|
+
if !adwords_label3.nil? && adwords_label3.to_s.length > 50
|
|
716
|
+
fail ArgumentError, 'invalid value for "adwords_label3", the character length must be smaller than or equal to 50.'
|
|
717
|
+
end
|
|
718
|
+
|
|
719
|
+
@adwords_label3 = adwords_label3
|
|
720
|
+
end
|
|
721
|
+
|
|
722
|
+
# Custom attribute writer method with validation
|
|
723
|
+
# @param [Object] adwords_label4 Value to be assigned
|
|
724
|
+
def adwords_label4=(adwords_label4)
|
|
725
|
+
if !adwords_label4.nil? && adwords_label4.to_s.length > 50
|
|
726
|
+
fail ArgumentError, 'invalid value for "adwords_label4", the character length must be smaller than or equal to 50.'
|
|
727
|
+
end
|
|
728
|
+
|
|
729
|
+
@adwords_label4 = adwords_label4
|
|
730
|
+
end
|
|
731
|
+
|
|
732
|
+
# Custom attribute writer method with validation
|
|
733
|
+
# @param [Object] adwords_label5 Value to be assigned
|
|
734
|
+
def adwords_label5=(adwords_label5)
|
|
735
|
+
if !adwords_label5.nil? && adwords_label5.to_s.length > 50
|
|
736
|
+
fail ArgumentError, 'invalid value for "adwords_label5", the character length must be smaller than or equal to 50.'
|
|
737
|
+
end
|
|
738
|
+
|
|
739
|
+
@adwords_label5 = adwords_label5
|
|
740
|
+
end
|
|
741
|
+
|
|
742
|
+
# Custom attribute writer method with validation
|
|
743
|
+
# @param [Object] age_group Value to be assigned
|
|
744
|
+
def age_group=(age_group)
|
|
745
|
+
if !age_group.nil? && age_group.to_s.length > 5
|
|
746
|
+
fail ArgumentError, 'invalid value for "age_group", the character length must be smaller than or equal to 5.'
|
|
747
|
+
end
|
|
748
|
+
|
|
749
|
+
@age_group = age_group
|
|
750
|
+
end
|
|
751
|
+
|
|
752
|
+
# Custom attribute writer method with validation
|
|
753
|
+
# @param [Object] book_author Value to be assigned
|
|
754
|
+
def book_author=(book_author)
|
|
755
|
+
if !book_author.nil? && book_author.to_s.length > 50
|
|
756
|
+
fail ArgumentError, 'invalid value for "book_author", the character length must be smaller than or equal to 50.'
|
|
757
|
+
end
|
|
758
|
+
|
|
759
|
+
@book_author = book_author
|
|
760
|
+
end
|
|
761
|
+
|
|
762
|
+
# Custom attribute writer method with validation
|
|
763
|
+
# @param [Object] book_format Value to be assigned
|
|
764
|
+
def book_format=(book_format)
|
|
765
|
+
if !book_format.nil? && book_format.to_s.length > 50
|
|
766
|
+
fail ArgumentError, 'invalid value for "book_format", the character length must be smaller than or equal to 50.'
|
|
767
|
+
end
|
|
768
|
+
|
|
769
|
+
@book_format = book_format
|
|
770
|
+
end
|
|
771
|
+
|
|
772
|
+
# Custom attribute writer method with validation
|
|
773
|
+
# @param [Object] book_isbn Value to be assigned
|
|
774
|
+
def book_isbn=(book_isbn)
|
|
775
|
+
if !book_isbn.nil? && book_isbn.to_s.length > 20
|
|
776
|
+
fail ArgumentError, 'invalid value for "book_isbn", the character length must be smaller than or equal to 20.'
|
|
777
|
+
end
|
|
778
|
+
|
|
779
|
+
@book_isbn = book_isbn
|
|
780
|
+
end
|
|
781
|
+
|
|
782
|
+
# Custom attribute writer method with validation
|
|
783
|
+
# @param [Object] book_publisher Value to be assigned
|
|
784
|
+
def book_publisher=(book_publisher)
|
|
785
|
+
if !book_publisher.nil? && book_publisher.to_s.length > 50
|
|
786
|
+
fail ArgumentError, 'invalid value for "book_publisher", the character length must be smaller than or equal to 50.'
|
|
787
|
+
end
|
|
788
|
+
|
|
789
|
+
@book_publisher = book_publisher
|
|
790
|
+
end
|
|
791
|
+
|
|
792
|
+
# Custom attribute writer method with validation
|
|
793
|
+
# @param [Object] category_description Value to be assigned
|
|
794
|
+
def category_description=(category_description)
|
|
795
|
+
if !category_description.nil? && category_description.to_s.length > 1000
|
|
796
|
+
fail ArgumentError, 'invalid value for "category_description", the character length must be smaller than or equal to 1000.'
|
|
797
|
+
end
|
|
798
|
+
|
|
799
|
+
@category_description = category_description
|
|
800
|
+
end
|
|
801
|
+
|
|
802
|
+
# Custom attribute writer method with validation
|
|
803
|
+
# @param [Object] color Value to be assigned
|
|
804
|
+
def color=(color)
|
|
805
|
+
if !color.nil? && color.to_s.length > 20
|
|
806
|
+
fail ArgumentError, 'invalid value for "color", the character length must be smaller than or equal to 20.'
|
|
807
|
+
end
|
|
808
|
+
|
|
809
|
+
@color = color
|
|
810
|
+
end
|
|
811
|
+
|
|
812
|
+
# Custom attribute writer method with validation
|
|
813
|
+
# @param [Object] condition Value to be assigned
|
|
814
|
+
def condition=(condition)
|
|
815
|
+
if !condition.nil? && condition.to_s.length > 15
|
|
816
|
+
fail ArgumentError, 'invalid value for "condition", the character length must be smaller than or equal to 15.'
|
|
817
|
+
end
|
|
818
|
+
|
|
819
|
+
@condition = condition
|
|
820
|
+
end
|
|
821
|
+
|
|
822
|
+
# Custom attribute writer method with validation
|
|
823
|
+
# @param [Object] custom_label0 Value to be assigned
|
|
824
|
+
def custom_label0=(custom_label0)
|
|
825
|
+
if !custom_label0.nil? && custom_label0.to_s.length > 50
|
|
826
|
+
fail ArgumentError, 'invalid value for "custom_label0", the character length must be smaller than or equal to 50.'
|
|
827
|
+
end
|
|
828
|
+
|
|
829
|
+
@custom_label0 = custom_label0
|
|
830
|
+
end
|
|
831
|
+
|
|
832
|
+
# Custom attribute writer method with validation
|
|
833
|
+
# @param [Object] custom_label1 Value to be assigned
|
|
834
|
+
def custom_label1=(custom_label1)
|
|
835
|
+
if !custom_label1.nil? && custom_label1.to_s.length > 50
|
|
836
|
+
fail ArgumentError, 'invalid value for "custom_label1", the character length must be smaller than or equal to 50.'
|
|
837
|
+
end
|
|
838
|
+
|
|
839
|
+
@custom_label1 = custom_label1
|
|
840
|
+
end
|
|
841
|
+
|
|
842
|
+
# Custom attribute writer method with validation
|
|
843
|
+
# @param [Object] custom_label2 Value to be assigned
|
|
844
|
+
def custom_label2=(custom_label2)
|
|
845
|
+
if !custom_label2.nil? && custom_label2.to_s.length > 50
|
|
846
|
+
fail ArgumentError, 'invalid value for "custom_label2", the character length must be smaller than or equal to 50.'
|
|
847
|
+
end
|
|
848
|
+
|
|
849
|
+
@custom_label2 = custom_label2
|
|
850
|
+
end
|
|
851
|
+
|
|
852
|
+
# Custom attribute writer method with validation
|
|
853
|
+
# @param [Object] custom_label3 Value to be assigned
|
|
854
|
+
def custom_label3=(custom_label3)
|
|
855
|
+
if !custom_label3.nil? && custom_label3.to_s.length > 50
|
|
856
|
+
fail ArgumentError, 'invalid value for "custom_label3", the character length must be smaller than or equal to 50.'
|
|
857
|
+
end
|
|
858
|
+
|
|
859
|
+
@custom_label3 = custom_label3
|
|
860
|
+
end
|
|
861
|
+
|
|
862
|
+
# Custom attribute writer method with validation
|
|
863
|
+
# @param [Object] custom_label4 Value to be assigned
|
|
864
|
+
def custom_label4=(custom_label4)
|
|
865
|
+
if !custom_label4.nil? && custom_label4.to_s.length > 50
|
|
866
|
+
fail ArgumentError, 'invalid value for "custom_label4", the character length must be smaller than or equal to 50.'
|
|
867
|
+
end
|
|
868
|
+
|
|
869
|
+
@custom_label4 = custom_label4
|
|
870
|
+
end
|
|
871
|
+
|
|
872
|
+
# Custom attribute writer method with validation
|
|
873
|
+
# @param [Object] gender Value to be assigned
|
|
874
|
+
def gender=(gender)
|
|
875
|
+
if !gender.nil? && gender.to_s.length > 6
|
|
876
|
+
fail ArgumentError, 'invalid value for "gender", the character length must be smaller than or equal to 6.'
|
|
877
|
+
end
|
|
878
|
+
|
|
879
|
+
@gender = gender
|
|
880
|
+
end
|
|
881
|
+
|
|
882
|
+
# Custom attribute writer method with validation
|
|
883
|
+
# @param [Object] google_product_category Value to be assigned
|
|
884
|
+
def google_product_category=(google_product_category)
|
|
885
|
+
if !google_product_category.nil? && google_product_category.to_s.length > 250
|
|
886
|
+
fail ArgumentError, 'invalid value for "google_product_category", the character length must be smaller than or equal to 250.'
|
|
887
|
+
end
|
|
888
|
+
|
|
889
|
+
@google_product_category = google_product_category
|
|
890
|
+
end
|
|
891
|
+
|
|
892
|
+
# Custom attribute writer method with validation
|
|
893
|
+
# @param [Object] music_artist Value to be assigned
|
|
894
|
+
def music_artist=(music_artist)
|
|
895
|
+
if !music_artist.nil? && music_artist.to_s.length > 50
|
|
896
|
+
fail ArgumentError, 'invalid value for "music_artist", the character length must be smaller than or equal to 50.'
|
|
897
|
+
end
|
|
898
|
+
|
|
899
|
+
@music_artist = music_artist
|
|
900
|
+
end
|
|
901
|
+
|
|
902
|
+
# Custom attribute writer method with validation
|
|
903
|
+
# @param [Object] music_format Value to be assigned
|
|
904
|
+
def music_format=(music_format)
|
|
905
|
+
if !music_format.nil? && music_format.to_s.length > 5
|
|
906
|
+
fail ArgumentError, 'invalid value for "music_format", the character length must be smaller than or equal to 5.'
|
|
907
|
+
end
|
|
908
|
+
|
|
909
|
+
@music_format = music_format
|
|
910
|
+
end
|
|
911
|
+
|
|
912
|
+
# Custom attribute writer method with validation
|
|
913
|
+
# @param [Object] product_type Value to be assigned
|
|
914
|
+
def product_type=(product_type)
|
|
915
|
+
if !product_type.nil? && product_type.to_s.length > 10
|
|
916
|
+
fail ArgumentError, 'invalid value for "product_type", the character length must be smaller than or equal to 10.'
|
|
917
|
+
end
|
|
918
|
+
|
|
919
|
+
@product_type = product_type
|
|
920
|
+
end
|
|
921
|
+
|
|
922
|
+
# Custom attribute writer method with validation
|
|
923
|
+
# @param [Object] promotion_id1 Value to be assigned
|
|
924
|
+
def promotion_id1=(promotion_id1)
|
|
925
|
+
if !promotion_id1.nil? && promotion_id1.to_s.length > 30
|
|
926
|
+
fail ArgumentError, 'invalid value for "promotion_id1", the character length must be smaller than or equal to 30.'
|
|
927
|
+
end
|
|
928
|
+
|
|
929
|
+
@promotion_id1 = promotion_id1
|
|
930
|
+
end
|
|
931
|
+
|
|
932
|
+
# Custom attribute writer method with validation
|
|
933
|
+
# @param [Object] promotion_id10 Value to be assigned
|
|
934
|
+
def promotion_id10=(promotion_id10)
|
|
935
|
+
if !promotion_id10.nil? && promotion_id10.to_s.length > 30
|
|
936
|
+
fail ArgumentError, 'invalid value for "promotion_id10", the character length must be smaller than or equal to 30.'
|
|
937
|
+
end
|
|
938
|
+
|
|
939
|
+
@promotion_id10 = promotion_id10
|
|
940
|
+
end
|
|
941
|
+
|
|
942
|
+
# Custom attribute writer method with validation
|
|
943
|
+
# @param [Object] promotion_id2 Value to be assigned
|
|
944
|
+
def promotion_id2=(promotion_id2)
|
|
945
|
+
if !promotion_id2.nil? && promotion_id2.to_s.length > 30
|
|
946
|
+
fail ArgumentError, 'invalid value for "promotion_id2", the character length must be smaller than or equal to 30.'
|
|
947
|
+
end
|
|
948
|
+
|
|
949
|
+
@promotion_id2 = promotion_id2
|
|
950
|
+
end
|
|
951
|
+
|
|
952
|
+
# Custom attribute writer method with validation
|
|
953
|
+
# @param [Object] promotion_id3 Value to be assigned
|
|
954
|
+
def promotion_id3=(promotion_id3)
|
|
955
|
+
if !promotion_id3.nil? && promotion_id3.to_s.length > 30
|
|
956
|
+
fail ArgumentError, 'invalid value for "promotion_id3", the character length must be smaller than or equal to 30.'
|
|
957
|
+
end
|
|
958
|
+
|
|
959
|
+
@promotion_id3 = promotion_id3
|
|
960
|
+
end
|
|
961
|
+
|
|
962
|
+
# Custom attribute writer method with validation
|
|
963
|
+
# @param [Object] promotion_id4 Value to be assigned
|
|
964
|
+
def promotion_id4=(promotion_id4)
|
|
965
|
+
if !promotion_id4.nil? && promotion_id4.to_s.length > 30
|
|
966
|
+
fail ArgumentError, 'invalid value for "promotion_id4", the character length must be smaller than or equal to 30.'
|
|
967
|
+
end
|
|
968
|
+
|
|
969
|
+
@promotion_id4 = promotion_id4
|
|
970
|
+
end
|
|
971
|
+
|
|
972
|
+
# Custom attribute writer method with validation
|
|
973
|
+
# @param [Object] promotion_id5 Value to be assigned
|
|
974
|
+
def promotion_id5=(promotion_id5)
|
|
975
|
+
if !promotion_id5.nil? && promotion_id5.to_s.length > 30
|
|
976
|
+
fail ArgumentError, 'invalid value for "promotion_id5", the character length must be smaller than or equal to 30.'
|
|
977
|
+
end
|
|
978
|
+
|
|
979
|
+
@promotion_id5 = promotion_id5
|
|
980
|
+
end
|
|
981
|
+
|
|
982
|
+
# Custom attribute writer method with validation
|
|
983
|
+
# @param [Object] promotion_id6 Value to be assigned
|
|
984
|
+
def promotion_id6=(promotion_id6)
|
|
985
|
+
if !promotion_id6.nil? && promotion_id6.to_s.length > 30
|
|
986
|
+
fail ArgumentError, 'invalid value for "promotion_id6", the character length must be smaller than or equal to 30.'
|
|
987
|
+
end
|
|
988
|
+
|
|
989
|
+
@promotion_id6 = promotion_id6
|
|
990
|
+
end
|
|
991
|
+
|
|
992
|
+
# Custom attribute writer method with validation
|
|
993
|
+
# @param [Object] promotion_id7 Value to be assigned
|
|
994
|
+
def promotion_id7=(promotion_id7)
|
|
995
|
+
if !promotion_id7.nil? && promotion_id7.to_s.length > 30
|
|
996
|
+
fail ArgumentError, 'invalid value for "promotion_id7", the character length must be smaller than or equal to 30.'
|
|
997
|
+
end
|
|
998
|
+
|
|
999
|
+
@promotion_id7 = promotion_id7
|
|
1000
|
+
end
|
|
1001
|
+
|
|
1002
|
+
# Custom attribute writer method with validation
|
|
1003
|
+
# @param [Object] promotion_id8 Value to be assigned
|
|
1004
|
+
def promotion_id8=(promotion_id8)
|
|
1005
|
+
if !promotion_id8.nil? && promotion_id8.to_s.length > 30
|
|
1006
|
+
fail ArgumentError, 'invalid value for "promotion_id8", the character length must be smaller than or equal to 30.'
|
|
1007
|
+
end
|
|
1008
|
+
|
|
1009
|
+
@promotion_id8 = promotion_id8
|
|
1010
|
+
end
|
|
1011
|
+
|
|
1012
|
+
# Custom attribute writer method with validation
|
|
1013
|
+
# @param [Object] promotion_id9 Value to be assigned
|
|
1014
|
+
def promotion_id9=(promotion_id9)
|
|
1015
|
+
if !promotion_id9.nil? && promotion_id9.to_s.length > 30
|
|
1016
|
+
fail ArgumentError, 'invalid value for "promotion_id9", the character length must be smaller than or equal to 30.'
|
|
1017
|
+
end
|
|
1018
|
+
|
|
1019
|
+
@promotion_id9 = promotion_id9
|
|
1020
|
+
end
|
|
1021
|
+
|
|
1022
|
+
# Custom attribute writer method with validation
|
|
1023
|
+
# @param [Object] search_lowest_url Value to be assigned
|
|
1024
|
+
def search_lowest_url=(search_lowest_url)
|
|
1025
|
+
if !search_lowest_url.nil? && search_lowest_url.to_s.length > 250
|
|
1026
|
+
fail ArgumentError, 'invalid value for "search_lowest_url", the character length must be smaller than or equal to 250.'
|
|
1027
|
+
end
|
|
1028
|
+
|
|
1029
|
+
@search_lowest_url = search_lowest_url
|
|
1030
|
+
end
|
|
1031
|
+
|
|
1032
|
+
# Custom attribute writer method with validation
|
|
1033
|
+
# @param [Object] size Value to be assigned
|
|
1034
|
+
def size=(size)
|
|
1035
|
+
if !size.nil? && size.to_s.length > 20
|
|
1036
|
+
fail ArgumentError, 'invalid value for "size", the character length must be smaller than or equal to 20.'
|
|
1037
|
+
end
|
|
1038
|
+
|
|
1039
|
+
@size = size
|
|
1040
|
+
end
|
|
1041
|
+
|
|
1042
|
+
# Custom attribute writer method with validation
|
|
1043
|
+
# @param [Object] video_director Value to be assigned
|
|
1044
|
+
def video_director=(video_director)
|
|
1045
|
+
if !video_director.nil? && video_director.to_s.length > 50
|
|
1046
|
+
fail ArgumentError, 'invalid value for "video_director", the character length must be smaller than or equal to 50.'
|
|
1047
|
+
end
|
|
1048
|
+
|
|
1049
|
+
@video_director = video_director
|
|
1050
|
+
end
|
|
1051
|
+
|
|
1052
|
+
# Custom attribute writer method with validation
|
|
1053
|
+
# @param [Object] video_format Value to be assigned
|
|
1054
|
+
def video_format=(video_format)
|
|
1055
|
+
if !video_format.nil? && video_format.to_s.length > 5
|
|
1056
|
+
fail ArgumentError, 'invalid value for "video_format", the character length must be smaller than or equal to 5.'
|
|
1057
|
+
end
|
|
1058
|
+
|
|
1059
|
+
@video_format = video_format
|
|
1060
|
+
end
|
|
1061
|
+
|
|
1062
|
+
# Custom attribute writer method with validation
|
|
1063
|
+
# @param [Object] video_rating Value to be assigned
|
|
1064
|
+
def video_rating=(video_rating)
|
|
1065
|
+
if !video_rating.nil? && video_rating.to_s.length > 5
|
|
1066
|
+
fail ArgumentError, 'invalid value for "video_rating", the character length must be smaller than or equal to 5.'
|
|
1067
|
+
end
|
|
1068
|
+
|
|
1069
|
+
@video_rating = video_rating
|
|
1070
|
+
end
|
|
1071
|
+
|
|
1072
|
+
# Custom attribute writer method with validation
|
|
1073
|
+
# @param [Object] video_starring Value to be assigned
|
|
1074
|
+
def video_starring=(video_starring)
|
|
1075
|
+
if !video_starring.nil? && video_starring.to_s.length > 150
|
|
1076
|
+
fail ArgumentError, 'invalid value for "video_starring", the character length must be smaller than or equal to 150.'
|
|
1077
|
+
end
|
|
1078
|
+
|
|
1079
|
+
@video_starring = video_starring
|
|
1080
|
+
end
|
|
1081
|
+
|
|
1082
|
+
# Checks equality by comparing each attribute.
|
|
1083
|
+
# @param [Object] Object to be compared
|
|
1084
|
+
def ==(o)
|
|
1085
|
+
return true if self.equal?(o)
|
|
1086
|
+
self.class == o.class &&
|
|
1087
|
+
adwords_grouping == o.adwords_grouping &&
|
|
1088
|
+
adwords_label1 == o.adwords_label1 &&
|
|
1089
|
+
adwords_label2 == o.adwords_label2 &&
|
|
1090
|
+
adwords_label3 == o.adwords_label3 &&
|
|
1091
|
+
adwords_label4 == o.adwords_label4 &&
|
|
1092
|
+
adwords_label5 == o.adwords_label5 &&
|
|
1093
|
+
age_group == o.age_group &&
|
|
1094
|
+
available_at_physical_store == o.available_at_physical_store &&
|
|
1095
|
+
book_author == o.book_author &&
|
|
1096
|
+
book_format == o.book_format &&
|
|
1097
|
+
book_isbn == o.book_isbn &&
|
|
1098
|
+
book_publisher == o.book_publisher &&
|
|
1099
|
+
category_description == o.category_description &&
|
|
1100
|
+
color == o.color &&
|
|
1101
|
+
condition == o.condition &&
|
|
1102
|
+
custom_label0 == o.custom_label0 &&
|
|
1103
|
+
custom_label1 == o.custom_label1 &&
|
|
1104
|
+
custom_label2 == o.custom_label2 &&
|
|
1105
|
+
custom_label3 == o.custom_label3 &&
|
|
1106
|
+
custom_label4 == o.custom_label4 &&
|
|
1107
|
+
gender == o.gender &&
|
|
1108
|
+
google_product_category == o.google_product_category &&
|
|
1109
|
+
music_artist == o.music_artist &&
|
|
1110
|
+
music_format == o.music_format &&
|
|
1111
|
+
music_release_date == o.music_release_date &&
|
|
1112
|
+
omit_from_feed == o.omit_from_feed &&
|
|
1113
|
+
product_type == o.product_type &&
|
|
1114
|
+
promotion_id1 == o.promotion_id1 &&
|
|
1115
|
+
promotion_id10 == o.promotion_id10 &&
|
|
1116
|
+
promotion_id2 == o.promotion_id2 &&
|
|
1117
|
+
promotion_id3 == o.promotion_id3 &&
|
|
1118
|
+
promotion_id4 == o.promotion_id4 &&
|
|
1119
|
+
promotion_id5 == o.promotion_id5 &&
|
|
1120
|
+
promotion_id6 == o.promotion_id6 &&
|
|
1121
|
+
promotion_id7 == o.promotion_id7 &&
|
|
1122
|
+
promotion_id8 == o.promotion_id8 &&
|
|
1123
|
+
promotion_id9 == o.promotion_id9 &&
|
|
1124
|
+
search_dts == o.search_dts &&
|
|
1125
|
+
search_lowest_price == o.search_lowest_price &&
|
|
1126
|
+
search_lowest_url == o.search_lowest_url &&
|
|
1127
|
+
search_position == o.search_position &&
|
|
1128
|
+
shipping_label == o.shipping_label &&
|
|
1129
|
+
size == o.size &&
|
|
1130
|
+
video_director == o.video_director &&
|
|
1131
|
+
video_format == o.video_format &&
|
|
1132
|
+
video_rating == o.video_rating &&
|
|
1133
|
+
video_release_date == o.video_release_date &&
|
|
1134
|
+
video_starring == o.video_starring
|
|
1135
|
+
end
|
|
1136
|
+
|
|
1137
|
+
# @see the `==` method
|
|
1138
|
+
# @param [Object] Object to be compared
|
|
1139
|
+
def eql?(o)
|
|
1140
|
+
self == o
|
|
1141
|
+
end
|
|
1142
|
+
|
|
1143
|
+
# Calculates hash code according to all attributes.
|
|
1144
|
+
# @return [Fixnum] Hash code
|
|
1145
|
+
def hash
|
|
1146
|
+
[adwords_grouping, adwords_label1, adwords_label2, adwords_label3, adwords_label4, adwords_label5, age_group, available_at_physical_store, book_author, book_format, book_isbn, book_publisher, category_description, color, condition, custom_label0, custom_label1, custom_label2, custom_label3, custom_label4, gender, google_product_category, music_artist, music_format, music_release_date, omit_from_feed, product_type, promotion_id1, promotion_id10, promotion_id2, promotion_id3, promotion_id4, promotion_id5, promotion_id6, promotion_id7, promotion_id8, promotion_id9, search_dts, search_lowest_price, search_lowest_url, search_position, shipping_label, size, video_director, video_format, video_rating, video_release_date, video_starring].hash
|
|
1147
|
+
end
|
|
1148
|
+
|
|
1149
|
+
# Builds the object from hash
|
|
1150
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
1151
|
+
# @return [Object] Returns the model itself
|
|
1152
|
+
def build_from_hash(attributes)
|
|
1153
|
+
return nil unless attributes.is_a?(Hash)
|
|
1154
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
1155
|
+
if type =~ /\AArray<(.*)>/i
|
|
1156
|
+
# check to ensure the input is an array given that the attribute
|
|
1157
|
+
# is documented as an array but the input is not
|
|
1158
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
1159
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
1160
|
+
end
|
|
1161
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
1162
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
1163
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
1164
|
+
end
|
|
1165
|
+
|
|
1166
|
+
self
|
|
1167
|
+
end
|
|
1168
|
+
|
|
1169
|
+
# Deserializes the data based on type
|
|
1170
|
+
# @param string type Data type
|
|
1171
|
+
# @param string value Value to be deserialized
|
|
1172
|
+
# @return [Object] Deserialized data
|
|
1173
|
+
def _deserialize(type, value)
|
|
1174
|
+
case type.to_sym
|
|
1175
|
+
when :DateTime
|
|
1176
|
+
DateTime.parse(value)
|
|
1177
|
+
when :Date
|
|
1178
|
+
Date.parse(value)
|
|
1179
|
+
when :String
|
|
1180
|
+
value.to_s
|
|
1181
|
+
when :Integer
|
|
1182
|
+
value.to_i
|
|
1183
|
+
when :Float
|
|
1184
|
+
value.to_f
|
|
1185
|
+
when :BOOLEAN
|
|
1186
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
1187
|
+
true
|
|
1188
|
+
else
|
|
1189
|
+
false
|
|
1190
|
+
end
|
|
1191
|
+
when :Object
|
|
1192
|
+
# generic object (usually a Hash), return directly
|
|
1193
|
+
value
|
|
1194
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
1195
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
1196
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
1197
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
1198
|
+
k_type = Regexp.last_match[:k_type]
|
|
1199
|
+
v_type = Regexp.last_match[:v_type]
|
|
1200
|
+
{}.tap do |hash|
|
|
1201
|
+
value.each do |k, v|
|
|
1202
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
1203
|
+
end
|
|
1204
|
+
end
|
|
1205
|
+
else # model
|
|
1206
|
+
temp_model = UltracartClient.const_get(type).new
|
|
1207
|
+
temp_model.build_from_hash(value)
|
|
1208
|
+
end
|
|
1209
|
+
end
|
|
1210
|
+
|
|
1211
|
+
# Returns the string representation of the object
|
|
1212
|
+
# @return [String] String presentation of the object
|
|
1213
|
+
def to_s
|
|
1214
|
+
to_hash.to_s
|
|
1215
|
+
end
|
|
1216
|
+
|
|
1217
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
1218
|
+
# @return [Hash] Returns the object in the form of hash
|
|
1219
|
+
def to_body
|
|
1220
|
+
to_hash
|
|
1221
|
+
end
|
|
1222
|
+
|
|
1223
|
+
# Returns the object in the form of hash
|
|
1224
|
+
# @return [Hash] Returns the object in the form of hash
|
|
1225
|
+
def to_hash
|
|
1226
|
+
hash = {}
|
|
1227
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
1228
|
+
value = self.send(attr)
|
|
1229
|
+
next if value.nil?
|
|
1230
|
+
hash[param] = _to_hash(value)
|
|
1231
|
+
end
|
|
1232
|
+
hash
|
|
1233
|
+
end
|
|
1234
|
+
|
|
1235
|
+
# Outputs non-array value in the form of hash
|
|
1236
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
1237
|
+
# @param [Object] value Any valid value
|
|
1238
|
+
# @return [Hash] Returns the value in the form of hash
|
|
1239
|
+
def _to_hash(value)
|
|
1240
|
+
if value.is_a?(Array)
|
|
1241
|
+
value.compact.map { |v| _to_hash(v) }
|
|
1242
|
+
elsif value.is_a?(Hash)
|
|
1243
|
+
{}.tap do |hash|
|
|
1244
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
1245
|
+
end
|
|
1246
|
+
elsif value.respond_to? :to_hash
|
|
1247
|
+
value.to_hash
|
|
1248
|
+
else
|
|
1249
|
+
value
|
|
1250
|
+
end
|
|
1251
|
+
end
|
|
1252
|
+
|
|
1253
|
+
end
|
|
1254
|
+
end
|