From c28e4e8eb8f2f13243bd1e1db2631b535439f7ff Mon Sep 17 00:00:00 2001 From: Thomas De Meyer Date: Tue, 14 Jan 2025 13:29:29 +0100 Subject: [PATCH] feat: upgraded to 7.6.1 --- .changes/header.tpl.md | 6 + .changes/unreleased/.gitkeep | 0 .../unreleased/Changed-20250114-115640.yaml | 3 + .changie.yaml | 26 + .github/workflows/dependabot-changie.yaml | 36 + .github/workflows/release.yaml | 33 + .github/workflows/{tests.yml => tests.yaml} | 2 +- .github/workflows/triage.yaml | 24 + .gitignore | 2 + .openapi-generator-ignore | 4 +- CHANGELOG.md | 9 + LICENSE | 394 +- Makefile | 19 - README.md | 2 +- Taskfile.yml | 47 + api/.openapi-generator/FILES | 321 +- api/README.md | 147 +- api/api/openapi.yaml | 77176 ---------------- api/api_addresses.go | 2 +- api/api_adjustments.go | 2 +- api/api_adyen_gateways.go | 2 +- api/api_adyen_payments.go | 2 +- api/api_application.go | 2 +- api/api_attachments.go | 94 +- api/api_authorizations.go | 2 +- api/api_avalara_accounts.go | 2 +- api/api_axerve_gateways.go | 2 +- api/api_axerve_payments.go | 2 +- api/api_billing_info_validation_rules.go | 546 - api/api_bing_geocoders.go | 2 +- api/api_braintree_gateways.go | 2 +- api/api_braintree_payments.go | 2 +- api/api_bundles.go | 2 +- api/api_buy_x_pay_y_promotions.go | 2 +- api/api_captures.go | 2 +- api/api_carrier_accounts.go | 2 +- api/api_checkout_com_gateways.go | 2 +- api/api_checkout_com_payments.go | 2 +- api/api_cleanups.go | 2 +- api/api_coupon_codes_promotion_rules.go | 2 +- api/api_coupon_recipients.go | 2 +- api/api_coupons.go | 2 +- api/api_custom_promotion_rules.go | 2 +- api/api_customer_addresses.go | 2 +- api/api_customer_groups.go | 2 +- api/api_customer_password_resets.go | 2 +- api/api_customer_payment_sources.go | 2 +- api/api_customer_subscriptions.go | 2 +- api/api_customers.go | 2 +- api/api_delivery_lead_times.go | 2 +- api/api_event_callbacks.go | 2 +- api/api_events.go | 94 +- api/api_exports.go | 2 +- api/api_external_gateways.go | 2 +- api/api_external_payments.go | 2 +- api/api_external_promotions.go | 2 +- api/api_external_tax_calculators.go | 2 +- api/api_fixed_amount_promotions.go | 2 +- api/api_fixed_price_promotions.go | 2 +- api/api_flex_promotions.go | 2 +- api/api_free_gift_promotions.go | 2 +- api/api_free_shipping_promotions.go | 2 +- api/api_geocoders.go | 2 +- api/api_gift_card_recipients.go | 2 +- api/api_gift_cards.go | 2 +- api/api_google_geocoders.go | 2 +- api/api_has_many.go | 1056 +- api/api_has_one.go | 554 +- api/api_imports.go | 2 +- api/api_in_stock_subscriptions.go | 2 +- api/api_inventory_models.go | 2 +- api/api_inventory_return_locations.go | 2 +- api/api_inventory_stock_locations.go | 2 +- api/api_klarna_gateways.go | 2 +- api/api_klarna_payments.go | 2 +- api/api_line_item_options.go | 2 +- api/api_line_items.go | 2 +- api/api_links.go | 2 +- api/api_manual_gateways.go | 2 +- api/api_manual_tax_calculators.go | 2 +- api/api_markets.go | 186 +- api/api_merchants.go | 94 +- api/api_notifications.go | 730 + api/api_order_amount_promotion_rules.go | 2 +- api/api_order_copies.go | 2 +- api/api_order_factories.go | 2 +- api/api_order_subscription_items.go | 2 +- api/api_order_subscriptions.go | 2 +- api/api_orders.go | 186 +- api/api_organization.go | 2 +- api/api_packages.go | 2 +- api/api_parcel_line_items.go | 2 +- api/api_parcels.go | 2 +- api/api_payment_gateways.go | 2 +- api/api_payment_methods.go | 94 +- api/api_payment_options.go | 2 +- api/api_paypal_gateways.go | 2 +- api/api_paypal_payments.go | 2 +- api/api_percentage_discount_promotions.go | 2 +- api/api_price_frequency_tiers.go | 2 +- api/api_price_list_schedulers.go | 2 +- api/api_price_lists.go | 2 +- api/api_price_tiers.go | 2 +- api/api_price_volume_tiers.go | 2 +- api/api_prices.go | 2 +- api/api_promotion_rules.go | 2 +- api/api_promotions.go | 2 +- api/api_recurring_order_copies.go | 2 +- api/api_refunds.go | 2 +- api/api_reserved_stocks.go | 2 +- api/api_resource_errors.go | 2 +- api/api_return_line_items.go | 2 +- api/api_returns.go | 2 +- api/api_satispay_gateways.go | 2 +- api/api_satispay_payments.go | 2 +- api/api_shipments.go | 2 +- api/api_shipping_categories.go | 2 +- api/api_shipping_method_tiers.go | 2 +- api/api_shipping_methods.go | 2 +- api/api_shipping_weight_tiers.go | 2 +- api/api_shipping_zones.go | 2 +- api/api_singleton.go | 2 +- api/api_sku_list_items.go | 2 +- api/api_sku_list_promotion_rules.go | 2 +- api/api_sku_lists.go | 2 +- api/api_sku_options.go | 2 +- api/api_skus.go | 2 +- api/api_stock_items.go | 2 +- api/api_stock_line_items.go | 2 +- api/api_stock_locations.go | 94 +- api/api_stock_reservations.go | 2 +- api/api_stock_transfers.go | 2 +- api/api_stores.go | 914 + api/api_stripe_gateways.go | 2 +- api/api_stripe_payments.go | 2 +- api/api_subscription_models.go | 2 +- api/api_tags.go | 2 +- api/api_tax_calculators.go | 2 +- api/api_tax_categories.go | 2 +- api/api_tax_rules.go | 2 +- api/api_taxjar_accounts.go | 2 +- api/api_transactions.go | 2 +- api/api_versions.go | 186 +- api/api_voids.go | 2 +- api/api_webhooks.go | 2 +- api/api_wire_transfers.go | 2 +- api/client.go | 13 +- api/configuration.go | 2 +- api/docs/AddressesApi.md | 34 +- api/docs/AdjustmentsApi.md | 10 +- api/docs/AdyenGatewaysApi.md | 10 +- api/docs/AdyenPaymentsApi.md | 12 +- api/docs/ApplicationApi.md | 2 +- api/docs/AttachmentsApi.md | 195 +- api/docs/AuthorizationDataRelationships.md | 26 + ...orizationDataRelationshipsPaymentSource.md | 56 + ...tionDataRelationshipsPaymentSourceData.md} | 38 +- api/docs/AuthorizationsApi.md | 12 +- api/docs/AvalaraAccountsApi.md | 10 +- api/docs/AxerveGatewaysApi.md | 10 +- api/docs/AxervePaymentsApi.md | 12 +- .../BillingInfoValidationRuleCreateData.md | 108 - ...foValidationRuleCreateDataRelationships.md | 51 - ...dationRuleCreateDataRelationshipsMarket.md | 51 - api/docs/BillingInfoValidationRuleData.md | 108 - .../BillingInfoValidationRuleUpdateData.md | 139 - ...foValidationRuleUpdateDataRelationships.md | 56 - api/docs/BillingInfoValidationRulesApi.md | 350 - api/docs/BingGeocodersApi.md | 10 +- api/docs/BraintreeGatewaysApi.md | 10 +- api/docs/BraintreePaymentsApi.md | 12 +- api/docs/BundleCreateDataRelationships.md | 8 +- .../BundleCreateDataRelationshipsMarket.md | 51 + api/docs/BundlesApi.md | 14 +- ...uyXPayYPromotionCreateDataRelationships.md | 8 +- ...uyXPayYPromotionUpdateDataRelationships.md | 8 +- api/docs/BuyXPayYPromotionsApi.md | 10 +- api/docs/CaptureDataRelationships.md | 26 + api/docs/CapturesApi.md | 14 +- api/docs/CarrierAccountCreateData.md | 8 +- .../CarrierAccountCreateDataRelationships.md | 56 + api/docs/CarrierAccountData.md | 8 +- ....md => CarrierAccountDataRelationships.md} | 38 +- api/docs/CarrierAccountUpdateData.md | 8 +- api/docs/CarrierAccountsApi.md | 12 +- api/docs/CheckoutComGatewaysApi.md | 10 +- api/docs/CheckoutComPaymentsApi.md | 12 +- api/docs/CleanupUpdateData.md | 10 +- api/docs/CleanupsApi.md | 12 +- .../CouponCodesPromotionRuleUpdateData.md | 10 +- api/docs/CouponCodesPromotionRulesApi.md | 32 +- api/docs/CouponRecipientsApi.md | 12 +- api/docs/CouponsApi.md | 30 +- api/docs/CustomPromotionRulesApi.md | 26 +- api/docs/CustomerAddressUpdateData.md | 10 +- api/docs/CustomerAddressesApi.md | 14 +- api/docs/CustomerGroupsApi.md | 14 +- api/docs/CustomerPasswordResetsApi.md | 10 +- ...rceCreateDataRelationshipsPaymentSource.md | 10 +- .../CustomerPaymentSourceDataRelationships.md | 8 +- ...entSourceDataRelationshipsPaymentSource.md | 56 - api/docs/CustomerPaymentSourcesApi.md | 18 +- api/docs/CustomerSubscriptionsApi.md | 12 +- api/docs/CustomersApi.md | 38 +- api/docs/DeliveryLeadTimesApi.md | 16 +- api/docs/EventCallbacksApi.md | 8 +- api/docs/EventsApi.md | 163 +- api/docs/ExportUpdateData.md | 10 +- api/docs/ExportsApi.md | 12 +- api/docs/ExternalGatewaysApi.md | 10 +- api/docs/ExternalPaymentsApi.md | 12 +- api/docs/ExternalPromotionsApi.md | 10 +- api/docs/ExternalTaxCalculatorsApi.md | 10 +- api/docs/FixedAmountPromotionsApi.md | 10 +- api/docs/FixedPricePromotionsApi.md | 10 +- api/docs/FlexPromotionsApi.md | 10 +- api/docs/FreeGiftPromotionsApi.md | 10 +- api/docs/FreeShippingPromotionsApi.md | 10 +- ...orizationId200ResponseDataRelationships.md | 26 + ...0ResponseDataRelationshipsPaymentSource.md | 82 + ...ponseDataRelationshipsPaymentSourceData.md | 102 + ...sBillingInfoValidationRuleId200Response.md | 56 - ...lingInfoValidationRuleId200ResponseData.md | 180 - ...lidationRuleId200ResponseDataAttributes.md | 246 - ...esCaptureId200ResponseDataRelationships.md | 26 + ...AccountsCarrierAccountId200ResponseData.md | 8 +- ...mersCustomerId200ResponseDataAttributes.md | 36 + ...xportsExportId200ResponseDataAttributes.md | 74 +- ...lexPromotionId200ResponseDataAttributes.md | 36 + ...temsLineItemId200ResponseDataAttributes.md | 4 +- ...onse.md => GETNotifications200Response.md} | 26 +- ...TNotificationsNotificationId200Response.md | 56 + ...ficationsNotificationId200ResponseData.md} | 66 +- ...NotificationId200ResponseDataAttributes.md | 318 + ...iesOrderCopyId200ResponseDataAttributes.md | 36 + ...TOrdersOrderId200ResponseDataAttributes.md | 2 +- ...OrganizationId200ResponseDataAttributes.md | 288 + ...stsPriceListId200ResponseDataAttributes.md | 36 + ...TPricesPriceId200ResponseDataAttributes.md | 36 + ...ndsRefundId200ResponseDataRelationships.md | 26 + ...ShippingZoneId200ResponseDataAttributes.md | 12 +- ...ListsSkuListId200ResponseDataAttributes.md | 2 +- ...onsSkuOptionId200ResponseDataAttributes.md | 2 +- ...tockTransferId200ResponseDataAttributes.md | 2 +- api/docs/GETStores200Response.md | 66 + api/docs/GETStoresStoreId200Response.md | 56 + api/docs/GETStoresStoreId200ResponseData.md | 180 + ...TStoresStoreId200ResponseDataAttributes.md | 282 + ...RulesTaxRuleId200ResponseDataAttributes.md | 362 +- ...ansactionId200ResponseDataRelationships.md | 26 + ...VoidsVoidId200ResponseDataRelationships.md | 26 + api/docs/GeocodersApi.md | 8 +- api/docs/GiftCardCreateDataRelationships.md | 8 +- api/docs/GiftCardRecipientsApi.md | 12 +- api/docs/GiftCardsApi.md | 10 +- api/docs/GoogleGeocodersApi.md | 10 +- api/docs/HasManyApi.md | 1507 +- api/docs/HasOneApi.md | 838 +- api/docs/ImportUpdateData.md | 10 +- api/docs/ImportsApi.md | 12 +- ...tockSubscriptionCreateDataRelationships.md | 10 +- ...tockSubscriptionUpdateDataRelationships.md | 8 +- api/docs/InStockSubscriptionsApi.md | 10 +- api/docs/InventoryModelsApi.md | 16 +- api/docs/InventoryReturnLocationsApi.md | 14 +- api/docs/InventoryStockLocationsApi.md | 16 +- api/docs/KlarnaGatewaysApi.md | 10 +- api/docs/KlarnaPaymentsApi.md | 12 +- api/docs/LineItemDataRelationships.md | 26 + .../LineItemDataRelationshipsNotifications.md | 56 + ...eItemDataRelationshipsNotificationsData.md | 102 + api/docs/LineItemOptionsApi.md | 14 +- api/docs/LineItemsApi.md | 26 +- api/docs/LinksApi.md | 16 +- api/docs/ManualGatewaysApi.md | 10 +- api/docs/ManualTaxCalculatorsApi.md | 12 +- api/docs/MarketDataRelationships.md | 26 + api/docs/MarketDataRelationshipsStores.md | 56 + api/docs/MarketDataRelationshipsStoresData.md | 102 + api/docs/MarketsApi.md | 208 +- api/docs/MerchantsApi.md | 81 +- ...gInfoValidationRule.md => Notification.md} | 24 +- ...ionRuleCreate.md => NotificationCreate.md} | 22 +- api/docs/NotificationCreateData.md | 108 + .../NotificationCreateDataRelationships.md | 51 + ...cationCreateDataRelationshipsNotifiable.md | 51 + api/docs/NotificationData.md | 108 + api/docs/NotificationDataRelationships.md | 56 + ...NotificationDataRelationshipsNotifiable.md | 56 + ...ficationDataRelationshipsNotifiableData.md | 102 + ...ionRuleUpdate.md => NotificationUpdate.md} | 22 +- api/docs/NotificationUpdateData.md | 139 + .../NotificationUpdateDataRelationships.md | 56 + api/docs/NotificationsApi.md | 488 + api/docs/OrderAmountPromotionRulesApi.md | 26 +- api/docs/OrderCopiesApi.md | 14 +- api/docs/OrderCopyUpdateData.md | 10 +- api/docs/OrderCreateDataRelationships.md | 34 +- api/docs/OrderCreateDataRelationshipsStore.md | 51 + api/docs/OrderDataRelationships.md | 60 +- api/docs/OrderFactoriesApi.md | 8 +- ...rderSubscriptionCreateDataRelationships.md | 8 +- api/docs/OrderSubscriptionItemsApi.md | 12 +- api/docs/OrderSubscriptionsApi.md | 24 +- api/docs/OrdersApi.md | 206 +- api/docs/OrganizationApi.md | 2 +- ...sBillingInfoValidationRuleId200Response.md | 56 - ...lingInfoValidationRuleId200ResponseData.md | 180 - ...lidationRuleId200ResponseDataAttributes.md | 138 - ...AccountsCarrierAccountId200ResponseData.md | 8 +- .../PATCHCleanupsCleanupId200ResponseData.md | 8 +- ...anupsCleanupId200ResponseDataAttributes.md | 174 + ...uponCodesPromotionRuleId200ResponseData.md | 8 +- ...romotionRuleId200ResponseDataAttributes.md | 138 + ...dressesCustomerAddressId200ResponseData.md | 8 +- ...mersCustomerId200ResponseDataAttributes.md | 36 + .../PATCHExportsExportId200ResponseData.md | 8 +- .../PATCHImportsImportId200ResponseData.md | 8 +- ...temsLineItemId200ResponseDataAttributes.md | 2 +- ...HNotificationsNotificationId200Response.md | 56 + ...ificationsNotificationId200ResponseData.md | 180 + ...NotificationId200ResponseDataAttributes.md | 246 + ...CHOrderCopiesOrderCopyId200ResponseData.md | 8 +- ...HOrdersOrderId200ResponseDataAttributes.md | 38 +- ...ineItemsParcelLineItemId200ResponseData.md | 8 +- ...piesRecurringOrderCopyId200ResponseData.md | 8 +- ...ShippingZoneId200ResponseDataAttributes.md | 12 +- ...ListsSkuListId200ResponseDataAttributes.md | 2 +- ...onsSkuOptionId200ResponseDataAttributes.md | 2 +- ...tockTransferId200ResponseDataAttributes.md | 36 + api/docs/PATCHStoresStoreId200Response.md | 56 + api/docs/PATCHStoresStoreId200ResponseData.md | 180 + ...HStoresStoreId200ResponseDataAttributes.md | 210 + ...RulesTaxRuleId200ResponseDataAttributes.md | 292 +- ...eTransfersWireTransferId200ResponseData.md | 8 +- ...STBillingInfoValidationRules201Response.md | 56 - ...dationRules201ResponseDataRelationships.md | 108 - ...Rules201ResponseDataRelationshipsMarket.md | 82 - ...s201ResponseDataRelationshipsMarketData.md | 102 - ...POSTBundles201ResponseDataRelationships.md | 8 +- ...ndles201ResponseDataRelationshipsMarket.md | 82 + ...s201ResponseDataRelationshipsMarketData.md | 102 + ...YPromotions201ResponseDataRelationships.md | 8 +- .../POSTCarrierAccounts201ResponseData.md | 8 +- ...ierAccounts201ResponseDataRelationships.md | 108 + ...mentSources201ResponseDataRelationships.md | 8 +- ...1ResponseDataRelationshipsPaymentSource.md | 82 - ...ponseDataRelationshipsPaymentSourceData.md | 102 - .../POSTCustomers201ResponseDataAttributes.md | 36 + .../POSTExports201ResponseDataAttributes.md | 38 +- ...gPromotions201ResponseDataRelationships.md | 8 +- ...STGiftCards201ResponseDataRelationships.md | 8 +- ...bscriptions201ResponseDataRelationships.md | 8 +- .../POSTLineItems201ResponseDataAttributes.md | 4 +- ...STLineItems201ResponseDataRelationships.md | 26 + ...1ResponseDataRelationshipsNotifications.md | 82 + ...ponseDataRelationshipsNotificationsData.md | 102 + ...POSTMarkets201ResponseDataRelationships.md | 26 + ...rkets201ResponseDataRelationshipsStores.md | 82 + ...s201ResponseDataRelationshipsStoresData.md | 102 + api/docs/POSTNotifications201Response.md | 56 + api/docs/POSTNotifications201ResponseData.md | 180 + ...TNotifications201ResponseDataAttributes.md | 241 + ...tifications201ResponseDataRelationships.md | 56 + ...s201ResponseDataRelationshipsNotifiable.md | 82 + ...ResponseDataRelationshipsNotifiableData.md | 102 + ...OSTOrderCopies201ResponseDataAttributes.md | 36 + ...bscriptions201ResponseDataRelationships.md | 8 +- .../POSTOrders201ResponseDataAttributes.md | 2 +- .../POSTOrders201ResponseDataRelationships.md | 68 +- ...Orders201ResponseDataRelationshipsStore.md | 82 + ...rs201ResponseDataRelationshipsStoreData.md | 102 + ...mentMethods201ResponseDataRelationships.md | 60 +- ...tSchedulers201ResponseDataRelationships.md | 8 +- ...pingMethods201ResponseDataRelationships.md | 8 +- ...TShippingZones201ResponseDataAttributes.md | 12 +- .../POSTSkuLists201ResponseDataAttributes.md | 2 +- ...POSTSkuOptions201ResponseDataAttributes.md | 2 +- ...TSkuOptions201ResponseDataRelationships.md | 8 +- ...ckLocations201ResponseDataRelationships.md | 26 + ...StockTransfers201ResponseDataAttributes.md | 2 +- api/docs/POSTStores201Response.md | 56 + api/docs/POSTStores201ResponseData.md | 180 + .../POSTStores201ResponseDataAttributes.md | 205 + .../POSTStores201ResponseDataRelationships.md | 212 + .../POSTTaxRules201ResponseDataAttributes.md | 292 +- api/docs/PackagesApi.md | 12 +- api/docs/ParcelLineItemUpdateData.md | 10 +- api/docs/ParcelLineItemsApi.md | 14 +- api/docs/ParcelsApi.md | 16 +- api/docs/PaymentGatewaysApi.md | 24 +- .../PaymentMethodCreateDataRelationships.md | 34 +- api/docs/PaymentMethodDataRelationships.md | 52 + .../PaymentMethodUpdateDataRelationships.md | 34 +- api/docs/PaymentMethodsApi.md | 107 +- api/docs/PaymentOptionsApi.md | 12 +- api/docs/PaypalGatewaysApi.md | 10 +- api/docs/PaypalPaymentsApi.md | 12 +- api/docs/PercentageDiscountPromotionsApi.md | 10 +- api/docs/PriceFrequencyTiersApi.md | 12 +- ...iceListSchedulerCreateDataRelationships.md | 10 +- ...iceListSchedulerUpdateDataRelationships.md | 8 +- api/docs/PriceListSchedulersApi.md | 14 +- api/docs/PriceListsApi.md | 18 +- api/docs/PriceTiersApi.md | 6 +- api/docs/PriceVolumeTiersApi.md | 12 +- api/docs/PricesApi.md | 20 +- api/docs/PromotionRulesApi.md | 4 +- api/docs/PromotionsApi.md | 4 +- api/docs/RecurringOrderCopiesApi.md | 16 +- api/docs/RecurringOrderCopyUpdateData.md | 10 +- api/docs/RefundDataRelationships.md | 26 + api/docs/RefundsApi.md | 12 +- api/docs/ReservedStocksApi.md | 8 +- api/docs/ResourceErrorsApi.md | 8 +- api/docs/ReturnLineItemsApi.md | 14 +- api/docs/ReturnsApi.md | 20 +- api/docs/SatispayGatewaysApi.md | 10 +- api/docs/SatispayPaymentsApi.md | 12 +- api/docs/ShipmentsApi.md | 18 +- api/docs/ShippingCategoriesApi.md | 16 +- .../ShippingMethodCreateDataRelationships.md | 8 +- api/docs/ShippingMethodTiersApi.md | 6 +- api/docs/ShippingMethodsApi.md | 20 +- api/docs/ShippingWeightTiersApi.md | 12 +- api/docs/ShippingZonesApi.md | 12 +- api/docs/SingletonApi.md | 4 +- api/docs/SkuListItemsApi.md | 14 +- api/docs/SkuListPromotionRulesApi.md | 26 +- api/docs/SkuListsApi.md | 36 +- api/docs/SkuOptionCreateDataRelationships.md | 8 +- api/docs/SkuOptionsApi.md | 14 +- api/docs/SkusApi.md | 50 +- api/docs/StockItemsApi.md | 20 +- api/docs/StockLineItemsApi.md | 20 +- api/docs/StockLocationDataRelationships.md | 26 + api/docs/StockLocationsApi.md | 103 +- api/docs/StockReservationsApi.md | 24 +- api/docs/StockTransfersApi.md | 20 +- api/docs/Store.md | 56 + api/docs/StoreCreate.md | 51 + api/docs/StoreCreateData.md | 108 + api/docs/StoreCreateDataRelationships.md | 103 + api/docs/StoreData.md | 108 + api/docs/StoreDataRelationships.md | 212 + api/docs/StoreUpdate.md | 51 + api/docs/StoreUpdateData.md | 139 + api/docs/StoreUpdateDataRelationships.md | 108 + api/docs/StoresApi.md | 626 + api/docs/StripeGatewaysApi.md | 10 +- api/docs/StripePaymentsApi.md | 12 +- api/docs/SubscriptionModelsApi.md | 14 +- api/docs/TagsApi.md | 54 +- api/docs/TaxCalculatorsApi.md | 6 +- api/docs/TaxCategoriesApi.md | 14 +- api/docs/TaxRulesApi.md | 12 +- api/docs/TaxjarAccountsApi.md | 10 +- api/docs/TransactionDataRelationships.md | 26 + api/docs/TransactionsApi.md | 4 +- api/docs/VersionsApi.md | 334 +- api/docs/VoidDataRelationships.md | 26 + api/docs/VoidsApi.md | 10 +- api/docs/WebhooksApi.md | 14 +- api/docs/WireTransferUpdateData.md | 10 +- api/docs/WireTransfersApi.md | 12 +- api/model_address.go | 2 +- api/model_address_create.go | 2 +- api/model_address_create_data.go | 2 +- ...model_address_create_data_relationships.go | 2 +- ...ress_create_data_relationships_geocoder.go | 2 +- ..._address_create_data_relationships_tags.go | 2 +- api/model_address_data.go | 2 +- api/model_address_data_relationships.go | 2 +- ...model_address_data_relationships_events.go | 2 +- ..._address_data_relationships_events_data.go | 2 +- ...del_address_data_relationships_geocoder.go | 2 +- ...ddress_data_relationships_geocoder_data.go | 2 +- api/model_address_data_relationships_tags.go | 2 +- ...el_address_data_relationships_tags_data.go | 2 +- ...del_address_data_relationships_versions.go | 2 +- ...ddress_data_relationships_versions_data.go | 2 +- api/model_address_update.go | 2 +- api/model_address_update_data.go | 2 +- api/model_adjustment.go | 2 +- api/model_adjustment_create.go | 2 +- api/model_adjustment_create_data.go | 2 +- api/model_adjustment_data.go | 2 +- api/model_adjustment_data_relationships.go | 2 +- api/model_adjustment_update.go | 2 +- api/model_adjustment_update_data.go | 2 +- api/model_adyen_gateway.go | 2 +- api/model_adyen_gateway_create.go | 2 +- api/model_adyen_gateway_create_data.go | 2 +- ...adyen_gateway_create_data_relationships.go | 2 +- ...reate_data_relationships_adyen_payments.go | 2 +- api/model_adyen_gateway_data.go | 2 +- api/model_adyen_gateway_data_relationships.go | 2 +- ...teway_data_relationships_adyen_payments.go | 2 +- ..._data_relationships_adyen_payments_data.go | 2 +- ...eway_data_relationships_payment_methods.go | 2 +- ...data_relationships_payment_methods_data.go | 2 +- api/model_adyen_gateway_update.go | 2 +- api/model_adyen_gateway_update_data.go | 2 +- api/model_adyen_payment.go | 2 +- api/model_adyen_payment_create.go | 2 +- api/model_adyen_payment_create_data.go | 2 +- ...adyen_payment_create_data_relationships.go | 2 +- ...payment_create_data_relationships_order.go | 2 +- api/model_adyen_payment_data.go | 2 +- api/model_adyen_payment_data_relationships.go | 2 +- ..._adyen_payment_data_relationships_order.go | 2 +- ...n_payment_data_relationships_order_data.go | 2 +- ...ment_data_relationships_payment_gateway.go | 2 +- ...data_relationships_payment_gateway_data.go | 2 +- api/model_adyen_payment_update.go | 2 +- api/model_adyen_payment_update_data.go | 2 +- ...adyen_payment_update_data_relationships.go | 2 +- api/model_application.go | 2 +- api/model_application_data.go | 2 +- api/model_attachment.go | 2 +- api/model_attachment_create.go | 2 +- api/model_attachment_create_data.go | 2 +- ...el_attachment_create_data_relationships.go | 2 +- ...nt_create_data_relationships_attachable.go | 2 +- api/model_attachment_data.go | 2 +- api/model_attachment_data_relationships.go | 2 +- ...ttachment_data_relationships_attachable.go | 2 +- ...ment_data_relationships_attachable_data.go | 2 +- api/model_attachment_update.go | 2 +- api/model_attachment_update_data.go | 2 +- ...el_attachment_update_data_relationships.go | 2 +- api/model_authorization.go | 2 +- api/model_authorization_data.go | 2 +- api/model_authorization_data_relationships.go | 50 +- ...rization_data_relationships_attachments.go | 2 +- ...ion_data_relationships_attachments_data.go | 2 +- ...thorization_data_relationships_captures.go | 2 +- ...zation_data_relationships_captures_data.go | 2 +- ...ation_data_relationships_payment_source.go | 125 + ..._data_relationships_payment_source_data.go | 165 + ..._authorization_data_relationships_voids.go | 2 +- ...orization_data_relationships_voids_data.go | 2 +- api/model_authorization_update.go | 2 +- api/model_authorization_update_data.go | 2 +- api/model_avalara_account.go | 2 +- api/model_avalara_account_create.go | 2 +- api/model_avalara_account_create_data.go | 2 +- ...alara_account_create_data_relationships.go | 2 +- ...reate_data_relationships_tax_categories.go | 2 +- api/model_avalara_account_data.go | 2 +- ...odel_avalara_account_data_relationships.go | 2 +- ...lara_account_data_relationships_markets.go | 2 +- ...account_data_relationships_markets_data.go | 2 +- ...count_data_relationships_tax_categories.go | 2 +- ..._data_relationships_tax_categories_data.go | 2 +- api/model_avalara_account_update.go | 2 +- api/model_avalara_account_update_data.go | 2 +- api/model_axerve_gateway.go | 2 +- api/model_axerve_gateway_create.go | 2 +- api/model_axerve_gateway_create_data.go | 2 +- ...xerve_gateway_create_data_relationships.go | 2 +- ...eate_data_relationships_axerve_payments.go | 2 +- api/model_axerve_gateway_data.go | 2 +- ...model_axerve_gateway_data_relationships.go | 2 +- ...eway_data_relationships_axerve_payments.go | 2 +- ...data_relationships_axerve_payments_data.go | 2 +- api/model_axerve_gateway_update.go | 2 +- api/model_axerve_gateway_update_data.go | 2 +- api/model_axerve_payment.go | 2 +- api/model_axerve_payment_create.go | 2 +- api/model_axerve_payment_create_data.go | 2 +- api/model_axerve_payment_data.go | 2 +- api/model_axerve_payment_update.go | 2 +- api/model_axerve_payment_update_data.go | 2 +- api/model_billing_info_validation_rule.go | 125 - ...del_billing_info_validation_rule_create.go | 116 - ...illing_info_validation_rule_create_data.go | 184 - ...lidation_rule_create_data_relationships.go | 116 - ...n_rule_create_data_relationships_market.go | 116 - ...model_billing_info_validation_rule_data.go | 184 - ...del_billing_info_validation_rule_update.go | 116 - ...illing_info_validation_rule_update_data.go | 216 - ...lidation_rule_update_data_relationships.go | 125 - api/model_bing_geocoder.go | 2 +- api/model_bing_geocoder_create.go | 2 +- api/model_bing_geocoder_create_data.go | 2 +- api/model_bing_geocoder_data.go | 2 +- api/model_bing_geocoder_data_relationships.go | 2 +- ...g_geocoder_data_relationships_addresses.go | 2 +- ...coder_data_relationships_addresses_data.go | 2 +- api/model_bing_geocoder_update.go | 2 +- api/model_bing_geocoder_update_data.go | 2 +- api/model_braintree_gateway.go | 2 +- api/model_braintree_gateway_create.go | 2 +- api/model_braintree_gateway_create_data.go | 2 +- ...ntree_gateway_create_data_relationships.go | 2 +- ...e_data_relationships_braintree_payments.go | 2 +- api/model_braintree_gateway_data.go | 2 +- ...el_braintree_gateway_data_relationships.go | 2 +- ...y_data_relationships_braintree_payments.go | 2 +- ...a_relationships_braintree_payments_data.go | 2 +- api/model_braintree_gateway_update.go | 2 +- api/model_braintree_gateway_update_data.go | 2 +- api/model_braintree_payment.go | 2 +- api/model_braintree_payment_create.go | 2 +- api/model_braintree_payment_create_data.go | 2 +- api/model_braintree_payment_data.go | 2 +- api/model_braintree_payment_update.go | 2 +- api/model_braintree_payment_update_data.go | 2 +- api/model_bundle.go | 2 +- api/model_bundle_create.go | 2 +- api/model_bundle_create_data.go | 2 +- api/model_bundle_create_data_relationships.go | 18 +- ...bundle_create_data_relationships_market.go | 116 + ...ndle_create_data_relationships_sku_list.go | 2 +- api/model_bundle_data.go | 2 +- api/model_bundle_data_relationships.go | 2 +- ...odel_bundle_data_relationships_sku_list.go | 2 +- ...bundle_data_relationships_sku_list_data.go | 2 +- api/model_bundle_data_relationships_skus.go | 2 +- ...del_bundle_data_relationships_skus_data.go | 2 +- api/model_bundle_update.go | 2 +- api/model_bundle_update_data.go | 2 +- api/model_bundle_update_data_relationships.go | 2 +- api/model_buy_x_pay_y_promotion.go | 2 +- api/model_buy_x_pay_y_promotion_create.go | 2 +- ...model_buy_x_pay_y_promotion_create_data.go | 2 +- ...y_y_promotion_create_data_relationships.go | 14 +- ...lationships_coupon_codes_promotion_rule.go | 2 +- ...ata_relationships_custom_promotion_rule.go | 2 +- ...lationships_order_amount_promotion_rule.go | 2 +- ...a_relationships_sku_list_promotion_rule.go | 2 +- api/model_buy_x_pay_y_promotion_data.go | 2 +- ...uy_x_pay_y_promotion_data_relationships.go | 2 +- ...lationships_coupon_codes_promotion_rule.go | 2 +- ...nships_coupon_codes_promotion_rule_data.go | 2 +- ..._y_promotion_data_relationships_coupons.go | 2 +- ...omotion_data_relationships_coupons_data.go | 2 +- ...ata_relationships_custom_promotion_rule.go | 2 +- ...elationships_custom_promotion_rule_data.go | 2 +- ...lationships_order_amount_promotion_rule.go | 2 +- ...nships_order_amount_promotion_rule_data.go | 2 +- ...tion_data_relationships_promotion_rules.go | 2 +- ...data_relationships_promotion_rules_data.go | 2 +- ...a_relationships_sku_list_promotion_rule.go | 2 +- ...ationships_sku_list_promotion_rule_data.go | 2 +- api/model_buy_x_pay_y_promotion_update.go | 2 +- ...model_buy_x_pay_y_promotion_update_data.go | 2 +- ...y_y_promotion_update_data_relationships.go | 14 +- api/model_capture.go | 2 +- api/model_capture_data.go | 2 +- api/model_capture_data_relationships.go | 38 +- ...a_relationships_reference_authorization.go | 2 +- ...ationships_reference_authorization_data.go | 2 +- ...odel_capture_data_relationships_refunds.go | 2 +- ...capture_data_relationships_refunds_data.go | 2 +- ...model_capture_data_relationships_return.go | 2 +- ..._capture_data_relationships_return_data.go | 2 +- api/model_capture_update.go | 2 +- api/model_capture_update_data.go | 2 +- api/model_carrier_account.go | 2 +- api/model_carrier_account_create.go | 2 +- api/model_carrier_account_create_data.go | 18 +- ...rrier_account_create_data_relationships.go | 125 + api/model_carrier_account_data.go | 14 +- ...del_carrier_account_data_relationships.go} | 70 +- api/model_carrier_account_update.go | 2 +- api/model_carrier_account_update_data.go | 14 +- api/model_checkout_com_gateway.go | 2 +- api/model_checkout_com_gateway_create.go | 2 +- api/model_checkout_com_gateway_create_data.go | 2 +- ...t_com_gateway_create_data_relationships.go | 2 +- ...ata_relationships_checkout_com_payments.go | 2 +- api/model_checkout_com_gateway_data.go | 2 +- ...checkout_com_gateway_data_relationships.go | 2 +- ...ata_relationships_checkout_com_payments.go | 2 +- ...elationships_checkout_com_payments_data.go | 2 +- api/model_checkout_com_gateway_update.go | 2 +- api/model_checkout_com_gateway_update_data.go | 2 +- api/model_checkout_com_payment.go | 2 +- api/model_checkout_com_payment_create.go | 2 +- api/model_checkout_com_payment_create_data.go | 2 +- api/model_checkout_com_payment_data.go | 2 +- api/model_checkout_com_payment_update.go | 2 +- api/model_checkout_com_payment_update_data.go | 2 +- api/model_cleanup.go | 2 +- api/model_cleanup_create.go | 2 +- api/model_cleanup_create_data.go | 2 +- api/model_cleanup_data.go | 2 +- api/model_cleanup_data_relationships.go | 2 +- api/model_cleanup_update.go | 2 +- api/model_cleanup_update_data.go | 18 +- api/model_coupon.go | 2 +- api/model_coupon_codes_promotion_rule.go | 2 +- ...odel_coupon_codes_promotion_rule_create.go | 2 +- ...coupon_codes_promotion_rule_create_data.go | 2 +- ...romotion_rule_create_data_relationships.go | 2 +- ..._rule_create_data_relationships_coupons.go | 2 +- ...ule_create_data_relationships_promotion.go | 2 +- api/model_coupon_codes_promotion_rule_data.go | 2 +- ...codes_promotion_rule_data_relationships.go | 2 +- ...otion_rule_data_relationships_promotion.go | 2 +- ..._rule_data_relationships_promotion_data.go | 2 +- ...odel_coupon_codes_promotion_rule_update.go | 2 +- ...coupon_codes_promotion_rule_update_data.go | 18 +- ...romotion_rule_update_data_relationships.go | 2 +- api/model_coupon_create.go | 2 +- api/model_coupon_create_data.go | 2 +- api/model_coupon_create_data_relationships.go | 2 +- ...ate_data_relationships_coupon_recipient.go | 2 +- api/model_coupon_data.go | 2 +- api/model_coupon_data_relationships.go | 2 +- ...pon_data_relationships_coupon_recipient.go | 2 +- ...ata_relationships_coupon_recipient_data.go | 2 +- api/model_coupon_recipient.go | 2 +- api/model_coupon_recipient_create.go | 2 +- api/model_coupon_recipient_create_data.go | 2 +- ...pon_recipient_create_data_relationships.go | 2 +- ...ient_create_data_relationships_customer.go | 2 +- api/model_coupon_recipient_data.go | 2 +- ...del_coupon_recipient_data_relationships.go | 2 +- ...n_recipient_data_relationships_customer.go | 2 +- ...ipient_data_relationships_customer_data.go | 2 +- api/model_coupon_recipient_update.go | 2 +- api/model_coupon_recipient_update_data.go | 2 +- api/model_coupon_update.go | 2 +- api/model_coupon_update_data.go | 2 +- api/model_coupon_update_data_relationships.go | 2 +- api/model_custom_promotion_rule.go | 2 +- api/model_custom_promotion_rule_create.go | 2 +- ...model_custom_promotion_rule_create_data.go | 2 +- ...romotion_rule_create_data_relationships.go | 2 +- api/model_custom_promotion_rule_data.go | 2 +- ...ustom_promotion_rule_data_relationships.go | 2 +- api/model_custom_promotion_rule_update.go | 2 +- ...model_custom_promotion_rule_update_data.go | 2 +- ...romotion_rule_update_data_relationships.go | 2 +- api/model_customer.go | 2 +- api/model_customer_address.go | 2 +- api/model_customer_address_create.go | 2 +- api/model_customer_address_create_data.go | 2 +- ...tomer_address_create_data_relationships.go | 2 +- ...dress_create_data_relationships_address.go | 2 +- api/model_customer_address_data.go | 2 +- ...del_customer_address_data_relationships.go | 2 +- api/model_customer_address_update.go | 2 +- api/model_customer_address_update_data.go | 18 +- ...tomer_address_update_data_relationships.go | 2 +- api/model_customer_create.go | 2 +- api/model_customer_create_data.go | 2 +- ...odel_customer_create_data_relationships.go | 2 +- ...reate_data_relationships_customer_group.go | 2 +- api/model_customer_data.go | 2 +- api/model_customer_data_relationships.go | 2 +- ...r_data_relationships_customer_addresses.go | 2 +- ...a_relationships_customer_addresses_data.go | 2 +- ...tomer_data_relationships_customer_group.go | 2 +- ..._data_relationships_customer_group_data.go | 2 +- ..._relationships_customer_payment_sources.go | 2 +- ...tionships_customer_payment_sources_data.go | 2 +- ...ta_relationships_customer_subscriptions.go | 2 +- ...lationships_customer_subscriptions_data.go | 2 +- ..._data_relationships_order_subscriptions.go | 2 +- ..._relationships_order_subscriptions_data.go | 2 +- api/model_customer_group.go | 2 +- api/model_customer_group_create.go | 2 +- api/model_customer_group_create_data.go | 2 +- api/model_customer_group_data.go | 2 +- ...model_customer_group_data_relationships.go | 2 +- api/model_customer_group_update.go | 2 +- api/model_customer_group_update_data.go | 2 +- api/model_customer_password_reset.go | 2 +- api/model_customer_password_reset_create.go | 2 +- ...del_customer_password_reset_create_data.go | 2 +- api/model_customer_password_reset_data.go | 2 +- ...tomer_password_reset_data_relationships.go | 2 +- api/model_customer_password_reset_update.go | 2 +- ...del_customer_password_reset_update_data.go | 2 +- api/model_customer_payment_source.go | 2 +- api/model_customer_payment_source_create.go | 2 +- ...del_customer_payment_source_create_data.go | 2 +- ...ayment_source_create_data_relationships.go | 2 +- ...reate_data_relationships_payment_method.go | 2 +- ...reate_data_relationships_payment_source.go | 14 +- api/model_customer_payment_source_data.go | 2 +- ...tomer_payment_source_data_relationships.go | 20 +- ...ource_data_relationships_payment_source.go | 125 - ..._data_relationships_payment_source_data.go | 165 - api/model_customer_payment_source_update.go | 2 +- ...del_customer_payment_source_update_data.go | 2 +- ...ayment_source_update_data_relationships.go | 2 +- api/model_customer_subscription.go | 2 +- api/model_customer_subscription_create.go | 2 +- ...model_customer_subscription_create_data.go | 2 +- api/model_customer_subscription_data.go | 2 +- ...ustomer_subscription_data_relationships.go | 2 +- api/model_customer_subscription_update.go | 2 +- ...model_customer_subscription_update_data.go | 2 +- api/model_customer_update.go | 2 +- api/model_customer_update_data.go | 2 +- api/model_delivery_lead_time.go | 2 +- api/model_delivery_lead_time_create.go | 2 +- api/model_delivery_lead_time_create_data.go | 2 +- ...ery_lead_time_create_data_relationships.go | 2 +- ...eate_data_relationships_shipping_method.go | 2 +- ...reate_data_relationships_stock_location.go | 2 +- api/model_delivery_lead_time_data.go | 2 +- ...l_delivery_lead_time_data_relationships.go | 2 +- ...time_data_relationships_shipping_method.go | 2 +- ...data_relationships_shipping_method_data.go | 2 +- ..._time_data_relationships_stock_location.go | 2 +- ..._data_relationships_stock_location_data.go | 2 +- api/model_delivery_lead_time_update.go | 2 +- api/model_delivery_lead_time_update_data.go | 2 +- ...ery_lead_time_update_data_relationships.go | 2 +- api/model_event.go | 2 +- api/model_event_callback.go | 2 +- api/model_event_callback_data.go | 2 +- ...model_event_callback_data_relationships.go | 2 +- ...ent_callback_data_relationships_webhook.go | 2 +- ...allback_data_relationships_webhook_data.go | 2 +- api/model_event_data.go | 2 +- api/model_event_data_relationships.go | 2 +- ...data_relationships_last_event_callbacks.go | 2 +- ...relationships_last_event_callbacks_data.go | 2 +- api/model_event_update.go | 2 +- api/model_event_update_data.go | 2 +- api/model_export.go | 2 +- api/model_export_create.go | 2 +- api/model_export_create_data.go | 2 +- api/model_export_data.go | 2 +- api/model_export_data_relationships.go | 2 +- api/model_export_update.go | 2 +- api/model_export_update_data.go | 18 +- api/model_external_gateway.go | 2 +- api/model_external_gateway_create.go | 2 +- api/model_external_gateway_create_data.go | 2 +- api/model_external_gateway_data.go | 2 +- ...del_external_gateway_data_relationships.go | 2 +- ...ay_data_relationships_external_payments.go | 2 +- ...ta_relationships_external_payments_data.go | 2 +- api/model_external_gateway_update.go | 2 +- api/model_external_gateway_update_data.go | 2 +- api/model_external_payment.go | 2 +- api/model_external_payment_create.go | 2 +- api/model_external_payment_create_data.go | 2 +- api/model_external_payment_data.go | 2 +- ...del_external_payment_data_relationships.go | 2 +- api/model_external_payment_update.go | 2 +- api/model_external_payment_update_data.go | 2 +- api/model_external_promotion.go | 2 +- api/model_external_promotion_create.go | 2 +- api/model_external_promotion_create_data.go | 2 +- api/model_external_promotion_data.go | 2 +- api/model_external_promotion_update.go | 2 +- api/model_external_promotion_update_data.go | 2 +- api/model_external_tax_calculator.go | 2 +- api/model_external_tax_calculator_create.go | 2 +- ...del_external_tax_calculator_create_data.go | 2 +- api/model_external_tax_calculator_data.go | 2 +- ...ernal_tax_calculator_data_relationships.go | 2 +- api/model_external_tax_calculator_update.go | 2 +- ...del_external_tax_calculator_update_data.go | 2 +- api/model_fixed_amount_promotion.go | 2 +- api/model_fixed_amount_promotion_create.go | 2 +- ...odel_fixed_amount_promotion_create_data.go | 2 +- api/model_fixed_amount_promotion_data.go | 2 +- api/model_fixed_amount_promotion_update.go | 2 +- ...odel_fixed_amount_promotion_update_data.go | 2 +- api/model_fixed_price_promotion.go | 2 +- api/model_fixed_price_promotion_create.go | 2 +- ...model_fixed_price_promotion_create_data.go | 2 +- api/model_fixed_price_promotion_data.go | 2 +- api/model_fixed_price_promotion_update.go | 2 +- ...model_fixed_price_promotion_update_data.go | 2 +- api/model_flex_promotion.go | 2 +- api/model_flex_promotion_create.go | 2 +- api/model_flex_promotion_create_data.go | 2 +- ...lex_promotion_create_data_relationships.go | 2 +- api/model_flex_promotion_data.go | 2 +- ...model_flex_promotion_data_relationships.go | 2 +- api/model_flex_promotion_update.go | 2 +- api/model_flex_promotion_update_data.go | 2 +- api/model_free_gift_promotion.go | 2 +- api/model_free_gift_promotion_create.go | 2 +- api/model_free_gift_promotion_create_data.go | 2 +- api/model_free_gift_promotion_data.go | 2 +- api/model_free_gift_promotion_update.go | 2 +- api/model_free_gift_promotion_update_data.go | 2 +- api/model_free_shipping_promotion.go | 2 +- api/model_free_shipping_promotion_create.go | 2 +- ...del_free_shipping_promotion_create_data.go | 2 +- api/model_free_shipping_promotion_data.go | 2 +- ...e_shipping_promotion_data_relationships.go | 2 +- api/model_free_shipping_promotion_update.go | 2 +- ...del_free_shipping_promotion_update_data.go | 2 +- api/model_geocoder.go | 2 +- api/model_geocoder_data.go | 2 +- api/model_get_addresses_200_response.go | 2 +- ...l_get_addresses_address_id_200_response.go | 2 +- ..._addresses_address_id_200_response_data.go | 2 +- ...address_id_200_response_data_attributes.go | 2 +- api/model_get_adjustments_200_response.go | 2 +- ..._adjustments_adjustment_id_200_response.go | 2 +- ...stments_adjustment_id_200_response_data.go | 2 +- ...ustment_id_200_response_data_attributes.go | 2 +- api/model_get_adyen_gateways_200_response.go | 2 +- ..._gateways_adyen_gateway_id_200_response.go | 2 +- ...ways_adyen_gateway_id_200_response_data.go | 2 +- ...gateway_id_200_response_data_attributes.go | 2 +- api/model_get_adyen_payments_200_response.go | 2 +- ..._payments_adyen_payment_id_200_response.go | 2 +- ...ents_adyen_payment_id_200_response_data.go | 2 +- ...payment_id_200_response_data_attributes.go | 2 +- ...application_application_id_200_response.go | 2 +- ...cation_application_id_200_response_data.go | 2 +- ...ication_id_200_response_data_attributes.go | 2 +- api/model_get_attachments_200_response.go | 2 +- ..._attachments_attachment_id_200_response.go | 2 +- ...chments_attachment_id_200_response_data.go | 2 +- ...achment_id_200_response_data_attributes.go | 2 +- api/model_get_authorizations_200_response.go | 2 +- ...rizations_authorization_id_200_response.go | 2 +- ...ions_authorization_id_200_response_data.go | 2 +- ...ization_id_200_response_data_attributes.go | 2 +- ...tion_id_200_response_data_relationships.go | 50 +- ...response_data_relationships_attachments.go | 2 +- ...nse_data_relationships_attachments_data.go | 2 +- ...00_response_data_relationships_captures.go | 2 +- ...sponse_data_relationships_captures_data.go | 2 +- ...ponse_data_relationships_payment_source.go | 161 + ..._data_relationships_payment_source_data.go | 165 + ...d_200_response_data_relationships_voids.go | 2 +- ..._response_data_relationships_voids_data.go | 2 +- ...model_get_avalara_accounts_200_response.go | 2 +- ...ccounts_avalara_account_id_200_response.go | 2 +- ...ts_avalara_account_id_200_response_data.go | 2 +- ...account_id_200_response_data_attributes.go | 2 +- api/model_get_axerve_gateways_200_response.go | 2 +- ...gateways_axerve_gateway_id_200_response.go | 2 +- ...ays_axerve_gateway_id_200_response_data.go | 2 +- ...gateway_id_200_response_data_attributes.go | 2 +- api/model_get_axerve_payments_200_response.go | 2 +- ...payments_axerve_payment_id_200_response.go | 2 +- ...nts_axerve_payment_id_200_response_data.go | 2 +- ...payment_id_200_response_data_attributes.go | 2 +- ...ling_info_validation_rules_200_response.go | 126 - ...ng_info_validation_rule_id_200_response.go | 125 - ...fo_validation_rule_id_200_response_data.go | 273 - ...on_rule_id_200_response_data_attributes.go | 317 - api/model_get_bing_geocoders_200_response.go | 2 +- ...geocoders_bing_geocoder_id_200_response.go | 2 +- ...ders_bing_geocoder_id_200_response_data.go | 2 +- ...eocoder_id_200_response_data_attributes.go | 2 +- ...del_get_braintree_gateways_200_response.go | 2 +- ...eways_braintree_gateway_id_200_response.go | 2 +- ..._braintree_gateway_id_200_response_data.go | 2 +- ...gateway_id_200_response_data_attributes.go | 2 +- ...del_get_braintree_payments_200_response.go | 2 +- ...ments_braintree_payment_id_200_response.go | 2 +- ..._braintree_payment_id_200_response_data.go | 2 +- ...payment_id_200_response_data_attributes.go | 2 +- api/model_get_bundles_200_response.go | 2 +- ...odel_get_bundles_bundle_id_200_response.go | 2 +- ...get_bundles_bundle_id_200_response_data.go | 2 +- ..._bundle_id_200_response_data_attributes.go | 2 +- ...get_buy_x_pay_y_promotions_200_response.go | 2 +- ...s_buy_x_pay_y_promotion_id_200_response.go | 2 +- ..._x_pay_y_promotion_id_200_response_data.go | 2 +- ...omotion_id_200_response_data_attributes.go | 2 +- api/model_get_captures_200_response.go | 2 +- ...el_get_captures_capture_id_200_response.go | 2 +- ...t_captures_capture_id_200_response_data.go | 2 +- ...capture_id_200_response_data_attributes.go | 2 +- ...ture_id_200_response_data_relationships.go | 52 +- ...a_relationships_reference_authorization.go | 2 +- ...ationships_reference_authorization_data.go | 2 +- ...200_response_data_relationships_refunds.go | 2 +- ...esponse_data_relationships_refunds_data.go | 2 +- ..._200_response_data_relationships_return.go | 2 +- ...response_data_relationships_return_data.go | 2 +- ...model_get_carrier_accounts_200_response.go | 2 +- ...ccounts_carrier_account_id_200_response.go | 2 +- ...ts_carrier_account_id_200_response_data.go | 14 +- ...account_id_200_response_data_attributes.go | 2 +- ..._get_checkout_com_gateways_200_response.go | 2 +- ...ys_checkout_com_gateway_id_200_response.go | 2 +- ...eckout_com_gateway_id_200_response_data.go | 2 +- ...gateway_id_200_response_data_attributes.go | 2 +- ..._get_checkout_com_payments_200_response.go | 2 +- ...ts_checkout_com_payment_id_200_response.go | 2 +- ...eckout_com_payment_id_200_response_data.go | 2 +- ...payment_id_200_response_data_attributes.go | 2 +- api/model_get_cleanups_200_response.go | 2 +- ...el_get_cleanups_cleanup_id_200_response.go | 2 +- ...t_cleanups_cleanup_id_200_response_data.go | 2 +- ...cleanup_id_200_response_data_attributes.go | 2 +- ...upon_codes_promotion_rules_200_response.go | 2 +- ...on_codes_promotion_rule_id_200_response.go | 2 +- ...des_promotion_rule_id_200_response_data.go | 2 +- ...on_rule_id_200_response_data_attributes.go | 2 +- ...odel_get_coupon_recipients_200_response.go | 2 +- ...pients_coupon_recipient_id_200_response.go | 2 +- ...s_coupon_recipient_id_200_response_data.go | 2 +- ...cipient_id_200_response_data_attributes.go | 2 +- api/model_get_coupons_200_response.go | 2 +- ...odel_get_coupons_coupon_id_200_response.go | 2 +- ...get_coupons_coupon_id_200_response_data.go | 2 +- ..._coupon_id_200_response_data_attributes.go | 2 +- ...get_custom_promotion_rules_200_response.go | 2 +- ...s_custom_promotion_rule_id_200_response.go | 2 +- ...tom_promotion_rule_id_200_response_data.go | 2 +- ...on_rule_id_200_response_data_attributes.go | 2 +- ...del_get_customer_addresses_200_response.go | 2 +- ...resses_customer_address_id_200_response.go | 2 +- ...s_customer_address_id_200_response_data.go | 2 +- ...address_id_200_response_data_attributes.go | 2 +- api/model_get_customer_groups_200_response.go | 2 +- ...r_groups_customer_group_id_200_response.go | 2 +- ...ups_customer_group_id_200_response_data.go | 2 +- ...r_group_id_200_response_data_attributes.go | 2 +- ...t_customer_password_resets_200_response.go | 2 +- ...customer_password_reset_id_200_response.go | 2 +- ...mer_password_reset_id_200_response_data.go | 2 +- ...d_reset_id_200_response_data_attributes.go | 2 +- ...t_customer_payment_sources_200_response.go | 2 +- ...customer_payment_source_id_200_response.go | 2 +- ...mer_payment_source_id_200_response_data.go | 2 +- ..._source_id_200_response_data_attributes.go | 2 +- ...get_customer_subscriptions_200_response.go | 2 +- ...s_customer_subscription_id_200_response.go | 2 +- ...tomer_subscription_id_200_response_data.go | 2 +- ...ription_id_200_response_data_attributes.go | 2 +- api/model_get_customers_200_response.go | 2 +- ..._get_customers_customer_id_200_response.go | 2 +- ...customers_customer_id_200_response_data.go | 2 +- ...ustomer_id_200_response_data_attributes.go | 40 +- ...el_get_delivery_lead_times_200_response.go | 2 +- ...imes_delivery_lead_time_id_200_response.go | 2 +- ...delivery_lead_time_id_200_response_data.go | 2 +- ...ad_time_id_200_response_data_attributes.go | 2 +- api/model_get_event_callbacks_200_response.go | 2 +- ...allbacks_event_callback_id_200_response.go | 2 +- ...cks_event_callback_id_200_response_data.go | 2 +- ...allback_id_200_response_data_attributes.go | 2 +- ...back_id_200_response_data_relationships.go | 2 +- ...200_response_data_relationships_webhook.go | 2 +- ...esponse_data_relationships_webhook_data.go | 2 +- api/model_get_events_200_response.go | 2 +- api/model_get_events_event_id_200_response.go | 2 +- ...l_get_events_event_id_200_response_data.go | 2 +- ...s_event_id_200_response_data_attributes.go | 2 +- ...vent_id_200_response_data_relationships.go | 2 +- ...data_relationships_last_event_callbacks.go | 2 +- ...relationships_last_event_callbacks_data.go | 2 +- ...00_response_data_relationships_webhooks.go | 2 +- ...sponse_data_relationships_webhooks_data.go | 2 +- api/model_get_exports_200_response.go | 2 +- ...odel_get_exports_export_id_200_response.go | 2 +- ...get_exports_export_id_200_response_data.go | 2 +- ..._export_id_200_response_data_attributes.go | 80 +- ...odel_get_external_gateways_200_response.go | 2 +- ...teways_external_gateway_id_200_response.go | 2 +- ...s_external_gateway_id_200_response_data.go | 2 +- ...gateway_id_200_response_data_attributes.go | 2 +- ...odel_get_external_payments_200_response.go | 2 +- ...yments_external_payment_id_200_response.go | 2 +- ...s_external_payment_id_200_response_data.go | 2 +- ...payment_id_200_response_data_attributes.go | 2 +- ...el_get_external_promotions_200_response.go | 2 +- ...ions_external_promotion_id_200_response.go | 2 +- ...external_promotion_id_200_response_data.go | 2 +- ...omotion_id_200_response_data_attributes.go | 2 +- ...t_external_tax_calculators_200_response.go | 2 +- ...external_tax_calculator_id_200_response.go | 2 +- ...nal_tax_calculator_id_200_response_data.go | 2 +- ...culator_id_200_response_data_attributes.go | 2 +- ...et_fixed_amount_promotions_200_response.go | 2 +- ..._fixed_amount_promotion_id_200_response.go | 2 +- ...d_amount_promotion_id_200_response_data.go | 2 +- ...omotion_id_200_response_data_attributes.go | 2 +- ...get_fixed_price_promotions_200_response.go | 2 +- ...s_fixed_price_promotion_id_200_response.go | 2 +- ...ed_price_promotion_id_200_response_data.go | 2 +- ...omotion_id_200_response_data_attributes.go | 2 +- api/model_get_flex_promotions_200_response.go | 2 +- ...omotions_flex_promotion_id_200_response.go | 2 +- ...ons_flex_promotion_id_200_response_data.go | 2 +- ...omotion_id_200_response_data_attributes.go | 40 +- ...l_get_free_gift_promotions_200_response.go | 2 +- ...ons_free_gift_promotion_id_200_response.go | 2 +- ...ree_gift_promotion_id_200_response_data.go | 2 +- ...omotion_id_200_response_data_attributes.go | 2 +- ...t_free_shipping_promotions_200_response.go | 2 +- ...free_shipping_promotion_id_200_response.go | 2 +- ...shipping_promotion_id_200_response_data.go | 2 +- ...omotion_id_200_response_data_attributes.go | 2 +- api/model_get_geocoders_200_response.go | 2 +- ..._get_geocoders_geocoder_id_200_response.go | 2 +- ...geocoders_geocoder_id_200_response_data.go | 2 +- ...l_get_gift_card_recipients_200_response.go | 2 +- ...nts_gift_card_recipient_id_200_response.go | 2 +- ...ift_card_recipient_id_200_response_data.go | 2 +- api/model_get_gift_cards_200_response.go | 2 +- ...et_gift_cards_gift_card_id_200_response.go | 2 +- ...ft_cards_gift_card_id_200_response_data.go | 2 +- ...ft_card_id_200_response_data_attributes.go | 2 +- ...model_get_google_geocoders_200_response.go | 2 +- ...ocoders_google_geocoder_id_200_response.go | 2 +- ...rs_google_geocoder_id_200_response_data.go | 2 +- api/model_get_imports_200_response.go | 2 +- ...odel_get_imports_import_id_200_response.go | 2 +- ...get_imports_import_id_200_response_data.go | 2 +- ..._import_id_200_response_data_attributes.go | 2 +- ...get_in_stock_subscriptions_200_response.go | 2 +- ...s_in_stock_subscription_id_200_response.go | 2 +- ...stock_subscription_id_200_response_data.go | 2 +- ...ription_id_200_response_data_attributes.go | 2 +- ...model_get_inventory_models_200_response.go | 2 +- ..._models_inventory_model_id_200_response.go | 2 +- ...ls_inventory_model_id_200_response_data.go | 2 +- ...y_model_id_200_response_data_attributes.go | 2 +- ...inventory_return_locations_200_response.go | 2 +- ...ventory_return_location_id_200_response.go | 2 +- ...ry_return_location_id_200_response_data.go | 2 +- ...ocation_id_200_response_data_attributes.go | 2 +- ..._inventory_stock_locations_200_response.go | 2 +- ...nventory_stock_location_id_200_response.go | 2 +- ...ory_stock_location_id_200_response_data.go | 2 +- ...ocation_id_200_response_data_attributes.go | 2 +- api/model_get_klarna_gateways_200_response.go | 2 +- ...gateways_klarna_gateway_id_200_response.go | 2 +- ...ays_klarna_gateway_id_200_response_data.go | 2 +- ...gateway_id_200_response_data_attributes.go | 2 +- api/model_get_klarna_payments_200_response.go | 2 +- ...payments_klarna_payment_id_200_response.go | 2 +- ...nts_klarna_payment_id_200_response_data.go | 2 +- ...payment_id_200_response_data_attributes.go | 2 +- ...odel_get_line_item_options_200_response.go | 2 +- ...ptions_line_item_option_id_200_response.go | 2 +- ...s_line_item_option_id_200_response_data.go | 2 +- ..._option_id_200_response_data_attributes.go | 2 +- api/model_get_line_items_200_response.go | 2 +- ...et_line_items_line_item_id_200_response.go | 2 +- ...ne_items_line_item_id_200_response_data.go | 2 +- ...ne_item_id_200_response_data_attributes.go | 6 +- api/model_get_links_200_response.go | 2 +- api/model_get_links_link_id_200_response.go | 2 +- ...del_get_links_link_id_200_response_data.go | 2 +- ...ks_link_id_200_response_data_attributes.go | 2 +- api/model_get_manual_gateways_200_response.go | 2 +- ...gateways_manual_gateway_id_200_response.go | 2 +- ...ays_manual_gateway_id_200_response_data.go | 2 +- ...get_manual_tax_calculators_200_response.go | 2 +- ...s_manual_tax_calculator_id_200_response.go | 2 +- ...ual_tax_calculator_id_200_response_data.go | 2 +- ...culator_id_200_response_data_attributes.go | 2 +- api/model_get_markets_200_response.go | 2 +- ...odel_get_markets_market_id_200_response.go | 2 +- ...get_markets_market_id_200_response_data.go | 2 +- ..._market_id_200_response_data_attributes.go | 2 +- api/model_get_merchants_200_response.go | 2 +- ..._get_merchants_merchant_id_200_response.go | 2 +- ...merchants_merchant_id_200_response_data.go | 2 +- ...erchant_id_200_response_data_attributes.go | 2 +- api/model_get_notifications_200_response.go | 126 + ...ifications_notification_id_200_response.go | 125 + ...ions_notification_id_200_response_data.go} | 102 +- ...ication_id_200_response_data_attributes.go | 393 + ...der_amount_promotion_rules_200_response.go | 2 +- ...r_amount_promotion_rule_id_200_response.go | 2 +- ...unt_promotion_rule_id_200_response_data.go | 2 +- ...on_rule_id_200_response_data_attributes.go | 2 +- api/model_get_order_copies_200_response.go | 2 +- ...order_copies_order_copy_id_200_response.go | 2 +- ..._copies_order_copy_id_200_response_data.go | 2 +- ...er_copy_id_200_response_data_attributes.go | 40 +- api/model_get_order_factories_200_response.go | 2 +- ...factories_order_factory_id_200_response.go | 2 +- ...ries_order_factory_id_200_response_data.go | 2 +- ...factory_id_200_response_data_attributes.go | 2 +- ...tory_id_200_response_data_relationships.go | 2 +- ...t_order_subscription_items_200_response.go | 2 +- ...order_subscription_item_id_200_response.go | 2 +- ..._subscription_item_id_200_response_data.go | 2 +- ...on_item_id_200_response_data_attributes.go | 2 +- ...el_get_order_subscriptions_200_response.go | 2 +- ...ions_order_subscription_id_200_response.go | 2 +- ...order_subscription_id_200_response_data.go | 2 +- ...ription_id_200_response_data_attributes.go | 2 +- api/model_get_orders_200_response.go | 2 +- api/model_get_orders_order_id_200_response.go | 2 +- ...l_get_orders_order_id_200_response_data.go | 2 +- ...s_order_id_200_response_data_attributes.go | 4 +- ...ganization_organization_id_200_response.go | 2 +- ...ation_organization_id_200_response_data.go | 2 +- ...ization_id_200_response_data_attributes.go | 306 +- api/model_get_packages_200_response.go | 2 +- ...el_get_packages_package_id_200_response.go | 2 +- ...t_packages_package_id_200_response_data.go | 2 +- ...package_id_200_response_data_attributes.go | 2 +- ...odel_get_parcel_line_items_200_response.go | 2 +- ..._items_parcel_line_item_id_200_response.go | 2 +- ...s_parcel_line_item_id_200_response_data.go | 2 +- ...ne_item_id_200_response_data_attributes.go | 2 +- api/model_get_parcels_200_response.go | 2 +- ...odel_get_parcels_parcel_id_200_response.go | 2 +- ...get_parcels_parcel_id_200_response_data.go | 2 +- ..._parcel_id_200_response_data_attributes.go | 2 +- ...model_get_payment_gateways_200_response.go | 2 +- ...ateways_payment_gateway_id_200_response.go | 2 +- ...ys_payment_gateway_id_200_response_data.go | 2 +- api/model_get_payment_methods_200_response.go | 2 +- ..._methods_payment_method_id_200_response.go | 2 +- ...ods_payment_method_id_200_response_data.go | 2 +- ..._method_id_200_response_data_attributes.go | 2 +- api/model_get_payment_options_200_response.go | 2 +- ..._options_payment_option_id_200_response.go | 2 +- ...ons_payment_option_id_200_response_data.go | 2 +- ..._option_id_200_response_data_attributes.go | 2 +- api/model_get_paypal_gateways_200_response.go | 2 +- ...gateways_paypal_gateway_id_200_response.go | 2 +- ...ays_paypal_gateway_id_200_response_data.go | 2 +- api/model_get_paypal_payments_200_response.go | 2 +- ...payments_paypal_payment_id_200_response.go | 2 +- ...nts_paypal_payment_id_200_response_data.go | 2 +- ...payment_id_200_response_data_attributes.go | 2 +- ...entage_discount_promotions_200_response.go | 2 +- ...tage_discount_promotion_id_200_response.go | 2 +- ...discount_promotion_id_200_response_data.go | 2 +- ...omotion_id_200_response_data_attributes.go | 2 +- ..._get_price_frequency_tiers_200_response.go | 2 +- ...rs_price_frequency_tier_id_200_response.go | 2 +- ...ice_frequency_tier_id_200_response_data.go | 2 +- ...cy_tier_id_200_response_data_attributes.go | 2 +- ..._get_price_list_schedulers_200_response.go | 2 +- ...rs_price_list_scheduler_id_200_response.go | 2 +- ...ice_list_scheduler_id_200_response_data.go | 2 +- ...heduler_id_200_response_data_attributes.go | 2 +- api/model_get_price_lists_200_response.go | 2 +- ..._price_lists_price_list_id_200_response.go | 2 +- ...e_lists_price_list_id_200_response_data.go | 2 +- ...ce_list_id_200_response_data_attributes.go | 40 +- api/model_get_price_tiers_200_response.go | 2 +- ..._price_tiers_price_tier_id_200_response.go | 2 +- ...e_tiers_price_tier_id_200_response_data.go | 2 +- ...ce_tier_id_200_response_data_attributes.go | 2 +- ...tier_id_200_response_data_relationships.go | 2 +- ...del_get_price_volume_tiers_200_response.go | 2 +- ...tiers_price_volume_tier_id_200_response.go | 2 +- ..._price_volume_tier_id_200_response_data.go | 2 +- ...me_tier_id_200_response_data_attributes.go | 2 +- api/model_get_prices_200_response.go | 2 +- api/model_get_prices_price_id_200_response.go | 2 +- ...l_get_prices_price_id_200_response_data.go | 2 +- ...s_price_id_200_response_data_attributes.go | 40 +- api/model_get_promotion_rules_200_response.go | 2 +- ...on_rules_promotion_rule_id_200_response.go | 2 +- ...les_promotion_rule_id_200_response_data.go | 2 +- api/model_get_promotions_200_response.go | 2 +- ...et_promotions_promotion_id_200_response.go | 2 +- ...omotions_promotion_id_200_response_data.go | 2 +- ...get_recurring_order_copies_200_response.go | 2 +- ...es_recurring_order_copy_id_200_response.go | 2 +- ...curring_order_copy_id_200_response_data.go | 2 +- api/model_get_refunds_200_response.go | 2 +- ...odel_get_refunds_refund_id_200_response.go | 2 +- ...get_refunds_refund_id_200_response_data.go | 2 +- ..._refund_id_200_response_data_attributes.go | 2 +- ...fund_id_200_response_data_relationships.go | 50 +- ...se_data_relationships_reference_capture.go | 2 +- ...ta_relationships_reference_capture_data.go | 2 +- api/model_get_reserved_stocks_200_response.go | 2 +- ...d_stocks_reserved_stock_id_200_response.go | 2 +- ...cks_reserved_stock_id_200_response_data.go | 2 +- ...d_stock_id_200_response_data_attributes.go | 2 +- ...tock_id_200_response_data_relationships.go | 2 +- ..._response_data_relationships_stock_item.go | 2 +- ...onse_data_relationships_stock_item_data.go | 2 +- api/model_get_resource_errors_200_response.go | 2 +- ...e_errors_resource_error_id_200_response.go | 2 +- ...ors_resource_error_id_200_response_data.go | 2 +- ...e_error_id_200_response_data_attributes.go | 2 +- ...rror_id_200_response_data_relationships.go | 2 +- ...00_response_data_relationships_resource.go | 2 +- ...sponse_data_relationships_resource_data.go | 2 +- ...odel_get_return_line_items_200_response.go | 2 +- ..._items_return_line_item_id_200_response.go | 2 +- ...s_return_line_item_id_200_response_data.go | 2 +- ...ne_item_id_200_response_data_attributes.go | 2 +- api/model_get_returns_200_response.go | 2 +- ...odel_get_returns_return_id_200_response.go | 2 +- ...get_returns_return_id_200_response_data.go | 2 +- ..._return_id_200_response_data_attributes.go | 2 +- ...odel_get_satispay_gateways_200_response.go | 2 +- ...teways_satispay_gateway_id_200_response.go | 2 +- ...s_satispay_gateway_id_200_response_data.go | 2 +- ...gateway_id_200_response_data_attributes.go | 2 +- ...odel_get_satispay_payments_200_response.go | 2 +- ...yments_satispay_payment_id_200_response.go | 2 +- ...s_satispay_payment_id_200_response_data.go | 2 +- ...payment_id_200_response_data_attributes.go | 2 +- api/model_get_shipments_200_response.go | 2 +- ..._get_shipments_shipment_id_200_response.go | 2 +- ...shipments_shipment_id_200_response_data.go | 2 +- ...hipment_id_200_response_data_attributes.go | 2 +- ...el_get_shipping_categories_200_response.go | 2 +- ...ories_shipping_category_id_200_response.go | 2 +- ..._shipping_category_id_200_response_data.go | 2 +- ...ategory_id_200_response_data_attributes.go | 2 +- ..._get_shipping_method_tiers_200_response.go | 2 +- ...rs_shipping_method_tier_id_200_response.go | 2 +- ...ipping_method_tier_id_200_response_data.go | 2 +- ...od_tier_id_200_response_data_attributes.go | 2 +- ...tier_id_200_response_data_relationships.go | 2 +- ...model_get_shipping_methods_200_response.go | 2 +- ...methods_shipping_method_id_200_response.go | 2 +- ...ds_shipping_method_id_200_response_data.go | 2 +- ..._method_id_200_response_data_attributes.go | 2 +- ..._get_shipping_weight_tiers_200_response.go | 2 +- ...rs_shipping_weight_tier_id_200_response.go | 2 +- ...ipping_weight_tier_id_200_response_data.go | 2 +- api/model_get_shipping_zones_200_response.go | 2 +- ...ing_zones_shipping_zone_id_200_response.go | 2 +- ...ones_shipping_zone_id_200_response_data.go | 2 +- ...ng_zone_id_200_response_data_attributes.go | 14 +- api/model_get_sku_list_items_200_response.go | 2 +- ...ist_items_sku_list_item_id_200_response.go | 2 +- ...tems_sku_list_item_id_200_response_data.go | 2 +- ...st_item_id_200_response_data_attributes.go | 2 +- ...t_sku_list_promotion_rules_200_response.go | 2 +- ...sku_list_promotion_rule_id_200_response.go | 2 +- ...ist_promotion_rule_id_200_response_data.go | 2 +- ...on_rule_id_200_response_data_attributes.go | 2 +- api/model_get_sku_lists_200_response.go | 2 +- ..._get_sku_lists_sku_list_id_200_response.go | 2 +- ...sku_lists_sku_list_id_200_response_data.go | 2 +- ...ku_list_id_200_response_data_attributes.go | 4 +- api/model_get_sku_options_200_response.go | 2 +- ..._sku_options_sku_option_id_200_response.go | 2 +- ...options_sku_option_id_200_response_data.go | 2 +- ..._option_id_200_response_data_attributes.go | 4 +- api/model_get_skus_200_response.go | 2 +- api/model_get_skus_sku_id_200_response.go | 2 +- ...model_get_skus_sku_id_200_response_data.go | 2 +- ...kus_sku_id_200_response_data_attributes.go | 2 +- api/model_get_stock_items_200_response.go | 2 +- ..._stock_items_stock_item_id_200_response.go | 2 +- ...k_items_stock_item_id_200_response_data.go | 2 +- ...ck_item_id_200_response_data_attributes.go | 2 +- ...model_get_stock_line_items_200_response.go | 2 +- ...e_items_stock_line_item_id_200_response.go | 2 +- ...ms_stock_line_item_id_200_response_data.go | 2 +- ...ne_item_id_200_response_data_attributes.go | 2 +- api/model_get_stock_locations_200_response.go | 2 +- ...ocations_stock_location_id_200_response.go | 2 +- ...ons_stock_location_id_200_response_data.go | 2 +- ...ocation_id_200_response_data_attributes.go | 2 +- ...del_get_stock_reservations_200_response.go | 2 +- ...tions_stock_reservation_id_200_response.go | 2 +- ..._stock_reservation_id_200_response_data.go | 2 +- ...rvation_id_200_response_data_attributes.go | 2 +- api/model_get_stock_transfers_200_response.go | 2 +- ...ransfers_stock_transfer_id_200_response.go | 2 +- ...ers_stock_transfer_id_200_response_data.go | 2 +- ...ransfer_id_200_response_data_attributes.go | 4 +- api/model_get_stores_200_response.go | 126 + api/model_get_stores_store_id_200_response.go | 125 + ...l_get_stores_store_id_200_response_data.go | 273 + ...s_store_id_200_response_data_attributes.go | 355 + api/model_get_stripe_gateways_200_response.go | 2 +- ...gateways_stripe_gateway_id_200_response.go | 2 +- ...ays_stripe_gateway_id_200_response_data.go | 2 +- ...gateway_id_200_response_data_attributes.go | 2 +- api/model_get_stripe_payments_200_response.go | 2 +- ...payments_stripe_payment_id_200_response.go | 2 +- ...nts_stripe_payment_id_200_response_data.go | 2 +- ...payment_id_200_response_data_attributes.go | 2 +- ...el_get_subscription_models_200_response.go | 2 +- ...dels_subscription_model_id_200_response.go | 2 +- ...subscription_model_id_200_response_data.go | 2 +- ...n_model_id_200_response_data_attributes.go | 2 +- api/model_get_tags_200_response.go | 2 +- api/model_get_tags_tag_id_200_response.go | 2 +- ...model_get_tags_tag_id_200_response_data.go | 2 +- ...ags_tag_id_200_response_data_attributes.go | 2 +- api/model_get_tax_calculators_200_response.go | 2 +- ...culators_tax_calculator_id_200_response.go | 2 +- ...ors_tax_calculator_id_200_response_data.go | 2 +- api/model_get_tax_categories_200_response.go | 2 +- ...categories_tax_category_id_200_response.go | 2 +- ...ories_tax_category_id_200_response_data.go | 2 +- ...ategory_id_200_response_data_attributes.go | 2 +- api/model_get_tax_rules_200_response.go | 2 +- ..._get_tax_rules_tax_rule_id_200_response.go | 2 +- ...tax_rules_tax_rule_id_200_response_data.go | 2 +- ...ax_rule_id_200_response_data_attributes.go | 342 +- api/model_get_taxjar_accounts_200_response.go | 2 +- ...accounts_taxjar_account_id_200_response.go | 2 +- ...nts_taxjar_account_id_200_response_data.go | 2 +- api/model_get_transactions_200_response.go | 2 +- ...ransactions_transaction_id_200_response.go | 2 +- ...ctions_transaction_id_200_response_data.go | 2 +- ...tion_id_200_response_data_relationships.go | 46 +- api/model_get_versions_200_response.go | 2 +- ...el_get_versions_version_id_200_response.go | 2 +- ...t_versions_version_id_200_response_data.go | 2 +- ...version_id_200_response_data_attributes.go | 2 +- api/model_get_voids_200_response.go | 2 +- api/model_get_voids_void_id_200_response.go | 2 +- ...del_get_voids_void_id_200_response_data.go | 2 +- ...void_id_200_response_data_relationships.go | 48 +- api/model_get_webhooks_200_response.go | 2 +- ...el_get_webhooks_webhook_id_200_response.go | 2 +- ...t_webhooks_webhook_id_200_response_data.go | 2 +- ...webhook_id_200_response_data_attributes.go | 2 +- api/model_get_wire_transfers_200_response.go | 2 +- ...transfers_wire_transfer_id_200_response.go | 2 +- ...fers_wire_transfer_id_200_response_data.go | 2 +- ...ransfer_id_200_response_data_attributes.go | 2 +- api/model_gift_card.go | 2 +- api/model_gift_card_create.go | 2 +- api/model_gift_card_create_data.go | 2 +- ...del_gift_card_create_data_relationships.go | 18 +- ..._data_relationships_gift_card_recipient.go | 2 +- api/model_gift_card_data.go | 2 +- api/model_gift_card_data_relationships.go | 2 +- ..._data_relationships_gift_card_recipient.go | 2 +- ..._relationships_gift_card_recipient_data.go | 2 +- api/model_gift_card_recipient.go | 2 +- api/model_gift_card_recipient_create.go | 2 +- api/model_gift_card_recipient_create_data.go | 2 +- api/model_gift_card_recipient_data.go | 2 +- api/model_gift_card_recipient_update.go | 2 +- api/model_gift_card_recipient_update_data.go | 2 +- api/model_gift_card_update.go | 2 +- api/model_gift_card_update_data.go | 2 +- api/model_google_geocoder.go | 2 +- api/model_google_geocoder_create.go | 2 +- api/model_google_geocoder_create_data.go | 2 +- api/model_google_geocoder_data.go | 2 +- api/model_google_geocoder_update.go | 2 +- api/model_google_geocoder_update_data.go | 2 +- api/model_import.go | 2 +- api/model_import_create.go | 2 +- api/model_import_create_data.go | 2 +- api/model_import_data.go | 2 +- api/model_import_update.go | 2 +- api/model_import_update_data.go | 18 +- api/model_in_stock_subscription.go | 2 +- api/model_in_stock_subscription_create.go | 2 +- ...model_in_stock_subscription_create_data.go | 2 +- ..._subscription_create_data_relationships.go | 18 +- ...scription_create_data_relationships_sku.go | 2 +- api/model_in_stock_subscription_data.go | 2 +- ...n_stock_subscription_data_relationships.go | 2 +- api/model_in_stock_subscription_update.go | 2 +- ...model_in_stock_subscription_update_data.go | 2 +- ..._subscription_update_data_relationships.go | 18 +- api/model_inventory_model.go | 2 +- api/model_inventory_model_create.go | 2 +- api/model_inventory_model_create_data.go | 2 +- api/model_inventory_model_data.go | 2 +- ...odel_inventory_model_data_relationships.go | 2 +- ...elationships_inventory_return_locations.go | 2 +- ...onships_inventory_return_locations_data.go | 2 +- ...relationships_inventory_stock_locations.go | 2 +- ...ionships_inventory_stock_locations_data.go | 2 +- api/model_inventory_model_update.go | 2 +- api/model_inventory_model_update_data.go | 2 +- api/model_inventory_return_location.go | 2 +- api/model_inventory_return_location_create.go | 2 +- ...l_inventory_return_location_create_data.go | 2 +- ...turn_location_create_data_relationships.go | 2 +- ...eate_data_relationships_inventory_model.go | 2 +- api/model_inventory_return_location_data.go | 2 +- ...tory_return_location_data_relationships.go | 2 +- ...tion_data_relationships_inventory_model.go | 2 +- ...data_relationships_inventory_model_data.go | 2 +- api/model_inventory_return_location_update.go | 2 +- ...l_inventory_return_location_update_data.go | 2 +- ...turn_location_update_data_relationships.go | 2 +- api/model_inventory_stock_location.go | 2 +- api/model_inventory_stock_location_create.go | 2 +- ...el_inventory_stock_location_create_data.go | 2 +- api/model_inventory_stock_location_data.go | 2 +- api/model_inventory_stock_location_update.go | 2 +- ...el_inventory_stock_location_update_data.go | 2 +- api/model_klarna_gateway.go | 2 +- api/model_klarna_gateway_create.go | 2 +- api/model_klarna_gateway_create_data.go | 2 +- ...larna_gateway_create_data_relationships.go | 2 +- ...eate_data_relationships_klarna_payments.go | 2 +- api/model_klarna_gateway_data.go | 2 +- ...model_klarna_gateway_data_relationships.go | 2 +- ...eway_data_relationships_klarna_payments.go | 2 +- ...data_relationships_klarna_payments_data.go | 2 +- api/model_klarna_gateway_update.go | 2 +- api/model_klarna_gateway_update_data.go | 2 +- api/model_klarna_payment.go | 2 +- api/model_klarna_payment_create.go | 2 +- api/model_klarna_payment_create_data.go | 2 +- api/model_klarna_payment_data.go | 2 +- api/model_klarna_payment_update.go | 2 +- api/model_klarna_payment_update_data.go | 2 +- api/model_line_item.go | 2 +- api/model_line_item_create.go | 2 +- api/model_line_item_create_data.go | 2 +- ...del_line_item_create_data_relationships.go | 2 +- ...ine_item_create_data_relationships_item.go | 2 +- api/model_line_item_data.go | 2 +- api/model_line_item_data_relationships.go | 38 +- ...line_item_data_relationships_adjustment.go | 2 +- ...item_data_relationships_adjustment_data.go | 2 +- ...del_line_item_data_relationships_bundle.go | 2 +- ...ine_item_data_relationships_bundle_data.go | 2 +- ..._line_item_data_relationships_gift_card.go | 2 +- ..._item_data_relationships_gift_card_data.go | 2 +- ...model_line_item_data_relationships_item.go | 2 +- ..._line_item_data_relationships_item_data.go | 2 +- ...em_data_relationships_line_item_options.go | 2 +- ...ta_relationships_line_item_options_data.go | 2 +- ...e_item_data_relationships_notifications.go | 125 + ...m_data_relationships_notifications_data.go | 165 + ...em_data_relationships_return_line_items.go | 2 +- ...ta_relationships_return_line_items_data.go | 2 +- ...l_line_item_data_relationships_shipment.go | 2 +- ...e_item_data_relationships_shipment_data.go | 2 +- ...tem_data_relationships_stock_line_items.go | 2 +- ...ata_relationships_stock_line_items_data.go | 2 +- ...m_data_relationships_stock_reservations.go | 2 +- ...a_relationships_stock_reservations_data.go | 2 +- ...item_data_relationships_stock_transfers.go | 2 +- ...data_relationships_stock_transfers_data.go | 2 +- api/model_line_item_option.go | 2 +- api/model_line_item_option_create.go | 2 +- api/model_line_item_option_create_data.go | 2 +- ...e_item_option_create_data_relationships.go | 2 +- ...ion_create_data_relationships_line_item.go | 2 +- ...on_create_data_relationships_sku_option.go | 2 +- api/model_line_item_option_data.go | 2 +- ...del_line_item_option_data_relationships.go | 2 +- ...tem_option_data_relationships_line_item.go | 2 +- ...ption_data_relationships_line_item_data.go | 2 +- ...em_option_data_relationships_sku_option.go | 2 +- ...tion_data_relationships_sku_option_data.go | 2 +- api/model_line_item_option_update.go | 2 +- api/model_line_item_option_update_data.go | 2 +- ...e_item_option_update_data_relationships.go | 2 +- api/model_line_item_update.go | 2 +- api/model_line_item_update_data.go | 2 +- api/model_link.go | 2 +- api/model_link_create.go | 2 +- api/model_link_create_data.go | 2 +- api/model_link_create_data_relationships.go | 2 +- ...del_link_create_data_relationships_item.go | 2 +- api/model_link_data.go | 2 +- api/model_link_data_relationships.go | 2 +- api/model_link_data_relationships_item.go | 2 +- ...model_link_data_relationships_item_data.go | 2 +- api/model_link_update.go | 2 +- api/model_link_update_data.go | 2 +- api/model_link_update_data_relationships.go | 2 +- api/model_manual_gateway.go | 2 +- api/model_manual_gateway_create.go | 2 +- api/model_manual_gateway_create_data.go | 2 +- api/model_manual_gateway_data.go | 2 +- ...model_manual_gateway_data_relationships.go | 2 +- api/model_manual_gateway_update.go | 2 +- api/model_manual_gateway_update_data.go | 2 +- api/model_manual_tax_calculator.go | 2 +- api/model_manual_tax_calculator_create.go | 2 +- ...model_manual_tax_calculator_create_data.go | 2 +- ...ax_calculator_create_data_relationships.go | 2 +- ...tor_create_data_relationships_tax_rules.go | 2 +- api/model_manual_tax_calculator_data.go | 2 +- ...anual_tax_calculator_data_relationships.go | 2 +- ...calculator_data_relationships_tax_rules.go | 2 +- ...lator_data_relationships_tax_rules_data.go | 2 +- api/model_manual_tax_calculator_update.go | 2 +- ...model_manual_tax_calculator_update_data.go | 2 +- api/model_market.go | 2 +- api/model_market_create.go | 2 +- api/model_market_create_data.go | 2 +- api/model_market_create_data_relationships.go | 2 +- ...rket_create_data_relationships_merchant.go | 2 +- ...et_create_data_relationships_price_list.go | 2 +- ...e_data_relationships_subscription_model.go | 2 +- ...reate_data_relationships_tax_calculator.go | 2 +- api/model_market_data.go | 2 +- api/model_market_data_relationships.go | 38 +- ...odel_market_data_relationships_merchant.go | 2 +- ...market_data_relationships_merchant_data.go | 2 +- ...el_market_data_relationships_price_list.go | 2 +- ...rket_data_relationships_price_list_data.go | 2 +- ...ata_relationships_price_list_schedulers.go | 2 +- ...elationships_price_list_schedulers_data.go | 2 +- api/model_market_data_relationships_stores.go | 125 + ...l_market_data_relationships_stores_data.go | 165 + ...t_data_relationships_subscription_model.go | 2 +- ...a_relationships_subscription_model_data.go | 2 +- ...arket_data_relationships_tax_calculator.go | 2 +- ..._data_relationships_tax_calculator_data.go | 2 +- api/model_market_update.go | 2 +- api/model_market_update_data.go | 2 +- api/model_market_update_data_relationships.go | 2 +- api/model_merchant.go | 2 +- api/model_merchant_create.go | 2 +- api/model_merchant_create_data.go | 2 +- ...odel_merchant_create_data_relationships.go | 2 +- api/model_merchant_data.go | 2 +- api/model_merchant_data_relationships.go | 2 +- api/model_merchant_update.go | 2 +- api/model_merchant_update_data.go | 2 +- ...odel_merchant_update_data_relationships.go | 2 +- api/model_notification.go | 125 + api/model_notification_create.go | 116 + api/model_notification_create_data.go | 184 + ..._notification_create_data_relationships.go | 116 + ...on_create_data_relationships_notifiable.go | 116 + api/model_notification_data.go | 184 + api/model_notification_data_relationships.go | 125 + ...ification_data_relationships_notifiable.go | 125 + ...tion_data_relationships_notifiable_data.go | 165 + api/model_notification_update.go | 116 + api/model_notification_update_data.go | 216 + ..._notification_update_data_relationships.go | 125 + api/model_order.go | 2 +- api/model_order_amount_promotion_rule.go | 2 +- ...odel_order_amount_promotion_rule_create.go | 2 +- ...order_amount_promotion_rule_create_data.go | 2 +- api/model_order_amount_promotion_rule_data.go | 2 +- ...odel_order_amount_promotion_rule_update.go | 2 +- ...order_amount_promotion_rule_update_data.go | 2 +- api/model_order_copy.go | 2 +- api/model_order_copy_create.go | 2 +- api/model_order_copy_create_data.go | 2 +- ...el_order_copy_create_data_relationships.go | 2 +- api/model_order_copy_data.go | 2 +- api/model_order_copy_data_relationships.go | 2 +- api/model_order_copy_update.go | 2 +- api/model_order_copy_update_data.go | 18 +- api/model_order_create.go | 2 +- api/model_order_create_data.go | 2 +- api/model_order_create_data_relationships.go | 50 +- ...l_order_create_data_relationships_store.go | 116 + api/model_order_data.go | 2 +- api/model_order_data_relationships.go | 86 +- api/model_order_data_relationships_links.go | 2 +- ...del_order_data_relationships_links_data.go | 2 +- ...l_order_data_relationships_order_copies.go | 2 +- ...er_data_relationships_order_copies_data.go | 2 +- ...rder_data_relationships_payment_options.go | 2 +- ...data_relationships_payment_options_data.go | 2 +- ...rder_data_relationships_resource_errors.go | 2 +- ...data_relationships_resource_errors_data.go | 2 +- ...l_order_data_relationships_transactions.go | 2 +- ...er_data_relationships_transactions_data.go | 2 +- api/model_order_factory.go | 2 +- api/model_order_factory_data.go | 2 +- api/model_order_factory_data_relationships.go | 2 +- api/model_order_subscription.go | 2 +- api/model_order_subscription_create.go | 2 +- api/model_order_subscription_create_data.go | 2 +- ..._subscription_create_data_relationships.go | 18 +- api/model_order_subscription_data.go | 2 +- ...l_order_subscription_data_relationships.go | 2 +- ...tion_data_relationships_order_factories.go | 2 +- ...data_relationships_order_factories_data.go | 2 +- ..._relationships_order_subscription_items.go | 2 +- ...tionships_order_subscription_items_data.go | 2 +- ...ta_relationships_recurring_order_copies.go | 2 +- ...lationships_recurring_order_copies_data.go | 2 +- api/model_order_subscription_item.go | 2 +- api/model_order_subscription_item_create.go | 2 +- ...del_order_subscription_item_create_data.go | 2 +- ...cription_item_create_data_relationships.go | 2 +- ...em_create_data_relationships_adjustment.go | 2 +- ...n_item_create_data_relationships_bundle.go | 2 +- ...ion_item_create_data_relationships_item.go | 2 +- ...e_data_relationships_order_subscription.go | 2 +- api/model_order_subscription_item_data.go | 2 +- ...er_subscription_item_data_relationships.go | 2 +- ...bscription_item_data_relationships_item.go | 2 +- ...ption_item_data_relationships_item_data.go | 2 +- api/model_order_subscription_item_update.go | 2 +- ...del_order_subscription_item_update_data.go | 2 +- api/model_order_subscription_update.go | 2 +- api/model_order_subscription_update_data.go | 2 +- ..._subscription_update_data_relationships.go | 2 +- ...a_relationships_customer_payment_source.go | 2 +- api/model_order_update.go | 2 +- api/model_order_update_data.go | 2 +- api/model_organization.go | 2 +- api/model_organization_data.go | 2 +- api/model_package.go | 2 +- api/model_package_create.go | 2 +- api/model_package_create_data.go | 2 +- ...model_package_create_data_relationships.go | 2 +- api/model_package_data.go | 2 +- api/model_package_data_relationships.go | 2 +- ...odel_package_data_relationships_parcels.go | 2 +- ...package_data_relationships_parcels_data.go | 2 +- api/model_package_update.go | 2 +- api/model_package_update_data.go | 2 +- ...model_package_update_data_relationships.go | 2 +- api/model_parcel.go | 2 +- api/model_parcel_create.go | 2 +- api/model_parcel_create_data.go | 2 +- api/model_parcel_create_data_relationships.go | 2 +- ...arcel_create_data_relationships_package.go | 2 +- ...rcel_create_data_relationships_shipment.go | 2 +- api/model_parcel_data.go | 2 +- api/model_parcel_data_relationships.go | 2 +- ...model_parcel_data_relationships_package.go | 2 +- ..._parcel_data_relationships_package_data.go | 2 +- ...el_data_relationships_parcel_line_items.go | 2 +- ...ta_relationships_parcel_line_items_data.go | 2 +- api/model_parcel_line_item.go | 2 +- api/model_parcel_line_item_create.go | 2 +- api/model_parcel_line_item_create_data.go | 2 +- ...cel_line_item_create_data_relationships.go | 2 +- ...e_item_create_data_relationships_parcel.go | 2 +- ...eate_data_relationships_stock_line_item.go | 2 +- api/model_parcel_line_item_data.go | 2 +- ...del_parcel_line_item_data_relationships.go | 2 +- api/model_parcel_line_item_update.go | 2 +- api/model_parcel_line_item_update_data.go | 18 +- api/model_parcel_update.go | 2 +- api/model_parcel_update_data.go | 2 +- api/model_parcel_update_data_relationships.go | 2 +- ...patch_addresses_address_id_200_response.go | 2 +- ..._addresses_address_id_200_response_data.go | 2 +- ...address_id_200_response_data_attributes.go | 2 +- ..._adjustments_adjustment_id_200_response.go | 2 +- ...stments_adjustment_id_200_response_data.go | 2 +- ...ustment_id_200_response_data_attributes.go | 2 +- ..._gateways_adyen_gateway_id_200_response.go | 2 +- ...ways_adyen_gateway_id_200_response_data.go | 2 +- ...gateway_id_200_response_data_attributes.go | 2 +- ..._payments_adyen_payment_id_200_response.go | 2 +- ...ents_adyen_payment_id_200_response_data.go | 2 +- ...payment_id_200_response_data_attributes.go | 2 +- ..._attachments_attachment_id_200_response.go | 2 +- ...chments_attachment_id_200_response_data.go | 2 +- ...achment_id_200_response_data_attributes.go | 2 +- ...rizations_authorization_id_200_response.go | 2 +- ...ions_authorization_id_200_response_data.go | 2 +- ...ization_id_200_response_data_attributes.go | 2 +- ...ccounts_avalara_account_id_200_response.go | 2 +- ...ts_avalara_account_id_200_response_data.go | 2 +- ...account_id_200_response_data_attributes.go | 2 +- ...gateways_axerve_gateway_id_200_response.go | 2 +- ...ays_axerve_gateway_id_200_response_data.go | 2 +- ...gateway_id_200_response_data_attributes.go | 2 +- ...payments_axerve_payment_id_200_response.go | 2 +- ...nts_axerve_payment_id_200_response_data.go | 2 +- ...payment_id_200_response_data_attributes.go | 2 +- ...ng_info_validation_rule_id_200_response.go | 125 - ...fo_validation_rule_id_200_response_data.go | 273 - ...on_rule_id_200_response_data_attributes.go | 203 - ...geocoders_bing_geocoder_id_200_response.go | 2 +- ...ders_bing_geocoder_id_200_response_data.go | 2 +- ...eocoder_id_200_response_data_attributes.go | 2 +- ...eways_braintree_gateway_id_200_response.go | 2 +- ..._braintree_gateway_id_200_response_data.go | 2 +- ...gateway_id_200_response_data_attributes.go | 2 +- ...ments_braintree_payment_id_200_response.go | 2 +- ..._braintree_payment_id_200_response_data.go | 2 +- ...payment_id_200_response_data_attributes.go | 2 +- ...el_patch_bundles_bundle_id_200_response.go | 2 +- ...tch_bundles_bundle_id_200_response_data.go | 2 +- ..._bundle_id_200_response_data_attributes.go | 2 +- ...s_buy_x_pay_y_promotion_id_200_response.go | 2 +- ..._x_pay_y_promotion_id_200_response_data.go | 2 +- ...omotion_id_200_response_data_attributes.go | 2 +- ..._patch_captures_capture_id_200_response.go | 2 +- ...h_captures_capture_id_200_response_data.go | 2 +- ...capture_id_200_response_data_attributes.go | 2 +- ...ccounts_carrier_account_id_200_response.go | 2 +- ...ts_carrier_account_id_200_response_data.go | 14 +- ...account_id_200_response_data_attributes.go | 2 +- ...ys_checkout_com_gateway_id_200_response.go | 2 +- ...eckout_com_gateway_id_200_response_data.go | 2 +- ...gateway_id_200_response_data_attributes.go | 2 +- ...ts_checkout_com_payment_id_200_response.go | 2 +- ...eckout_com_payment_id_200_response_data.go | 2 +- ...payment_id_200_response_data_attributes.go | 2 +- ..._patch_cleanups_cleanup_id_200_response.go | 2 +- ...h_cleanups_cleanup_id_200_response_data.go | 20 +- ...cleanup_id_200_response_data_attributes.go | 241 + ...on_codes_promotion_rule_id_200_response.go | 2 +- ...des_promotion_rule_id_200_response_data.go | 20 +- ...on_rule_id_200_response_data_attributes.go | 203 + ...pients_coupon_recipient_id_200_response.go | 2 +- ...s_coupon_recipient_id_200_response_data.go | 2 +- ...cipient_id_200_response_data_attributes.go | 2 +- ...el_patch_coupons_coupon_id_200_response.go | 2 +- ...tch_coupons_coupon_id_200_response_data.go | 2 +- ..._coupon_id_200_response_data_attributes.go | 2 +- ...s_custom_promotion_rule_id_200_response.go | 2 +- ...tom_promotion_rule_id_200_response_data.go | 2 +- ...on_rule_id_200_response_data_attributes.go | 2 +- ...resses_customer_address_id_200_response.go | 2 +- ...s_customer_address_id_200_response_data.go | 20 +- ...r_groups_customer_group_id_200_response.go | 2 +- ...ups_customer_group_id_200_response_data.go | 2 +- ...r_group_id_200_response_data_attributes.go | 2 +- ...customer_password_reset_id_200_response.go | 2 +- ...mer_password_reset_id_200_response_data.go | 2 +- ...d_reset_id_200_response_data_attributes.go | 2 +- ...customer_payment_source_id_200_response.go | 2 +- ...mer_payment_source_id_200_response_data.go | 2 +- ..._source_id_200_response_data_attributes.go | 2 +- ...s_customer_subscription_id_200_response.go | 2 +- ...tomer_subscription_id_200_response_data.go | 2 +- ...ription_id_200_response_data_attributes.go | 2 +- ...atch_customers_customer_id_200_response.go | 2 +- ...customers_customer_id_200_response_data.go | 2 +- ...ustomer_id_200_response_data_attributes.go | 40 +- ...imes_delivery_lead_time_id_200_response.go | 2 +- ...delivery_lead_time_id_200_response_data.go | 2 +- ...ad_time_id_200_response_data_attributes.go | 2 +- ...odel_patch_events_event_id_200_response.go | 2 +- ...patch_events_event_id_200_response_data.go | 2 +- ...s_event_id_200_response_data_attributes.go | 2 +- ...el_patch_exports_export_id_200_response.go | 2 +- ...tch_exports_export_id_200_response_data.go | 20 +- ...teways_external_gateway_id_200_response.go | 2 +- ...s_external_gateway_id_200_response_data.go | 2 +- ...gateway_id_200_response_data_attributes.go | 2 +- ...yments_external_payment_id_200_response.go | 2 +- ...s_external_payment_id_200_response_data.go | 2 +- ...payment_id_200_response_data_attributes.go | 2 +- ...ions_external_promotion_id_200_response.go | 2 +- ...external_promotion_id_200_response_data.go | 2 +- ...omotion_id_200_response_data_attributes.go | 2 +- ...external_tax_calculator_id_200_response.go | 2 +- ...nal_tax_calculator_id_200_response_data.go | 2 +- ...culator_id_200_response_data_attributes.go | 2 +- ..._fixed_amount_promotion_id_200_response.go | 2 +- ...d_amount_promotion_id_200_response_data.go | 2 +- ...omotion_id_200_response_data_attributes.go | 2 +- ...s_fixed_price_promotion_id_200_response.go | 2 +- ...ed_price_promotion_id_200_response_data.go | 2 +- ...omotion_id_200_response_data_attributes.go | 2 +- ...omotions_flex_promotion_id_200_response.go | 2 +- ...ons_flex_promotion_id_200_response_data.go | 2 +- ...omotion_id_200_response_data_attributes.go | 2 +- ...ons_free_gift_promotion_id_200_response.go | 2 +- ...ree_gift_promotion_id_200_response_data.go | 2 +- ...omotion_id_200_response_data_attributes.go | 2 +- ...free_shipping_promotion_id_200_response.go | 2 +- ...shipping_promotion_id_200_response_data.go | 2 +- ...omotion_id_200_response_data_attributes.go | 2 +- ...nts_gift_card_recipient_id_200_response.go | 2 +- ...ift_card_recipient_id_200_response_data.go | 2 +- ...ch_gift_cards_gift_card_id_200_response.go | 2 +- ...ft_cards_gift_card_id_200_response_data.go | 2 +- ...ft_card_id_200_response_data_attributes.go | 2 +- ...ocoders_google_geocoder_id_200_response.go | 2 +- ...rs_google_geocoder_id_200_response_data.go | 2 +- ...eocoder_id_200_response_data_attributes.go | 2 +- ...el_patch_imports_import_id_200_response.go | 2 +- ...tch_imports_import_id_200_response_data.go | 20 +- ...s_in_stock_subscription_id_200_response.go | 2 +- ...stock_subscription_id_200_response_data.go | 2 +- ...ription_id_200_response_data_attributes.go | 2 +- ..._models_inventory_model_id_200_response.go | 2 +- ...ls_inventory_model_id_200_response_data.go | 2 +- ...y_model_id_200_response_data_attributes.go | 2 +- ...ventory_return_location_id_200_response.go | 2 +- ...ry_return_location_id_200_response_data.go | 2 +- ...ocation_id_200_response_data_attributes.go | 2 +- ...nventory_stock_location_id_200_response.go | 2 +- ...ory_stock_location_id_200_response_data.go | 2 +- ...ocation_id_200_response_data_attributes.go | 2 +- ...gateways_klarna_gateway_id_200_response.go | 2 +- ...ays_klarna_gateway_id_200_response_data.go | 2 +- ...gateway_id_200_response_data_attributes.go | 2 +- ...payments_klarna_payment_id_200_response.go | 2 +- ...nts_klarna_payment_id_200_response_data.go | 2 +- ...payment_id_200_response_data_attributes.go | 2 +- ...ptions_line_item_option_id_200_response.go | 2 +- ...s_line_item_option_id_200_response_data.go | 2 +- ..._option_id_200_response_data_attributes.go | 2 +- ...ch_line_items_line_item_id_200_response.go | 2 +- ...ne_items_line_item_id_200_response_data.go | 2 +- ...ne_item_id_200_response_data_attributes.go | 4 +- api/model_patch_links_link_id_200_response.go | 2 +- ...l_patch_links_link_id_200_response_data.go | 2 +- ...ks_link_id_200_response_data_attributes.go | 2 +- ...gateways_manual_gateway_id_200_response.go | 2 +- ...ays_manual_gateway_id_200_response_data.go | 2 +- ...gateway_id_200_response_data_attributes.go | 2 +- ...s_manual_tax_calculator_id_200_response.go | 2 +- ...ual_tax_calculator_id_200_response_data.go | 2 +- ...culator_id_200_response_data_attributes.go | 2 +- ...el_patch_markets_market_id_200_response.go | 2 +- ...tch_markets_market_id_200_response_data.go | 2 +- ..._market_id_200_response_data_attributes.go | 2 +- ...atch_merchants_merchant_id_200_response.go | 2 +- ...merchants_merchant_id_200_response_data.go | 2 +- ...erchant_id_200_response_data_attributes.go | 2 +- ...ifications_notification_id_200_response.go | 125 + ...tions_notification_id_200_response_data.go | 273 + ...ication_id_200_response_data_attributes.go | 317 + ...r_amount_promotion_rule_id_200_response.go | 2 +- ...unt_promotion_rule_id_200_response_data.go | 2 +- ...on_rule_id_200_response_data_attributes.go | 2 +- ...order_copies_order_copy_id_200_response.go | 2 +- ..._copies_order_copy_id_200_response_data.go | 20 +- ...order_subscription_item_id_200_response.go | 2 +- ..._subscription_item_id_200_response_data.go | 2 +- ...on_item_id_200_response_data_attributes.go | 2 +- ...ions_order_subscription_id_200_response.go | 2 +- ...order_subscription_id_200_response_data.go | 2 +- ...ription_id_200_response_data_attributes.go | 2 +- ...odel_patch_orders_order_id_200_response.go | 2 +- ...patch_orders_order_id_200_response_data.go | 2 +- ...s_order_id_200_response_data_attributes.go | 42 +- ..._patch_packages_package_id_200_response.go | 2 +- ...h_packages_package_id_200_response_data.go | 2 +- ...package_id_200_response_data_attributes.go | 2 +- ..._items_parcel_line_item_id_200_response.go | 2 +- ...s_parcel_line_item_id_200_response_data.go | 20 +- ...el_patch_parcels_parcel_id_200_response.go | 2 +- ...tch_parcels_parcel_id_200_response_data.go | 2 +- ..._parcel_id_200_response_data_attributes.go | 2 +- ..._methods_payment_method_id_200_response.go | 2 +- ...ods_payment_method_id_200_response_data.go | 2 +- ..._method_id_200_response_data_attributes.go | 2 +- ..._options_payment_option_id_200_response.go | 2 +- ...ons_payment_option_id_200_response_data.go | 2 +- ..._option_id_200_response_data_attributes.go | 2 +- ...gateways_paypal_gateway_id_200_response.go | 2 +- ...ays_paypal_gateway_id_200_response_data.go | 2 +- ...gateway_id_200_response_data_attributes.go | 2 +- ...payments_paypal_payment_id_200_response.go | 2 +- ...nts_paypal_payment_id_200_response_data.go | 2 +- ...payment_id_200_response_data_attributes.go | 2 +- ...tage_discount_promotion_id_200_response.go | 2 +- ...discount_promotion_id_200_response_data.go | 2 +- ...omotion_id_200_response_data_attributes.go | 2 +- ...rs_price_frequency_tier_id_200_response.go | 2 +- ...ice_frequency_tier_id_200_response_data.go | 2 +- ...cy_tier_id_200_response_data_attributes.go | 2 +- ...rs_price_list_scheduler_id_200_response.go | 2 +- ...ice_list_scheduler_id_200_response_data.go | 2 +- ...heduler_id_200_response_data_attributes.go | 2 +- ..._price_lists_price_list_id_200_response.go | 2 +- ...e_lists_price_list_id_200_response_data.go | 2 +- ...ce_list_id_200_response_data_attributes.go | 2 +- ...tiers_price_volume_tier_id_200_response.go | 2 +- ..._price_volume_tier_id_200_response_data.go | 2 +- ...me_tier_id_200_response_data_attributes.go | 2 +- ...odel_patch_prices_price_id_200_response.go | 2 +- ...patch_prices_price_id_200_response_data.go | 2 +- ...s_price_id_200_response_data_attributes.go | 2 +- ...es_recurring_order_copy_id_200_response.go | 2 +- ...curring_order_copy_id_200_response_data.go | 20 +- ...el_patch_refunds_refund_id_200_response.go | 2 +- ...tch_refunds_refund_id_200_response_data.go | 2 +- ..._refund_id_200_response_data_attributes.go | 2 +- ..._items_return_line_item_id_200_response.go | 2 +- ...s_return_line_item_id_200_response_data.go | 2 +- ...ne_item_id_200_response_data_attributes.go | 2 +- ...el_patch_returns_return_id_200_response.go | 2 +- ...tch_returns_return_id_200_response_data.go | 2 +- ..._return_id_200_response_data_attributes.go | 2 +- ...teways_satispay_gateway_id_200_response.go | 2 +- ...s_satispay_gateway_id_200_response_data.go | 2 +- ...yments_satispay_payment_id_200_response.go | 2 +- ...s_satispay_payment_id_200_response_data.go | 2 +- ...payment_id_200_response_data_attributes.go | 2 +- ...atch_shipments_shipment_id_200_response.go | 2 +- ...shipments_shipment_id_200_response_data.go | 2 +- ...hipment_id_200_response_data_attributes.go | 2 +- ...ories_shipping_category_id_200_response.go | 2 +- ..._shipping_category_id_200_response_data.go | 2 +- ...ategory_id_200_response_data_attributes.go | 2 +- ...methods_shipping_method_id_200_response.go | 2 +- ...ds_shipping_method_id_200_response_data.go | 2 +- ..._method_id_200_response_data_attributes.go | 2 +- ...rs_shipping_weight_tier_id_200_response.go | 2 +- ...ipping_weight_tier_id_200_response_data.go | 2 +- ...ht_tier_id_200_response_data_attributes.go | 2 +- ...ing_zones_shipping_zone_id_200_response.go | 2 +- ...ones_shipping_zone_id_200_response_data.go | 2 +- ...ng_zone_id_200_response_data_attributes.go | 14 +- ...ist_items_sku_list_item_id_200_response.go | 2 +- ...tems_sku_list_item_id_200_response_data.go | 2 +- ...st_item_id_200_response_data_attributes.go | 2 +- ...sku_list_promotion_rule_id_200_response.go | 2 +- ...ist_promotion_rule_id_200_response_data.go | 2 +- ...on_rule_id_200_response_data_attributes.go | 2 +- ...atch_sku_lists_sku_list_id_200_response.go | 2 +- ...sku_lists_sku_list_id_200_response_data.go | 2 +- ...ku_list_id_200_response_data_attributes.go | 4 +- ..._sku_options_sku_option_id_200_response.go | 2 +- ...options_sku_option_id_200_response_data.go | 2 +- ..._option_id_200_response_data_attributes.go | 4 +- api/model_patch_skus_sku_id_200_response.go | 2 +- ...del_patch_skus_sku_id_200_response_data.go | 2 +- ...kus_sku_id_200_response_data_attributes.go | 2 +- ..._stock_items_stock_item_id_200_response.go | 2 +- ...k_items_stock_item_id_200_response_data.go | 2 +- ...ck_item_id_200_response_data_attributes.go | 2 +- ...e_items_stock_line_item_id_200_response.go | 2 +- ...ms_stock_line_item_id_200_response_data.go | 2 +- ...ne_item_id_200_response_data_attributes.go | 2 +- ...ocations_stock_location_id_200_response.go | 2 +- ...ons_stock_location_id_200_response_data.go | 2 +- ...ocation_id_200_response_data_attributes.go | 2 +- ...tions_stock_reservation_id_200_response.go | 2 +- ..._stock_reservation_id_200_response_data.go | 2 +- ...rvation_id_200_response_data_attributes.go | 2 +- ...ransfers_stock_transfer_id_200_response.go | 2 +- ...ers_stock_transfer_id_200_response_data.go | 2 +- ...ransfer_id_200_response_data_attributes.go | 40 +- ...odel_patch_stores_store_id_200_response.go | 125 + ...patch_stores_store_id_200_response_data.go | 273 + ...s_store_id_200_response_data_attributes.go | 279 + ...gateways_stripe_gateway_id_200_response.go | 2 +- ...ays_stripe_gateway_id_200_response_data.go | 2 +- ...gateway_id_200_response_data_attributes.go | 2 +- ...payments_stripe_payment_id_200_response.go | 2 +- ...nts_stripe_payment_id_200_response_data.go | 2 +- ...payment_id_200_response_data_attributes.go | 2 +- ...dels_subscription_model_id_200_response.go | 2 +- ...subscription_model_id_200_response_data.go | 2 +- ...n_model_id_200_response_data_attributes.go | 2 +- api/model_patch_tags_tag_id_200_response.go | 2 +- ...del_patch_tags_tag_id_200_response_data.go | 2 +- ...ags_tag_id_200_response_data_attributes.go | 2 +- ...categories_tax_category_id_200_response.go | 2 +- ...ories_tax_category_id_200_response_data.go | 2 +- ...ategory_id_200_response_data_attributes.go | 2 +- ...atch_tax_rules_tax_rule_id_200_response.go | 2 +- ...tax_rules_tax_rule_id_200_response_data.go | 2 +- ...ax_rule_id_200_response_data_attributes.go | 310 +- ...accounts_taxjar_account_id_200_response.go | 2 +- ...nts_taxjar_account_id_200_response_data.go | 2 +- ...account_id_200_response_data_attributes.go | 2 +- api/model_patch_voids_void_id_200_response.go | 2 +- ...l_patch_voids_void_id_200_response_data.go | 2 +- ..._patch_webhooks_webhook_id_200_response.go | 2 +- ...h_webhooks_webhook_id_200_response_data.go | 2 +- ...webhook_id_200_response_data_attributes.go | 2 +- ...transfers_wire_transfer_id_200_response.go | 2 +- ...fers_wire_transfer_id_200_response_data.go | 20 +- api/model_payment_gateway.go | 2 +- api/model_payment_gateway_data.go | 2 +- api/model_payment_method.go | 2 +- api/model_payment_method_create.go | 2 +- api/model_payment_method_create_data.go | 2 +- ...ayment_method_create_data_relationships.go | 52 +- ...eate_data_relationships_payment_gateway.go | 2 +- api/model_payment_method_data.go | 2 +- ...model_payment_method_data_relationships.go | 74 +- api/model_payment_method_update.go | 2 +- api/model_payment_method_update_data.go | 2 +- ...ayment_method_update_data_relationships.go | 52 +- api/model_payment_option.go | 2 +- api/model_payment_option_create.go | 2 +- api/model_payment_option_create_data.go | 2 +- api/model_payment_option_data.go | 2 +- ...model_payment_option_data_relationships.go | 2 +- api/model_payment_option_update.go | 2 +- api/model_payment_option_update_data.go | 2 +- api/model_paypal_gateway.go | 2 +- api/model_paypal_gateway_create.go | 2 +- api/model_paypal_gateway_create_data.go | 2 +- api/model_paypal_gateway_data.go | 2 +- ...model_paypal_gateway_data_relationships.go | 2 +- ...eway_data_relationships_paypal_payments.go | 2 +- ...data_relationships_paypal_payments_data.go | 2 +- api/model_paypal_gateway_update.go | 2 +- api/model_paypal_gateway_update_data.go | 2 +- api/model_paypal_payment.go | 2 +- api/model_paypal_payment_create.go | 2 +- api/model_paypal_payment_create_data.go | 2 +- api/model_paypal_payment_data.go | 2 +- api/model_paypal_payment_update.go | 2 +- api/model_paypal_payment_update_data.go | 2 +- api/model_percentage_discount_promotion.go | 2 +- ...el_percentage_discount_promotion_create.go | 2 +- ...rcentage_discount_promotion_create_data.go | 2 +- ...odel_percentage_discount_promotion_data.go | 2 +- ...el_percentage_discount_promotion_update.go | 2 +- ...rcentage_discount_promotion_update_data.go | 2 +- api/model_post_addresses_201_response.go | 2 +- api/model_post_addresses_201_response_data.go | 2 +- ..._addresses_201_response_data_attributes.go | 2 +- ..._post_addresses_201_response_data_links.go | 2 +- ...dresses_201_response_data_relationships.go | 2 +- ..._201_response_data_relationships_events.go | 2 +- ...response_data_relationships_events_data.go | 2 +- ...01_response_data_relationships_geocoder.go | 2 +- ...sponse_data_relationships_geocoder_data.go | 2 +- ...ponse_data_relationships_geocoder_links.go | 2 +- ...es_201_response_data_relationships_tags.go | 2 +- ...1_response_data_relationships_tags_data.go | 2 +- ...01_response_data_relationships_versions.go | 2 +- ...sponse_data_relationships_versions_data.go | 2 +- api/model_post_adjustments_201_response.go | 2 +- ...odel_post_adjustments_201_response_data.go | 2 +- ...djustments_201_response_data_attributes.go | 2 +- ...stments_201_response_data_relationships.go | 2 +- api/model_post_adyen_gateways_201_response.go | 2 +- ...l_post_adyen_gateways_201_response_data.go | 2 +- ...n_gateways_201_response_data_attributes.go | 2 +- ...ateways_201_response_data_relationships.go | 2 +- ...ponse_data_relationships_adyen_payments.go | 2 +- ..._data_relationships_adyen_payments_data.go | 2 +- ...onse_data_relationships_payment_methods.go | 2 +- ...data_relationships_payment_methods_data.go | 2 +- api/model_post_adyen_payments_201_response.go | 2 +- ...l_post_adyen_payments_201_response_data.go | 2 +- ...n_payments_201_response_data_attributes.go | 2 +- ...ayments_201_response_data_relationships.go | 2 +- ...s_201_response_data_relationships_order.go | 2 +- ..._response_data_relationships_order_data.go | 2 +- ...onse_data_relationships_payment_gateway.go | 2 +- ...data_relationships_payment_gateway_data.go | 2 +- api/model_post_attachments_201_response.go | 2 +- ...odel_post_attachments_201_response_data.go | 2 +- ...ttachments_201_response_data_attributes.go | 2 +- ...chments_201_response_data_relationships.go | 2 +- ..._response_data_relationships_attachable.go | 2 +- ...onse_data_relationships_attachable_data.go | 2 +- ...odel_post_avalara_accounts_201_response.go | 2 +- ...post_avalara_accounts_201_response_data.go | 2 +- ...a_accounts_201_response_data_attributes.go | 2 +- ...ccounts_201_response_data_relationships.go | 2 +- ...201_response_data_relationships_markets.go | 2 +- ...esponse_data_relationships_markets_data.go | 2 +- ...ponse_data_relationships_tax_categories.go | 2 +- ..._data_relationships_tax_categories_data.go | 2 +- ...model_post_axerve_gateways_201_response.go | 2 +- ..._post_axerve_gateways_201_response_data.go | 2 +- ...e_gateways_201_response_data_attributes.go | 2 +- ...ateways_201_response_data_relationships.go | 2 +- ...onse_data_relationships_axerve_payments.go | 2 +- ...data_relationships_axerve_payments_data.go | 2 +- ...model_post_axerve_payments_201_response.go | 2 +- ..._post_axerve_payments_201_response_data.go | 2 +- ...e_payments_201_response_data_attributes.go | 2 +- ...ling_info_validation_rules_201_response.go | 125 - ...n_rules_201_response_data_relationships.go | 197 - ..._201_response_data_relationships_market.go | 161 - ...response_data_relationships_market_data.go | 165 - api/model_post_bing_geocoders_201_response.go | 2 +- ...l_post_bing_geocoders_201_response_data.go | 2 +- ..._geocoders_201_response_data_attributes.go | 2 +- ...ocoders_201_response_data_relationships.go | 2 +- ...1_response_data_relationships_addresses.go | 2 +- ...ponse_data_relationships_addresses_data.go | 2 +- ...el_post_braintree_gateways_201_response.go | 2 +- ...st_braintree_gateways_201_response_data.go | 2 +- ...e_gateways_201_response_data_attributes.go | 2 +- ...ateways_201_response_data_relationships.go | 2 +- ...e_data_relationships_braintree_payments.go | 2 +- ...a_relationships_braintree_payments_data.go | 2 +- ...el_post_braintree_payments_201_response.go | 2 +- ...st_braintree_payments_201_response_data.go | 2 +- ...e_payments_201_response_data_attributes.go | 2 +- api/model_post_bundles_201_response.go | 2 +- api/model_post_bundles_201_response_data.go | 2 +- ...st_bundles_201_response_data_attributes.go | 2 +- ...bundles_201_response_data_relationships.go | 14 +- ..._201_response_data_relationships_market.go | 161 + ...response_data_relationships_market_data.go | 165 + ...01_response_data_relationships_sku_list.go | 2 +- ...sponse_data_relationships_sku_list_data.go | 2 +- ...es_201_response_data_relationships_skus.go | 2 +- ...1_response_data_relationships_skus_data.go | 2 +- ...ost_buy_x_pay_y_promotions_201_response.go | 2 +- ...uy_x_pay_y_promotions_201_response_data.go | 2 +- ...promotions_201_response_data_attributes.go | 2 +- ...motions_201_response_data_relationships.go | 14 +- ...lationships_coupon_codes_promotion_rule.go | 2 +- ...nships_coupon_codes_promotion_rule_data.go | 2 +- ...201_response_data_relationships_coupons.go | 2 +- ...esponse_data_relationships_coupons_data.go | 2 +- ...ata_relationships_custom_promotion_rule.go | 2 +- ...elationships_custom_promotion_rule_data.go | 2 +- ...lationships_order_amount_promotion_rule.go | 2 +- ...nships_order_amount_promotion_rule_data.go | 2 +- ...onse_data_relationships_promotion_rules.go | 2 +- ...data_relationships_promotion_rules_data.go | 2 +- ...a_relationships_sku_list_promotion_rule.go | 2 +- ...ationships_sku_list_promotion_rule_data.go | 2 +- ...odel_post_carrier_accounts_201_response.go | 2 +- ...post_carrier_accounts_201_response_data.go | 20 +- ...r_accounts_201_response_data_attributes.go | 2 +- ...ccounts_201_response_data_relationships.go | 197 + ...post_checkout_com_gateways_201_response.go | 2 +- ...checkout_com_gateways_201_response_data.go | 2 +- ...m_gateways_201_response_data_attributes.go | 2 +- ...ateways_201_response_data_relationships.go | 2 +- ...ata_relationships_checkout_com_payments.go | 2 +- ...elationships_checkout_com_payments_data.go | 2 +- ...post_checkout_com_payments_201_response.go | 2 +- ...checkout_com_payments_201_response_data.go | 2 +- ...m_payments_201_response_data_attributes.go | 2 +- api/model_post_cleanups_201_response.go | 2 +- api/model_post_cleanups_201_response_data.go | 2 +- ...t_cleanups_201_response_data_attributes.go | 2 +- ...leanups_201_response_data_relationships.go | 2 +- ...upon_codes_promotion_rules_201_response.go | 2 +- ...codes_promotion_rules_201_response_data.go | 2 +- ...n_rules_201_response_data_relationships.go | 2 +- ...1_response_data_relationships_promotion.go | 2 +- ...ponse_data_relationships_promotion_data.go | 2 +- ...del_post_coupon_recipients_201_response.go | 2 +- ...ost_coupon_recipients_201_response_data.go | 2 +- ...recipients_201_response_data_attributes.go | 2 +- ...ipients_201_response_data_relationships.go | 2 +- ...01_response_data_relationships_customer.go | 2 +- ...sponse_data_relationships_customer_data.go | 2 +- api/model_post_coupons_201_response.go | 2 +- api/model_post_coupons_201_response_data.go | 2 +- ...st_coupons_201_response_data_attributes.go | 2 +- ...coupons_201_response_data_relationships.go | 2 +- ...nse_data_relationships_coupon_recipient.go | 2 +- ...ata_relationships_coupon_recipient_data.go | 2 +- ...ponse_data_relationships_promotion_rule.go | 2 +- ..._data_relationships_promotion_rule_data.go | 2 +- ...ost_custom_promotion_rules_201_response.go | 2 +- ...ustom_promotion_rules_201_response_data.go | 2 +- ...tion_rules_201_response_data_attributes.go | 2 +- ...n_rules_201_response_data_relationships.go | 2 +- ...el_post_customer_addresses_201_response.go | 2 +- ...st_customer_addresses_201_response_data.go | 2 +- ..._addresses_201_response_data_attributes.go | 2 +- ...dresses_201_response_data_relationships.go | 2 +- ...201_response_data_relationships_address.go | 2 +- ...esponse_data_relationships_address_data.go | 2 +- ...model_post_customer_groups_201_response.go | 2 +- ..._post_customer_groups_201_response_data.go | 2 +- ...mer_groups_201_response_data_attributes.go | 2 +- ..._groups_201_response_data_relationships.go | 2 +- ...1_response_data_relationships_customers.go | 2 +- ...ponse_data_relationships_customers_data.go | 2 +- ...t_customer_password_resets_201_response.go | 2 +- ...tomer_password_resets_201_response_data.go | 2 +- ...ord_resets_201_response_data_attributes.go | 2 +- ..._resets_201_response_data_relationships.go | 2 +- ...t_customer_payment_sources_201_response.go | 2 +- ...tomer_payment_sources_201_response_data.go | 2 +- ...nt_sources_201_response_data_attributes.go | 2 +- ...sources_201_response_data_relationships.go | 20 +- ...ponse_data_relationships_payment_method.go | 2 +- ..._data_relationships_payment_method_data.go | 2 +- ...ponse_data_relationships_payment_source.go | 161 - ..._data_relationships_payment_source_data.go | 165 - ...ost_customer_subscriptions_201_response.go | 2 +- ...ustomer_subscriptions_201_response_data.go | 2 +- ...scriptions_201_response_data_attributes.go | 2 +- ...iptions_201_response_data_relationships.go | 2 +- api/model_post_customers_201_response.go | 2 +- api/model_post_customers_201_response_data.go | 2 +- ..._customers_201_response_data_attributes.go | 40 +- ...stomers_201_response_data_relationships.go | 2 +- ...e_data_relationships_customer_addresses.go | 2 +- ...a_relationships_customer_addresses_data.go | 2 +- ...ponse_data_relationships_customer_group.go | 2 +- ..._data_relationships_customer_group_data.go | 2 +- ..._relationships_customer_payment_sources.go | 2 +- ...tionships_customer_payment_sources_data.go | 2 +- ...ta_relationships_customer_subscriptions.go | 2 +- ...lationships_customer_subscriptions_data.go | 2 +- ..._data_relationships_order_subscriptions.go | 2 +- ..._relationships_order_subscriptions_data.go | 2 +- ..._201_response_data_relationships_orders.go | 2 +- ...response_data_relationships_orders_data.go | 2 +- ...201_response_data_relationships_returns.go | 2 +- ...esponse_data_relationships_returns_data.go | 2 +- ...1_response_data_relationships_sku_lists.go | 2 +- ...ponse_data_relationships_sku_lists_data.go | 2 +- ...l_post_delivery_lead_times_201_response.go | 2 +- ...t_delivery_lead_times_201_response_data.go | 2 +- ...lead_times_201_response_data_attributes.go | 2 +- ...d_times_201_response_data_relationships.go | 2 +- ...onse_data_relationships_shipping_method.go | 2 +- ...data_relationships_shipping_method_data.go | 2 +- ...ponse_data_relationships_stock_location.go | 2 +- ..._data_relationships_stock_location_data.go | 2 +- api/model_post_exports_201_response.go | 2 +- api/model_post_exports_201_response_data.go | 2 +- ...st_exports_201_response_data_attributes.go | 42 +- ...exports_201_response_data_relationships.go | 2 +- ...del_post_external_gateways_201_response.go | 2 +- ...ost_external_gateways_201_response_data.go | 2 +- ...l_gateways_201_response_data_attributes.go | 2 +- ...ateways_201_response_data_relationships.go | 2 +- ...se_data_relationships_external_payments.go | 2 +- ...ta_relationships_external_payments_data.go | 2 +- ...del_post_external_payments_201_response.go | 2 +- ...ost_external_payments_201_response_data.go | 2 +- ...l_payments_201_response_data_attributes.go | 2 +- ...ayments_201_response_data_relationships.go | 2 +- ..._201_response_data_relationships_wallet.go | 2 +- ...response_data_relationships_wallet_data.go | 2 +- ...l_post_external_promotions_201_response.go | 2 +- ...t_external_promotions_201_response_data.go | 2 +- ...promotions_201_response_data_attributes.go | 2 +- ...t_external_tax_calculators_201_response.go | 2 +- ...ernal_tax_calculators_201_response_data.go | 2 +- ...alculators_201_response_data_attributes.go | 2 +- ...ulators_201_response_data_relationships.go | 2 +- ...st_fixed_amount_promotions_201_response.go | 2 +- ...xed_amount_promotions_201_response_data.go | 2 +- ...promotions_201_response_data_attributes.go | 2 +- ...ost_fixed_price_promotions_201_response.go | 2 +- ...ixed_price_promotions_201_response_data.go | 2 +- ...promotions_201_response_data_attributes.go | 2 +- ...model_post_flex_promotions_201_response.go | 2 +- ..._post_flex_promotions_201_response_data.go | 2 +- ...promotions_201_response_data_attributes.go | 2 +- ...motions_201_response_data_relationships.go | 2 +- ..._post_free_gift_promotions_201_response.go | 2 +- ..._free_gift_promotions_201_response_data.go | 2 +- ...promotions_201_response_data_attributes.go | 2 +- ...t_free_shipping_promotions_201_response.go | 2 +- ...e_shipping_promotions_201_response_data.go | 2 +- ...promotions_201_response_data_attributes.go | 2 +- ...motions_201_response_data_relationships.go | 14 +- ..._post_gift_card_recipients_201_response.go | 2 +- ..._gift_card_recipients_201_response_data.go | 2 +- api/model_post_gift_cards_201_response.go | 2 +- ...model_post_gift_cards_201_response_data.go | 2 +- ...gift_cards_201_response_data_attributes.go | 2 +- ...t_cards_201_response_data_relationships.go | 14 +- ..._data_relationships_gift_card_recipient.go | 2 +- ..._relationships_gift_card_recipient_data.go | 2 +- ...odel_post_google_geocoders_201_response.go | 2 +- ...post_google_geocoders_201_response_data.go | 2 +- ..._geocoders_201_response_data_attributes.go | 2 +- api/model_post_imports_201_response.go | 2 +- api/model_post_imports_201_response_data.go | 2 +- ...st_imports_201_response_data_attributes.go | 2 +- ...ost_in_stock_subscriptions_201_response.go | 2 +- ...n_stock_subscriptions_201_response_data.go | 2 +- ...scriptions_201_response_data_attributes.go | 2 +- ...iptions_201_response_data_relationships.go | 22 +- ...ons_201_response_data_relationships_sku.go | 2 +- ...01_response_data_relationships_sku_data.go | 2 +- ...odel_post_inventory_models_201_response.go | 2 +- ...post_inventory_models_201_response_data.go | 2 +- ...ory_models_201_response_data_attributes.go | 2 +- ..._models_201_response_data_relationships.go | 2 +- ...elationships_inventory_return_locations.go | 2 +- ...onships_inventory_return_locations_data.go | 2 +- ...relationships_inventory_stock_locations.go | 2 +- ...ionships_inventory_stock_locations_data.go | 2 +- ...inventory_return_locations_201_response.go | 2 +- ...tory_return_locations_201_response_data.go | 2 +- ..._locations_201_response_data_attributes.go | 2 +- ...cations_201_response_data_relationships.go | 2 +- ...onse_data_relationships_inventory_model.go | 2 +- ...data_relationships_inventory_model_data.go | 2 +- ..._inventory_stock_locations_201_response.go | 2 +- ...ntory_stock_locations_201_response_data.go | 2 +- ..._locations_201_response_data_attributes.go | 2 +- ...model_post_klarna_gateways_201_response.go | 2 +- ..._post_klarna_gateways_201_response_data.go | 2 +- ...a_gateways_201_response_data_attributes.go | 2 +- ...ateways_201_response_data_relationships.go | 2 +- ...onse_data_relationships_klarna_payments.go | 2 +- ...data_relationships_klarna_payments_data.go | 2 +- ...model_post_klarna_payments_201_response.go | 2 +- ..._post_klarna_payments_201_response_data.go | 2 +- ...del_post_line_item_options_201_response.go | 2 +- ...ost_line_item_options_201_response_data.go | 2 +- ...em_options_201_response_data_attributes.go | 2 +- ...options_201_response_data_relationships.go | 2 +- ...1_response_data_relationships_line_item.go | 2 +- ...ponse_data_relationships_line_item_data.go | 2 +- ..._response_data_relationships_sku_option.go | 2 +- ...onse_data_relationships_sku_option_data.go | 2 +- api/model_post_line_items_201_response.go | 2 +- ...model_post_line_items_201_response_data.go | 2 +- ...line_items_201_response_data_attributes.go | 6 +- ...e_items_201_response_data_relationships.go | 38 +- ..._response_data_relationships_adjustment.go | 2 +- ...onse_data_relationships_adjustment_data.go | 2 +- ..._201_response_data_relationships_bundle.go | 2 +- ...response_data_relationships_bundle_data.go | 2 +- ...1_response_data_relationships_gift_card.go | 2 +- ...ponse_data_relationships_gift_card_data.go | 2 +- ...ms_201_response_data_relationships_item.go | 2 +- ...1_response_data_relationships_item_data.go | 2 +- ...se_data_relationships_line_item_options.go | 2 +- ...ta_relationships_line_item_options_data.go | 2 +- ...sponse_data_relationships_notifications.go | 161 + ...e_data_relationships_notifications_data.go | 165 + ...se_data_relationships_return_line_items.go | 2 +- ...ta_relationships_return_line_items_data.go | 2 +- ...01_response_data_relationships_shipment.go | 2 +- ...sponse_data_relationships_shipment_data.go | 2 +- ...nse_data_relationships_stock_line_items.go | 2 +- ...ata_relationships_stock_line_items_data.go | 2 +- ...e_data_relationships_stock_reservations.go | 2 +- ...a_relationships_stock_reservations_data.go | 2 +- ...onse_data_relationships_stock_transfers.go | 2 +- ...data_relationships_stock_transfers_data.go | 2 +- api/model_post_links_201_response.go | 2 +- api/model_post_links_201_response_data.go | 2 +- ...post_links_201_response_data_attributes.go | 2 +- ...t_links_201_response_data_relationships.go | 2 +- ...model_post_manual_gateways_201_response.go | 2 +- ..._post_manual_gateways_201_response_data.go | 2 +- ...l_gateways_201_response_data_attributes.go | 2 +- ...ateways_201_response_data_relationships.go | 2 +- ...ost_manual_tax_calculators_201_response.go | 2 +- ...anual_tax_calculators_201_response_data.go | 2 +- ...alculators_201_response_data_attributes.go | 2 +- ...ulators_201_response_data_relationships.go | 2 +- ...1_response_data_relationships_tax_rules.go | 2 +- ...ponse_data_relationships_tax_rules_data.go | 2 +- api/model_post_markets_201_response.go | 2 +- api/model_post_markets_201_response_data.go | 2 +- ...st_markets_201_response_data_attributes.go | 2 +- ...markets_201_response_data_relationships.go | 38 +- ...onse_data_relationships_base_price_list.go | 2 +- ...data_relationships_base_price_list_data.go | 2 +- ...01_response_data_relationships_merchant.go | 2 +- ...sponse_data_relationships_merchant_data.go | 2 +- ..._response_data_relationships_price_list.go | 2 +- ...onse_data_relationships_price_list_data.go | 2 +- ...ata_relationships_price_list_schedulers.go | 2 +- ...elationships_price_list_schedulers_data.go | 2 +- ..._201_response_data_relationships_stores.go | 161 + ...response_data_relationships_stores_data.go | 165 + ...e_data_relationships_subscription_model.go | 2 +- ...a_relationships_subscription_model_data.go | 2 +- ...ponse_data_relationships_tax_calculator.go | 2 +- ..._data_relationships_tax_calculator_data.go | 2 +- api/model_post_merchants_201_response.go | 2 +- api/model_post_merchants_201_response_data.go | 2 +- ..._merchants_201_response_data_attributes.go | 2 +- ...rchants_201_response_data_relationships.go | 2 +- api/model_post_notifications_201_response.go | 125 + ...el_post_notifications_201_response_data.go | 273 + ...ifications_201_response_data_attributes.go | 311 + ...cations_201_response_data_relationships.go | 125 + ..._response_data_relationships_notifiable.go | 161 + ...onse_data_relationships_notifiable_data.go | 165 + ...der_amount_promotion_rules_201_response.go | 2 +- ...mount_promotion_rules_201_response_data.go | 2 +- ...tion_rules_201_response_data_attributes.go | 2 +- api/model_post_order_copies_201_response.go | 2 +- ...del_post_order_copies_201_response_data.go | 2 +- ...der_copies_201_response_data_attributes.go | 40 +- ..._copies_201_response_data_relationships.go | 2 +- ...e_data_relationships_order_subscription.go | 2 +- ...a_relationships_order_subscription_data.go | 2 +- ...esponse_data_relationships_source_order.go | 2 +- ...se_data_relationships_source_order_data.go | 2 +- ...esponse_data_relationships_target_order.go | 2 +- ...se_data_relationships_target_order_data.go | 2 +- ...t_order_subscription_items_201_response.go | 2 +- ...er_subscription_items_201_response_data.go | 2 +- ...tion_items_201_response_data_attributes.go | 2 +- ...n_items_201_response_data_relationships.go | 2 +- ...nse_data_relationships_source_line_item.go | 2 +- ...ata_relationships_source_line_item_data.go | 2 +- ...l_post_order_subscriptions_201_response.go | 2 +- ...t_order_subscriptions_201_response_data.go | 2 +- ...scriptions_201_response_data_attributes.go | 2 +- ...iptions_201_response_data_relationships.go | 14 +- ...a_relationships_customer_payment_source.go | 2 +- ...ationships_customer_payment_source_data.go | 2 +- ...onse_data_relationships_order_factories.go | 2 +- ...data_relationships_order_factories_data.go | 2 +- ..._relationships_order_subscription_items.go | 2 +- ...tionships_order_subscription_items_data.go | 2 +- ...ta_relationships_recurring_order_copies.go | 2 +- ...lationships_recurring_order_copies_data.go | 2 +- api/model_post_orders_201_response.go | 2 +- api/model_post_orders_201_response_data.go | 2 +- ...ost_orders_201_response_data_attributes.go | 4 +- ..._orders_201_response_data_relationships.go | 162 +- ...ponse_data_relationships_authorizations.go | 2 +- ..._data_relationships_authorizations_data.go | 2 +- ...hips_available_customer_payment_sources.go | 2 +- ...available_customer_payment_sources_data.go | 2 +- ...ta_relationships_available_free_bundles.go | 2 +- ...lationships_available_free_bundles_data.go | 2 +- ..._data_relationships_available_free_skus.go | 2 +- ..._relationships_available_free_skus_data.go | 2 +- ...relationships_available_payment_methods.go | 2 +- ...ionships_available_payment_methods_data.go | 2 +- ...onse_data_relationships_billing_address.go | 2 +- ...data_relationships_billing_address_data.go | 2 +- ..._response_data_relationships_line_items.go | 2 +- ...onse_data_relationships_line_items_data.go | 2 +- ...s_201_response_data_relationships_links.go | 2 +- ..._response_data_relationships_links_data.go | 2 +- ...esponse_data_relationships_order_copies.go | 2 +- ...se_data_relationships_order_copies_data.go | 2 +- ...onse_data_relationships_payment_options.go | 2 +- ...data_relationships_payment_options_data.go | 2 +- ...onse_data_relationships_resource_errors.go | 2 +- ...data_relationships_resource_errors_data.go | 2 +- ...1_response_data_relationships_shipments.go | 2 +- ...ponse_data_relationships_shipments_data.go | 2 +- ...nse_data_relationships_shipping_address.go | 2 +- ...ata_relationships_shipping_address_data.go | 2 +- ...s_201_response_data_relationships_store.go | 161 + ..._response_data_relationships_store_data.go | 165 + ...esponse_data_relationships_transactions.go | 2 +- ...se_data_relationships_transactions_data.go | 2 +- api/model_post_packages_201_response.go | 2 +- api/model_post_packages_201_response_data.go | 2 +- ...t_packages_201_response_data_attributes.go | 2 +- ...ackages_201_response_data_relationships.go | 2 +- ...201_response_data_relationships_parcels.go | 2 +- ...esponse_data_relationships_parcels_data.go | 2 +- ...del_post_parcel_line_items_201_response.go | 2 +- ...ost_parcel_line_items_201_response_data.go | 2 +- ...line_items_201_response_data_attributes.go | 2 +- ...e_items_201_response_data_relationships.go | 2 +- ..._201_response_data_relationships_parcel.go | 2 +- ...response_data_relationships_parcel_data.go | 2 +- ...onse_data_relationships_stock_line_item.go | 2 +- ...data_relationships_stock_line_item_data.go | 2 +- api/model_post_parcels_201_response.go | 2 +- api/model_post_parcels_201_response_data.go | 2 +- ...st_parcels_201_response_data_attributes.go | 2 +- ...parcels_201_response_data_relationships.go | 2 +- ...201_response_data_relationships_package.go | 2 +- ...esponse_data_relationships_package_data.go | 2 +- ...se_data_relationships_parcel_line_items.go | 2 +- ...ta_relationships_parcel_line_items_data.go | 2 +- ...model_post_payment_methods_201_response.go | 2 +- ..._post_payment_methods_201_response_data.go | 2 +- ...nt_methods_201_response_data_attributes.go | 2 +- ...methods_201_response_data_relationships.go | 86 +- ...model_post_payment_options_201_response.go | 2 +- ..._post_payment_options_201_response_data.go | 2 +- ...nt_options_201_response_data_attributes.go | 2 +- ...options_201_response_data_relationships.go | 2 +- ...model_post_paypal_gateways_201_response.go | 2 +- ..._post_paypal_gateways_201_response_data.go | 2 +- ...l_gateways_201_response_data_attributes.go | 2 +- ...ateways_201_response_data_relationships.go | 2 +- ...onse_data_relationships_paypal_payments.go | 2 +- ...data_relationships_paypal_payments_data.go | 2 +- ...model_post_paypal_payments_201_response.go | 2 +- ..._post_paypal_payments_201_response_data.go | 2 +- ...l_payments_201_response_data_attributes.go | 2 +- ...entage_discount_promotions_201_response.go | 2 +- ...e_discount_promotions_201_response_data.go | 2 +- ...promotions_201_response_data_attributes.go | 2 +- ...post_price_frequency_tiers_201_response.go | 2 +- ...price_frequency_tiers_201_response_data.go | 2 +- ...ency_tiers_201_response_data_attributes.go | 2 +- ...y_tiers_201_response_data_relationships.go | 2 +- ...s_201_response_data_relationships_price.go | 2 +- ..._response_data_relationships_price_data.go | 2 +- ...post_price_list_schedulers_201_response.go | 2 +- ...price_list_schedulers_201_response_data.go | 2 +- ...schedulers_201_response_data_attributes.go | 2 +- ...edulers_201_response_data_relationships.go | 20 +- api/model_post_price_lists_201_response.go | 2 +- ...odel_post_price_lists_201_response_data.go | 2 +- ...rice_lists_201_response_data_attributes.go | 2 +- ...e_lists_201_response_data_relationships.go | 2 +- ..._201_response_data_relationships_prices.go | 2 +- ...response_data_relationships_prices_data.go | 2 +- ...el_post_price_volume_tiers_201_response.go | 2 +- ...st_price_volume_tiers_201_response_data.go | 2 +- ...lume_tiers_201_response_data_attributes.go | 2 +- api/model_post_prices_201_response.go | 2 +- api/model_post_prices_201_response_data.go | 2 +- ...ost_prices_201_response_data_attributes.go | 2 +- ..._prices_201_response_data_relationships.go | 2 +- ...esponse_data_relationships_jwt_customer.go | 2 +- ...se_data_relationships_jwt_customer_data.go | 2 +- ...response_data_relationships_jwt_markets.go | 2 +- ...nse_data_relationships_jwt_markets_data.go | 2 +- ..._data_relationships_jwt_stock_locations.go | 2 +- ..._relationships_jwt_stock_locations_data.go | 2 +- ...ata_relationships_price_frequency_tiers.go | 2 +- ...elationships_price_frequency_tiers_data.go | 2 +- ...response_data_relationships_price_tiers.go | 2 +- ...nse_data_relationships_price_tiers_data.go | 2 +- ...e_data_relationships_price_volume_tiers.go | 2 +- ...a_relationships_price_volume_tiers_data.go | 2 +- ...ost_recurring_order_copies_201_response.go | 2 +- ...ecurring_order_copies_201_response_data.go | 2 +- ...der_copies_201_response_data_attributes.go | 2 +- ...del_post_return_line_items_201_response.go | 2 +- ...ost_return_line_items_201_response_data.go | 2 +- ...line_items_201_response_data_attributes.go | 2 +- ...e_items_201_response_data_relationships.go | 2 +- api/model_post_returns_201_response.go | 2 +- api/model_post_returns_201_response_data.go | 2 +- ...returns_201_response_data_relationships.go | 2 +- ..._data_relationships_destination_address.go | 2 +- ..._relationships_destination_address_data.go | 2 +- ...ponse_data_relationships_origin_address.go | 2 +- ..._data_relationships_origin_address_data.go | 2 +- ...nse_data_relationships_reference_refund.go | 2 +- ...ata_relationships_reference_refund_data.go | 2 +- ...del_post_satispay_gateways_201_response.go | 2 +- ...ost_satispay_gateways_201_response_data.go | 2 +- ...y_gateways_201_response_data_attributes.go | 2 +- ...ateways_201_response_data_relationships.go | 2 +- ...se_data_relationships_satispay_payments.go | 2 +- ...ta_relationships_satispay_payments_data.go | 2 +- ...del_post_satispay_payments_201_response.go | 2 +- ...ost_satispay_payments_201_response_data.go | 2 +- ...y_payments_201_response_data_attributes.go | 2 +- api/model_post_shipments_201_response.go | 2 +- api/model_post_shipments_201_response_data.go | 2 +- ...ipments_201_response_data_relationships.go | 2 +- ...elationships_available_shipping_methods.go | 2 +- ...onships_available_shipping_methods_data.go | 2 +- ...nse_data_relationships_carrier_accounts.go | 2 +- ...ata_relationships_carrier_accounts_data.go | 2 +- ...e_data_relationships_delivery_lead_time.go | 2 +- ...a_relationships_delivery_lead_time_data.go | 2 +- ..._relationships_inventory_stock_location.go | 2 +- ...tionships_inventory_stock_location_data.go | 2 +- ...se_data_relationships_shipping_category.go | 2 +- ...ta_relationships_shipping_category_data.go | 2 +- ...l_post_shipping_categories_201_response.go | 2 +- ...t_shipping_categories_201_response_data.go | 2 +- ...categories_201_response_data_attributes.go | 2 +- ...egories_201_response_data_relationships.go | 2 +- ...odel_post_shipping_methods_201_response.go | 2 +- ...post_shipping_methods_201_response_data.go | 2 +- ...ng_methods_201_response_data_attributes.go | 2 +- ...methods_201_response_data_relationships.go | 14 +- ...onships_delivery_lead_time_for_shipment.go | 2 +- ...ps_delivery_lead_time_for_shipment_data.go | 2 +- ...ata_relationships_shipping_method_tiers.go | 2 +- ...elationships_shipping_method_tiers_data.go | 2 +- ...ata_relationships_shipping_weight_tiers.go | 2 +- ...elationships_shipping_weight_tiers_data.go | 2 +- ...sponse_data_relationships_shipping_zone.go | 2 +- ...e_data_relationships_shipping_zone_data.go | 2 +- ...post_shipping_weight_tiers_201_response.go | 2 +- ...shipping_weight_tiers_201_response_data.go | 2 +- ...ight_tiers_201_response_data_attributes.go | 2 +- api/model_post_shipping_zones_201_response.go | 2 +- ...l_post_shipping_zones_201_response_data.go | 2 +- ...ping_zones_201_response_data_attributes.go | 14 +- ...g_zones_201_response_data_relationships.go | 2 +- api/model_post_sku_list_items_201_response.go | 2 +- ...l_post_sku_list_items_201_response_data.go | 2 +- ...list_items_201_response_data_attributes.go | 2 +- ...t_items_201_response_data_relationships.go | 2 +- ...t_sku_list_promotion_rules_201_response.go | 2 +- ..._list_promotion_rules_201_response_data.go | 2 +- ...tion_rules_201_response_data_attributes.go | 2 +- ...n_rules_201_response_data_relationships.go | 2 +- api/model_post_sku_lists_201_response.go | 2 +- api/model_post_sku_lists_201_response_data.go | 2 +- ..._sku_lists_201_response_data_attributes.go | 4 +- ...u_lists_201_response_data_relationships.go | 2 +- ...201_response_data_relationships_bundles.go | 2 +- ...esponse_data_relationships_bundles_data.go | 2 +- ...ponse_data_relationships_sku_list_items.go | 2 +- ..._data_relationships_sku_list_items_data.go | 2 +- api/model_post_sku_options_201_response.go | 2 +- ...odel_post_sku_options_201_response_data.go | 2 +- ...ku_options_201_response_data_attributes.go | 4 +- ...options_201_response_data_relationships.go | 14 +- api/model_post_skus_201_response.go | 2 +- api/model_post_skus_201_response_data.go | 2 +- ..._post_skus_201_response_data_attributes.go | 2 +- ...st_skus_201_response_data_relationships.go | 2 +- ..._data_relationships_delivery_lead_times.go | 2 +- ..._relationships_delivery_lead_times_data.go | 2 +- ...response_data_relationships_sku_options.go | 2 +- ...nse_data_relationships_sku_options_data.go | 2 +- ...response_data_relationships_stock_items.go | 2 +- ...nse_data_relationships_stock_items_data.go | 2 +- api/model_post_stock_items_201_response.go | 2 +- ...odel_post_stock_items_201_response_data.go | 2 +- ...tock_items_201_response_data_attributes.go | 2 +- ...k_items_201_response_data_relationships.go | 2 +- ...ponse_data_relationships_reserved_stock.go | 2 +- ..._data_relationships_reserved_stock_data.go | 2 +- ...odel_post_stock_line_items_201_response.go | 2 +- ...post_stock_line_items_201_response_data.go | 2 +- ...line_items_201_response_data_attributes.go | 2 +- ...e_items_201_response_data_relationships.go | 2 +- ...se_data_relationships_stock_reservation.go | 2 +- ...ta_relationships_stock_reservation_data.go | 2 +- ...model_post_stock_locations_201_response.go | 2 +- ..._post_stock_locations_201_response_data.go | 2 +- ..._locations_201_response_data_attributes.go | 2 +- ...cations_201_response_data_relationships.go | 38 +- ...el_post_stock_reservations_201_response.go | 2 +- ...st_stock_reservations_201_response_data.go | 2 +- ...servations_201_response_data_attributes.go | 2 +- ...vations_201_response_data_relationships.go | 2 +- ...ponse_data_relationships_stock_transfer.go | 2 +- ..._data_relationships_stock_transfer_data.go | 2 +- ...model_post_stock_transfers_201_response.go | 2 +- ..._post_stock_transfers_201_response_data.go | 2 +- ..._transfers_201_response_data_attributes.go | 4 +- ...ansfers_201_response_data_relationships.go | 2 +- ...elationships_destination_stock_location.go | 2 +- ...onships_destination_stock_location_data.go | 2 +- ...ata_relationships_origin_stock_location.go | 2 +- ...elationships_origin_stock_location_data.go | 2 +- api/model_post_stores_201_response.go | 125 + api/model_post_stores_201_response_data.go | 273 + ...ost_stores_201_response_data_attributes.go | 273 + ..._stores_201_response_data_relationships.go | 341 + ...model_post_stripe_gateways_201_response.go | 2 +- ..._post_stripe_gateways_201_response_data.go | 2 +- ...e_gateways_201_response_data_attributes.go | 2 +- ...ateways_201_response_data_relationships.go | 2 +- ...onse_data_relationships_stripe_payments.go | 2 +- ...data_relationships_stripe_payments_data.go | 2 +- ...model_post_stripe_payments_201_response.go | 2 +- ..._post_stripe_payments_201_response_data.go | 2 +- ...e_payments_201_response_data_attributes.go | 2 +- ...l_post_subscription_models_201_response.go | 2 +- ...t_subscription_models_201_response_data.go | 2 +- ...ion_models_201_response_data_attributes.go | 2 +- ..._models_201_response_data_relationships.go | 2 +- api/model_post_tags_201_response.go | 2 +- api/model_post_tags_201_response_data.go | 2 +- ..._post_tags_201_response_data_attributes.go | 2 +- api/model_post_tax_categories_201_response.go | 2 +- ...l_post_tax_categories_201_response_data.go | 2 +- ...categories_201_response_data_attributes.go | 2 +- ...egories_201_response_data_relationships.go | 2 +- api/model_post_tax_rules_201_response.go | 2 +- api/model_post_tax_rules_201_response_data.go | 2 +- ..._tax_rules_201_response_data_attributes.go | 310 +- ...x_rules_201_response_data_relationships.go | 2 +- ...ata_relationships_manual_tax_calculator.go | 2 +- ...elationships_manual_tax_calculator_data.go | 2 +- ...model_post_taxjar_accounts_201_response.go | 2 +- ..._post_taxjar_accounts_201_response_data.go | 2 +- ...r_accounts_201_response_data_attributes.go | 2 +- ...ccounts_201_response_data_relationships.go | 2 +- api/model_post_webhooks_201_response.go | 2 +- api/model_post_webhooks_201_response_data.go | 2 +- ...t_webhooks_201_response_data_attributes.go | 2 +- ...ebhooks_201_response_data_relationships.go | 2 +- api/model_post_wire_transfers_201_response.go | 2 +- ...l_post_wire_transfers_201_response_data.go | 2 +- ...ansfers_201_response_data_relationships.go | 2 +- api/model_price.go | 2 +- api/model_price_create.go | 2 +- api/model_price_create_data.go | 2 +- api/model_price_create_data_relationships.go | 2 +- ...e_create_data_relationships_price_tiers.go | 2 +- api/model_price_data.go | 2 +- api/model_price_data_relationships.go | 2 +- ...ata_relationships_price_frequency_tiers.go | 2 +- ...elationships_price_frequency_tiers_data.go | 2 +- ...el_price_data_relationships_price_tiers.go | 2 +- ...ice_data_relationships_price_tiers_data.go | 2 +- ...e_data_relationships_price_volume_tiers.go | 2 +- ...a_relationships_price_volume_tiers_data.go | 2 +- api/model_price_frequency_tier.go | 2 +- api/model_price_frequency_tier_create.go | 2 +- api/model_price_frequency_tier_create_data.go | 2 +- ...requency_tier_create_data_relationships.go | 2 +- ...cy_tier_create_data_relationships_price.go | 2 +- api/model_price_frequency_tier_data.go | 2 +- ...price_frequency_tier_data_relationships.go | 2 +- ...frequency_tier_data_relationships_price.go | 2 +- ...ency_tier_data_relationships_price_data.go | 2 +- api/model_price_frequency_tier_update.go | 2 +- api/model_price_frequency_tier_update_data.go | 2 +- ...requency_tier_update_data_relationships.go | 2 +- api/model_price_list.go | 2 +- api/model_price_list_create.go | 2 +- api/model_price_list_create_data.go | 2 +- api/model_price_list_data.go | 2 +- api/model_price_list_data_relationships.go | 2 +- api/model_price_list_scheduler.go | 2 +- api/model_price_list_scheduler_create.go | 2 +- api/model_price_list_scheduler_create_data.go | 2 +- ...ist_scheduler_create_data_relationships.go | 16 +- api/model_price_list_scheduler_data.go | 2 +- ...price_list_scheduler_data_relationships.go | 2 +- api/model_price_list_scheduler_update.go | 2 +- api/model_price_list_scheduler_update_data.go | 2 +- ...ist_scheduler_update_data_relationships.go | 16 +- api/model_price_list_update.go | 2 +- api/model_price_list_update_data.go | 2 +- api/model_price_tier.go | 2 +- api/model_price_tier_data.go | 2 +- api/model_price_tier_data_relationships.go | 2 +- api/model_price_update.go | 2 +- api/model_price_update_data.go | 2 +- api/model_price_update_data_relationships.go | 2 +- api/model_price_volume_tier.go | 2 +- api/model_price_volume_tier_create.go | 2 +- api/model_price_volume_tier_create_data.go | 2 +- api/model_price_volume_tier_data.go | 2 +- api/model_price_volume_tier_update.go | 2 +- api/model_price_volume_tier_update_data.go | 2 +- api/model_promotion.go | 2 +- api/model_promotion_data.go | 2 +- api/model_promotion_rule.go | 2 +- api/model_promotion_rule_data.go | 2 +- api/model_recurring_order_copy.go | 2 +- api/model_recurring_order_copy_create.go | 2 +- api/model_recurring_order_copy_create_data.go | 2 +- ...ng_order_copy_create_data_relationships.go | 2 +- api/model_recurring_order_copy_data.go | 2 +- api/model_recurring_order_copy_update.go | 2 +- api/model_recurring_order_copy_update_data.go | 18 +- api/model_refund.go | 2 +- api/model_refund_data.go | 2 +- api/model_refund_data_relationships.go | 50 +- api/model_refund_update.go | 2 +- api/model_refund_update_data.go | 2 +- api/model_reserved_stock.go | 2 +- api/model_reserved_stock_data.go | 2 +- ...model_reserved_stock_data_relationships.go | 2 +- ...ved_stock_data_relationships_stock_item.go | 2 +- ...tock_data_relationships_stock_item_data.go | 2 +- api/model_resource_error.go | 2 +- api/model_resource_error_data.go | 2 +- ...model_resource_error_data_relationships.go | 2 +- ...ource_error_data_relationships_resource.go | 2 +- ..._error_data_relationships_resource_data.go | 2 +- api/model_return.go | 2 +- api/model_return_create.go | 2 +- api/model_return_create_data.go | 2 +- api/model_return_create_data_relationships.go | 2 +- ...te_data_relationships_reference_capture.go | 2 +- api/model_return_data.go | 2 +- api/model_return_data_relationships.go | 2 +- api/model_return_line_item.go | 2 +- api/model_return_line_item_create.go | 2 +- api/model_return_line_item_create_data.go | 2 +- ...urn_line_item_create_data_relationships.go | 2 +- ...e_item_create_data_relationships_return.go | 2 +- api/model_return_line_item_data.go | 2 +- ...del_return_line_item_data_relationships.go | 2 +- api/model_return_line_item_update.go | 2 +- api/model_return_line_item_update_data.go | 2 +- api/model_return_update.go | 2 +- api/model_return_update_data.go | 2 +- api/model_return_update_data_relationships.go | 2 +- api/model_satispay_gateway.go | 2 +- api/model_satispay_gateway_create.go | 2 +- api/model_satispay_gateway_create_data.go | 2 +- ...ispay_gateway_create_data_relationships.go | 2 +- ...te_data_relationships_satispay_payments.go | 2 +- api/model_satispay_gateway_data.go | 2 +- ...del_satispay_gateway_data_relationships.go | 2 +- ...ay_data_relationships_satispay_payments.go | 2 +- ...ta_relationships_satispay_payments_data.go | 2 +- api/model_satispay_gateway_update.go | 2 +- api/model_satispay_gateway_update_data.go | 2 +- api/model_satispay_payment.go | 2 +- api/model_satispay_payment_create.go | 2 +- api/model_satispay_payment_create_data.go | 2 +- api/model_satispay_payment_data.go | 2 +- api/model_satispay_payment_update.go | 2 +- api/model_satispay_payment_update_data.go | 2 +- api/model_shipment.go | 2 +- api/model_shipment_create.go | 2 +- api/model_shipment_create_data.go | 2 +- ...odel_shipment_create_data_relationships.go | 2 +- ..._relationships_inventory_stock_location.go | 2 +- ...te_data_relationships_shipping_category.go | 2 +- api/model_shipment_data.go | 2 +- api/model_shipment_data_relationships.go | 2 +- ...ent_data_relationships_carrier_accounts.go | 2 +- ...ata_relationships_carrier_accounts_data.go | 2 +- ...t_data_relationships_delivery_lead_time.go | 2 +- ...a_relationships_delivery_lead_time_data.go | 2 +- ...nt_data_relationships_shipping_category.go | 2 +- ...ta_relationships_shipping_category_data.go | 2 +- api/model_shipment_update.go | 2 +- api/model_shipment_update_data.go | 2 +- ...odel_shipment_update_data_relationships.go | 2 +- api/model_shipping_category.go | 2 +- api/model_shipping_category_create.go | 2 +- api/model_shipping_category_create_data.go | 2 +- api/model_shipping_category_data.go | 2 +- ...el_shipping_category_data_relationships.go | 2 +- api/model_shipping_category_update.go | 2 +- api/model_shipping_category_update_data.go | 2 +- api/model_shipping_method.go | 2 +- api/model_shipping_method_create.go | 2 +- api/model_shipping_method_create_data.go | 2 +- ...ipping_method_create_data_relationships.go | 14 +- ...ata_relationships_shipping_method_tiers.go | 2 +- ...create_data_relationships_shipping_zone.go | 2 +- api/model_shipping_method_data.go | 2 +- ...odel_shipping_method_data_relationships.go | 2 +- ...ata_relationships_shipping_method_tiers.go | 2 +- ...elationships_shipping_method_tiers_data.go | 2 +- ...ata_relationships_shipping_weight_tiers.go | 2 +- ...elationships_shipping_weight_tiers_data.go | 2 +- ...method_data_relationships_shipping_zone.go | 2 +- ...d_data_relationships_shipping_zone_data.go | 2 +- api/model_shipping_method_tier.go | 2 +- api/model_shipping_method_tier_data.go | 2 +- ...shipping_method_tier_data_relationships.go | 2 +- api/model_shipping_method_update.go | 2 +- api/model_shipping_method_update_data.go | 2 +- api/model_shipping_weight_tier.go | 2 +- api/model_shipping_weight_tier_create.go | 2 +- api/model_shipping_weight_tier_create_data.go | 2 +- ...g_weight_tier_create_data_relationships.go | 2 +- api/model_shipping_weight_tier_data.go | 2 +- api/model_shipping_weight_tier_update.go | 2 +- api/model_shipping_weight_tier_update_data.go | 2 +- ...g_weight_tier_update_data_relationships.go | 2 +- api/model_shipping_zone.go | 2 +- api/model_shipping_zone_create.go | 2 +- api/model_shipping_zone_create_data.go | 2 +- api/model_shipping_zone_data.go | 2 +- api/model_shipping_zone_data_relationships.go | 2 +- api/model_shipping_zone_update.go | 2 +- api/model_shipping_zone_update_data.go | 2 +- api/model_sku.go | 2 +- api/model_sku_create.go | 2 +- api/model_sku_create_data.go | 2 +- api/model_sku_create_data_relationships.go | 2 +- api/model_sku_data.go | 2 +- api/model_sku_data_relationships.go | 2 +- api/model_sku_list.go | 2 +- api/model_sku_list_create.go | 2 +- api/model_sku_list_create_data.go | 2 +- api/model_sku_list_data.go | 2 +- api/model_sku_list_data_relationships.go | 2 +- ..._list_data_relationships_sku_list_items.go | 2 +- ..._data_relationships_sku_list_items_data.go | 2 +- api/model_sku_list_item.go | 2 +- api/model_sku_list_item_create.go | 2 +- api/model_sku_list_item_create_data.go | 2 +- ...sku_list_item_create_data_relationships.go | 2 +- api/model_sku_list_item_data.go | 2 +- api/model_sku_list_item_data_relationships.go | 2 +- api/model_sku_list_item_update.go | 2 +- api/model_sku_list_item_update_data.go | 2 +- api/model_sku_list_promotion_rule.go | 2 +- api/model_sku_list_promotion_rule_create.go | 2 +- ...del_sku_list_promotion_rule_create_data.go | 2 +- ...romotion_rule_create_data_relationships.go | 2 +- api/model_sku_list_promotion_rule_data.go | 2 +- ..._list_promotion_rule_data_relationships.go | 2 +- api/model_sku_list_promotion_rule_update.go | 2 +- ...del_sku_list_promotion_rule_update_data.go | 2 +- ...romotion_rule_update_data_relationships.go | 2 +- api/model_sku_list_update.go | 2 +- api/model_sku_list_update_data.go | 2 +- api/model_sku_option.go | 2 +- api/model_sku_option_create.go | 2 +- api/model_sku_option_create_data.go | 2 +- ...el_sku_option_create_data_relationships.go | 16 +- api/model_sku_option_data.go | 2 +- api/model_sku_option_data_relationships.go | 2 +- api/model_sku_option_update.go | 2 +- api/model_sku_option_update_data.go | 2 +- api/model_sku_update.go | 2 +- api/model_sku_update_data.go | 2 +- api/model_sku_update_data_relationships.go | 2 +- api/model_stock_item.go | 2 +- api/model_stock_item_create.go | 2 +- api/model_stock_item_create_data.go | 2 +- ...el_stock_item_create_data_relationships.go | 2 +- api/model_stock_item_data.go | 2 +- api/model_stock_item_data_relationships.go | 2 +- ..._item_data_relationships_reserved_stock.go | 2 +- ..._data_relationships_reserved_stock_data.go | 2 +- api/model_stock_item_update.go | 2 +- api/model_stock_item_update_data.go | 2 +- ...el_stock_item_update_data_relationships.go | 2 +- api/model_stock_line_item.go | 2 +- api/model_stock_line_item_create.go | 2 +- api/model_stock_line_item_create_data.go | 2 +- ...ock_line_item_create_data_relationships.go | 2 +- ...em_create_data_relationships_stock_item.go | 2 +- api/model_stock_line_item_data.go | 2 +- ...odel_stock_line_item_data_relationships.go | 2 +- api/model_stock_line_item_update.go | 2 +- api/model_stock_line_item_update_data.go | 2 +- api/model_stock_location.go | 2 +- api/model_stock_location_create.go | 2 +- api/model_stock_location_create_data.go | 2 +- api/model_stock_location_data.go | 2 +- ...model_stock_location_data_relationships.go | 38 +- api/model_stock_location_update.go | 2 +- api/model_stock_location_update_data.go | 2 +- api/model_stock_reservation.go | 2 +- api/model_stock_reservation_create.go | 2 +- api/model_stock_reservation_create_data.go | 2 +- ...k_reservation_create_data_relationships.go | 2 +- api/model_stock_reservation_data.go | 2 +- ...el_stock_reservation_data_relationships.go | 2 +- api/model_stock_reservation_update.go | 2 +- api/model_stock_reservation_update_data.go | 2 +- api/model_stock_transfer.go | 2 +- api/model_stock_transfer_create.go | 2 +- api/model_stock_transfer_create_data.go | 2 +- ...tock_transfer_create_data_relationships.go | 2 +- api/model_stock_transfer_data.go | 2 +- ...model_stock_transfer_data_relationships.go | 2 +- api/model_stock_transfer_update.go | 2 +- api/model_stock_transfer_update_data.go | 2 +- ...tock_transfer_update_data_relationships.go | 2 +- api/model_store.go | 125 + api/model_store_create.go | 116 + api/model_store_create_data.go | 184 + api/model_store_create_data_relationships.go | 188 + api/model_store_data.go | 184 + api/model_store_data_relationships.go | 341 + api/model_store_update.go | 116 + api/model_store_update_data.go | 216 + api/model_store_update_data_relationships.go | 197 + api/model_stripe_gateway.go | 2 +- api/model_stripe_gateway_create.go | 2 +- api/model_stripe_gateway_create_data.go | 2 +- api/model_stripe_gateway_data.go | 2 +- ...model_stripe_gateway_data_relationships.go | 2 +- ...eway_data_relationships_stripe_payments.go | 2 +- ...data_relationships_stripe_payments_data.go | 2 +- api/model_stripe_gateway_update.go | 2 +- api/model_stripe_gateway_update_data.go | 2 +- api/model_stripe_payment.go | 2 +- api/model_stripe_payment_create.go | 2 +- api/model_stripe_payment_create_data.go | 2 +- api/model_stripe_payment_data.go | 2 +- api/model_stripe_payment_update.go | 2 +- api/model_stripe_payment_update_data.go | 2 +- api/model_subscription_model.go | 2 +- api/model_subscription_model_create.go | 2 +- api/model_subscription_model_create_data.go | 2 +- api/model_subscription_model_data.go | 2 +- ...l_subscription_model_data_relationships.go | 2 +- api/model_subscription_model_update.go | 2 +- api/model_subscription_model_update_data.go | 2 +- api/model_tag.go | 2 +- api/model_tag_create.go | 2 +- api/model_tag_create_data.go | 2 +- api/model_tag_data.go | 2 +- api/model_tag_update.go | 2 +- api/model_tag_update_data.go | 2 +- api/model_tax_calculator.go | 2 +- api/model_tax_calculator_data.go | 2 +- api/model_tax_category.go | 2 +- api/model_tax_category_create.go | 2 +- api/model_tax_category_create_data.go | 2 +- ..._tax_category_create_data_relationships.go | 2 +- api/model_tax_category_data.go | 2 +- api/model_tax_category_data_relationships.go | 2 +- api/model_tax_category_update.go | 2 +- api/model_tax_category_update_data.go | 2 +- ..._tax_category_update_data_relationships.go | 2 +- api/model_tax_rule.go | 2 +- api/model_tax_rule_create.go | 2 +- api/model_tax_rule_create_data.go | 2 +- ...odel_tax_rule_create_data_relationships.go | 2 +- ...ata_relationships_manual_tax_calculator.go | 2 +- api/model_tax_rule_data.go | 2 +- api/model_tax_rule_data_relationships.go | 2 +- ...ata_relationships_manual_tax_calculator.go | 2 +- ...elationships_manual_tax_calculator_data.go | 2 +- api/model_tax_rule_update.go | 2 +- api/model_tax_rule_update_data.go | 2 +- ...odel_tax_rule_update_data_relationships.go | 2 +- api/model_taxjar_account.go | 2 +- api/model_taxjar_account_create.go | 2 +- api/model_taxjar_account_create_data.go | 2 +- api/model_taxjar_account_data.go | 2 +- ...model_taxjar_account_data_relationships.go | 2 +- api/model_taxjar_account_update.go | 2 +- api/model_taxjar_account_update_data.go | 2 +- api/model_transaction.go | 2 +- api/model_transaction_data.go | 2 +- api/model_transaction_data_relationships.go | 46 +- api/model_version.go | 2 +- api/model_version_data.go | 2 +- api/model_void.go | 2 +- api/model_void_data.go | 2 +- api/model_void_data_relationships.go | 38 +- api/model_void_update.go | 2 +- api/model_void_update_data.go | 2 +- api/model_webhook.go | 2 +- api/model_webhook_create.go | 2 +- api/model_webhook_create_data.go | 2 +- api/model_webhook_data.go | 2 +- api/model_webhook_data_relationships.go | 2 +- api/model_webhook_update.go | 2 +- api/model_webhook_update_data.go | 2 +- api/model_wire_transfer.go | 2 +- api/model_wire_transfer_create.go | 2 +- api/model_wire_transfer_create_data.go | 2 +- api/model_wire_transfer_data.go | 2 +- api/model_wire_transfer_data_relationships.go | 2 +- api/model_wire_transfer_update.go | 2 +- api/model_wire_transfer_update_data.go | 18 +- api/response.go | 2 +- api/test/api_addresses_test.go | 246 - api/test/api_adjustments_test.go | 90 - api/test/api_adyen_gateways_test.go | 90 - api/test/api_adyen_payments_test.go | 103 - api/test/api_application_test.go | 37 - api/test/api_attachments_test.go | 857 - api/test/api_authorizations_test.go | 104 - api/test/api_avalara_accounts_test.go | 90 - api/test/api_axerve_gateways_test.go | 90 - api/test/api_axerve_payments_test.go | 103 - .../api_billing_info_validation_rules_test.go | 90 - api/test/api_bing_geocoders_test.go | 90 - api/test/api_braintree_gateways_test.go | 90 - api/test/api_braintree_payments_test.go | 103 - api/test/api_bundles_test.go | 116 - api/test/api_buy_x_pay_y_promotions_test.go | 90 - api/test/api_captures_test.go | 117 - api/test/api_carrier_accounts_test.go | 103 - api/test/api_checkout_com_gateways_test.go | 90 - api/test/api_checkout_com_payments_test.go | 103 - api/test/api_cleanups_test.go | 90 - .../api_coupon_codes_promotion_rules_test.go | 220 - api/test/api_coupon_recipients_test.go | 103 - api/test/api_coupons_test.go | 220 - api/test/api_custom_promotion_rules_test.go | 194 - api/test/api_customer_addresses_test.go | 103 - api/test/api_customer_groups_test.go | 116 - api/test/api_customer_password_resets_test.go | 90 - api/test/api_customer_payment_sources_test.go | 142 - api/test/api_customer_subscriptions_test.go | 103 - api/test/api_customers_test.go | 272 - api/test/api_delivery_lead_times_test.go | 129 - api/test/api_event_callbacks_test.go | 77 - api/test/api_events_test.go | 637 - api/test/api_exports_test.go | 90 - api/test/api_external_gateways_test.go | 90 - api/test/api_external_payments_test.go | 103 - api/test/api_external_promotions_test.go | 90 - api/test/api_external_tax_calculators_test.go | 90 - api/test/api_fixed_amount_promotions_test.go | 90 - api/test/api_fixed_price_promotions_test.go | 90 - api/test/api_flex_promotions_test.go | 90 - api/test/api_free_gift_promotions_test.go | 90 - api/test/api_free_shipping_promotions_test.go | 90 - api/test/api_geocoders_test.go | 77 - api/test/api_gift_card_recipients_test.go | 103 - api/test/api_gift_cards_test.go | 90 - api/test/api_google_geocoders_test.go | 90 - api/test/api_has_many_test.go | 4770 - api/test/api_has_one_test.go | 2794 - api/test/api_imports_test.go | 90 - api/test/api_in_stock_subscriptions_test.go | 90 - api/test/api_inventory_models_test.go | 129 - .../api_inventory_return_locations_test.go | 116 - .../api_inventory_stock_locations_test.go | 129 - api/test/api_klarna_gateways_test.go | 90 - api/test/api_klarna_payments_test.go | 103 - api/test/api_line_item_options_test.go | 116 - api/test/api_line_items_test.go | 194 - api/test/api_links_test.go | 129 - api/test/api_manual_gateways_test.go | 90 - api/test/api_manual_tax_calculators_test.go | 103 - api/test/api_markets_test.go | 493 - api/test/api_merchants_test.go | 103 - .../api_order_amount_promotion_rules_test.go | 194 - api/test/api_order_copies_test.go | 103 - api/test/api_order_factories_test.go | 77 - api/test/api_order_subscription_items_test.go | 103 - api/test/api_order_subscriptions_test.go | 181 - api/test/api_orders_test.go | 467 - api/test/api_organization_test.go | 37 - api/test/api_packages_test.go | 103 - api/test/api_parcel_line_items_test.go | 103 - api/test/api_parcels_test.go | 129 - api/test/api_payment_gateways_test.go | 181 - api/test/api_payment_methods_test.go | 272 - api/test/api_payment_options_test.go | 103 - api/test/api_paypal_gateways_test.go | 90 - api/test/api_paypal_payments_test.go | 103 - ...api_percentage_discount_promotions_test.go | 90 - api/test/api_price_frequency_tiers_test.go | 103 - api/test/api_price_list_schedulers_test.go | 116 - api/test/api_price_lists_test.go | 142 - api/test/api_price_tiers_test.go | 64 - api/test/api_price_volume_tiers_test.go | 103 - api/test/api_prices_test.go | 155 - api/test/api_promotion_rules_test.go | 51 - api/test/api_promotions_test.go | 51 - api/test/api_recurring_order_copies_test.go | 116 - api/test/api_refunds_test.go | 104 - api/test/api_reserved_stocks_test.go | 77 - api/test/api_resource_errors_test.go | 77 - api/test/api_return_line_items_test.go | 116 - api/test/api_returns_test.go | 155 - api/test/api_satispay_gateways_test.go | 90 - api/test/api_satispay_payments_test.go | 103 - api/test/api_shipments_test.go | 142 - api/test/api_shipping_categories_test.go | 129 - api/test/api_shipping_method_tiers_test.go | 64 - api/test/api_shipping_methods_test.go | 155 - api/test/api_shipping_weight_tiers_test.go | 103 - api/test/api_shipping_zones_test.go | 103 - api/test/api_singleton_test.go | 49 - api/test/api_sku_list_items_test.go | 116 - api/test/api_sku_list_promotion_rules_test.go | 194 - api/test/api_sku_lists_test.go | 259 - api/test/api_sku_options_test.go | 116 - api/test/api_skus_test.go | 350 - api/test/api_stock_items_test.go | 155 - api/test/api_stock_line_items_test.go | 155 - api/test/api_stock_locations_test.go | 246 - api/test/api_stock_reservations_test.go | 181 - api/test/api_stock_transfers_test.go | 155 - api/test/api_stripe_gateways_test.go | 90 - api/test/api_stripe_payments_test.go | 103 - api/test/api_subscription_models_test.go | 116 - api/test/api_tags_test.go | 376 - api/test/api_tax_calculators_test.go | 64 - api/test/api_tax_categories_test.go | 116 - api/test/api_tax_rules_test.go | 103 - api/test/api_taxjar_accounts_test.go | 90 - api/test/api_transactions_test.go | 51 - api/test/api_versions_test.go | 1312 - api/test/api_voids_test.go | 91 - api/test/api_webhooks_test.go | 116 - api/test/api_wire_transfers_test.go | 90 - api/utils.go | 2 +- config.yml | 5 +- go.mod | 15 +- go.sum | 23 - 3236 files changed, 35462 insertions(+), 117119 deletions(-) create mode 100644 .changes/header.tpl.md create mode 100644 .changes/unreleased/.gitkeep create mode 100644 .changes/unreleased/Changed-20250114-115640.yaml create mode 100644 .changie.yaml create mode 100644 .github/workflows/dependabot-changie.yaml create mode 100644 .github/workflows/release.yaml rename .github/workflows/{tests.yml => tests.yaml} (83%) create mode 100644 .github/workflows/triage.yaml create mode 100644 CHANGELOG.md delete mode 100644 Makefile create mode 100644 Taskfile.yml delete mode 100644 api/api/openapi.yaml delete mode 100644 api/api_billing_info_validation_rules.go create mode 100644 api/api_notifications.go create mode 100644 api/api_stores.go create mode 100644 api/docs/AuthorizationDataRelationshipsPaymentSource.md rename api/docs/{CustomerPaymentSourceDataRelationshipsPaymentSourceData.md => AuthorizationDataRelationshipsPaymentSourceData.md} (50%) delete mode 100644 api/docs/BillingInfoValidationRuleCreateData.md delete mode 100644 api/docs/BillingInfoValidationRuleCreateDataRelationships.md delete mode 100644 api/docs/BillingInfoValidationRuleCreateDataRelationshipsMarket.md delete mode 100644 api/docs/BillingInfoValidationRuleData.md delete mode 100644 api/docs/BillingInfoValidationRuleUpdateData.md delete mode 100644 api/docs/BillingInfoValidationRuleUpdateDataRelationships.md delete mode 100644 api/docs/BillingInfoValidationRulesApi.md create mode 100644 api/docs/BundleCreateDataRelationshipsMarket.md create mode 100644 api/docs/CarrierAccountCreateDataRelationships.md rename api/docs/{BillingInfoValidationRuleDataRelationships.md => CarrierAccountDataRelationships.md} (55%) delete mode 100644 api/docs/CustomerPaymentSourceDataRelationshipsPaymentSource.md create mode 100644 api/docs/GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource.md create mode 100644 api/docs/GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData.md delete mode 100644 api/docs/GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response.md delete mode 100644 api/docs/GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData.md delete mode 100644 api/docs/GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md rename api/docs/{GETBillingInfoValidationRules200Response.md => GETNotifications200Response.md} (54%) create mode 100644 api/docs/GETNotificationsNotificationId200Response.md rename api/docs/{POSTBillingInfoValidationRules201ResponseData.md => GETNotificationsNotificationId200ResponseData.md} (54%) create mode 100644 api/docs/GETNotificationsNotificationId200ResponseDataAttributes.md create mode 100644 api/docs/GETStores200Response.md create mode 100644 api/docs/GETStoresStoreId200Response.md create mode 100644 api/docs/GETStoresStoreId200ResponseData.md create mode 100644 api/docs/GETStoresStoreId200ResponseDataAttributes.md create mode 100644 api/docs/LineItemDataRelationshipsNotifications.md create mode 100644 api/docs/LineItemDataRelationshipsNotificationsData.md create mode 100644 api/docs/MarketDataRelationshipsStores.md create mode 100644 api/docs/MarketDataRelationshipsStoresData.md rename api/docs/{BillingInfoValidationRule.md => Notification.md} (54%) rename api/docs/{BillingInfoValidationRuleCreate.md => NotificationCreate.md} (50%) create mode 100644 api/docs/NotificationCreateData.md create mode 100644 api/docs/NotificationCreateDataRelationships.md create mode 100644 api/docs/NotificationCreateDataRelationshipsNotifiable.md create mode 100644 api/docs/NotificationData.md create mode 100644 api/docs/NotificationDataRelationships.md create mode 100644 api/docs/NotificationDataRelationshipsNotifiable.md create mode 100644 api/docs/NotificationDataRelationshipsNotifiableData.md rename api/docs/{BillingInfoValidationRuleUpdate.md => NotificationUpdate.md} (50%) create mode 100644 api/docs/NotificationUpdateData.md create mode 100644 api/docs/NotificationUpdateDataRelationships.md create mode 100644 api/docs/NotificationsApi.md create mode 100644 api/docs/OrderCreateDataRelationshipsStore.md delete mode 100644 api/docs/PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response.md delete mode 100644 api/docs/PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData.md delete mode 100644 api/docs/PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md create mode 100644 api/docs/PATCHCleanupsCleanupId200ResponseDataAttributes.md create mode 100644 api/docs/PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes.md create mode 100644 api/docs/PATCHNotificationsNotificationId200Response.md create mode 100644 api/docs/PATCHNotificationsNotificationId200ResponseData.md create mode 100644 api/docs/PATCHNotificationsNotificationId200ResponseDataAttributes.md create mode 100644 api/docs/PATCHStoresStoreId200Response.md create mode 100644 api/docs/PATCHStoresStoreId200ResponseData.md create mode 100644 api/docs/PATCHStoresStoreId200ResponseDataAttributes.md delete mode 100644 api/docs/POSTBillingInfoValidationRules201Response.md delete mode 100644 api/docs/POSTBillingInfoValidationRules201ResponseDataRelationships.md delete mode 100644 api/docs/POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket.md delete mode 100644 api/docs/POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData.md create mode 100644 api/docs/POSTBundles201ResponseDataRelationshipsMarket.md create mode 100644 api/docs/POSTBundles201ResponseDataRelationshipsMarketData.md create mode 100644 api/docs/POSTCarrierAccounts201ResponseDataRelationships.md delete mode 100644 api/docs/POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource.md delete mode 100644 api/docs/POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData.md create mode 100644 api/docs/POSTLineItems201ResponseDataRelationshipsNotifications.md create mode 100644 api/docs/POSTLineItems201ResponseDataRelationshipsNotificationsData.md create mode 100644 api/docs/POSTMarkets201ResponseDataRelationshipsStores.md create mode 100644 api/docs/POSTMarkets201ResponseDataRelationshipsStoresData.md create mode 100644 api/docs/POSTNotifications201Response.md create mode 100644 api/docs/POSTNotifications201ResponseData.md create mode 100644 api/docs/POSTNotifications201ResponseDataAttributes.md create mode 100644 api/docs/POSTNotifications201ResponseDataRelationships.md create mode 100644 api/docs/POSTNotifications201ResponseDataRelationshipsNotifiable.md create mode 100644 api/docs/POSTNotifications201ResponseDataRelationshipsNotifiableData.md create mode 100644 api/docs/POSTOrders201ResponseDataRelationshipsStore.md create mode 100644 api/docs/POSTOrders201ResponseDataRelationshipsStoreData.md create mode 100644 api/docs/POSTStores201Response.md create mode 100644 api/docs/POSTStores201ResponseData.md create mode 100644 api/docs/POSTStores201ResponseDataAttributes.md create mode 100644 api/docs/POSTStores201ResponseDataRelationships.md create mode 100644 api/docs/Store.md create mode 100644 api/docs/StoreCreate.md create mode 100644 api/docs/StoreCreateData.md create mode 100644 api/docs/StoreCreateDataRelationships.md create mode 100644 api/docs/StoreData.md create mode 100644 api/docs/StoreDataRelationships.md create mode 100644 api/docs/StoreUpdate.md create mode 100644 api/docs/StoreUpdateData.md create mode 100644 api/docs/StoreUpdateDataRelationships.md create mode 100644 api/docs/StoresApi.md create mode 100644 api/model_authorization_data_relationships_payment_source.go create mode 100644 api/model_authorization_data_relationships_payment_source_data.go delete mode 100644 api/model_billing_info_validation_rule.go delete mode 100644 api/model_billing_info_validation_rule_create.go delete mode 100644 api/model_billing_info_validation_rule_create_data.go delete mode 100644 api/model_billing_info_validation_rule_create_data_relationships.go delete mode 100644 api/model_billing_info_validation_rule_create_data_relationships_market.go delete mode 100644 api/model_billing_info_validation_rule_data.go delete mode 100644 api/model_billing_info_validation_rule_update.go delete mode 100644 api/model_billing_info_validation_rule_update_data.go delete mode 100644 api/model_billing_info_validation_rule_update_data_relationships.go create mode 100644 api/model_bundle_create_data_relationships_market.go create mode 100644 api/model_carrier_account_create_data_relationships.go rename api/{model_billing_info_validation_rule_data_relationships.go => model_carrier_account_data_relationships.go} (52%) delete mode 100644 api/model_customer_payment_source_data_relationships_payment_source.go delete mode 100644 api/model_customer_payment_source_data_relationships_payment_source_data.go create mode 100644 api/model_get_authorizations_authorization_id_200_response_data_relationships_payment_source.go create mode 100644 api/model_get_authorizations_authorization_id_200_response_data_relationships_payment_source_data.go delete mode 100644 api/model_get_billing_info_validation_rules_200_response.go delete mode 100644 api/model_get_billing_info_validation_rules_billing_info_validation_rule_id_200_response.go delete mode 100644 api/model_get_billing_info_validation_rules_billing_info_validation_rule_id_200_response_data.go delete mode 100644 api/model_get_billing_info_validation_rules_billing_info_validation_rule_id_200_response_data_attributes.go create mode 100644 api/model_get_notifications_200_response.go create mode 100644 api/model_get_notifications_notification_id_200_response.go rename api/{model_post_billing_info_validation_rules_201_response_data.go => model_get_notifications_notification_id_200_response_data.go} (55%) create mode 100644 api/model_get_notifications_notification_id_200_response_data_attributes.go create mode 100644 api/model_get_stores_200_response.go create mode 100644 api/model_get_stores_store_id_200_response.go create mode 100644 api/model_get_stores_store_id_200_response_data.go create mode 100644 api/model_get_stores_store_id_200_response_data_attributes.go create mode 100644 api/model_line_item_data_relationships_notifications.go create mode 100644 api/model_line_item_data_relationships_notifications_data.go create mode 100644 api/model_market_data_relationships_stores.go create mode 100644 api/model_market_data_relationships_stores_data.go create mode 100644 api/model_notification.go create mode 100644 api/model_notification_create.go create mode 100644 api/model_notification_create_data.go create mode 100644 api/model_notification_create_data_relationships.go create mode 100644 api/model_notification_create_data_relationships_notifiable.go create mode 100644 api/model_notification_data.go create mode 100644 api/model_notification_data_relationships.go create mode 100644 api/model_notification_data_relationships_notifiable.go create mode 100644 api/model_notification_data_relationships_notifiable_data.go create mode 100644 api/model_notification_update.go create mode 100644 api/model_notification_update_data.go create mode 100644 api/model_notification_update_data_relationships.go create mode 100644 api/model_order_create_data_relationships_store.go delete mode 100644 api/model_patch_billing_info_validation_rules_billing_info_validation_rule_id_200_response.go delete mode 100644 api/model_patch_billing_info_validation_rules_billing_info_validation_rule_id_200_response_data.go delete mode 100644 api/model_patch_billing_info_validation_rules_billing_info_validation_rule_id_200_response_data_attributes.go create mode 100644 api/model_patch_cleanups_cleanup_id_200_response_data_attributes.go create mode 100644 api/model_patch_coupon_codes_promotion_rules_coupon_codes_promotion_rule_id_200_response_data_attributes.go create mode 100644 api/model_patch_notifications_notification_id_200_response.go create mode 100644 api/model_patch_notifications_notification_id_200_response_data.go create mode 100644 api/model_patch_notifications_notification_id_200_response_data_attributes.go create mode 100644 api/model_patch_stores_store_id_200_response.go create mode 100644 api/model_patch_stores_store_id_200_response_data.go create mode 100644 api/model_patch_stores_store_id_200_response_data_attributes.go delete mode 100644 api/model_post_billing_info_validation_rules_201_response.go delete mode 100644 api/model_post_billing_info_validation_rules_201_response_data_relationships.go delete mode 100644 api/model_post_billing_info_validation_rules_201_response_data_relationships_market.go delete mode 100644 api/model_post_billing_info_validation_rules_201_response_data_relationships_market_data.go create mode 100644 api/model_post_bundles_201_response_data_relationships_market.go create mode 100644 api/model_post_bundles_201_response_data_relationships_market_data.go create mode 100644 api/model_post_carrier_accounts_201_response_data_relationships.go delete mode 100644 api/model_post_customer_payment_sources_201_response_data_relationships_payment_source.go delete mode 100644 api/model_post_customer_payment_sources_201_response_data_relationships_payment_source_data.go create mode 100644 api/model_post_line_items_201_response_data_relationships_notifications.go create mode 100644 api/model_post_line_items_201_response_data_relationships_notifications_data.go create mode 100644 api/model_post_markets_201_response_data_relationships_stores.go create mode 100644 api/model_post_markets_201_response_data_relationships_stores_data.go create mode 100644 api/model_post_notifications_201_response.go create mode 100644 api/model_post_notifications_201_response_data.go create mode 100644 api/model_post_notifications_201_response_data_attributes.go create mode 100644 api/model_post_notifications_201_response_data_relationships.go create mode 100644 api/model_post_notifications_201_response_data_relationships_notifiable.go create mode 100644 api/model_post_notifications_201_response_data_relationships_notifiable_data.go create mode 100644 api/model_post_orders_201_response_data_relationships_store.go create mode 100644 api/model_post_orders_201_response_data_relationships_store_data.go create mode 100644 api/model_post_stores_201_response.go create mode 100644 api/model_post_stores_201_response_data.go create mode 100644 api/model_post_stores_201_response_data_attributes.go create mode 100644 api/model_post_stores_201_response_data_relationships.go create mode 100644 api/model_store.go create mode 100644 api/model_store_create.go create mode 100644 api/model_store_create_data.go create mode 100644 api/model_store_create_data_relationships.go create mode 100644 api/model_store_data.go create mode 100644 api/model_store_data_relationships.go create mode 100644 api/model_store_update.go create mode 100644 api/model_store_update_data.go create mode 100644 api/model_store_update_data_relationships.go delete mode 100644 api/test/api_addresses_test.go delete mode 100644 api/test/api_adjustments_test.go delete mode 100644 api/test/api_adyen_gateways_test.go delete mode 100644 api/test/api_adyen_payments_test.go delete mode 100644 api/test/api_application_test.go delete mode 100644 api/test/api_attachments_test.go delete mode 100644 api/test/api_authorizations_test.go delete mode 100644 api/test/api_avalara_accounts_test.go delete mode 100644 api/test/api_axerve_gateways_test.go delete mode 100644 api/test/api_axerve_payments_test.go delete mode 100644 api/test/api_billing_info_validation_rules_test.go delete mode 100644 api/test/api_bing_geocoders_test.go delete mode 100644 api/test/api_braintree_gateways_test.go delete mode 100644 api/test/api_braintree_payments_test.go delete mode 100644 api/test/api_bundles_test.go delete mode 100644 api/test/api_buy_x_pay_y_promotions_test.go delete mode 100644 api/test/api_captures_test.go delete mode 100644 api/test/api_carrier_accounts_test.go delete mode 100644 api/test/api_checkout_com_gateways_test.go delete mode 100644 api/test/api_checkout_com_payments_test.go delete mode 100644 api/test/api_cleanups_test.go delete mode 100644 api/test/api_coupon_codes_promotion_rules_test.go delete mode 100644 api/test/api_coupon_recipients_test.go delete mode 100644 api/test/api_coupons_test.go delete mode 100644 api/test/api_custom_promotion_rules_test.go delete mode 100644 api/test/api_customer_addresses_test.go delete mode 100644 api/test/api_customer_groups_test.go delete mode 100644 api/test/api_customer_password_resets_test.go delete mode 100644 api/test/api_customer_payment_sources_test.go delete mode 100644 api/test/api_customer_subscriptions_test.go delete mode 100644 api/test/api_customers_test.go delete mode 100644 api/test/api_delivery_lead_times_test.go delete mode 100644 api/test/api_event_callbacks_test.go delete mode 100644 api/test/api_events_test.go delete mode 100644 api/test/api_exports_test.go delete mode 100644 api/test/api_external_gateways_test.go delete mode 100644 api/test/api_external_payments_test.go delete mode 100644 api/test/api_external_promotions_test.go delete mode 100644 api/test/api_external_tax_calculators_test.go delete mode 100644 api/test/api_fixed_amount_promotions_test.go delete mode 100644 api/test/api_fixed_price_promotions_test.go delete mode 100644 api/test/api_flex_promotions_test.go delete mode 100644 api/test/api_free_gift_promotions_test.go delete mode 100644 api/test/api_free_shipping_promotions_test.go delete mode 100644 api/test/api_geocoders_test.go delete mode 100644 api/test/api_gift_card_recipients_test.go delete mode 100644 api/test/api_gift_cards_test.go delete mode 100644 api/test/api_google_geocoders_test.go delete mode 100644 api/test/api_has_many_test.go delete mode 100644 api/test/api_has_one_test.go delete mode 100644 api/test/api_imports_test.go delete mode 100644 api/test/api_in_stock_subscriptions_test.go delete mode 100644 api/test/api_inventory_models_test.go delete mode 100644 api/test/api_inventory_return_locations_test.go delete mode 100644 api/test/api_inventory_stock_locations_test.go delete mode 100644 api/test/api_klarna_gateways_test.go delete mode 100644 api/test/api_klarna_payments_test.go delete mode 100644 api/test/api_line_item_options_test.go delete mode 100644 api/test/api_line_items_test.go delete mode 100644 api/test/api_links_test.go delete mode 100644 api/test/api_manual_gateways_test.go delete mode 100644 api/test/api_manual_tax_calculators_test.go delete mode 100644 api/test/api_markets_test.go delete mode 100644 api/test/api_merchants_test.go delete mode 100644 api/test/api_order_amount_promotion_rules_test.go delete mode 100644 api/test/api_order_copies_test.go delete mode 100644 api/test/api_order_factories_test.go delete mode 100644 api/test/api_order_subscription_items_test.go delete mode 100644 api/test/api_order_subscriptions_test.go delete mode 100644 api/test/api_orders_test.go delete mode 100644 api/test/api_organization_test.go delete mode 100644 api/test/api_packages_test.go delete mode 100644 api/test/api_parcel_line_items_test.go delete mode 100644 api/test/api_parcels_test.go delete mode 100644 api/test/api_payment_gateways_test.go delete mode 100644 api/test/api_payment_methods_test.go delete mode 100644 api/test/api_payment_options_test.go delete mode 100644 api/test/api_paypal_gateways_test.go delete mode 100644 api/test/api_paypal_payments_test.go delete mode 100644 api/test/api_percentage_discount_promotions_test.go delete mode 100644 api/test/api_price_frequency_tiers_test.go delete mode 100644 api/test/api_price_list_schedulers_test.go delete mode 100644 api/test/api_price_lists_test.go delete mode 100644 api/test/api_price_tiers_test.go delete mode 100644 api/test/api_price_volume_tiers_test.go delete mode 100644 api/test/api_prices_test.go delete mode 100644 api/test/api_promotion_rules_test.go delete mode 100644 api/test/api_promotions_test.go delete mode 100644 api/test/api_recurring_order_copies_test.go delete mode 100644 api/test/api_refunds_test.go delete mode 100644 api/test/api_reserved_stocks_test.go delete mode 100644 api/test/api_resource_errors_test.go delete mode 100644 api/test/api_return_line_items_test.go delete mode 100644 api/test/api_returns_test.go delete mode 100644 api/test/api_satispay_gateways_test.go delete mode 100644 api/test/api_satispay_payments_test.go delete mode 100644 api/test/api_shipments_test.go delete mode 100644 api/test/api_shipping_categories_test.go delete mode 100644 api/test/api_shipping_method_tiers_test.go delete mode 100644 api/test/api_shipping_methods_test.go delete mode 100644 api/test/api_shipping_weight_tiers_test.go delete mode 100644 api/test/api_shipping_zones_test.go delete mode 100644 api/test/api_singleton_test.go delete mode 100644 api/test/api_sku_list_items_test.go delete mode 100644 api/test/api_sku_list_promotion_rules_test.go delete mode 100644 api/test/api_sku_lists_test.go delete mode 100644 api/test/api_sku_options_test.go delete mode 100644 api/test/api_skus_test.go delete mode 100644 api/test/api_stock_items_test.go delete mode 100644 api/test/api_stock_line_items_test.go delete mode 100644 api/test/api_stock_locations_test.go delete mode 100644 api/test/api_stock_reservations_test.go delete mode 100644 api/test/api_stock_transfers_test.go delete mode 100644 api/test/api_stripe_gateways_test.go delete mode 100644 api/test/api_stripe_payments_test.go delete mode 100644 api/test/api_subscription_models_test.go delete mode 100644 api/test/api_tags_test.go delete mode 100644 api/test/api_tax_calculators_test.go delete mode 100644 api/test/api_tax_categories_test.go delete mode 100644 api/test/api_tax_rules_test.go delete mode 100644 api/test/api_taxjar_accounts_test.go delete mode 100644 api/test/api_transactions_test.go delete mode 100644 api/test/api_versions_test.go delete mode 100644 api/test/api_voids_test.go delete mode 100644 api/test/api_webhooks_test.go delete mode 100644 api/test/api_wire_transfers_test.go diff --git a/.changes/header.tpl.md b/.changes/header.tpl.md new file mode 100644 index 000000000..df8faa7b2 --- /dev/null +++ b/.changes/header.tpl.md @@ -0,0 +1,6 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), +and is generated by [Changie](https://github.com/miniscruff/changie). diff --git a/.changes/unreleased/.gitkeep b/.changes/unreleased/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/.changes/unreleased/Changed-20250114-115640.yaml b/.changes/unreleased/Changed-20250114-115640.yaml new file mode 100644 index 000000000..4e563186a --- /dev/null +++ b/.changes/unreleased/Changed-20250114-115640.yaml @@ -0,0 +1,3 @@ +kind: Changed +body: Upgraded to API version 7.6.1 +time: 2025-01-14T11:56:40.49630033+01:00 diff --git a/.changie.yaml b/.changie.yaml new file mode 100644 index 000000000..906d49559 --- /dev/null +++ b/.changie.yaml @@ -0,0 +1,26 @@ +changesDir: .changes +unreleasedDir: unreleased +headerPath: header.tpl.md +changelogPath: CHANGELOG.md +versionExt: md +versionFormat: '## {{.Version}} - {{.Time.Format "2006-01-02"}}' +kindFormat: '### {{.Kind}}' +changeFormat: '* {{.Body}}' +kinds: +- label: Added + auto: minor +- label: Changed + auto: major +- label: Deprecated + auto: minor +- label: Removed + auto: major +- label: Fixed + auto: patch +- label: Security + auto: patch +newlines: + afterChangelogHeader: 1 + beforeChangelogVersion: 1 + endOfVersion: 1 +envPrefix: CHANGIE_ diff --git a/.github/workflows/dependabot-changie.yaml b/.github/workflows/dependabot-changie.yaml new file mode 100644 index 000000000..cb0c658f4 --- /dev/null +++ b/.github/workflows/dependabot-changie.yaml @@ -0,0 +1,36 @@ +name: Dependabot add changie file +on: + pull_request: + types: [opened] + +permissions: + pull-requests: write + issues: write + repository-projects: write + contents: write + +jobs: + dependabot-changie: + runs-on: ubuntu-latest + if: github.actor == 'dependabot[bot]' + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Fetch Dependabot metadata + id: dependabot-metadata + uses: dependabot/fetch-metadata@v2 + with: + github-token: "${{ secrets.GITHUB_TOKEN }}" + + - name: Create change file + uses: miniscruff/changie-action@v2 + with: + version: latest + args: new --body "${{ github.event.pull_request.title }}" --kind Dependency + + - uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_message: "chore(deps): add changelog for dependabot updates" + commit_user_name: "dependabot[bot]" + commit_user_email: "dependabot[bot]@users.noreply.github.com" diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 000000000..1cadc0f93 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,33 @@ +name: release +on: + workflow_dispatch: + +jobs: + goreleaser: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version-file: go.mod + + - name: Import GPG key + id: import_gpg + uses: paultyng/ghaction-import-gpg@v2.1.0 + env: + GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} + PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} + + - name: Run GoReleaser + uses: goreleaser/goreleaser-action@v6 + with: + version: latest + args: release --clean + env: + GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yaml similarity index 83% rename from .github/workflows/tests.yml rename to .github/workflows/tests.yaml index 61f47a1ca..41f0aaa41 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yaml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go-version: [ '1.18', '1.23' ] + go-version: [ '1.18', '1.19', '1.20', '1.21', '1.22', '1.23' ] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/triage.yaml b/.github/workflows/triage.yaml new file mode 100644 index 000000000..6a30980eb --- /dev/null +++ b/.github/workflows/triage.yaml @@ -0,0 +1,24 @@ +name: Triage + +on: + issues: + types: + - opened + +jobs: + add_to_project: + name: Push issue or PR to board + runs-on: ubuntu-latest + steps: + - name: get app token + id: get-app-token + uses: labd/action-gh-app-token@main + with: + app-id: ${{ secrets.RD_APP_ID }} + private-key: ${{ secrets.RD_APP_PRIVATE_KEY }} + installation-id: ${{ secrets.RD_APP_INSTALLATION_ID }} + - name: set to project board + uses: actions/add-to-project@v0.5.0 + with: + project-url: https://github.com/orgs/labd/projects/3 + github-token: ${{ steps.get-app-token.outputs.app-token }} diff --git a/.gitignore b/.gitignore index b978cdf93..e8154d93b 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,5 @@ _testmain.go openapi.json /.idea + +/openapi.yaml diff --git a/.openapi-generator-ignore b/.openapi-generator-ignore index 41fa1e55d..321699cdc 100644 --- a/.openapi-generator-ignore +++ b/.openapi-generator-ignore @@ -3,4 +3,6 @@ /api/go.mod /api/go.sum /api/git_push.sh -/api/.openapi-generator-ignore \ No newline at end of file +/api/.openapi-generator-ignore +/api/api/openapi.yaml +/api/test/*.go diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 000000000..5ca9d33a1 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,9 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), +and is generated by [Changie](https://github.com/miniscruff/changie). + + +No releases yet, this file will be updated when generating your first release. diff --git a/LICENSE b/LICENSE index 77b6e70db..a612ad981 100644 --- a/LICENSE +++ b/LICENSE @@ -1,21 +1,373 @@ -MIT License - -Copyright (c) 2022 Incentro - Digital Commerce - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +Mozilla Public License Version 2.0 +================================== + +1. Definitions +-------------- + +1.1. "Contributor" + means each individual or legal entity that creates, contributes to + the creation of, or owns Covered Software. + +1.2. "Contributor Version" + means the combination of the Contributions of others (if any) used + by a Contributor and that particular Contributor's Contribution. + +1.3. "Contribution" + means Covered Software of a particular Contributor. + +1.4. "Covered Software" + means Source Code Form to which the initial Contributor has attached + the notice in Exhibit A, the Executable Form of such Source Code + Form, and Modifications of such Source Code Form, in each case + including portions thereof. + +1.5. "Incompatible With Secondary Licenses" + means + + (a) that the initial Contributor has attached the notice described + in Exhibit B to the Covered Software; or + + (b) that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the + terms of a Secondary License. + +1.6. "Executable Form" + means any form of the work other than Source Code Form. + +1.7. "Larger Work" + means a work that combines Covered Software with other material, in + a separate file or files, that is not Covered Software. + +1.8. "License" + means this document. + +1.9. "Licensable" + means having the right to grant, to the maximum extent possible, + whether at the time of the initial grant or subsequently, any and + all of the rights conveyed by this License. + +1.10. "Modifications" + means any of the following: + + (a) any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered + Software; or + + (b) any new file in Source Code Form that contains any Covered + Software. + +1.11. "Patent Claims" of a Contributor + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the + License, by the making, using, selling, offering for sale, having + made, import, or transfer of either its Contributions or its + Contributor Version. + +1.12. "Secondary License" + means either the GNU General Public License, Version 2.0, the GNU + Lesser General Public License, Version 2.1, the GNU Affero General + Public License, Version 3.0, or any later versions of those + licenses. + +1.13. "Source Code Form" + means the form of the work preferred for making modifications. + +1.14. "You" (or "Your") + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + +2. License Grants and Conditions +-------------------------------- + +2.1. Grants + +Each Contributor hereby grants You a world-wide, royalty-free, +non-exclusive license: + +(a) under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + +(b) under Patent Claims of such Contributor to make, use, sell, offer + for sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + +2.2. Effective Date + +The licenses granted in Section 2.1 with respect to any Contribution +become effective for each Contribution on the date the Contributor first +distributes such Contribution. + +2.3. Limitations on Grant Scope + +The licenses granted in this Section 2 are the only rights granted under +this License. No additional rights or licenses will be implied from the +distribution or licensing of Covered Software under this License. +Notwithstanding Section 2.1(b) above, no patent license is granted by a +Contributor: + +(a) for any code that a Contributor has removed from Covered Software; + or + +(b) for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + +(c) under Patent Claims infringed by Covered Software in the absence of + its Contributions. + +This License does not grant any rights in the trademarks, service marks, +or logos of any Contributor (except as may be necessary to comply with +the notice requirements in Section 3.4). + +2.4. Subsequent Licenses + +No Contributor makes additional grants as a result of Your choice to +distribute the Covered Software under a subsequent version of this +License (see Section 10.2) or under the terms of a Secondary License (if +permitted under the terms of Section 3.3). + +2.5. Representation + +Each Contributor represents that the Contributor believes its +Contributions are its original creation(s) or it has sufficient rights +to grant the rights to its Contributions conveyed by this License. + +2.6. Fair Use + +This License is not intended to limit any rights You have under +applicable copyright doctrines of fair use, fair dealing, or other +equivalents. + +2.7. Conditions + +Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted +in Section 2.1. + +3. Responsibilities +------------------- + +3.1. Distribution of Source Form + +All distribution of Covered Software in Source Code Form, including any +Modifications that You create or to which You contribute, must be under +the terms of this License. You must inform recipients that the Source +Code Form of the Covered Software is governed by the terms of this +License, and how they can obtain a copy of this License. You may not +attempt to alter or restrict the recipients' rights in the Source Code +Form. + +3.2. Distribution of Executable Form + +If You distribute Covered Software in Executable Form then: + +(a) such Covered Software must also be made available in Source Code + Form, as described in Section 3.1, and You must inform recipients of + the Executable Form how they can obtain a copy of such Source Code + Form by reasonable means in a timely manner, at a charge no more + than the cost of distribution to the recipient; and + +(b) You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter + the recipients' rights in the Source Code Form under this License. + +3.3. Distribution of a Larger Work + +You may create and distribute a Larger Work under terms of Your choice, +provided that You also comply with the requirements of this License for +the Covered Software. If the Larger Work is a combination of Covered +Software with a work governed by one or more Secondary Licenses, and the +Covered Software is not Incompatible With Secondary Licenses, this +License permits You to additionally distribute such Covered Software +under the terms of such Secondary License(s), so that the recipient of +the Larger Work may, at their option, further distribute the Covered +Software under the terms of either this License or such Secondary +License(s). + +3.4. Notices + +You may not remove or alter the substance of any license notices +(including copyright notices, patent notices, disclaimers of warranty, +or limitations of liability) contained within the Source Code Form of +the Covered Software, except that You may alter any license notices to +the extent required to remedy known factual inaccuracies. + +3.5. Application of Additional Terms + +You may choose to offer, and to charge a fee for, warranty, support, +indemnity or liability obligations to one or more recipients of Covered +Software. However, You may do so only on Your own behalf, and not on +behalf of any Contributor. You must make it absolutely clear that any +such warranty, support, indemnity, or liability obligation is offered by +You alone, and You hereby agree to indemnify every Contributor for any +liability incurred by such Contributor as a result of warranty, support, +indemnity or liability terms You offer. You may include additional +disclaimers of warranty and limitations of liability specific to any +jurisdiction. + +4. Inability to Comply Due to Statute or Regulation +--------------------------------------------------- + +If it is impossible for You to comply with any of the terms of this +License with respect to some or all of the Covered Software due to +statute, judicial order, or regulation then You must: (a) comply with +the terms of this License to the maximum extent possible; and (b) +describe the limitations and the code they affect. Such description must +be placed in a text file included with all distributions of the Covered +Software under this License. Except to the extent prohibited by statute +or regulation, such description must be sufficiently detailed for a +recipient of ordinary skill to be able to understand it. + +5. Termination +-------------- + +5.1. The rights granted under this License will terminate automatically +if You fail to comply with any of its terms. However, if You become +compliant, then the rights granted under this License from a particular +Contributor are reinstated (a) provisionally, unless and until such +Contributor explicitly and finally terminates Your grants, and (b) on an +ongoing basis, if such Contributor fails to notify You of the +non-compliance by some reasonable means prior to 60 days after You have +come back into compliance. Moreover, Your grants from a particular +Contributor are reinstated on an ongoing basis if such Contributor +notifies You of the non-compliance by some reasonable means, this is the +first time You have received notice of non-compliance with this License +from such Contributor, and You become compliant prior to 30 days after +Your receipt of the notice. + +5.2. If You initiate litigation against any entity by asserting a patent +infringement claim (excluding declaratory judgment actions, +counter-claims, and cross-claims) alleging that a Contributor Version +directly or indirectly infringes any patent, then the rights granted to +You by any and all Contributors for the Covered Software under Section +2.1 of this License shall terminate. + +5.3. In the event of termination under Sections 5.1 or 5.2 above, all +end user license agreements (excluding distributors and resellers) which +have been validly granted by You or Your distributors under this License +prior to termination shall survive termination. + +************************************************************************ +* * +* 6. Disclaimer of Warranty * +* ------------------------- * +* * +* Covered Software is provided under this License on an "as is" * +* basis, without warranty of any kind, either expressed, implied, or * +* statutory, including, without limitation, warranties that the * +* Covered Software is free of defects, merchantable, fit for a * +* particular purpose or non-infringing. The entire risk as to the * +* quality and performance of the Covered Software is with You. * +* Should any Covered Software prove defective in any respect, You * +* (not any Contributor) assume the cost of any necessary servicing, * +* repair, or correction. This disclaimer of warranty constitutes an * +* essential part of this License. No use of any Covered Software is * +* authorized under this License except under this disclaimer. * +* * +************************************************************************ + +************************************************************************ +* * +* 7. Limitation of Liability * +* -------------------------- * +* * +* Under no circumstances and under no legal theory, whether tort * +* (including negligence), contract, or otherwise, shall any * +* Contributor, or anyone who distributes Covered Software as * +* permitted above, be liable to You for any direct, indirect, * +* special, incidental, or consequential damages of any character * +* including, without limitation, damages for lost profits, loss of * +* goodwill, work stoppage, computer failure or malfunction, or any * +* and all other commercial damages or losses, even if such party * +* shall have been informed of the possibility of such damages. This * +* limitation of liability shall not apply to liability for death or * +* personal injury resulting from such party's negligence to the * +* extent applicable law prohibits such limitation. Some * +* jurisdictions do not allow the exclusion or limitation of * +* incidental or consequential damages, so this exclusion and * +* limitation may not apply to You. * +* * +************************************************************************ + +8. Litigation +------------- + +Any litigation relating to this License may be brought only in the +courts of a jurisdiction where the defendant maintains its principal +place of business and such litigation shall be governed by laws of that +jurisdiction, without reference to its conflict-of-law provisions. +Nothing in this Section shall prevent a party's ability to bring +cross-claims or counter-claims. + +9. Miscellaneous +---------------- + +This License represents the complete agreement concerning the subject +matter hereof. If any provision of this License is held to be +unenforceable, such provision shall be reformed only to the extent +necessary to make it enforceable. Any law or regulation which provides +that the language of a contract shall be construed against the drafter +shall not be used to construe this License against a Contributor. + +10. Versions of the License +--------------------------- + +10.1. New Versions + +Mozilla Foundation is the license steward. Except as provided in Section +10.3, no one other than the license steward has the right to modify or +publish new versions of this License. Each version will be given a +distinguishing version number. + +10.2. Effect of New Versions + +You may distribute the Covered Software under the terms of the version +of the License under which You originally received the Covered Software, +or under the terms of any subsequent version published by the license +steward. + +10.3. Modified Versions + +If you create software not governed by this License, and you want to +create a new license for such software, you may create and use a +modified version of this License if you rename the license and remove +any references to the name of the license steward (except to note that +such modified license differs from this License). + +10.4. Distributing Source Code Form that is Incompatible With Secondary +Licenses + +If You choose to distribute Source Code Form that is Incompatible With +Secondary Licenses under the terms of this version of the License, the +notice described in Exhibit B of this License must be attached. + +Exhibit A - Source Code Form License Notice +------------------------------------------- + + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at http://mozilla.org/MPL/2.0/. + +If it is not possible or desirable to put the notice in a particular +file, then You may include the notice in a location (such as a LICENSE +file in a relevant directory) where a recipient would be likely to look +for such a notice. + +You may add additional accurate notices of copyright ownership. + +Exhibit B - "Incompatible With Secondary Licenses" Notice +--------------------------------------------------------- + + This Source Code Form is "Incompatible With Secondary Licenses", as + defined by the Mozilla Public License, v. 2.0. diff --git a/Makefile b/Makefile deleted file mode 100644 index ad5f36c45..000000000 --- a/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -.DEFAULT_GOAL := build - -build: tools/openapi-generator-cli clean generate fmt - -clean: - rm -rf api/ - -generate: - openapi-generator-cli generate -i "https://data.commercelayer.app/schemas/openapi-no-ref.json" \ - --generator-name go \ - --output api \ - --ignore-file-override .openapi-generator-ignore \ - --config config.yml - -fmt: - go fmt ./... - -tools/openapi-generator-cli: - npm install -g @openapitools/openapi-generator-cli \ No newline at end of file diff --git a/README.md b/README.md index f9458b187..b69084393 100644 --- a/README.md +++ b/README.md @@ -38,4 +38,4 @@ data, resp, err := commercelayerClient.AddressesApi.GETAddresses(ctx).Execute() # Development - Make sure you have [nodejs and npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) installed -- Run `make` to regenerate the whole SDK. This will also install the dependencies required to generate the SDK through npm. \ No newline at end of file +- Run `make` to regenerate the whole SDK. This will also install the dependencies required to generate the SDK through npm. diff --git a/Taskfile.yml b/Taskfile.yml new file mode 100644 index 000000000..74ee9a50b --- /dev/null +++ b/Taskfile.yml @@ -0,0 +1,47 @@ +version: '3' + +tasks: + generate: + cmds: + - task: download:specs + - task: clean + - openapi-generator-cli generate -i "./openapi.yaml" \ + --generator-name go \ + --output api \ + --ignore-file-override .openapi-generator-ignore \ + --config config.yml + - task: format + + download:specs: + cmds: + - wget https://data.commercelayer.app/schemas/openapi-no-ref.json -o ./openapi.yaml + + tools: + cmds: + - npm install -g @openapitools/openapi-generator-cli + + clean: + cmds: + - rm -rf api + + format: + cmds: + - go fmt ./... + + test: + cmds: + - go test -v ./... + + docs: + cmds: + - go generate + + coverage-html: + cmds: + - go test -race -coverprofile=coverage.txt -covermode=atomic -coverpkg=./... ./... + - go tool cover -html=coverage.txt + + coverage: + cmds: + - go test -race -coverprofile=coverage.txt -covermode=atomic -coverpkg=./... ./... + - go tool cover -func=coverage.txt diff --git a/api/.openapi-generator/FILES b/api/.openapi-generator/FILES index 93de2866f..5671821b2 100644 --- a/api/.openapi-generator/FILES +++ b/api/.openapi-generator/FILES @@ -1,5 +1,4 @@ README.md -api/openapi.yaml api_addresses.go api_adjustments.go api_adyen_gateways.go @@ -10,7 +9,6 @@ api_authorizations.go api_avalara_accounts.go api_axerve_gateways.go api_axerve_payments.go -api_billing_info_validation_rules.go api_bing_geocoders.go api_braintree_gateways.go api_braintree_payments.go @@ -64,6 +62,7 @@ api_manual_gateways.go api_manual_tax_calculators.go api_markets.go api_merchants.go +api_notifications.go api_order_amount_promotion_rules.go api_order_copies.go api_order_factories.go @@ -113,6 +112,7 @@ api_stock_line_items.go api_stock_locations.go api_stock_reservations.go api_stock_transfers.go +api_stores.go api_stripe_gateways.go api_stripe_payments.go api_subscription_models.go @@ -207,6 +207,8 @@ docs/AuthorizationDataRelationshipsAttachments.md docs/AuthorizationDataRelationshipsAttachmentsData.md docs/AuthorizationDataRelationshipsCaptures.md docs/AuthorizationDataRelationshipsCapturesData.md +docs/AuthorizationDataRelationshipsPaymentSource.md +docs/AuthorizationDataRelationshipsPaymentSourceData.md docs/AuthorizationDataRelationshipsVoids.md docs/AuthorizationDataRelationshipsVoidsData.md docs/AuthorizationUpdate.md @@ -245,17 +247,6 @@ docs/AxervePaymentData.md docs/AxervePaymentUpdate.md docs/AxervePaymentUpdateData.md docs/AxervePaymentsApi.md -docs/BillingInfoValidationRule.md -docs/BillingInfoValidationRuleCreate.md -docs/BillingInfoValidationRuleCreateData.md -docs/BillingInfoValidationRuleCreateDataRelationships.md -docs/BillingInfoValidationRuleCreateDataRelationshipsMarket.md -docs/BillingInfoValidationRuleData.md -docs/BillingInfoValidationRuleDataRelationships.md -docs/BillingInfoValidationRuleUpdate.md -docs/BillingInfoValidationRuleUpdateData.md -docs/BillingInfoValidationRuleUpdateDataRelationships.md -docs/BillingInfoValidationRulesApi.md docs/BingGeocoder.md docs/BingGeocoderCreate.md docs/BingGeocoderCreateData.md @@ -289,6 +280,7 @@ docs/Bundle.md docs/BundleCreate.md docs/BundleCreateData.md docs/BundleCreateDataRelationships.md +docs/BundleCreateDataRelationshipsMarket.md docs/BundleCreateDataRelationshipsSkuList.md docs/BundleData.md docs/BundleDataRelationships.md @@ -341,7 +333,9 @@ docs/CapturesApi.md docs/CarrierAccount.md docs/CarrierAccountCreate.md docs/CarrierAccountCreateData.md +docs/CarrierAccountCreateDataRelationships.md docs/CarrierAccountData.md +docs/CarrierAccountDataRelationships.md docs/CarrierAccountUpdate.md docs/CarrierAccountUpdateData.md docs/CarrierAccountsApi.md @@ -473,8 +467,6 @@ docs/CustomerPaymentSourceCreateDataRelationshipsPaymentMethod.md docs/CustomerPaymentSourceCreateDataRelationshipsPaymentSource.md docs/CustomerPaymentSourceData.md docs/CustomerPaymentSourceDataRelationships.md -docs/CustomerPaymentSourceDataRelationshipsPaymentSource.md -docs/CustomerPaymentSourceDataRelationshipsPaymentSourceData.md docs/CustomerPaymentSourceUpdate.md docs/CustomerPaymentSourceUpdateData.md docs/CustomerPaymentSourceUpdateDataRelationships.md @@ -631,6 +623,8 @@ docs/GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments.md docs/GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachmentsData.md docs/GETAuthorizationsAuthorizationId200ResponseDataRelationshipsCaptures.md docs/GETAuthorizationsAuthorizationId200ResponseDataRelationshipsCapturesData.md +docs/GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource.md +docs/GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData.md docs/GETAuthorizationsAuthorizationId200ResponseDataRelationshipsVoids.md docs/GETAuthorizationsAuthorizationId200ResponseDataRelationshipsVoidsData.md docs/GETAvalaraAccounts200Response.md @@ -645,10 +639,6 @@ docs/GETAxervePayments200Response.md docs/GETAxervePaymentsAxervePaymentId200Response.md docs/GETAxervePaymentsAxervePaymentId200ResponseData.md docs/GETAxervePaymentsAxervePaymentId200ResponseDataAttributes.md -docs/GETBillingInfoValidationRules200Response.md -docs/GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response.md -docs/GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData.md -docs/GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md docs/GETBingGeocoders200Response.md docs/GETBingGeocodersBingGeocoderId200Response.md docs/GETBingGeocodersBingGeocoderId200ResponseData.md @@ -864,6 +854,10 @@ docs/GETMerchants200Response.md docs/GETMerchantsMerchantId200Response.md docs/GETMerchantsMerchantId200ResponseData.md docs/GETMerchantsMerchantId200ResponseDataAttributes.md +docs/GETNotifications200Response.md +docs/GETNotificationsNotificationId200Response.md +docs/GETNotificationsNotificationId200ResponseData.md +docs/GETNotificationsNotificationId200ResponseDataAttributes.md docs/GETOrderAmountPromotionRules200Response.md docs/GETOrderAmountPromotionRulesOrderAmountPromotionRuleId200Response.md docs/GETOrderAmountPromotionRulesOrderAmountPromotionRuleId200ResponseData.md @@ -1061,6 +1055,10 @@ docs/GETStockTransfers200Response.md docs/GETStockTransfersStockTransferId200Response.md docs/GETStockTransfersStockTransferId200ResponseData.md docs/GETStockTransfersStockTransferId200ResponseDataAttributes.md +docs/GETStores200Response.md +docs/GETStoresStoreId200Response.md +docs/GETStoresStoreId200ResponseData.md +docs/GETStoresStoreId200ResponseDataAttributes.md docs/GETStripeGateways200Response.md docs/GETStripeGatewaysStripeGatewayId200Response.md docs/GETStripeGatewaysStripeGatewayId200ResponseData.md @@ -1227,6 +1225,8 @@ docs/LineItemDataRelationshipsItem.md docs/LineItemDataRelationshipsItemData.md docs/LineItemDataRelationshipsLineItemOptions.md docs/LineItemDataRelationshipsLineItemOptionsData.md +docs/LineItemDataRelationshipsNotifications.md +docs/LineItemDataRelationshipsNotificationsData.md docs/LineItemDataRelationshipsReturnLineItems.md docs/LineItemDataRelationshipsReturnLineItemsData.md docs/LineItemDataRelationshipsShipment.md @@ -1305,6 +1305,8 @@ docs/MarketDataRelationshipsPriceList.md docs/MarketDataRelationshipsPriceListData.md docs/MarketDataRelationshipsPriceListSchedulers.md docs/MarketDataRelationshipsPriceListSchedulersData.md +docs/MarketDataRelationshipsStores.md +docs/MarketDataRelationshipsStoresData.md docs/MarketDataRelationshipsSubscriptionModel.md docs/MarketDataRelationshipsSubscriptionModelData.md docs/MarketDataRelationshipsTaxCalculator.md @@ -1326,6 +1328,19 @@ docs/MerchantsApi.md docs/ModelImport.md docs/ModelPackage.md docs/ModelReturn.md +docs/Notification.md +docs/NotificationCreate.md +docs/NotificationCreateData.md +docs/NotificationCreateDataRelationships.md +docs/NotificationCreateDataRelationshipsNotifiable.md +docs/NotificationData.md +docs/NotificationDataRelationships.md +docs/NotificationDataRelationshipsNotifiable.md +docs/NotificationDataRelationshipsNotifiableData.md +docs/NotificationUpdate.md +docs/NotificationUpdateData.md +docs/NotificationUpdateDataRelationships.md +docs/NotificationsApi.md docs/Order.md docs/OrderAmountPromotionRule.md docs/OrderAmountPromotionRuleCreate.md @@ -1346,6 +1361,7 @@ docs/OrderCopyUpdateData.md docs/OrderCreate.md docs/OrderCreateData.md docs/OrderCreateDataRelationships.md +docs/OrderCreateDataRelationshipsStore.md docs/OrderData.md docs/OrderDataRelationships.md docs/OrderDataRelationshipsLinks.md @@ -1427,9 +1443,6 @@ docs/PATCHAxerveGatewaysAxerveGatewayId200ResponseDataAttributes.md docs/PATCHAxervePaymentsAxervePaymentId200Response.md docs/PATCHAxervePaymentsAxervePaymentId200ResponseData.md docs/PATCHAxervePaymentsAxervePaymentId200ResponseDataAttributes.md -docs/PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response.md -docs/PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData.md -docs/PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md docs/PATCHBingGeocodersBingGeocoderId200Response.md docs/PATCHBingGeocodersBingGeocoderId200ResponseData.md docs/PATCHBingGeocodersBingGeocoderId200ResponseDataAttributes.md @@ -1459,8 +1472,10 @@ docs/PATCHCheckoutComPaymentsCheckoutComPaymentId200ResponseData.md docs/PATCHCheckoutComPaymentsCheckoutComPaymentId200ResponseDataAttributes.md docs/PATCHCleanupsCleanupId200Response.md docs/PATCHCleanupsCleanupId200ResponseData.md +docs/PATCHCleanupsCleanupId200ResponseDataAttributes.md docs/PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200Response.md docs/PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseData.md +docs/PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes.md docs/PATCHCouponRecipientsCouponRecipientId200Response.md docs/PATCHCouponRecipientsCouponRecipientId200ResponseData.md docs/PATCHCouponRecipientsCouponRecipientId200ResponseDataAttributes.md @@ -1571,6 +1586,9 @@ docs/PATCHMarketsMarketId200ResponseDataAttributes.md docs/PATCHMerchantsMerchantId200Response.md docs/PATCHMerchantsMerchantId200ResponseData.md docs/PATCHMerchantsMerchantId200ResponseDataAttributes.md +docs/PATCHNotificationsNotificationId200Response.md +docs/PATCHNotificationsNotificationId200ResponseData.md +docs/PATCHNotificationsNotificationId200ResponseDataAttributes.md docs/PATCHOrderAmountPromotionRulesOrderAmountPromotionRuleId200Response.md docs/PATCHOrderAmountPromotionRulesOrderAmountPromotionRuleId200ResponseData.md docs/PATCHOrderAmountPromotionRulesOrderAmountPromotionRuleId200ResponseDataAttributes.md @@ -1684,6 +1702,9 @@ docs/PATCHStockReservationsStockReservationId200ResponseDataAttributes.md docs/PATCHStockTransfersStockTransferId200Response.md docs/PATCHStockTransfersStockTransferId200ResponseData.md docs/PATCHStockTransfersStockTransferId200ResponseDataAttributes.md +docs/PATCHStoresStoreId200Response.md +docs/PATCHStoresStoreId200ResponseData.md +docs/PATCHStoresStoreId200ResponseDataAttributes.md docs/PATCHStripeGatewaysStripeGatewayId200Response.md docs/PATCHStripeGatewaysStripeGatewayId200ResponseData.md docs/PATCHStripeGatewaysStripeGatewayId200ResponseDataAttributes.md @@ -1769,11 +1790,6 @@ docs/POSTAxerveGateways201ResponseDataRelationshipsAxervePaymentsData.md docs/POSTAxervePayments201Response.md docs/POSTAxervePayments201ResponseData.md docs/POSTAxervePayments201ResponseDataAttributes.md -docs/POSTBillingInfoValidationRules201Response.md -docs/POSTBillingInfoValidationRules201ResponseData.md -docs/POSTBillingInfoValidationRules201ResponseDataRelationships.md -docs/POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket.md -docs/POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData.md docs/POSTBingGeocoders201Response.md docs/POSTBingGeocoders201ResponseData.md docs/POSTBingGeocoders201ResponseDataAttributes.md @@ -1793,6 +1809,8 @@ docs/POSTBundles201Response.md docs/POSTBundles201ResponseData.md docs/POSTBundles201ResponseDataAttributes.md docs/POSTBundles201ResponseDataRelationships.md +docs/POSTBundles201ResponseDataRelationshipsMarket.md +docs/POSTBundles201ResponseDataRelationshipsMarketData.md docs/POSTBundles201ResponseDataRelationshipsSkuList.md docs/POSTBundles201ResponseDataRelationshipsSkuListData.md docs/POSTBundles201ResponseDataRelationshipsSkus.md @@ -1816,6 +1834,7 @@ docs/POSTBuyXPayYPromotions201ResponseDataRelationshipsSkuListPromotionRuleData. docs/POSTCarrierAccounts201Response.md docs/POSTCarrierAccounts201ResponseData.md docs/POSTCarrierAccounts201ResponseDataAttributes.md +docs/POSTCarrierAccounts201ResponseDataRelationships.md docs/POSTCheckoutComGateways201Response.md docs/POSTCheckoutComGateways201ResponseData.md docs/POSTCheckoutComGateways201ResponseDataAttributes.md @@ -1874,8 +1893,6 @@ docs/POSTCustomerPaymentSources201ResponseDataAttributes.md docs/POSTCustomerPaymentSources201ResponseDataRelationships.md docs/POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentMethod.md docs/POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentMethodData.md -docs/POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource.md -docs/POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData.md docs/POSTCustomerSubscriptions201Response.md docs/POSTCustomerSubscriptions201ResponseData.md docs/POSTCustomerSubscriptions201ResponseDataAttributes.md @@ -2015,6 +2032,8 @@ docs/POSTLineItems201ResponseDataRelationshipsItem.md docs/POSTLineItems201ResponseDataRelationshipsItemData.md docs/POSTLineItems201ResponseDataRelationshipsLineItemOptions.md docs/POSTLineItems201ResponseDataRelationshipsLineItemOptionsData.md +docs/POSTLineItems201ResponseDataRelationshipsNotifications.md +docs/POSTLineItems201ResponseDataRelationshipsNotificationsData.md docs/POSTLineItems201ResponseDataRelationshipsReturnLineItems.md docs/POSTLineItems201ResponseDataRelationshipsReturnLineItemsData.md docs/POSTLineItems201ResponseDataRelationshipsShipment.md @@ -2051,6 +2070,8 @@ docs/POSTMarkets201ResponseDataRelationshipsPriceList.md docs/POSTMarkets201ResponseDataRelationshipsPriceListData.md docs/POSTMarkets201ResponseDataRelationshipsPriceListSchedulers.md docs/POSTMarkets201ResponseDataRelationshipsPriceListSchedulersData.md +docs/POSTMarkets201ResponseDataRelationshipsStores.md +docs/POSTMarkets201ResponseDataRelationshipsStoresData.md docs/POSTMarkets201ResponseDataRelationshipsSubscriptionModel.md docs/POSTMarkets201ResponseDataRelationshipsSubscriptionModelData.md docs/POSTMarkets201ResponseDataRelationshipsTaxCalculator.md @@ -2059,6 +2080,12 @@ docs/POSTMerchants201Response.md docs/POSTMerchants201ResponseData.md docs/POSTMerchants201ResponseDataAttributes.md docs/POSTMerchants201ResponseDataRelationships.md +docs/POSTNotifications201Response.md +docs/POSTNotifications201ResponseData.md +docs/POSTNotifications201ResponseDataAttributes.md +docs/POSTNotifications201ResponseDataRelationships.md +docs/POSTNotifications201ResponseDataRelationshipsNotifiable.md +docs/POSTNotifications201ResponseDataRelationshipsNotifiableData.md docs/POSTOrderAmountPromotionRules201Response.md docs/POSTOrderAmountPromotionRules201ResponseData.md docs/POSTOrderAmountPromotionRules201ResponseDataAttributes.md @@ -2120,6 +2147,8 @@ docs/POSTOrders201ResponseDataRelationshipsShipments.md docs/POSTOrders201ResponseDataRelationshipsShipmentsData.md docs/POSTOrders201ResponseDataRelationshipsShippingAddress.md docs/POSTOrders201ResponseDataRelationshipsShippingAddressData.md +docs/POSTOrders201ResponseDataRelationshipsStore.md +docs/POSTOrders201ResponseDataRelationshipsStoreData.md docs/POSTOrders201ResponseDataRelationshipsTransactions.md docs/POSTOrders201ResponseDataRelationshipsTransactionsData.md docs/POSTPackages201Response.md @@ -2320,6 +2349,10 @@ docs/POSTStockTransfers201ResponseDataRelationshipsDestinationStockLocation.md docs/POSTStockTransfers201ResponseDataRelationshipsDestinationStockLocationData.md docs/POSTStockTransfers201ResponseDataRelationshipsOriginStockLocation.md docs/POSTStockTransfers201ResponseDataRelationshipsOriginStockLocationData.md +docs/POSTStores201Response.md +docs/POSTStores201ResponseData.md +docs/POSTStores201ResponseDataAttributes.md +docs/POSTStores201ResponseDataRelationships.md docs/POSTStripeGateways201Response.md docs/POSTStripeGateways201ResponseData.md docs/POSTStripeGateways201ResponseDataAttributes.md @@ -2733,6 +2766,16 @@ docs/StockTransferUpdate.md docs/StockTransferUpdateData.md docs/StockTransferUpdateDataRelationships.md docs/StockTransfersApi.md +docs/Store.md +docs/StoreCreate.md +docs/StoreCreateData.md +docs/StoreCreateDataRelationships.md +docs/StoreData.md +docs/StoreDataRelationships.md +docs/StoreUpdate.md +docs/StoreUpdateData.md +docs/StoreUpdateDataRelationships.md +docs/StoresApi.md docs/StripeGateway.md docs/StripeGatewayCreate.md docs/StripeGatewayCreateData.md @@ -2901,6 +2944,8 @@ model_authorization_data_relationships_attachments.go model_authorization_data_relationships_attachments_data.go model_authorization_data_relationships_captures.go model_authorization_data_relationships_captures_data.go +model_authorization_data_relationships_payment_source.go +model_authorization_data_relationships_payment_source_data.go model_authorization_data_relationships_voids.go model_authorization_data_relationships_voids_data.go model_authorization_update.go @@ -2935,16 +2980,6 @@ model_axerve_payment_create_data.go model_axerve_payment_data.go model_axerve_payment_update.go model_axerve_payment_update_data.go -model_billing_info_validation_rule.go -model_billing_info_validation_rule_create.go -model_billing_info_validation_rule_create_data.go -model_billing_info_validation_rule_create_data_relationships.go -model_billing_info_validation_rule_create_data_relationships_market.go -model_billing_info_validation_rule_data.go -model_billing_info_validation_rule_data_relationships.go -model_billing_info_validation_rule_update.go -model_billing_info_validation_rule_update_data.go -model_billing_info_validation_rule_update_data_relationships.go model_bing_geocoder.go model_bing_geocoder_create.go model_bing_geocoder_create_data.go @@ -2975,6 +3010,7 @@ model_bundle.go model_bundle_create.go model_bundle_create_data.go model_bundle_create_data_relationships.go +model_bundle_create_data_relationships_market.go model_bundle_create_data_relationships_sku_list.go model_bundle_data.go model_bundle_data_relationships.go @@ -3024,7 +3060,9 @@ model_capture_update_data.go model_carrier_account.go model_carrier_account_create.go model_carrier_account_create_data.go +model_carrier_account_create_data_relationships.go model_carrier_account_data.go +model_carrier_account_data_relationships.go model_carrier_account_update.go model_carrier_account_update_data.go model_checkout_com_gateway.go @@ -3145,8 +3183,6 @@ model_customer_payment_source_create_data_relationships_payment_method.go model_customer_payment_source_create_data_relationships_payment_source.go model_customer_payment_source_data.go model_customer_payment_source_data_relationships.go -model_customer_payment_source_data_relationships_payment_source.go -model_customer_payment_source_data_relationships_payment_source_data.go model_customer_payment_source_update.go model_customer_payment_source_update_data.go model_customer_payment_source_update_data_relationships.go @@ -3289,6 +3325,8 @@ model_get_authorizations_authorization_id_200_response_data_relationships_attach model_get_authorizations_authorization_id_200_response_data_relationships_attachments_data.go model_get_authorizations_authorization_id_200_response_data_relationships_captures.go model_get_authorizations_authorization_id_200_response_data_relationships_captures_data.go +model_get_authorizations_authorization_id_200_response_data_relationships_payment_source.go +model_get_authorizations_authorization_id_200_response_data_relationships_payment_source_data.go model_get_authorizations_authorization_id_200_response_data_relationships_voids.go model_get_authorizations_authorization_id_200_response_data_relationships_voids_data.go model_get_avalara_accounts_200_response.go @@ -3303,10 +3341,6 @@ model_get_axerve_payments_200_response.go model_get_axerve_payments_axerve_payment_id_200_response.go model_get_axerve_payments_axerve_payment_id_200_response_data.go model_get_axerve_payments_axerve_payment_id_200_response_data_attributes.go -model_get_billing_info_validation_rules_200_response.go -model_get_billing_info_validation_rules_billing_info_validation_rule_id_200_response.go -model_get_billing_info_validation_rules_billing_info_validation_rule_id_200_response_data.go -model_get_billing_info_validation_rules_billing_info_validation_rule_id_200_response_data_attributes.go model_get_bing_geocoders_200_response.go model_get_bing_geocoders_bing_geocoder_id_200_response.go model_get_bing_geocoders_bing_geocoder_id_200_response_data.go @@ -3522,6 +3556,10 @@ model_get_merchants_200_response.go model_get_merchants_merchant_id_200_response.go model_get_merchants_merchant_id_200_response_data.go model_get_merchants_merchant_id_200_response_data_attributes.go +model_get_notifications_200_response.go +model_get_notifications_notification_id_200_response.go +model_get_notifications_notification_id_200_response_data.go +model_get_notifications_notification_id_200_response_data_attributes.go model_get_order_amount_promotion_rules_200_response.go model_get_order_amount_promotion_rules_order_amount_promotion_rule_id_200_response.go model_get_order_amount_promotion_rules_order_amount_promotion_rule_id_200_response_data.go @@ -3719,6 +3757,10 @@ model_get_stock_transfers_200_response.go model_get_stock_transfers_stock_transfer_id_200_response.go model_get_stock_transfers_stock_transfer_id_200_response_data.go model_get_stock_transfers_stock_transfer_id_200_response_data_attributes.go +model_get_stores_200_response.go +model_get_stores_store_id_200_response.go +model_get_stores_store_id_200_response_data.go +model_get_stores_store_id_200_response_data_attributes.go model_get_stripe_gateways_200_response.go model_get_stripe_gateways_stripe_gateway_id_200_response.go model_get_stripe_gateways_stripe_gateway_id_200_response_data.go @@ -3871,6 +3913,8 @@ model_line_item_data_relationships_item.go model_line_item_data_relationships_item_data.go model_line_item_data_relationships_line_item_options.go model_line_item_data_relationships_line_item_options_data.go +model_line_item_data_relationships_notifications.go +model_line_item_data_relationships_notifications_data.go model_line_item_data_relationships_return_line_items.go model_line_item_data_relationships_return_line_items_data.go model_line_item_data_relationships_shipment.go @@ -3944,6 +3988,8 @@ model_market_data_relationships_price_list.go model_market_data_relationships_price_list_data.go model_market_data_relationships_price_list_schedulers.go model_market_data_relationships_price_list_schedulers_data.go +model_market_data_relationships_stores.go +model_market_data_relationships_stores_data.go model_market_data_relationships_subscription_model.go model_market_data_relationships_subscription_model_data.go model_market_data_relationships_tax_calculator.go @@ -3960,6 +4006,18 @@ model_merchant_data_relationships.go model_merchant_update.go model_merchant_update_data.go model_merchant_update_data_relationships.go +model_notification.go +model_notification_create.go +model_notification_create_data.go +model_notification_create_data_relationships.go +model_notification_create_data_relationships_notifiable.go +model_notification_data.go +model_notification_data_relationships.go +model_notification_data_relationships_notifiable.go +model_notification_data_relationships_notifiable_data.go +model_notification_update.go +model_notification_update_data.go +model_notification_update_data_relationships.go model_order.go model_order_amount_promotion_rule.go model_order_amount_promotion_rule_create.go @@ -3978,6 +4036,7 @@ model_order_copy_update_data.go model_order_create.go model_order_create_data.go model_order_create_data_relationships.go +model_order_create_data_relationships_store.go model_order_data.go model_order_data_relationships.go model_order_data_relationships_links.go @@ -4090,9 +4149,6 @@ model_patch_axerve_gateways_axerve_gateway_id_200_response_data_attributes.go model_patch_axerve_payments_axerve_payment_id_200_response.go model_patch_axerve_payments_axerve_payment_id_200_response_data.go model_patch_axerve_payments_axerve_payment_id_200_response_data_attributes.go -model_patch_billing_info_validation_rules_billing_info_validation_rule_id_200_response.go -model_patch_billing_info_validation_rules_billing_info_validation_rule_id_200_response_data.go -model_patch_billing_info_validation_rules_billing_info_validation_rule_id_200_response_data_attributes.go model_patch_bing_geocoders_bing_geocoder_id_200_response.go model_patch_bing_geocoders_bing_geocoder_id_200_response_data.go model_patch_bing_geocoders_bing_geocoder_id_200_response_data_attributes.go @@ -4122,8 +4178,10 @@ model_patch_checkout_com_payments_checkout_com_payment_id_200_response_data.go model_patch_checkout_com_payments_checkout_com_payment_id_200_response_data_attributes.go model_patch_cleanups_cleanup_id_200_response.go model_patch_cleanups_cleanup_id_200_response_data.go +model_patch_cleanups_cleanup_id_200_response_data_attributes.go model_patch_coupon_codes_promotion_rules_coupon_codes_promotion_rule_id_200_response.go model_patch_coupon_codes_promotion_rules_coupon_codes_promotion_rule_id_200_response_data.go +model_patch_coupon_codes_promotion_rules_coupon_codes_promotion_rule_id_200_response_data_attributes.go model_patch_coupon_recipients_coupon_recipient_id_200_response.go model_patch_coupon_recipients_coupon_recipient_id_200_response_data.go model_patch_coupon_recipients_coupon_recipient_id_200_response_data_attributes.go @@ -4234,6 +4292,9 @@ model_patch_markets_market_id_200_response_data_attributes.go model_patch_merchants_merchant_id_200_response.go model_patch_merchants_merchant_id_200_response_data.go model_patch_merchants_merchant_id_200_response_data_attributes.go +model_patch_notifications_notification_id_200_response.go +model_patch_notifications_notification_id_200_response_data.go +model_patch_notifications_notification_id_200_response_data_attributes.go model_patch_order_amount_promotion_rules_order_amount_promotion_rule_id_200_response.go model_patch_order_amount_promotion_rules_order_amount_promotion_rule_id_200_response_data.go model_patch_order_amount_promotion_rules_order_amount_promotion_rule_id_200_response_data_attributes.go @@ -4347,6 +4408,9 @@ model_patch_stock_reservations_stock_reservation_id_200_response_data_attributes model_patch_stock_transfers_stock_transfer_id_200_response.go model_patch_stock_transfers_stock_transfer_id_200_response_data.go model_patch_stock_transfers_stock_transfer_id_200_response_data_attributes.go +model_patch_stores_store_id_200_response.go +model_patch_stores_store_id_200_response_data.go +model_patch_stores_store_id_200_response_data_attributes.go model_patch_stripe_gateways_stripe_gateway_id_200_response.go model_patch_stripe_gateways_stripe_gateway_id_200_response_data.go model_patch_stripe_gateways_stripe_gateway_id_200_response_data_attributes.go @@ -4472,11 +4536,6 @@ model_post_axerve_gateways_201_response_data_relationships_axerve_payments_data. model_post_axerve_payments_201_response.go model_post_axerve_payments_201_response_data.go model_post_axerve_payments_201_response_data_attributes.go -model_post_billing_info_validation_rules_201_response.go -model_post_billing_info_validation_rules_201_response_data.go -model_post_billing_info_validation_rules_201_response_data_relationships.go -model_post_billing_info_validation_rules_201_response_data_relationships_market.go -model_post_billing_info_validation_rules_201_response_data_relationships_market_data.go model_post_bing_geocoders_201_response.go model_post_bing_geocoders_201_response_data.go model_post_bing_geocoders_201_response_data_attributes.go @@ -4496,6 +4555,8 @@ model_post_bundles_201_response.go model_post_bundles_201_response_data.go model_post_bundles_201_response_data_attributes.go model_post_bundles_201_response_data_relationships.go +model_post_bundles_201_response_data_relationships_market.go +model_post_bundles_201_response_data_relationships_market_data.go model_post_bundles_201_response_data_relationships_sku_list.go model_post_bundles_201_response_data_relationships_sku_list_data.go model_post_bundles_201_response_data_relationships_skus.go @@ -4519,6 +4580,7 @@ model_post_buy_x_pay_y_promotions_201_response_data_relationships_sku_list_promo model_post_carrier_accounts_201_response.go model_post_carrier_accounts_201_response_data.go model_post_carrier_accounts_201_response_data_attributes.go +model_post_carrier_accounts_201_response_data_relationships.go model_post_checkout_com_gateways_201_response.go model_post_checkout_com_gateways_201_response_data.go model_post_checkout_com_gateways_201_response_data_attributes.go @@ -4577,8 +4639,6 @@ model_post_customer_payment_sources_201_response_data_attributes.go model_post_customer_payment_sources_201_response_data_relationships.go model_post_customer_payment_sources_201_response_data_relationships_payment_method.go model_post_customer_payment_sources_201_response_data_relationships_payment_method_data.go -model_post_customer_payment_sources_201_response_data_relationships_payment_source.go -model_post_customer_payment_sources_201_response_data_relationships_payment_source_data.go model_post_customer_subscriptions_201_response.go model_post_customer_subscriptions_201_response_data.go model_post_customer_subscriptions_201_response_data_attributes.go @@ -4718,6 +4778,8 @@ model_post_line_items_201_response_data_relationships_item.go model_post_line_items_201_response_data_relationships_item_data.go model_post_line_items_201_response_data_relationships_line_item_options.go model_post_line_items_201_response_data_relationships_line_item_options_data.go +model_post_line_items_201_response_data_relationships_notifications.go +model_post_line_items_201_response_data_relationships_notifications_data.go model_post_line_items_201_response_data_relationships_return_line_items.go model_post_line_items_201_response_data_relationships_return_line_items_data.go model_post_line_items_201_response_data_relationships_shipment.go @@ -4754,6 +4816,8 @@ model_post_markets_201_response_data_relationships_price_list.go model_post_markets_201_response_data_relationships_price_list_data.go model_post_markets_201_response_data_relationships_price_list_schedulers.go model_post_markets_201_response_data_relationships_price_list_schedulers_data.go +model_post_markets_201_response_data_relationships_stores.go +model_post_markets_201_response_data_relationships_stores_data.go model_post_markets_201_response_data_relationships_subscription_model.go model_post_markets_201_response_data_relationships_subscription_model_data.go model_post_markets_201_response_data_relationships_tax_calculator.go @@ -4762,6 +4826,12 @@ model_post_merchants_201_response.go model_post_merchants_201_response_data.go model_post_merchants_201_response_data_attributes.go model_post_merchants_201_response_data_relationships.go +model_post_notifications_201_response.go +model_post_notifications_201_response_data.go +model_post_notifications_201_response_data_attributes.go +model_post_notifications_201_response_data_relationships.go +model_post_notifications_201_response_data_relationships_notifiable.go +model_post_notifications_201_response_data_relationships_notifiable_data.go model_post_order_amount_promotion_rules_201_response.go model_post_order_amount_promotion_rules_201_response_data.go model_post_order_amount_promotion_rules_201_response_data_attributes.go @@ -4823,6 +4893,8 @@ model_post_orders_201_response_data_relationships_shipments.go model_post_orders_201_response_data_relationships_shipments_data.go model_post_orders_201_response_data_relationships_shipping_address.go model_post_orders_201_response_data_relationships_shipping_address_data.go +model_post_orders_201_response_data_relationships_store.go +model_post_orders_201_response_data_relationships_store_data.go model_post_orders_201_response_data_relationships_transactions.go model_post_orders_201_response_data_relationships_transactions_data.go model_post_packages_201_response.go @@ -5023,6 +5095,10 @@ model_post_stock_transfers_201_response_data_relationships_destination_stock_loc model_post_stock_transfers_201_response_data_relationships_destination_stock_location_data.go model_post_stock_transfers_201_response_data_relationships_origin_stock_location.go model_post_stock_transfers_201_response_data_relationships_origin_stock_location_data.go +model_post_stores_201_response.go +model_post_stores_201_response_data.go +model_post_stores_201_response_data_attributes.go +model_post_stores_201_response_data_relationships.go model_post_stripe_gateways_201_response.go model_post_stripe_gateways_201_response_data.go model_post_stripe_gateways_201_response_data_attributes.go @@ -5320,6 +5396,15 @@ model_stock_transfer_data_relationships.go model_stock_transfer_update.go model_stock_transfer_update_data.go model_stock_transfer_update_data_relationships.go +model_store.go +model_store_create.go +model_store_create_data.go +model_store_create_data_relationships.go +model_store_data.go +model_store_data_relationships.go +model_store_update.go +model_store_update_data.go +model_store_update_data_relationships.go model_stripe_gateway.go model_stripe_gateway_create.go model_stripe_gateway_create_data.go @@ -5403,130 +5488,4 @@ model_wire_transfer_data_relationships.go model_wire_transfer_update.go model_wire_transfer_update_data.go response.go -test/api_addresses_test.go -test/api_adjustments_test.go -test/api_adyen_gateways_test.go -test/api_adyen_payments_test.go -test/api_application_test.go -test/api_attachments_test.go -test/api_authorizations_test.go -test/api_avalara_accounts_test.go -test/api_axerve_gateways_test.go -test/api_axerve_payments_test.go -test/api_billing_info_validation_rules_test.go -test/api_bing_geocoders_test.go -test/api_braintree_gateways_test.go -test/api_braintree_payments_test.go -test/api_bundles_test.go -test/api_buy_x_pay_y_promotions_test.go -test/api_captures_test.go -test/api_carrier_accounts_test.go -test/api_checkout_com_gateways_test.go -test/api_checkout_com_payments_test.go -test/api_cleanups_test.go -test/api_coupon_codes_promotion_rules_test.go -test/api_coupon_recipients_test.go -test/api_coupons_test.go -test/api_custom_promotion_rules_test.go -test/api_customer_addresses_test.go -test/api_customer_groups_test.go -test/api_customer_password_resets_test.go -test/api_customer_payment_sources_test.go -test/api_customer_subscriptions_test.go -test/api_customers_test.go -test/api_delivery_lead_times_test.go -test/api_event_callbacks_test.go -test/api_events_test.go -test/api_exports_test.go -test/api_external_gateways_test.go -test/api_external_payments_test.go -test/api_external_promotions_test.go -test/api_external_tax_calculators_test.go -test/api_fixed_amount_promotions_test.go -test/api_fixed_price_promotions_test.go -test/api_flex_promotions_test.go -test/api_free_gift_promotions_test.go -test/api_free_shipping_promotions_test.go -test/api_geocoders_test.go -test/api_gift_card_recipients_test.go -test/api_gift_cards_test.go -test/api_google_geocoders_test.go -test/api_has_many_test.go -test/api_has_one_test.go -test/api_imports_test.go -test/api_in_stock_subscriptions_test.go -test/api_inventory_models_test.go -test/api_inventory_return_locations_test.go -test/api_inventory_stock_locations_test.go -test/api_klarna_gateways_test.go -test/api_klarna_payments_test.go -test/api_line_item_options_test.go -test/api_line_items_test.go -test/api_links_test.go -test/api_manual_gateways_test.go -test/api_manual_tax_calculators_test.go -test/api_markets_test.go -test/api_merchants_test.go -test/api_order_amount_promotion_rules_test.go -test/api_order_copies_test.go -test/api_order_factories_test.go -test/api_order_subscription_items_test.go -test/api_order_subscriptions_test.go -test/api_orders_test.go -test/api_organization_test.go -test/api_packages_test.go -test/api_parcel_line_items_test.go -test/api_parcels_test.go -test/api_payment_gateways_test.go -test/api_payment_methods_test.go -test/api_payment_options_test.go -test/api_paypal_gateways_test.go -test/api_paypal_payments_test.go -test/api_percentage_discount_promotions_test.go -test/api_price_frequency_tiers_test.go -test/api_price_list_schedulers_test.go -test/api_price_lists_test.go -test/api_price_tiers_test.go -test/api_price_volume_tiers_test.go -test/api_prices_test.go -test/api_promotion_rules_test.go -test/api_promotions_test.go -test/api_recurring_order_copies_test.go -test/api_refunds_test.go -test/api_reserved_stocks_test.go -test/api_resource_errors_test.go -test/api_return_line_items_test.go -test/api_returns_test.go -test/api_satispay_gateways_test.go -test/api_satispay_payments_test.go -test/api_shipments_test.go -test/api_shipping_categories_test.go -test/api_shipping_method_tiers_test.go -test/api_shipping_methods_test.go -test/api_shipping_weight_tiers_test.go -test/api_shipping_zones_test.go -test/api_singleton_test.go -test/api_sku_list_items_test.go -test/api_sku_list_promotion_rules_test.go -test/api_sku_lists_test.go -test/api_sku_options_test.go -test/api_skus_test.go -test/api_stock_items_test.go -test/api_stock_line_items_test.go -test/api_stock_locations_test.go -test/api_stock_reservations_test.go -test/api_stock_transfers_test.go -test/api_stripe_gateways_test.go -test/api_stripe_payments_test.go -test/api_subscription_models_test.go -test/api_tags_test.go -test/api_tax_calculators_test.go -test/api_tax_categories_test.go -test/api_tax_rules_test.go -test/api_taxjar_accounts_test.go -test/api_transactions_test.go -test/api_versions_test.go -test/api_voids_test.go -test/api_webhooks_test.go -test/api_wire_transfers_test.go utils.go diff --git a/api/README.md b/api/README.md index 2d514849e..0664bd3a5 100644 --- a/api/README.md +++ b/api/README.md @@ -5,7 +5,7 @@ Headless Commerce for Global Brands. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 7.3.1 +- API version: 7.6.1 - Package version: 1.0.0 - Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit [https://commercelayer.io](https://commercelayer.io) @@ -22,7 +22,7 @@ go get golang.org/x/net/context Put the package under your project folder and add the following in import: ```golang -import api "github.com/incentro-dc/go-commercelayer-sdk/api" +import api "github.com/labd/go-commercelayer-sdk/api" ``` To use a proxy, set the environment variable `HTTP_PROXY`: @@ -117,7 +117,6 @@ Class | Method | HTTP request | Description *AttachmentsApi* | [**GETAttachmentsAttachmentId**](docs/AttachmentsApi.md#getattachmentsattachmentid) | **Get** /attachments/{attachmentId} | Retrieve an attachment *AttachmentsApi* | [**GETAuthorizationIdAttachments**](docs/AttachmentsApi.md#getauthorizationidattachments) | **Get** /authorizations/{authorizationId}/attachments | Retrieve the attachments associated to the authorization *AttachmentsApi* | [**GETAvalaraAccountIdAttachments**](docs/AttachmentsApi.md#getavalaraaccountidattachments) | **Get** /avalara_accounts/{avalaraAccountId}/attachments | Retrieve the attachments associated to the avalara account -*AttachmentsApi* | [**GETBillingInfoValidationRuleIdAttachments**](docs/AttachmentsApi.md#getbillinginfovalidationruleidattachments) | **Get** /billing_info_validation_rules/{billingInfoValidationRuleId}/attachments | Retrieve the attachments associated to the billing info validation rule *AttachmentsApi* | [**GETBingGeocoderIdAttachments**](docs/AttachmentsApi.md#getbinggeocoderidattachments) | **Get** /bing_geocoders/{bingGeocoderId}/attachments | Retrieve the attachments associated to the bing geocoder *AttachmentsApi* | [**GETBundleIdAttachments**](docs/AttachmentsApi.md#getbundleidattachments) | **Get** /bundles/{bundleId}/attachments | Retrieve the attachments associated to the bundle *AttachmentsApi* | [**GETBuyXPayYPromotionIdAttachments**](docs/AttachmentsApi.md#getbuyxpayypromotionidattachments) | **Get** /buy_x_pay_y_promotions/{buyXPayYPromotionId}/attachments | Retrieve the attachments associated to the buy x pay y promotion @@ -198,11 +197,6 @@ Class | Method | HTTP request | Description *AxervePaymentsApi* | [**GETAxervePaymentsAxervePaymentId**](docs/AxervePaymentsApi.md#getaxervepaymentsaxervepaymentid) | **Get** /axerve_payments/{axervePaymentId} | Retrieve an axerve payment *AxervePaymentsApi* | [**PATCHAxervePaymentsAxervePaymentId**](docs/AxervePaymentsApi.md#patchaxervepaymentsaxervepaymentid) | **Patch** /axerve_payments/{axervePaymentId} | Update an axerve payment *AxervePaymentsApi* | [**POSTAxervePayments**](docs/AxervePaymentsApi.md#postaxervepayments) | **Post** /axerve_payments | Create an axerve payment -*BillingInfoValidationRulesApi* | [**DELETEBillingInfoValidationRulesBillingInfoValidationRuleId**](docs/BillingInfoValidationRulesApi.md#deletebillinginfovalidationrulesbillinginfovalidationruleid) | **Delete** /billing_info_validation_rules/{billingInfoValidationRuleId} | Delete a billing info validation rule -*BillingInfoValidationRulesApi* | [**GETBillingInfoValidationRules**](docs/BillingInfoValidationRulesApi.md#getbillinginfovalidationrules) | **Get** /billing_info_validation_rules | List all billing info validation rules -*BillingInfoValidationRulesApi* | [**GETBillingInfoValidationRulesBillingInfoValidationRuleId**](docs/BillingInfoValidationRulesApi.md#getbillinginfovalidationrulesbillinginfovalidationruleid) | **Get** /billing_info_validation_rules/{billingInfoValidationRuleId} | Retrieve a billing info validation rule -*BillingInfoValidationRulesApi* | [**PATCHBillingInfoValidationRulesBillingInfoValidationRuleId**](docs/BillingInfoValidationRulesApi.md#patchbillinginfovalidationrulesbillinginfovalidationruleid) | **Patch** /billing_info_validation_rules/{billingInfoValidationRuleId} | Update a billing info validation rule -*BillingInfoValidationRulesApi* | [**POSTBillingInfoValidationRules**](docs/BillingInfoValidationRulesApi.md#postbillinginfovalidationrules) | **Post** /billing_info_validation_rules | Create a billing info validation rule *BingGeocodersApi* | [**DELETEBingGeocodersBingGeocoderId**](docs/BingGeocodersApi.md#deletebinggeocodersbinggeocoderid) | **Delete** /bing_geocoders/{bingGeocoderId} | Delete a bing geocoder *BingGeocodersApi* | [**GETBingGeocoders**](docs/BingGeocodersApi.md#getbinggeocoders) | **Get** /bing_geocoders | List all bing geocoders *BingGeocodersApi* | [**GETBingGeocodersBingGeocoderId**](docs/BingGeocodersApi.md#getbinggeocodersbinggeocoderid) | **Get** /bing_geocoders/{bingGeocoderId} | Retrieve a bing geocoder @@ -417,6 +411,7 @@ Class | Method | HTTP request | Description *EventsApi* | [**GETSkuIdEvents**](docs/EventsApi.md#getskuidevents) | **Get** /skus/{skuId}/events | Retrieve the events associated to the SKU *EventsApi* | [**GETSkuOptionIdEvents**](docs/EventsApi.md#getskuoptionidevents) | **Get** /sku_options/{skuOptionId}/events | Retrieve the events associated to the SKU option *EventsApi* | [**GETStockTransferIdEvents**](docs/EventsApi.md#getstocktransferidevents) | **Get** /stock_transfers/{stockTransferId}/events | Retrieve the events associated to the stock transfer +*EventsApi* | [**GETStoreIdEvents**](docs/EventsApi.md#getstoreidevents) | **Get** /stores/{storeId}/events | Retrieve the events associated to the store *EventsApi* | [**GETTransactionIdEvents**](docs/EventsApi.md#gettransactionidevents) | **Get** /transactions/{transactionId}/events | Retrieve the events associated to the transaction *EventsApi* | [**GETVoidIdEvents**](docs/EventsApi.md#getvoididevents) | **Get** /voids/{voidId}/events | Retrieve the events associated to the void *EventsApi* | [**PATCHEventsEventId**](docs/EventsApi.md#patcheventseventid) | **Patch** /events/{eventId} | Update an event @@ -513,8 +508,6 @@ Class | Method | HTTP request | Description *HasManyApi* | [**GETAxerveGatewayIdPaymentMethods**](docs/HasManyApi.md#getaxervegatewayidpaymentmethods) | **Get** /axerve_gateways/{axerveGatewayId}/payment_methods | Retrieve the payment methods associated to the axerve gateway *HasManyApi* | [**GETAxerveGatewayIdVersions**](docs/HasManyApi.md#getaxervegatewayidversions) | **Get** /axerve_gateways/{axerveGatewayId}/versions | Retrieve the versions associated to the axerve gateway *HasManyApi* | [**GETAxervePaymentIdVersions**](docs/HasManyApi.md#getaxervepaymentidversions) | **Get** /axerve_payments/{axervePaymentId}/versions | Retrieve the versions associated to the axerve payment -*HasManyApi* | [**GETBillingInfoValidationRuleIdAttachments**](docs/HasManyApi.md#getbillinginfovalidationruleidattachments) | **Get** /billing_info_validation_rules/{billingInfoValidationRuleId}/attachments | Retrieve the attachments associated to the billing info validation rule -*HasManyApi* | [**GETBillingInfoValidationRuleIdVersions**](docs/HasManyApi.md#getbillinginfovalidationruleidversions) | **Get** /billing_info_validation_rules/{billingInfoValidationRuleId}/versions | Retrieve the versions associated to the billing info validation rule *HasManyApi* | [**GETBingGeocoderIdAddresses**](docs/HasManyApi.md#getbinggeocoderidaddresses) | **Get** /bing_geocoders/{bingGeocoderId}/addresses | Retrieve the addresses associated to the bing geocoder *HasManyApi* | [**GETBingGeocoderIdAttachments**](docs/HasManyApi.md#getbinggeocoderidattachments) | **Get** /bing_geocoders/{bingGeocoderId}/attachments | Retrieve the attachments associated to the bing geocoder *HasManyApi* | [**GETBingGeocoderIdMarkets**](docs/HasManyApi.md#getbinggeocoderidmarkets) | **Get** /bing_geocoders/{bingGeocoderId}/markets | Retrieve the markets associated to the bing geocoder @@ -646,6 +639,7 @@ Class | Method | HTTP request | Description *HasManyApi* | [**GETKlarnaPaymentIdVersions**](docs/HasManyApi.md#getklarnapaymentidversions) | **Get** /klarna_payments/{klarnaPaymentId}/versions | Retrieve the versions associated to the klarna payment *HasManyApi* | [**GETLineItemIdEvents**](docs/HasManyApi.md#getlineitemidevents) | **Get** /line_items/{lineItemId}/events | Retrieve the events associated to the line item *HasManyApi* | [**GETLineItemIdLineItemOptions**](docs/HasManyApi.md#getlineitemidlineitemoptions) | **Get** /line_items/{lineItemId}/line_item_options | Retrieve the line item options associated to the line item +*HasManyApi* | [**GETLineItemIdNotifications**](docs/HasManyApi.md#getlineitemidnotifications) | **Get** /line_items/{lineItemId}/notifications | Retrieve the notifications associated to the line item *HasManyApi* | [**GETLineItemIdReturnLineItems**](docs/HasManyApi.md#getlineitemidreturnlineitems) | **Get** /line_items/{lineItemId}/return_line_items | Retrieve the return line items associated to the line item *HasManyApi* | [**GETLineItemIdStockLineItems**](docs/HasManyApi.md#getlineitemidstocklineitems) | **Get** /line_items/{lineItemId}/stock_line_items | Retrieve the stock line items associated to the line item *HasManyApi* | [**GETLineItemIdStockReservations**](docs/HasManyApi.md#getlineitemidstockreservations) | **Get** /line_items/{lineItemId}/stock_reservations | Retrieve the stock reservations associated to the line item @@ -662,6 +656,7 @@ Class | Method | HTTP request | Description *HasManyApi* | [**GETManualTaxCalculatorIdVersions**](docs/HasManyApi.md#getmanualtaxcalculatoridversions) | **Get** /manual_tax_calculators/{manualTaxCalculatorId}/versions | Retrieve the versions associated to the manual tax calculator *HasManyApi* | [**GETMarketIdAttachments**](docs/HasManyApi.md#getmarketidattachments) | **Get** /markets/{marketId}/attachments | Retrieve the attachments associated to the market *HasManyApi* | [**GETMarketIdPriceListSchedulers**](docs/HasManyApi.md#getmarketidpricelistschedulers) | **Get** /markets/{marketId}/price_list_schedulers | Retrieve the price list schedulers associated to the market +*HasManyApi* | [**GETMarketIdStores**](docs/HasManyApi.md#getmarketidstores) | **Get** /markets/{marketId}/stores | Retrieve the stores associated to the market *HasManyApi* | [**GETMarketIdVersions**](docs/HasManyApi.md#getmarketidversions) | **Get** /markets/{marketId}/versions | Retrieve the versions associated to the market *HasManyApi* | [**GETMerchantIdAttachments**](docs/HasManyApi.md#getmerchantidattachments) | **Get** /merchants/{merchantId}/attachments | Retrieve the attachments associated to the merchant *HasManyApi* | [**GETMerchantIdVersions**](docs/HasManyApi.md#getmerchantidversions) | **Get** /merchants/{merchantId}/versions | Retrieve the versions associated to the merchant @@ -679,6 +674,7 @@ Class | Method | HTTP request | Description *HasManyApi* | [**GETOrderIdLineItemOptions**](docs/HasManyApi.md#getorderidlineitemoptions) | **Get** /orders/{orderId}/line_item_options | Retrieve the line item options associated to the order *HasManyApi* | [**GETOrderIdLineItems**](docs/HasManyApi.md#getorderidlineitems) | **Get** /orders/{orderId}/line_items | Retrieve the line items associated to the order *HasManyApi* | [**GETOrderIdLinks**](docs/HasManyApi.md#getorderidlinks) | **Get** /orders/{orderId}/links | Retrieve the links associated to the order +*HasManyApi* | [**GETOrderIdNotifications**](docs/HasManyApi.md#getorderidnotifications) | **Get** /orders/{orderId}/notifications | Retrieve the notifications associated to the order *HasManyApi* | [**GETOrderIdOrderCopies**](docs/HasManyApi.md#getorderidordercopies) | **Get** /orders/{orderId}/order_copies | Retrieve the order copies associated to the order *HasManyApi* | [**GETOrderIdOrderFactories**](docs/HasManyApi.md#getorderidorderfactories) | **Get** /orders/{orderId}/order_factories | Retrieve the order factories associated to the order *HasManyApi* | [**GETOrderIdOrderSubscriptions**](docs/HasManyApi.md#getorderidordersubscriptions) | **Get** /orders/{orderId}/order_subscriptions | Retrieve the order subscriptions associated to the order @@ -712,6 +708,7 @@ Class | Method | HTTP request | Description *HasManyApi* | [**GETPaymentGatewayIdPaymentMethods**](docs/HasManyApi.md#getpaymentgatewayidpaymentmethods) | **Get** /payment_gateways/{paymentGatewayId}/payment_methods | Retrieve the payment methods associated to the payment gateway *HasManyApi* | [**GETPaymentGatewayIdVersions**](docs/HasManyApi.md#getpaymentgatewayidversions) | **Get** /payment_gateways/{paymentGatewayId}/versions | Retrieve the versions associated to the payment gateway *HasManyApi* | [**GETPaymentMethodIdAttachments**](docs/HasManyApi.md#getpaymentmethodidattachments) | **Get** /payment_methods/{paymentMethodId}/attachments | Retrieve the attachments associated to the payment method +*HasManyApi* | [**GETPaymentMethodIdOrders**](docs/HasManyApi.md#getpaymentmethodidorders) | **Get** /payment_methods/{paymentMethodId}/orders | Retrieve the orders associated to the payment method *HasManyApi* | [**GETPaymentMethodIdVersions**](docs/HasManyApi.md#getpaymentmethodidversions) | **Get** /payment_methods/{paymentMethodId}/versions | Retrieve the versions associated to the payment method *HasManyApi* | [**GETPaymentOptionIdAttachments**](docs/HasManyApi.md#getpaymentoptionidattachments) | **Get** /payment_options/{paymentOptionId}/attachments | Retrieve the attachments associated to the payment option *HasManyApi* | [**GETPaypalGatewayIdPaymentMethods**](docs/HasManyApi.md#getpaypalgatewayidpaymentmethods) | **Get** /paypal_gateways/{paypalGatewayId}/payment_methods | Retrieve the payment methods associated to the paypal gateway @@ -826,10 +823,15 @@ Class | Method | HTTP request | Description *HasManyApi* | [**GETStockLocationIdInventoryStockLocations**](docs/HasManyApi.md#getstocklocationidinventorystocklocations) | **Get** /stock_locations/{stockLocationId}/inventory_stock_locations | Retrieve the inventory stock locations associated to the stock location *HasManyApi* | [**GETStockLocationIdStockItems**](docs/HasManyApi.md#getstocklocationidstockitems) | **Get** /stock_locations/{stockLocationId}/stock_items | Retrieve the stock items associated to the stock location *HasManyApi* | [**GETStockLocationIdStockTransfers**](docs/HasManyApi.md#getstocklocationidstocktransfers) | **Get** /stock_locations/{stockLocationId}/stock_transfers | Retrieve the stock transfers associated to the stock location +*HasManyApi* | [**GETStockLocationIdStores**](docs/HasManyApi.md#getstocklocationidstores) | **Get** /stock_locations/{stockLocationId}/stores | Retrieve the stores associated to the stock location *HasManyApi* | [**GETStockLocationIdVersions**](docs/HasManyApi.md#getstocklocationidversions) | **Get** /stock_locations/{stockLocationId}/versions | Retrieve the versions associated to the stock location *HasManyApi* | [**GETStockTransferIdAttachments**](docs/HasManyApi.md#getstocktransferidattachments) | **Get** /stock_transfers/{stockTransferId}/attachments | Retrieve the attachments associated to the stock transfer *HasManyApi* | [**GETStockTransferIdEvents**](docs/HasManyApi.md#getstocktransferidevents) | **Get** /stock_transfers/{stockTransferId}/events | Retrieve the events associated to the stock transfer *HasManyApi* | [**GETStockTransferIdVersions**](docs/HasManyApi.md#getstocktransferidversions) | **Get** /stock_transfers/{stockTransferId}/versions | Retrieve the versions associated to the stock transfer +*HasManyApi* | [**GETStoreIdEvents**](docs/HasManyApi.md#getstoreidevents) | **Get** /stores/{storeId}/events | Retrieve the events associated to the store +*HasManyApi* | [**GETStoreIdOrders**](docs/HasManyApi.md#getstoreidorders) | **Get** /stores/{storeId}/orders | Retrieve the orders associated to the store +*HasManyApi* | [**GETStoreIdPaymentMethods**](docs/HasManyApi.md#getstoreidpaymentmethods) | **Get** /stores/{storeId}/payment_methods | Retrieve the payment methods associated to the store +*HasManyApi* | [**GETStoreIdVersions**](docs/HasManyApi.md#getstoreidversions) | **Get** /stores/{storeId}/versions | Retrieve the versions associated to the store *HasManyApi* | [**GETStripeGatewayIdPaymentMethods**](docs/HasManyApi.md#getstripegatewayidpaymentmethods) | **Get** /stripe_gateways/{stripeGatewayId}/payment_methods | Retrieve the payment methods associated to the stripe gateway *HasManyApi* | [**GETStripeGatewayIdStripePayments**](docs/HasManyApi.md#getstripegatewayidstripepayments) | **Get** /stripe_gateways/{stripeGatewayId}/stripe_payments | Retrieve the stripe payments associated to the stripe gateway *HasManyApi* | [**GETStripeGatewayIdVersions**](docs/HasManyApi.md#getstripegatewayidversions) | **Get** /stripe_gateways/{stripeGatewayId}/versions | Retrieve the versions associated to the stripe gateway @@ -862,7 +864,6 @@ Class | Method | HTTP request | Description *HasOneApi* | [**GETAuthorizationIdOrder**](docs/HasOneApi.md#getauthorizationidorder) | **Get** /authorizations/{authorizationId}/order | Retrieve the order associated to the authorization *HasOneApi* | [**GETAxervePaymentIdOrder**](docs/HasOneApi.md#getaxervepaymentidorder) | **Get** /axerve_payments/{axervePaymentId}/order | Retrieve the order associated to the axerve payment *HasOneApi* | [**GETAxervePaymentIdPaymentGateway**](docs/HasOneApi.md#getaxervepaymentidpaymentgateway) | **Get** /axerve_payments/{axervePaymentId}/payment_gateway | Retrieve the payment gateway associated to the axerve payment -*HasOneApi* | [**GETBillingInfoValidationRuleIdMarket**](docs/HasOneApi.md#getbillinginfovalidationruleidmarket) | **Get** /billing_info_validation_rules/{billingInfoValidationRuleId}/market | Retrieve the market associated to the billing info validation rule *HasOneApi* | [**GETBraintreePaymentIdOrder**](docs/HasOneApi.md#getbraintreepaymentidorder) | **Get** /braintree_payments/{braintreePaymentId}/order | Retrieve the order associated to the braintree payment *HasOneApi* | [**GETBraintreePaymentIdPaymentGateway**](docs/HasOneApi.md#getbraintreepaymentidpaymentgateway) | **Get** /braintree_payments/{braintreePaymentId}/payment_gateway | Retrieve the payment gateway associated to the braintree payment *HasOneApi* | [**GETBundleIdMarket**](docs/HasOneApi.md#getbundleidmarket) | **Get** /bundles/{bundleId}/market | Retrieve the market associated to the bundle @@ -961,6 +962,7 @@ Class | Method | HTTP request | Description *HasOneApi* | [**GETOrderIdOrderSubscription**](docs/HasOneApi.md#getorderidordersubscription) | **Get** /orders/{orderId}/order_subscription | Retrieve the order subscription associated to the order *HasOneApi* | [**GETOrderIdPaymentMethod**](docs/HasOneApi.md#getorderidpaymentmethod) | **Get** /orders/{orderId}/payment_method | Retrieve the payment method associated to the order *HasOneApi* | [**GETOrderIdShippingAddress**](docs/HasOneApi.md#getorderidshippingaddress) | **Get** /orders/{orderId}/shipping_address | Retrieve the shipping address associated to the order +*HasOneApi* | [**GETOrderIdStore**](docs/HasOneApi.md#getorderidstore) | **Get** /orders/{orderId}/store | Retrieve the store associated to the order *HasOneApi* | [**GETOrderSubscriptionIdCustomer**](docs/HasOneApi.md#getordersubscriptionidcustomer) | **Get** /order_subscriptions/{orderSubscriptionId}/customer | Retrieve the customer associated to the order subscription *HasOneApi* | [**GETOrderSubscriptionIdCustomerPaymentSource**](docs/HasOneApi.md#getordersubscriptionidcustomerpaymentsource) | **Get** /order_subscriptions/{orderSubscriptionId}/customer_payment_source | Retrieve the customer payment source associated to the order subscription *HasOneApi* | [**GETOrderSubscriptionIdMarket**](docs/HasOneApi.md#getordersubscriptionidmarket) | **Get** /order_subscriptions/{orderSubscriptionId}/market | Retrieve the market associated to the order subscription @@ -975,6 +977,7 @@ Class | Method | HTTP request | Description *HasOneApi* | [**GETParcelLineItemIdStockLineItem**](docs/HasOneApi.md#getparcellineitemidstocklineitem) | **Get** /parcel_line_items/{parcelLineItemId}/stock_line_item | Retrieve the stock line item associated to the parcel line item *HasOneApi* | [**GETPaymentMethodIdMarket**](docs/HasOneApi.md#getpaymentmethodidmarket) | **Get** /payment_methods/{paymentMethodId}/market | Retrieve the market associated to the payment method *HasOneApi* | [**GETPaymentMethodIdPaymentGateway**](docs/HasOneApi.md#getpaymentmethodidpaymentgateway) | **Get** /payment_methods/{paymentMethodId}/payment_gateway | Retrieve the payment gateway associated to the payment method +*HasOneApi* | [**GETPaymentMethodIdStore**](docs/HasOneApi.md#getpaymentmethodidstore) | **Get** /payment_methods/{paymentMethodId}/store | Retrieve the store associated to the payment method *HasOneApi* | [**GETPaymentOptionIdOrder**](docs/HasOneApi.md#getpaymentoptionidorder) | **Get** /payment_options/{paymentOptionId}/order | Retrieve the order associated to the payment option *HasOneApi* | [**GETPaypalPaymentIdOrder**](docs/HasOneApi.md#getpaypalpaymentidorder) | **Get** /paypal_payments/{paypalPaymentId}/order | Retrieve the order associated to the paypal payment *HasOneApi* | [**GETPaypalPaymentIdPaymentGateway**](docs/HasOneApi.md#getpaypalpaymentidpaymentgateway) | **Get** /paypal_payments/{paypalPaymentId}/payment_gateway | Retrieve the payment gateway associated to the paypal payment @@ -1061,6 +1064,9 @@ Class | Method | HTTP request | Description *HasOneApi* | [**GETStockTransferIdShipment**](docs/HasOneApi.md#getstocktransferidshipment) | **Get** /stock_transfers/{stockTransferId}/shipment | Retrieve the shipment associated to the stock transfer *HasOneApi* | [**GETStockTransferIdSku**](docs/HasOneApi.md#getstocktransferidsku) | **Get** /stock_transfers/{stockTransferId}/sku | Retrieve the sku associated to the stock transfer *HasOneApi* | [**GETStockTransferIdStockReservation**](docs/HasOneApi.md#getstocktransferidstockreservation) | **Get** /stock_transfers/{stockTransferId}/stock_reservation | Retrieve the stock reservation associated to the stock transfer +*HasOneApi* | [**GETStoreIdMarket**](docs/HasOneApi.md#getstoreidmarket) | **Get** /stores/{storeId}/market | Retrieve the market associated to the store +*HasOneApi* | [**GETStoreIdMerchant**](docs/HasOneApi.md#getstoreidmerchant) | **Get** /stores/{storeId}/merchant | Retrieve the merchant associated to the store +*HasOneApi* | [**GETStoreIdStockLocation**](docs/HasOneApi.md#getstoreidstocklocation) | **Get** /stores/{storeId}/stock_location | Retrieve the stock location associated to the store *HasOneApi* | [**GETStripePaymentIdOrder**](docs/HasOneApi.md#getstripepaymentidorder) | **Get** /stripe_payments/{stripePaymentId}/order | Retrieve the order associated to the stripe payment *HasOneApi* | [**GETStripePaymentIdPaymentGateway**](docs/HasOneApi.md#getstripepaymentidpaymentgateway) | **Get** /stripe_payments/{stripePaymentId}/payment_gateway | Retrieve the payment gateway associated to the stripe payment *HasOneApi* | [**GETTaxCategoryIdSku**](docs/HasOneApi.md#gettaxcategoryidsku) | **Get** /tax_categories/{taxCategoryId}/sku | Retrieve the sku associated to the tax category @@ -1154,7 +1160,6 @@ Class | Method | HTTP request | Description *ManualTaxCalculatorsApi* | [**POSTManualTaxCalculators**](docs/ManualTaxCalculatorsApi.md#postmanualtaxcalculators) | **Post** /manual_tax_calculators | Create a manual tax calculator *MarketsApi* | [**DELETEMarketsMarketId**](docs/MarketsApi.md#deletemarketsmarketid) | **Delete** /markets/{marketId} | Delete a market *MarketsApi* | [**GETAvalaraAccountIdMarkets**](docs/MarketsApi.md#getavalaraaccountidmarkets) | **Get** /avalara_accounts/{avalaraAccountId}/markets | Retrieve the markets associated to the avalara account -*MarketsApi* | [**GETBillingInfoValidationRuleIdMarket**](docs/MarketsApi.md#getbillinginfovalidationruleidmarket) | **Get** /billing_info_validation_rules/{billingInfoValidationRuleId}/market | Retrieve the market associated to the billing info validation rule *MarketsApi* | [**GETBingGeocoderIdMarkets**](docs/MarketsApi.md#getbinggeocoderidmarkets) | **Get** /bing_geocoders/{bingGeocoderId}/markets | Retrieve the markets associated to the bing geocoder *MarketsApi* | [**GETBundleIdMarket**](docs/MarketsApi.md#getbundleidmarket) | **Get** /bundles/{bundleId}/market | Retrieve the market associated to the bundle *MarketsApi* | [**GETBuyXPayYPromotionIdMarket**](docs/MarketsApi.md#getbuyxpayypromotionidmarket) | **Get** /buy_x_pay_y_promotions/{buyXPayYPromotionId}/market | Retrieve the market associated to the buy x pay y promotion @@ -1183,6 +1188,7 @@ Class | Method | HTTP request | Description *MarketsApi* | [**GETShippingMethodIdMarket**](docs/MarketsApi.md#getshippingmethodidmarket) | **Get** /shipping_methods/{shippingMethodId}/market | Retrieve the market associated to the shipping method *MarketsApi* | [**GETSkuIdJwtMarkets**](docs/MarketsApi.md#getskuidjwtmarkets) | **Get** /skus/{skuId}/jwt_markets | Retrieve the jwt markets associated to the SKU *MarketsApi* | [**GETSkuOptionIdMarket**](docs/MarketsApi.md#getskuoptionidmarket) | **Get** /sku_options/{skuOptionId}/market | Retrieve the market associated to the SKU option +*MarketsApi* | [**GETStoreIdMarket**](docs/MarketsApi.md#getstoreidmarket) | **Get** /stores/{storeId}/market | Retrieve the market associated to the store *MarketsApi* | [**GETSubscriptionModelIdMarkets**](docs/MarketsApi.md#getsubscriptionmodelidmarkets) | **Get** /subscription_models/{subscriptionModelId}/markets | Retrieve the markets associated to the subscription model *MarketsApi* | [**GETTaxCalculatorIdMarkets**](docs/MarketsApi.md#gettaxcalculatoridmarkets) | **Get** /tax_calculators/{taxCalculatorId}/markets | Retrieve the markets associated to the tax calculator *MarketsApi* | [**GETTaxjarAccountIdMarkets**](docs/MarketsApi.md#gettaxjaraccountidmarkets) | **Get** /taxjar_accounts/{taxjarAccountId}/markets | Retrieve the markets associated to the taxjar account @@ -1192,8 +1198,16 @@ Class | Method | HTTP request | Description *MerchantsApi* | [**GETMarketIdMerchant**](docs/MerchantsApi.md#getmarketidmerchant) | **Get** /markets/{marketId}/merchant | Retrieve the merchant associated to the market *MerchantsApi* | [**GETMerchants**](docs/MerchantsApi.md#getmerchants) | **Get** /merchants | List all merchants *MerchantsApi* | [**GETMerchantsMerchantId**](docs/MerchantsApi.md#getmerchantsmerchantid) | **Get** /merchants/{merchantId} | Retrieve a merchant +*MerchantsApi* | [**GETStoreIdMerchant**](docs/MerchantsApi.md#getstoreidmerchant) | **Get** /stores/{storeId}/merchant | Retrieve the merchant associated to the store *MerchantsApi* | [**PATCHMerchantsMerchantId**](docs/MerchantsApi.md#patchmerchantsmerchantid) | **Patch** /merchants/{merchantId} | Update a merchant *MerchantsApi* | [**POSTMerchants**](docs/MerchantsApi.md#postmerchants) | **Post** /merchants | Create a merchant +*NotificationsApi* | [**DELETENotificationsNotificationId**](docs/NotificationsApi.md#deletenotificationsnotificationid) | **Delete** /notifications/{notificationId} | Delete a notification +*NotificationsApi* | [**GETLineItemIdNotifications**](docs/NotificationsApi.md#getlineitemidnotifications) | **Get** /line_items/{lineItemId}/notifications | Retrieve the notifications associated to the line item +*NotificationsApi* | [**GETNotifications**](docs/NotificationsApi.md#getnotifications) | **Get** /notifications | List all notifications +*NotificationsApi* | [**GETNotificationsNotificationId**](docs/NotificationsApi.md#getnotificationsnotificationid) | **Get** /notifications/{notificationId} | Retrieve a notification +*NotificationsApi* | [**GETOrderIdNotifications**](docs/NotificationsApi.md#getorderidnotifications) | **Get** /orders/{orderId}/notifications | Retrieve the notifications associated to the order +*NotificationsApi* | [**PATCHNotificationsNotificationId**](docs/NotificationsApi.md#patchnotificationsnotificationid) | **Patch** /notifications/{notificationId} | Update a notification +*NotificationsApi* | [**POSTNotifications**](docs/NotificationsApi.md#postnotifications) | **Post** /notifications | Create a notification *OrderAmountPromotionRulesApi* | [**DELETEOrderAmountPromotionRulesOrderAmountPromotionRuleId**](docs/OrderAmountPromotionRulesApi.md#deleteorderamountpromotionrulesorderamountpromotionruleid) | **Delete** /order_amount_promotion_rules/{orderAmountPromotionRuleId} | Delete an order amount promotion rule *OrderAmountPromotionRulesApi* | [**GETBuyXPayYPromotionIdOrderAmountPromotionRule**](docs/OrderAmountPromotionRulesApi.md#getbuyxpayypromotionidorderamountpromotionrule) | **Get** /buy_x_pay_y_promotions/{buyXPayYPromotionId}/order_amount_promotion_rule | Retrieve the order amount promotion rule associated to the buy x pay y promotion *OrderAmountPromotionRulesApi* | [**GETExternalPromotionIdOrderAmountPromotionRule**](docs/OrderAmountPromotionRulesApi.md#getexternalpromotionidorderamountpromotionrule) | **Get** /external_promotions/{externalPromotionId}/order_amount_promotion_rule | Retrieve the order amount promotion rule associated to the external promotion @@ -1254,6 +1268,7 @@ Class | Method | HTTP request | Description *OrdersApi* | [**GETOrderSubscriptionIdSourceOrder**](docs/OrdersApi.md#getordersubscriptionidsourceorder) | **Get** /order_subscriptions/{orderSubscriptionId}/source_order | Retrieve the source order associated to the order subscription *OrdersApi* | [**GETOrders**](docs/OrdersApi.md#getorders) | **Get** /orders | List all orders *OrdersApi* | [**GETOrdersOrderId**](docs/OrdersApi.md#getordersorderid) | **Get** /orders/{orderId} | Retrieve an order +*OrdersApi* | [**GETPaymentMethodIdOrders**](docs/OrdersApi.md#getpaymentmethodidorders) | **Get** /payment_methods/{paymentMethodId}/orders | Retrieve the orders associated to the payment method *OrdersApi* | [**GETPaymentOptionIdOrder**](docs/OrdersApi.md#getpaymentoptionidorder) | **Get** /payment_options/{paymentOptionId}/order | Retrieve the order associated to the payment option *OrdersApi* | [**GETPaypalPaymentIdOrder**](docs/OrdersApi.md#getpaypalpaymentidorder) | **Get** /paypal_payments/{paypalPaymentId}/order | Retrieve the order associated to the paypal payment *OrdersApi* | [**GETRecurringOrderCopyIdSourceOrder**](docs/OrdersApi.md#getrecurringordercopyidsourceorder) | **Get** /recurring_order_copies/{recurringOrderCopyId}/source_order | Retrieve the source order associated to the recurring order copy @@ -1263,6 +1278,7 @@ Class | Method | HTTP request | Description *OrdersApi* | [**GETSatispayPaymentIdOrder**](docs/OrdersApi.md#getsatispaypaymentidorder) | **Get** /satispay_payments/{satispayPaymentId}/order | Retrieve the order associated to the satispay payment *OrdersApi* | [**GETShipmentIdOrder**](docs/OrdersApi.md#getshipmentidorder) | **Get** /shipments/{shipmentId}/order | Retrieve the order associated to the shipment *OrdersApi* | [**GETStockReservationIdOrder**](docs/OrdersApi.md#getstockreservationidorder) | **Get** /stock_reservations/{stockReservationId}/order | Retrieve the order associated to the stock reservation +*OrdersApi* | [**GETStoreIdOrders**](docs/OrdersApi.md#getstoreidorders) | **Get** /stores/{storeId}/orders | Retrieve the orders associated to the store *OrdersApi* | [**GETStripePaymentIdOrder**](docs/OrdersApi.md#getstripepaymentidorder) | **Get** /stripe_payments/{stripePaymentId}/order | Retrieve the order associated to the stripe payment *OrdersApi* | [**GETTransactionIdOrder**](docs/OrdersApi.md#gettransactionidorder) | **Get** /transactions/{transactionId}/order | Retrieve the order associated to the transaction *OrdersApi* | [**GETVoidIdOrder**](docs/OrdersApi.md#getvoididorder) | **Get** /voids/{voidId}/order | Retrieve the order associated to the void @@ -1318,6 +1334,7 @@ Class | Method | HTTP request | Description *PaymentMethodsApi* | [**GETPaymentMethodsPaymentMethodId**](docs/PaymentMethodsApi.md#getpaymentmethodspaymentmethodid) | **Get** /payment_methods/{paymentMethodId} | Retrieve a payment method *PaymentMethodsApi* | [**GETPaypalGatewayIdPaymentMethods**](docs/PaymentMethodsApi.md#getpaypalgatewayidpaymentmethods) | **Get** /paypal_gateways/{paypalGatewayId}/payment_methods | Retrieve the payment methods associated to the paypal gateway *PaymentMethodsApi* | [**GETSatispayGatewayIdPaymentMethods**](docs/PaymentMethodsApi.md#getsatispaygatewayidpaymentmethods) | **Get** /satispay_gateways/{satispayGatewayId}/payment_methods | Retrieve the payment methods associated to the satispay gateway +*PaymentMethodsApi* | [**GETStoreIdPaymentMethods**](docs/PaymentMethodsApi.md#getstoreidpaymentmethods) | **Get** /stores/{storeId}/payment_methods | Retrieve the payment methods associated to the store *PaymentMethodsApi* | [**GETStripeGatewayIdPaymentMethods**](docs/PaymentMethodsApi.md#getstripegatewayidpaymentmethods) | **Get** /stripe_gateways/{stripeGatewayId}/payment_methods | Retrieve the payment methods associated to the stripe gateway *PaymentMethodsApi* | [**PATCHPaymentMethodsPaymentMethodId**](docs/PaymentMethodsApi.md#patchpaymentmethodspaymentmethodid) | **Patch** /payment_methods/{paymentMethodId} | Update a payment method *PaymentMethodsApi* | [**POSTPaymentMethods**](docs/PaymentMethodsApi.md#postpaymentmethods) | **Post** /payment_methods | Create a payment method @@ -1586,6 +1603,7 @@ Class | Method | HTTP request | Description *StockLocationsApi* | [**GETStockLocationsStockLocationId**](docs/StockLocationsApi.md#getstocklocationsstocklocationid) | **Get** /stock_locations/{stockLocationId} | Retrieve a stock location *StockLocationsApi* | [**GETStockTransferIdDestinationStockLocation**](docs/StockLocationsApi.md#getstocktransferiddestinationstocklocation) | **Get** /stock_transfers/{stockTransferId}/destination_stock_location | Retrieve the destination stock location associated to the stock transfer *StockLocationsApi* | [**GETStockTransferIdOriginStockLocation**](docs/StockLocationsApi.md#getstocktransferidoriginstocklocation) | **Get** /stock_transfers/{stockTransferId}/origin_stock_location | Retrieve the origin stock location associated to the stock transfer +*StockLocationsApi* | [**GETStoreIdStockLocation**](docs/StockLocationsApi.md#getstoreidstocklocation) | **Get** /stores/{storeId}/stock_location | Retrieve the stock location associated to the store *StockLocationsApi* | [**PATCHStockLocationsStockLocationId**](docs/StockLocationsApi.md#patchstocklocationsstocklocationid) | **Patch** /stock_locations/{stockLocationId} | Update a stock location *StockLocationsApi* | [**POSTStockLocations**](docs/StockLocationsApi.md#poststocklocations) | **Post** /stock_locations | Create a stock location *StockReservationsApi* | [**DELETEStockReservationsStockReservationId**](docs/StockReservationsApi.md#deletestockreservationsstockreservationid) | **Delete** /stock_reservations/{stockReservationId} | Delete a stock reservation @@ -1610,6 +1628,15 @@ Class | Method | HTTP request | Description *StockTransfersApi* | [**GETStockTransfersStockTransferId**](docs/StockTransfersApi.md#getstocktransfersstocktransferid) | **Get** /stock_transfers/{stockTransferId} | Retrieve a stock transfer *StockTransfersApi* | [**PATCHStockTransfersStockTransferId**](docs/StockTransfersApi.md#patchstocktransfersstocktransferid) | **Patch** /stock_transfers/{stockTransferId} | Update a stock transfer *StockTransfersApi* | [**POSTStockTransfers**](docs/StockTransfersApi.md#poststocktransfers) | **Post** /stock_transfers | Create a stock transfer +*StoresApi* | [**DELETEStoresStoreId**](docs/StoresApi.md#deletestoresstoreid) | **Delete** /stores/{storeId} | Delete a store +*StoresApi* | [**GETMarketIdStores**](docs/StoresApi.md#getmarketidstores) | **Get** /markets/{marketId}/stores | Retrieve the stores associated to the market +*StoresApi* | [**GETOrderIdStore**](docs/StoresApi.md#getorderidstore) | **Get** /orders/{orderId}/store | Retrieve the store associated to the order +*StoresApi* | [**GETPaymentMethodIdStore**](docs/StoresApi.md#getpaymentmethodidstore) | **Get** /payment_methods/{paymentMethodId}/store | Retrieve the store associated to the payment method +*StoresApi* | [**GETStockLocationIdStores**](docs/StoresApi.md#getstocklocationidstores) | **Get** /stock_locations/{stockLocationId}/stores | Retrieve the stores associated to the stock location +*StoresApi* | [**GETStores**](docs/StoresApi.md#getstores) | **Get** /stores | List all stores +*StoresApi* | [**GETStoresStoreId**](docs/StoresApi.md#getstoresstoreid) | **Get** /stores/{storeId} | Retrieve a store +*StoresApi* | [**PATCHStoresStoreId**](docs/StoresApi.md#patchstoresstoreid) | **Patch** /stores/{storeId} | Update a store +*StoresApi* | [**POSTStores**](docs/StoresApi.md#poststores) | **Post** /stores | Create a store *StripeGatewaysApi* | [**DELETEStripeGatewaysStripeGatewayId**](docs/StripeGatewaysApi.md#deletestripegatewaysstripegatewayid) | **Delete** /stripe_gateways/{stripeGatewayId} | Delete a stripe gateway *StripeGatewaysApi* | [**GETStripeGateways**](docs/StripeGatewaysApi.md#getstripegateways) | **Get** /stripe_gateways | List all stripe gateways *StripeGatewaysApi* | [**GETStripeGatewaysStripeGatewayId**](docs/StripeGatewaysApi.md#getstripegatewaysstripegatewayid) | **Get** /stripe_gateways/{stripeGatewayId} | Retrieve a stripe gateway @@ -1686,7 +1713,6 @@ Class | Method | HTTP request | Description *VersionsApi* | [**GETAvalaraAccountIdVersions**](docs/VersionsApi.md#getavalaraaccountidversions) | **Get** /avalara_accounts/{avalaraAccountId}/versions | Retrieve the versions associated to the avalara account *VersionsApi* | [**GETAxerveGatewayIdVersions**](docs/VersionsApi.md#getaxervegatewayidversions) | **Get** /axerve_gateways/{axerveGatewayId}/versions | Retrieve the versions associated to the axerve gateway *VersionsApi* | [**GETAxervePaymentIdVersions**](docs/VersionsApi.md#getaxervepaymentidversions) | **Get** /axerve_payments/{axervePaymentId}/versions | Retrieve the versions associated to the axerve payment -*VersionsApi* | [**GETBillingInfoValidationRuleIdVersions**](docs/VersionsApi.md#getbillinginfovalidationruleidversions) | **Get** /billing_info_validation_rules/{billingInfoValidationRuleId}/versions | Retrieve the versions associated to the billing info validation rule *VersionsApi* | [**GETBraintreeGatewayIdVersions**](docs/VersionsApi.md#getbraintreegatewayidversions) | **Get** /braintree_gateways/{braintreeGatewayId}/versions | Retrieve the versions associated to the braintree gateway *VersionsApi* | [**GETBraintreePaymentIdVersions**](docs/VersionsApi.md#getbraintreepaymentidversions) | **Get** /braintree_payments/{braintreePaymentId}/versions | Retrieve the versions associated to the braintree payment *VersionsApi* | [**GETBundleIdVersions**](docs/VersionsApi.md#getbundleidversions) | **Get** /bundles/{bundleId}/versions | Retrieve the versions associated to the bundle @@ -1765,6 +1791,7 @@ Class | Method | HTTP request | Description *VersionsApi* | [**GETStockLineItemIdVersions**](docs/VersionsApi.md#getstocklineitemidversions) | **Get** /stock_line_items/{stockLineItemId}/versions | Retrieve the versions associated to the stock line item *VersionsApi* | [**GETStockLocationIdVersions**](docs/VersionsApi.md#getstocklocationidversions) | **Get** /stock_locations/{stockLocationId}/versions | Retrieve the versions associated to the stock location *VersionsApi* | [**GETStockTransferIdVersions**](docs/VersionsApi.md#getstocktransferidversions) | **Get** /stock_transfers/{stockTransferId}/versions | Retrieve the versions associated to the stock transfer +*VersionsApi* | [**GETStoreIdVersions**](docs/VersionsApi.md#getstoreidversions) | **Get** /stores/{storeId}/versions | Retrieve the versions associated to the store *VersionsApi* | [**GETStripeGatewayIdVersions**](docs/VersionsApi.md#getstripegatewayidversions) | **Get** /stripe_gateways/{stripeGatewayId}/versions | Retrieve the versions associated to the stripe gateway *VersionsApi* | [**GETStripePaymentIdVersions**](docs/VersionsApi.md#getstripepaymentidversions) | **Get** /stripe_payments/{stripePaymentId}/versions | Retrieve the versions associated to the stripe payment *VersionsApi* | [**GETTaxCalculatorIdVersions**](docs/VersionsApi.md#gettaxcalculatoridversions) | **Get** /tax_calculators/{taxCalculatorId}/versions | Retrieve the versions associated to the tax calculator @@ -1871,6 +1898,8 @@ Class | Method | HTTP request | Description - [AuthorizationDataRelationshipsAttachmentsData](docs/AuthorizationDataRelationshipsAttachmentsData.md) - [AuthorizationDataRelationshipsCaptures](docs/AuthorizationDataRelationshipsCaptures.md) - [AuthorizationDataRelationshipsCapturesData](docs/AuthorizationDataRelationshipsCapturesData.md) + - [AuthorizationDataRelationshipsPaymentSource](docs/AuthorizationDataRelationshipsPaymentSource.md) + - [AuthorizationDataRelationshipsPaymentSourceData](docs/AuthorizationDataRelationshipsPaymentSourceData.md) - [AuthorizationDataRelationshipsVoids](docs/AuthorizationDataRelationshipsVoids.md) - [AuthorizationDataRelationshipsVoidsData](docs/AuthorizationDataRelationshipsVoidsData.md) - [AuthorizationUpdate](docs/AuthorizationUpdate.md) @@ -1905,16 +1934,6 @@ Class | Method | HTTP request | Description - [AxervePaymentData](docs/AxervePaymentData.md) - [AxervePaymentUpdate](docs/AxervePaymentUpdate.md) - [AxervePaymentUpdateData](docs/AxervePaymentUpdateData.md) - - [BillingInfoValidationRule](docs/BillingInfoValidationRule.md) - - [BillingInfoValidationRuleCreate](docs/BillingInfoValidationRuleCreate.md) - - [BillingInfoValidationRuleCreateData](docs/BillingInfoValidationRuleCreateData.md) - - [BillingInfoValidationRuleCreateDataRelationships](docs/BillingInfoValidationRuleCreateDataRelationships.md) - - [BillingInfoValidationRuleCreateDataRelationshipsMarket](docs/BillingInfoValidationRuleCreateDataRelationshipsMarket.md) - - [BillingInfoValidationRuleData](docs/BillingInfoValidationRuleData.md) - - [BillingInfoValidationRuleDataRelationships](docs/BillingInfoValidationRuleDataRelationships.md) - - [BillingInfoValidationRuleUpdate](docs/BillingInfoValidationRuleUpdate.md) - - [BillingInfoValidationRuleUpdateData](docs/BillingInfoValidationRuleUpdateData.md) - - [BillingInfoValidationRuleUpdateDataRelationships](docs/BillingInfoValidationRuleUpdateDataRelationships.md) - [BingGeocoder](docs/BingGeocoder.md) - [BingGeocoderCreate](docs/BingGeocoderCreate.md) - [BingGeocoderCreateData](docs/BingGeocoderCreateData.md) @@ -1945,6 +1964,7 @@ Class | Method | HTTP request | Description - [BundleCreate](docs/BundleCreate.md) - [BundleCreateData](docs/BundleCreateData.md) - [BundleCreateDataRelationships](docs/BundleCreateDataRelationships.md) + - [BundleCreateDataRelationshipsMarket](docs/BundleCreateDataRelationshipsMarket.md) - [BundleCreateDataRelationshipsSkuList](docs/BundleCreateDataRelationshipsSkuList.md) - [BundleData](docs/BundleData.md) - [BundleDataRelationships](docs/BundleDataRelationships.md) @@ -1994,7 +2014,9 @@ Class | Method | HTTP request | Description - [CarrierAccount](docs/CarrierAccount.md) - [CarrierAccountCreate](docs/CarrierAccountCreate.md) - [CarrierAccountCreateData](docs/CarrierAccountCreateData.md) + - [CarrierAccountCreateDataRelationships](docs/CarrierAccountCreateDataRelationships.md) - [CarrierAccountData](docs/CarrierAccountData.md) + - [CarrierAccountDataRelationships](docs/CarrierAccountDataRelationships.md) - [CarrierAccountUpdate](docs/CarrierAccountUpdate.md) - [CarrierAccountUpdateData](docs/CarrierAccountUpdateData.md) - [CheckoutComGateway](docs/CheckoutComGateway.md) @@ -2115,8 +2137,6 @@ Class | Method | HTTP request | Description - [CustomerPaymentSourceCreateDataRelationshipsPaymentSource](docs/CustomerPaymentSourceCreateDataRelationshipsPaymentSource.md) - [CustomerPaymentSourceData](docs/CustomerPaymentSourceData.md) - [CustomerPaymentSourceDataRelationships](docs/CustomerPaymentSourceDataRelationships.md) - - [CustomerPaymentSourceDataRelationshipsPaymentSource](docs/CustomerPaymentSourceDataRelationshipsPaymentSource.md) - - [CustomerPaymentSourceDataRelationshipsPaymentSourceData](docs/CustomerPaymentSourceDataRelationshipsPaymentSourceData.md) - [CustomerPaymentSourceUpdate](docs/CustomerPaymentSourceUpdate.md) - [CustomerPaymentSourceUpdateData](docs/CustomerPaymentSourceUpdateData.md) - [CustomerPaymentSourceUpdateDataRelationships](docs/CustomerPaymentSourceUpdateDataRelationships.md) @@ -2257,6 +2277,8 @@ Class | Method | HTTP request | Description - [GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachmentsData](docs/GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachmentsData.md) - [GETAuthorizationsAuthorizationId200ResponseDataRelationshipsCaptures](docs/GETAuthorizationsAuthorizationId200ResponseDataRelationshipsCaptures.md) - [GETAuthorizationsAuthorizationId200ResponseDataRelationshipsCapturesData](docs/GETAuthorizationsAuthorizationId200ResponseDataRelationshipsCapturesData.md) + - [GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource](docs/GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource.md) + - [GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData](docs/GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData.md) - [GETAuthorizationsAuthorizationId200ResponseDataRelationshipsVoids](docs/GETAuthorizationsAuthorizationId200ResponseDataRelationshipsVoids.md) - [GETAuthorizationsAuthorizationId200ResponseDataRelationshipsVoidsData](docs/GETAuthorizationsAuthorizationId200ResponseDataRelationshipsVoidsData.md) - [GETAvalaraAccounts200Response](docs/GETAvalaraAccounts200Response.md) @@ -2271,10 +2293,6 @@ Class | Method | HTTP request | Description - [GETAxervePaymentsAxervePaymentId200Response](docs/GETAxervePaymentsAxervePaymentId200Response.md) - [GETAxervePaymentsAxervePaymentId200ResponseData](docs/GETAxervePaymentsAxervePaymentId200ResponseData.md) - [GETAxervePaymentsAxervePaymentId200ResponseDataAttributes](docs/GETAxervePaymentsAxervePaymentId200ResponseDataAttributes.md) - - [GETBillingInfoValidationRules200Response](docs/GETBillingInfoValidationRules200Response.md) - - [GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response](docs/GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response.md) - - [GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData](docs/GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData.md) - - [GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes](docs/GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md) - [GETBingGeocoders200Response](docs/GETBingGeocoders200Response.md) - [GETBingGeocodersBingGeocoderId200Response](docs/GETBingGeocodersBingGeocoderId200Response.md) - [GETBingGeocodersBingGeocoderId200ResponseData](docs/GETBingGeocodersBingGeocoderId200ResponseData.md) @@ -2490,6 +2508,10 @@ Class | Method | HTTP request | Description - [GETMerchantsMerchantId200Response](docs/GETMerchantsMerchantId200Response.md) - [GETMerchantsMerchantId200ResponseData](docs/GETMerchantsMerchantId200ResponseData.md) - [GETMerchantsMerchantId200ResponseDataAttributes](docs/GETMerchantsMerchantId200ResponseDataAttributes.md) + - [GETNotifications200Response](docs/GETNotifications200Response.md) + - [GETNotificationsNotificationId200Response](docs/GETNotificationsNotificationId200Response.md) + - [GETNotificationsNotificationId200ResponseData](docs/GETNotificationsNotificationId200ResponseData.md) + - [GETNotificationsNotificationId200ResponseDataAttributes](docs/GETNotificationsNotificationId200ResponseDataAttributes.md) - [GETOrderAmountPromotionRules200Response](docs/GETOrderAmountPromotionRules200Response.md) - [GETOrderAmountPromotionRulesOrderAmountPromotionRuleId200Response](docs/GETOrderAmountPromotionRulesOrderAmountPromotionRuleId200Response.md) - [GETOrderAmountPromotionRulesOrderAmountPromotionRuleId200ResponseData](docs/GETOrderAmountPromotionRulesOrderAmountPromotionRuleId200ResponseData.md) @@ -2687,6 +2709,10 @@ Class | Method | HTTP request | Description - [GETStockTransfersStockTransferId200Response](docs/GETStockTransfersStockTransferId200Response.md) - [GETStockTransfersStockTransferId200ResponseData](docs/GETStockTransfersStockTransferId200ResponseData.md) - [GETStockTransfersStockTransferId200ResponseDataAttributes](docs/GETStockTransfersStockTransferId200ResponseDataAttributes.md) + - [GETStores200Response](docs/GETStores200Response.md) + - [GETStoresStoreId200Response](docs/GETStoresStoreId200Response.md) + - [GETStoresStoreId200ResponseData](docs/GETStoresStoreId200ResponseData.md) + - [GETStoresStoreId200ResponseDataAttributes](docs/GETStoresStoreId200ResponseDataAttributes.md) - [GETStripeGateways200Response](docs/GETStripeGateways200Response.md) - [GETStripeGatewaysStripeGatewayId200Response](docs/GETStripeGatewaysStripeGatewayId200Response.md) - [GETStripeGatewaysStripeGatewayId200ResponseData](docs/GETStripeGatewaysStripeGatewayId200ResponseData.md) @@ -2840,6 +2866,8 @@ Class | Method | HTTP request | Description - [LineItemDataRelationshipsItemData](docs/LineItemDataRelationshipsItemData.md) - [LineItemDataRelationshipsLineItemOptions](docs/LineItemDataRelationshipsLineItemOptions.md) - [LineItemDataRelationshipsLineItemOptionsData](docs/LineItemDataRelationshipsLineItemOptionsData.md) + - [LineItemDataRelationshipsNotifications](docs/LineItemDataRelationshipsNotifications.md) + - [LineItemDataRelationshipsNotificationsData](docs/LineItemDataRelationshipsNotificationsData.md) - [LineItemDataRelationshipsReturnLineItems](docs/LineItemDataRelationshipsReturnLineItems.md) - [LineItemDataRelationshipsReturnLineItemsData](docs/LineItemDataRelationshipsReturnLineItemsData.md) - [LineItemDataRelationshipsShipment](docs/LineItemDataRelationshipsShipment.md) @@ -2913,6 +2941,8 @@ Class | Method | HTTP request | Description - [MarketDataRelationshipsPriceListData](docs/MarketDataRelationshipsPriceListData.md) - [MarketDataRelationshipsPriceListSchedulers](docs/MarketDataRelationshipsPriceListSchedulers.md) - [MarketDataRelationshipsPriceListSchedulersData](docs/MarketDataRelationshipsPriceListSchedulersData.md) + - [MarketDataRelationshipsStores](docs/MarketDataRelationshipsStores.md) + - [MarketDataRelationshipsStoresData](docs/MarketDataRelationshipsStoresData.md) - [MarketDataRelationshipsSubscriptionModel](docs/MarketDataRelationshipsSubscriptionModel.md) - [MarketDataRelationshipsSubscriptionModelData](docs/MarketDataRelationshipsSubscriptionModelData.md) - [MarketDataRelationshipsTaxCalculator](docs/MarketDataRelationshipsTaxCalculator.md) @@ -2932,6 +2962,18 @@ Class | Method | HTTP request | Description - [ModelImport](docs/ModelImport.md) - [ModelPackage](docs/ModelPackage.md) - [ModelReturn](docs/ModelReturn.md) + - [Notification](docs/Notification.md) + - [NotificationCreate](docs/NotificationCreate.md) + - [NotificationCreateData](docs/NotificationCreateData.md) + - [NotificationCreateDataRelationships](docs/NotificationCreateDataRelationships.md) + - [NotificationCreateDataRelationshipsNotifiable](docs/NotificationCreateDataRelationshipsNotifiable.md) + - [NotificationData](docs/NotificationData.md) + - [NotificationDataRelationships](docs/NotificationDataRelationships.md) + - [NotificationDataRelationshipsNotifiable](docs/NotificationDataRelationshipsNotifiable.md) + - [NotificationDataRelationshipsNotifiableData](docs/NotificationDataRelationshipsNotifiableData.md) + - [NotificationUpdate](docs/NotificationUpdate.md) + - [NotificationUpdateData](docs/NotificationUpdateData.md) + - [NotificationUpdateDataRelationships](docs/NotificationUpdateDataRelationships.md) - [Order](docs/Order.md) - [OrderAmountPromotionRule](docs/OrderAmountPromotionRule.md) - [OrderAmountPromotionRuleCreate](docs/OrderAmountPromotionRuleCreate.md) @@ -2950,6 +2992,7 @@ Class | Method | HTTP request | Description - [OrderCreate](docs/OrderCreate.md) - [OrderCreateData](docs/OrderCreateData.md) - [OrderCreateDataRelationships](docs/OrderCreateDataRelationships.md) + - [OrderCreateDataRelationshipsStore](docs/OrderCreateDataRelationshipsStore.md) - [OrderData](docs/OrderData.md) - [OrderDataRelationships](docs/OrderDataRelationships.md) - [OrderDataRelationshipsLinks](docs/OrderDataRelationshipsLinks.md) @@ -3026,9 +3069,6 @@ Class | Method | HTTP request | Description - [PATCHAxervePaymentsAxervePaymentId200Response](docs/PATCHAxervePaymentsAxervePaymentId200Response.md) - [PATCHAxervePaymentsAxervePaymentId200ResponseData](docs/PATCHAxervePaymentsAxervePaymentId200ResponseData.md) - [PATCHAxervePaymentsAxervePaymentId200ResponseDataAttributes](docs/PATCHAxervePaymentsAxervePaymentId200ResponseDataAttributes.md) - - [PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response](docs/PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response.md) - - [PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData](docs/PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData.md) - - [PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes](docs/PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md) - [PATCHBingGeocodersBingGeocoderId200Response](docs/PATCHBingGeocodersBingGeocoderId200Response.md) - [PATCHBingGeocodersBingGeocoderId200ResponseData](docs/PATCHBingGeocodersBingGeocoderId200ResponseData.md) - [PATCHBingGeocodersBingGeocoderId200ResponseDataAttributes](docs/PATCHBingGeocodersBingGeocoderId200ResponseDataAttributes.md) @@ -3058,8 +3098,10 @@ Class | Method | HTTP request | Description - [PATCHCheckoutComPaymentsCheckoutComPaymentId200ResponseDataAttributes](docs/PATCHCheckoutComPaymentsCheckoutComPaymentId200ResponseDataAttributes.md) - [PATCHCleanupsCleanupId200Response](docs/PATCHCleanupsCleanupId200Response.md) - [PATCHCleanupsCleanupId200ResponseData](docs/PATCHCleanupsCleanupId200ResponseData.md) + - [PATCHCleanupsCleanupId200ResponseDataAttributes](docs/PATCHCleanupsCleanupId200ResponseDataAttributes.md) - [PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200Response](docs/PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200Response.md) - [PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseData](docs/PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseData.md) + - [PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes](docs/PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes.md) - [PATCHCouponRecipientsCouponRecipientId200Response](docs/PATCHCouponRecipientsCouponRecipientId200Response.md) - [PATCHCouponRecipientsCouponRecipientId200ResponseData](docs/PATCHCouponRecipientsCouponRecipientId200ResponseData.md) - [PATCHCouponRecipientsCouponRecipientId200ResponseDataAttributes](docs/PATCHCouponRecipientsCouponRecipientId200ResponseDataAttributes.md) @@ -3170,6 +3212,9 @@ Class | Method | HTTP request | Description - [PATCHMerchantsMerchantId200Response](docs/PATCHMerchantsMerchantId200Response.md) - [PATCHMerchantsMerchantId200ResponseData](docs/PATCHMerchantsMerchantId200ResponseData.md) - [PATCHMerchantsMerchantId200ResponseDataAttributes](docs/PATCHMerchantsMerchantId200ResponseDataAttributes.md) + - [PATCHNotificationsNotificationId200Response](docs/PATCHNotificationsNotificationId200Response.md) + - [PATCHNotificationsNotificationId200ResponseData](docs/PATCHNotificationsNotificationId200ResponseData.md) + - [PATCHNotificationsNotificationId200ResponseDataAttributes](docs/PATCHNotificationsNotificationId200ResponseDataAttributes.md) - [PATCHOrderAmountPromotionRulesOrderAmountPromotionRuleId200Response](docs/PATCHOrderAmountPromotionRulesOrderAmountPromotionRuleId200Response.md) - [PATCHOrderAmountPromotionRulesOrderAmountPromotionRuleId200ResponseData](docs/PATCHOrderAmountPromotionRulesOrderAmountPromotionRuleId200ResponseData.md) - [PATCHOrderAmountPromotionRulesOrderAmountPromotionRuleId200ResponseDataAttributes](docs/PATCHOrderAmountPromotionRulesOrderAmountPromotionRuleId200ResponseDataAttributes.md) @@ -3283,6 +3328,9 @@ Class | Method | HTTP request | Description - [PATCHStockTransfersStockTransferId200Response](docs/PATCHStockTransfersStockTransferId200Response.md) - [PATCHStockTransfersStockTransferId200ResponseData](docs/PATCHStockTransfersStockTransferId200ResponseData.md) - [PATCHStockTransfersStockTransferId200ResponseDataAttributes](docs/PATCHStockTransfersStockTransferId200ResponseDataAttributes.md) + - [PATCHStoresStoreId200Response](docs/PATCHStoresStoreId200Response.md) + - [PATCHStoresStoreId200ResponseData](docs/PATCHStoresStoreId200ResponseData.md) + - [PATCHStoresStoreId200ResponseDataAttributes](docs/PATCHStoresStoreId200ResponseDataAttributes.md) - [PATCHStripeGatewaysStripeGatewayId200Response](docs/PATCHStripeGatewaysStripeGatewayId200Response.md) - [PATCHStripeGatewaysStripeGatewayId200ResponseData](docs/PATCHStripeGatewaysStripeGatewayId200ResponseData.md) - [PATCHStripeGatewaysStripeGatewayId200ResponseDataAttributes](docs/PATCHStripeGatewaysStripeGatewayId200ResponseDataAttributes.md) @@ -3368,11 +3416,6 @@ Class | Method | HTTP request | Description - [POSTAxervePayments201Response](docs/POSTAxervePayments201Response.md) - [POSTAxervePayments201ResponseData](docs/POSTAxervePayments201ResponseData.md) - [POSTAxervePayments201ResponseDataAttributes](docs/POSTAxervePayments201ResponseDataAttributes.md) - - [POSTBillingInfoValidationRules201Response](docs/POSTBillingInfoValidationRules201Response.md) - - [POSTBillingInfoValidationRules201ResponseData](docs/POSTBillingInfoValidationRules201ResponseData.md) - - [POSTBillingInfoValidationRules201ResponseDataRelationships](docs/POSTBillingInfoValidationRules201ResponseDataRelationships.md) - - [POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket](docs/POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket.md) - - [POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData](docs/POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData.md) - [POSTBingGeocoders201Response](docs/POSTBingGeocoders201Response.md) - [POSTBingGeocoders201ResponseData](docs/POSTBingGeocoders201ResponseData.md) - [POSTBingGeocoders201ResponseDataAttributes](docs/POSTBingGeocoders201ResponseDataAttributes.md) @@ -3392,6 +3435,8 @@ Class | Method | HTTP request | Description - [POSTBundles201ResponseData](docs/POSTBundles201ResponseData.md) - [POSTBundles201ResponseDataAttributes](docs/POSTBundles201ResponseDataAttributes.md) - [POSTBundles201ResponseDataRelationships](docs/POSTBundles201ResponseDataRelationships.md) + - [POSTBundles201ResponseDataRelationshipsMarket](docs/POSTBundles201ResponseDataRelationshipsMarket.md) + - [POSTBundles201ResponseDataRelationshipsMarketData](docs/POSTBundles201ResponseDataRelationshipsMarketData.md) - [POSTBundles201ResponseDataRelationshipsSkuList](docs/POSTBundles201ResponseDataRelationshipsSkuList.md) - [POSTBundles201ResponseDataRelationshipsSkuListData](docs/POSTBundles201ResponseDataRelationshipsSkuListData.md) - [POSTBundles201ResponseDataRelationshipsSkus](docs/POSTBundles201ResponseDataRelationshipsSkus.md) @@ -3415,6 +3460,7 @@ Class | Method | HTTP request | Description - [POSTCarrierAccounts201Response](docs/POSTCarrierAccounts201Response.md) - [POSTCarrierAccounts201ResponseData](docs/POSTCarrierAccounts201ResponseData.md) - [POSTCarrierAccounts201ResponseDataAttributes](docs/POSTCarrierAccounts201ResponseDataAttributes.md) + - [POSTCarrierAccounts201ResponseDataRelationships](docs/POSTCarrierAccounts201ResponseDataRelationships.md) - [POSTCheckoutComGateways201Response](docs/POSTCheckoutComGateways201Response.md) - [POSTCheckoutComGateways201ResponseData](docs/POSTCheckoutComGateways201ResponseData.md) - [POSTCheckoutComGateways201ResponseDataAttributes](docs/POSTCheckoutComGateways201ResponseDataAttributes.md) @@ -3473,8 +3519,6 @@ Class | Method | HTTP request | Description - [POSTCustomerPaymentSources201ResponseDataRelationships](docs/POSTCustomerPaymentSources201ResponseDataRelationships.md) - [POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentMethod](docs/POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentMethod.md) - [POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentMethodData](docs/POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentMethodData.md) - - [POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource](docs/POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource.md) - - [POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData](docs/POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData.md) - [POSTCustomerSubscriptions201Response](docs/POSTCustomerSubscriptions201Response.md) - [POSTCustomerSubscriptions201ResponseData](docs/POSTCustomerSubscriptions201ResponseData.md) - [POSTCustomerSubscriptions201ResponseDataAttributes](docs/POSTCustomerSubscriptions201ResponseDataAttributes.md) @@ -3614,6 +3658,8 @@ Class | Method | HTTP request | Description - [POSTLineItems201ResponseDataRelationshipsItemData](docs/POSTLineItems201ResponseDataRelationshipsItemData.md) - [POSTLineItems201ResponseDataRelationshipsLineItemOptions](docs/POSTLineItems201ResponseDataRelationshipsLineItemOptions.md) - [POSTLineItems201ResponseDataRelationshipsLineItemOptionsData](docs/POSTLineItems201ResponseDataRelationshipsLineItemOptionsData.md) + - [POSTLineItems201ResponseDataRelationshipsNotifications](docs/POSTLineItems201ResponseDataRelationshipsNotifications.md) + - [POSTLineItems201ResponseDataRelationshipsNotificationsData](docs/POSTLineItems201ResponseDataRelationshipsNotificationsData.md) - [POSTLineItems201ResponseDataRelationshipsReturnLineItems](docs/POSTLineItems201ResponseDataRelationshipsReturnLineItems.md) - [POSTLineItems201ResponseDataRelationshipsReturnLineItemsData](docs/POSTLineItems201ResponseDataRelationshipsReturnLineItemsData.md) - [POSTLineItems201ResponseDataRelationshipsShipment](docs/POSTLineItems201ResponseDataRelationshipsShipment.md) @@ -3650,6 +3696,8 @@ Class | Method | HTTP request | Description - [POSTMarkets201ResponseDataRelationshipsPriceListData](docs/POSTMarkets201ResponseDataRelationshipsPriceListData.md) - [POSTMarkets201ResponseDataRelationshipsPriceListSchedulers](docs/POSTMarkets201ResponseDataRelationshipsPriceListSchedulers.md) - [POSTMarkets201ResponseDataRelationshipsPriceListSchedulersData](docs/POSTMarkets201ResponseDataRelationshipsPriceListSchedulersData.md) + - [POSTMarkets201ResponseDataRelationshipsStores](docs/POSTMarkets201ResponseDataRelationshipsStores.md) + - [POSTMarkets201ResponseDataRelationshipsStoresData](docs/POSTMarkets201ResponseDataRelationshipsStoresData.md) - [POSTMarkets201ResponseDataRelationshipsSubscriptionModel](docs/POSTMarkets201ResponseDataRelationshipsSubscriptionModel.md) - [POSTMarkets201ResponseDataRelationshipsSubscriptionModelData](docs/POSTMarkets201ResponseDataRelationshipsSubscriptionModelData.md) - [POSTMarkets201ResponseDataRelationshipsTaxCalculator](docs/POSTMarkets201ResponseDataRelationshipsTaxCalculator.md) @@ -3658,6 +3706,12 @@ Class | Method | HTTP request | Description - [POSTMerchants201ResponseData](docs/POSTMerchants201ResponseData.md) - [POSTMerchants201ResponseDataAttributes](docs/POSTMerchants201ResponseDataAttributes.md) - [POSTMerchants201ResponseDataRelationships](docs/POSTMerchants201ResponseDataRelationships.md) + - [POSTNotifications201Response](docs/POSTNotifications201Response.md) + - [POSTNotifications201ResponseData](docs/POSTNotifications201ResponseData.md) + - [POSTNotifications201ResponseDataAttributes](docs/POSTNotifications201ResponseDataAttributes.md) + - [POSTNotifications201ResponseDataRelationships](docs/POSTNotifications201ResponseDataRelationships.md) + - [POSTNotifications201ResponseDataRelationshipsNotifiable](docs/POSTNotifications201ResponseDataRelationshipsNotifiable.md) + - [POSTNotifications201ResponseDataRelationshipsNotifiableData](docs/POSTNotifications201ResponseDataRelationshipsNotifiableData.md) - [POSTOrderAmountPromotionRules201Response](docs/POSTOrderAmountPromotionRules201Response.md) - [POSTOrderAmountPromotionRules201ResponseData](docs/POSTOrderAmountPromotionRules201ResponseData.md) - [POSTOrderAmountPromotionRules201ResponseDataAttributes](docs/POSTOrderAmountPromotionRules201ResponseDataAttributes.md) @@ -3719,6 +3773,8 @@ Class | Method | HTTP request | Description - [POSTOrders201ResponseDataRelationshipsShipmentsData](docs/POSTOrders201ResponseDataRelationshipsShipmentsData.md) - [POSTOrders201ResponseDataRelationshipsShippingAddress](docs/POSTOrders201ResponseDataRelationshipsShippingAddress.md) - [POSTOrders201ResponseDataRelationshipsShippingAddressData](docs/POSTOrders201ResponseDataRelationshipsShippingAddressData.md) + - [POSTOrders201ResponseDataRelationshipsStore](docs/POSTOrders201ResponseDataRelationshipsStore.md) + - [POSTOrders201ResponseDataRelationshipsStoreData](docs/POSTOrders201ResponseDataRelationshipsStoreData.md) - [POSTOrders201ResponseDataRelationshipsTransactions](docs/POSTOrders201ResponseDataRelationshipsTransactions.md) - [POSTOrders201ResponseDataRelationshipsTransactionsData](docs/POSTOrders201ResponseDataRelationshipsTransactionsData.md) - [POSTPackages201Response](docs/POSTPackages201Response.md) @@ -3919,6 +3975,10 @@ Class | Method | HTTP request | Description - [POSTStockTransfers201ResponseDataRelationshipsDestinationStockLocationData](docs/POSTStockTransfers201ResponseDataRelationshipsDestinationStockLocationData.md) - [POSTStockTransfers201ResponseDataRelationshipsOriginStockLocation](docs/POSTStockTransfers201ResponseDataRelationshipsOriginStockLocation.md) - [POSTStockTransfers201ResponseDataRelationshipsOriginStockLocationData](docs/POSTStockTransfers201ResponseDataRelationshipsOriginStockLocationData.md) + - [POSTStores201Response](docs/POSTStores201Response.md) + - [POSTStores201ResponseData](docs/POSTStores201ResponseData.md) + - [POSTStores201ResponseDataAttributes](docs/POSTStores201ResponseDataAttributes.md) + - [POSTStores201ResponseDataRelationships](docs/POSTStores201ResponseDataRelationships.md) - [POSTStripeGateways201Response](docs/POSTStripeGateways201Response.md) - [POSTStripeGateways201ResponseData](docs/POSTStripeGateways201ResponseData.md) - [POSTStripeGateways201ResponseDataAttributes](docs/POSTStripeGateways201ResponseDataAttributes.md) @@ -4290,6 +4350,15 @@ Class | Method | HTTP request | Description - [StockTransferUpdate](docs/StockTransferUpdate.md) - [StockTransferUpdateData](docs/StockTransferUpdateData.md) - [StockTransferUpdateDataRelationships](docs/StockTransferUpdateDataRelationships.md) + - [Store](docs/Store.md) + - [StoreCreate](docs/StoreCreate.md) + - [StoreCreateData](docs/StoreCreateData.md) + - [StoreCreateDataRelationships](docs/StoreCreateDataRelationships.md) + - [StoreData](docs/StoreData.md) + - [StoreDataRelationships](docs/StoreDataRelationships.md) + - [StoreUpdate](docs/StoreUpdate.md) + - [StoreUpdateData](docs/StoreUpdateData.md) + - [StoreUpdateDataRelationships](docs/StoreUpdateDataRelationships.md) - [StripeGateway](docs/StripeGateway.md) - [StripeGatewayCreate](docs/StripeGatewayCreate.md) - [StripeGatewayCreateData](docs/StripeGatewayCreateData.md) diff --git a/api/api/openapi.yaml b/api/api/openapi.yaml deleted file mode 100644 index 15c594588..000000000 --- a/api/api/openapi.yaml +++ /dev/null @@ -1,77176 +0,0 @@ -openapi: 3.1.0 -info: - contact: - email: support@commercelayer.io - name: API Support - url: https://commercelayer.io - description: Headless Commerce for Global Brands. - title: Commerce Layer API - version: 7.3.1 -servers: -- description: API - url: "https://{your_organization_slug}.commercelayer.io/api" -- description: Sign in - url: https://core.commercelayer.io/users/sign_in -- description: API reference - url: https://docs.commercelayer.io/api -security: -- bearerAuth: [] -tags: -- description: singleton resource - name: singleton -- description: resource type - name: addresses -- description: relationship kind - name: has_one -- description: relationship kind - name: has_many -- description: resource type - name: adjustments -- description: resource type - name: adyen_gateways -- description: resource type - name: adyen_payments -- description: resource type - name: application -- description: resource type - name: attachments -- description: resource type - name: authorizations -- description: resource type - name: avalara_accounts -- description: resource type - name: axerve_gateways -- description: resource type - name: axerve_payments -- description: resource type - name: billing_info_validation_rules -- description: resource type - name: bing_geocoders -- description: resource type - name: braintree_gateways -- description: resource type - name: braintree_payments -- description: resource type - name: bundles -- description: resource type - name: buy_x_pay_y_promotions -- description: resource type - name: captures -- description: resource type - name: carrier_accounts -- description: resource type - name: checkout_com_gateways -- description: resource type - name: checkout_com_payments -- description: resource type - name: cleanups -- description: resource type - name: coupon_codes_promotion_rules -- description: resource type - name: coupon_recipients -- description: resource type - name: coupons -- description: resource type - name: custom_promotion_rules -- description: resource type - name: customer_addresses -- description: resource type - name: customer_groups -- description: resource type - name: customer_password_resets -- description: resource type - name: customer_payment_sources -- description: resource type - name: customer_subscriptions -- description: resource type - name: customers -- description: resource type - name: delivery_lead_times -- description: resource type - name: event_callbacks -- description: resource type - name: events -- description: resource type - name: exports -- description: resource type - name: external_gateways -- description: resource type - name: external_payments -- description: resource type - name: external_promotions -- description: resource type - name: external_tax_calculators -- description: resource type - name: fixed_amount_promotions -- description: resource type - name: fixed_price_promotions -- description: resource type - name: flex_promotions -- description: resource type - name: free_gift_promotions -- description: resource type - name: free_shipping_promotions -- description: resource type - name: geocoders -- description: resource type - name: gift_card_recipients -- description: resource type - name: gift_cards -- description: resource type - name: google_geocoders -- description: resource type - name: imports -- description: resource type - name: in_stock_subscriptions -- description: resource type - name: inventory_models -- description: resource type - name: inventory_return_locations -- description: resource type - name: inventory_stock_locations -- description: resource type - name: klarna_gateways -- description: resource type - name: klarna_payments -- description: resource type - name: line_item_options -- description: resource type - name: line_items -- description: resource type - name: links -- description: resource type - name: manual_gateways -- description: resource type - name: manual_tax_calculators -- description: resource type - name: markets -- description: resource type - name: merchants -- description: resource type - name: order_amount_promotion_rules -- description: resource type - name: order_copies -- description: resource type - name: order_factories -- description: resource type - name: order_subscription_items -- description: resource type - name: order_subscriptions -- description: resource type - name: orders -- description: resource type - name: organization -- description: resource type - name: packages -- description: resource type - name: parcel_line_items -- description: resource type - name: parcels -- description: resource type - name: payment_gateways -- description: resource type - name: payment_methods -- description: resource type - name: payment_options -- description: resource type - name: paypal_gateways -- description: resource type - name: paypal_payments -- description: resource type - name: percentage_discount_promotions -- description: resource type - name: price_frequency_tiers -- description: resource type - name: price_list_schedulers -- description: resource type - name: price_lists -- description: resource type - name: price_tiers -- description: resource type - name: price_volume_tiers -- description: resource type - name: prices -- description: resource type - name: promotion_rules -- description: resource type - name: promotions -- description: resource type - name: recurring_order_copies -- description: resource type - name: refunds -- description: resource type - name: reserved_stocks -- description: resource type - name: resource_errors -- description: resource type - name: return_line_items -- description: resource type - name: returns -- description: resource type - name: satispay_gateways -- description: resource type - name: satispay_payments -- description: resource type - name: shipments -- description: resource type - name: shipping_categories -- description: resource type - name: shipping_method_tiers -- description: resource type - name: shipping_methods -- description: resource type - name: shipping_weight_tiers -- description: resource type - name: shipping_zones -- description: resource type - name: sku_list_items -- description: resource type - name: sku_list_promotion_rules -- description: resource type - name: sku_lists -- description: resource type - name: sku_options -- description: resource type - name: skus -- description: resource type - name: stock_items -- description: resource type - name: stock_line_items -- description: resource type - name: stock_locations -- description: resource type - name: stock_reservations -- description: resource type - name: stock_transfers -- description: resource type - name: stripe_gateways -- description: resource type - name: stripe_payments -- description: resource type - name: subscription_models -- description: resource type - name: tags -- description: resource type - name: tax_calculators -- description: resource type - name: tax_categories -- description: resource type - name: tax_rules -- description: resource type - name: taxjar_accounts -- description: resource type - name: transactions -- description: resource type - name: versions -- description: resource type - name: voids -- description: resource type - name: webhooks -- description: resource type - name: wire_transfers -paths: - /addresses: - get: - description: List all addresses - operationId: GET/addresses - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_addresses_200_response' - description: A list of address objects - summary: List all addresses - tags: - - addresses - post: - description: Create an address - operationId: POST/addresses - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/addressCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_addresses_201_response' - description: The created address object - summary: Create an address - tags: - - addresses - /addresses/{addressId}: - delete: - description: Delete an address - operationId: DELETE/addresses/addressId - parameters: - - description: The resource's id - explode: false - in: path - name: addressId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete an address - tags: - - addresses - get: - description: Retrieve an address - operationId: GET/addresses/addressId - parameters: - - description: The resource's id - explode: false - in: path - name: addressId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_addresses_addressId_200_response' - description: The address object - summary: Retrieve an address - tags: - - addresses - patch: - description: Update an address - operationId: PATCH/addresses/addressId - parameters: - - description: The resource's id - explode: false - in: path - name: addressId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/addressUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_addresses_addressId_200_response' - description: The updated address object - summary: Update an address - tags: - - addresses - /addresses/{addressId}/geocoder: - get: - description: Retrieve the geocoder associated to the address - operationId: GET/addressId/geocoder - parameters: - - description: The resource's id - explode: false - in: path - name: addressId - required: true - schema: {} - style: simple - responses: - "200": - description: The geocoder associated to the address - summary: Retrieve the geocoder associated to the address - tags: - - has_one - - geocoders - /addresses/{addressId}/events: - get: - description: Retrieve the events associated to the address - operationId: GET/addressId/events - parameters: - - description: The resource's id - explode: false - in: path - name: addressId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the address - summary: Retrieve the events associated to the address - tags: - - has_many - - events - /addresses/{addressId}/tags: - get: - description: Retrieve the tags associated to the address - operationId: GET/addressId/tags - parameters: - - description: The resource's id - explode: false - in: path - name: addressId - required: true - schema: {} - style: simple - responses: - "200": - description: The tags associated to the address - summary: Retrieve the tags associated to the address - tags: - - has_many - - tags - /addresses/{addressId}/versions: - get: - description: Retrieve the versions associated to the address - operationId: GET/addressId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: addressId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the address - summary: Retrieve the versions associated to the address - tags: - - has_many - - versions - /adjustments: - get: - description: List all adjustments - operationId: GET/adjustments - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_adjustments_200_response' - description: A list of adjustment objects - summary: List all adjustments - tags: - - adjustments - post: - description: Create an adjustment - operationId: POST/adjustments - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/adjustmentCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_adjustments_201_response' - description: The created adjustment object - summary: Create an adjustment - tags: - - adjustments - /adjustments/{adjustmentId}: - delete: - description: Delete an adjustment - operationId: DELETE/adjustments/adjustmentId - parameters: - - description: The resource's id - explode: false - in: path - name: adjustmentId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete an adjustment - tags: - - adjustments - get: - description: Retrieve an adjustment - operationId: GET/adjustments/adjustmentId - parameters: - - description: The resource's id - explode: false - in: path - name: adjustmentId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_adjustments_adjustmentId_200_response' - description: The adjustment object - summary: Retrieve an adjustment - tags: - - adjustments - patch: - description: Update an adjustment - operationId: PATCH/adjustments/adjustmentId - parameters: - - description: The resource's id - explode: false - in: path - name: adjustmentId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/adjustmentUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_adjustments_adjustmentId_200_response' - description: The updated adjustment object - summary: Update an adjustment - tags: - - adjustments - /adjustments/{adjustmentId}/versions: - get: - description: Retrieve the versions associated to the adjustment - operationId: GET/adjustmentId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: adjustmentId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the adjustment - summary: Retrieve the versions associated to the adjustment - tags: - - has_many - - versions - /adyen_gateways: - get: - description: List all adyen gateways - operationId: GET/adyen_gateways - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_adyen_gateways_200_response' - description: A list of adyen gateway objects - summary: List all adyen gateways - tags: - - adyen_gateways - post: - description: Create an adyen gateway - operationId: POST/adyen_gateways - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/adyenGatewayCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_adyen_gateways_201_response' - description: The created adyen gateway object - summary: Create an adyen gateway - tags: - - adyen_gateways - /adyen_gateways/{adyenGatewayId}: - delete: - description: Delete an adyen gateway - operationId: DELETE/adyen_gateways/adyenGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: adyenGatewayId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete an adyen gateway - tags: - - adyen_gateways - get: - description: Retrieve an adyen gateway - operationId: GET/adyen_gateways/adyenGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: adyenGatewayId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_adyen_gateways_adyenGatewayId_200_response' - description: The adyen gateway object - summary: Retrieve an adyen gateway - tags: - - adyen_gateways - patch: - description: Update an adyen gateway - operationId: PATCH/adyen_gateways/adyenGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: adyenGatewayId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/adyenGatewayUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_adyen_gateways_adyenGatewayId_200_response' - description: The updated adyen gateway object - summary: Update an adyen gateway - tags: - - adyen_gateways - /adyen_gateways/{adyenGatewayId}/payment_methods: - get: - description: Retrieve the payment methods associated to the adyen gateway - operationId: GET/adyenGatewayId/payment_methods - parameters: - - description: The resource's id - explode: false - in: path - name: adyenGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The payment_methods associated to the adyen gateway - summary: Retrieve the payment methods associated to the adyen gateway - tags: - - has_many - - payment_methods - /adyen_gateways/{adyenGatewayId}/versions: - get: - description: Retrieve the versions associated to the adyen gateway - operationId: GET/adyenGatewayId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: adyenGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the adyen gateway - summary: Retrieve the versions associated to the adyen gateway - tags: - - has_many - - versions - /adyen_gateways/{adyenGatewayId}/adyen_payments: - get: - description: Retrieve the adyen payments associated to the adyen gateway - operationId: GET/adyenGatewayId/adyen_payments - parameters: - - description: The resource's id - explode: false - in: path - name: adyenGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The adyen_payments associated to the adyen gateway - summary: Retrieve the adyen payments associated to the adyen gateway - tags: - - has_many - - adyen_payments - /adyen_payments: - get: - description: List all adyen payments - operationId: GET/adyen_payments - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_adyen_payments_200_response' - description: A list of adyen payment objects - summary: List all adyen payments - tags: - - adyen_payments - post: - description: Create an adyen payment - operationId: POST/adyen_payments - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/adyenPaymentCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_adyen_payments_201_response' - description: The created adyen payment object - summary: Create an adyen payment - tags: - - adyen_payments - /adyen_payments/{adyenPaymentId}: - delete: - description: Delete an adyen payment - operationId: DELETE/adyen_payments/adyenPaymentId - parameters: - - description: The resource's id - explode: false - in: path - name: adyenPaymentId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete an adyen payment - tags: - - adyen_payments - get: - description: Retrieve an adyen payment - operationId: GET/adyen_payments/adyenPaymentId - parameters: - - description: The resource's id - explode: false - in: path - name: adyenPaymentId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_adyen_payments_adyenPaymentId_200_response' - description: The adyen payment object - summary: Retrieve an adyen payment - tags: - - adyen_payments - patch: - description: Update an adyen payment - operationId: PATCH/adyen_payments/adyenPaymentId - parameters: - - description: The resource's id - explode: false - in: path - name: adyenPaymentId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/adyenPaymentUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_adyen_payments_adyenPaymentId_200_response' - description: The updated adyen payment object - summary: Update an adyen payment - tags: - - adyen_payments - /adyen_payments/{adyenPaymentId}/order: - get: - description: Retrieve the order associated to the adyen payment - operationId: GET/adyenPaymentId/order - parameters: - - description: The resource's id - explode: false - in: path - name: adyenPaymentId - required: true - schema: {} - style: simple - responses: - "200": - description: The order associated to the adyen payment - summary: Retrieve the order associated to the adyen payment - tags: - - has_one - - orders - /adyen_payments/{adyenPaymentId}/payment_gateway: - get: - description: Retrieve the payment gateway associated to the adyen payment - operationId: GET/adyenPaymentId/payment_gateway - parameters: - - description: The resource's id - explode: false - in: path - name: adyenPaymentId - required: true - schema: {} - style: simple - responses: - "200": - description: The payment_gateway associated to the adyen payment - summary: Retrieve the payment gateway associated to the adyen payment - tags: - - has_one - - payment_gateways - /adyen_payments/{adyenPaymentId}/versions: - get: - description: Retrieve the versions associated to the adyen payment - operationId: GET/adyenPaymentId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: adyenPaymentId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the adyen payment - summary: Retrieve the versions associated to the adyen payment - tags: - - has_many - - versions - /application: - get: - description: Retrieve the application - operationId: GET/application/applicationId - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_application_applicationId_200_response' - description: The application object - summary: Retrieve the application - tags: - - application - - singleton - /attachments: - get: - description: List all attachments - operationId: GET/attachments - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_attachments_200_response' - description: A list of attachment objects - summary: List all attachments - tags: - - attachments - post: - description: Create an attachment - operationId: POST/attachments - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/attachmentCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_attachments_201_response' - description: The created attachment object - summary: Create an attachment - tags: - - attachments - /attachments/{attachmentId}: - delete: - description: Delete an attachment - operationId: DELETE/attachments/attachmentId - parameters: - - description: The resource's id - explode: false - in: path - name: attachmentId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete an attachment - tags: - - attachments - get: - description: Retrieve an attachment - operationId: GET/attachments/attachmentId - parameters: - - description: The resource's id - explode: false - in: path - name: attachmentId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_attachments_attachmentId_200_response' - description: The attachment object - summary: Retrieve an attachment - tags: - - attachments - patch: - description: Update an attachment - operationId: PATCH/attachments/attachmentId - parameters: - - description: The resource's id - explode: false - in: path - name: attachmentId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/attachmentUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_attachments_attachmentId_200_response' - description: The updated attachment object - summary: Update an attachment - tags: - - attachments - /authorizations: - get: - description: List all authorizations - operationId: GET/authorizations - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_authorizations_200_response' - description: A list of authorization objects - summary: List all authorizations - tags: - - authorizations - /authorizations/{authorizationId}: - get: - description: Retrieve an authorization - operationId: GET/authorizations/authorizationId - parameters: - - description: The resource's id - explode: false - in: path - name: authorizationId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response' - description: The authorization object - summary: Retrieve an authorization - tags: - - authorizations - patch: - description: Update an authorization - operationId: PATCH/authorizations/authorizationId - parameters: - - description: The resource's id - explode: false - in: path - name: authorizationId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/authorizationUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_authorizations_authorizationId_200_response' - description: The updated authorization object - summary: Update an authorization - tags: - - authorizations - /authorizations/{authorizationId}/order: - get: - description: Retrieve the order associated to the authorization - operationId: GET/authorizationId/order - parameters: - - description: The resource's id - explode: false - in: path - name: authorizationId - required: true - schema: {} - style: simple - responses: - "200": - description: The order associated to the authorization - summary: Retrieve the order associated to the authorization - tags: - - has_one - - orders - /authorizations/{authorizationId}/attachments: - get: - description: Retrieve the attachments associated to the authorization - operationId: GET/authorizationId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: authorizationId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the authorization - summary: Retrieve the attachments associated to the authorization - tags: - - has_many - - attachments - /authorizations/{authorizationId}/events: - get: - description: Retrieve the events associated to the authorization - operationId: GET/authorizationId/events - parameters: - - description: The resource's id - explode: false - in: path - name: authorizationId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the authorization - summary: Retrieve the events associated to the authorization - tags: - - has_many - - events - /authorizations/{authorizationId}/versions: - get: - description: Retrieve the versions associated to the authorization - operationId: GET/authorizationId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: authorizationId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the authorization - summary: Retrieve the versions associated to the authorization - tags: - - has_many - - versions - /authorizations/{authorizationId}/captures: - get: - description: Retrieve the captures associated to the authorization - operationId: GET/authorizationId/captures - parameters: - - description: The resource's id - explode: false - in: path - name: authorizationId - required: true - schema: {} - style: simple - responses: - "200": - description: The captures associated to the authorization - summary: Retrieve the captures associated to the authorization - tags: - - has_many - - captures - /authorizations/{authorizationId}/voids: - get: - description: Retrieve the voids associated to the authorization - operationId: GET/authorizationId/voids - parameters: - - description: The resource's id - explode: false - in: path - name: authorizationId - required: true - schema: {} - style: simple - responses: - "200": - description: The voids associated to the authorization - summary: Retrieve the voids associated to the authorization - tags: - - has_many - - voids - /avalara_accounts: - get: - description: List all avalara accounts - operationId: GET/avalara_accounts - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_avalara_accounts_200_response' - description: A list of avalara account objects - summary: List all avalara accounts - tags: - - avalara_accounts - post: - description: Create an avalara account - operationId: POST/avalara_accounts - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/avalaraAccountCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_avalara_accounts_201_response' - description: The created avalara account object - summary: Create an avalara account - tags: - - avalara_accounts - /avalara_accounts/{avalaraAccountId}: - delete: - description: Delete an avalara account - operationId: DELETE/avalara_accounts/avalaraAccountId - parameters: - - description: The resource's id - explode: false - in: path - name: avalaraAccountId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete an avalara account - tags: - - avalara_accounts - get: - description: Retrieve an avalara account - operationId: GET/avalara_accounts/avalaraAccountId - parameters: - - description: The resource's id - explode: false - in: path - name: avalaraAccountId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_avalara_accounts_avalaraAccountId_200_response' - description: The avalara account object - summary: Retrieve an avalara account - tags: - - avalara_accounts - patch: - description: Update an avalara account - operationId: PATCH/avalara_accounts/avalaraAccountId - parameters: - - description: The resource's id - explode: false - in: path - name: avalaraAccountId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/avalaraAccountUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_avalara_accounts_avalaraAccountId_200_response' - description: The updated avalara account object - summary: Update an avalara account - tags: - - avalara_accounts - /avalara_accounts/{avalaraAccountId}/markets: - get: - description: Retrieve the markets associated to the avalara account - operationId: GET/avalaraAccountId/markets - parameters: - - description: The resource's id - explode: false - in: path - name: avalaraAccountId - required: true - schema: {} - style: simple - responses: - "200": - description: The markets associated to the avalara account - summary: Retrieve the markets associated to the avalara account - tags: - - has_many - - markets - /avalara_accounts/{avalaraAccountId}/attachments: - get: - description: Retrieve the attachments associated to the avalara account - operationId: GET/avalaraAccountId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: avalaraAccountId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the avalara account - summary: Retrieve the attachments associated to the avalara account - tags: - - has_many - - attachments - /avalara_accounts/{avalaraAccountId}/versions: - get: - description: Retrieve the versions associated to the avalara account - operationId: GET/avalaraAccountId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: avalaraAccountId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the avalara account - summary: Retrieve the versions associated to the avalara account - tags: - - has_many - - versions - /avalara_accounts/{avalaraAccountId}/tax_categories: - get: - description: Retrieve the tax categories associated to the avalara account - operationId: GET/avalaraAccountId/tax_categories - parameters: - - description: The resource's id - explode: false - in: path - name: avalaraAccountId - required: true - schema: {} - style: simple - responses: - "200": - description: The tax_categories associated to the avalara account - summary: Retrieve the tax categories associated to the avalara account - tags: - - has_many - - tax_categories - /avalara_accounts/{avalaraAccountId}/events: - get: - description: Retrieve the events associated to the avalara account - operationId: GET/avalaraAccountId/events - parameters: - - description: The resource's id - explode: false - in: path - name: avalaraAccountId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the avalara account - summary: Retrieve the events associated to the avalara account - tags: - - has_many - - events - /axerve_gateways: - get: - description: List all axerve gateways - operationId: GET/axerve_gateways - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_axerve_gateways_200_response' - description: A list of axerve gateway objects - summary: List all axerve gateways - tags: - - axerve_gateways - post: - description: Create an axerve gateway - operationId: POST/axerve_gateways - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/axerveGatewayCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_axerve_gateways_201_response' - description: The created axerve gateway object - summary: Create an axerve gateway - tags: - - axerve_gateways - /axerve_gateways/{axerveGatewayId}: - delete: - description: Delete an axerve gateway - operationId: DELETE/axerve_gateways/axerveGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: axerveGatewayId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete an axerve gateway - tags: - - axerve_gateways - get: - description: Retrieve an axerve gateway - operationId: GET/axerve_gateways/axerveGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: axerveGatewayId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_axerve_gateways_axerveGatewayId_200_response' - description: The axerve gateway object - summary: Retrieve an axerve gateway - tags: - - axerve_gateways - patch: - description: Update an axerve gateway - operationId: PATCH/axerve_gateways/axerveGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: axerveGatewayId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/axerveGatewayUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_axerve_gateways_axerveGatewayId_200_response' - description: The updated axerve gateway object - summary: Update an axerve gateway - tags: - - axerve_gateways - /axerve_gateways/{axerveGatewayId}/payment_methods: - get: - description: Retrieve the payment methods associated to the axerve gateway - operationId: GET/axerveGatewayId/payment_methods - parameters: - - description: The resource's id - explode: false - in: path - name: axerveGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The payment_methods associated to the axerve gateway - summary: Retrieve the payment methods associated to the axerve gateway - tags: - - has_many - - payment_methods - /axerve_gateways/{axerveGatewayId}/versions: - get: - description: Retrieve the versions associated to the axerve gateway - operationId: GET/axerveGatewayId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: axerveGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the axerve gateway - summary: Retrieve the versions associated to the axerve gateway - tags: - - has_many - - versions - /axerve_gateways/{axerveGatewayId}/axerve_payments: - get: - description: Retrieve the axerve payments associated to the axerve gateway - operationId: GET/axerveGatewayId/axerve_payments - parameters: - - description: The resource's id - explode: false - in: path - name: axerveGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The axerve_payments associated to the axerve gateway - summary: Retrieve the axerve payments associated to the axerve gateway - tags: - - has_many - - axerve_payments - /axerve_payments: - get: - description: List all axerve payments - operationId: GET/axerve_payments - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_axerve_payments_200_response' - description: A list of axerve payment objects - summary: List all axerve payments - tags: - - axerve_payments - post: - description: Create an axerve payment - operationId: POST/axerve_payments - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/axervePaymentCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_axerve_payments_201_response' - description: The created axerve payment object - summary: Create an axerve payment - tags: - - axerve_payments - /axerve_payments/{axervePaymentId}: - delete: - description: Delete an axerve payment - operationId: DELETE/axerve_payments/axervePaymentId - parameters: - - description: The resource's id - explode: false - in: path - name: axervePaymentId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete an axerve payment - tags: - - axerve_payments - get: - description: Retrieve an axerve payment - operationId: GET/axerve_payments/axervePaymentId - parameters: - - description: The resource's id - explode: false - in: path - name: axervePaymentId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_axerve_payments_axervePaymentId_200_response' - description: The axerve payment object - summary: Retrieve an axerve payment - tags: - - axerve_payments - patch: - description: Update an axerve payment - operationId: PATCH/axerve_payments/axervePaymentId - parameters: - - description: The resource's id - explode: false - in: path - name: axervePaymentId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/axervePaymentUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_axerve_payments_axervePaymentId_200_response' - description: The updated axerve payment object - summary: Update an axerve payment - tags: - - axerve_payments - /axerve_payments/{axervePaymentId}/order: - get: - description: Retrieve the order associated to the axerve payment - operationId: GET/axervePaymentId/order - parameters: - - description: The resource's id - explode: false - in: path - name: axervePaymentId - required: true - schema: {} - style: simple - responses: - "200": - description: The order associated to the axerve payment - summary: Retrieve the order associated to the axerve payment - tags: - - has_one - - orders - /axerve_payments/{axervePaymentId}/payment_gateway: - get: - description: Retrieve the payment gateway associated to the axerve payment - operationId: GET/axervePaymentId/payment_gateway - parameters: - - description: The resource's id - explode: false - in: path - name: axervePaymentId - required: true - schema: {} - style: simple - responses: - "200": - description: The payment_gateway associated to the axerve payment - summary: Retrieve the payment gateway associated to the axerve payment - tags: - - has_one - - payment_gateways - /axerve_payments/{axervePaymentId}/versions: - get: - description: Retrieve the versions associated to the axerve payment - operationId: GET/axervePaymentId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: axervePaymentId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the axerve payment - summary: Retrieve the versions associated to the axerve payment - tags: - - has_many - - versions - /billing_info_validation_rules: - get: - description: List all billing info validation rules - operationId: GET/billing_info_validation_rules - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_billing_info_validation_rules_200_response' - description: A list of billing info validation rule objects - summary: List all billing info validation rules - tags: - - billing_info_validation_rules - post: - description: Create a billing info validation rule - operationId: POST/billing_info_validation_rules - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/billingInfoValidationRuleCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_billing_info_validation_rules_201_response' - description: The created billing info validation rule object - summary: Create a billing info validation rule - tags: - - billing_info_validation_rules - /billing_info_validation_rules/{billingInfoValidationRuleId}: - delete: - description: Delete a billing info validation rule - operationId: DELETE/billing_info_validation_rules/billingInfoValidationRuleId - parameters: - - description: The resource's id - explode: false - in: path - name: billingInfoValidationRuleId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a billing info validation rule - tags: - - billing_info_validation_rules - get: - description: Retrieve a billing info validation rule - operationId: GET/billing_info_validation_rules/billingInfoValidationRuleId - parameters: - - description: The resource's id - explode: false - in: path - name: billingInfoValidationRuleId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_billing_info_validation_rules_billingInfoValidationRuleId_200_response' - description: The billing info validation rule object - summary: Retrieve a billing info validation rule - tags: - - billing_info_validation_rules - patch: - description: Update a billing info validation rule - operationId: PATCH/billing_info_validation_rules/billingInfoValidationRuleId - parameters: - - description: The resource's id - explode: false - in: path - name: billingInfoValidationRuleId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/billingInfoValidationRuleUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_billing_info_validation_rules_billingInfoValidationRuleId_200_response' - description: The updated billing info validation rule object - summary: Update a billing info validation rule - tags: - - billing_info_validation_rules - /billing_info_validation_rules/{billingInfoValidationRuleId}/market: - get: - description: Retrieve the market associated to the billing info validation rule - operationId: GET/billingInfoValidationRuleId/market - parameters: - - description: The resource's id - explode: false - in: path - name: billingInfoValidationRuleId - required: true - schema: {} - style: simple - responses: - "200": - description: The market associated to the billing info validation rule - summary: Retrieve the market associated to the billing info validation rule - tags: - - has_one - - markets - /billing_info_validation_rules/{billingInfoValidationRuleId}/attachments: - get: - description: Retrieve the attachments associated to the billing info validation - rule - operationId: GET/billingInfoValidationRuleId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: billingInfoValidationRuleId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the billing info validation rule - summary: Retrieve the attachments associated to the billing info validation - rule - tags: - - has_many - - attachments - /billing_info_validation_rules/{billingInfoValidationRuleId}/versions: - get: - description: Retrieve the versions associated to the billing info validation - rule - operationId: GET/billingInfoValidationRuleId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: billingInfoValidationRuleId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the billing info validation rule - summary: Retrieve the versions associated to the billing info validation rule - tags: - - has_many - - versions - /bing_geocoders: - get: - description: List all bing geocoders - operationId: GET/bing_geocoders - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_bing_geocoders_200_response' - description: A list of bing geocoder objects - summary: List all bing geocoders - tags: - - bing_geocoders - post: - description: Create a bing geocoder - operationId: POST/bing_geocoders - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/bingGeocoderCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_bing_geocoders_201_response' - description: The created bing geocoder object - summary: Create a bing geocoder - tags: - - bing_geocoders - /bing_geocoders/{bingGeocoderId}: - delete: - description: Delete a bing geocoder - operationId: DELETE/bing_geocoders/bingGeocoderId - parameters: - - description: The resource's id - explode: false - in: path - name: bingGeocoderId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a bing geocoder - tags: - - bing_geocoders - get: - description: Retrieve a bing geocoder - operationId: GET/bing_geocoders/bingGeocoderId - parameters: - - description: The resource's id - explode: false - in: path - name: bingGeocoderId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_bing_geocoders_bingGeocoderId_200_response' - description: The bing geocoder object - summary: Retrieve a bing geocoder - tags: - - bing_geocoders - patch: - description: Update a bing geocoder - operationId: PATCH/bing_geocoders/bingGeocoderId - parameters: - - description: The resource's id - explode: false - in: path - name: bingGeocoderId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/bingGeocoderUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_bing_geocoders_bingGeocoderId_200_response' - description: The updated bing geocoder object - summary: Update a bing geocoder - tags: - - bing_geocoders - /bing_geocoders/{bingGeocoderId}/markets: - get: - description: Retrieve the markets associated to the bing geocoder - operationId: GET/bingGeocoderId/markets - parameters: - - description: The resource's id - explode: false - in: path - name: bingGeocoderId - required: true - schema: {} - style: simple - responses: - "200": - description: The markets associated to the bing geocoder - summary: Retrieve the markets associated to the bing geocoder - tags: - - has_many - - markets - /bing_geocoders/{bingGeocoderId}/addresses: - get: - description: Retrieve the addresses associated to the bing geocoder - operationId: GET/bingGeocoderId/addresses - parameters: - - description: The resource's id - explode: false - in: path - name: bingGeocoderId - required: true - schema: {} - style: simple - responses: - "200": - description: The addresses associated to the bing geocoder - summary: Retrieve the addresses associated to the bing geocoder - tags: - - has_many - - addresses - /bing_geocoders/{bingGeocoderId}/attachments: - get: - description: Retrieve the attachments associated to the bing geocoder - operationId: GET/bingGeocoderId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: bingGeocoderId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the bing geocoder - summary: Retrieve the attachments associated to the bing geocoder - tags: - - has_many - - attachments - /braintree_gateways: - get: - description: List all braintree gateways - operationId: GET/braintree_gateways - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_braintree_gateways_200_response' - description: A list of braintree gateway objects - summary: List all braintree gateways - tags: - - braintree_gateways - post: - description: Create a braintree gateway - operationId: POST/braintree_gateways - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/braintreeGatewayCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_braintree_gateways_201_response' - description: The created braintree gateway object - summary: Create a braintree gateway - tags: - - braintree_gateways - /braintree_gateways/{braintreeGatewayId}: - delete: - description: Delete a braintree gateway - operationId: DELETE/braintree_gateways/braintreeGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: braintreeGatewayId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a braintree gateway - tags: - - braintree_gateways - get: - description: Retrieve a braintree gateway - operationId: GET/braintree_gateways/braintreeGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: braintreeGatewayId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_braintree_gateways_braintreeGatewayId_200_response' - description: The braintree gateway object - summary: Retrieve a braintree gateway - tags: - - braintree_gateways - patch: - description: Update a braintree gateway - operationId: PATCH/braintree_gateways/braintreeGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: braintreeGatewayId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/braintreeGatewayUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_braintree_gateways_braintreeGatewayId_200_response' - description: The updated braintree gateway object - summary: Update a braintree gateway - tags: - - braintree_gateways - /braintree_gateways/{braintreeGatewayId}/payment_methods: - get: - description: Retrieve the payment methods associated to the braintree gateway - operationId: GET/braintreeGatewayId/payment_methods - parameters: - - description: The resource's id - explode: false - in: path - name: braintreeGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The payment_methods associated to the braintree gateway - summary: Retrieve the payment methods associated to the braintree gateway - tags: - - has_many - - payment_methods - /braintree_gateways/{braintreeGatewayId}/versions: - get: - description: Retrieve the versions associated to the braintree gateway - operationId: GET/braintreeGatewayId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: braintreeGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the braintree gateway - summary: Retrieve the versions associated to the braintree gateway - tags: - - has_many - - versions - /braintree_gateways/{braintreeGatewayId}/braintree_payments: - get: - description: Retrieve the braintree payments associated to the braintree gateway - operationId: GET/braintreeGatewayId/braintree_payments - parameters: - - description: The resource's id - explode: false - in: path - name: braintreeGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The braintree_payments associated to the braintree gateway - summary: Retrieve the braintree payments associated to the braintree gateway - tags: - - has_many - - braintree_payments - /braintree_payments: - get: - description: List all braintree payments - operationId: GET/braintree_payments - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_braintree_payments_200_response' - description: A list of braintree payment objects - summary: List all braintree payments - tags: - - braintree_payments - post: - description: Create a braintree payment - operationId: POST/braintree_payments - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/braintreePaymentCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_braintree_payments_201_response' - description: The created braintree payment object - summary: Create a braintree payment - tags: - - braintree_payments - /braintree_payments/{braintreePaymentId}: - delete: - description: Delete a braintree payment - operationId: DELETE/braintree_payments/braintreePaymentId - parameters: - - description: The resource's id - explode: false - in: path - name: braintreePaymentId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a braintree payment - tags: - - braintree_payments - get: - description: Retrieve a braintree payment - operationId: GET/braintree_payments/braintreePaymentId - parameters: - - description: The resource's id - explode: false - in: path - name: braintreePaymentId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_braintree_payments_braintreePaymentId_200_response' - description: The braintree payment object - summary: Retrieve a braintree payment - tags: - - braintree_payments - patch: - description: Update a braintree payment - operationId: PATCH/braintree_payments/braintreePaymentId - parameters: - - description: The resource's id - explode: false - in: path - name: braintreePaymentId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/braintreePaymentUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_braintree_payments_braintreePaymentId_200_response' - description: The updated braintree payment object - summary: Update a braintree payment - tags: - - braintree_payments - /braintree_payments/{braintreePaymentId}/order: - get: - description: Retrieve the order associated to the braintree payment - operationId: GET/braintreePaymentId/order - parameters: - - description: The resource's id - explode: false - in: path - name: braintreePaymentId - required: true - schema: {} - style: simple - responses: - "200": - description: The order associated to the braintree payment - summary: Retrieve the order associated to the braintree payment - tags: - - has_one - - orders - /braintree_payments/{braintreePaymentId}/payment_gateway: - get: - description: Retrieve the payment gateway associated to the braintree payment - operationId: GET/braintreePaymentId/payment_gateway - parameters: - - description: The resource's id - explode: false - in: path - name: braintreePaymentId - required: true - schema: {} - style: simple - responses: - "200": - description: The payment_gateway associated to the braintree payment - summary: Retrieve the payment gateway associated to the braintree payment - tags: - - has_one - - payment_gateways - /braintree_payments/{braintreePaymentId}/versions: - get: - description: Retrieve the versions associated to the braintree payment - operationId: GET/braintreePaymentId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: braintreePaymentId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the braintree payment - summary: Retrieve the versions associated to the braintree payment - tags: - - has_many - - versions - /bundles: - get: - description: List all bundles - operationId: GET/bundles - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_bundles_200_response' - description: A list of bundle objects - summary: List all bundles - tags: - - bundles - post: - description: Create a bundle - operationId: POST/bundles - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/bundleCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_bundles_201_response' - description: The created bundle object - summary: Create a bundle - tags: - - bundles - /bundles/{bundleId}: - delete: - description: Delete a bundle - operationId: DELETE/bundles/bundleId - parameters: - - description: The resource's id - explode: false - in: path - name: bundleId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a bundle - tags: - - bundles - get: - description: Retrieve a bundle - operationId: GET/bundles/bundleId - parameters: - - description: The resource's id - explode: false - in: path - name: bundleId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_bundles_bundleId_200_response' - description: The bundle object - summary: Retrieve a bundle - tags: - - bundles - patch: - description: Update a bundle - operationId: PATCH/bundles/bundleId - parameters: - - description: The resource's id - explode: false - in: path - name: bundleId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/bundleUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_bundles_bundleId_200_response' - description: The updated bundle object - summary: Update a bundle - tags: - - bundles - /bundles/{bundleId}/market: - get: - description: Retrieve the market associated to the bundle - operationId: GET/bundleId/market - parameters: - - description: The resource's id - explode: false - in: path - name: bundleId - required: true - schema: {} - style: simple - responses: - "200": - description: The market associated to the bundle - summary: Retrieve the market associated to the bundle - tags: - - has_one - - markets - /bundles/{bundleId}/sku_list: - get: - description: Retrieve the sku list associated to the bundle - operationId: GET/bundleId/sku_list - parameters: - - description: The resource's id - explode: false - in: path - name: bundleId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku_list associated to the bundle - summary: Retrieve the sku list associated to the bundle - tags: - - has_one - - sku_lists - /bundles/{bundleId}/skus: - get: - description: Retrieve the skus associated to the bundle - operationId: GET/bundleId/skus - parameters: - - description: The resource's id - explode: false - in: path - name: bundleId - required: true - schema: {} - style: simple - responses: - "200": - description: The skus associated to the bundle - summary: Retrieve the skus associated to the bundle - tags: - - has_many - - skus - /bundles/{bundleId}/attachments: - get: - description: Retrieve the attachments associated to the bundle - operationId: GET/bundleId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: bundleId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the bundle - summary: Retrieve the attachments associated to the bundle - tags: - - has_many - - attachments - /bundles/{bundleId}/events: - get: - description: Retrieve the events associated to the bundle - operationId: GET/bundleId/events - parameters: - - description: The resource's id - explode: false - in: path - name: bundleId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the bundle - summary: Retrieve the events associated to the bundle - tags: - - has_many - - events - /bundles/{bundleId}/tags: - get: - description: Retrieve the tags associated to the bundle - operationId: GET/bundleId/tags - parameters: - - description: The resource's id - explode: false - in: path - name: bundleId - required: true - schema: {} - style: simple - responses: - "200": - description: The tags associated to the bundle - summary: Retrieve the tags associated to the bundle - tags: - - has_many - - tags - /bundles/{bundleId}/versions: - get: - description: Retrieve the versions associated to the bundle - operationId: GET/bundleId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: bundleId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the bundle - summary: Retrieve the versions associated to the bundle - tags: - - has_many - - versions - /buy_x_pay_y_promotions: - get: - description: List all buy x pay y promotions - operationId: GET/buy_x_pay_y_promotions - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_buy_x_pay_y_promotions_200_response' - description: A list of buy x pay y promotion objects - summary: List all buy x pay y promotions - tags: - - buy_x_pay_y_promotions - post: - description: Create a buy x pay y promotion - operationId: POST/buy_x_pay_y_promotions - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/buyXPayYPromotionCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response' - description: The created buy x pay y promotion object - summary: Create a buy x pay y promotion - tags: - - buy_x_pay_y_promotions - /buy_x_pay_y_promotions/{buyXPayYPromotionId}: - delete: - description: Delete a buy x pay y promotion - operationId: DELETE/buy_x_pay_y_promotions/buyXPayYPromotionId - parameters: - - description: The resource's id - explode: false - in: path - name: buyXPayYPromotionId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a buy x pay y promotion - tags: - - buy_x_pay_y_promotions - get: - description: Retrieve a buy x pay y promotion - operationId: GET/buy_x_pay_y_promotions/buyXPayYPromotionId - parameters: - - description: The resource's id - explode: false - in: path - name: buyXPayYPromotionId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_buy_x_pay_y_promotions_buyXPayYPromotionId_200_response' - description: The buy x pay y promotion object - summary: Retrieve a buy x pay y promotion - tags: - - buy_x_pay_y_promotions - patch: - description: Update a buy x pay y promotion - operationId: PATCH/buy_x_pay_y_promotions/buyXPayYPromotionId - parameters: - - description: The resource's id - explode: false - in: path - name: buyXPayYPromotionId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/buyXPayYPromotionUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_buy_x_pay_y_promotions_buyXPayYPromotionId_200_response' - description: The updated buy x pay y promotion object - summary: Update a buy x pay y promotion - tags: - - buy_x_pay_y_promotions - /buy_x_pay_y_promotions/{buyXPayYPromotionId}/market: - get: - description: Retrieve the market associated to the buy x pay y promotion - operationId: GET/buyXPayYPromotionId/market - parameters: - - description: The resource's id - explode: false - in: path - name: buyXPayYPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The market associated to the buy x pay y promotion - summary: Retrieve the market associated to the buy x pay y promotion - tags: - - has_one - - markets - /buy_x_pay_y_promotions/{buyXPayYPromotionId}/order_amount_promotion_rule: - get: - description: Retrieve the order amount promotion rule associated to the buy - x pay y promotion - operationId: GET/buyXPayYPromotionId/order_amount_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: buyXPayYPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The order_amount_promotion_rule associated to the buy x pay - y promotion - summary: Retrieve the order amount promotion rule associated to the buy x pay - y promotion - tags: - - has_one - - order_amount_promotion_rules - /buy_x_pay_y_promotions/{buyXPayYPromotionId}/sku_list_promotion_rule: - get: - description: Retrieve the sku list promotion rule associated to the buy x pay - y promotion - operationId: GET/buyXPayYPromotionId/sku_list_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: buyXPayYPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku_list_promotion_rule associated to the buy x pay y promotion - summary: Retrieve the sku list promotion rule associated to the buy x pay y - promotion - tags: - - has_one - - sku_list_promotion_rules - /buy_x_pay_y_promotions/{buyXPayYPromotionId}/coupon_codes_promotion_rule: - get: - description: Retrieve the coupon codes promotion rule associated to the buy - x pay y promotion - operationId: GET/buyXPayYPromotionId/coupon_codes_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: buyXPayYPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The coupon_codes_promotion_rule associated to the buy x pay - y promotion - summary: Retrieve the coupon codes promotion rule associated to the buy x pay - y promotion - tags: - - has_one - - coupon_codes_promotion_rules - /buy_x_pay_y_promotions/{buyXPayYPromotionId}/custom_promotion_rule: - get: - description: Retrieve the custom promotion rule associated to the buy x pay - y promotion - operationId: GET/buyXPayYPromotionId/custom_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: buyXPayYPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The custom_promotion_rule associated to the buy x pay y promotion - summary: Retrieve the custom promotion rule associated to the buy x pay y promotion - tags: - - has_one - - custom_promotion_rules - /buy_x_pay_y_promotions/{buyXPayYPromotionId}/sku_list: - get: - description: Retrieve the sku list associated to the buy x pay y promotion - operationId: GET/buyXPayYPromotionId/sku_list - parameters: - - description: The resource's id - explode: false - in: path - name: buyXPayYPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku_list associated to the buy x pay y promotion - summary: Retrieve the sku list associated to the buy x pay y promotion - tags: - - has_one - - sku_lists - /buy_x_pay_y_promotions/{buyXPayYPromotionId}/coupons: - get: - description: Retrieve the coupons associated to the buy x pay y promotion - operationId: GET/buyXPayYPromotionId/coupons - parameters: - - description: The resource's id - explode: false - in: path - name: buyXPayYPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The coupons associated to the buy x pay y promotion - summary: Retrieve the coupons associated to the buy x pay y promotion - tags: - - has_many - - coupons - /buy_x_pay_y_promotions/{buyXPayYPromotionId}/attachments: - get: - description: Retrieve the attachments associated to the buy x pay y promotion - operationId: GET/buyXPayYPromotionId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: buyXPayYPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the buy x pay y promotion - summary: Retrieve the attachments associated to the buy x pay y promotion - tags: - - has_many - - attachments - /buy_x_pay_y_promotions/{buyXPayYPromotionId}/events: - get: - description: Retrieve the events associated to the buy x pay y promotion - operationId: GET/buyXPayYPromotionId/events - parameters: - - description: The resource's id - explode: false - in: path - name: buyXPayYPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the buy x pay y promotion - summary: Retrieve the events associated to the buy x pay y promotion - tags: - - has_many - - events - /buy_x_pay_y_promotions/{buyXPayYPromotionId}/tags: - get: - description: Retrieve the tags associated to the buy x pay y promotion - operationId: GET/buyXPayYPromotionId/tags - parameters: - - description: The resource's id - explode: false - in: path - name: buyXPayYPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The tags associated to the buy x pay y promotion - summary: Retrieve the tags associated to the buy x pay y promotion - tags: - - has_many - - tags - /buy_x_pay_y_promotions/{buyXPayYPromotionId}/versions: - get: - description: Retrieve the versions associated to the buy x pay y promotion - operationId: GET/buyXPayYPromotionId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: buyXPayYPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the buy x pay y promotion - summary: Retrieve the versions associated to the buy x pay y promotion - tags: - - has_many - - versions - /buy_x_pay_y_promotions/{buyXPayYPromotionId}/skus: - get: - description: Retrieve the skus associated to the buy x pay y promotion - operationId: GET/buyXPayYPromotionId/skus - parameters: - - description: The resource's id - explode: false - in: path - name: buyXPayYPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The skus associated to the buy x pay y promotion - summary: Retrieve the skus associated to the buy x pay y promotion - tags: - - has_many - - skus - /captures: - get: - description: List all captures - operationId: GET/captures - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_captures_200_response' - description: A list of capture objects - summary: List all captures - tags: - - captures - /captures/{captureId}: - get: - description: Retrieve a capture - operationId: GET/captures/captureId - parameters: - - description: The resource's id - explode: false - in: path - name: captureId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_captures_captureId_200_response' - description: The capture object - summary: Retrieve a capture - tags: - - captures - patch: - description: Update a capture - operationId: PATCH/captures/captureId - parameters: - - description: The resource's id - explode: false - in: path - name: captureId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/captureUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_captures_captureId_200_response' - description: The updated capture object - summary: Update a capture - tags: - - captures - /captures/{captureId}/order: - get: - description: Retrieve the order associated to the capture - operationId: GET/captureId/order - parameters: - - description: The resource's id - explode: false - in: path - name: captureId - required: true - schema: {} - style: simple - responses: - "200": - description: The order associated to the capture - summary: Retrieve the order associated to the capture - tags: - - has_one - - orders - /captures/{captureId}/attachments: - get: - description: Retrieve the attachments associated to the capture - operationId: GET/captureId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: captureId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the capture - summary: Retrieve the attachments associated to the capture - tags: - - has_many - - attachments - /captures/{captureId}/events: - get: - description: Retrieve the events associated to the capture - operationId: GET/captureId/events - parameters: - - description: The resource's id - explode: false - in: path - name: captureId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the capture - summary: Retrieve the events associated to the capture - tags: - - has_many - - events - /captures/{captureId}/versions: - get: - description: Retrieve the versions associated to the capture - operationId: GET/captureId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: captureId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the capture - summary: Retrieve the versions associated to the capture - tags: - - has_many - - versions - /captures/{captureId}/reference_authorization: - get: - description: Retrieve the reference authorization associated to the capture - operationId: GET/captureId/reference_authorization - parameters: - - description: The resource's id - explode: false - in: path - name: captureId - required: true - schema: {} - style: simple - responses: - "200": - description: The reference_authorization associated to the capture - summary: Retrieve the reference authorization associated to the capture - tags: - - has_one - - authorizations - /captures/{captureId}/refunds: - get: - description: Retrieve the refunds associated to the capture - operationId: GET/captureId/refunds - parameters: - - description: The resource's id - explode: false - in: path - name: captureId - required: true - schema: {} - style: simple - responses: - "200": - description: The refunds associated to the capture - summary: Retrieve the refunds associated to the capture - tags: - - has_many - - refunds - /captures/{captureId}/return: - get: - description: Retrieve the return associated to the capture - operationId: GET/captureId/return - parameters: - - description: The resource's id - explode: false - in: path - name: captureId - required: true - schema: {} - style: simple - responses: - "200": - description: The return associated to the capture - summary: Retrieve the return associated to the capture - tags: - - has_one - - returns - /carrier_accounts: - get: - description: List all carrier accounts - operationId: GET/carrier_accounts - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_carrier_accounts_200_response' - description: A list of carrier account objects - summary: List all carrier accounts - tags: - - carrier_accounts - post: - description: Create a carrier account - operationId: POST/carrier_accounts - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/carrierAccountCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_carrier_accounts_201_response' - description: The created carrier account object - summary: Create a carrier account - tags: - - carrier_accounts - /carrier_accounts/{carrierAccountId}: - delete: - description: Delete a carrier account - operationId: DELETE/carrier_accounts/carrierAccountId - parameters: - - description: The resource's id - explode: false - in: path - name: carrierAccountId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a carrier account - tags: - - carrier_accounts - get: - description: Retrieve a carrier account - operationId: GET/carrier_accounts/carrierAccountId - parameters: - - description: The resource's id - explode: false - in: path - name: carrierAccountId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_carrier_accounts_carrierAccountId_200_response' - description: The carrier account object - summary: Retrieve a carrier account - tags: - - carrier_accounts - patch: - description: Update a carrier account - operationId: PATCH/carrier_accounts/carrierAccountId - parameters: - - description: The resource's id - explode: false - in: path - name: carrierAccountId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/carrierAccountUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_carrier_accounts_carrierAccountId_200_response' - description: The updated carrier account object - summary: Update a carrier account - tags: - - carrier_accounts - /carrier_accounts/{carrierAccountId}/market: - get: - description: Retrieve the market associated to the carrier account - operationId: GET/carrierAccountId/market - parameters: - - description: The resource's id - explode: false - in: path - name: carrierAccountId - required: true - schema: {} - style: simple - responses: - "200": - description: The market associated to the carrier account - summary: Retrieve the market associated to the carrier account - tags: - - has_one - - markets - /carrier_accounts/{carrierAccountId}/attachments: - get: - description: Retrieve the attachments associated to the carrier account - operationId: GET/carrierAccountId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: carrierAccountId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the carrier account - summary: Retrieve the attachments associated to the carrier account - tags: - - has_many - - attachments - /carrier_accounts/{carrierAccountId}/versions: - get: - description: Retrieve the versions associated to the carrier account - operationId: GET/carrierAccountId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: carrierAccountId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the carrier account - summary: Retrieve the versions associated to the carrier account - tags: - - has_many - - versions - /checkout_com_gateways: - get: - description: List all checkout.com gateways - operationId: GET/checkout_com_gateways - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_checkout_com_gateways_200_response' - description: A list of checkout.com gateway objects - summary: List all checkout.com gateways - tags: - - checkout_com_gateways - post: - description: Create a checkout.com gateway - operationId: POST/checkout_com_gateways - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/checkoutComGatewayCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_checkout_com_gateways_201_response' - description: The created checkout.com gateway object - summary: Create a checkout.com gateway - tags: - - checkout_com_gateways - /checkout_com_gateways/{checkoutComGatewayId}: - delete: - description: Delete a checkout.com gateway - operationId: DELETE/checkout_com_gateways/checkoutComGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: checkoutComGatewayId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a checkout.com gateway - tags: - - checkout_com_gateways - get: - description: Retrieve a checkout.com gateway - operationId: GET/checkout_com_gateways/checkoutComGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: checkoutComGatewayId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_checkout_com_gateways_checkoutComGatewayId_200_response' - description: The checkout.com gateway object - summary: Retrieve a checkout.com gateway - tags: - - checkout_com_gateways - patch: - description: Update a checkout.com gateway - operationId: PATCH/checkout_com_gateways/checkoutComGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: checkoutComGatewayId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/checkoutComGatewayUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_checkout_com_gateways_checkoutComGatewayId_200_response' - description: The updated checkout.com gateway object - summary: Update a checkout.com gateway - tags: - - checkout_com_gateways - /checkout_com_gateways/{checkoutComGatewayId}/payment_methods: - get: - description: Retrieve the payment methods associated to the checkout.com gateway - operationId: GET/checkoutComGatewayId/payment_methods - parameters: - - description: The resource's id - explode: false - in: path - name: checkoutComGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The payment_methods associated to the checkout.com gateway - summary: Retrieve the payment methods associated to the checkout.com gateway - tags: - - has_many - - payment_methods - /checkout_com_gateways/{checkoutComGatewayId}/versions: - get: - description: Retrieve the versions associated to the checkout.com gateway - operationId: GET/checkoutComGatewayId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: checkoutComGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the checkout.com gateway - summary: Retrieve the versions associated to the checkout.com gateway - tags: - - has_many - - versions - /checkout_com_gateways/{checkoutComGatewayId}/checkout_com_payments: - get: - description: Retrieve the checkout com payments associated to the checkout.com - gateway - operationId: GET/checkoutComGatewayId/checkout_com_payments - parameters: - - description: The resource's id - explode: false - in: path - name: checkoutComGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The checkout_com_payments associated to the checkout.com gateway - summary: Retrieve the checkout com payments associated to the checkout.com gateway - tags: - - has_many - - checkout_com_payments - /checkout_com_payments: - get: - description: List all checkout.com payments - operationId: GET/checkout_com_payments - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_checkout_com_payments_200_response' - description: A list of checkout.com payment objects - summary: List all checkout.com payments - tags: - - checkout_com_payments - post: - description: Create a checkout.com payment - operationId: POST/checkout_com_payments - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/checkoutComPaymentCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_checkout_com_payments_201_response' - description: The created checkout.com payment object - summary: Create a checkout.com payment - tags: - - checkout_com_payments - /checkout_com_payments/{checkoutComPaymentId}: - delete: - description: Delete a checkout.com payment - operationId: DELETE/checkout_com_payments/checkoutComPaymentId - parameters: - - description: The resource's id - explode: false - in: path - name: checkoutComPaymentId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a checkout.com payment - tags: - - checkout_com_payments - get: - description: Retrieve a checkout.com payment - operationId: GET/checkout_com_payments/checkoutComPaymentId - parameters: - - description: The resource's id - explode: false - in: path - name: checkoutComPaymentId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_checkout_com_payments_checkoutComPaymentId_200_response' - description: The checkout.com payment object - summary: Retrieve a checkout.com payment - tags: - - checkout_com_payments - patch: - description: Update a checkout.com payment - operationId: PATCH/checkout_com_payments/checkoutComPaymentId - parameters: - - description: The resource's id - explode: false - in: path - name: checkoutComPaymentId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/checkoutComPaymentUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_checkout_com_payments_checkoutComPaymentId_200_response' - description: The updated checkout.com payment object - summary: Update a checkout.com payment - tags: - - checkout_com_payments - /checkout_com_payments/{checkoutComPaymentId}/order: - get: - description: Retrieve the order associated to the checkout.com payment - operationId: GET/checkoutComPaymentId/order - parameters: - - description: The resource's id - explode: false - in: path - name: checkoutComPaymentId - required: true - schema: {} - style: simple - responses: - "200": - description: The order associated to the checkout.com payment - summary: Retrieve the order associated to the checkout.com payment - tags: - - has_one - - orders - /checkout_com_payments/{checkoutComPaymentId}/payment_gateway: - get: - description: Retrieve the payment gateway associated to the checkout.com payment - operationId: GET/checkoutComPaymentId/payment_gateway - parameters: - - description: The resource's id - explode: false - in: path - name: checkoutComPaymentId - required: true - schema: {} - style: simple - responses: - "200": - description: The payment_gateway associated to the checkout.com payment - summary: Retrieve the payment gateway associated to the checkout.com payment - tags: - - has_one - - payment_gateways - /checkout_com_payments/{checkoutComPaymentId}/versions: - get: - description: Retrieve the versions associated to the checkout.com payment - operationId: GET/checkoutComPaymentId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: checkoutComPaymentId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the checkout.com payment - summary: Retrieve the versions associated to the checkout.com payment - tags: - - has_many - - versions - /cleanups: - get: - description: List all cleanups - operationId: GET/cleanups - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_cleanups_200_response' - description: A list of cleanup objects - summary: List all cleanups - tags: - - cleanups - post: - description: Create a cleanup - operationId: POST/cleanups - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/cleanupCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_cleanups_201_response' - description: The created cleanup object - summary: Create a cleanup - tags: - - cleanups - /cleanups/{cleanupId}: - delete: - description: Delete a cleanup - operationId: DELETE/cleanups/cleanupId - parameters: - - description: The resource's id - explode: false - in: path - name: cleanupId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a cleanup - tags: - - cleanups - get: - description: Retrieve a cleanup - operationId: GET/cleanups/cleanupId - parameters: - - description: The resource's id - explode: false - in: path - name: cleanupId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_cleanups_cleanupId_200_response' - description: The cleanup object - summary: Retrieve a cleanup - tags: - - cleanups - patch: - description: Update a cleanup - operationId: PATCH/cleanups/cleanupId - parameters: - - description: The resource's id - explode: false - in: path - name: cleanupId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/cleanupUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_cleanups_cleanupId_200_response' - description: The updated cleanup object - summary: Update a cleanup - tags: - - cleanups - /cleanups/{cleanupId}/events: - get: - description: Retrieve the events associated to the cleanup - operationId: GET/cleanupId/events - parameters: - - description: The resource's id - explode: false - in: path - name: cleanupId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the cleanup - summary: Retrieve the events associated to the cleanup - tags: - - has_many - - events - /cleanups/{cleanupId}/versions: - get: - description: Retrieve the versions associated to the cleanup - operationId: GET/cleanupId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: cleanupId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the cleanup - summary: Retrieve the versions associated to the cleanup - tags: - - has_many - - versions - /coupon_codes_promotion_rules: - get: - description: List all coupon codes promotion rules - operationId: GET/coupon_codes_promotion_rules - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_coupon_codes_promotion_rules_200_response' - description: A list of coupon codes promotion rule objects - summary: List all coupon codes promotion rules - tags: - - coupon_codes_promotion_rules - post: - description: Create a coupon codes promotion rule - operationId: POST/coupon_codes_promotion_rules - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/couponCodesPromotionRuleCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_coupon_codes_promotion_rules_201_response' - description: The created coupon codes promotion rule object - summary: Create a coupon codes promotion rule - tags: - - coupon_codes_promotion_rules - /coupon_codes_promotion_rules/{couponCodesPromotionRuleId}: - delete: - description: Delete a coupon codes promotion rule - operationId: DELETE/coupon_codes_promotion_rules/couponCodesPromotionRuleId - parameters: - - description: The resource's id - explode: false - in: path - name: couponCodesPromotionRuleId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a coupon codes promotion rule - tags: - - coupon_codes_promotion_rules - get: - description: Retrieve a coupon codes promotion rule - operationId: GET/coupon_codes_promotion_rules/couponCodesPromotionRuleId - parameters: - - description: The resource's id - explode: false - in: path - name: couponCodesPromotionRuleId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_coupon_codes_promotion_rules_couponCodesPromotionRuleId_200_response' - description: The coupon codes promotion rule object - summary: Retrieve a coupon codes promotion rule - tags: - - coupon_codes_promotion_rules - patch: - description: Update a coupon codes promotion rule - operationId: PATCH/coupon_codes_promotion_rules/couponCodesPromotionRuleId - parameters: - - description: The resource's id - explode: false - in: path - name: couponCodesPromotionRuleId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/couponCodesPromotionRuleUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_coupon_codes_promotion_rules_couponCodesPromotionRuleId_200_response' - description: The updated coupon codes promotion rule object - summary: Update a coupon codes promotion rule - tags: - - coupon_codes_promotion_rules - /coupon_codes_promotion_rules/{couponCodesPromotionRuleId}/versions: - get: - description: Retrieve the versions associated to the coupon codes promotion - rule - operationId: GET/couponCodesPromotionRuleId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: couponCodesPromotionRuleId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the coupon codes promotion rule - summary: Retrieve the versions associated to the coupon codes promotion rule - tags: - - has_many - - versions - /coupon_codes_promotion_rules/{couponCodesPromotionRuleId}/coupons: - get: - description: Retrieve the coupons associated to the coupon codes promotion rule - operationId: GET/couponCodesPromotionRuleId/coupons - parameters: - - description: The resource's id - explode: false - in: path - name: couponCodesPromotionRuleId - required: true - schema: {} - style: simple - responses: - "200": - description: The coupons associated to the coupon codes promotion rule - summary: Retrieve the coupons associated to the coupon codes promotion rule - tags: - - has_many - - coupons - /coupon_recipients: - get: - description: List all coupon recipients - operationId: GET/coupon_recipients - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_coupon_recipients_200_response' - description: A list of coupon recipient objects - summary: List all coupon recipients - tags: - - coupon_recipients - post: - description: Create a coupon recipient - operationId: POST/coupon_recipients - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/couponRecipientCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_coupon_recipients_201_response' - description: The created coupon recipient object - summary: Create a coupon recipient - tags: - - coupon_recipients - /coupon_recipients/{couponRecipientId}: - delete: - description: Delete a coupon recipient - operationId: DELETE/coupon_recipients/couponRecipientId - parameters: - - description: The resource's id - explode: false - in: path - name: couponRecipientId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a coupon recipient - tags: - - coupon_recipients - get: - description: Retrieve a coupon recipient - operationId: GET/coupon_recipients/couponRecipientId - parameters: - - description: The resource's id - explode: false - in: path - name: couponRecipientId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_coupon_recipients_couponRecipientId_200_response' - description: The coupon recipient object - summary: Retrieve a coupon recipient - tags: - - coupon_recipients - patch: - description: Update a coupon recipient - operationId: PATCH/coupon_recipients/couponRecipientId - parameters: - - description: The resource's id - explode: false - in: path - name: couponRecipientId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/couponRecipientUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_coupon_recipients_couponRecipientId_200_response' - description: The updated coupon recipient object - summary: Update a coupon recipient - tags: - - coupon_recipients - /coupon_recipients/{couponRecipientId}/customer: - get: - description: Retrieve the customer associated to the coupon recipient - operationId: GET/couponRecipientId/customer - parameters: - - description: The resource's id - explode: false - in: path - name: couponRecipientId - required: true - schema: {} - style: simple - responses: - "200": - description: The customer associated to the coupon recipient - summary: Retrieve the customer associated to the coupon recipient - tags: - - has_one - - customers - /coupon_recipients/{couponRecipientId}/attachments: - get: - description: Retrieve the attachments associated to the coupon recipient - operationId: GET/couponRecipientId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: couponRecipientId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the coupon recipient - summary: Retrieve the attachments associated to the coupon recipient - tags: - - has_many - - attachments - /coupon_recipients/{couponRecipientId}/versions: - get: - description: Retrieve the versions associated to the coupon recipient - operationId: GET/couponRecipientId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: couponRecipientId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the coupon recipient - summary: Retrieve the versions associated to the coupon recipient - tags: - - has_many - - versions - /coupons: - get: - description: List all coupons - operationId: GET/coupons - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_coupons_200_response' - description: A list of coupon objects - summary: List all coupons - tags: - - coupons - post: - description: Create a coupon - operationId: POST/coupons - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/couponCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_coupons_201_response' - description: The created coupon object - summary: Create a coupon - tags: - - coupons - /coupons/{couponId}: - delete: - description: Delete a coupon - operationId: DELETE/coupons/couponId - parameters: - - description: The resource's id - explode: false - in: path - name: couponId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a coupon - tags: - - coupons - get: - description: Retrieve a coupon - operationId: GET/coupons/couponId - parameters: - - description: The resource's id - explode: false - in: path - name: couponId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_coupons_couponId_200_response' - description: The coupon object - summary: Retrieve a coupon - tags: - - coupons - patch: - description: Update a coupon - operationId: PATCH/coupons/couponId - parameters: - - description: The resource's id - explode: false - in: path - name: couponId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/couponUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_coupons_couponId_200_response' - description: The updated coupon object - summary: Update a coupon - tags: - - coupons - /coupons/{couponId}/promotion_rule: - get: - description: Retrieve the promotion rule associated to the coupon - operationId: GET/couponId/promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: couponId - required: true - schema: {} - style: simple - responses: - "200": - description: The promotion_rule associated to the coupon - summary: Retrieve the promotion rule associated to the coupon - tags: - - has_one - - coupon_codes_promotion_rules - /coupons/{couponId}/coupon_recipient: - get: - description: Retrieve the coupon recipient associated to the coupon - operationId: GET/couponId/coupon_recipient - parameters: - - description: The resource's id - explode: false - in: path - name: couponId - required: true - schema: {} - style: simple - responses: - "200": - description: The coupon_recipient associated to the coupon - summary: Retrieve the coupon recipient associated to the coupon - tags: - - has_one - - coupon_recipients - /coupons/{couponId}/events: - get: - description: Retrieve the events associated to the coupon - operationId: GET/couponId/events - parameters: - - description: The resource's id - explode: false - in: path - name: couponId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the coupon - summary: Retrieve the events associated to the coupon - tags: - - has_many - - events - /coupons/{couponId}/tags: - get: - description: Retrieve the tags associated to the coupon - operationId: GET/couponId/tags - parameters: - - description: The resource's id - explode: false - in: path - name: couponId - required: true - schema: {} - style: simple - responses: - "200": - description: The tags associated to the coupon - summary: Retrieve the tags associated to the coupon - tags: - - has_many - - tags - /coupons/{couponId}/versions: - get: - description: Retrieve the versions associated to the coupon - operationId: GET/couponId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: couponId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the coupon - summary: Retrieve the versions associated to the coupon - tags: - - has_many - - versions - /custom_promotion_rules: - get: - description: List all custom promotion rules - operationId: GET/custom_promotion_rules - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_custom_promotion_rules_200_response' - description: A list of custom promotion rule objects - summary: List all custom promotion rules - tags: - - custom_promotion_rules - post: - description: Create a custom promotion rule - operationId: POST/custom_promotion_rules - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/customPromotionRuleCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_custom_promotion_rules_201_response' - description: The created custom promotion rule object - summary: Create a custom promotion rule - tags: - - custom_promotion_rules - /custom_promotion_rules/{customPromotionRuleId}: - delete: - description: Delete a custom promotion rule - operationId: DELETE/custom_promotion_rules/customPromotionRuleId - parameters: - - description: The resource's id - explode: false - in: path - name: customPromotionRuleId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a custom promotion rule - tags: - - custom_promotion_rules - get: - description: Retrieve a custom promotion rule - operationId: GET/custom_promotion_rules/customPromotionRuleId - parameters: - - description: The resource's id - explode: false - in: path - name: customPromotionRuleId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_custom_promotion_rules_customPromotionRuleId_200_response' - description: The custom promotion rule object - summary: Retrieve a custom promotion rule - tags: - - custom_promotion_rules - patch: - description: Update a custom promotion rule - operationId: PATCH/custom_promotion_rules/customPromotionRuleId - parameters: - - description: The resource's id - explode: false - in: path - name: customPromotionRuleId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/customPromotionRuleUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_custom_promotion_rules_customPromotionRuleId_200_response' - description: The updated custom promotion rule object - summary: Update a custom promotion rule - tags: - - custom_promotion_rules - /custom_promotion_rules/{customPromotionRuleId}/versions: - get: - description: Retrieve the versions associated to the custom promotion rule - operationId: GET/customPromotionRuleId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: customPromotionRuleId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the custom promotion rule - summary: Retrieve the versions associated to the custom promotion rule - tags: - - has_many - - versions - /customer_addresses: - get: - description: List all customer addresses - operationId: GET/customer_addresses - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_customer_addresses_200_response' - description: A list of customer address objects - summary: List all customer addresses - tags: - - customer_addresses - post: - description: Create a customer address - operationId: POST/customer_addresses - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/customerAddressCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_customer_addresses_201_response' - description: The created customer address object - summary: Create a customer address - tags: - - customer_addresses - /customer_addresses/{customerAddressId}: - delete: - description: Delete a customer address - operationId: DELETE/customer_addresses/customerAddressId - parameters: - - description: The resource's id - explode: false - in: path - name: customerAddressId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a customer address - tags: - - customer_addresses - get: - description: Retrieve a customer address - operationId: GET/customer_addresses/customerAddressId - parameters: - - description: The resource's id - explode: false - in: path - name: customerAddressId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_customer_addresses_customerAddressId_200_response' - description: The customer address object - summary: Retrieve a customer address - tags: - - customer_addresses - patch: - description: Update a customer address - operationId: PATCH/customer_addresses/customerAddressId - parameters: - - description: The resource's id - explode: false - in: path - name: customerAddressId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/customerAddressUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_customer_addresses_customerAddressId_200_response' - description: The updated customer address object - summary: Update a customer address - tags: - - customer_addresses - /customer_addresses/{customerAddressId}/customer: - get: - description: Retrieve the customer associated to the customer address - operationId: GET/customerAddressId/customer - parameters: - - description: The resource's id - explode: false - in: path - name: customerAddressId - required: true - schema: {} - style: simple - responses: - "200": - description: The customer associated to the customer address - summary: Retrieve the customer associated to the customer address - tags: - - has_one - - customers - /customer_addresses/{customerAddressId}/address: - get: - description: Retrieve the address associated to the customer address - operationId: GET/customerAddressId/address - parameters: - - description: The resource's id - explode: false - in: path - name: customerAddressId - required: true - schema: {} - style: simple - responses: - "200": - description: The address associated to the customer address - summary: Retrieve the address associated to the customer address - tags: - - has_one - - addresses - /customer_addresses/{customerAddressId}/events: - get: - description: Retrieve the events associated to the customer address - operationId: GET/customerAddressId/events - parameters: - - description: The resource's id - explode: false - in: path - name: customerAddressId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the customer address - summary: Retrieve the events associated to the customer address - tags: - - has_many - - events - /customer_addresses/{customerAddressId}/versions: - get: - description: Retrieve the versions associated to the customer address - operationId: GET/customerAddressId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: customerAddressId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the customer address - summary: Retrieve the versions associated to the customer address - tags: - - has_many - - versions - /customer_groups: - get: - description: List all customer groups - operationId: GET/customer_groups - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_customer_groups_200_response' - description: A list of customer group objects - summary: List all customer groups - tags: - - customer_groups - post: - description: Create a customer group - operationId: POST/customer_groups - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/customerGroupCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_customer_groups_201_response' - description: The created customer group object - summary: Create a customer group - tags: - - customer_groups - /customer_groups/{customerGroupId}: - delete: - description: Delete a customer group - operationId: DELETE/customer_groups/customerGroupId - parameters: - - description: The resource's id - explode: false - in: path - name: customerGroupId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a customer group - tags: - - customer_groups - get: - description: Retrieve a customer group - operationId: GET/customer_groups/customerGroupId - parameters: - - description: The resource's id - explode: false - in: path - name: customerGroupId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_customer_groups_customerGroupId_200_response' - description: The customer group object - summary: Retrieve a customer group - tags: - - customer_groups - patch: - description: Update a customer group - operationId: PATCH/customer_groups/customerGroupId - parameters: - - description: The resource's id - explode: false - in: path - name: customerGroupId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/customerGroupUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_customer_groups_customerGroupId_200_response' - description: The updated customer group object - summary: Update a customer group - tags: - - customer_groups - /customer_groups/{customerGroupId}/customers: - get: - description: Retrieve the customers associated to the customer group - operationId: GET/customerGroupId/customers - parameters: - - description: The resource's id - explode: false - in: path - name: customerGroupId - required: true - schema: {} - style: simple - responses: - "200": - description: The customers associated to the customer group - summary: Retrieve the customers associated to the customer group - tags: - - has_many - - customers - /customer_groups/{customerGroupId}/markets: - get: - description: Retrieve the markets associated to the customer group - operationId: GET/customerGroupId/markets - parameters: - - description: The resource's id - explode: false - in: path - name: customerGroupId - required: true - schema: {} - style: simple - responses: - "200": - description: The markets associated to the customer group - summary: Retrieve the markets associated to the customer group - tags: - - has_many - - markets - /customer_groups/{customerGroupId}/attachments: - get: - description: Retrieve the attachments associated to the customer group - operationId: GET/customerGroupId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: customerGroupId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the customer group - summary: Retrieve the attachments associated to the customer group - tags: - - has_many - - attachments - /customer_groups/{customerGroupId}/versions: - get: - description: Retrieve the versions associated to the customer group - operationId: GET/customerGroupId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: customerGroupId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the customer group - summary: Retrieve the versions associated to the customer group - tags: - - has_many - - versions - /customer_password_resets: - get: - description: List all customer password resets - operationId: GET/customer_password_resets - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_customer_password_resets_200_response' - description: A list of customer password reset objects - summary: List all customer password resets - tags: - - customer_password_resets - post: - description: Create a customer password reset - operationId: POST/customer_password_resets - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/customerPasswordResetCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_customer_password_resets_201_response' - description: The created customer password reset object - summary: Create a customer password reset - tags: - - customer_password_resets - /customer_password_resets/{customerPasswordResetId}: - delete: - description: Delete a customer password reset - operationId: DELETE/customer_password_resets/customerPasswordResetId - parameters: - - description: The resource's id - explode: false - in: path - name: customerPasswordResetId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a customer password reset - tags: - - customer_password_resets - get: - description: Retrieve a customer password reset - operationId: GET/customer_password_resets/customerPasswordResetId - parameters: - - description: The resource's id - explode: false - in: path - name: customerPasswordResetId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_customer_password_resets_customerPasswordResetId_200_response' - description: The customer password reset object - summary: Retrieve a customer password reset - tags: - - customer_password_resets - patch: - description: Update a customer password reset - operationId: PATCH/customer_password_resets/customerPasswordResetId - parameters: - - description: The resource's id - explode: false - in: path - name: customerPasswordResetId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/customerPasswordResetUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_customer_password_resets_customerPasswordResetId_200_response' - description: The updated customer password reset object - summary: Update a customer password reset - tags: - - customer_password_resets - /customer_password_resets/{customerPasswordResetId}/customer: - get: - description: Retrieve the customer associated to the customer password reset - operationId: GET/customerPasswordResetId/customer - parameters: - - description: The resource's id - explode: false - in: path - name: customerPasswordResetId - required: true - schema: {} - style: simple - responses: - "200": - description: The customer associated to the customer password reset - summary: Retrieve the customer associated to the customer password reset - tags: - - has_one - - customers - /customer_password_resets/{customerPasswordResetId}/events: - get: - description: Retrieve the events associated to the customer password reset - operationId: GET/customerPasswordResetId/events - parameters: - - description: The resource's id - explode: false - in: path - name: customerPasswordResetId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the customer password reset - summary: Retrieve the events associated to the customer password reset - tags: - - has_many - - events - /customer_payment_sources: - get: - description: List all customer payment sources - operationId: GET/customer_payment_sources - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_customer_payment_sources_200_response' - description: A list of customer payment source objects - summary: List all customer payment sources - tags: - - customer_payment_sources - post: - description: Create a customer payment source - operationId: POST/customer_payment_sources - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/customerPaymentSourceCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_customer_payment_sources_201_response' - description: The created customer payment source object - summary: Create a customer payment source - tags: - - customer_payment_sources - /customer_payment_sources/{customerPaymentSourceId}: - delete: - description: Delete a customer payment source - operationId: DELETE/customer_payment_sources/customerPaymentSourceId - parameters: - - description: The resource's id - explode: false - in: path - name: customerPaymentSourceId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a customer payment source - tags: - - customer_payment_sources - get: - description: Retrieve a customer payment source - operationId: GET/customer_payment_sources/customerPaymentSourceId - parameters: - - description: The resource's id - explode: false - in: path - name: customerPaymentSourceId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_customer_payment_sources_customerPaymentSourceId_200_response' - description: The customer payment source object - summary: Retrieve a customer payment source - tags: - - customer_payment_sources - patch: - description: Update a customer payment source - operationId: PATCH/customer_payment_sources/customerPaymentSourceId - parameters: - - description: The resource's id - explode: false - in: path - name: customerPaymentSourceId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/customerPaymentSourceUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_customer_payment_sources_customerPaymentSourceId_200_response' - description: The updated customer payment source object - summary: Update a customer payment source - tags: - - customer_payment_sources - /customer_payment_sources/{customerPaymentSourceId}/customer: - get: - description: Retrieve the customer associated to the customer payment source - operationId: GET/customerPaymentSourceId/customer - parameters: - - description: The resource's id - explode: false - in: path - name: customerPaymentSourceId - required: true - schema: {} - style: simple - responses: - "200": - description: The customer associated to the customer payment source - summary: Retrieve the customer associated to the customer payment source - tags: - - has_one - - customers - /customer_payment_sources/{customerPaymentSourceId}/payment_method: - get: - description: Retrieve the payment method associated to the customer payment - source - operationId: GET/customerPaymentSourceId/payment_method - parameters: - - description: The resource's id - explode: false - in: path - name: customerPaymentSourceId - required: true - schema: {} - style: simple - responses: - "200": - description: The payment_method associated to the customer payment source - summary: Retrieve the payment method associated to the customer payment source - tags: - - has_one - - payment_methods - /customer_payment_sources/{customerPaymentSourceId}/versions: - get: - description: Retrieve the versions associated to the customer payment source - operationId: GET/customerPaymentSourceId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: customerPaymentSourceId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the customer payment source - summary: Retrieve the versions associated to the customer payment source - tags: - - has_many - - versions - /customer_subscriptions: - get: - description: List all customer subscriptions - operationId: GET/customer_subscriptions - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_customer_subscriptions_200_response' - description: A list of customer subscription objects - summary: List all customer subscriptions - tags: - - customer_subscriptions - post: - description: Create a customer subscription - operationId: POST/customer_subscriptions - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/customerSubscriptionCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_customer_subscriptions_201_response' - description: The created customer subscription object - summary: Create a customer subscription - tags: - - customer_subscriptions - /customer_subscriptions/{customerSubscriptionId}: - delete: - description: Delete a customer subscription - operationId: DELETE/customer_subscriptions/customerSubscriptionId - parameters: - - description: The resource's id - explode: false - in: path - name: customerSubscriptionId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a customer subscription - tags: - - customer_subscriptions - get: - description: Retrieve a customer subscription - operationId: GET/customer_subscriptions/customerSubscriptionId - parameters: - - description: The resource's id - explode: false - in: path - name: customerSubscriptionId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_customer_subscriptions_customerSubscriptionId_200_response' - description: The customer subscription object - summary: Retrieve a customer subscription - tags: - - customer_subscriptions - patch: - description: Update a customer subscription - operationId: PATCH/customer_subscriptions/customerSubscriptionId - parameters: - - description: The resource's id - explode: false - in: path - name: customerSubscriptionId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/customerSubscriptionUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_customer_subscriptions_customerSubscriptionId_200_response' - description: The updated customer subscription object - summary: Update a customer subscription - tags: - - customer_subscriptions - /customer_subscriptions/{customerSubscriptionId}/customer: - get: - description: Retrieve the customer associated to the customer subscription - operationId: GET/customerSubscriptionId/customer - parameters: - - description: The resource's id - explode: false - in: path - name: customerSubscriptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The customer associated to the customer subscription - summary: Retrieve the customer associated to the customer subscription - tags: - - has_one - - customers - /customer_subscriptions/{customerSubscriptionId}/events: - get: - description: Retrieve the events associated to the customer subscription - operationId: GET/customerSubscriptionId/events - parameters: - - description: The resource's id - explode: false - in: path - name: customerSubscriptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the customer subscription - summary: Retrieve the events associated to the customer subscription - tags: - - has_many - - events - /customer_subscriptions/{customerSubscriptionId}/versions: - get: - description: Retrieve the versions associated to the customer subscription - operationId: GET/customerSubscriptionId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: customerSubscriptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the customer subscription - summary: Retrieve the versions associated to the customer subscription - tags: - - has_many - - versions - /customers: - get: - description: List all customers - operationId: GET/customers - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_customers_200_response' - description: A list of customer objects - summary: List all customers - tags: - - customers - post: - description: Create a customer - operationId: POST/customers - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/customerCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_customers_201_response' - description: The created customer object - summary: Create a customer - tags: - - customers - /customers/{customerId}: - delete: - description: Delete a customer - operationId: DELETE/customers/customerId - parameters: - - description: The resource's id - explode: false - in: path - name: customerId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a customer - tags: - - customers - get: - description: Retrieve a customer - operationId: GET/customers/customerId - parameters: - - description: The resource's id - explode: false - in: path - name: customerId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_customers_customerId_200_response' - description: The customer object - summary: Retrieve a customer - tags: - - customers - patch: - description: Update a customer - operationId: PATCH/customers/customerId - parameters: - - description: The resource's id - explode: false - in: path - name: customerId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/customerUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_customers_customerId_200_response' - description: The updated customer object - summary: Update a customer - tags: - - customers - /customers/{customerId}/customer_group: - get: - description: Retrieve the customer group associated to the customer - operationId: GET/customerId/customer_group - parameters: - - description: The resource's id - explode: false - in: path - name: customerId - required: true - schema: {} - style: simple - responses: - "200": - description: The customer_group associated to the customer - summary: Retrieve the customer group associated to the customer - tags: - - has_one - - customer_groups - /customers/{customerId}/customer_addresses: - get: - description: Retrieve the customer addresses associated to the customer - operationId: GET/customerId/customer_addresses - parameters: - - description: The resource's id - explode: false - in: path - name: customerId - required: true - schema: {} - style: simple - responses: - "200": - description: The customer_addresses associated to the customer - summary: Retrieve the customer addresses associated to the customer - tags: - - has_many - - customer_addresses - /customers/{customerId}/customer_payment_sources: - get: - description: Retrieve the customer payment sources associated to the customer - operationId: GET/customerId/customer_payment_sources - parameters: - - description: The resource's id - explode: false - in: path - name: customerId - required: true - schema: {} - style: simple - responses: - "200": - description: The customer_payment_sources associated to the customer - summary: Retrieve the customer payment sources associated to the customer - tags: - - has_many - - customer_payment_sources - /customers/{customerId}/customer_subscriptions: - get: - description: Retrieve the customer subscriptions associated to the customer - operationId: GET/customerId/customer_subscriptions - parameters: - - description: The resource's id - explode: false - in: path - name: customerId - required: true - schema: {} - style: simple - responses: - "200": - description: The customer_subscriptions associated to the customer - summary: Retrieve the customer subscriptions associated to the customer - tags: - - has_many - - customer_subscriptions - /customers/{customerId}/orders: - get: - description: Retrieve the orders associated to the customer - operationId: GET/customerId/orders - parameters: - - description: The resource's id - explode: false - in: path - name: customerId - required: true - schema: {} - style: simple - responses: - "200": - description: The orders associated to the customer - summary: Retrieve the orders associated to the customer - tags: - - has_many - - orders - /customers/{customerId}/order_subscriptions: - get: - description: Retrieve the order subscriptions associated to the customer - operationId: GET/customerId/order_subscriptions - parameters: - - description: The resource's id - explode: false - in: path - name: customerId - required: true - schema: {} - style: simple - responses: - "200": - description: The order_subscriptions associated to the customer - summary: Retrieve the order subscriptions associated to the customer - tags: - - has_many - - order_subscriptions - /customers/{customerId}/returns: - get: - description: Retrieve the returns associated to the customer - operationId: GET/customerId/returns - parameters: - - description: The resource's id - explode: false - in: path - name: customerId - required: true - schema: {} - style: simple - responses: - "200": - description: The returns associated to the customer - summary: Retrieve the returns associated to the customer - tags: - - has_many - - returns - /customers/{customerId}/sku_lists: - get: - description: Retrieve the sku lists associated to the customer - operationId: GET/customerId/sku_lists - parameters: - - description: The resource's id - explode: false - in: path - name: customerId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku_lists associated to the customer - summary: Retrieve the sku lists associated to the customer - tags: - - has_many - - sku_lists - /customers/{customerId}/attachments: - get: - description: Retrieve the attachments associated to the customer - operationId: GET/customerId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: customerId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the customer - summary: Retrieve the attachments associated to the customer - tags: - - has_many - - attachments - /customers/{customerId}/events: - get: - description: Retrieve the events associated to the customer - operationId: GET/customerId/events - parameters: - - description: The resource's id - explode: false - in: path - name: customerId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the customer - summary: Retrieve the events associated to the customer - tags: - - has_many - - events - /customers/{customerId}/tags: - get: - description: Retrieve the tags associated to the customer - operationId: GET/customerId/tags - parameters: - - description: The resource's id - explode: false - in: path - name: customerId - required: true - schema: {} - style: simple - responses: - "200": - description: The tags associated to the customer - summary: Retrieve the tags associated to the customer - tags: - - has_many - - tags - /delivery_lead_times: - get: - description: List all delivery lead times - operationId: GET/delivery_lead_times - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_delivery_lead_times_200_response' - description: A list of delivery lead time objects - summary: List all delivery lead times - tags: - - delivery_lead_times - post: - description: Create a delivery lead time - operationId: POST/delivery_lead_times - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/deliveryLeadTimeCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_delivery_lead_times_201_response' - description: The created delivery lead time object - summary: Create a delivery lead time - tags: - - delivery_lead_times - /delivery_lead_times/{deliveryLeadTimeId}: - delete: - description: Delete a delivery lead time - operationId: DELETE/delivery_lead_times/deliveryLeadTimeId - parameters: - - description: The resource's id - explode: false - in: path - name: deliveryLeadTimeId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a delivery lead time - tags: - - delivery_lead_times - get: - description: Retrieve a delivery lead time - operationId: GET/delivery_lead_times/deliveryLeadTimeId - parameters: - - description: The resource's id - explode: false - in: path - name: deliveryLeadTimeId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_delivery_lead_times_deliveryLeadTimeId_200_response' - description: The delivery lead time object - summary: Retrieve a delivery lead time - tags: - - delivery_lead_times - patch: - description: Update a delivery lead time - operationId: PATCH/delivery_lead_times/deliveryLeadTimeId - parameters: - - description: The resource's id - explode: false - in: path - name: deliveryLeadTimeId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/deliveryLeadTimeUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_delivery_lead_times_deliveryLeadTimeId_200_response' - description: The updated delivery lead time object - summary: Update a delivery lead time - tags: - - delivery_lead_times - /delivery_lead_times/{deliveryLeadTimeId}/stock_location: - get: - description: Retrieve the stock location associated to the delivery lead time - operationId: GET/deliveryLeadTimeId/stock_location - parameters: - - description: The resource's id - explode: false - in: path - name: deliveryLeadTimeId - required: true - schema: {} - style: simple - responses: - "200": - description: The stock_location associated to the delivery lead time - summary: Retrieve the stock location associated to the delivery lead time - tags: - - has_one - - stock_locations - /delivery_lead_times/{deliveryLeadTimeId}/shipping_method: - get: - description: Retrieve the shipping method associated to the delivery lead time - operationId: GET/deliveryLeadTimeId/shipping_method - parameters: - - description: The resource's id - explode: false - in: path - name: deliveryLeadTimeId - required: true - schema: {} - style: simple - responses: - "200": - description: The shipping_method associated to the delivery lead time - summary: Retrieve the shipping method associated to the delivery lead time - tags: - - has_one - - shipping_methods - /delivery_lead_times/{deliveryLeadTimeId}/attachments: - get: - description: Retrieve the attachments associated to the delivery lead time - operationId: GET/deliveryLeadTimeId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: deliveryLeadTimeId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the delivery lead time - summary: Retrieve the attachments associated to the delivery lead time - tags: - - has_many - - attachments - /delivery_lead_times/{deliveryLeadTimeId}/versions: - get: - description: Retrieve the versions associated to the delivery lead time - operationId: GET/deliveryLeadTimeId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: deliveryLeadTimeId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the delivery lead time - summary: Retrieve the versions associated to the delivery lead time - tags: - - has_many - - versions - /event_callbacks: - get: - description: List all event callbacks - operationId: GET/event_callbacks - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_event_callbacks_200_response' - description: A list of event callback objects - summary: List all event callbacks - tags: - - event_callbacks - /event_callbacks/{eventCallbackId}: - get: - description: Retrieve an event callback - operationId: GET/event_callbacks/eventCallbackId - parameters: - - description: The resource's id - explode: false - in: path - name: eventCallbackId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_event_callbacks_eventCallbackId_200_response' - description: The event callback object - summary: Retrieve an event callback - tags: - - event_callbacks - /event_callbacks/{eventCallbackId}/webhook: - get: - description: Retrieve the webhook associated to the event callback - operationId: GET/eventCallbackId/webhook - parameters: - - description: The resource's id - explode: false - in: path - name: eventCallbackId - required: true - schema: {} - style: simple - responses: - "200": - description: The webhook associated to the event callback - summary: Retrieve the webhook associated to the event callback - tags: - - has_one - - webhooks - /events: - get: - description: List all events - operationId: GET/events - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_events_200_response' - description: A list of event objects - summary: List all events - tags: - - events - /events/{eventId}: - get: - description: Retrieve an event - operationId: GET/events/eventId - parameters: - - description: The resource's id - explode: false - in: path - name: eventId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_events_eventId_200_response' - description: The event object - summary: Retrieve an event - tags: - - events - patch: - description: Update an event - operationId: PATCH/events/eventId - parameters: - - description: The resource's id - explode: false - in: path - name: eventId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/eventUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_events_eventId_200_response' - description: The updated event object - summary: Update an event - tags: - - events - /events/{eventId}/webhooks: - get: - description: Retrieve the webhooks associated to the event - operationId: GET/eventId/webhooks - parameters: - - description: The resource's id - explode: false - in: path - name: eventId - required: true - schema: {} - style: simple - responses: - "200": - description: The webhooks associated to the event - summary: Retrieve the webhooks associated to the event - tags: - - has_many - - webhooks - /events/{eventId}/last_event_callbacks: - get: - description: Retrieve the last event callbacks associated to the event - operationId: GET/eventId/last_event_callbacks - parameters: - - description: The resource's id - explode: false - in: path - name: eventId - required: true - schema: {} - style: simple - responses: - "200": - description: The last_event_callbacks associated to the event - summary: Retrieve the last event callbacks associated to the event - tags: - - has_many - - event_callbacks - /exports: - get: - description: List all exports - operationId: GET/exports - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_exports_200_response' - description: A list of export objects - summary: List all exports - tags: - - exports - post: - description: Create an export - operationId: POST/exports - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/exportCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_exports_201_response' - description: The created export object - summary: Create an export - tags: - - exports - /exports/{exportId}: - delete: - description: Delete an export - operationId: DELETE/exports/exportId - parameters: - - description: The resource's id - explode: false - in: path - name: exportId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete an export - tags: - - exports - get: - description: Retrieve an export - operationId: GET/exports/exportId - parameters: - - description: The resource's id - explode: false - in: path - name: exportId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_exports_exportId_200_response' - description: The export object - summary: Retrieve an export - tags: - - exports - patch: - description: Update an export - operationId: PATCH/exports/exportId - parameters: - - description: The resource's id - explode: false - in: path - name: exportId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/exportUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_exports_exportId_200_response' - description: The updated export object - summary: Update an export - tags: - - exports - /exports/{exportId}/events: - get: - description: Retrieve the events associated to the export - operationId: GET/exportId/events - parameters: - - description: The resource's id - explode: false - in: path - name: exportId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the export - summary: Retrieve the events associated to the export - tags: - - has_many - - events - /external_gateways: - get: - description: List all external gateways - operationId: GET/external_gateways - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_external_gateways_200_response' - description: A list of external gateway objects - summary: List all external gateways - tags: - - external_gateways - post: - description: Create an external gateway - operationId: POST/external_gateways - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/externalGatewayCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_external_gateways_201_response' - description: The created external gateway object - summary: Create an external gateway - tags: - - external_gateways - /external_gateways/{externalGatewayId}: - delete: - description: Delete an external gateway - operationId: DELETE/external_gateways/externalGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: externalGatewayId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete an external gateway - tags: - - external_gateways - get: - description: Retrieve an external gateway - operationId: GET/external_gateways/externalGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: externalGatewayId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_external_gateways_externalGatewayId_200_response' - description: The external gateway object - summary: Retrieve an external gateway - tags: - - external_gateways - patch: - description: Update an external gateway - operationId: PATCH/external_gateways/externalGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: externalGatewayId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/externalGatewayUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_external_gateways_externalGatewayId_200_response' - description: The updated external gateway object - summary: Update an external gateway - tags: - - external_gateways - /external_gateways/{externalGatewayId}/payment_methods: - get: - description: Retrieve the payment methods associated to the external gateway - operationId: GET/externalGatewayId/payment_methods - parameters: - - description: The resource's id - explode: false - in: path - name: externalGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The payment_methods associated to the external gateway - summary: Retrieve the payment methods associated to the external gateway - tags: - - has_many - - payment_methods - /external_gateways/{externalGatewayId}/versions: - get: - description: Retrieve the versions associated to the external gateway - operationId: GET/externalGatewayId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: externalGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the external gateway - summary: Retrieve the versions associated to the external gateway - tags: - - has_many - - versions - /external_gateways/{externalGatewayId}/external_payments: - get: - description: Retrieve the external payments associated to the external gateway - operationId: GET/externalGatewayId/external_payments - parameters: - - description: The resource's id - explode: false - in: path - name: externalGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The external_payments associated to the external gateway - summary: Retrieve the external payments associated to the external gateway - tags: - - has_many - - external_payments - /external_payments: - get: - description: List all external payments - operationId: GET/external_payments - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_external_payments_200_response' - description: A list of external payment objects - summary: List all external payments - tags: - - external_payments - post: - description: Create an external payment - operationId: POST/external_payments - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/externalPaymentCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_external_payments_201_response' - description: The created external payment object - summary: Create an external payment - tags: - - external_payments - /external_payments/{externalPaymentId}: - delete: - description: Delete an external payment - operationId: DELETE/external_payments/externalPaymentId - parameters: - - description: The resource's id - explode: false - in: path - name: externalPaymentId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete an external payment - tags: - - external_payments - get: - description: Retrieve an external payment - operationId: GET/external_payments/externalPaymentId - parameters: - - description: The resource's id - explode: false - in: path - name: externalPaymentId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_external_payments_externalPaymentId_200_response' - description: The external payment object - summary: Retrieve an external payment - tags: - - external_payments - patch: - description: Update an external payment - operationId: PATCH/external_payments/externalPaymentId - parameters: - - description: The resource's id - explode: false - in: path - name: externalPaymentId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/externalPaymentUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_external_payments_externalPaymentId_200_response' - description: The updated external payment object - summary: Update an external payment - tags: - - external_payments - /external_payments/{externalPaymentId}/order: - get: - description: Retrieve the order associated to the external payment - operationId: GET/externalPaymentId/order - parameters: - - description: The resource's id - explode: false - in: path - name: externalPaymentId - required: true - schema: {} - style: simple - responses: - "200": - description: The order associated to the external payment - summary: Retrieve the order associated to the external payment - tags: - - has_one - - orders - /external_payments/{externalPaymentId}/payment_gateway: - get: - description: Retrieve the payment gateway associated to the external payment - operationId: GET/externalPaymentId/payment_gateway - parameters: - - description: The resource's id - explode: false - in: path - name: externalPaymentId - required: true - schema: {} - style: simple - responses: - "200": - description: The payment_gateway associated to the external payment - summary: Retrieve the payment gateway associated to the external payment - tags: - - has_one - - payment_gateways - /external_payments/{externalPaymentId}/wallet: - get: - description: Retrieve the wallet associated to the external payment - operationId: GET/externalPaymentId/wallet - parameters: - - description: The resource's id - explode: false - in: path - name: externalPaymentId - required: true - schema: {} - style: simple - responses: - "200": - description: The wallet associated to the external payment - summary: Retrieve the wallet associated to the external payment - tags: - - has_one - - customer_payment_sources - /external_payments/{externalPaymentId}/versions: - get: - description: Retrieve the versions associated to the external payment - operationId: GET/externalPaymentId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: externalPaymentId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the external payment - summary: Retrieve the versions associated to the external payment - tags: - - has_many - - versions - /external_promotions: - get: - description: List all external promotions - operationId: GET/external_promotions - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_external_promotions_200_response' - description: A list of external promotion objects - summary: List all external promotions - tags: - - external_promotions - post: - description: Create an external promotion - operationId: POST/external_promotions - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/externalPromotionCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_external_promotions_201_response' - description: The created external promotion object - summary: Create an external promotion - tags: - - external_promotions - /external_promotions/{externalPromotionId}: - delete: - description: Delete an external promotion - operationId: DELETE/external_promotions/externalPromotionId - parameters: - - description: The resource's id - explode: false - in: path - name: externalPromotionId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete an external promotion - tags: - - external_promotions - get: - description: Retrieve an external promotion - operationId: GET/external_promotions/externalPromotionId - parameters: - - description: The resource's id - explode: false - in: path - name: externalPromotionId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_external_promotions_externalPromotionId_200_response' - description: The external promotion object - summary: Retrieve an external promotion - tags: - - external_promotions - patch: - description: Update an external promotion - operationId: PATCH/external_promotions/externalPromotionId - parameters: - - description: The resource's id - explode: false - in: path - name: externalPromotionId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/externalPromotionUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_external_promotions_externalPromotionId_200_response' - description: The updated external promotion object - summary: Update an external promotion - tags: - - external_promotions - /external_promotions/{externalPromotionId}/market: - get: - description: Retrieve the market associated to the external promotion - operationId: GET/externalPromotionId/market - parameters: - - description: The resource's id - explode: false - in: path - name: externalPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The market associated to the external promotion - summary: Retrieve the market associated to the external promotion - tags: - - has_one - - markets - /external_promotions/{externalPromotionId}/order_amount_promotion_rule: - get: - description: Retrieve the order amount promotion rule associated to the external - promotion - operationId: GET/externalPromotionId/order_amount_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: externalPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The order_amount_promotion_rule associated to the external - promotion - summary: Retrieve the order amount promotion rule associated to the external - promotion - tags: - - has_one - - order_amount_promotion_rules - /external_promotions/{externalPromotionId}/sku_list_promotion_rule: - get: - description: Retrieve the sku list promotion rule associated to the external - promotion - operationId: GET/externalPromotionId/sku_list_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: externalPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku_list_promotion_rule associated to the external promotion - summary: Retrieve the sku list promotion rule associated to the external promotion - tags: - - has_one - - sku_list_promotion_rules - /external_promotions/{externalPromotionId}/coupon_codes_promotion_rule: - get: - description: Retrieve the coupon codes promotion rule associated to the external - promotion - operationId: GET/externalPromotionId/coupon_codes_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: externalPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The coupon_codes_promotion_rule associated to the external - promotion - summary: Retrieve the coupon codes promotion rule associated to the external - promotion - tags: - - has_one - - coupon_codes_promotion_rules - /external_promotions/{externalPromotionId}/custom_promotion_rule: - get: - description: Retrieve the custom promotion rule associated to the external promotion - operationId: GET/externalPromotionId/custom_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: externalPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The custom_promotion_rule associated to the external promotion - summary: Retrieve the custom promotion rule associated to the external promotion - tags: - - has_one - - custom_promotion_rules - /external_promotions/{externalPromotionId}/sku_list: - get: - description: Retrieve the sku list associated to the external promotion - operationId: GET/externalPromotionId/sku_list - parameters: - - description: The resource's id - explode: false - in: path - name: externalPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku_list associated to the external promotion - summary: Retrieve the sku list associated to the external promotion - tags: - - has_one - - sku_lists - /external_promotions/{externalPromotionId}/coupons: - get: - description: Retrieve the coupons associated to the external promotion - operationId: GET/externalPromotionId/coupons - parameters: - - description: The resource's id - explode: false - in: path - name: externalPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The coupons associated to the external promotion - summary: Retrieve the coupons associated to the external promotion - tags: - - has_many - - coupons - /external_promotions/{externalPromotionId}/attachments: - get: - description: Retrieve the attachments associated to the external promotion - operationId: GET/externalPromotionId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: externalPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the external promotion - summary: Retrieve the attachments associated to the external promotion - tags: - - has_many - - attachments - /external_promotions/{externalPromotionId}/events: - get: - description: Retrieve the events associated to the external promotion - operationId: GET/externalPromotionId/events - parameters: - - description: The resource's id - explode: false - in: path - name: externalPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the external promotion - summary: Retrieve the events associated to the external promotion - tags: - - has_many - - events - /external_promotions/{externalPromotionId}/tags: - get: - description: Retrieve the tags associated to the external promotion - operationId: GET/externalPromotionId/tags - parameters: - - description: The resource's id - explode: false - in: path - name: externalPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The tags associated to the external promotion - summary: Retrieve the tags associated to the external promotion - tags: - - has_many - - tags - /external_promotions/{externalPromotionId}/versions: - get: - description: Retrieve the versions associated to the external promotion - operationId: GET/externalPromotionId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: externalPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the external promotion - summary: Retrieve the versions associated to the external promotion - tags: - - has_many - - versions - /external_promotions/{externalPromotionId}/skus: - get: - description: Retrieve the skus associated to the external promotion - operationId: GET/externalPromotionId/skus - parameters: - - description: The resource's id - explode: false - in: path - name: externalPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The skus associated to the external promotion - summary: Retrieve the skus associated to the external promotion - tags: - - has_many - - skus - /external_tax_calculators: - get: - description: List all external tax calculators - operationId: GET/external_tax_calculators - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_external_tax_calculators_200_response' - description: A list of external tax calculator objects - summary: List all external tax calculators - tags: - - external_tax_calculators - post: - description: Create an external tax calculator - operationId: POST/external_tax_calculators - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/externalTaxCalculatorCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_external_tax_calculators_201_response' - description: The created external tax calculator object - summary: Create an external tax calculator - tags: - - external_tax_calculators - /external_tax_calculators/{externalTaxCalculatorId}: - delete: - description: Delete an external tax calculator - operationId: DELETE/external_tax_calculators/externalTaxCalculatorId - parameters: - - description: The resource's id - explode: false - in: path - name: externalTaxCalculatorId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete an external tax calculator - tags: - - external_tax_calculators - get: - description: Retrieve an external tax calculator - operationId: GET/external_tax_calculators/externalTaxCalculatorId - parameters: - - description: The resource's id - explode: false - in: path - name: externalTaxCalculatorId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_external_tax_calculators_externalTaxCalculatorId_200_response' - description: The external tax calculator object - summary: Retrieve an external tax calculator - tags: - - external_tax_calculators - patch: - description: Update an external tax calculator - operationId: PATCH/external_tax_calculators/externalTaxCalculatorId - parameters: - - description: The resource's id - explode: false - in: path - name: externalTaxCalculatorId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/externalTaxCalculatorUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_external_tax_calculators_externalTaxCalculatorId_200_response' - description: The updated external tax calculator object - summary: Update an external tax calculator - tags: - - external_tax_calculators - /external_tax_calculators/{externalTaxCalculatorId}/markets: - get: - description: Retrieve the markets associated to the external tax calculator - operationId: GET/externalTaxCalculatorId/markets - parameters: - - description: The resource's id - explode: false - in: path - name: externalTaxCalculatorId - required: true - schema: {} - style: simple - responses: - "200": - description: The markets associated to the external tax calculator - summary: Retrieve the markets associated to the external tax calculator - tags: - - has_many - - markets - /external_tax_calculators/{externalTaxCalculatorId}/attachments: - get: - description: Retrieve the attachments associated to the external tax calculator - operationId: GET/externalTaxCalculatorId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: externalTaxCalculatorId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the external tax calculator - summary: Retrieve the attachments associated to the external tax calculator - tags: - - has_many - - attachments - /external_tax_calculators/{externalTaxCalculatorId}/versions: - get: - description: Retrieve the versions associated to the external tax calculator - operationId: GET/externalTaxCalculatorId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: externalTaxCalculatorId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the external tax calculator - summary: Retrieve the versions associated to the external tax calculator - tags: - - has_many - - versions - /fixed_amount_promotions: - get: - description: List all fixed amount promotions - operationId: GET/fixed_amount_promotions - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_fixed_amount_promotions_200_response' - description: A list of fixed amount promotion objects - summary: List all fixed amount promotions - tags: - - fixed_amount_promotions - post: - description: Create a fixed amount promotion - operationId: POST/fixed_amount_promotions - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/fixedAmountPromotionCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_fixed_amount_promotions_201_response' - description: The created fixed amount promotion object - summary: Create a fixed amount promotion - tags: - - fixed_amount_promotions - /fixed_amount_promotions/{fixedAmountPromotionId}: - delete: - description: Delete a fixed amount promotion - operationId: DELETE/fixed_amount_promotions/fixedAmountPromotionId - parameters: - - description: The resource's id - explode: false - in: path - name: fixedAmountPromotionId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a fixed amount promotion - tags: - - fixed_amount_promotions - get: - description: Retrieve a fixed amount promotion - operationId: GET/fixed_amount_promotions/fixedAmountPromotionId - parameters: - - description: The resource's id - explode: false - in: path - name: fixedAmountPromotionId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_fixed_amount_promotions_fixedAmountPromotionId_200_response' - description: The fixed amount promotion object - summary: Retrieve a fixed amount promotion - tags: - - fixed_amount_promotions - patch: - description: Update a fixed amount promotion - operationId: PATCH/fixed_amount_promotions/fixedAmountPromotionId - parameters: - - description: The resource's id - explode: false - in: path - name: fixedAmountPromotionId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/fixedAmountPromotionUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_fixed_amount_promotions_fixedAmountPromotionId_200_response' - description: The updated fixed amount promotion object - summary: Update a fixed amount promotion - tags: - - fixed_amount_promotions - /fixed_amount_promotions/{fixedAmountPromotionId}/market: - get: - description: Retrieve the market associated to the fixed amount promotion - operationId: GET/fixedAmountPromotionId/market - parameters: - - description: The resource's id - explode: false - in: path - name: fixedAmountPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The market associated to the fixed amount promotion - summary: Retrieve the market associated to the fixed amount promotion - tags: - - has_one - - markets - /fixed_amount_promotions/{fixedAmountPromotionId}/order_amount_promotion_rule: - get: - description: Retrieve the order amount promotion rule associated to the fixed - amount promotion - operationId: GET/fixedAmountPromotionId/order_amount_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: fixedAmountPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The order_amount_promotion_rule associated to the fixed amount - promotion - summary: Retrieve the order amount promotion rule associated to the fixed amount - promotion - tags: - - has_one - - order_amount_promotion_rules - /fixed_amount_promotions/{fixedAmountPromotionId}/sku_list_promotion_rule: - get: - description: Retrieve the sku list promotion rule associated to the fixed amount - promotion - operationId: GET/fixedAmountPromotionId/sku_list_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: fixedAmountPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku_list_promotion_rule associated to the fixed amount - promotion - summary: Retrieve the sku list promotion rule associated to the fixed amount - promotion - tags: - - has_one - - sku_list_promotion_rules - /fixed_amount_promotions/{fixedAmountPromotionId}/coupon_codes_promotion_rule: - get: - description: Retrieve the coupon codes promotion rule associated to the fixed - amount promotion - operationId: GET/fixedAmountPromotionId/coupon_codes_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: fixedAmountPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The coupon_codes_promotion_rule associated to the fixed amount - promotion - summary: Retrieve the coupon codes promotion rule associated to the fixed amount - promotion - tags: - - has_one - - coupon_codes_promotion_rules - /fixed_amount_promotions/{fixedAmountPromotionId}/custom_promotion_rule: - get: - description: Retrieve the custom promotion rule associated to the fixed amount - promotion - operationId: GET/fixedAmountPromotionId/custom_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: fixedAmountPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The custom_promotion_rule associated to the fixed amount promotion - summary: Retrieve the custom promotion rule associated to the fixed amount promotion - tags: - - has_one - - custom_promotion_rules - /fixed_amount_promotions/{fixedAmountPromotionId}/sku_list: - get: - description: Retrieve the sku list associated to the fixed amount promotion - operationId: GET/fixedAmountPromotionId/sku_list - parameters: - - description: The resource's id - explode: false - in: path - name: fixedAmountPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku_list associated to the fixed amount promotion - summary: Retrieve the sku list associated to the fixed amount promotion - tags: - - has_one - - sku_lists - /fixed_amount_promotions/{fixedAmountPromotionId}/coupons: - get: - description: Retrieve the coupons associated to the fixed amount promotion - operationId: GET/fixedAmountPromotionId/coupons - parameters: - - description: The resource's id - explode: false - in: path - name: fixedAmountPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The coupons associated to the fixed amount promotion - summary: Retrieve the coupons associated to the fixed amount promotion - tags: - - has_many - - coupons - /fixed_amount_promotions/{fixedAmountPromotionId}/attachments: - get: - description: Retrieve the attachments associated to the fixed amount promotion - operationId: GET/fixedAmountPromotionId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: fixedAmountPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the fixed amount promotion - summary: Retrieve the attachments associated to the fixed amount promotion - tags: - - has_many - - attachments - /fixed_amount_promotions/{fixedAmountPromotionId}/events: - get: - description: Retrieve the events associated to the fixed amount promotion - operationId: GET/fixedAmountPromotionId/events - parameters: - - description: The resource's id - explode: false - in: path - name: fixedAmountPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the fixed amount promotion - summary: Retrieve the events associated to the fixed amount promotion - tags: - - has_many - - events - /fixed_amount_promotions/{fixedAmountPromotionId}/tags: - get: - description: Retrieve the tags associated to the fixed amount promotion - operationId: GET/fixedAmountPromotionId/tags - parameters: - - description: The resource's id - explode: false - in: path - name: fixedAmountPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The tags associated to the fixed amount promotion - summary: Retrieve the tags associated to the fixed amount promotion - tags: - - has_many - - tags - /fixed_amount_promotions/{fixedAmountPromotionId}/versions: - get: - description: Retrieve the versions associated to the fixed amount promotion - operationId: GET/fixedAmountPromotionId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: fixedAmountPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the fixed amount promotion - summary: Retrieve the versions associated to the fixed amount promotion - tags: - - has_many - - versions - /fixed_amount_promotions/{fixedAmountPromotionId}/skus: - get: - description: Retrieve the skus associated to the fixed amount promotion - operationId: GET/fixedAmountPromotionId/skus - parameters: - - description: The resource's id - explode: false - in: path - name: fixedAmountPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The skus associated to the fixed amount promotion - summary: Retrieve the skus associated to the fixed amount promotion - tags: - - has_many - - skus - /fixed_price_promotions: - get: - description: List all fixed price promotions - operationId: GET/fixed_price_promotions - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_fixed_price_promotions_200_response' - description: A list of fixed price promotion objects - summary: List all fixed price promotions - tags: - - fixed_price_promotions - post: - description: Create a fixed price promotion - operationId: POST/fixed_price_promotions - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/fixedPricePromotionCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_fixed_price_promotions_201_response' - description: The created fixed price promotion object - summary: Create a fixed price promotion - tags: - - fixed_price_promotions - /fixed_price_promotions/{fixedPricePromotionId}: - delete: - description: Delete a fixed price promotion - operationId: DELETE/fixed_price_promotions/fixedPricePromotionId - parameters: - - description: The resource's id - explode: false - in: path - name: fixedPricePromotionId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a fixed price promotion - tags: - - fixed_price_promotions - get: - description: Retrieve a fixed price promotion - operationId: GET/fixed_price_promotions/fixedPricePromotionId - parameters: - - description: The resource's id - explode: false - in: path - name: fixedPricePromotionId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_fixed_price_promotions_fixedPricePromotionId_200_response' - description: The fixed price promotion object - summary: Retrieve a fixed price promotion - tags: - - fixed_price_promotions - patch: - description: Update a fixed price promotion - operationId: PATCH/fixed_price_promotions/fixedPricePromotionId - parameters: - - description: The resource's id - explode: false - in: path - name: fixedPricePromotionId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/fixedPricePromotionUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_fixed_price_promotions_fixedPricePromotionId_200_response' - description: The updated fixed price promotion object - summary: Update a fixed price promotion - tags: - - fixed_price_promotions - /fixed_price_promotions/{fixedPricePromotionId}/market: - get: - description: Retrieve the market associated to the fixed price promotion - operationId: GET/fixedPricePromotionId/market - parameters: - - description: The resource's id - explode: false - in: path - name: fixedPricePromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The market associated to the fixed price promotion - summary: Retrieve the market associated to the fixed price promotion - tags: - - has_one - - markets - /fixed_price_promotions/{fixedPricePromotionId}/order_amount_promotion_rule: - get: - description: Retrieve the order amount promotion rule associated to the fixed - price promotion - operationId: GET/fixedPricePromotionId/order_amount_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: fixedPricePromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The order_amount_promotion_rule associated to the fixed price - promotion - summary: Retrieve the order amount promotion rule associated to the fixed price - promotion - tags: - - has_one - - order_amount_promotion_rules - /fixed_price_promotions/{fixedPricePromotionId}/sku_list_promotion_rule: - get: - description: Retrieve the sku list promotion rule associated to the fixed price - promotion - operationId: GET/fixedPricePromotionId/sku_list_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: fixedPricePromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku_list_promotion_rule associated to the fixed price promotion - summary: Retrieve the sku list promotion rule associated to the fixed price - promotion - tags: - - has_one - - sku_list_promotion_rules - /fixed_price_promotions/{fixedPricePromotionId}/coupon_codes_promotion_rule: - get: - description: Retrieve the coupon codes promotion rule associated to the fixed - price promotion - operationId: GET/fixedPricePromotionId/coupon_codes_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: fixedPricePromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The coupon_codes_promotion_rule associated to the fixed price - promotion - summary: Retrieve the coupon codes promotion rule associated to the fixed price - promotion - tags: - - has_one - - coupon_codes_promotion_rules - /fixed_price_promotions/{fixedPricePromotionId}/custom_promotion_rule: - get: - description: Retrieve the custom promotion rule associated to the fixed price - promotion - operationId: GET/fixedPricePromotionId/custom_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: fixedPricePromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The custom_promotion_rule associated to the fixed price promotion - summary: Retrieve the custom promotion rule associated to the fixed price promotion - tags: - - has_one - - custom_promotion_rules - /fixed_price_promotions/{fixedPricePromotionId}/sku_list: - get: - description: Retrieve the sku list associated to the fixed price promotion - operationId: GET/fixedPricePromotionId/sku_list - parameters: - - description: The resource's id - explode: false - in: path - name: fixedPricePromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku_list associated to the fixed price promotion - summary: Retrieve the sku list associated to the fixed price promotion - tags: - - has_one - - sku_lists - /fixed_price_promotions/{fixedPricePromotionId}/coupons: - get: - description: Retrieve the coupons associated to the fixed price promotion - operationId: GET/fixedPricePromotionId/coupons - parameters: - - description: The resource's id - explode: false - in: path - name: fixedPricePromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The coupons associated to the fixed price promotion - summary: Retrieve the coupons associated to the fixed price promotion - tags: - - has_many - - coupons - /fixed_price_promotions/{fixedPricePromotionId}/attachments: - get: - description: Retrieve the attachments associated to the fixed price promotion - operationId: GET/fixedPricePromotionId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: fixedPricePromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the fixed price promotion - summary: Retrieve the attachments associated to the fixed price promotion - tags: - - has_many - - attachments - /fixed_price_promotions/{fixedPricePromotionId}/events: - get: - description: Retrieve the events associated to the fixed price promotion - operationId: GET/fixedPricePromotionId/events - parameters: - - description: The resource's id - explode: false - in: path - name: fixedPricePromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the fixed price promotion - summary: Retrieve the events associated to the fixed price promotion - tags: - - has_many - - events - /fixed_price_promotions/{fixedPricePromotionId}/tags: - get: - description: Retrieve the tags associated to the fixed price promotion - operationId: GET/fixedPricePromotionId/tags - parameters: - - description: The resource's id - explode: false - in: path - name: fixedPricePromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The tags associated to the fixed price promotion - summary: Retrieve the tags associated to the fixed price promotion - tags: - - has_many - - tags - /fixed_price_promotions/{fixedPricePromotionId}/versions: - get: - description: Retrieve the versions associated to the fixed price promotion - operationId: GET/fixedPricePromotionId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: fixedPricePromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the fixed price promotion - summary: Retrieve the versions associated to the fixed price promotion - tags: - - has_many - - versions - /fixed_price_promotions/{fixedPricePromotionId}/skus: - get: - description: Retrieve the skus associated to the fixed price promotion - operationId: GET/fixedPricePromotionId/skus - parameters: - - description: The resource's id - explode: false - in: path - name: fixedPricePromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The skus associated to the fixed price promotion - summary: Retrieve the skus associated to the fixed price promotion - tags: - - has_many - - skus - /flex_promotions: - get: - description: List all flex promotions - operationId: GET/flex_promotions - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_flex_promotions_200_response' - description: A list of flex promotion objects - summary: List all flex promotions - tags: - - flex_promotions - post: - description: Create a flex promotion - operationId: POST/flex_promotions - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/flexPromotionCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_flex_promotions_201_response' - description: The created flex promotion object - summary: Create a flex promotion - tags: - - flex_promotions - /flex_promotions/{flexPromotionId}: - delete: - description: Delete a flex promotion - operationId: DELETE/flex_promotions/flexPromotionId - parameters: - - description: The resource's id - explode: false - in: path - name: flexPromotionId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a flex promotion - tags: - - flex_promotions - get: - description: Retrieve a flex promotion - operationId: GET/flex_promotions/flexPromotionId - parameters: - - description: The resource's id - explode: false - in: path - name: flexPromotionId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_flex_promotions_flexPromotionId_200_response' - description: The flex promotion object - summary: Retrieve a flex promotion - tags: - - flex_promotions - patch: - description: Update a flex promotion - operationId: PATCH/flex_promotions/flexPromotionId - parameters: - - description: The resource's id - explode: false - in: path - name: flexPromotionId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/flexPromotionUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_flex_promotions_flexPromotionId_200_response' - description: The updated flex promotion object - summary: Update a flex promotion - tags: - - flex_promotions - /flex_promotions/{flexPromotionId}/coupon_codes_promotion_rule: - get: - description: Retrieve the coupon codes promotion rule associated to the flex - promotion - operationId: GET/flexPromotionId/coupon_codes_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: flexPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The coupon_codes_promotion_rule associated to the flex promotion - summary: Retrieve the coupon codes promotion rule associated to the flex promotion - tags: - - has_one - - coupon_codes_promotion_rules - /flex_promotions/{flexPromotionId}/coupons: - get: - description: Retrieve the coupons associated to the flex promotion - operationId: GET/flexPromotionId/coupons - parameters: - - description: The resource's id - explode: false - in: path - name: flexPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The coupons associated to the flex promotion - summary: Retrieve the coupons associated to the flex promotion - tags: - - has_many - - coupons - /flex_promotions/{flexPromotionId}/attachments: - get: - description: Retrieve the attachments associated to the flex promotion - operationId: GET/flexPromotionId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: flexPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the flex promotion - summary: Retrieve the attachments associated to the flex promotion - tags: - - has_many - - attachments - /flex_promotions/{flexPromotionId}/events: - get: - description: Retrieve the events associated to the flex promotion - operationId: GET/flexPromotionId/events - parameters: - - description: The resource's id - explode: false - in: path - name: flexPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the flex promotion - summary: Retrieve the events associated to the flex promotion - tags: - - has_many - - events - /flex_promotions/{flexPromotionId}/tags: - get: - description: Retrieve the tags associated to the flex promotion - operationId: GET/flexPromotionId/tags - parameters: - - description: The resource's id - explode: false - in: path - name: flexPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The tags associated to the flex promotion - summary: Retrieve the tags associated to the flex promotion - tags: - - has_many - - tags - /flex_promotions/{flexPromotionId}/versions: - get: - description: Retrieve the versions associated to the flex promotion - operationId: GET/flexPromotionId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: flexPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the flex promotion - summary: Retrieve the versions associated to the flex promotion - tags: - - has_many - - versions - /free_gift_promotions: - get: - description: List all free gift promotions - operationId: GET/free_gift_promotions - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_free_gift_promotions_200_response' - description: A list of free gift promotion objects - summary: List all free gift promotions - tags: - - free_gift_promotions - post: - description: Create a free gift promotion - operationId: POST/free_gift_promotions - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/freeGiftPromotionCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_free_gift_promotions_201_response' - description: The created free gift promotion object - summary: Create a free gift promotion - tags: - - free_gift_promotions - /free_gift_promotions/{freeGiftPromotionId}: - delete: - description: Delete a free gift promotion - operationId: DELETE/free_gift_promotions/freeGiftPromotionId - parameters: - - description: The resource's id - explode: false - in: path - name: freeGiftPromotionId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a free gift promotion - tags: - - free_gift_promotions - get: - description: Retrieve a free gift promotion - operationId: GET/free_gift_promotions/freeGiftPromotionId - parameters: - - description: The resource's id - explode: false - in: path - name: freeGiftPromotionId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_free_gift_promotions_freeGiftPromotionId_200_response' - description: The free gift promotion object - summary: Retrieve a free gift promotion - tags: - - free_gift_promotions - patch: - description: Update a free gift promotion - operationId: PATCH/free_gift_promotions/freeGiftPromotionId - parameters: - - description: The resource's id - explode: false - in: path - name: freeGiftPromotionId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/freeGiftPromotionUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_free_gift_promotions_freeGiftPromotionId_200_response' - description: The updated free gift promotion object - summary: Update a free gift promotion - tags: - - free_gift_promotions - /free_gift_promotions/{freeGiftPromotionId}/market: - get: - description: Retrieve the market associated to the free gift promotion - operationId: GET/freeGiftPromotionId/market - parameters: - - description: The resource's id - explode: false - in: path - name: freeGiftPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The market associated to the free gift promotion - summary: Retrieve the market associated to the free gift promotion - tags: - - has_one - - markets - /free_gift_promotions/{freeGiftPromotionId}/order_amount_promotion_rule: - get: - description: Retrieve the order amount promotion rule associated to the free - gift promotion - operationId: GET/freeGiftPromotionId/order_amount_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: freeGiftPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The order_amount_promotion_rule associated to the free gift - promotion - summary: Retrieve the order amount promotion rule associated to the free gift - promotion - tags: - - has_one - - order_amount_promotion_rules - /free_gift_promotions/{freeGiftPromotionId}/sku_list_promotion_rule: - get: - description: Retrieve the sku list promotion rule associated to the free gift - promotion - operationId: GET/freeGiftPromotionId/sku_list_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: freeGiftPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku_list_promotion_rule associated to the free gift promotion - summary: Retrieve the sku list promotion rule associated to the free gift promotion - tags: - - has_one - - sku_list_promotion_rules - /free_gift_promotions/{freeGiftPromotionId}/coupon_codes_promotion_rule: - get: - description: Retrieve the coupon codes promotion rule associated to the free - gift promotion - operationId: GET/freeGiftPromotionId/coupon_codes_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: freeGiftPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The coupon_codes_promotion_rule associated to the free gift - promotion - summary: Retrieve the coupon codes promotion rule associated to the free gift - promotion - tags: - - has_one - - coupon_codes_promotion_rules - /free_gift_promotions/{freeGiftPromotionId}/custom_promotion_rule: - get: - description: Retrieve the custom promotion rule associated to the free gift - promotion - operationId: GET/freeGiftPromotionId/custom_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: freeGiftPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The custom_promotion_rule associated to the free gift promotion - summary: Retrieve the custom promotion rule associated to the free gift promotion - tags: - - has_one - - custom_promotion_rules - /free_gift_promotions/{freeGiftPromotionId}/sku_list: - get: - description: Retrieve the sku list associated to the free gift promotion - operationId: GET/freeGiftPromotionId/sku_list - parameters: - - description: The resource's id - explode: false - in: path - name: freeGiftPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku_list associated to the free gift promotion - summary: Retrieve the sku list associated to the free gift promotion - tags: - - has_one - - sku_lists - /free_gift_promotions/{freeGiftPromotionId}/coupons: - get: - description: Retrieve the coupons associated to the free gift promotion - operationId: GET/freeGiftPromotionId/coupons - parameters: - - description: The resource's id - explode: false - in: path - name: freeGiftPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The coupons associated to the free gift promotion - summary: Retrieve the coupons associated to the free gift promotion - tags: - - has_many - - coupons - /free_gift_promotions/{freeGiftPromotionId}/attachments: - get: - description: Retrieve the attachments associated to the free gift promotion - operationId: GET/freeGiftPromotionId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: freeGiftPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the free gift promotion - summary: Retrieve the attachments associated to the free gift promotion - tags: - - has_many - - attachments - /free_gift_promotions/{freeGiftPromotionId}/events: - get: - description: Retrieve the events associated to the free gift promotion - operationId: GET/freeGiftPromotionId/events - parameters: - - description: The resource's id - explode: false - in: path - name: freeGiftPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the free gift promotion - summary: Retrieve the events associated to the free gift promotion - tags: - - has_many - - events - /free_gift_promotions/{freeGiftPromotionId}/tags: - get: - description: Retrieve the tags associated to the free gift promotion - operationId: GET/freeGiftPromotionId/tags - parameters: - - description: The resource's id - explode: false - in: path - name: freeGiftPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The tags associated to the free gift promotion - summary: Retrieve the tags associated to the free gift promotion - tags: - - has_many - - tags - /free_gift_promotions/{freeGiftPromotionId}/versions: - get: - description: Retrieve the versions associated to the free gift promotion - operationId: GET/freeGiftPromotionId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: freeGiftPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the free gift promotion - summary: Retrieve the versions associated to the free gift promotion - tags: - - has_many - - versions - /free_gift_promotions/{freeGiftPromotionId}/skus: - get: - description: Retrieve the skus associated to the free gift promotion - operationId: GET/freeGiftPromotionId/skus - parameters: - - description: The resource's id - explode: false - in: path - name: freeGiftPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The skus associated to the free gift promotion - summary: Retrieve the skus associated to the free gift promotion - tags: - - has_many - - skus - /free_shipping_promotions: - get: - description: List all free shipping promotions - operationId: GET/free_shipping_promotions - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_free_shipping_promotions_200_response' - description: A list of free shipping promotion objects - summary: List all free shipping promotions - tags: - - free_shipping_promotions - post: - description: Create a free shipping promotion - operationId: POST/free_shipping_promotions - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/freeShippingPromotionCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_free_shipping_promotions_201_response' - description: The created free shipping promotion object - summary: Create a free shipping promotion - tags: - - free_shipping_promotions - /free_shipping_promotions/{freeShippingPromotionId}: - delete: - description: Delete a free shipping promotion - operationId: DELETE/free_shipping_promotions/freeShippingPromotionId - parameters: - - description: The resource's id - explode: false - in: path - name: freeShippingPromotionId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a free shipping promotion - tags: - - free_shipping_promotions - get: - description: Retrieve a free shipping promotion - operationId: GET/free_shipping_promotions/freeShippingPromotionId - parameters: - - description: The resource's id - explode: false - in: path - name: freeShippingPromotionId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_free_shipping_promotions_freeShippingPromotionId_200_response' - description: The free shipping promotion object - summary: Retrieve a free shipping promotion - tags: - - free_shipping_promotions - patch: - description: Update a free shipping promotion - operationId: PATCH/free_shipping_promotions/freeShippingPromotionId - parameters: - - description: The resource's id - explode: false - in: path - name: freeShippingPromotionId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/freeShippingPromotionUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_free_shipping_promotions_freeShippingPromotionId_200_response' - description: The updated free shipping promotion object - summary: Update a free shipping promotion - tags: - - free_shipping_promotions - /free_shipping_promotions/{freeShippingPromotionId}/market: - get: - description: Retrieve the market associated to the free shipping promotion - operationId: GET/freeShippingPromotionId/market - parameters: - - description: The resource's id - explode: false - in: path - name: freeShippingPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The market associated to the free shipping promotion - summary: Retrieve the market associated to the free shipping promotion - tags: - - has_one - - markets - /free_shipping_promotions/{freeShippingPromotionId}/order_amount_promotion_rule: - get: - description: Retrieve the order amount promotion rule associated to the free - shipping promotion - operationId: GET/freeShippingPromotionId/order_amount_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: freeShippingPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The order_amount_promotion_rule associated to the free shipping - promotion - summary: Retrieve the order amount promotion rule associated to the free shipping - promotion - tags: - - has_one - - order_amount_promotion_rules - /free_shipping_promotions/{freeShippingPromotionId}/sku_list_promotion_rule: - get: - description: Retrieve the sku list promotion rule associated to the free shipping - promotion - operationId: GET/freeShippingPromotionId/sku_list_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: freeShippingPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku_list_promotion_rule associated to the free shipping - promotion - summary: Retrieve the sku list promotion rule associated to the free shipping - promotion - tags: - - has_one - - sku_list_promotion_rules - /free_shipping_promotions/{freeShippingPromotionId}/coupon_codes_promotion_rule: - get: - description: Retrieve the coupon codes promotion rule associated to the free - shipping promotion - operationId: GET/freeShippingPromotionId/coupon_codes_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: freeShippingPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The coupon_codes_promotion_rule associated to the free shipping - promotion - summary: Retrieve the coupon codes promotion rule associated to the free shipping - promotion - tags: - - has_one - - coupon_codes_promotion_rules - /free_shipping_promotions/{freeShippingPromotionId}/custom_promotion_rule: - get: - description: Retrieve the custom promotion rule associated to the free shipping - promotion - operationId: GET/freeShippingPromotionId/custom_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: freeShippingPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The custom_promotion_rule associated to the free shipping promotion - summary: Retrieve the custom promotion rule associated to the free shipping - promotion - tags: - - has_one - - custom_promotion_rules - /free_shipping_promotions/{freeShippingPromotionId}/sku_list: - get: - description: Retrieve the sku list associated to the free shipping promotion - operationId: GET/freeShippingPromotionId/sku_list - parameters: - - description: The resource's id - explode: false - in: path - name: freeShippingPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku_list associated to the free shipping promotion - summary: Retrieve the sku list associated to the free shipping promotion - tags: - - has_one - - sku_lists - /free_shipping_promotions/{freeShippingPromotionId}/coupons: - get: - description: Retrieve the coupons associated to the free shipping promotion - operationId: GET/freeShippingPromotionId/coupons - parameters: - - description: The resource's id - explode: false - in: path - name: freeShippingPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The coupons associated to the free shipping promotion - summary: Retrieve the coupons associated to the free shipping promotion - tags: - - has_many - - coupons - /free_shipping_promotions/{freeShippingPromotionId}/attachments: - get: - description: Retrieve the attachments associated to the free shipping promotion - operationId: GET/freeShippingPromotionId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: freeShippingPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the free shipping promotion - summary: Retrieve the attachments associated to the free shipping promotion - tags: - - has_many - - attachments - /free_shipping_promotions/{freeShippingPromotionId}/events: - get: - description: Retrieve the events associated to the free shipping promotion - operationId: GET/freeShippingPromotionId/events - parameters: - - description: The resource's id - explode: false - in: path - name: freeShippingPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the free shipping promotion - summary: Retrieve the events associated to the free shipping promotion - tags: - - has_many - - events - /free_shipping_promotions/{freeShippingPromotionId}/tags: - get: - description: Retrieve the tags associated to the free shipping promotion - operationId: GET/freeShippingPromotionId/tags - parameters: - - description: The resource's id - explode: false - in: path - name: freeShippingPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The tags associated to the free shipping promotion - summary: Retrieve the tags associated to the free shipping promotion - tags: - - has_many - - tags - /free_shipping_promotions/{freeShippingPromotionId}/versions: - get: - description: Retrieve the versions associated to the free shipping promotion - operationId: GET/freeShippingPromotionId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: freeShippingPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the free shipping promotion - summary: Retrieve the versions associated to the free shipping promotion - tags: - - has_many - - versions - /geocoders: - get: - description: List all geocoders - operationId: GET/geocoders - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_geocoders_200_response' - description: A list of geocoder objects - summary: List all geocoders - tags: - - geocoders - /geocoders/{geocoderId}: - get: - description: Retrieve a geocoder - operationId: GET/geocoders/geocoderId - parameters: - - description: The resource's id - explode: false - in: path - name: geocoderId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_geocoders_geocoderId_200_response' - description: The geocoder object - summary: Retrieve a geocoder - tags: - - geocoders - /geocoders/{geocoderId}/markets: - get: - description: Retrieve the markets associated to the geocoder - operationId: GET/geocoderId/markets - parameters: - - description: The resource's id - explode: false - in: path - name: geocoderId - required: true - schema: {} - style: simple - responses: - "200": - description: The markets associated to the geocoder - summary: Retrieve the markets associated to the geocoder - tags: - - has_many - - markets - /geocoders/{geocoderId}/addresses: - get: - description: Retrieve the addresses associated to the geocoder - operationId: GET/geocoderId/addresses - parameters: - - description: The resource's id - explode: false - in: path - name: geocoderId - required: true - schema: {} - style: simple - responses: - "200": - description: The addresses associated to the geocoder - summary: Retrieve the addresses associated to the geocoder - tags: - - has_many - - addresses - /geocoders/{geocoderId}/attachments: - get: - description: Retrieve the attachments associated to the geocoder - operationId: GET/geocoderId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: geocoderId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the geocoder - summary: Retrieve the attachments associated to the geocoder - tags: - - has_many - - attachments - /gift_card_recipients: - get: - description: List all gift card recipients - operationId: GET/gift_card_recipients - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_gift_card_recipients_200_response' - description: A list of gift card recipient objects - summary: List all gift card recipients - tags: - - gift_card_recipients - post: - description: Create a gift card recipient - operationId: POST/gift_card_recipients - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/giftCardRecipientCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_gift_card_recipients_201_response' - description: The created gift card recipient object - summary: Create a gift card recipient - tags: - - gift_card_recipients - /gift_card_recipients/{giftCardRecipientId}: - delete: - description: Delete a gift card recipient - operationId: DELETE/gift_card_recipients/giftCardRecipientId - parameters: - - description: The resource's id - explode: false - in: path - name: giftCardRecipientId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a gift card recipient - tags: - - gift_card_recipients - get: - description: Retrieve a gift card recipient - operationId: GET/gift_card_recipients/giftCardRecipientId - parameters: - - description: The resource's id - explode: false - in: path - name: giftCardRecipientId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_gift_card_recipients_giftCardRecipientId_200_response' - description: The gift card recipient object - summary: Retrieve a gift card recipient - tags: - - gift_card_recipients - patch: - description: Update a gift card recipient - operationId: PATCH/gift_card_recipients/giftCardRecipientId - parameters: - - description: The resource's id - explode: false - in: path - name: giftCardRecipientId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/giftCardRecipientUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_gift_card_recipients_giftCardRecipientId_200_response' - description: The updated gift card recipient object - summary: Update a gift card recipient - tags: - - gift_card_recipients - /gift_card_recipients/{giftCardRecipientId}/customer: - get: - description: Retrieve the customer associated to the gift card recipient - operationId: GET/giftCardRecipientId/customer - parameters: - - description: The resource's id - explode: false - in: path - name: giftCardRecipientId - required: true - schema: {} - style: simple - responses: - "200": - description: The customer associated to the gift card recipient - summary: Retrieve the customer associated to the gift card recipient - tags: - - has_one - - customers - /gift_card_recipients/{giftCardRecipientId}/attachments: - get: - description: Retrieve the attachments associated to the gift card recipient - operationId: GET/giftCardRecipientId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: giftCardRecipientId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the gift card recipient - summary: Retrieve the attachments associated to the gift card recipient - tags: - - has_many - - attachments - /gift_card_recipients/{giftCardRecipientId}/versions: - get: - description: Retrieve the versions associated to the gift card recipient - operationId: GET/giftCardRecipientId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: giftCardRecipientId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the gift card recipient - summary: Retrieve the versions associated to the gift card recipient - tags: - - has_many - - versions - /gift_cards: - get: - description: List all gift cards - operationId: GET/gift_cards - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_gift_cards_200_response' - description: A list of gift card objects - summary: List all gift cards - tags: - - gift_cards - post: - description: Create a gift card - operationId: POST/gift_cards - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/giftCardCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_gift_cards_201_response' - description: The created gift card object - summary: Create a gift card - tags: - - gift_cards - /gift_cards/{giftCardId}: - delete: - description: Delete a gift card - operationId: DELETE/gift_cards/giftCardId - parameters: - - description: The resource's id - explode: false - in: path - name: giftCardId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a gift card - tags: - - gift_cards - get: - description: Retrieve a gift card - operationId: GET/gift_cards/giftCardId - parameters: - - description: The resource's id - explode: false - in: path - name: giftCardId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_gift_cards_giftCardId_200_response' - description: The gift card object - summary: Retrieve a gift card - tags: - - gift_cards - patch: - description: Update a gift card - operationId: PATCH/gift_cards/giftCardId - parameters: - - description: The resource's id - explode: false - in: path - name: giftCardId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/giftCardUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_gift_cards_giftCardId_200_response' - description: The updated gift card object - summary: Update a gift card - tags: - - gift_cards - /gift_cards/{giftCardId}/market: - get: - description: Retrieve the market associated to the gift card - operationId: GET/giftCardId/market - parameters: - - description: The resource's id - explode: false - in: path - name: giftCardId - required: true - schema: {} - style: simple - responses: - "200": - description: The market associated to the gift card - summary: Retrieve the market associated to the gift card - tags: - - has_one - - markets - /gift_cards/{giftCardId}/gift_card_recipient: - get: - description: Retrieve the gift card recipient associated to the gift card - operationId: GET/giftCardId/gift_card_recipient - parameters: - - description: The resource's id - explode: false - in: path - name: giftCardId - required: true - schema: {} - style: simple - responses: - "200": - description: The gift_card_recipient associated to the gift card - summary: Retrieve the gift card recipient associated to the gift card - tags: - - has_one - - gift_card_recipients - /gift_cards/{giftCardId}/attachments: - get: - description: Retrieve the attachments associated to the gift card - operationId: GET/giftCardId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: giftCardId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the gift card - summary: Retrieve the attachments associated to the gift card - tags: - - has_many - - attachments - /gift_cards/{giftCardId}/events: - get: - description: Retrieve the events associated to the gift card - operationId: GET/giftCardId/events - parameters: - - description: The resource's id - explode: false - in: path - name: giftCardId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the gift card - summary: Retrieve the events associated to the gift card - tags: - - has_many - - events - /gift_cards/{giftCardId}/tags: - get: - description: Retrieve the tags associated to the gift card - operationId: GET/giftCardId/tags - parameters: - - description: The resource's id - explode: false - in: path - name: giftCardId - required: true - schema: {} - style: simple - responses: - "200": - description: The tags associated to the gift card - summary: Retrieve the tags associated to the gift card - tags: - - has_many - - tags - /gift_cards/{giftCardId}/versions: - get: - description: Retrieve the versions associated to the gift card - operationId: GET/giftCardId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: giftCardId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the gift card - summary: Retrieve the versions associated to the gift card - tags: - - has_many - - versions - /google_geocoders: - get: - description: List all google geocoders - operationId: GET/google_geocoders - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_google_geocoders_200_response' - description: A list of google geocoder objects - summary: List all google geocoders - tags: - - google_geocoders - post: - description: Create a google geocoder - operationId: POST/google_geocoders - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/googleGeocoderCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_google_geocoders_201_response' - description: The created google geocoder object - summary: Create a google geocoder - tags: - - google_geocoders - /google_geocoders/{googleGeocoderId}: - delete: - description: Delete a google geocoder - operationId: DELETE/google_geocoders/googleGeocoderId - parameters: - - description: The resource's id - explode: false - in: path - name: googleGeocoderId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a google geocoder - tags: - - google_geocoders - get: - description: Retrieve a google geocoder - operationId: GET/google_geocoders/googleGeocoderId - parameters: - - description: The resource's id - explode: false - in: path - name: googleGeocoderId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_google_geocoders_googleGeocoderId_200_response' - description: The google geocoder object - summary: Retrieve a google geocoder - tags: - - google_geocoders - patch: - description: Update a google geocoder - operationId: PATCH/google_geocoders/googleGeocoderId - parameters: - - description: The resource's id - explode: false - in: path - name: googleGeocoderId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/googleGeocoderUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_google_geocoders_googleGeocoderId_200_response' - description: The updated google geocoder object - summary: Update a google geocoder - tags: - - google_geocoders - /google_geocoders/{googleGeocoderId}/markets: - get: - description: Retrieve the markets associated to the google geocoder - operationId: GET/googleGeocoderId/markets - parameters: - - description: The resource's id - explode: false - in: path - name: googleGeocoderId - required: true - schema: {} - style: simple - responses: - "200": - description: The markets associated to the google geocoder - summary: Retrieve the markets associated to the google geocoder - tags: - - has_many - - markets - /google_geocoders/{googleGeocoderId}/addresses: - get: - description: Retrieve the addresses associated to the google geocoder - operationId: GET/googleGeocoderId/addresses - parameters: - - description: The resource's id - explode: false - in: path - name: googleGeocoderId - required: true - schema: {} - style: simple - responses: - "200": - description: The addresses associated to the google geocoder - summary: Retrieve the addresses associated to the google geocoder - tags: - - has_many - - addresses - /google_geocoders/{googleGeocoderId}/attachments: - get: - description: Retrieve the attachments associated to the google geocoder - operationId: GET/googleGeocoderId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: googleGeocoderId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the google geocoder - summary: Retrieve the attachments associated to the google geocoder - tags: - - has_many - - attachments - /imports: - get: - description: List all imports - operationId: GET/imports - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_imports_200_response' - description: A list of import objects - summary: List all imports - tags: - - imports - post: - description: Create an import - operationId: POST/imports - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/importCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_imports_201_response' - description: The created import object - summary: Create an import - tags: - - imports - /imports/{importId}: - delete: - description: Delete an import - operationId: DELETE/imports/importId - parameters: - - description: The resource's id - explode: false - in: path - name: importId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete an import - tags: - - imports - get: - description: Retrieve an import - operationId: GET/imports/importId - parameters: - - description: The resource's id - explode: false - in: path - name: importId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_imports_importId_200_response' - description: The import object - summary: Retrieve an import - tags: - - imports - patch: - description: Update an import - operationId: PATCH/imports/importId - parameters: - - description: The resource's id - explode: false - in: path - name: importId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/importUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_imports_importId_200_response' - description: The updated import object - summary: Update an import - tags: - - imports - /imports/{importId}/events: - get: - description: Retrieve the events associated to the import - operationId: GET/importId/events - parameters: - - description: The resource's id - explode: false - in: path - name: importId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the import - summary: Retrieve the events associated to the import - tags: - - has_many - - events - /in_stock_subscriptions: - get: - description: List all in stock subscriptions - operationId: GET/in_stock_subscriptions - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_in_stock_subscriptions_200_response' - description: A list of in stock subscription objects - summary: List all in stock subscriptions - tags: - - in_stock_subscriptions - post: - description: Create an in stock subscription - operationId: POST/in_stock_subscriptions - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/inStockSubscriptionCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_in_stock_subscriptions_201_response' - description: The created in stock subscription object - summary: Create an in stock subscription - tags: - - in_stock_subscriptions - /in_stock_subscriptions/{inStockSubscriptionId}: - delete: - description: Delete an in stock subscription - operationId: DELETE/in_stock_subscriptions/inStockSubscriptionId - parameters: - - description: The resource's id - explode: false - in: path - name: inStockSubscriptionId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete an in stock subscription - tags: - - in_stock_subscriptions - get: - description: Retrieve an in stock subscription - operationId: GET/in_stock_subscriptions/inStockSubscriptionId - parameters: - - description: The resource's id - explode: false - in: path - name: inStockSubscriptionId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_in_stock_subscriptions_inStockSubscriptionId_200_response' - description: The in stock subscription object - summary: Retrieve an in stock subscription - tags: - - in_stock_subscriptions - patch: - description: Update an in stock subscription - operationId: PATCH/in_stock_subscriptions/inStockSubscriptionId - parameters: - - description: The resource's id - explode: false - in: path - name: inStockSubscriptionId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/inStockSubscriptionUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_in_stock_subscriptions_inStockSubscriptionId_200_response' - description: The updated in stock subscription object - summary: Update an in stock subscription - tags: - - in_stock_subscriptions - /in_stock_subscriptions/{inStockSubscriptionId}/market: - get: - description: Retrieve the market associated to the in stock subscription - operationId: GET/inStockSubscriptionId/market - parameters: - - description: The resource's id - explode: false - in: path - name: inStockSubscriptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The market associated to the in stock subscription - summary: Retrieve the market associated to the in stock subscription - tags: - - has_one - - markets - /in_stock_subscriptions/{inStockSubscriptionId}/customer: - get: - description: Retrieve the customer associated to the in stock subscription - operationId: GET/inStockSubscriptionId/customer - parameters: - - description: The resource's id - explode: false - in: path - name: inStockSubscriptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The customer associated to the in stock subscription - summary: Retrieve the customer associated to the in stock subscription - tags: - - has_one - - customers - /in_stock_subscriptions/{inStockSubscriptionId}/sku: - get: - description: Retrieve the sku associated to the in stock subscription - operationId: GET/inStockSubscriptionId/sku - parameters: - - description: The resource's id - explode: false - in: path - name: inStockSubscriptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku associated to the in stock subscription - summary: Retrieve the sku associated to the in stock subscription - tags: - - has_one - - skus - /in_stock_subscriptions/{inStockSubscriptionId}/events: - get: - description: Retrieve the events associated to the in stock subscription - operationId: GET/inStockSubscriptionId/events - parameters: - - description: The resource's id - explode: false - in: path - name: inStockSubscriptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the in stock subscription - summary: Retrieve the events associated to the in stock subscription - tags: - - has_many - - events - /in_stock_subscriptions/{inStockSubscriptionId}/versions: - get: - description: Retrieve the versions associated to the in stock subscription - operationId: GET/inStockSubscriptionId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: inStockSubscriptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the in stock subscription - summary: Retrieve the versions associated to the in stock subscription - tags: - - has_many - - versions - /inventory_models: - get: - description: List all inventory models - operationId: GET/inventory_models - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_inventory_models_200_response' - description: A list of inventory model objects - summary: List all inventory models - tags: - - inventory_models - post: - description: Create an inventory model - operationId: POST/inventory_models - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/inventoryModelCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_inventory_models_201_response' - description: The created inventory model object - summary: Create an inventory model - tags: - - inventory_models - /inventory_models/{inventoryModelId}: - delete: - description: Delete an inventory model - operationId: DELETE/inventory_models/inventoryModelId - parameters: - - description: The resource's id - explode: false - in: path - name: inventoryModelId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete an inventory model - tags: - - inventory_models - get: - description: Retrieve an inventory model - operationId: GET/inventory_models/inventoryModelId - parameters: - - description: The resource's id - explode: false - in: path - name: inventoryModelId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_inventory_models_inventoryModelId_200_response' - description: The inventory model object - summary: Retrieve an inventory model - tags: - - inventory_models - patch: - description: Update an inventory model - operationId: PATCH/inventory_models/inventoryModelId - parameters: - - description: The resource's id - explode: false - in: path - name: inventoryModelId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/inventoryModelUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_inventory_models_inventoryModelId_200_response' - description: The updated inventory model object - summary: Update an inventory model - tags: - - inventory_models - /inventory_models/{inventoryModelId}/inventory_stock_locations: - get: - description: Retrieve the inventory stock locations associated to the inventory - model - operationId: GET/inventoryModelId/inventory_stock_locations - parameters: - - description: The resource's id - explode: false - in: path - name: inventoryModelId - required: true - schema: {} - style: simple - responses: - "200": - description: The inventory_stock_locations associated to the inventory model - summary: Retrieve the inventory stock locations associated to the inventory - model - tags: - - has_many - - inventory_stock_locations - /inventory_models/{inventoryModelId}/inventory_return_locations: - get: - description: Retrieve the inventory return locations associated to the inventory - model - operationId: GET/inventoryModelId/inventory_return_locations - parameters: - - description: The resource's id - explode: false - in: path - name: inventoryModelId - required: true - schema: {} - style: simple - responses: - "200": - description: The inventory_return_locations associated to the inventory - model - summary: Retrieve the inventory return locations associated to the inventory - model - tags: - - has_many - - inventory_return_locations - /inventory_models/{inventoryModelId}/attachments: - get: - description: Retrieve the attachments associated to the inventory model - operationId: GET/inventoryModelId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: inventoryModelId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the inventory model - summary: Retrieve the attachments associated to the inventory model - tags: - - has_many - - attachments - /inventory_models/{inventoryModelId}/versions: - get: - description: Retrieve the versions associated to the inventory model - operationId: GET/inventoryModelId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: inventoryModelId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the inventory model - summary: Retrieve the versions associated to the inventory model - tags: - - has_many - - versions - /inventory_return_locations: - get: - description: List all inventory return locations - operationId: GET/inventory_return_locations - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_inventory_return_locations_200_response' - description: A list of inventory return location objects - summary: List all inventory return locations - tags: - - inventory_return_locations - post: - description: Create an inventory return location - operationId: POST/inventory_return_locations - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/inventoryReturnLocationCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_inventory_return_locations_201_response' - description: The created inventory return location object - summary: Create an inventory return location - tags: - - inventory_return_locations - /inventory_return_locations/{inventoryReturnLocationId}: - delete: - description: Delete an inventory return location - operationId: DELETE/inventory_return_locations/inventoryReturnLocationId - parameters: - - description: The resource's id - explode: false - in: path - name: inventoryReturnLocationId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete an inventory return location - tags: - - inventory_return_locations - get: - description: Retrieve an inventory return location - operationId: GET/inventory_return_locations/inventoryReturnLocationId - parameters: - - description: The resource's id - explode: false - in: path - name: inventoryReturnLocationId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_inventory_return_locations_inventoryReturnLocationId_200_response' - description: The inventory return location object - summary: Retrieve an inventory return location - tags: - - inventory_return_locations - patch: - description: Update an inventory return location - operationId: PATCH/inventory_return_locations/inventoryReturnLocationId - parameters: - - description: The resource's id - explode: false - in: path - name: inventoryReturnLocationId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/inventoryReturnLocationUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_inventory_return_locations_inventoryReturnLocationId_200_response' - description: The updated inventory return location object - summary: Update an inventory return location - tags: - - inventory_return_locations - /inventory_return_locations/{inventoryReturnLocationId}/stock_location: - get: - description: Retrieve the stock location associated to the inventory return - location - operationId: GET/inventoryReturnLocationId/stock_location - parameters: - - description: The resource's id - explode: false - in: path - name: inventoryReturnLocationId - required: true - schema: {} - style: simple - responses: - "200": - description: The stock_location associated to the inventory return location - summary: Retrieve the stock location associated to the inventory return location - tags: - - has_one - - stock_locations - /inventory_return_locations/{inventoryReturnLocationId}/inventory_model: - get: - description: Retrieve the inventory model associated to the inventory return - location - operationId: GET/inventoryReturnLocationId/inventory_model - parameters: - - description: The resource's id - explode: false - in: path - name: inventoryReturnLocationId - required: true - schema: {} - style: simple - responses: - "200": - description: The inventory_model associated to the inventory return location - summary: Retrieve the inventory model associated to the inventory return location - tags: - - has_one - - inventory_models - /inventory_return_locations/{inventoryReturnLocationId}/versions: - get: - description: Retrieve the versions associated to the inventory return location - operationId: GET/inventoryReturnLocationId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: inventoryReturnLocationId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the inventory return location - summary: Retrieve the versions associated to the inventory return location - tags: - - has_many - - versions - /inventory_stock_locations: - get: - description: List all inventory stock locations - operationId: GET/inventory_stock_locations - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_inventory_stock_locations_200_response' - description: A list of inventory stock location objects - summary: List all inventory stock locations - tags: - - inventory_stock_locations - post: - description: Create an inventory stock location - operationId: POST/inventory_stock_locations - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/inventoryStockLocationCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_inventory_stock_locations_201_response' - description: The created inventory stock location object - summary: Create an inventory stock location - tags: - - inventory_stock_locations - /inventory_stock_locations/{inventoryStockLocationId}: - delete: - description: Delete an inventory stock location - operationId: DELETE/inventory_stock_locations/inventoryStockLocationId - parameters: - - description: The resource's id - explode: false - in: path - name: inventoryStockLocationId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete an inventory stock location - tags: - - inventory_stock_locations - get: - description: Retrieve an inventory stock location - operationId: GET/inventory_stock_locations/inventoryStockLocationId - parameters: - - description: The resource's id - explode: false - in: path - name: inventoryStockLocationId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_inventory_stock_locations_inventoryStockLocationId_200_response' - description: The inventory stock location object - summary: Retrieve an inventory stock location - tags: - - inventory_stock_locations - patch: - description: Update an inventory stock location - operationId: PATCH/inventory_stock_locations/inventoryStockLocationId - parameters: - - description: The resource's id - explode: false - in: path - name: inventoryStockLocationId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/inventoryStockLocationUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_inventory_stock_locations_inventoryStockLocationId_200_response' - description: The updated inventory stock location object - summary: Update an inventory stock location - tags: - - inventory_stock_locations - /inventory_stock_locations/{inventoryStockLocationId}/stock_location: - get: - description: Retrieve the stock location associated to the inventory stock location - operationId: GET/inventoryStockLocationId/stock_location - parameters: - - description: The resource's id - explode: false - in: path - name: inventoryStockLocationId - required: true - schema: {} - style: simple - responses: - "200": - description: The stock_location associated to the inventory stock location - summary: Retrieve the stock location associated to the inventory stock location - tags: - - has_one - - stock_locations - /inventory_stock_locations/{inventoryStockLocationId}/inventory_model: - get: - description: Retrieve the inventory model associated to the inventory stock - location - operationId: GET/inventoryStockLocationId/inventory_model - parameters: - - description: The resource's id - explode: false - in: path - name: inventoryStockLocationId - required: true - schema: {} - style: simple - responses: - "200": - description: The inventory_model associated to the inventory stock location - summary: Retrieve the inventory model associated to the inventory stock location - tags: - - has_one - - inventory_models - /inventory_stock_locations/{inventoryStockLocationId}/versions: - get: - description: Retrieve the versions associated to the inventory stock location - operationId: GET/inventoryStockLocationId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: inventoryStockLocationId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the inventory stock location - summary: Retrieve the versions associated to the inventory stock location - tags: - - has_many - - versions - /klarna_gateways: - get: - description: List all klarna gateways - operationId: GET/klarna_gateways - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_klarna_gateways_200_response' - description: A list of klarna gateway objects - summary: List all klarna gateways - tags: - - klarna_gateways - post: - description: Create a klarna gateway - operationId: POST/klarna_gateways - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/klarnaGatewayCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_klarna_gateways_201_response' - description: The created klarna gateway object - summary: Create a klarna gateway - tags: - - klarna_gateways - /klarna_gateways/{klarnaGatewayId}: - delete: - description: Delete a klarna gateway - operationId: DELETE/klarna_gateways/klarnaGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: klarnaGatewayId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a klarna gateway - tags: - - klarna_gateways - get: - description: Retrieve a klarna gateway - operationId: GET/klarna_gateways/klarnaGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: klarnaGatewayId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_klarna_gateways_klarnaGatewayId_200_response' - description: The klarna gateway object - summary: Retrieve a klarna gateway - tags: - - klarna_gateways - patch: - description: Update a klarna gateway - operationId: PATCH/klarna_gateways/klarnaGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: klarnaGatewayId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/klarnaGatewayUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_klarna_gateways_klarnaGatewayId_200_response' - description: The updated klarna gateway object - summary: Update a klarna gateway - tags: - - klarna_gateways - /klarna_gateways/{klarnaGatewayId}/payment_methods: - get: - description: Retrieve the payment methods associated to the klarna gateway - operationId: GET/klarnaGatewayId/payment_methods - parameters: - - description: The resource's id - explode: false - in: path - name: klarnaGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The payment_methods associated to the klarna gateway - summary: Retrieve the payment methods associated to the klarna gateway - tags: - - has_many - - payment_methods - /klarna_gateways/{klarnaGatewayId}/versions: - get: - description: Retrieve the versions associated to the klarna gateway - operationId: GET/klarnaGatewayId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: klarnaGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the klarna gateway - summary: Retrieve the versions associated to the klarna gateway - tags: - - has_many - - versions - /klarna_gateways/{klarnaGatewayId}/klarna_payments: - get: - description: Retrieve the klarna payments associated to the klarna gateway - operationId: GET/klarnaGatewayId/klarna_payments - parameters: - - description: The resource's id - explode: false - in: path - name: klarnaGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The klarna_payments associated to the klarna gateway - summary: Retrieve the klarna payments associated to the klarna gateway - tags: - - has_many - - klarna_payments - /klarna_payments: - get: - description: List all klarna payments - operationId: GET/klarna_payments - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_klarna_payments_200_response' - description: A list of klarna payment objects - summary: List all klarna payments - tags: - - klarna_payments - post: - description: Create a klarna payment - operationId: POST/klarna_payments - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/klarnaPaymentCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_klarna_payments_201_response' - description: The created klarna payment object - summary: Create a klarna payment - tags: - - klarna_payments - /klarna_payments/{klarnaPaymentId}: - delete: - description: Delete a klarna payment - operationId: DELETE/klarna_payments/klarnaPaymentId - parameters: - - description: The resource's id - explode: false - in: path - name: klarnaPaymentId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a klarna payment - tags: - - klarna_payments - get: - description: Retrieve a klarna payment - operationId: GET/klarna_payments/klarnaPaymentId - parameters: - - description: The resource's id - explode: false - in: path - name: klarnaPaymentId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_klarna_payments_klarnaPaymentId_200_response' - description: The klarna payment object - summary: Retrieve a klarna payment - tags: - - klarna_payments - patch: - description: Update a klarna payment - operationId: PATCH/klarna_payments/klarnaPaymentId - parameters: - - description: The resource's id - explode: false - in: path - name: klarnaPaymentId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/klarnaPaymentUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_klarna_payments_klarnaPaymentId_200_response' - description: The updated klarna payment object - summary: Update a klarna payment - tags: - - klarna_payments - /klarna_payments/{klarnaPaymentId}/order: - get: - description: Retrieve the order associated to the klarna payment - operationId: GET/klarnaPaymentId/order - parameters: - - description: The resource's id - explode: false - in: path - name: klarnaPaymentId - required: true - schema: {} - style: simple - responses: - "200": - description: The order associated to the klarna payment - summary: Retrieve the order associated to the klarna payment - tags: - - has_one - - orders - /klarna_payments/{klarnaPaymentId}/payment_gateway: - get: - description: Retrieve the payment gateway associated to the klarna payment - operationId: GET/klarnaPaymentId/payment_gateway - parameters: - - description: The resource's id - explode: false - in: path - name: klarnaPaymentId - required: true - schema: {} - style: simple - responses: - "200": - description: The payment_gateway associated to the klarna payment - summary: Retrieve the payment gateway associated to the klarna payment - tags: - - has_one - - payment_gateways - /klarna_payments/{klarnaPaymentId}/versions: - get: - description: Retrieve the versions associated to the klarna payment - operationId: GET/klarnaPaymentId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: klarnaPaymentId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the klarna payment - summary: Retrieve the versions associated to the klarna payment - tags: - - has_many - - versions - /line_item_options: - get: - description: List all line item options - operationId: GET/line_item_options - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_line_item_options_200_response' - description: A list of line item option objects - summary: List all line item options - tags: - - line_item_options - post: - description: Create a line item option - operationId: POST/line_item_options - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/lineItemOptionCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_line_item_options_201_response' - description: The created line item option object - summary: Create a line item option - tags: - - line_item_options - /line_item_options/{lineItemOptionId}: - delete: - description: Delete a line item option - operationId: DELETE/line_item_options/lineItemOptionId - parameters: - - description: The resource's id - explode: false - in: path - name: lineItemOptionId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a line item option - tags: - - line_item_options - get: - description: Retrieve a line item option - operationId: GET/line_item_options/lineItemOptionId - parameters: - - description: The resource's id - explode: false - in: path - name: lineItemOptionId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_line_item_options_lineItemOptionId_200_response' - description: The line item option object - summary: Retrieve a line item option - tags: - - line_item_options - patch: - description: Update a line item option - operationId: PATCH/line_item_options/lineItemOptionId - parameters: - - description: The resource's id - explode: false - in: path - name: lineItemOptionId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/lineItemOptionUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_line_item_options_lineItemOptionId_200_response' - description: The updated line item option object - summary: Update a line item option - tags: - - line_item_options - /line_item_options/{lineItemOptionId}/line_item: - get: - description: Retrieve the line item associated to the line item option - operationId: GET/lineItemOptionId/line_item - parameters: - - description: The resource's id - explode: false - in: path - name: lineItemOptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The line_item associated to the line item option - summary: Retrieve the line item associated to the line item option - tags: - - has_one - - line_items - /line_item_options/{lineItemOptionId}/sku_option: - get: - description: Retrieve the sku option associated to the line item option - operationId: GET/lineItemOptionId/sku_option - parameters: - - description: The resource's id - explode: false - in: path - name: lineItemOptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku_option associated to the line item option - summary: Retrieve the sku option associated to the line item option - tags: - - has_one - - sku_options - /line_item_options/{lineItemOptionId}/events: - get: - description: Retrieve the events associated to the line item option - operationId: GET/lineItemOptionId/events - parameters: - - description: The resource's id - explode: false - in: path - name: lineItemOptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the line item option - summary: Retrieve the events associated to the line item option - tags: - - has_many - - events - /line_item_options/{lineItemOptionId}/tags: - get: - description: Retrieve the tags associated to the line item option - operationId: GET/lineItemOptionId/tags - parameters: - - description: The resource's id - explode: false - in: path - name: lineItemOptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The tags associated to the line item option - summary: Retrieve the tags associated to the line item option - tags: - - has_many - - tags - /line_items: - get: - description: List all line items - operationId: GET/line_items - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_line_items_200_response' - description: A list of line item objects - summary: List all line items - tags: - - line_items - post: - description: Create a line item - operationId: POST/line_items - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/lineItemCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_line_items_201_response' - description: The created line item object - summary: Create a line item - tags: - - line_items - /line_items/{lineItemId}: - delete: - description: Delete a line item - operationId: DELETE/line_items/lineItemId - parameters: - - description: The resource's id - explode: false - in: path - name: lineItemId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a line item - tags: - - line_items - get: - description: Retrieve a line item - operationId: GET/line_items/lineItemId - parameters: - - description: The resource's id - explode: false - in: path - name: lineItemId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_line_items_lineItemId_200_response' - description: The line item object - summary: Retrieve a line item - tags: - - line_items - patch: - description: Update a line item - operationId: PATCH/line_items/lineItemId - parameters: - - description: The resource's id - explode: false - in: path - name: lineItemId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/lineItemUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_line_items_lineItemId_200_response' - description: The updated line item object - summary: Update a line item - tags: - - line_items - /line_items/{lineItemId}/order: - get: - description: Retrieve the order associated to the line item - operationId: GET/lineItemId/order - parameters: - - description: The resource's id - explode: false - in: path - name: lineItemId - required: true - schema: {} - style: simple - responses: - "200": - description: The order associated to the line item - summary: Retrieve the order associated to the line item - tags: - - has_one - - orders - /line_items/{lineItemId}/line_item_options: - get: - description: Retrieve the line item options associated to the line item - operationId: GET/lineItemId/line_item_options - parameters: - - description: The resource's id - explode: false - in: path - name: lineItemId - required: true - schema: {} - style: simple - responses: - "200": - description: The line_item_options associated to the line item - summary: Retrieve the line item options associated to the line item - tags: - - has_many - - line_item_options - /line_items/{lineItemId}/return_line_items: - get: - description: Retrieve the return line items associated to the line item - operationId: GET/lineItemId/return_line_items - parameters: - - description: The resource's id - explode: false - in: path - name: lineItemId - required: true - schema: {} - style: simple - responses: - "200": - description: The return_line_items associated to the line item - summary: Retrieve the return line items associated to the line item - tags: - - has_many - - return_line_items - /line_items/{lineItemId}/stock_reservations: - get: - description: Retrieve the stock reservations associated to the line item - operationId: GET/lineItemId/stock_reservations - parameters: - - description: The resource's id - explode: false - in: path - name: lineItemId - required: true - schema: {} - style: simple - responses: - "200": - description: The stock_reservations associated to the line item - summary: Retrieve the stock reservations associated to the line item - tags: - - has_many - - stock_reservations - /line_items/{lineItemId}/stock_line_items: - get: - description: Retrieve the stock line items associated to the line item - operationId: GET/lineItemId/stock_line_items - parameters: - - description: The resource's id - explode: false - in: path - name: lineItemId - required: true - schema: {} - style: simple - responses: - "200": - description: The stock_line_items associated to the line item - summary: Retrieve the stock line items associated to the line item - tags: - - has_many - - stock_line_items - /line_items/{lineItemId}/stock_transfers: - get: - description: Retrieve the stock transfers associated to the line item - operationId: GET/lineItemId/stock_transfers - parameters: - - description: The resource's id - explode: false - in: path - name: lineItemId - required: true - schema: {} - style: simple - responses: - "200": - description: The stock_transfers associated to the line item - summary: Retrieve the stock transfers associated to the line item - tags: - - has_many - - stock_transfers - /line_items/{lineItemId}/events: - get: - description: Retrieve the events associated to the line item - operationId: GET/lineItemId/events - parameters: - - description: The resource's id - explode: false - in: path - name: lineItemId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the line item - summary: Retrieve the events associated to the line item - tags: - - has_many - - events - /line_items/{lineItemId}/tags: - get: - description: Retrieve the tags associated to the line item - operationId: GET/lineItemId/tags - parameters: - - description: The resource's id - explode: false - in: path - name: lineItemId - required: true - schema: {} - style: simple - responses: - "200": - description: The tags associated to the line item - summary: Retrieve the tags associated to the line item - tags: - - has_many - - tags - /links: - get: - description: List all links - operationId: GET/links - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_links_200_response' - description: A list of link objects - summary: List all links - tags: - - links - post: - description: Create a link - operationId: POST/links - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/linkCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_links_201_response' - description: The created link object - summary: Create a link - tags: - - links - /links/{linkId}: - delete: - description: Delete a link - operationId: DELETE/links/linkId - parameters: - - description: The resource's id - explode: false - in: path - name: linkId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a link - tags: - - links - get: - description: Retrieve a link - operationId: GET/links/linkId - parameters: - - description: The resource's id - explode: false - in: path - name: linkId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_links_linkId_200_response' - description: The link object - summary: Retrieve a link - tags: - - links - patch: - description: Update a link - operationId: PATCH/links/linkId - parameters: - - description: The resource's id - explode: false - in: path - name: linkId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/linkUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_links_linkId_200_response' - description: The updated link object - summary: Update a link - tags: - - links - /links/{linkId}/events: - get: - description: Retrieve the events associated to the link - operationId: GET/linkId/events - parameters: - - description: The resource's id - explode: false - in: path - name: linkId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the link - summary: Retrieve the events associated to the link - tags: - - has_many - - events - /manual_gateways: - get: - description: List all manual gateways - operationId: GET/manual_gateways - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_manual_gateways_200_response' - description: A list of manual gateway objects - summary: List all manual gateways - tags: - - manual_gateways - post: - description: Create a manual gateway - operationId: POST/manual_gateways - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/manualGatewayCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_manual_gateways_201_response' - description: The created manual gateway object - summary: Create a manual gateway - tags: - - manual_gateways - /manual_gateways/{manualGatewayId}: - delete: - description: Delete a manual gateway - operationId: DELETE/manual_gateways/manualGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: manualGatewayId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a manual gateway - tags: - - manual_gateways - get: - description: Retrieve a manual gateway - operationId: GET/manual_gateways/manualGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: manualGatewayId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_manual_gateways_manualGatewayId_200_response' - description: The manual gateway object - summary: Retrieve a manual gateway - tags: - - manual_gateways - patch: - description: Update a manual gateway - operationId: PATCH/manual_gateways/manualGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: manualGatewayId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/manualGatewayUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_manual_gateways_manualGatewayId_200_response' - description: The updated manual gateway object - summary: Update a manual gateway - tags: - - manual_gateways - /manual_gateways/{manualGatewayId}/payment_methods: - get: - description: Retrieve the payment methods associated to the manual gateway - operationId: GET/manualGatewayId/payment_methods - parameters: - - description: The resource's id - explode: false - in: path - name: manualGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The payment_methods associated to the manual gateway - summary: Retrieve the payment methods associated to the manual gateway - tags: - - has_many - - payment_methods - /manual_gateways/{manualGatewayId}/versions: - get: - description: Retrieve the versions associated to the manual gateway - operationId: GET/manualGatewayId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: manualGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the manual gateway - summary: Retrieve the versions associated to the manual gateway - tags: - - has_many - - versions - /manual_tax_calculators: - get: - description: List all manual tax calculators - operationId: GET/manual_tax_calculators - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_manual_tax_calculators_200_response' - description: A list of manual tax calculator objects - summary: List all manual tax calculators - tags: - - manual_tax_calculators - post: - description: Create a manual tax calculator - operationId: POST/manual_tax_calculators - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/manualTaxCalculatorCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_manual_tax_calculators_201_response' - description: The created manual tax calculator object - summary: Create a manual tax calculator - tags: - - manual_tax_calculators - /manual_tax_calculators/{manualTaxCalculatorId}: - delete: - description: Delete a manual tax calculator - operationId: DELETE/manual_tax_calculators/manualTaxCalculatorId - parameters: - - description: The resource's id - explode: false - in: path - name: manualTaxCalculatorId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a manual tax calculator - tags: - - manual_tax_calculators - get: - description: Retrieve a manual tax calculator - operationId: GET/manual_tax_calculators/manualTaxCalculatorId - parameters: - - description: The resource's id - explode: false - in: path - name: manualTaxCalculatorId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_manual_tax_calculators_manualTaxCalculatorId_200_response' - description: The manual tax calculator object - summary: Retrieve a manual tax calculator - tags: - - manual_tax_calculators - patch: - description: Update a manual tax calculator - operationId: PATCH/manual_tax_calculators/manualTaxCalculatorId - parameters: - - description: The resource's id - explode: false - in: path - name: manualTaxCalculatorId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/manualTaxCalculatorUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_manual_tax_calculators_manualTaxCalculatorId_200_response' - description: The updated manual tax calculator object - summary: Update a manual tax calculator - tags: - - manual_tax_calculators - /manual_tax_calculators/{manualTaxCalculatorId}/markets: - get: - description: Retrieve the markets associated to the manual tax calculator - operationId: GET/manualTaxCalculatorId/markets - parameters: - - description: The resource's id - explode: false - in: path - name: manualTaxCalculatorId - required: true - schema: {} - style: simple - responses: - "200": - description: The markets associated to the manual tax calculator - summary: Retrieve the markets associated to the manual tax calculator - tags: - - has_many - - markets - /manual_tax_calculators/{manualTaxCalculatorId}/attachments: - get: - description: Retrieve the attachments associated to the manual tax calculator - operationId: GET/manualTaxCalculatorId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: manualTaxCalculatorId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the manual tax calculator - summary: Retrieve the attachments associated to the manual tax calculator - tags: - - has_many - - attachments - /manual_tax_calculators/{manualTaxCalculatorId}/versions: - get: - description: Retrieve the versions associated to the manual tax calculator - operationId: GET/manualTaxCalculatorId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: manualTaxCalculatorId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the manual tax calculator - summary: Retrieve the versions associated to the manual tax calculator - tags: - - has_many - - versions - /manual_tax_calculators/{manualTaxCalculatorId}/tax_rules: - get: - description: Retrieve the tax rules associated to the manual tax calculator - operationId: GET/manualTaxCalculatorId/tax_rules - parameters: - - description: The resource's id - explode: false - in: path - name: manualTaxCalculatorId - required: true - schema: {} - style: simple - responses: - "200": - description: The tax_rules associated to the manual tax calculator - summary: Retrieve the tax rules associated to the manual tax calculator - tags: - - has_many - - tax_rules - /markets: - get: - description: List all markets - operationId: GET/markets - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_markets_200_response' - description: A list of market objects - summary: List all markets - tags: - - markets - post: - description: Create a market - operationId: POST/markets - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/marketCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_markets_201_response' - description: The created market object - summary: Create a market - tags: - - markets - /markets/{marketId}: - delete: - description: Delete a market - operationId: DELETE/markets/marketId - parameters: - - description: The resource's id - explode: false - in: path - name: marketId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a market - tags: - - markets - get: - description: Retrieve a market - operationId: GET/markets/marketId - parameters: - - description: The resource's id - explode: false - in: path - name: marketId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_markets_marketId_200_response' - description: The market object - summary: Retrieve a market - tags: - - markets - patch: - description: Update a market - operationId: PATCH/markets/marketId - parameters: - - description: The resource's id - explode: false - in: path - name: marketId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/marketUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_markets_marketId_200_response' - description: The updated market object - summary: Update a market - tags: - - markets - /markets/{marketId}/merchant: - get: - description: Retrieve the merchant associated to the market - operationId: GET/marketId/merchant - parameters: - - description: The resource's id - explode: false - in: path - name: marketId - required: true - schema: {} - style: simple - responses: - "200": - description: The merchant associated to the market - summary: Retrieve the merchant associated to the market - tags: - - has_one - - merchants - /markets/{marketId}/price_list: - get: - description: Retrieve the price list associated to the market - operationId: GET/marketId/price_list - parameters: - - description: The resource's id - explode: false - in: path - name: marketId - required: true - schema: {} - style: simple - responses: - "200": - description: The price_list associated to the market - summary: Retrieve the price list associated to the market - tags: - - has_one - - price_lists - /markets/{marketId}/base_price_list: - get: - description: Retrieve the base price list associated to the market - operationId: GET/marketId/base_price_list - parameters: - - description: The resource's id - explode: false - in: path - name: marketId - required: true - schema: {} - style: simple - responses: - "200": - description: The base_price_list associated to the market - summary: Retrieve the base price list associated to the market - tags: - - has_one - - price_lists - /markets/{marketId}/inventory_model: - get: - description: Retrieve the inventory model associated to the market - operationId: GET/marketId/inventory_model - parameters: - - description: The resource's id - explode: false - in: path - name: marketId - required: true - schema: {} - style: simple - responses: - "200": - description: The inventory_model associated to the market - summary: Retrieve the inventory model associated to the market - tags: - - has_one - - inventory_models - /markets/{marketId}/subscription_model: - get: - description: Retrieve the subscription model associated to the market - operationId: GET/marketId/subscription_model - parameters: - - description: The resource's id - explode: false - in: path - name: marketId - required: true - schema: {} - style: simple - responses: - "200": - description: The subscription_model associated to the market - summary: Retrieve the subscription model associated to the market - tags: - - has_one - - subscription_models - /markets/{marketId}/tax_calculator: - get: - description: Retrieve the tax calculator associated to the market - operationId: GET/marketId/tax_calculator - parameters: - - description: The resource's id - explode: false - in: path - name: marketId - required: true - schema: {} - style: simple - responses: - "200": - description: The tax_calculator associated to the market - summary: Retrieve the tax calculator associated to the market - tags: - - has_one - - tax_calculators - /markets/{marketId}/customer_group: - get: - description: Retrieve the customer group associated to the market - operationId: GET/marketId/customer_group - parameters: - - description: The resource's id - explode: false - in: path - name: marketId - required: true - schema: {} - style: simple - responses: - "200": - description: The customer_group associated to the market - summary: Retrieve the customer group associated to the market - tags: - - has_one - - customer_groups - /markets/{marketId}/geocoder: - get: - description: Retrieve the geocoder associated to the market - operationId: GET/marketId/geocoder - parameters: - - description: The resource's id - explode: false - in: path - name: marketId - required: true - schema: {} - style: simple - responses: - "200": - description: The geocoder associated to the market - summary: Retrieve the geocoder associated to the market - tags: - - has_one - - geocoders - /markets/{marketId}/price_list_schedulers: - get: - description: Retrieve the price list schedulers associated to the market - operationId: GET/marketId/price_list_schedulers - parameters: - - description: The resource's id - explode: false - in: path - name: marketId - required: true - schema: {} - style: simple - responses: - "200": - description: The price_list_schedulers associated to the market - summary: Retrieve the price list schedulers associated to the market - tags: - - has_many - - price_list_schedulers - /markets/{marketId}/attachments: - get: - description: Retrieve the attachments associated to the market - operationId: GET/marketId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: marketId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the market - summary: Retrieve the attachments associated to the market - tags: - - has_many - - attachments - /markets/{marketId}/versions: - get: - description: Retrieve the versions associated to the market - operationId: GET/marketId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: marketId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the market - summary: Retrieve the versions associated to the market - tags: - - has_many - - versions - /merchants: - get: - description: List all merchants - operationId: GET/merchants - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_merchants_200_response' - description: A list of merchant objects - summary: List all merchants - tags: - - merchants - post: - description: Create a merchant - operationId: POST/merchants - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/merchantCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_merchants_201_response' - description: The created merchant object - summary: Create a merchant - tags: - - merchants - /merchants/{merchantId}: - delete: - description: Delete a merchant - operationId: DELETE/merchants/merchantId - parameters: - - description: The resource's id - explode: false - in: path - name: merchantId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a merchant - tags: - - merchants - get: - description: Retrieve a merchant - operationId: GET/merchants/merchantId - parameters: - - description: The resource's id - explode: false - in: path - name: merchantId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_merchants_merchantId_200_response' - description: The merchant object - summary: Retrieve a merchant - tags: - - merchants - patch: - description: Update a merchant - operationId: PATCH/merchants/merchantId - parameters: - - description: The resource's id - explode: false - in: path - name: merchantId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/merchantUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_merchants_merchantId_200_response' - description: The updated merchant object - summary: Update a merchant - tags: - - merchants - /merchants/{merchantId}/address: - get: - description: Retrieve the address associated to the merchant - operationId: GET/merchantId/address - parameters: - - description: The resource's id - explode: false - in: path - name: merchantId - required: true - schema: {} - style: simple - responses: - "200": - description: The address associated to the merchant - summary: Retrieve the address associated to the merchant - tags: - - has_one - - addresses - /merchants/{merchantId}/attachments: - get: - description: Retrieve the attachments associated to the merchant - operationId: GET/merchantId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: merchantId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the merchant - summary: Retrieve the attachments associated to the merchant - tags: - - has_many - - attachments - /merchants/{merchantId}/versions: - get: - description: Retrieve the versions associated to the merchant - operationId: GET/merchantId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: merchantId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the merchant - summary: Retrieve the versions associated to the merchant - tags: - - has_many - - versions - /order_amount_promotion_rules: - get: - description: List all order amount promotion rules - operationId: GET/order_amount_promotion_rules - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_order_amount_promotion_rules_200_response' - description: A list of order amount promotion rule objects - summary: List all order amount promotion rules - tags: - - order_amount_promotion_rules - post: - description: Create an order amount promotion rule - operationId: POST/order_amount_promotion_rules - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/orderAmountPromotionRuleCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_order_amount_promotion_rules_201_response' - description: The created order amount promotion rule object - summary: Create an order amount promotion rule - tags: - - order_amount_promotion_rules - /order_amount_promotion_rules/{orderAmountPromotionRuleId}: - delete: - description: Delete an order amount promotion rule - operationId: DELETE/order_amount_promotion_rules/orderAmountPromotionRuleId - parameters: - - description: The resource's id - explode: false - in: path - name: orderAmountPromotionRuleId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete an order amount promotion rule - tags: - - order_amount_promotion_rules - get: - description: Retrieve an order amount promotion rule - operationId: GET/order_amount_promotion_rules/orderAmountPromotionRuleId - parameters: - - description: The resource's id - explode: false - in: path - name: orderAmountPromotionRuleId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_order_amount_promotion_rules_orderAmountPromotionRuleId_200_response' - description: The order amount promotion rule object - summary: Retrieve an order amount promotion rule - tags: - - order_amount_promotion_rules - patch: - description: Update an order amount promotion rule - operationId: PATCH/order_amount_promotion_rules/orderAmountPromotionRuleId - parameters: - - description: The resource's id - explode: false - in: path - name: orderAmountPromotionRuleId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/orderAmountPromotionRuleUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_order_amount_promotion_rules_orderAmountPromotionRuleId_200_response' - description: The updated order amount promotion rule object - summary: Update an order amount promotion rule - tags: - - order_amount_promotion_rules - /order_amount_promotion_rules/{orderAmountPromotionRuleId}/versions: - get: - description: Retrieve the versions associated to the order amount promotion - rule - operationId: GET/orderAmountPromotionRuleId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: orderAmountPromotionRuleId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the order amount promotion rule - summary: Retrieve the versions associated to the order amount promotion rule - tags: - - has_many - - versions - /order_copies: - get: - description: List all order copies - operationId: GET/order_copies - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_order_copies_200_response' - description: A list of order copy objects - summary: List all order copies - tags: - - order_copies - post: - description: Create an order copy - operationId: POST/order_copies - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/orderCopyCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_order_copies_201_response' - description: The created order copy object - summary: Create an order copy - tags: - - order_copies - /order_copies/{orderCopyId}: - delete: - description: Delete an order copy - operationId: DELETE/order_copies/orderCopyId - parameters: - - description: The resource's id - explode: false - in: path - name: orderCopyId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete an order copy - tags: - - order_copies - get: - description: Retrieve an order copy - operationId: GET/order_copies/orderCopyId - parameters: - - description: The resource's id - explode: false - in: path - name: orderCopyId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_order_copies_orderCopyId_200_response' - description: The order copy object - summary: Retrieve an order copy - tags: - - order_copies - patch: - description: Update an order copy - operationId: PATCH/order_copies/orderCopyId - parameters: - - description: The resource's id - explode: false - in: path - name: orderCopyId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/orderCopyUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_order_copies_orderCopyId_200_response' - description: The updated order copy object - summary: Update an order copy - tags: - - order_copies - /order_copies/{orderCopyId}/source_order: - get: - description: Retrieve the source order associated to the order copy - operationId: GET/orderCopyId/source_order - parameters: - - description: The resource's id - explode: false - in: path - name: orderCopyId - required: true - schema: {} - style: simple - responses: - "200": - description: The source_order associated to the order copy - summary: Retrieve the source order associated to the order copy - tags: - - has_one - - orders - /order_copies/{orderCopyId}/target_order: - get: - description: Retrieve the target order associated to the order copy - operationId: GET/orderCopyId/target_order - parameters: - - description: The resource's id - explode: false - in: path - name: orderCopyId - required: true - schema: {} - style: simple - responses: - "200": - description: The target_order associated to the order copy - summary: Retrieve the target order associated to the order copy - tags: - - has_one - - orders - /order_copies/{orderCopyId}/events: - get: - description: Retrieve the events associated to the order copy - operationId: GET/orderCopyId/events - parameters: - - description: The resource's id - explode: false - in: path - name: orderCopyId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the order copy - summary: Retrieve the events associated to the order copy - tags: - - has_many - - events - /order_copies/{orderCopyId}/order_subscription: - get: - description: Retrieve the order subscription associated to the order copy - operationId: GET/orderCopyId/order_subscription - parameters: - - description: The resource's id - explode: false - in: path - name: orderCopyId - required: true - schema: {} - style: simple - responses: - "200": - description: The order_subscription associated to the order copy - summary: Retrieve the order subscription associated to the order copy - tags: - - has_one - - order_subscriptions - /order_factories: - get: - description: List all order factories - operationId: GET/order_factories - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_order_factories_200_response' - description: A list of order factory objects - summary: List all order factories - tags: - - order_factories - /order_factories/{orderFactoryId}: - get: - description: Retrieve an order factory - operationId: GET/order_factories/orderFactoryId - parameters: - - description: The resource's id - explode: false - in: path - name: orderFactoryId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_order_factories_orderFactoryId_200_response' - description: The order factory object - summary: Retrieve an order factory - tags: - - order_factories - /order_factories/{orderFactoryId}/source_order: - get: - description: Retrieve the source order associated to the order factory - operationId: GET/orderFactoryId/source_order - parameters: - - description: The resource's id - explode: false - in: path - name: orderFactoryId - required: true - schema: {} - style: simple - responses: - "200": - description: The source_order associated to the order factory - summary: Retrieve the source order associated to the order factory - tags: - - has_one - - orders - /order_factories/{orderFactoryId}/target_order: - get: - description: Retrieve the target order associated to the order factory - operationId: GET/orderFactoryId/target_order - parameters: - - description: The resource's id - explode: false - in: path - name: orderFactoryId - required: true - schema: {} - style: simple - responses: - "200": - description: The target_order associated to the order factory - summary: Retrieve the target order associated to the order factory - tags: - - has_one - - orders - /order_factories/{orderFactoryId}/events: - get: - description: Retrieve the events associated to the order factory - operationId: GET/orderFactoryId/events - parameters: - - description: The resource's id - explode: false - in: path - name: orderFactoryId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the order factory - summary: Retrieve the events associated to the order factory - tags: - - has_many - - events - /order_subscription_items: - get: - description: List all order subscription items - operationId: GET/order_subscription_items - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_order_subscription_items_200_response' - description: A list of order subscription item objects - summary: List all order subscription items - tags: - - order_subscription_items - post: - description: Create an order subscription item - operationId: POST/order_subscription_items - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/orderSubscriptionItemCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_order_subscription_items_201_response' - description: The created order subscription item object - summary: Create an order subscription item - tags: - - order_subscription_items - /order_subscription_items/{orderSubscriptionItemId}: - delete: - description: Delete an order subscription item - operationId: DELETE/order_subscription_items/orderSubscriptionItemId - parameters: - - description: The resource's id - explode: false - in: path - name: orderSubscriptionItemId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete an order subscription item - tags: - - order_subscription_items - get: - description: Retrieve an order subscription item - operationId: GET/order_subscription_items/orderSubscriptionItemId - parameters: - - description: The resource's id - explode: false - in: path - name: orderSubscriptionItemId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_order_subscription_items_orderSubscriptionItemId_200_response' - description: The order subscription item object - summary: Retrieve an order subscription item - tags: - - order_subscription_items - patch: - description: Update an order subscription item - operationId: PATCH/order_subscription_items/orderSubscriptionItemId - parameters: - - description: The resource's id - explode: false - in: path - name: orderSubscriptionItemId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/orderSubscriptionItemUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_order_subscription_items_orderSubscriptionItemId_200_response' - description: The updated order subscription item object - summary: Update an order subscription item - tags: - - order_subscription_items - /order_subscription_items/{orderSubscriptionItemId}/order_subscription: - get: - description: Retrieve the order subscription associated to the order subscription - item - operationId: GET/orderSubscriptionItemId/order_subscription - parameters: - - description: The resource's id - explode: false - in: path - name: orderSubscriptionItemId - required: true - schema: {} - style: simple - responses: - "200": - description: The order_subscription associated to the order subscription - item - summary: Retrieve the order subscription associated to the order subscription - item - tags: - - has_one - - order_subscriptions - /order_subscription_items/{orderSubscriptionItemId}/source_line_item: - get: - description: Retrieve the source line item associated to the order subscription - item - operationId: GET/orderSubscriptionItemId/source_line_item - parameters: - - description: The resource's id - explode: false - in: path - name: orderSubscriptionItemId - required: true - schema: {} - style: simple - responses: - "200": - description: The source_line_item associated to the order subscription item - summary: Retrieve the source line item associated to the order subscription - item - tags: - - has_one - - line_items - /order_subscriptions: - get: - description: List all order subscriptions - operationId: GET/order_subscriptions - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_order_subscriptions_200_response' - description: A list of order subscription objects - summary: List all order subscriptions - tags: - - order_subscriptions - post: - description: Create an order subscription - operationId: POST/order_subscriptions - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/orderSubscriptionCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_order_subscriptions_201_response' - description: The created order subscription object - summary: Create an order subscription - tags: - - order_subscriptions - /order_subscriptions/{orderSubscriptionId}: - delete: - description: Delete an order subscription - operationId: DELETE/order_subscriptions/orderSubscriptionId - parameters: - - description: The resource's id - explode: false - in: path - name: orderSubscriptionId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete an order subscription - tags: - - order_subscriptions - get: - description: Retrieve an order subscription - operationId: GET/order_subscriptions/orderSubscriptionId - parameters: - - description: The resource's id - explode: false - in: path - name: orderSubscriptionId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_order_subscriptions_orderSubscriptionId_200_response' - description: The order subscription object - summary: Retrieve an order subscription - tags: - - order_subscriptions - patch: - description: Update an order subscription - operationId: PATCH/order_subscriptions/orderSubscriptionId - parameters: - - description: The resource's id - explode: false - in: path - name: orderSubscriptionId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/orderSubscriptionUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_order_subscriptions_orderSubscriptionId_200_response' - description: The updated order subscription object - summary: Update an order subscription - tags: - - order_subscriptions - /order_subscriptions/{orderSubscriptionId}/market: - get: - description: Retrieve the market associated to the order subscription - operationId: GET/orderSubscriptionId/market - parameters: - - description: The resource's id - explode: false - in: path - name: orderSubscriptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The market associated to the order subscription - summary: Retrieve the market associated to the order subscription - tags: - - has_one - - markets - /order_subscriptions/{orderSubscriptionId}/subscription_model: - get: - description: Retrieve the subscription model associated to the order subscription - operationId: GET/orderSubscriptionId/subscription_model - parameters: - - description: The resource's id - explode: false - in: path - name: orderSubscriptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The subscription_model associated to the order subscription - summary: Retrieve the subscription model associated to the order subscription - tags: - - has_one - - subscription_models - /order_subscriptions/{orderSubscriptionId}/source_order: - get: - description: Retrieve the source order associated to the order subscription - operationId: GET/orderSubscriptionId/source_order - parameters: - - description: The resource's id - explode: false - in: path - name: orderSubscriptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The source_order associated to the order subscription - summary: Retrieve the source order associated to the order subscription - tags: - - has_one - - orders - /order_subscriptions/{orderSubscriptionId}/customer: - get: - description: Retrieve the customer associated to the order subscription - operationId: GET/orderSubscriptionId/customer - parameters: - - description: The resource's id - explode: false - in: path - name: orderSubscriptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The customer associated to the order subscription - summary: Retrieve the customer associated to the order subscription - tags: - - has_one - - customers - /order_subscriptions/{orderSubscriptionId}/customer_payment_source: - get: - description: Retrieve the customer payment source associated to the order subscription - operationId: GET/orderSubscriptionId/customer_payment_source - parameters: - - description: The resource's id - explode: false - in: path - name: orderSubscriptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The customer_payment_source associated to the order subscription - summary: Retrieve the customer payment source associated to the order subscription - tags: - - has_one - - customer_payment_sources - /order_subscriptions/{orderSubscriptionId}/order_subscription_items: - get: - description: Retrieve the order subscription items associated to the order subscription - operationId: GET/orderSubscriptionId/order_subscription_items - parameters: - - description: The resource's id - explode: false - in: path - name: orderSubscriptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The order_subscription_items associated to the order subscription - summary: Retrieve the order subscription items associated to the order subscription - tags: - - has_many - - order_subscription_items - /order_subscriptions/{orderSubscriptionId}/order_factories: - get: - description: Retrieve the order factories associated to the order subscription - operationId: GET/orderSubscriptionId/order_factories - parameters: - - description: The resource's id - explode: false - in: path - name: orderSubscriptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The order_factories associated to the order subscription - summary: Retrieve the order factories associated to the order subscription - tags: - - has_many - - order_factories - /order_subscriptions/{orderSubscriptionId}/recurring_order_copies: - get: - description: Retrieve the recurring order copies associated to the order subscription - operationId: GET/orderSubscriptionId/recurring_order_copies - parameters: - - description: The resource's id - explode: false - in: path - name: orderSubscriptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The recurring_order_copies associated to the order subscription - summary: Retrieve the recurring order copies associated to the order subscription - tags: - - has_many - - recurring_order_copies - /order_subscriptions/{orderSubscriptionId}/orders: - get: - description: Retrieve the orders associated to the order subscription - operationId: GET/orderSubscriptionId/orders - parameters: - - description: The resource's id - explode: false - in: path - name: orderSubscriptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The orders associated to the order subscription - summary: Retrieve the orders associated to the order subscription - tags: - - has_many - - orders - /order_subscriptions/{orderSubscriptionId}/events: - get: - description: Retrieve the events associated to the order subscription - operationId: GET/orderSubscriptionId/events - parameters: - - description: The resource's id - explode: false - in: path - name: orderSubscriptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the order subscription - summary: Retrieve the events associated to the order subscription - tags: - - has_many - - events - /order_subscriptions/{orderSubscriptionId}/tags: - get: - description: Retrieve the tags associated to the order subscription - operationId: GET/orderSubscriptionId/tags - parameters: - - description: The resource's id - explode: false - in: path - name: orderSubscriptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The tags associated to the order subscription - summary: Retrieve the tags associated to the order subscription - tags: - - has_many - - tags - /order_subscriptions/{orderSubscriptionId}/versions: - get: - description: Retrieve the versions associated to the order subscription - operationId: GET/orderSubscriptionId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: orderSubscriptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the order subscription - summary: Retrieve the versions associated to the order subscription - tags: - - has_many - - versions - /orders: - get: - description: List all orders - operationId: GET/orders - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_orders_200_response' - description: A list of order objects - summary: List all orders - tags: - - orders - post: - description: Create an order - operationId: POST/orders - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/orderCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_orders_201_response' - description: The created order object - summary: Create an order - tags: - - orders - /orders/{orderId}: - delete: - description: Delete an order - operationId: DELETE/orders/orderId - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete an order - tags: - - orders - get: - description: Retrieve an order - operationId: GET/orders/orderId - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_orders_orderId_200_response' - description: The order object - summary: Retrieve an order - tags: - - orders - patch: - description: Update an order - operationId: PATCH/orders/orderId - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/orderUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_orders_orderId_200_response' - description: The updated order object - summary: Update an order - tags: - - orders - /orders/{orderId}/market: - get: - description: Retrieve the market associated to the order - operationId: GET/orderId/market - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The market associated to the order - summary: Retrieve the market associated to the order - tags: - - has_one - - markets - /orders/{orderId}/customer: - get: - description: Retrieve the customer associated to the order - operationId: GET/orderId/customer - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The customer associated to the order - summary: Retrieve the customer associated to the order - tags: - - has_one - - customers - /orders/{orderId}/shipping_address: - get: - description: Retrieve the shipping address associated to the order - operationId: GET/orderId/shipping_address - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The shipping_address associated to the order - summary: Retrieve the shipping address associated to the order - tags: - - has_one - - addresses - /orders/{orderId}/billing_address: - get: - description: Retrieve the billing address associated to the order - operationId: GET/orderId/billing_address - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The billing_address associated to the order - summary: Retrieve the billing address associated to the order - tags: - - has_one - - addresses - /orders/{orderId}/available_payment_methods: - get: - description: Retrieve the available payment methods associated to the order - operationId: GET/orderId/available_payment_methods - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The available_payment_methods associated to the order - summary: Retrieve the available payment methods associated to the order - tags: - - has_many - - payment_methods - /orders/{orderId}/available_customer_payment_sources: - get: - description: Retrieve the available customer payment sources associated to the - order - operationId: GET/orderId/available_customer_payment_sources - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The available_customer_payment_sources associated to the order - summary: Retrieve the available customer payment sources associated to the order - tags: - - has_many - - customer_payment_sources - /orders/{orderId}/available_free_skus: - get: - description: Retrieve the available free skus associated to the order - operationId: GET/orderId/available_free_skus - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The available_free_skus associated to the order - summary: Retrieve the available free skus associated to the order - tags: - - has_many - - skus - /orders/{orderId}/available_free_bundles: - get: - description: Retrieve the available free bundles associated to the order - operationId: GET/orderId/available_free_bundles - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The available_free_bundles associated to the order - summary: Retrieve the available free bundles associated to the order - tags: - - has_many - - bundles - /orders/{orderId}/payment_method: - get: - description: Retrieve the payment method associated to the order - operationId: GET/orderId/payment_method - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The payment_method associated to the order - summary: Retrieve the payment method associated to the order - tags: - - has_one - - payment_methods - /orders/{orderId}/line_items: - get: - description: Retrieve the line items associated to the order - operationId: GET/orderId/line_items - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The line_items associated to the order - summary: Retrieve the line items associated to the order - tags: - - has_many - - line_items - /orders/{orderId}/line_item_options: - get: - description: Retrieve the line item options associated to the order - operationId: GET/orderId/line_item_options - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The line_item_options associated to the order - summary: Retrieve the line item options associated to the order - tags: - - has_many - - line_item_options - /orders/{orderId}/stock_reservations: - get: - description: Retrieve the stock reservations associated to the order - operationId: GET/orderId/stock_reservations - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The stock_reservations associated to the order - summary: Retrieve the stock reservations associated to the order - tags: - - has_many - - stock_reservations - /orders/{orderId}/stock_line_items: - get: - description: Retrieve the stock line items associated to the order - operationId: GET/orderId/stock_line_items - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The stock_line_items associated to the order - summary: Retrieve the stock line items associated to the order - tags: - - has_many - - stock_line_items - /orders/{orderId}/stock_transfers: - get: - description: Retrieve the stock transfers associated to the order - operationId: GET/orderId/stock_transfers - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The stock_transfers associated to the order - summary: Retrieve the stock transfers associated to the order - tags: - - has_many - - stock_transfers - /orders/{orderId}/shipments: - get: - description: Retrieve the shipments associated to the order - operationId: GET/orderId/shipments - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The shipments associated to the order - summary: Retrieve the shipments associated to the order - tags: - - has_many - - shipments - /orders/{orderId}/payment_options: - get: - description: Retrieve the payment options associated to the order - operationId: GET/orderId/payment_options - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The payment_options associated to the order - summary: Retrieve the payment options associated to the order - tags: - - has_many - - payment_options - /orders/{orderId}/authorizations: - get: - description: Retrieve the authorizations associated to the order - operationId: GET/orderId/authorizations - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The authorizations associated to the order - summary: Retrieve the authorizations associated to the order - tags: - - has_many - - authorizations - /orders/{orderId}/captures: - get: - description: Retrieve the captures associated to the order - operationId: GET/orderId/captures - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The captures associated to the order - summary: Retrieve the captures associated to the order - tags: - - has_many - - captures - /orders/{orderId}/voids: - get: - description: Retrieve the voids associated to the order - operationId: GET/orderId/voids - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The voids associated to the order - summary: Retrieve the voids associated to the order - tags: - - has_many - - voids - /orders/{orderId}/refunds: - get: - description: Retrieve the refunds associated to the order - operationId: GET/orderId/refunds - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The refunds associated to the order - summary: Retrieve the refunds associated to the order - tags: - - has_many - - refunds - /orders/{orderId}/returns: - get: - description: Retrieve the returns associated to the order - operationId: GET/orderId/returns - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The returns associated to the order - summary: Retrieve the returns associated to the order - tags: - - has_many - - returns - /orders/{orderId}/order_subscription: - get: - description: Retrieve the order subscription associated to the order - operationId: GET/orderId/order_subscription - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The order_subscription associated to the order - summary: Retrieve the order subscription associated to the order - tags: - - has_one - - order_subscriptions - /orders/{orderId}/order_subscriptions: - get: - description: Retrieve the order subscriptions associated to the order - operationId: GET/orderId/order_subscriptions - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The order_subscriptions associated to the order - summary: Retrieve the order subscriptions associated to the order - tags: - - has_many - - order_subscriptions - /orders/{orderId}/order_factories: - get: - description: Retrieve the order factories associated to the order - operationId: GET/orderId/order_factories - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The order_factories associated to the order - summary: Retrieve the order factories associated to the order - tags: - - has_many - - order_factories - /orders/{orderId}/order_copies: - get: - description: Retrieve the order copies associated to the order - operationId: GET/orderId/order_copies - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The order_copies associated to the order - summary: Retrieve the order copies associated to the order - tags: - - has_many - - order_copies - /orders/{orderId}/recurring_order_copies: - get: - description: Retrieve the recurring order copies associated to the order - operationId: GET/orderId/recurring_order_copies - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The recurring_order_copies associated to the order - summary: Retrieve the recurring order copies associated to the order - tags: - - has_many - - recurring_order_copies - /orders/{orderId}/attachments: - get: - description: Retrieve the attachments associated to the order - operationId: GET/orderId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the order - summary: Retrieve the attachments associated to the order - tags: - - has_many - - attachments - /orders/{orderId}/links: - get: - description: Retrieve the links associated to the order - operationId: GET/orderId/links - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The links associated to the order - summary: Retrieve the links associated to the order - tags: - - has_many - - links - /orders/{orderId}/resource_errors: - get: - description: Retrieve the resource errors associated to the order - operationId: GET/orderId/resource_errors - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The resource_errors associated to the order - summary: Retrieve the resource errors associated to the order - tags: - - has_many - - resource_errors - /orders/{orderId}/events: - get: - description: Retrieve the events associated to the order - operationId: GET/orderId/events - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the order - summary: Retrieve the events associated to the order - tags: - - has_many - - events - /orders/{orderId}/tags: - get: - description: Retrieve the tags associated to the order - operationId: GET/orderId/tags - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The tags associated to the order - summary: Retrieve the tags associated to the order - tags: - - has_many - - tags - /orders/{orderId}/versions: - get: - description: Retrieve the versions associated to the order - operationId: GET/orderId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: orderId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the order - summary: Retrieve the versions associated to the order - tags: - - has_many - - versions - /organization: - get: - description: Retrieve the organization - operationId: GET/organization/organizationId - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_organization_organizationId_200_response' - description: The organization object - summary: Retrieve the organization - tags: - - organization - - singleton - /packages: - get: - description: List all packages - operationId: GET/packages - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_packages_200_response' - description: A list of package objects - summary: List all packages - tags: - - packages - post: - description: Create a package - operationId: POST/packages - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/packageCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_packages_201_response' - description: The created package object - summary: Create a package - tags: - - packages - /packages/{packageId}: - delete: - description: Delete a package - operationId: DELETE/packages/packageId - parameters: - - description: The resource's id - explode: false - in: path - name: packageId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a package - tags: - - packages - get: - description: Retrieve a package - operationId: GET/packages/packageId - parameters: - - description: The resource's id - explode: false - in: path - name: packageId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_packages_packageId_200_response' - description: The package object - summary: Retrieve a package - tags: - - packages - patch: - description: Update a package - operationId: PATCH/packages/packageId - parameters: - - description: The resource's id - explode: false - in: path - name: packageId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/packageUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_packages_packageId_200_response' - description: The updated package object - summary: Update a package - tags: - - packages - /packages/{packageId}/stock_location: - get: - description: Retrieve the stock location associated to the package - operationId: GET/packageId/stock_location - parameters: - - description: The resource's id - explode: false - in: path - name: packageId - required: true - schema: {} - style: simple - responses: - "200": - description: The stock_location associated to the package - summary: Retrieve the stock location associated to the package - tags: - - has_one - - stock_locations - /packages/{packageId}/parcels: - get: - description: Retrieve the parcels associated to the package - operationId: GET/packageId/parcels - parameters: - - description: The resource's id - explode: false - in: path - name: packageId - required: true - schema: {} - style: simple - responses: - "200": - description: The parcels associated to the package - summary: Retrieve the parcels associated to the package - tags: - - has_many - - parcels - /packages/{packageId}/attachments: - get: - description: Retrieve the attachments associated to the package - operationId: GET/packageId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: packageId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the package - summary: Retrieve the attachments associated to the package - tags: - - has_many - - attachments - /packages/{packageId}/versions: - get: - description: Retrieve the versions associated to the package - operationId: GET/packageId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: packageId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the package - summary: Retrieve the versions associated to the package - tags: - - has_many - - versions - /parcel_line_items: - get: - description: List all parcel line items - operationId: GET/parcel_line_items - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_parcel_line_items_200_response' - description: A list of parcel line item objects - summary: List all parcel line items - tags: - - parcel_line_items - post: - description: Create a parcel line item - operationId: POST/parcel_line_items - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/parcelLineItemCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_parcel_line_items_201_response' - description: The created parcel line item object - summary: Create a parcel line item - tags: - - parcel_line_items - /parcel_line_items/{parcelLineItemId}: - delete: - description: Delete a parcel line item - operationId: DELETE/parcel_line_items/parcelLineItemId - parameters: - - description: The resource's id - explode: false - in: path - name: parcelLineItemId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a parcel line item - tags: - - parcel_line_items - get: - description: Retrieve a parcel line item - operationId: GET/parcel_line_items/parcelLineItemId - parameters: - - description: The resource's id - explode: false - in: path - name: parcelLineItemId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_parcel_line_items_parcelLineItemId_200_response' - description: The parcel line item object - summary: Retrieve a parcel line item - tags: - - parcel_line_items - patch: - description: Update a parcel line item - operationId: PATCH/parcel_line_items/parcelLineItemId - parameters: - - description: The resource's id - explode: false - in: path - name: parcelLineItemId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/parcelLineItemUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_parcel_line_items_parcelLineItemId_200_response' - description: The updated parcel line item object - summary: Update a parcel line item - tags: - - parcel_line_items - /parcel_line_items/{parcelLineItemId}/parcel: - get: - description: Retrieve the parcel associated to the parcel line item - operationId: GET/parcelLineItemId/parcel - parameters: - - description: The resource's id - explode: false - in: path - name: parcelLineItemId - required: true - schema: {} - style: simple - responses: - "200": - description: The parcel associated to the parcel line item - summary: Retrieve the parcel associated to the parcel line item - tags: - - has_one - - parcels - /parcel_line_items/{parcelLineItemId}/stock_line_item: - get: - description: Retrieve the stock line item associated to the parcel line item - operationId: GET/parcelLineItemId/stock_line_item - parameters: - - description: The resource's id - explode: false - in: path - name: parcelLineItemId - required: true - schema: {} - style: simple - responses: - "200": - description: The stock_line_item associated to the parcel line item - summary: Retrieve the stock line item associated to the parcel line item - tags: - - has_one - - stock_line_items - /parcel_line_items/{parcelLineItemId}/versions: - get: - description: Retrieve the versions associated to the parcel line item - operationId: GET/parcelLineItemId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: parcelLineItemId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the parcel line item - summary: Retrieve the versions associated to the parcel line item - tags: - - has_many - - versions - /parcels: - get: - description: List all parcels - operationId: GET/parcels - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_parcels_200_response' - description: A list of parcel objects - summary: List all parcels - tags: - - parcels - post: - description: Create a parcel - operationId: POST/parcels - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/parcelCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_parcels_201_response' - description: The created parcel object - summary: Create a parcel - tags: - - parcels - /parcels/{parcelId}: - delete: - description: Delete a parcel - operationId: DELETE/parcels/parcelId - parameters: - - description: The resource's id - explode: false - in: path - name: parcelId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a parcel - tags: - - parcels - get: - description: Retrieve a parcel - operationId: GET/parcels/parcelId - parameters: - - description: The resource's id - explode: false - in: path - name: parcelId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_parcels_parcelId_200_response' - description: The parcel object - summary: Retrieve a parcel - tags: - - parcels - patch: - description: Update a parcel - operationId: PATCH/parcels/parcelId - parameters: - - description: The resource's id - explode: false - in: path - name: parcelId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/parcelUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_parcels_parcelId_200_response' - description: The updated parcel object - summary: Update a parcel - tags: - - parcels - /parcels/{parcelId}/shipment: - get: - description: Retrieve the shipment associated to the parcel - operationId: GET/parcelId/shipment - parameters: - - description: The resource's id - explode: false - in: path - name: parcelId - required: true - schema: {} - style: simple - responses: - "200": - description: The shipment associated to the parcel - summary: Retrieve the shipment associated to the parcel - tags: - - has_one - - shipments - /parcels/{parcelId}/package: - get: - description: Retrieve the package associated to the parcel - operationId: GET/parcelId/package - parameters: - - description: The resource's id - explode: false - in: path - name: parcelId - required: true - schema: {} - style: simple - responses: - "200": - description: The package associated to the parcel - summary: Retrieve the package associated to the parcel - tags: - - has_one - - packages - /parcels/{parcelId}/parcel_line_items: - get: - description: Retrieve the parcel line items associated to the parcel - operationId: GET/parcelId/parcel_line_items - parameters: - - description: The resource's id - explode: false - in: path - name: parcelId - required: true - schema: {} - style: simple - responses: - "200": - description: The parcel_line_items associated to the parcel - summary: Retrieve the parcel line items associated to the parcel - tags: - - has_many - - parcel_line_items - /parcels/{parcelId}/attachments: - get: - description: Retrieve the attachments associated to the parcel - operationId: GET/parcelId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: parcelId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the parcel - summary: Retrieve the attachments associated to the parcel - tags: - - has_many - - attachments - /parcels/{parcelId}/events: - get: - description: Retrieve the events associated to the parcel - operationId: GET/parcelId/events - parameters: - - description: The resource's id - explode: false - in: path - name: parcelId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the parcel - summary: Retrieve the events associated to the parcel - tags: - - has_many - - events - /parcels/{parcelId}/versions: - get: - description: Retrieve the versions associated to the parcel - operationId: GET/parcelId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: parcelId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the parcel - summary: Retrieve the versions associated to the parcel - tags: - - has_many - - versions - /payment_gateways: - get: - description: List all payment gateways - operationId: GET/payment_gateways - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_payment_gateways_200_response' - description: A list of payment gateway objects - summary: List all payment gateways - tags: - - payment_gateways - /payment_gateways/{paymentGatewayId}: - get: - description: Retrieve a payment gateway - operationId: GET/payment_gateways/paymentGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: paymentGatewayId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_payment_gateways_paymentGatewayId_200_response' - description: The payment gateway object - summary: Retrieve a payment gateway - tags: - - payment_gateways - /payment_gateways/{paymentGatewayId}/payment_methods: - get: - description: Retrieve the payment methods associated to the payment gateway - operationId: GET/paymentGatewayId/payment_methods - parameters: - - description: The resource's id - explode: false - in: path - name: paymentGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The payment_methods associated to the payment gateway - summary: Retrieve the payment methods associated to the payment gateway - tags: - - has_many - - payment_methods - /payment_gateways/{paymentGatewayId}/versions: - get: - description: Retrieve the versions associated to the payment gateway - operationId: GET/paymentGatewayId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: paymentGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the payment gateway - summary: Retrieve the versions associated to the payment gateway - tags: - - has_many - - versions - /payment_methods: - get: - description: List all payment methods - operationId: GET/payment_methods - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_payment_methods_200_response' - description: A list of payment method objects - summary: List all payment methods - tags: - - payment_methods - post: - description: Create a payment method - operationId: POST/payment_methods - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/paymentMethodCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_payment_methods_201_response' - description: The created payment method object - summary: Create a payment method - tags: - - payment_methods - /payment_methods/{paymentMethodId}: - delete: - description: Delete a payment method - operationId: DELETE/payment_methods/paymentMethodId - parameters: - - description: The resource's id - explode: false - in: path - name: paymentMethodId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a payment method - tags: - - payment_methods - get: - description: Retrieve a payment method - operationId: GET/payment_methods/paymentMethodId - parameters: - - description: The resource's id - explode: false - in: path - name: paymentMethodId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_payment_methods_paymentMethodId_200_response' - description: The payment method object - summary: Retrieve a payment method - tags: - - payment_methods - patch: - description: Update a payment method - operationId: PATCH/payment_methods/paymentMethodId - parameters: - - description: The resource's id - explode: false - in: path - name: paymentMethodId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/paymentMethodUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_payment_methods_paymentMethodId_200_response' - description: The updated payment method object - summary: Update a payment method - tags: - - payment_methods - /payment_methods/{paymentMethodId}/market: - get: - description: Retrieve the market associated to the payment method - operationId: GET/paymentMethodId/market - parameters: - - description: The resource's id - explode: false - in: path - name: paymentMethodId - required: true - schema: {} - style: simple - responses: - "200": - description: The market associated to the payment method - summary: Retrieve the market associated to the payment method - tags: - - has_one - - markets - /payment_methods/{paymentMethodId}/payment_gateway: - get: - description: Retrieve the payment gateway associated to the payment method - operationId: GET/paymentMethodId/payment_gateway - parameters: - - description: The resource's id - explode: false - in: path - name: paymentMethodId - required: true - schema: {} - style: simple - responses: - "200": - description: The payment_gateway associated to the payment method - summary: Retrieve the payment gateway associated to the payment method - tags: - - has_one - - payment_gateways - /payment_methods/{paymentMethodId}/attachments: - get: - description: Retrieve the attachments associated to the payment method - operationId: GET/paymentMethodId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: paymentMethodId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the payment method - summary: Retrieve the attachments associated to the payment method - tags: - - has_many - - attachments - /payment_methods/{paymentMethodId}/versions: - get: - description: Retrieve the versions associated to the payment method - operationId: GET/paymentMethodId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: paymentMethodId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the payment method - summary: Retrieve the versions associated to the payment method - tags: - - has_many - - versions - /payment_options: - get: - description: List all payment options - operationId: GET/payment_options - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_payment_options_200_response' - description: A list of payment option objects - summary: List all payment options - tags: - - payment_options - post: - description: Create a payment option - operationId: POST/payment_options - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/paymentOptionCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_payment_options_201_response' - description: The created payment option object - summary: Create a payment option - tags: - - payment_options - /payment_options/{paymentOptionId}: - delete: - description: Delete a payment option - operationId: DELETE/payment_options/paymentOptionId - parameters: - - description: The resource's id - explode: false - in: path - name: paymentOptionId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a payment option - tags: - - payment_options - get: - description: Retrieve a payment option - operationId: GET/payment_options/paymentOptionId - parameters: - - description: The resource's id - explode: false - in: path - name: paymentOptionId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_payment_options_paymentOptionId_200_response' - description: The payment option object - summary: Retrieve a payment option - tags: - - payment_options - patch: - description: Update a payment option - operationId: PATCH/payment_options/paymentOptionId - parameters: - - description: The resource's id - explode: false - in: path - name: paymentOptionId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/paymentOptionUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_payment_options_paymentOptionId_200_response' - description: The updated payment option object - summary: Update a payment option - tags: - - payment_options - /payment_options/{paymentOptionId}/order: - get: - description: Retrieve the order associated to the payment option - operationId: GET/paymentOptionId/order - parameters: - - description: The resource's id - explode: false - in: path - name: paymentOptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The order associated to the payment option - summary: Retrieve the order associated to the payment option - tags: - - has_one - - orders - /payment_options/{paymentOptionId}/attachments: - get: - description: Retrieve the attachments associated to the payment option - operationId: GET/paymentOptionId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: paymentOptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the payment option - summary: Retrieve the attachments associated to the payment option - tags: - - has_many - - attachments - /paypal_gateways: - get: - description: List all paypal gateways - operationId: GET/paypal_gateways - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_paypal_gateways_200_response' - description: A list of paypal gateway objects - summary: List all paypal gateways - tags: - - paypal_gateways - post: - description: Create a paypal gateway - operationId: POST/paypal_gateways - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/paypalGatewayCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_paypal_gateways_201_response' - description: The created paypal gateway object - summary: Create a paypal gateway - tags: - - paypal_gateways - /paypal_gateways/{paypalGatewayId}: - delete: - description: Delete a paypal gateway - operationId: DELETE/paypal_gateways/paypalGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: paypalGatewayId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a paypal gateway - tags: - - paypal_gateways - get: - description: Retrieve a paypal gateway - operationId: GET/paypal_gateways/paypalGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: paypalGatewayId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_paypal_gateways_paypalGatewayId_200_response' - description: The paypal gateway object - summary: Retrieve a paypal gateway - tags: - - paypal_gateways - patch: - description: Update a paypal gateway - operationId: PATCH/paypal_gateways/paypalGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: paypalGatewayId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/paypalGatewayUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_paypal_gateways_paypalGatewayId_200_response' - description: The updated paypal gateway object - summary: Update a paypal gateway - tags: - - paypal_gateways - /paypal_gateways/{paypalGatewayId}/payment_methods: - get: - description: Retrieve the payment methods associated to the paypal gateway - operationId: GET/paypalGatewayId/payment_methods - parameters: - - description: The resource's id - explode: false - in: path - name: paypalGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The payment_methods associated to the paypal gateway - summary: Retrieve the payment methods associated to the paypal gateway - tags: - - has_many - - payment_methods - /paypal_gateways/{paypalGatewayId}/versions: - get: - description: Retrieve the versions associated to the paypal gateway - operationId: GET/paypalGatewayId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: paypalGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the paypal gateway - summary: Retrieve the versions associated to the paypal gateway - tags: - - has_many - - versions - /paypal_gateways/{paypalGatewayId}/paypal_payments: - get: - description: Retrieve the paypal payments associated to the paypal gateway - operationId: GET/paypalGatewayId/paypal_payments - parameters: - - description: The resource's id - explode: false - in: path - name: paypalGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The paypal_payments associated to the paypal gateway - summary: Retrieve the paypal payments associated to the paypal gateway - tags: - - has_many - - paypal_payments - /paypal_payments: - get: - description: List all paypal payments - operationId: GET/paypal_payments - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_paypal_payments_200_response' - description: A list of paypal payment objects - summary: List all paypal payments - tags: - - paypal_payments - post: - description: Create a paypal payment - operationId: POST/paypal_payments - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/paypalPaymentCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_paypal_payments_201_response' - description: The created paypal payment object - summary: Create a paypal payment - tags: - - paypal_payments - /paypal_payments/{paypalPaymentId}: - delete: - description: Delete a paypal payment - operationId: DELETE/paypal_payments/paypalPaymentId - parameters: - - description: The resource's id - explode: false - in: path - name: paypalPaymentId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a paypal payment - tags: - - paypal_payments - get: - description: Retrieve a paypal payment - operationId: GET/paypal_payments/paypalPaymentId - parameters: - - description: The resource's id - explode: false - in: path - name: paypalPaymentId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_paypal_payments_paypalPaymentId_200_response' - description: The paypal payment object - summary: Retrieve a paypal payment - tags: - - paypal_payments - patch: - description: Update a paypal payment - operationId: PATCH/paypal_payments/paypalPaymentId - parameters: - - description: The resource's id - explode: false - in: path - name: paypalPaymentId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/paypalPaymentUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_paypal_payments_paypalPaymentId_200_response' - description: The updated paypal payment object - summary: Update a paypal payment - tags: - - paypal_payments - /paypal_payments/{paypalPaymentId}/order: - get: - description: Retrieve the order associated to the paypal payment - operationId: GET/paypalPaymentId/order - parameters: - - description: The resource's id - explode: false - in: path - name: paypalPaymentId - required: true - schema: {} - style: simple - responses: - "200": - description: The order associated to the paypal payment - summary: Retrieve the order associated to the paypal payment - tags: - - has_one - - orders - /paypal_payments/{paypalPaymentId}/payment_gateway: - get: - description: Retrieve the payment gateway associated to the paypal payment - operationId: GET/paypalPaymentId/payment_gateway - parameters: - - description: The resource's id - explode: false - in: path - name: paypalPaymentId - required: true - schema: {} - style: simple - responses: - "200": - description: The payment_gateway associated to the paypal payment - summary: Retrieve the payment gateway associated to the paypal payment - tags: - - has_one - - payment_gateways - /paypal_payments/{paypalPaymentId}/versions: - get: - description: Retrieve the versions associated to the paypal payment - operationId: GET/paypalPaymentId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: paypalPaymentId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the paypal payment - summary: Retrieve the versions associated to the paypal payment - tags: - - has_many - - versions - /percentage_discount_promotions: - get: - description: List all percentage discount promotions - operationId: GET/percentage_discount_promotions - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_percentage_discount_promotions_200_response' - description: A list of percentage discount promotion objects - summary: List all percentage discount promotions - tags: - - percentage_discount_promotions - post: - description: Create a percentage discount promotion - operationId: POST/percentage_discount_promotions - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/percentageDiscountPromotionCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_percentage_discount_promotions_201_response' - description: The created percentage discount promotion object - summary: Create a percentage discount promotion - tags: - - percentage_discount_promotions - /percentage_discount_promotions/{percentageDiscountPromotionId}: - delete: - description: Delete a percentage discount promotion - operationId: DELETE/percentage_discount_promotions/percentageDiscountPromotionId - parameters: - - description: The resource's id - explode: false - in: path - name: percentageDiscountPromotionId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a percentage discount promotion - tags: - - percentage_discount_promotions - get: - description: Retrieve a percentage discount promotion - operationId: GET/percentage_discount_promotions/percentageDiscountPromotionId - parameters: - - description: The resource's id - explode: false - in: path - name: percentageDiscountPromotionId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_percentage_discount_promotions_percentageDiscountPromotionId_200_response' - description: The percentage discount promotion object - summary: Retrieve a percentage discount promotion - tags: - - percentage_discount_promotions - patch: - description: Update a percentage discount promotion - operationId: PATCH/percentage_discount_promotions/percentageDiscountPromotionId - parameters: - - description: The resource's id - explode: false - in: path - name: percentageDiscountPromotionId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/percentageDiscountPromotionUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_percentage_discount_promotions_percentageDiscountPromotionId_200_response' - description: The updated percentage discount promotion object - summary: Update a percentage discount promotion - tags: - - percentage_discount_promotions - /percentage_discount_promotions/{percentageDiscountPromotionId}/market: - get: - description: Retrieve the market associated to the percentage discount promotion - operationId: GET/percentageDiscountPromotionId/market - parameters: - - description: The resource's id - explode: false - in: path - name: percentageDiscountPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The market associated to the percentage discount promotion - summary: Retrieve the market associated to the percentage discount promotion - tags: - - has_one - - markets - /percentage_discount_promotions/{percentageDiscountPromotionId}/order_amount_promotion_rule: - get: - description: Retrieve the order amount promotion rule associated to the percentage - discount promotion - operationId: GET/percentageDiscountPromotionId/order_amount_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: percentageDiscountPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The order_amount_promotion_rule associated to the percentage - discount promotion - summary: Retrieve the order amount promotion rule associated to the percentage - discount promotion - tags: - - has_one - - order_amount_promotion_rules - /percentage_discount_promotions/{percentageDiscountPromotionId}/sku_list_promotion_rule: - get: - description: Retrieve the sku list promotion rule associated to the percentage - discount promotion - operationId: GET/percentageDiscountPromotionId/sku_list_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: percentageDiscountPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku_list_promotion_rule associated to the percentage discount - promotion - summary: Retrieve the sku list promotion rule associated to the percentage discount - promotion - tags: - - has_one - - sku_list_promotion_rules - /percentage_discount_promotions/{percentageDiscountPromotionId}/coupon_codes_promotion_rule: - get: - description: Retrieve the coupon codes promotion rule associated to the percentage - discount promotion - operationId: GET/percentageDiscountPromotionId/coupon_codes_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: percentageDiscountPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The coupon_codes_promotion_rule associated to the percentage - discount promotion - summary: Retrieve the coupon codes promotion rule associated to the percentage - discount promotion - tags: - - has_one - - coupon_codes_promotion_rules - /percentage_discount_promotions/{percentageDiscountPromotionId}/custom_promotion_rule: - get: - description: Retrieve the custom promotion rule associated to the percentage - discount promotion - operationId: GET/percentageDiscountPromotionId/custom_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: percentageDiscountPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The custom_promotion_rule associated to the percentage discount - promotion - summary: Retrieve the custom promotion rule associated to the percentage discount - promotion - tags: - - has_one - - custom_promotion_rules - /percentage_discount_promotions/{percentageDiscountPromotionId}/sku_list: - get: - description: Retrieve the sku list associated to the percentage discount promotion - operationId: GET/percentageDiscountPromotionId/sku_list - parameters: - - description: The resource's id - explode: false - in: path - name: percentageDiscountPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku_list associated to the percentage discount promotion - summary: Retrieve the sku list associated to the percentage discount promotion - tags: - - has_one - - sku_lists - /percentage_discount_promotions/{percentageDiscountPromotionId}/coupons: - get: - description: Retrieve the coupons associated to the percentage discount promotion - operationId: GET/percentageDiscountPromotionId/coupons - parameters: - - description: The resource's id - explode: false - in: path - name: percentageDiscountPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The coupons associated to the percentage discount promotion - summary: Retrieve the coupons associated to the percentage discount promotion - tags: - - has_many - - coupons - /percentage_discount_promotions/{percentageDiscountPromotionId}/attachments: - get: - description: Retrieve the attachments associated to the percentage discount - promotion - operationId: GET/percentageDiscountPromotionId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: percentageDiscountPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the percentage discount promotion - summary: Retrieve the attachments associated to the percentage discount promotion - tags: - - has_many - - attachments - /percentage_discount_promotions/{percentageDiscountPromotionId}/events: - get: - description: Retrieve the events associated to the percentage discount promotion - operationId: GET/percentageDiscountPromotionId/events - parameters: - - description: The resource's id - explode: false - in: path - name: percentageDiscountPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the percentage discount promotion - summary: Retrieve the events associated to the percentage discount promotion - tags: - - has_many - - events - /percentage_discount_promotions/{percentageDiscountPromotionId}/tags: - get: - description: Retrieve the tags associated to the percentage discount promotion - operationId: GET/percentageDiscountPromotionId/tags - parameters: - - description: The resource's id - explode: false - in: path - name: percentageDiscountPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The tags associated to the percentage discount promotion - summary: Retrieve the tags associated to the percentage discount promotion - tags: - - has_many - - tags - /percentage_discount_promotions/{percentageDiscountPromotionId}/versions: - get: - description: Retrieve the versions associated to the percentage discount promotion - operationId: GET/percentageDiscountPromotionId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: percentageDiscountPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the percentage discount promotion - summary: Retrieve the versions associated to the percentage discount promotion - tags: - - has_many - - versions - /percentage_discount_promotions/{percentageDiscountPromotionId}/skus: - get: - description: Retrieve the skus associated to the percentage discount promotion - operationId: GET/percentageDiscountPromotionId/skus - parameters: - - description: The resource's id - explode: false - in: path - name: percentageDiscountPromotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The skus associated to the percentage discount promotion - summary: Retrieve the skus associated to the percentage discount promotion - tags: - - has_many - - skus - /price_frequency_tiers: - get: - description: List all price frequency tiers - operationId: GET/price_frequency_tiers - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_price_frequency_tiers_200_response' - description: A list of price frequency tier objects - summary: List all price frequency tiers - tags: - - price_frequency_tiers - post: - description: Create a price frequency tier - operationId: POST/price_frequency_tiers - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/priceFrequencyTierCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_price_frequency_tiers_201_response' - description: The created price frequency tier object - summary: Create a price frequency tier - tags: - - price_frequency_tiers - /price_frequency_tiers/{priceFrequencyTierId}: - delete: - description: Delete a price frequency tier - operationId: DELETE/price_frequency_tiers/priceFrequencyTierId - parameters: - - description: The resource's id - explode: false - in: path - name: priceFrequencyTierId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a price frequency tier - tags: - - price_frequency_tiers - get: - description: Retrieve a price frequency tier - operationId: GET/price_frequency_tiers/priceFrequencyTierId - parameters: - - description: The resource's id - explode: false - in: path - name: priceFrequencyTierId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_price_frequency_tiers_priceFrequencyTierId_200_response' - description: The price frequency tier object - summary: Retrieve a price frequency tier - tags: - - price_frequency_tiers - patch: - description: Update a price frequency tier - operationId: PATCH/price_frequency_tiers/priceFrequencyTierId - parameters: - - description: The resource's id - explode: false - in: path - name: priceFrequencyTierId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/priceFrequencyTierUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_price_frequency_tiers_priceFrequencyTierId_200_response' - description: The updated price frequency tier object - summary: Update a price frequency tier - tags: - - price_frequency_tiers - /price_frequency_tiers/{priceFrequencyTierId}/price: - get: - description: Retrieve the price associated to the price frequency tier - operationId: GET/priceFrequencyTierId/price - parameters: - - description: The resource's id - explode: false - in: path - name: priceFrequencyTierId - required: true - schema: {} - style: simple - responses: - "200": - description: The price associated to the price frequency tier - summary: Retrieve the price associated to the price frequency tier - tags: - - has_one - - prices - /price_frequency_tiers/{priceFrequencyTierId}/attachments: - get: - description: Retrieve the attachments associated to the price frequency tier - operationId: GET/priceFrequencyTierId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: priceFrequencyTierId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the price frequency tier - summary: Retrieve the attachments associated to the price frequency tier - tags: - - has_many - - attachments - /price_frequency_tiers/{priceFrequencyTierId}/versions: - get: - description: Retrieve the versions associated to the price frequency tier - operationId: GET/priceFrequencyTierId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: priceFrequencyTierId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the price frequency tier - summary: Retrieve the versions associated to the price frequency tier - tags: - - has_many - - versions - /price_frequency_tiers/{priceFrequencyTierId}/events: - get: - description: Retrieve the events associated to the price frequency tier - operationId: GET/priceFrequencyTierId/events - parameters: - - description: The resource's id - explode: false - in: path - name: priceFrequencyTierId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the price frequency tier - summary: Retrieve the events associated to the price frequency tier - tags: - - has_many - - events - /price_list_schedulers: - get: - description: List all price list schedulers - operationId: GET/price_list_schedulers - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_price_list_schedulers_200_response' - description: A list of price list scheduler objects - summary: List all price list schedulers - tags: - - price_list_schedulers - post: - description: Create a price list scheduler - operationId: POST/price_list_schedulers - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/priceListSchedulerCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_price_list_schedulers_201_response' - description: The created price list scheduler object - summary: Create a price list scheduler - tags: - - price_list_schedulers - /price_list_schedulers/{priceListSchedulerId}: - delete: - description: Delete a price list scheduler - operationId: DELETE/price_list_schedulers/priceListSchedulerId - parameters: - - description: The resource's id - explode: false - in: path - name: priceListSchedulerId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a price list scheduler - tags: - - price_list_schedulers - get: - description: Retrieve a price list scheduler - operationId: GET/price_list_schedulers/priceListSchedulerId - parameters: - - description: The resource's id - explode: false - in: path - name: priceListSchedulerId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_price_list_schedulers_priceListSchedulerId_200_response' - description: The price list scheduler object - summary: Retrieve a price list scheduler - tags: - - price_list_schedulers - patch: - description: Update a price list scheduler - operationId: PATCH/price_list_schedulers/priceListSchedulerId - parameters: - - description: The resource's id - explode: false - in: path - name: priceListSchedulerId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/priceListSchedulerUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_price_list_schedulers_priceListSchedulerId_200_response' - description: The updated price list scheduler object - summary: Update a price list scheduler - tags: - - price_list_schedulers - /price_list_schedulers/{priceListSchedulerId}/market: - get: - description: Retrieve the market associated to the price list scheduler - operationId: GET/priceListSchedulerId/market - parameters: - - description: The resource's id - explode: false - in: path - name: priceListSchedulerId - required: true - schema: {} - style: simple - responses: - "200": - description: The market associated to the price list scheduler - summary: Retrieve the market associated to the price list scheduler - tags: - - has_one - - markets - /price_list_schedulers/{priceListSchedulerId}/price_list: - get: - description: Retrieve the price list associated to the price list scheduler - operationId: GET/priceListSchedulerId/price_list - parameters: - - description: The resource's id - explode: false - in: path - name: priceListSchedulerId - required: true - schema: {} - style: simple - responses: - "200": - description: The price_list associated to the price list scheduler - summary: Retrieve the price list associated to the price list scheduler - tags: - - has_one - - price_lists - /price_list_schedulers/{priceListSchedulerId}/events: - get: - description: Retrieve the events associated to the price list scheduler - operationId: GET/priceListSchedulerId/events - parameters: - - description: The resource's id - explode: false - in: path - name: priceListSchedulerId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the price list scheduler - summary: Retrieve the events associated to the price list scheduler - tags: - - has_many - - events - /price_list_schedulers/{priceListSchedulerId}/versions: - get: - description: Retrieve the versions associated to the price list scheduler - operationId: GET/priceListSchedulerId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: priceListSchedulerId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the price list scheduler - summary: Retrieve the versions associated to the price list scheduler - tags: - - has_many - - versions - /price_lists: - get: - description: List all price lists - operationId: GET/price_lists - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_price_lists_200_response' - description: A list of price list objects - summary: List all price lists - tags: - - price_lists - post: - description: Create a price list - operationId: POST/price_lists - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/priceListCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_price_lists_201_response' - description: The created price list object - summary: Create a price list - tags: - - price_lists - /price_lists/{priceListId}: - delete: - description: Delete a price list - operationId: DELETE/price_lists/priceListId - parameters: - - description: The resource's id - explode: false - in: path - name: priceListId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a price list - tags: - - price_lists - get: - description: Retrieve a price list - operationId: GET/price_lists/priceListId - parameters: - - description: The resource's id - explode: false - in: path - name: priceListId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_price_lists_priceListId_200_response' - description: The price list object - summary: Retrieve a price list - tags: - - price_lists - patch: - description: Update a price list - operationId: PATCH/price_lists/priceListId - parameters: - - description: The resource's id - explode: false - in: path - name: priceListId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/priceListUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_price_lists_priceListId_200_response' - description: The updated price list object - summary: Update a price list - tags: - - price_lists - /price_lists/{priceListId}/prices: - get: - description: Retrieve the prices associated to the price list - operationId: GET/priceListId/prices - parameters: - - description: The resource's id - explode: false - in: path - name: priceListId - required: true - schema: {} - style: simple - responses: - "200": - description: The prices associated to the price list - summary: Retrieve the prices associated to the price list - tags: - - has_many - - prices - /price_lists/{priceListId}/price_list_schedulers: - get: - description: Retrieve the price list schedulers associated to the price list - operationId: GET/priceListId/price_list_schedulers - parameters: - - description: The resource's id - explode: false - in: path - name: priceListId - required: true - schema: {} - style: simple - responses: - "200": - description: The price_list_schedulers associated to the price list - summary: Retrieve the price list schedulers associated to the price list - tags: - - has_many - - price_list_schedulers - /price_lists/{priceListId}/attachments: - get: - description: Retrieve the attachments associated to the price list - operationId: GET/priceListId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: priceListId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the price list - summary: Retrieve the attachments associated to the price list - tags: - - has_many - - attachments - /price_lists/{priceListId}/versions: - get: - description: Retrieve the versions associated to the price list - operationId: GET/priceListId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: priceListId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the price list - summary: Retrieve the versions associated to the price list - tags: - - has_many - - versions - /price_tiers: - get: - description: List all price tiers - operationId: GET/price_tiers - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_price_tiers_200_response' - description: A list of price tier objects - summary: List all price tiers - tags: - - price_tiers - /price_tiers/{priceTierId}: - get: - description: Retrieve a price tier - operationId: GET/price_tiers/priceTierId - parameters: - - description: The resource's id - explode: false - in: path - name: priceTierId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_price_tiers_priceTierId_200_response' - description: The price tier object - summary: Retrieve a price tier - tags: - - price_tiers - /price_tiers/{priceTierId}/price: - get: - description: Retrieve the price associated to the price tier - operationId: GET/priceTierId/price - parameters: - - description: The resource's id - explode: false - in: path - name: priceTierId - required: true - schema: {} - style: simple - responses: - "200": - description: The price associated to the price tier - summary: Retrieve the price associated to the price tier - tags: - - has_one - - prices - /price_tiers/{priceTierId}/attachments: - get: - description: Retrieve the attachments associated to the price tier - operationId: GET/priceTierId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: priceTierId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the price tier - summary: Retrieve the attachments associated to the price tier - tags: - - has_many - - attachments - /price_tiers/{priceTierId}/versions: - get: - description: Retrieve the versions associated to the price tier - operationId: GET/priceTierId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: priceTierId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the price tier - summary: Retrieve the versions associated to the price tier - tags: - - has_many - - versions - /price_volume_tiers: - get: - description: List all price volume tiers - operationId: GET/price_volume_tiers - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_price_volume_tiers_200_response' - description: A list of price volume tier objects - summary: List all price volume tiers - tags: - - price_volume_tiers - post: - description: Create a price volume tier - operationId: POST/price_volume_tiers - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/priceVolumeTierCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_price_volume_tiers_201_response' - description: The created price volume tier object - summary: Create a price volume tier - tags: - - price_volume_tiers - /price_volume_tiers/{priceVolumeTierId}: - delete: - description: Delete a price volume tier - operationId: DELETE/price_volume_tiers/priceVolumeTierId - parameters: - - description: The resource's id - explode: false - in: path - name: priceVolumeTierId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a price volume tier - tags: - - price_volume_tiers - get: - description: Retrieve a price volume tier - operationId: GET/price_volume_tiers/priceVolumeTierId - parameters: - - description: The resource's id - explode: false - in: path - name: priceVolumeTierId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_price_volume_tiers_priceVolumeTierId_200_response' - description: The price volume tier object - summary: Retrieve a price volume tier - tags: - - price_volume_tiers - patch: - description: Update a price volume tier - operationId: PATCH/price_volume_tiers/priceVolumeTierId - parameters: - - description: The resource's id - explode: false - in: path - name: priceVolumeTierId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/priceVolumeTierUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_price_volume_tiers_priceVolumeTierId_200_response' - description: The updated price volume tier object - summary: Update a price volume tier - tags: - - price_volume_tiers - /price_volume_tiers/{priceVolumeTierId}/price: - get: - description: Retrieve the price associated to the price volume tier - operationId: GET/priceVolumeTierId/price - parameters: - - description: The resource's id - explode: false - in: path - name: priceVolumeTierId - required: true - schema: {} - style: simple - responses: - "200": - description: The price associated to the price volume tier - summary: Retrieve the price associated to the price volume tier - tags: - - has_one - - prices - /price_volume_tiers/{priceVolumeTierId}/attachments: - get: - description: Retrieve the attachments associated to the price volume tier - operationId: GET/priceVolumeTierId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: priceVolumeTierId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the price volume tier - summary: Retrieve the attachments associated to the price volume tier - tags: - - has_many - - attachments - /price_volume_tiers/{priceVolumeTierId}/versions: - get: - description: Retrieve the versions associated to the price volume tier - operationId: GET/priceVolumeTierId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: priceVolumeTierId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the price volume tier - summary: Retrieve the versions associated to the price volume tier - tags: - - has_many - - versions - /price_volume_tiers/{priceVolumeTierId}/events: - get: - description: Retrieve the events associated to the price volume tier - operationId: GET/priceVolumeTierId/events - parameters: - - description: The resource's id - explode: false - in: path - name: priceVolumeTierId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the price volume tier - summary: Retrieve the events associated to the price volume tier - tags: - - has_many - - events - /prices: - get: - description: List all prices - operationId: GET/prices - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_prices_200_response' - description: A list of price objects - summary: List all prices - tags: - - prices - post: - description: Create a price - operationId: POST/prices - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/priceCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_prices_201_response' - description: The created price object - summary: Create a price - tags: - - prices - /prices/{priceId}: - delete: - description: Delete a price - operationId: DELETE/prices/priceId - parameters: - - description: The resource's id - explode: false - in: path - name: priceId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a price - tags: - - prices - get: - description: Retrieve a price - operationId: GET/prices/priceId - parameters: - - description: The resource's id - explode: false - in: path - name: priceId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_prices_priceId_200_response' - description: The price object - summary: Retrieve a price - tags: - - prices - patch: - description: Update a price - operationId: PATCH/prices/priceId - parameters: - - description: The resource's id - explode: false - in: path - name: priceId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/priceUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_prices_priceId_200_response' - description: The updated price object - summary: Update a price - tags: - - prices - /prices/{priceId}/price_list: - get: - description: Retrieve the price list associated to the price - operationId: GET/priceId/price_list - parameters: - - description: The resource's id - explode: false - in: path - name: priceId - required: true - schema: {} - style: simple - responses: - "200": - description: The price_list associated to the price - summary: Retrieve the price list associated to the price - tags: - - has_one - - price_lists - /prices/{priceId}/sku: - get: - description: Retrieve the sku associated to the price - operationId: GET/priceId/sku - parameters: - - description: The resource's id - explode: false - in: path - name: priceId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku associated to the price - summary: Retrieve the sku associated to the price - tags: - - has_one - - skus - /prices/{priceId}/price_tiers: - get: - description: Retrieve the price tiers associated to the price - operationId: GET/priceId/price_tiers - parameters: - - description: The resource's id - explode: false - in: path - name: priceId - required: true - schema: {} - style: simple - responses: - "200": - description: The price_tiers associated to the price - summary: Retrieve the price tiers associated to the price - tags: - - has_many - - price_tiers - /prices/{priceId}/price_volume_tiers: - get: - description: Retrieve the price volume tiers associated to the price - operationId: GET/priceId/price_volume_tiers - parameters: - - description: The resource's id - explode: false - in: path - name: priceId - required: true - schema: {} - style: simple - responses: - "200": - description: The price_volume_tiers associated to the price - summary: Retrieve the price volume tiers associated to the price - tags: - - has_many - - price_volume_tiers - /prices/{priceId}/price_frequency_tiers: - get: - description: Retrieve the price frequency tiers associated to the price - operationId: GET/priceId/price_frequency_tiers - parameters: - - description: The resource's id - explode: false - in: path - name: priceId - required: true - schema: {} - style: simple - responses: - "200": - description: The price_frequency_tiers associated to the price - summary: Retrieve the price frequency tiers associated to the price - tags: - - has_many - - price_frequency_tiers - /prices/{priceId}/attachments: - get: - description: Retrieve the attachments associated to the price - operationId: GET/priceId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: priceId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the price - summary: Retrieve the attachments associated to the price - tags: - - has_many - - attachments - /prices/{priceId}/versions: - get: - description: Retrieve the versions associated to the price - operationId: GET/priceId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: priceId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the price - summary: Retrieve the versions associated to the price - tags: - - has_many - - versions - /prices/{priceId}/jwt_customer: - get: - description: Retrieve the jwt customer associated to the price - operationId: GET/priceId/jwt_customer - parameters: - - description: The resource's id - explode: false - in: path - name: priceId - required: true - schema: {} - style: simple - responses: - "200": - description: The jwt_customer associated to the price - summary: Retrieve the jwt customer associated to the price - tags: - - has_one - - customers - /prices/{priceId}/jwt_markets: - get: - description: Retrieve the jwt markets associated to the price - operationId: GET/priceId/jwt_markets - parameters: - - description: The resource's id - explode: false - in: path - name: priceId - required: true - schema: {} - style: simple - responses: - "200": - description: The jwt_markets associated to the price - summary: Retrieve the jwt markets associated to the price - tags: - - has_many - - markets - /prices/{priceId}/jwt_stock_locations: - get: - description: Retrieve the jwt stock locations associated to the price - operationId: GET/priceId/jwt_stock_locations - parameters: - - description: The resource's id - explode: false - in: path - name: priceId - required: true - schema: {} - style: simple - responses: - "200": - description: The jwt_stock_locations associated to the price - summary: Retrieve the jwt stock locations associated to the price - tags: - - has_many - - stock_locations - /promotion_rules: - get: - description: List all promotion rules - operationId: GET/promotion_rules - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_promotion_rules_200_response' - description: A list of promotion rule objects - summary: List all promotion rules - tags: - - promotion_rules - /promotion_rules/{promotionRuleId}: - get: - description: Retrieve a promotion rule - operationId: GET/promotion_rules/promotionRuleId - parameters: - - description: The resource's id - explode: false - in: path - name: promotionRuleId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_promotion_rules_promotionRuleId_200_response' - description: The promotion rule object - summary: Retrieve a promotion rule - tags: - - promotion_rules - /promotion_rules/{promotionRuleId}/versions: - get: - description: Retrieve the versions associated to the promotion rule - operationId: GET/promotionRuleId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: promotionRuleId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the promotion rule - summary: Retrieve the versions associated to the promotion rule - tags: - - has_many - - versions - /promotions: - get: - description: List all promotions - operationId: GET/promotions - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_promotions_200_response' - description: A list of promotion objects - summary: List all promotions - tags: - - promotions - /promotions/{promotionId}: - get: - description: Retrieve a promotion - operationId: GET/promotions/promotionId - parameters: - - description: The resource's id - explode: false - in: path - name: promotionId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_promotions_promotionId_200_response' - description: The promotion object - summary: Retrieve a promotion - tags: - - promotions - /promotions/{promotionId}/market: - get: - description: Retrieve the market associated to the promotion - operationId: GET/promotionId/market - parameters: - - description: The resource's id - explode: false - in: path - name: promotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The market associated to the promotion - summary: Retrieve the market associated to the promotion - tags: - - has_one - - markets - /promotions/{promotionId}/order_amount_promotion_rule: - get: - description: Retrieve the order amount promotion rule associated to the promotion - operationId: GET/promotionId/order_amount_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: promotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The order_amount_promotion_rule associated to the promotion - summary: Retrieve the order amount promotion rule associated to the promotion - tags: - - has_one - - order_amount_promotion_rules - /promotions/{promotionId}/sku_list_promotion_rule: - get: - description: Retrieve the sku list promotion rule associated to the promotion - operationId: GET/promotionId/sku_list_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: promotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku_list_promotion_rule associated to the promotion - summary: Retrieve the sku list promotion rule associated to the promotion - tags: - - has_one - - sku_list_promotion_rules - /promotions/{promotionId}/coupon_codes_promotion_rule: - get: - description: Retrieve the coupon codes promotion rule associated to the promotion - operationId: GET/promotionId/coupon_codes_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: promotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The coupon_codes_promotion_rule associated to the promotion - summary: Retrieve the coupon codes promotion rule associated to the promotion - tags: - - has_one - - coupon_codes_promotion_rules - /promotions/{promotionId}/custom_promotion_rule: - get: - description: Retrieve the custom promotion rule associated to the promotion - operationId: GET/promotionId/custom_promotion_rule - parameters: - - description: The resource's id - explode: false - in: path - name: promotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The custom_promotion_rule associated to the promotion - summary: Retrieve the custom promotion rule associated to the promotion - tags: - - has_one - - custom_promotion_rules - /promotions/{promotionId}/sku_list: - get: - description: Retrieve the sku list associated to the promotion - operationId: GET/promotionId/sku_list - parameters: - - description: The resource's id - explode: false - in: path - name: promotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku_list associated to the promotion - summary: Retrieve the sku list associated to the promotion - tags: - - has_one - - sku_lists - /promotions/{promotionId}/coupons: - get: - description: Retrieve the coupons associated to the promotion - operationId: GET/promotionId/coupons - parameters: - - description: The resource's id - explode: false - in: path - name: promotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The coupons associated to the promotion - summary: Retrieve the coupons associated to the promotion - tags: - - has_many - - coupons - /promotions/{promotionId}/attachments: - get: - description: Retrieve the attachments associated to the promotion - operationId: GET/promotionId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: promotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the promotion - summary: Retrieve the attachments associated to the promotion - tags: - - has_many - - attachments - /promotions/{promotionId}/events: - get: - description: Retrieve the events associated to the promotion - operationId: GET/promotionId/events - parameters: - - description: The resource's id - explode: false - in: path - name: promotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the promotion - summary: Retrieve the events associated to the promotion - tags: - - has_many - - events - /promotions/{promotionId}/tags: - get: - description: Retrieve the tags associated to the promotion - operationId: GET/promotionId/tags - parameters: - - description: The resource's id - explode: false - in: path - name: promotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The tags associated to the promotion - summary: Retrieve the tags associated to the promotion - tags: - - has_many - - tags - /promotions/{promotionId}/versions: - get: - description: Retrieve the versions associated to the promotion - operationId: GET/promotionId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: promotionId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the promotion - summary: Retrieve the versions associated to the promotion - tags: - - has_many - - versions - /recurring_order_copies: - get: - description: List all recurring order copies - operationId: GET/recurring_order_copies - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_recurring_order_copies_200_response' - description: A list of recurring order copy objects - summary: List all recurring order copies - tags: - - recurring_order_copies - post: - description: Create a recurring order copy - operationId: POST/recurring_order_copies - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/recurringOrderCopyCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_recurring_order_copies_201_response' - description: The created recurring order copy object - summary: Create a recurring order copy - tags: - - recurring_order_copies - /recurring_order_copies/{recurringOrderCopyId}: - delete: - description: Delete a recurring order copy - operationId: DELETE/recurring_order_copies/recurringOrderCopyId - parameters: - - description: The resource's id - explode: false - in: path - name: recurringOrderCopyId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a recurring order copy - tags: - - recurring_order_copies - get: - description: Retrieve a recurring order copy - operationId: GET/recurring_order_copies/recurringOrderCopyId - parameters: - - description: The resource's id - explode: false - in: path - name: recurringOrderCopyId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_recurring_order_copies_recurringOrderCopyId_200_response' - description: The recurring order copy object - summary: Retrieve a recurring order copy - tags: - - recurring_order_copies - patch: - description: Update a recurring order copy - operationId: PATCH/recurring_order_copies/recurringOrderCopyId - parameters: - - description: The resource's id - explode: false - in: path - name: recurringOrderCopyId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/recurringOrderCopyUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_recurring_order_copies_recurringOrderCopyId_200_response' - description: The updated recurring order copy object - summary: Update a recurring order copy - tags: - - recurring_order_copies - /recurring_order_copies/{recurringOrderCopyId}/source_order: - get: - description: Retrieve the source order associated to the recurring order copy - operationId: GET/recurringOrderCopyId/source_order - parameters: - - description: The resource's id - explode: false - in: path - name: recurringOrderCopyId - required: true - schema: {} - style: simple - responses: - "200": - description: The source_order associated to the recurring order copy - summary: Retrieve the source order associated to the recurring order copy - tags: - - has_one - - orders - /recurring_order_copies/{recurringOrderCopyId}/target_order: - get: - description: Retrieve the target order associated to the recurring order copy - operationId: GET/recurringOrderCopyId/target_order - parameters: - - description: The resource's id - explode: false - in: path - name: recurringOrderCopyId - required: true - schema: {} - style: simple - responses: - "200": - description: The target_order associated to the recurring order copy - summary: Retrieve the target order associated to the recurring order copy - tags: - - has_one - - orders - /recurring_order_copies/{recurringOrderCopyId}/events: - get: - description: Retrieve the events associated to the recurring order copy - operationId: GET/recurringOrderCopyId/events - parameters: - - description: The resource's id - explode: false - in: path - name: recurringOrderCopyId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the recurring order copy - summary: Retrieve the events associated to the recurring order copy - tags: - - has_many - - events - /recurring_order_copies/{recurringOrderCopyId}/order_subscription: - get: - description: Retrieve the order subscription associated to the recurring order - copy - operationId: GET/recurringOrderCopyId/order_subscription - parameters: - - description: The resource's id - explode: false - in: path - name: recurringOrderCopyId - required: true - schema: {} - style: simple - responses: - "200": - description: The order_subscription associated to the recurring order copy - summary: Retrieve the order subscription associated to the recurring order copy - tags: - - has_one - - order_subscriptions - /refunds: - get: - description: List all refunds - operationId: GET/refunds - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_refunds_200_response' - description: A list of refund objects - summary: List all refunds - tags: - - refunds - /refunds/{refundId}: - get: - description: Retrieve a refund - operationId: GET/refunds/refundId - parameters: - - description: The resource's id - explode: false - in: path - name: refundId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_refunds_refundId_200_response' - description: The refund object - summary: Retrieve a refund - tags: - - refunds - patch: - description: Update a refund - operationId: PATCH/refunds/refundId - parameters: - - description: The resource's id - explode: false - in: path - name: refundId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/refundUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_refunds_refundId_200_response' - description: The updated refund object - summary: Update a refund - tags: - - refunds - /refunds/{refundId}/order: - get: - description: Retrieve the order associated to the refund - operationId: GET/refundId/order - parameters: - - description: The resource's id - explode: false - in: path - name: refundId - required: true - schema: {} - style: simple - responses: - "200": - description: The order associated to the refund - summary: Retrieve the order associated to the refund - tags: - - has_one - - orders - /refunds/{refundId}/attachments: - get: - description: Retrieve the attachments associated to the refund - operationId: GET/refundId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: refundId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the refund - summary: Retrieve the attachments associated to the refund - tags: - - has_many - - attachments - /refunds/{refundId}/events: - get: - description: Retrieve the events associated to the refund - operationId: GET/refundId/events - parameters: - - description: The resource's id - explode: false - in: path - name: refundId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the refund - summary: Retrieve the events associated to the refund - tags: - - has_many - - events - /refunds/{refundId}/versions: - get: - description: Retrieve the versions associated to the refund - operationId: GET/refundId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: refundId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the refund - summary: Retrieve the versions associated to the refund - tags: - - has_many - - versions - /refunds/{refundId}/reference_capture: - get: - description: Retrieve the reference capture associated to the refund - operationId: GET/refundId/reference_capture - parameters: - - description: The resource's id - explode: false - in: path - name: refundId - required: true - schema: {} - style: simple - responses: - "200": - description: The reference_capture associated to the refund - summary: Retrieve the reference capture associated to the refund - tags: - - has_one - - captures - /refunds/{refundId}/return: - get: - description: Retrieve the return associated to the refund - operationId: GET/refundId/return - parameters: - - description: The resource's id - explode: false - in: path - name: refundId - required: true - schema: {} - style: simple - responses: - "200": - description: The return associated to the refund - summary: Retrieve the return associated to the refund - tags: - - has_one - - returns - /reserved_stocks: - get: - description: List all reserved stocks - operationId: GET/reserved_stocks - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_reserved_stocks_200_response' - description: A list of reserved stock objects - summary: List all reserved stocks - tags: - - reserved_stocks - /reserved_stocks/{reservedStockId}: - get: - description: Retrieve a reserved stock - operationId: GET/reserved_stocks/reservedStockId - parameters: - - description: The resource's id - explode: false - in: path - name: reservedStockId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_reserved_stocks_reservedStockId_200_response' - description: The reserved stock object - summary: Retrieve a reserved stock - tags: - - reserved_stocks - /reserved_stocks/{reservedStockId}/stock_item: - get: - description: Retrieve the stock item associated to the reserved stock - operationId: GET/reservedStockId/stock_item - parameters: - - description: The resource's id - explode: false - in: path - name: reservedStockId - required: true - schema: {} - style: simple - responses: - "200": - description: The stock_item associated to the reserved stock - summary: Retrieve the stock item associated to the reserved stock - tags: - - has_one - - stock_items - /reserved_stocks/{reservedStockId}/sku: - get: - description: Retrieve the sku associated to the reserved stock - operationId: GET/reservedStockId/sku - parameters: - - description: The resource's id - explode: false - in: path - name: reservedStockId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku associated to the reserved stock - summary: Retrieve the sku associated to the reserved stock - tags: - - has_one - - skus - /reserved_stocks/{reservedStockId}/stock_reservations: - get: - description: Retrieve the stock reservations associated to the reserved stock - operationId: GET/reservedStockId/stock_reservations - parameters: - - description: The resource's id - explode: false - in: path - name: reservedStockId - required: true - schema: {} - style: simple - responses: - "200": - description: The stock_reservations associated to the reserved stock - summary: Retrieve the stock reservations associated to the reserved stock - tags: - - has_many - - stock_reservations - /reserved_stocks/{reservedStockId}/versions: - get: - description: Retrieve the versions associated to the reserved stock - operationId: GET/reservedStockId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: reservedStockId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the reserved stock - summary: Retrieve the versions associated to the reserved stock - tags: - - has_many - - versions - /resource_errors: - get: - description: List all resource errors - operationId: GET/resource_errors - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_resource_errors_200_response' - description: A list of resource error objects - summary: List all resource errors - tags: - - resource_errors - /resource_errors/{resourceErrorId}: - get: - description: Retrieve a resource error - operationId: GET/resource_errors/resourceErrorId - parameters: - - description: The resource's id - explode: false - in: path - name: resourceErrorId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_resource_errors_resourceErrorId_200_response' - description: The resource error object - summary: Retrieve a resource error - tags: - - resource_errors - /return_line_items: - get: - description: List all return line items - operationId: GET/return_line_items - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_return_line_items_200_response' - description: A list of return line item objects - summary: List all return line items - tags: - - return_line_items - post: - description: Create a return line item - operationId: POST/return_line_items - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/returnLineItemCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_return_line_items_201_response' - description: The created return line item object - summary: Create a return line item - tags: - - return_line_items - /return_line_items/{returnLineItemId}: - delete: - description: Delete a return line item - operationId: DELETE/return_line_items/returnLineItemId - parameters: - - description: The resource's id - explode: false - in: path - name: returnLineItemId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a return line item - tags: - - return_line_items - get: - description: Retrieve a return line item - operationId: GET/return_line_items/returnLineItemId - parameters: - - description: The resource's id - explode: false - in: path - name: returnLineItemId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_return_line_items_returnLineItemId_200_response' - description: The return line item object - summary: Retrieve a return line item - tags: - - return_line_items - patch: - description: Update a return line item - operationId: PATCH/return_line_items/returnLineItemId - parameters: - - description: The resource's id - explode: false - in: path - name: returnLineItemId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/returnLineItemUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_return_line_items_returnLineItemId_200_response' - description: The updated return line item object - summary: Update a return line item - tags: - - return_line_items - /return_line_items/{returnLineItemId}/return: - get: - description: Retrieve the return associated to the return line item - operationId: GET/returnLineItemId/return - parameters: - - description: The resource's id - explode: false - in: path - name: returnLineItemId - required: true - schema: {} - style: simple - responses: - "200": - description: The return associated to the return line item - summary: Retrieve the return associated to the return line item - tags: - - has_one - - returns - /return_line_items/{returnLineItemId}/line_item: - get: - description: Retrieve the line item associated to the return line item - operationId: GET/returnLineItemId/line_item - parameters: - - description: The resource's id - explode: false - in: path - name: returnLineItemId - required: true - schema: {} - style: simple - responses: - "200": - description: The line_item associated to the return line item - summary: Retrieve the line item associated to the return line item - tags: - - has_one - - line_items - /returns: - get: - description: List all returns - operationId: GET/returns - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_returns_200_response' - description: A list of return objects - summary: List all returns - tags: - - returns - post: - description: Create a return - operationId: POST/returns - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/returnCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_returns_201_response' - description: The created return object - summary: Create a return - tags: - - returns - /returns/{returnId}: - delete: - description: Delete a return - operationId: DELETE/returns/returnId - parameters: - - description: The resource's id - explode: false - in: path - name: returnId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a return - tags: - - returns - get: - description: Retrieve a return - operationId: GET/returns/returnId - parameters: - - description: The resource's id - explode: false - in: path - name: returnId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_returns_returnId_200_response' - description: The return object - summary: Retrieve a return - tags: - - returns - patch: - description: Update a return - operationId: PATCH/returns/returnId - parameters: - - description: The resource's id - explode: false - in: path - name: returnId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/returnUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_returns_returnId_200_response' - description: The updated return object - summary: Update a return - tags: - - returns - /returns/{returnId}/order: - get: - description: Retrieve the order associated to the return - operationId: GET/returnId/order - parameters: - - description: The resource's id - explode: false - in: path - name: returnId - required: true - schema: {} - style: simple - responses: - "200": - description: The order associated to the return - summary: Retrieve the order associated to the return - tags: - - has_one - - orders - /returns/{returnId}/customer: - get: - description: Retrieve the customer associated to the return - operationId: GET/returnId/customer - parameters: - - description: The resource's id - explode: false - in: path - name: returnId - required: true - schema: {} - style: simple - responses: - "200": - description: The customer associated to the return - summary: Retrieve the customer associated to the return - tags: - - has_one - - customers - /returns/{returnId}/stock_location: - get: - description: Retrieve the stock location associated to the return - operationId: GET/returnId/stock_location - parameters: - - description: The resource's id - explode: false - in: path - name: returnId - required: true - schema: {} - style: simple - responses: - "200": - description: The stock_location associated to the return - summary: Retrieve the stock location associated to the return - tags: - - has_one - - stock_locations - /returns/{returnId}/origin_address: - get: - description: Retrieve the origin address associated to the return - operationId: GET/returnId/origin_address - parameters: - - description: The resource's id - explode: false - in: path - name: returnId - required: true - schema: {} - style: simple - responses: - "200": - description: The origin_address associated to the return - summary: Retrieve the origin address associated to the return - tags: - - has_one - - addresses - /returns/{returnId}/destination_address: - get: - description: Retrieve the destination address associated to the return - operationId: GET/returnId/destination_address - parameters: - - description: The resource's id - explode: false - in: path - name: returnId - required: true - schema: {} - style: simple - responses: - "200": - description: The destination_address associated to the return - summary: Retrieve the destination address associated to the return - tags: - - has_one - - addresses - /returns/{returnId}/reference_capture: - get: - description: Retrieve the reference capture associated to the return - operationId: GET/returnId/reference_capture - parameters: - - description: The resource's id - explode: false - in: path - name: returnId - required: true - schema: {} - style: simple - responses: - "200": - description: The reference_capture associated to the return - summary: Retrieve the reference capture associated to the return - tags: - - has_one - - captures - /returns/{returnId}/reference_refund: - get: - description: Retrieve the reference refund associated to the return - operationId: GET/returnId/reference_refund - parameters: - - description: The resource's id - explode: false - in: path - name: returnId - required: true - schema: {} - style: simple - responses: - "200": - description: The reference_refund associated to the return - summary: Retrieve the reference refund associated to the return - tags: - - has_one - - refunds - /returns/{returnId}/return_line_items: - get: - description: Retrieve the return line items associated to the return - operationId: GET/returnId/return_line_items - parameters: - - description: The resource's id - explode: false - in: path - name: returnId - required: true - schema: {} - style: simple - responses: - "200": - description: The return_line_items associated to the return - summary: Retrieve the return line items associated to the return - tags: - - has_many - - return_line_items - /returns/{returnId}/attachments: - get: - description: Retrieve the attachments associated to the return - operationId: GET/returnId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: returnId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the return - summary: Retrieve the attachments associated to the return - tags: - - has_many - - attachments - /returns/{returnId}/resource_errors: - get: - description: Retrieve the resource errors associated to the return - operationId: GET/returnId/resource_errors - parameters: - - description: The resource's id - explode: false - in: path - name: returnId - required: true - schema: {} - style: simple - responses: - "200": - description: The resource_errors associated to the return - summary: Retrieve the resource errors associated to the return - tags: - - has_many - - resource_errors - /returns/{returnId}/events: - get: - description: Retrieve the events associated to the return - operationId: GET/returnId/events - parameters: - - description: The resource's id - explode: false - in: path - name: returnId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the return - summary: Retrieve the events associated to the return - tags: - - has_many - - events - /returns/{returnId}/tags: - get: - description: Retrieve the tags associated to the return - operationId: GET/returnId/tags - parameters: - - description: The resource's id - explode: false - in: path - name: returnId - required: true - schema: {} - style: simple - responses: - "200": - description: The tags associated to the return - summary: Retrieve the tags associated to the return - tags: - - has_many - - tags - /returns/{returnId}/versions: - get: - description: Retrieve the versions associated to the return - operationId: GET/returnId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: returnId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the return - summary: Retrieve the versions associated to the return - tags: - - has_many - - versions - /satispay_gateways: - get: - description: List all satispay gateways - operationId: GET/satispay_gateways - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_satispay_gateways_200_response' - description: A list of satispay gateway objects - summary: List all satispay gateways - tags: - - satispay_gateways - post: - description: Create a satispay gateway - operationId: POST/satispay_gateways - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/satispayGatewayCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_satispay_gateways_201_response' - description: The created satispay gateway object - summary: Create a satispay gateway - tags: - - satispay_gateways - /satispay_gateways/{satispayGatewayId}: - delete: - description: Delete a satispay gateway - operationId: DELETE/satispay_gateways/satispayGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: satispayGatewayId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a satispay gateway - tags: - - satispay_gateways - get: - description: Retrieve a satispay gateway - operationId: GET/satispay_gateways/satispayGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: satispayGatewayId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_satispay_gateways_satispayGatewayId_200_response' - description: The satispay gateway object - summary: Retrieve a satispay gateway - tags: - - satispay_gateways - patch: - description: Update a satispay gateway - operationId: PATCH/satispay_gateways/satispayGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: satispayGatewayId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/satispayGatewayUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_satispay_gateways_satispayGatewayId_200_response' - description: The updated satispay gateway object - summary: Update a satispay gateway - tags: - - satispay_gateways - /satispay_gateways/{satispayGatewayId}/payment_methods: - get: - description: Retrieve the payment methods associated to the satispay gateway - operationId: GET/satispayGatewayId/payment_methods - parameters: - - description: The resource's id - explode: false - in: path - name: satispayGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The payment_methods associated to the satispay gateway - summary: Retrieve the payment methods associated to the satispay gateway - tags: - - has_many - - payment_methods - /satispay_gateways/{satispayGatewayId}/versions: - get: - description: Retrieve the versions associated to the satispay gateway - operationId: GET/satispayGatewayId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: satispayGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the satispay gateway - summary: Retrieve the versions associated to the satispay gateway - tags: - - has_many - - versions - /satispay_gateways/{satispayGatewayId}/satispay_payments: - get: - description: Retrieve the satispay payments associated to the satispay gateway - operationId: GET/satispayGatewayId/satispay_payments - parameters: - - description: The resource's id - explode: false - in: path - name: satispayGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The satispay_payments associated to the satispay gateway - summary: Retrieve the satispay payments associated to the satispay gateway - tags: - - has_many - - satispay_payments - /satispay_payments: - get: - description: List all satispay payments - operationId: GET/satispay_payments - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_satispay_payments_200_response' - description: A list of satispay payment objects - summary: List all satispay payments - tags: - - satispay_payments - post: - description: Create a satispay payment - operationId: POST/satispay_payments - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/satispayPaymentCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_satispay_payments_201_response' - description: The created satispay payment object - summary: Create a satispay payment - tags: - - satispay_payments - /satispay_payments/{satispayPaymentId}: - delete: - description: Delete a satispay payment - operationId: DELETE/satispay_payments/satispayPaymentId - parameters: - - description: The resource's id - explode: false - in: path - name: satispayPaymentId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a satispay payment - tags: - - satispay_payments - get: - description: Retrieve a satispay payment - operationId: GET/satispay_payments/satispayPaymentId - parameters: - - description: The resource's id - explode: false - in: path - name: satispayPaymentId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_satispay_payments_satispayPaymentId_200_response' - description: The satispay payment object - summary: Retrieve a satispay payment - tags: - - satispay_payments - patch: - description: Update a satispay payment - operationId: PATCH/satispay_payments/satispayPaymentId - parameters: - - description: The resource's id - explode: false - in: path - name: satispayPaymentId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/satispayPaymentUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_satispay_payments_satispayPaymentId_200_response' - description: The updated satispay payment object - summary: Update a satispay payment - tags: - - satispay_payments - /satispay_payments/{satispayPaymentId}/order: - get: - description: Retrieve the order associated to the satispay payment - operationId: GET/satispayPaymentId/order - parameters: - - description: The resource's id - explode: false - in: path - name: satispayPaymentId - required: true - schema: {} - style: simple - responses: - "200": - description: The order associated to the satispay payment - summary: Retrieve the order associated to the satispay payment - tags: - - has_one - - orders - /satispay_payments/{satispayPaymentId}/payment_gateway: - get: - description: Retrieve the payment gateway associated to the satispay payment - operationId: GET/satispayPaymentId/payment_gateway - parameters: - - description: The resource's id - explode: false - in: path - name: satispayPaymentId - required: true - schema: {} - style: simple - responses: - "200": - description: The payment_gateway associated to the satispay payment - summary: Retrieve the payment gateway associated to the satispay payment - tags: - - has_one - - payment_gateways - /satispay_payments/{satispayPaymentId}/versions: - get: - description: Retrieve the versions associated to the satispay payment - operationId: GET/satispayPaymentId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: satispayPaymentId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the satispay payment - summary: Retrieve the versions associated to the satispay payment - tags: - - has_many - - versions - /shipments: - get: - description: List all shipments - operationId: GET/shipments - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_shipments_200_response' - description: A list of shipment objects - summary: List all shipments - tags: - - shipments - post: - description: Create a shipment - operationId: POST/shipments - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/shipmentCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_shipments_201_response' - description: The created shipment object - summary: Create a shipment - tags: - - shipments - /shipments/{shipmentId}: - delete: - description: Delete a shipment - operationId: DELETE/shipments/shipmentId - parameters: - - description: The resource's id - explode: false - in: path - name: shipmentId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a shipment - tags: - - shipments - get: - description: Retrieve a shipment - operationId: GET/shipments/shipmentId - parameters: - - description: The resource's id - explode: false - in: path - name: shipmentId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_shipments_shipmentId_200_response' - description: The shipment object - summary: Retrieve a shipment - tags: - - shipments - patch: - description: Update a shipment - operationId: PATCH/shipments/shipmentId - parameters: - - description: The resource's id - explode: false - in: path - name: shipmentId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/shipmentUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_shipments_shipmentId_200_response' - description: The updated shipment object - summary: Update a shipment - tags: - - shipments - /shipments/{shipmentId}/order: - get: - description: Retrieve the order associated to the shipment - operationId: GET/shipmentId/order - parameters: - - description: The resource's id - explode: false - in: path - name: shipmentId - required: true - schema: {} - style: simple - responses: - "200": - description: The order associated to the shipment - summary: Retrieve the order associated to the shipment - tags: - - has_one - - orders - /shipments/{shipmentId}/shipping_category: - get: - description: Retrieve the shipping category associated to the shipment - operationId: GET/shipmentId/shipping_category - parameters: - - description: The resource's id - explode: false - in: path - name: shipmentId - required: true - schema: {} - style: simple - responses: - "200": - description: The shipping_category associated to the shipment - summary: Retrieve the shipping category associated to the shipment - tags: - - has_one - - shipping_categories - /shipments/{shipmentId}/inventory_stock_location: - get: - description: Retrieve the inventory stock location associated to the shipment - operationId: GET/shipmentId/inventory_stock_location - parameters: - - description: The resource's id - explode: false - in: path - name: shipmentId - required: true - schema: {} - style: simple - responses: - "200": - description: The inventory_stock_location associated to the shipment - summary: Retrieve the inventory stock location associated to the shipment - tags: - - has_one - - inventory_stock_locations - /shipments/{shipmentId}/stock_location: - get: - description: Retrieve the stock location associated to the shipment - operationId: GET/shipmentId/stock_location - parameters: - - description: The resource's id - explode: false - in: path - name: shipmentId - required: true - schema: {} - style: simple - responses: - "200": - description: The stock_location associated to the shipment - summary: Retrieve the stock location associated to the shipment - tags: - - has_one - - stock_locations - /shipments/{shipmentId}/origin_address: - get: - description: Retrieve the origin address associated to the shipment - operationId: GET/shipmentId/origin_address - parameters: - - description: The resource's id - explode: false - in: path - name: shipmentId - required: true - schema: {} - style: simple - responses: - "200": - description: The origin_address associated to the shipment - summary: Retrieve the origin address associated to the shipment - tags: - - has_one - - addresses - /shipments/{shipmentId}/shipping_address: - get: - description: Retrieve the shipping address associated to the shipment - operationId: GET/shipmentId/shipping_address - parameters: - - description: The resource's id - explode: false - in: path - name: shipmentId - required: true - schema: {} - style: simple - responses: - "200": - description: The shipping_address associated to the shipment - summary: Retrieve the shipping address associated to the shipment - tags: - - has_one - - addresses - /shipments/{shipmentId}/shipping_method: - get: - description: Retrieve the shipping method associated to the shipment - operationId: GET/shipmentId/shipping_method - parameters: - - description: The resource's id - explode: false - in: path - name: shipmentId - required: true - schema: {} - style: simple - responses: - "200": - description: The shipping_method associated to the shipment - summary: Retrieve the shipping method associated to the shipment - tags: - - has_one - - shipping_methods - /shipments/{shipmentId}/delivery_lead_time: - get: - description: Retrieve the delivery lead time associated to the shipment - operationId: GET/shipmentId/delivery_lead_time - parameters: - - description: The resource's id - explode: false - in: path - name: shipmentId - required: true - schema: {} - style: simple - responses: - "200": - description: The delivery_lead_time associated to the shipment - summary: Retrieve the delivery lead time associated to the shipment - tags: - - has_one - - delivery_lead_times - /shipments/{shipmentId}/stock_line_items: - get: - description: Retrieve the stock line items associated to the shipment - operationId: GET/shipmentId/stock_line_items - parameters: - - description: The resource's id - explode: false - in: path - name: shipmentId - required: true - schema: {} - style: simple - responses: - "200": - description: The stock_line_items associated to the shipment - summary: Retrieve the stock line items associated to the shipment - tags: - - has_many - - stock_line_items - /shipments/{shipmentId}/stock_transfers: - get: - description: Retrieve the stock transfers associated to the shipment - operationId: GET/shipmentId/stock_transfers - parameters: - - description: The resource's id - explode: false - in: path - name: shipmentId - required: true - schema: {} - style: simple - responses: - "200": - description: The stock_transfers associated to the shipment - summary: Retrieve the stock transfers associated to the shipment - tags: - - has_many - - stock_transfers - /shipments/{shipmentId}/line_items: - get: - description: Retrieve the line items associated to the shipment - operationId: GET/shipmentId/line_items - parameters: - - description: The resource's id - explode: false - in: path - name: shipmentId - required: true - schema: {} - style: simple - responses: - "200": - description: The line_items associated to the shipment - summary: Retrieve the line items associated to the shipment - tags: - - has_many - - line_items - /shipments/{shipmentId}/available_shipping_methods: - get: - description: Retrieve the available shipping methods associated to the shipment - operationId: GET/shipmentId/available_shipping_methods - parameters: - - description: The resource's id - explode: false - in: path - name: shipmentId - required: true - schema: {} - style: simple - responses: - "200": - description: The available_shipping_methods associated to the shipment - summary: Retrieve the available shipping methods associated to the shipment - tags: - - has_many - - shipping_methods - /shipments/{shipmentId}/carrier_accounts: - get: - description: Retrieve the carrier accounts associated to the shipment - operationId: GET/shipmentId/carrier_accounts - parameters: - - description: The resource's id - explode: false - in: path - name: shipmentId - required: true - schema: {} - style: simple - responses: - "200": - description: The carrier_accounts associated to the shipment - summary: Retrieve the carrier accounts associated to the shipment - tags: - - has_many - - carrier_accounts - /shipments/{shipmentId}/parcels: - get: - description: Retrieve the parcels associated to the shipment - operationId: GET/shipmentId/parcels - parameters: - - description: The resource's id - explode: false - in: path - name: shipmentId - required: true - schema: {} - style: simple - responses: - "200": - description: The parcels associated to the shipment - summary: Retrieve the parcels associated to the shipment - tags: - - has_many - - parcels - /shipments/{shipmentId}/attachments: - get: - description: Retrieve the attachments associated to the shipment - operationId: GET/shipmentId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: shipmentId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the shipment - summary: Retrieve the attachments associated to the shipment - tags: - - has_many - - attachments - /shipments/{shipmentId}/events: - get: - description: Retrieve the events associated to the shipment - operationId: GET/shipmentId/events - parameters: - - description: The resource's id - explode: false - in: path - name: shipmentId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the shipment - summary: Retrieve the events associated to the shipment - tags: - - has_many - - events - /shipments/{shipmentId}/tags: - get: - description: Retrieve the tags associated to the shipment - operationId: GET/shipmentId/tags - parameters: - - description: The resource's id - explode: false - in: path - name: shipmentId - required: true - schema: {} - style: simple - responses: - "200": - description: The tags associated to the shipment - summary: Retrieve the tags associated to the shipment - tags: - - has_many - - tags - /shipments/{shipmentId}/versions: - get: - description: Retrieve the versions associated to the shipment - operationId: GET/shipmentId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: shipmentId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the shipment - summary: Retrieve the versions associated to the shipment - tags: - - has_many - - versions - /shipping_categories: - get: - description: List all shipping categories - operationId: GET/shipping_categories - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_shipping_categories_200_response' - description: A list of shipping category objects - summary: List all shipping categories - tags: - - shipping_categories - post: - description: Create a shipping category - operationId: POST/shipping_categories - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/shippingCategoryCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_shipping_categories_201_response' - description: The created shipping category object - summary: Create a shipping category - tags: - - shipping_categories - /shipping_categories/{shippingCategoryId}: - delete: - description: Delete a shipping category - operationId: DELETE/shipping_categories/shippingCategoryId - parameters: - - description: The resource's id - explode: false - in: path - name: shippingCategoryId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a shipping category - tags: - - shipping_categories - get: - description: Retrieve a shipping category - operationId: GET/shipping_categories/shippingCategoryId - parameters: - - description: The resource's id - explode: false - in: path - name: shippingCategoryId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_shipping_categories_shippingCategoryId_200_response' - description: The shipping category object - summary: Retrieve a shipping category - tags: - - shipping_categories - patch: - description: Update a shipping category - operationId: PATCH/shipping_categories/shippingCategoryId - parameters: - - description: The resource's id - explode: false - in: path - name: shippingCategoryId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/shippingCategoryUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_shipping_categories_shippingCategoryId_200_response' - description: The updated shipping category object - summary: Update a shipping category - tags: - - shipping_categories - /shipping_categories/{shippingCategoryId}/skus: - get: - description: Retrieve the skus associated to the shipping category - operationId: GET/shippingCategoryId/skus - parameters: - - description: The resource's id - explode: false - in: path - name: shippingCategoryId - required: true - schema: {} - style: simple - responses: - "200": - description: The skus associated to the shipping category - summary: Retrieve the skus associated to the shipping category - tags: - - has_many - - skus - /shipping_categories/{shippingCategoryId}/attachments: - get: - description: Retrieve the attachments associated to the shipping category - operationId: GET/shippingCategoryId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: shippingCategoryId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the shipping category - summary: Retrieve the attachments associated to the shipping category - tags: - - has_many - - attachments - /shipping_categories/{shippingCategoryId}/versions: - get: - description: Retrieve the versions associated to the shipping category - operationId: GET/shippingCategoryId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: shippingCategoryId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the shipping category - summary: Retrieve the versions associated to the shipping category - tags: - - has_many - - versions - /shipping_method_tiers: - get: - description: List all shipping method tiers - operationId: GET/shipping_method_tiers - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_shipping_method_tiers_200_response' - description: A list of shipping method tier objects - summary: List all shipping method tiers - tags: - - shipping_method_tiers - /shipping_method_tiers/{shippingMethodTierId}: - get: - description: Retrieve a shipping method tier - operationId: GET/shipping_method_tiers/shippingMethodTierId - parameters: - - description: The resource's id - explode: false - in: path - name: shippingMethodTierId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_shipping_method_tiers_shippingMethodTierId_200_response' - description: The shipping method tier object - summary: Retrieve a shipping method tier - tags: - - shipping_method_tiers - /shipping_method_tiers/{shippingMethodTierId}/shipping_method: - get: - description: Retrieve the shipping method associated to the shipping method - tier - operationId: GET/shippingMethodTierId/shipping_method - parameters: - - description: The resource's id - explode: false - in: path - name: shippingMethodTierId - required: true - schema: {} - style: simple - responses: - "200": - description: The shipping_method associated to the shipping method tier - summary: Retrieve the shipping method associated to the shipping method tier - tags: - - has_one - - shipping_methods - /shipping_method_tiers/{shippingMethodTierId}/attachments: - get: - description: Retrieve the attachments associated to the shipping method tier - operationId: GET/shippingMethodTierId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: shippingMethodTierId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the shipping method tier - summary: Retrieve the attachments associated to the shipping method tier - tags: - - has_many - - attachments - /shipping_method_tiers/{shippingMethodTierId}/versions: - get: - description: Retrieve the versions associated to the shipping method tier - operationId: GET/shippingMethodTierId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: shippingMethodTierId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the shipping method tier - summary: Retrieve the versions associated to the shipping method tier - tags: - - has_many - - versions - /shipping_methods: - get: - description: List all shipping methods - operationId: GET/shipping_methods - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_shipping_methods_200_response' - description: A list of shipping method objects - summary: List all shipping methods - tags: - - shipping_methods - post: - description: Create a shipping method - operationId: POST/shipping_methods - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/shippingMethodCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_shipping_methods_201_response' - description: The created shipping method object - summary: Create a shipping method - tags: - - shipping_methods - /shipping_methods/{shippingMethodId}: - delete: - description: Delete a shipping method - operationId: DELETE/shipping_methods/shippingMethodId - parameters: - - description: The resource's id - explode: false - in: path - name: shippingMethodId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a shipping method - tags: - - shipping_methods - get: - description: Retrieve a shipping method - operationId: GET/shipping_methods/shippingMethodId - parameters: - - description: The resource's id - explode: false - in: path - name: shippingMethodId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_shipping_methods_shippingMethodId_200_response' - description: The shipping method object - summary: Retrieve a shipping method - tags: - - shipping_methods - patch: - description: Update a shipping method - operationId: PATCH/shipping_methods/shippingMethodId - parameters: - - description: The resource's id - explode: false - in: path - name: shippingMethodId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/shippingMethodUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_shipping_methods_shippingMethodId_200_response' - description: The updated shipping method object - summary: Update a shipping method - tags: - - shipping_methods - /shipping_methods/{shippingMethodId}/market: - get: - description: Retrieve the market associated to the shipping method - operationId: GET/shippingMethodId/market - parameters: - - description: The resource's id - explode: false - in: path - name: shippingMethodId - required: true - schema: {} - style: simple - responses: - "200": - description: The market associated to the shipping method - summary: Retrieve the market associated to the shipping method - tags: - - has_one - - markets - /shipping_methods/{shippingMethodId}/shipping_zone: - get: - description: Retrieve the shipping zone associated to the shipping method - operationId: GET/shippingMethodId/shipping_zone - parameters: - - description: The resource's id - explode: false - in: path - name: shippingMethodId - required: true - schema: {} - style: simple - responses: - "200": - description: The shipping_zone associated to the shipping method - summary: Retrieve the shipping zone associated to the shipping method - tags: - - has_one - - shipping_zones - /shipping_methods/{shippingMethodId}/shipping_category: - get: - description: Retrieve the shipping category associated to the shipping method - operationId: GET/shippingMethodId/shipping_category - parameters: - - description: The resource's id - explode: false - in: path - name: shippingMethodId - required: true - schema: {} - style: simple - responses: - "200": - description: The shipping_category associated to the shipping method - summary: Retrieve the shipping category associated to the shipping method - tags: - - has_one - - shipping_categories - /shipping_methods/{shippingMethodId}/stock_location: - get: - description: Retrieve the stock location associated to the shipping method - operationId: GET/shippingMethodId/stock_location - parameters: - - description: The resource's id - explode: false - in: path - name: shippingMethodId - required: true - schema: {} - style: simple - responses: - "200": - description: The stock_location associated to the shipping method - summary: Retrieve the stock location associated to the shipping method - tags: - - has_one - - stock_locations - /shipping_methods/{shippingMethodId}/delivery_lead_time_for_shipment: - get: - description: Retrieve the delivery lead time for shipment associated to the - shipping method - operationId: GET/shippingMethodId/delivery_lead_time_for_shipment - parameters: - - description: The resource's id - explode: false - in: path - name: shippingMethodId - required: true - schema: {} - style: simple - responses: - "200": - description: The delivery_lead_time_for_shipment associated to the shipping - method - summary: Retrieve the delivery lead time for shipment associated to the shipping - method - tags: - - has_one - - delivery_lead_times - /shipping_methods/{shippingMethodId}/shipping_method_tiers: - get: - description: Retrieve the shipping method tiers associated to the shipping method - operationId: GET/shippingMethodId/shipping_method_tiers - parameters: - - description: The resource's id - explode: false - in: path - name: shippingMethodId - required: true - schema: {} - style: simple - responses: - "200": - description: The shipping_method_tiers associated to the shipping method - summary: Retrieve the shipping method tiers associated to the shipping method - tags: - - has_many - - shipping_method_tiers - /shipping_methods/{shippingMethodId}/shipping_weight_tiers: - get: - description: Retrieve the shipping weight tiers associated to the shipping method - operationId: GET/shippingMethodId/shipping_weight_tiers - parameters: - - description: The resource's id - explode: false - in: path - name: shippingMethodId - required: true - schema: {} - style: simple - responses: - "200": - description: The shipping_weight_tiers associated to the shipping method - summary: Retrieve the shipping weight tiers associated to the shipping method - tags: - - has_many - - shipping_weight_tiers - /shipping_methods/{shippingMethodId}/attachments: - get: - description: Retrieve the attachments associated to the shipping method - operationId: GET/shippingMethodId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: shippingMethodId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the shipping method - summary: Retrieve the attachments associated to the shipping method - tags: - - has_many - - attachments - /shipping_methods/{shippingMethodId}/versions: - get: - description: Retrieve the versions associated to the shipping method - operationId: GET/shippingMethodId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: shippingMethodId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the shipping method - summary: Retrieve the versions associated to the shipping method - tags: - - has_many - - versions - /shipping_weight_tiers: - get: - description: List all shipping weight tiers - operationId: GET/shipping_weight_tiers - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_shipping_weight_tiers_200_response' - description: A list of shipping weight tier objects - summary: List all shipping weight tiers - tags: - - shipping_weight_tiers - post: - description: Create a shipping weight tier - operationId: POST/shipping_weight_tiers - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/shippingWeightTierCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_shipping_weight_tiers_201_response' - description: The created shipping weight tier object - summary: Create a shipping weight tier - tags: - - shipping_weight_tiers - /shipping_weight_tiers/{shippingWeightTierId}: - delete: - description: Delete a shipping weight tier - operationId: DELETE/shipping_weight_tiers/shippingWeightTierId - parameters: - - description: The resource's id - explode: false - in: path - name: shippingWeightTierId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a shipping weight tier - tags: - - shipping_weight_tiers - get: - description: Retrieve a shipping weight tier - operationId: GET/shipping_weight_tiers/shippingWeightTierId - parameters: - - description: The resource's id - explode: false - in: path - name: shippingWeightTierId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_shipping_weight_tiers_shippingWeightTierId_200_response' - description: The shipping weight tier object - summary: Retrieve a shipping weight tier - tags: - - shipping_weight_tiers - patch: - description: Update a shipping weight tier - operationId: PATCH/shipping_weight_tiers/shippingWeightTierId - parameters: - - description: The resource's id - explode: false - in: path - name: shippingWeightTierId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/shippingWeightTierUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_shipping_weight_tiers_shippingWeightTierId_200_response' - description: The updated shipping weight tier object - summary: Update a shipping weight tier - tags: - - shipping_weight_tiers - /shipping_weight_tiers/{shippingWeightTierId}/shipping_method: - get: - description: Retrieve the shipping method associated to the shipping weight - tier - operationId: GET/shippingWeightTierId/shipping_method - parameters: - - description: The resource's id - explode: false - in: path - name: shippingWeightTierId - required: true - schema: {} - style: simple - responses: - "200": - description: The shipping_method associated to the shipping weight tier - summary: Retrieve the shipping method associated to the shipping weight tier - tags: - - has_one - - shipping_methods - /shipping_weight_tiers/{shippingWeightTierId}/attachments: - get: - description: Retrieve the attachments associated to the shipping weight tier - operationId: GET/shippingWeightTierId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: shippingWeightTierId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the shipping weight tier - summary: Retrieve the attachments associated to the shipping weight tier - tags: - - has_many - - attachments - /shipping_weight_tiers/{shippingWeightTierId}/versions: - get: - description: Retrieve the versions associated to the shipping weight tier - operationId: GET/shippingWeightTierId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: shippingWeightTierId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the shipping weight tier - summary: Retrieve the versions associated to the shipping weight tier - tags: - - has_many - - versions - /shipping_zones: - get: - description: List all shipping zones - operationId: GET/shipping_zones - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_shipping_zones_200_response' - description: A list of shipping zone objects - summary: List all shipping zones - tags: - - shipping_zones - post: - description: Create a shipping zone - operationId: POST/shipping_zones - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/shippingZoneCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_shipping_zones_201_response' - description: The created shipping zone object - summary: Create a shipping zone - tags: - - shipping_zones - /shipping_zones/{shippingZoneId}: - delete: - description: Delete a shipping zone - operationId: DELETE/shipping_zones/shippingZoneId - parameters: - - description: The resource's id - explode: false - in: path - name: shippingZoneId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a shipping zone - tags: - - shipping_zones - get: - description: Retrieve a shipping zone - operationId: GET/shipping_zones/shippingZoneId - parameters: - - description: The resource's id - explode: false - in: path - name: shippingZoneId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_shipping_zones_shippingZoneId_200_response' - description: The shipping zone object - summary: Retrieve a shipping zone - tags: - - shipping_zones - patch: - description: Update a shipping zone - operationId: PATCH/shipping_zones/shippingZoneId - parameters: - - description: The resource's id - explode: false - in: path - name: shippingZoneId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/shippingZoneUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_shipping_zones_shippingZoneId_200_response' - description: The updated shipping zone object - summary: Update a shipping zone - tags: - - shipping_zones - /shipping_zones/{shippingZoneId}/attachments: - get: - description: Retrieve the attachments associated to the shipping zone - operationId: GET/shippingZoneId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: shippingZoneId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the shipping zone - summary: Retrieve the attachments associated to the shipping zone - tags: - - has_many - - attachments - /shipping_zones/{shippingZoneId}/versions: - get: - description: Retrieve the versions associated to the shipping zone - operationId: GET/shippingZoneId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: shippingZoneId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the shipping zone - summary: Retrieve the versions associated to the shipping zone - tags: - - has_many - - versions - /sku_list_items: - get: - description: List all SKU list items - operationId: GET/sku_list_items - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_sku_list_items_200_response' - description: A list of SKU list item objects - summary: List all SKU list items - tags: - - sku_list_items - post: - description: Create a SKU list item - operationId: POST/sku_list_items - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/skuListItemCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_sku_list_items_201_response' - description: The created SKU list item object - summary: Create a SKU list item - tags: - - sku_list_items - /sku_list_items/{skuListItemId}: - delete: - description: Delete a SKU list item - operationId: DELETE/sku_list_items/skuListItemId - parameters: - - description: The resource's id - explode: false - in: path - name: skuListItemId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a SKU list item - tags: - - sku_list_items - get: - description: Retrieve a SKU list item - operationId: GET/sku_list_items/skuListItemId - parameters: - - description: The resource's id - explode: false - in: path - name: skuListItemId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_sku_list_items_skuListItemId_200_response' - description: The SKU list item object - summary: Retrieve a SKU list item - tags: - - sku_list_items - patch: - description: Update a SKU list item - operationId: PATCH/sku_list_items/skuListItemId - parameters: - - description: The resource's id - explode: false - in: path - name: skuListItemId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/skuListItemUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_sku_list_items_skuListItemId_200_response' - description: The updated SKU list item object - summary: Update a SKU list item - tags: - - sku_list_items - /sku_list_items/{skuListItemId}/sku_list: - get: - description: Retrieve the sku list associated to the SKU list item - operationId: GET/skuListItemId/sku_list - parameters: - - description: The resource's id - explode: false - in: path - name: skuListItemId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku_list associated to the SKU list item - summary: Retrieve the sku list associated to the SKU list item - tags: - - has_one - - sku_lists - /sku_list_items/{skuListItemId}/sku: - get: - description: Retrieve the sku associated to the SKU list item - operationId: GET/skuListItemId/sku - parameters: - - description: The resource's id - explode: false - in: path - name: skuListItemId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku associated to the SKU list item - summary: Retrieve the sku associated to the SKU list item - tags: - - has_one - - skus - /sku_list_items/{skuListItemId}/versions: - get: - description: Retrieve the versions associated to the SKU list item - operationId: GET/skuListItemId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: skuListItemId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the SKU list item - summary: Retrieve the versions associated to the SKU list item - tags: - - has_many - - versions - /sku_list_promotion_rules: - get: - description: List all SKU list promotion rules - operationId: GET/sku_list_promotion_rules - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_sku_list_promotion_rules_200_response' - description: A list of SKU list promotion rule objects - summary: List all SKU list promotion rules - tags: - - sku_list_promotion_rules - post: - description: Create a SKU list promotion rule - operationId: POST/sku_list_promotion_rules - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/skuListPromotionRuleCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_sku_list_promotion_rules_201_response' - description: The created SKU list promotion rule object - summary: Create a SKU list promotion rule - tags: - - sku_list_promotion_rules - /sku_list_promotion_rules/{skuListPromotionRuleId}: - delete: - description: Delete a SKU list promotion rule - operationId: DELETE/sku_list_promotion_rules/skuListPromotionRuleId - parameters: - - description: The resource's id - explode: false - in: path - name: skuListPromotionRuleId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a SKU list promotion rule - tags: - - sku_list_promotion_rules - get: - description: Retrieve a SKU list promotion rule - operationId: GET/sku_list_promotion_rules/skuListPromotionRuleId - parameters: - - description: The resource's id - explode: false - in: path - name: skuListPromotionRuleId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_sku_list_promotion_rules_skuListPromotionRuleId_200_response' - description: The SKU list promotion rule object - summary: Retrieve a SKU list promotion rule - tags: - - sku_list_promotion_rules - patch: - description: Update a SKU list promotion rule - operationId: PATCH/sku_list_promotion_rules/skuListPromotionRuleId - parameters: - - description: The resource's id - explode: false - in: path - name: skuListPromotionRuleId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/skuListPromotionRuleUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_sku_list_promotion_rules_skuListPromotionRuleId_200_response' - description: The updated SKU list promotion rule object - summary: Update a SKU list promotion rule - tags: - - sku_list_promotion_rules - /sku_list_promotion_rules/{skuListPromotionRuleId}/versions: - get: - description: Retrieve the versions associated to the SKU list promotion rule - operationId: GET/skuListPromotionRuleId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: skuListPromotionRuleId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the SKU list promotion rule - summary: Retrieve the versions associated to the SKU list promotion rule - tags: - - has_many - - versions - /sku_list_promotion_rules/{skuListPromotionRuleId}/sku_list: - get: - description: Retrieve the sku list associated to the SKU list promotion rule - operationId: GET/skuListPromotionRuleId/sku_list - parameters: - - description: The resource's id - explode: false - in: path - name: skuListPromotionRuleId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku_list associated to the SKU list promotion rule - summary: Retrieve the sku list associated to the SKU list promotion rule - tags: - - has_one - - sku_lists - /sku_list_promotion_rules/{skuListPromotionRuleId}/skus: - get: - description: Retrieve the skus associated to the SKU list promotion rule - operationId: GET/skuListPromotionRuleId/skus - parameters: - - description: The resource's id - explode: false - in: path - name: skuListPromotionRuleId - required: true - schema: {} - style: simple - responses: - "200": - description: The skus associated to the SKU list promotion rule - summary: Retrieve the skus associated to the SKU list promotion rule - tags: - - has_many - - skus - /sku_lists: - get: - description: List all SKU lists - operationId: GET/sku_lists - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_sku_lists_200_response' - description: A list of SKU list objects - summary: List all SKU lists - tags: - - sku_lists - post: - description: Create a SKU list - operationId: POST/sku_lists - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/skuListCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_sku_lists_201_response' - description: The created SKU list object - summary: Create a SKU list - tags: - - sku_lists - /sku_lists/{skuListId}: - delete: - description: Delete a SKU list - operationId: DELETE/sku_lists/skuListId - parameters: - - description: The resource's id - explode: false - in: path - name: skuListId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a SKU list - tags: - - sku_lists - get: - description: Retrieve a SKU list - operationId: GET/sku_lists/skuListId - parameters: - - description: The resource's id - explode: false - in: path - name: skuListId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_sku_lists_skuListId_200_response' - description: The SKU list object - summary: Retrieve a SKU list - tags: - - sku_lists - patch: - description: Update a SKU list - operationId: PATCH/sku_lists/skuListId - parameters: - - description: The resource's id - explode: false - in: path - name: skuListId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/skuListUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_sku_lists_skuListId_200_response' - description: The updated SKU list object - summary: Update a SKU list - tags: - - sku_lists - /sku_lists/{skuListId}/customer: - get: - description: Retrieve the customer associated to the SKU list - operationId: GET/skuListId/customer - parameters: - - description: The resource's id - explode: false - in: path - name: skuListId - required: true - schema: {} - style: simple - responses: - "200": - description: The customer associated to the SKU list - summary: Retrieve the customer associated to the SKU list - tags: - - has_one - - customers - /sku_lists/{skuListId}/skus: - get: - description: Retrieve the skus associated to the SKU list - operationId: GET/skuListId/skus - parameters: - - description: The resource's id - explode: false - in: path - name: skuListId - required: true - schema: {} - style: simple - responses: - "200": - description: The skus associated to the SKU list - summary: Retrieve the skus associated to the SKU list - tags: - - has_many - - skus - /sku_lists/{skuListId}/sku_list_items: - get: - description: Retrieve the sku list items associated to the SKU list - operationId: GET/skuListId/sku_list_items - parameters: - - description: The resource's id - explode: false - in: path - name: skuListId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku_list_items associated to the SKU list - summary: Retrieve the sku list items associated to the SKU list - tags: - - has_many - - sku_list_items - /sku_lists/{skuListId}/bundles: - get: - description: Retrieve the bundles associated to the SKU list - operationId: GET/skuListId/bundles - parameters: - - description: The resource's id - explode: false - in: path - name: skuListId - required: true - schema: {} - style: simple - responses: - "200": - description: The bundles associated to the SKU list - summary: Retrieve the bundles associated to the SKU list - tags: - - has_many - - bundles - /sku_lists/{skuListId}/attachments: - get: - description: Retrieve the attachments associated to the SKU list - operationId: GET/skuListId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: skuListId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the SKU list - summary: Retrieve the attachments associated to the SKU list - tags: - - has_many - - attachments - /sku_lists/{skuListId}/links: - get: - description: Retrieve the links associated to the SKU list - operationId: GET/skuListId/links - parameters: - - description: The resource's id - explode: false - in: path - name: skuListId - required: true - schema: {} - style: simple - responses: - "200": - description: The links associated to the SKU list - summary: Retrieve the links associated to the SKU list - tags: - - has_many - - links - /sku_lists/{skuListId}/versions: - get: - description: Retrieve the versions associated to the SKU list - operationId: GET/skuListId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: skuListId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the SKU list - summary: Retrieve the versions associated to the SKU list - tags: - - has_many - - versions - /sku_options: - get: - description: List all SKU options - operationId: GET/sku_options - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_sku_options_200_response' - description: A list of SKU option objects - summary: List all SKU options - tags: - - sku_options - post: - description: Create a SKU option - operationId: POST/sku_options - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/skuOptionCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_sku_options_201_response' - description: The created SKU option object - summary: Create a SKU option - tags: - - sku_options - /sku_options/{skuOptionId}: - delete: - description: Delete a SKU option - operationId: DELETE/sku_options/skuOptionId - parameters: - - description: The resource's id - explode: false - in: path - name: skuOptionId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a SKU option - tags: - - sku_options - get: - description: Retrieve a SKU option - operationId: GET/sku_options/skuOptionId - parameters: - - description: The resource's id - explode: false - in: path - name: skuOptionId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_sku_options_skuOptionId_200_response' - description: The SKU option object - summary: Retrieve a SKU option - tags: - - sku_options - patch: - description: Update a SKU option - operationId: PATCH/sku_options/skuOptionId - parameters: - - description: The resource's id - explode: false - in: path - name: skuOptionId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/skuOptionUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_sku_options_skuOptionId_200_response' - description: The updated SKU option object - summary: Update a SKU option - tags: - - sku_options - /sku_options/{skuOptionId}/market: - get: - description: Retrieve the market associated to the SKU option - operationId: GET/skuOptionId/market - parameters: - - description: The resource's id - explode: false - in: path - name: skuOptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The market associated to the SKU option - summary: Retrieve the market associated to the SKU option - tags: - - has_one - - markets - /sku_options/{skuOptionId}/attachments: - get: - description: Retrieve the attachments associated to the SKU option - operationId: GET/skuOptionId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: skuOptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the SKU option - summary: Retrieve the attachments associated to the SKU option - tags: - - has_many - - attachments - /sku_options/{skuOptionId}/events: - get: - description: Retrieve the events associated to the SKU option - operationId: GET/skuOptionId/events - parameters: - - description: The resource's id - explode: false - in: path - name: skuOptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the SKU option - summary: Retrieve the events associated to the SKU option - tags: - - has_many - - events - /sku_options/{skuOptionId}/tags: - get: - description: Retrieve the tags associated to the SKU option - operationId: GET/skuOptionId/tags - parameters: - - description: The resource's id - explode: false - in: path - name: skuOptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The tags associated to the SKU option - summary: Retrieve the tags associated to the SKU option - tags: - - has_many - - tags - /sku_options/{skuOptionId}/versions: - get: - description: Retrieve the versions associated to the SKU option - operationId: GET/skuOptionId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: skuOptionId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the SKU option - summary: Retrieve the versions associated to the SKU option - tags: - - has_many - - versions - /skus: - get: - description: List all SKUs - operationId: GET/skus - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_skus_200_response' - description: A list of SKU objects - summary: List all SKUs - tags: - - skus - post: - description: Create a SKU - operationId: POST/skus - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/skuCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_skus_201_response' - description: The created SKU object - summary: Create a SKU - tags: - - skus - /skus/{skuId}: - delete: - description: Delete a SKU - operationId: DELETE/skus/skuId - parameters: - - description: The resource's id - explode: false - in: path - name: skuId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a SKU - tags: - - skus - get: - description: Retrieve a SKU - operationId: GET/skus/skuId - parameters: - - description: The resource's id - explode: false - in: path - name: skuId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_skus_skuId_200_response' - description: The SKU object - summary: Retrieve a SKU - tags: - - skus - patch: - description: Update a SKU - operationId: PATCH/skus/skuId - parameters: - - description: The resource's id - explode: false - in: path - name: skuId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/skuUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_skus_skuId_200_response' - description: The updated SKU object - summary: Update a SKU - tags: - - skus - /skus/{skuId}/shipping_category: - get: - description: Retrieve the shipping category associated to the SKU - operationId: GET/skuId/shipping_category - parameters: - - description: The resource's id - explode: false - in: path - name: skuId - required: true - schema: {} - style: simple - responses: - "200": - description: The shipping_category associated to the SKU - summary: Retrieve the shipping category associated to the SKU - tags: - - has_one - - shipping_categories - /skus/{skuId}/prices: - get: - description: Retrieve the prices associated to the SKU - operationId: GET/skuId/prices - parameters: - - description: The resource's id - explode: false - in: path - name: skuId - required: true - schema: {} - style: simple - responses: - "200": - description: The prices associated to the SKU - summary: Retrieve the prices associated to the SKU - tags: - - has_many - - prices - /skus/{skuId}/stock_items: - get: - description: Retrieve the stock items associated to the SKU - operationId: GET/skuId/stock_items - parameters: - - description: The resource's id - explode: false - in: path - name: skuId - required: true - schema: {} - style: simple - responses: - "200": - description: The stock_items associated to the SKU - summary: Retrieve the stock items associated to the SKU - tags: - - has_many - - stock_items - /skus/{skuId}/stock_reservations: - get: - description: Retrieve the stock reservations associated to the SKU - operationId: GET/skuId/stock_reservations - parameters: - - description: The resource's id - explode: false - in: path - name: skuId - required: true - schema: {} - style: simple - responses: - "200": - description: The stock_reservations associated to the SKU - summary: Retrieve the stock reservations associated to the SKU - tags: - - has_many - - stock_reservations - /skus/{skuId}/delivery_lead_times: - get: - description: Retrieve the delivery lead times associated to the SKU - operationId: GET/skuId/delivery_lead_times - parameters: - - description: The resource's id - explode: false - in: path - name: skuId - required: true - schema: {} - style: simple - responses: - "200": - description: The delivery_lead_times associated to the SKU - summary: Retrieve the delivery lead times associated to the SKU - tags: - - has_many - - delivery_lead_times - /skus/{skuId}/sku_options: - get: - description: Retrieve the sku options associated to the SKU - operationId: GET/skuId/sku_options - parameters: - - description: The resource's id - explode: false - in: path - name: skuId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku_options associated to the SKU - summary: Retrieve the sku options associated to the SKU - tags: - - has_many - - sku_options - /skus/{skuId}/sku_list_items: - get: - description: Retrieve the sku list items associated to the SKU - operationId: GET/skuId/sku_list_items - parameters: - - description: The resource's id - explode: false - in: path - name: skuId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku_list_items associated to the SKU - summary: Retrieve the sku list items associated to the SKU - tags: - - has_many - - sku_list_items - /skus/{skuId}/sku_lists: - get: - description: Retrieve the sku lists associated to the SKU - operationId: GET/skuId/sku_lists - parameters: - - description: The resource's id - explode: false - in: path - name: skuId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku_lists associated to the SKU - summary: Retrieve the sku lists associated to the SKU - tags: - - has_many - - sku_lists - /skus/{skuId}/attachments: - get: - description: Retrieve the attachments associated to the SKU - operationId: GET/skuId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: skuId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the SKU - summary: Retrieve the attachments associated to the SKU - tags: - - has_many - - attachments - /skus/{skuId}/links: - get: - description: Retrieve the links associated to the SKU - operationId: GET/skuId/links - parameters: - - description: The resource's id - explode: false - in: path - name: skuId - required: true - schema: {} - style: simple - responses: - "200": - description: The links associated to the SKU - summary: Retrieve the links associated to the SKU - tags: - - has_many - - links - /skus/{skuId}/events: - get: - description: Retrieve the events associated to the SKU - operationId: GET/skuId/events - parameters: - - description: The resource's id - explode: false - in: path - name: skuId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the SKU - summary: Retrieve the events associated to the SKU - tags: - - has_many - - events - /skus/{skuId}/tags: - get: - description: Retrieve the tags associated to the SKU - operationId: GET/skuId/tags - parameters: - - description: The resource's id - explode: false - in: path - name: skuId - required: true - schema: {} - style: simple - responses: - "200": - description: The tags associated to the SKU - summary: Retrieve the tags associated to the SKU - tags: - - has_many - - tags - /skus/{skuId}/versions: - get: - description: Retrieve the versions associated to the SKU - operationId: GET/skuId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: skuId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the SKU - summary: Retrieve the versions associated to the SKU - tags: - - has_many - - versions - /skus/{skuId}/jwt_customer: - get: - description: Retrieve the jwt customer associated to the SKU - operationId: GET/skuId/jwt_customer - parameters: - - description: The resource's id - explode: false - in: path - name: skuId - required: true - schema: {} - style: simple - responses: - "200": - description: The jwt_customer associated to the SKU - summary: Retrieve the jwt customer associated to the SKU - tags: - - has_one - - customers - /skus/{skuId}/jwt_markets: - get: - description: Retrieve the jwt markets associated to the SKU - operationId: GET/skuId/jwt_markets - parameters: - - description: The resource's id - explode: false - in: path - name: skuId - required: true - schema: {} - style: simple - responses: - "200": - description: The jwt_markets associated to the SKU - summary: Retrieve the jwt markets associated to the SKU - tags: - - has_many - - markets - /skus/{skuId}/jwt_stock_locations: - get: - description: Retrieve the jwt stock locations associated to the SKU - operationId: GET/skuId/jwt_stock_locations - parameters: - - description: The resource's id - explode: false - in: path - name: skuId - required: true - schema: {} - style: simple - responses: - "200": - description: The jwt_stock_locations associated to the SKU - summary: Retrieve the jwt stock locations associated to the SKU - tags: - - has_many - - stock_locations - /stock_items: - get: - description: List all stock items - operationId: GET/stock_items - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_stock_items_200_response' - description: A list of stock item objects - summary: List all stock items - tags: - - stock_items - post: - description: Create a stock item - operationId: POST/stock_items - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/stockItemCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_stock_items_201_response' - description: The created stock item object - summary: Create a stock item - tags: - - stock_items - /stock_items/{stockItemId}: - delete: - description: Delete a stock item - operationId: DELETE/stock_items/stockItemId - parameters: - - description: The resource's id - explode: false - in: path - name: stockItemId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a stock item - tags: - - stock_items - get: - description: Retrieve a stock item - operationId: GET/stock_items/stockItemId - parameters: - - description: The resource's id - explode: false - in: path - name: stockItemId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_stock_items_stockItemId_200_response' - description: The stock item object - summary: Retrieve a stock item - tags: - - stock_items - patch: - description: Update a stock item - operationId: PATCH/stock_items/stockItemId - parameters: - - description: The resource's id - explode: false - in: path - name: stockItemId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/stockItemUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_stock_items_stockItemId_200_response' - description: The updated stock item object - summary: Update a stock item - tags: - - stock_items - /stock_items/{stockItemId}/stock_location: - get: - description: Retrieve the stock location associated to the stock item - operationId: GET/stockItemId/stock_location - parameters: - - description: The resource's id - explode: false - in: path - name: stockItemId - required: true - schema: {} - style: simple - responses: - "200": - description: The stock_location associated to the stock item - summary: Retrieve the stock location associated to the stock item - tags: - - has_one - - stock_locations - /stock_items/{stockItemId}/sku: - get: - description: Retrieve the sku associated to the stock item - operationId: GET/stockItemId/sku - parameters: - - description: The resource's id - explode: false - in: path - name: stockItemId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku associated to the stock item - summary: Retrieve the sku associated to the stock item - tags: - - has_one - - skus - /stock_items/{stockItemId}/reserved_stock: - get: - description: Retrieve the reserved stock associated to the stock item - operationId: GET/stockItemId/reserved_stock - parameters: - - description: The resource's id - explode: false - in: path - name: stockItemId - required: true - schema: {} - style: simple - responses: - "200": - description: The reserved_stock associated to the stock item - summary: Retrieve the reserved stock associated to the stock item - tags: - - has_one - - reserved_stocks - /stock_items/{stockItemId}/stock_reservations: - get: - description: Retrieve the stock reservations associated to the stock item - operationId: GET/stockItemId/stock_reservations - parameters: - - description: The resource's id - explode: false - in: path - name: stockItemId - required: true - schema: {} - style: simple - responses: - "200": - description: The stock_reservations associated to the stock item - summary: Retrieve the stock reservations associated to the stock item - tags: - - has_many - - stock_reservations - /stock_items/{stockItemId}/attachments: - get: - description: Retrieve the attachments associated to the stock item - operationId: GET/stockItemId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: stockItemId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the stock item - summary: Retrieve the attachments associated to the stock item - tags: - - has_many - - attachments - /stock_items/{stockItemId}/versions: - get: - description: Retrieve the versions associated to the stock item - operationId: GET/stockItemId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: stockItemId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the stock item - summary: Retrieve the versions associated to the stock item - tags: - - has_many - - versions - /stock_line_items: - get: - description: List all stock line items - operationId: GET/stock_line_items - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_stock_line_items_200_response' - description: A list of stock line item objects - summary: List all stock line items - tags: - - stock_line_items - post: - description: Create a stock line item - operationId: POST/stock_line_items - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/stockLineItemCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_stock_line_items_201_response' - description: The created stock line item object - summary: Create a stock line item - tags: - - stock_line_items - /stock_line_items/{stockLineItemId}: - delete: - description: Delete a stock line item - operationId: DELETE/stock_line_items/stockLineItemId - parameters: - - description: The resource's id - explode: false - in: path - name: stockLineItemId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a stock line item - tags: - - stock_line_items - get: - description: Retrieve a stock line item - operationId: GET/stock_line_items/stockLineItemId - parameters: - - description: The resource's id - explode: false - in: path - name: stockLineItemId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_stock_line_items_stockLineItemId_200_response' - description: The stock line item object - summary: Retrieve a stock line item - tags: - - stock_line_items - patch: - description: Update a stock line item - operationId: PATCH/stock_line_items/stockLineItemId - parameters: - - description: The resource's id - explode: false - in: path - name: stockLineItemId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/stockLineItemUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_stock_line_items_stockLineItemId_200_response' - description: The updated stock line item object - summary: Update a stock line item - tags: - - stock_line_items - /stock_line_items/{stockLineItemId}/shipment: - get: - description: Retrieve the shipment associated to the stock line item - operationId: GET/stockLineItemId/shipment - parameters: - - description: The resource's id - explode: false - in: path - name: stockLineItemId - required: true - schema: {} - style: simple - responses: - "200": - description: The shipment associated to the stock line item - summary: Retrieve the shipment associated to the stock line item - tags: - - has_one - - shipments - /stock_line_items/{stockLineItemId}/line_item: - get: - description: Retrieve the line item associated to the stock line item - operationId: GET/stockLineItemId/line_item - parameters: - - description: The resource's id - explode: false - in: path - name: stockLineItemId - required: true - schema: {} - style: simple - responses: - "200": - description: The line_item associated to the stock line item - summary: Retrieve the line item associated to the stock line item - tags: - - has_one - - line_items - /stock_line_items/{stockLineItemId}/stock_item: - get: - description: Retrieve the stock item associated to the stock line item - operationId: GET/stockLineItemId/stock_item - parameters: - - description: The resource's id - explode: false - in: path - name: stockLineItemId - required: true - schema: {} - style: simple - responses: - "200": - description: The stock_item associated to the stock line item - summary: Retrieve the stock item associated to the stock line item - tags: - - has_one - - stock_items - /stock_line_items/{stockLineItemId}/sku: - get: - description: Retrieve the sku associated to the stock line item - operationId: GET/stockLineItemId/sku - parameters: - - description: The resource's id - explode: false - in: path - name: stockLineItemId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku associated to the stock line item - summary: Retrieve the sku associated to the stock line item - tags: - - has_one - - skus - /stock_line_items/{stockLineItemId}/stock_reservation: - get: - description: Retrieve the stock reservation associated to the stock line item - operationId: GET/stockLineItemId/stock_reservation - parameters: - - description: The resource's id - explode: false - in: path - name: stockLineItemId - required: true - schema: {} - style: simple - responses: - "200": - description: The stock_reservation associated to the stock line item - summary: Retrieve the stock reservation associated to the stock line item - tags: - - has_one - - stock_reservations - /stock_line_items/{stockLineItemId}/versions: - get: - description: Retrieve the versions associated to the stock line item - operationId: GET/stockLineItemId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: stockLineItemId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the stock line item - summary: Retrieve the versions associated to the stock line item - tags: - - has_many - - versions - /stock_locations: - get: - description: List all stock locations - operationId: GET/stock_locations - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_stock_locations_200_response' - description: A list of stock location objects - summary: List all stock locations - tags: - - stock_locations - post: - description: Create a stock location - operationId: POST/stock_locations - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/stockLocationCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_stock_locations_201_response' - description: The created stock location object - summary: Create a stock location - tags: - - stock_locations - /stock_locations/{stockLocationId}: - delete: - description: Delete a stock location - operationId: DELETE/stock_locations/stockLocationId - parameters: - - description: The resource's id - explode: false - in: path - name: stockLocationId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a stock location - tags: - - stock_locations - get: - description: Retrieve a stock location - operationId: GET/stock_locations/stockLocationId - parameters: - - description: The resource's id - explode: false - in: path - name: stockLocationId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_stock_locations_stockLocationId_200_response' - description: The stock location object - summary: Retrieve a stock location - tags: - - stock_locations - patch: - description: Update a stock location - operationId: PATCH/stock_locations/stockLocationId - parameters: - - description: The resource's id - explode: false - in: path - name: stockLocationId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/stockLocationUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_stock_locations_stockLocationId_200_response' - description: The updated stock location object - summary: Update a stock location - tags: - - stock_locations - /stock_locations/{stockLocationId}/address: - get: - description: Retrieve the address associated to the stock location - operationId: GET/stockLocationId/address - parameters: - - description: The resource's id - explode: false - in: path - name: stockLocationId - required: true - schema: {} - style: simple - responses: - "200": - description: The address associated to the stock location - summary: Retrieve the address associated to the stock location - tags: - - has_one - - addresses - /stock_locations/{stockLocationId}/inventory_stock_locations: - get: - description: Retrieve the inventory stock locations associated to the stock - location - operationId: GET/stockLocationId/inventory_stock_locations - parameters: - - description: The resource's id - explode: false - in: path - name: stockLocationId - required: true - schema: {} - style: simple - responses: - "200": - description: The inventory_stock_locations associated to the stock location - summary: Retrieve the inventory stock locations associated to the stock location - tags: - - has_many - - inventory_stock_locations - /stock_locations/{stockLocationId}/inventory_return_locations: - get: - description: Retrieve the inventory return locations associated to the stock - location - operationId: GET/stockLocationId/inventory_return_locations - parameters: - - description: The resource's id - explode: false - in: path - name: stockLocationId - required: true - schema: {} - style: simple - responses: - "200": - description: The inventory_return_locations associated to the stock location - summary: Retrieve the inventory return locations associated to the stock location - tags: - - has_many - - inventory_return_locations - /stock_locations/{stockLocationId}/stock_items: - get: - description: Retrieve the stock items associated to the stock location - operationId: GET/stockLocationId/stock_items - parameters: - - description: The resource's id - explode: false - in: path - name: stockLocationId - required: true - schema: {} - style: simple - responses: - "200": - description: The stock_items associated to the stock location - summary: Retrieve the stock items associated to the stock location - tags: - - has_many - - stock_items - /stock_locations/{stockLocationId}/stock_transfers: - get: - description: Retrieve the stock transfers associated to the stock location - operationId: GET/stockLocationId/stock_transfers - parameters: - - description: The resource's id - explode: false - in: path - name: stockLocationId - required: true - schema: {} - style: simple - responses: - "200": - description: The stock_transfers associated to the stock location - summary: Retrieve the stock transfers associated to the stock location - tags: - - has_many - - stock_transfers - /stock_locations/{stockLocationId}/attachments: - get: - description: Retrieve the attachments associated to the stock location - operationId: GET/stockLocationId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: stockLocationId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the stock location - summary: Retrieve the attachments associated to the stock location - tags: - - has_many - - attachments - /stock_locations/{stockLocationId}/versions: - get: - description: Retrieve the versions associated to the stock location - operationId: GET/stockLocationId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: stockLocationId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the stock location - summary: Retrieve the versions associated to the stock location - tags: - - has_many - - versions - /stock_reservations: - get: - description: List all stock reservations - operationId: GET/stock_reservations - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_stock_reservations_200_response' - description: A list of stock reservation objects - summary: List all stock reservations - tags: - - stock_reservations - post: - description: Create a stock reservation - operationId: POST/stock_reservations - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/stockReservationCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_stock_reservations_201_response' - description: The created stock reservation object - summary: Create a stock reservation - tags: - - stock_reservations - /stock_reservations/{stockReservationId}: - delete: - description: Delete a stock reservation - operationId: DELETE/stock_reservations/stockReservationId - parameters: - - description: The resource's id - explode: false - in: path - name: stockReservationId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a stock reservation - tags: - - stock_reservations - get: - description: Retrieve a stock reservation - operationId: GET/stock_reservations/stockReservationId - parameters: - - description: The resource's id - explode: false - in: path - name: stockReservationId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_stock_reservations_stockReservationId_200_response' - description: The stock reservation object - summary: Retrieve a stock reservation - tags: - - stock_reservations - patch: - description: Update a stock reservation - operationId: PATCH/stock_reservations/stockReservationId - parameters: - - description: The resource's id - explode: false - in: path - name: stockReservationId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/stockReservationUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_stock_reservations_stockReservationId_200_response' - description: The updated stock reservation object - summary: Update a stock reservation - tags: - - stock_reservations - /stock_reservations/{stockReservationId}/line_item: - get: - description: Retrieve the line item associated to the stock reservation - operationId: GET/stockReservationId/line_item - parameters: - - description: The resource's id - explode: false - in: path - name: stockReservationId - required: true - schema: {} - style: simple - responses: - "200": - description: The line_item associated to the stock reservation - summary: Retrieve the line item associated to the stock reservation - tags: - - has_one - - line_items - /stock_reservations/{stockReservationId}/order: - get: - description: Retrieve the order associated to the stock reservation - operationId: GET/stockReservationId/order - parameters: - - description: The resource's id - explode: false - in: path - name: stockReservationId - required: true - schema: {} - style: simple - responses: - "200": - description: The order associated to the stock reservation - summary: Retrieve the order associated to the stock reservation - tags: - - has_one - - orders - /stock_reservations/{stockReservationId}/stock_line_item: - get: - description: Retrieve the stock line item associated to the stock reservation - operationId: GET/stockReservationId/stock_line_item - parameters: - - description: The resource's id - explode: false - in: path - name: stockReservationId - required: true - schema: {} - style: simple - responses: - "200": - description: The stock_line_item associated to the stock reservation - summary: Retrieve the stock line item associated to the stock reservation - tags: - - has_one - - stock_line_items - /stock_reservations/{stockReservationId}/stock_transfer: - get: - description: Retrieve the stock transfer associated to the stock reservation - operationId: GET/stockReservationId/stock_transfer - parameters: - - description: The resource's id - explode: false - in: path - name: stockReservationId - required: true - schema: {} - style: simple - responses: - "200": - description: The stock_transfer associated to the stock reservation - summary: Retrieve the stock transfer associated to the stock reservation - tags: - - has_one - - stock_transfers - /stock_reservations/{stockReservationId}/stock_item: - get: - description: Retrieve the stock item associated to the stock reservation - operationId: GET/stockReservationId/stock_item - parameters: - - description: The resource's id - explode: false - in: path - name: stockReservationId - required: true - schema: {} - style: simple - responses: - "200": - description: The stock_item associated to the stock reservation - summary: Retrieve the stock item associated to the stock reservation - tags: - - has_one - - stock_items - /stock_reservations/{stockReservationId}/reserved_stock: - get: - description: Retrieve the reserved stock associated to the stock reservation - operationId: GET/stockReservationId/reserved_stock - parameters: - - description: The resource's id - explode: false - in: path - name: stockReservationId - required: true - schema: {} - style: simple - responses: - "200": - description: The reserved_stock associated to the stock reservation - summary: Retrieve the reserved stock associated to the stock reservation - tags: - - has_one - - reserved_stocks - /stock_reservations/{stockReservationId}/sku: - get: - description: Retrieve the sku associated to the stock reservation - operationId: GET/stockReservationId/sku - parameters: - - description: The resource's id - explode: false - in: path - name: stockReservationId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku associated to the stock reservation - summary: Retrieve the sku associated to the stock reservation - tags: - - has_one - - skus - /stock_transfers: - get: - description: List all stock transfers - operationId: GET/stock_transfers - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_stock_transfers_200_response' - description: A list of stock transfer objects - summary: List all stock transfers - tags: - - stock_transfers - post: - description: Create a stock transfer - operationId: POST/stock_transfers - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/stockTransferCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_stock_transfers_201_response' - description: The created stock transfer object - summary: Create a stock transfer - tags: - - stock_transfers - /stock_transfers/{stockTransferId}: - delete: - description: Delete a stock transfer - operationId: DELETE/stock_transfers/stockTransferId - parameters: - - description: The resource's id - explode: false - in: path - name: stockTransferId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a stock transfer - tags: - - stock_transfers - get: - description: Retrieve a stock transfer - operationId: GET/stock_transfers/stockTransferId - parameters: - - description: The resource's id - explode: false - in: path - name: stockTransferId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_stock_transfers_stockTransferId_200_response' - description: The stock transfer object - summary: Retrieve a stock transfer - tags: - - stock_transfers - patch: - description: Update a stock transfer - operationId: PATCH/stock_transfers/stockTransferId - parameters: - - description: The resource's id - explode: false - in: path - name: stockTransferId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/stockTransferUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_stock_transfers_stockTransferId_200_response' - description: The updated stock transfer object - summary: Update a stock transfer - tags: - - stock_transfers - /stock_transfers/{stockTransferId}/sku: - get: - description: Retrieve the sku associated to the stock transfer - operationId: GET/stockTransferId/sku - parameters: - - description: The resource's id - explode: false - in: path - name: stockTransferId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku associated to the stock transfer - summary: Retrieve the sku associated to the stock transfer - tags: - - has_one - - skus - /stock_transfers/{stockTransferId}/origin_stock_location: - get: - description: Retrieve the origin stock location associated to the stock transfer - operationId: GET/stockTransferId/origin_stock_location - parameters: - - description: The resource's id - explode: false - in: path - name: stockTransferId - required: true - schema: {} - style: simple - responses: - "200": - description: The origin_stock_location associated to the stock transfer - summary: Retrieve the origin stock location associated to the stock transfer - tags: - - has_one - - stock_locations - /stock_transfers/{stockTransferId}/destination_stock_location: - get: - description: Retrieve the destination stock location associated to the stock - transfer - operationId: GET/stockTransferId/destination_stock_location - parameters: - - description: The resource's id - explode: false - in: path - name: stockTransferId - required: true - schema: {} - style: simple - responses: - "200": - description: The destination_stock_location associated to the stock transfer - summary: Retrieve the destination stock location associated to the stock transfer - tags: - - has_one - - stock_locations - /stock_transfers/{stockTransferId}/shipment: - get: - description: Retrieve the shipment associated to the stock transfer - operationId: GET/stockTransferId/shipment - parameters: - - description: The resource's id - explode: false - in: path - name: stockTransferId - required: true - schema: {} - style: simple - responses: - "200": - description: The shipment associated to the stock transfer - summary: Retrieve the shipment associated to the stock transfer - tags: - - has_one - - shipments - /stock_transfers/{stockTransferId}/line_item: - get: - description: Retrieve the line item associated to the stock transfer - operationId: GET/stockTransferId/line_item - parameters: - - description: The resource's id - explode: false - in: path - name: stockTransferId - required: true - schema: {} - style: simple - responses: - "200": - description: The line_item associated to the stock transfer - summary: Retrieve the line item associated to the stock transfer - tags: - - has_one - - line_items - /stock_transfers/{stockTransferId}/stock_reservation: - get: - description: Retrieve the stock reservation associated to the stock transfer - operationId: GET/stockTransferId/stock_reservation - parameters: - - description: The resource's id - explode: false - in: path - name: stockTransferId - required: true - schema: {} - style: simple - responses: - "200": - description: The stock_reservation associated to the stock transfer - summary: Retrieve the stock reservation associated to the stock transfer - tags: - - has_one - - stock_reservations - /stock_transfers/{stockTransferId}/attachments: - get: - description: Retrieve the attachments associated to the stock transfer - operationId: GET/stockTransferId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: stockTransferId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the stock transfer - summary: Retrieve the attachments associated to the stock transfer - tags: - - has_many - - attachments - /stock_transfers/{stockTransferId}/events: - get: - description: Retrieve the events associated to the stock transfer - operationId: GET/stockTransferId/events - parameters: - - description: The resource's id - explode: false - in: path - name: stockTransferId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the stock transfer - summary: Retrieve the events associated to the stock transfer - tags: - - has_many - - events - /stock_transfers/{stockTransferId}/versions: - get: - description: Retrieve the versions associated to the stock transfer - operationId: GET/stockTransferId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: stockTransferId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the stock transfer - summary: Retrieve the versions associated to the stock transfer - tags: - - has_many - - versions - /stripe_gateways: - get: - description: List all stripe gateways - operationId: GET/stripe_gateways - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_stripe_gateways_200_response' - description: A list of stripe gateway objects - summary: List all stripe gateways - tags: - - stripe_gateways - post: - description: Create a stripe gateway - operationId: POST/stripe_gateways - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/stripeGatewayCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_stripe_gateways_201_response' - description: The created stripe gateway object - summary: Create a stripe gateway - tags: - - stripe_gateways - /stripe_gateways/{stripeGatewayId}: - delete: - description: Delete a stripe gateway - operationId: DELETE/stripe_gateways/stripeGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: stripeGatewayId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a stripe gateway - tags: - - stripe_gateways - get: - description: Retrieve a stripe gateway - operationId: GET/stripe_gateways/stripeGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: stripeGatewayId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_stripe_gateways_stripeGatewayId_200_response' - description: The stripe gateway object - summary: Retrieve a stripe gateway - tags: - - stripe_gateways - patch: - description: Update a stripe gateway - operationId: PATCH/stripe_gateways/stripeGatewayId - parameters: - - description: The resource's id - explode: false - in: path - name: stripeGatewayId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/stripeGatewayUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_stripe_gateways_stripeGatewayId_200_response' - description: The updated stripe gateway object - summary: Update a stripe gateway - tags: - - stripe_gateways - /stripe_gateways/{stripeGatewayId}/payment_methods: - get: - description: Retrieve the payment methods associated to the stripe gateway - operationId: GET/stripeGatewayId/payment_methods - parameters: - - description: The resource's id - explode: false - in: path - name: stripeGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The payment_methods associated to the stripe gateway - summary: Retrieve the payment methods associated to the stripe gateway - tags: - - has_many - - payment_methods - /stripe_gateways/{stripeGatewayId}/versions: - get: - description: Retrieve the versions associated to the stripe gateway - operationId: GET/stripeGatewayId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: stripeGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the stripe gateway - summary: Retrieve the versions associated to the stripe gateway - tags: - - has_many - - versions - /stripe_gateways/{stripeGatewayId}/stripe_payments: - get: - description: Retrieve the stripe payments associated to the stripe gateway - operationId: GET/stripeGatewayId/stripe_payments - parameters: - - description: The resource's id - explode: false - in: path - name: stripeGatewayId - required: true - schema: {} - style: simple - responses: - "200": - description: The stripe_payments associated to the stripe gateway - summary: Retrieve the stripe payments associated to the stripe gateway - tags: - - has_many - - stripe_payments - /stripe_payments: - get: - description: List all stripe payments - operationId: GET/stripe_payments - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_stripe_payments_200_response' - description: A list of stripe payment objects - summary: List all stripe payments - tags: - - stripe_payments - post: - description: Create a stripe payment - operationId: POST/stripe_payments - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/stripePaymentCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_stripe_payments_201_response' - description: The created stripe payment object - summary: Create a stripe payment - tags: - - stripe_payments - /stripe_payments/{stripePaymentId}: - delete: - description: Delete a stripe payment - operationId: DELETE/stripe_payments/stripePaymentId - parameters: - - description: The resource's id - explode: false - in: path - name: stripePaymentId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a stripe payment - tags: - - stripe_payments - get: - description: Retrieve a stripe payment - operationId: GET/stripe_payments/stripePaymentId - parameters: - - description: The resource's id - explode: false - in: path - name: stripePaymentId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_stripe_payments_stripePaymentId_200_response' - description: The stripe payment object - summary: Retrieve a stripe payment - tags: - - stripe_payments - patch: - description: Update a stripe payment - operationId: PATCH/stripe_payments/stripePaymentId - parameters: - - description: The resource's id - explode: false - in: path - name: stripePaymentId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/stripePaymentUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_stripe_payments_stripePaymentId_200_response' - description: The updated stripe payment object - summary: Update a stripe payment - tags: - - stripe_payments - /stripe_payments/{stripePaymentId}/order: - get: - description: Retrieve the order associated to the stripe payment - operationId: GET/stripePaymentId/order - parameters: - - description: The resource's id - explode: false - in: path - name: stripePaymentId - required: true - schema: {} - style: simple - responses: - "200": - description: The order associated to the stripe payment - summary: Retrieve the order associated to the stripe payment - tags: - - has_one - - orders - /stripe_payments/{stripePaymentId}/payment_gateway: - get: - description: Retrieve the payment gateway associated to the stripe payment - operationId: GET/stripePaymentId/payment_gateway - parameters: - - description: The resource's id - explode: false - in: path - name: stripePaymentId - required: true - schema: {} - style: simple - responses: - "200": - description: The payment_gateway associated to the stripe payment - summary: Retrieve the payment gateway associated to the stripe payment - tags: - - has_one - - payment_gateways - /stripe_payments/{stripePaymentId}/versions: - get: - description: Retrieve the versions associated to the stripe payment - operationId: GET/stripePaymentId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: stripePaymentId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the stripe payment - summary: Retrieve the versions associated to the stripe payment - tags: - - has_many - - versions - /subscription_models: - get: - description: List all subscription models - operationId: GET/subscription_models - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_subscription_models_200_response' - description: A list of subscription model objects - summary: List all subscription models - tags: - - subscription_models - post: - description: Create a subscription model - operationId: POST/subscription_models - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/subscriptionModelCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_subscription_models_201_response' - description: The created subscription model object - summary: Create a subscription model - tags: - - subscription_models - /subscription_models/{subscriptionModelId}: - delete: - description: Delete a subscription model - operationId: DELETE/subscription_models/subscriptionModelId - parameters: - - description: The resource's id - explode: false - in: path - name: subscriptionModelId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a subscription model - tags: - - subscription_models - get: - description: Retrieve a subscription model - operationId: GET/subscription_models/subscriptionModelId - parameters: - - description: The resource's id - explode: false - in: path - name: subscriptionModelId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_subscription_models_subscriptionModelId_200_response' - description: The subscription model object - summary: Retrieve a subscription model - tags: - - subscription_models - patch: - description: Update a subscription model - operationId: PATCH/subscription_models/subscriptionModelId - parameters: - - description: The resource's id - explode: false - in: path - name: subscriptionModelId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/subscriptionModelUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_subscription_models_subscriptionModelId_200_response' - description: The updated subscription model object - summary: Update a subscription model - tags: - - subscription_models - /subscription_models/{subscriptionModelId}/markets: - get: - description: Retrieve the markets associated to the subscription model - operationId: GET/subscriptionModelId/markets - parameters: - - description: The resource's id - explode: false - in: path - name: subscriptionModelId - required: true - schema: {} - style: simple - responses: - "200": - description: The markets associated to the subscription model - summary: Retrieve the markets associated to the subscription model - tags: - - has_many - - markets - /subscription_models/{subscriptionModelId}/order_subscriptions: - get: - description: Retrieve the order subscriptions associated to the subscription - model - operationId: GET/subscriptionModelId/order_subscriptions - parameters: - - description: The resource's id - explode: false - in: path - name: subscriptionModelId - required: true - schema: {} - style: simple - responses: - "200": - description: The order_subscriptions associated to the subscription model - summary: Retrieve the order subscriptions associated to the subscription model - tags: - - has_many - - order_subscriptions - /subscription_models/{subscriptionModelId}/attachments: - get: - description: Retrieve the attachments associated to the subscription model - operationId: GET/subscriptionModelId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: subscriptionModelId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the subscription model - summary: Retrieve the attachments associated to the subscription model - tags: - - has_many - - attachments - /tags: - get: - description: List all tags - operationId: GET/tags - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_tags_200_response' - description: A list of tag objects - summary: List all tags - tags: - - tags - post: - description: Create a tag - operationId: POST/tags - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/tagCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_tags_201_response' - description: The created tag object - summary: Create a tag - tags: - - tags - /tags/{tagId}: - delete: - description: Delete a tag - operationId: DELETE/tags/tagId - parameters: - - description: The resource's id - explode: false - in: path - name: tagId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a tag - tags: - - tags - get: - description: Retrieve a tag - operationId: GET/tags/tagId - parameters: - - description: The resource's id - explode: false - in: path - name: tagId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_tags_tagId_200_response' - description: The tag object - summary: Retrieve a tag - tags: - - tags - patch: - description: Update a tag - operationId: PATCH/tags/tagId - parameters: - - description: The resource's id - explode: false - in: path - name: tagId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/tagUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_tags_tagId_200_response' - description: The updated tag object - summary: Update a tag - tags: - - tags - /tax_calculators: - get: - description: List all tax calculators - operationId: GET/tax_calculators - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_tax_calculators_200_response' - description: A list of tax calculator objects - summary: List all tax calculators - tags: - - tax_calculators - /tax_calculators/{taxCalculatorId}: - get: - description: Retrieve a tax calculator - operationId: GET/tax_calculators/taxCalculatorId - parameters: - - description: The resource's id - explode: false - in: path - name: taxCalculatorId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_tax_calculators_taxCalculatorId_200_response' - description: The tax calculator object - summary: Retrieve a tax calculator - tags: - - tax_calculators - /tax_calculators/{taxCalculatorId}/markets: - get: - description: Retrieve the markets associated to the tax calculator - operationId: GET/taxCalculatorId/markets - parameters: - - description: The resource's id - explode: false - in: path - name: taxCalculatorId - required: true - schema: {} - style: simple - responses: - "200": - description: The markets associated to the tax calculator - summary: Retrieve the markets associated to the tax calculator - tags: - - has_many - - markets - /tax_calculators/{taxCalculatorId}/attachments: - get: - description: Retrieve the attachments associated to the tax calculator - operationId: GET/taxCalculatorId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: taxCalculatorId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the tax calculator - summary: Retrieve the attachments associated to the tax calculator - tags: - - has_many - - attachments - /tax_calculators/{taxCalculatorId}/versions: - get: - description: Retrieve the versions associated to the tax calculator - operationId: GET/taxCalculatorId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: taxCalculatorId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the tax calculator - summary: Retrieve the versions associated to the tax calculator - tags: - - has_many - - versions - /tax_categories: - get: - description: List all tax categories - operationId: GET/tax_categories - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_tax_categories_200_response' - description: A list of tax category objects - summary: List all tax categories - tags: - - tax_categories - post: - description: Create a tax category - operationId: POST/tax_categories - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/taxCategoryCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_tax_categories_201_response' - description: The created tax category object - summary: Create a tax category - tags: - - tax_categories - /tax_categories/{taxCategoryId}: - delete: - description: Delete a tax category - operationId: DELETE/tax_categories/taxCategoryId - parameters: - - description: The resource's id - explode: false - in: path - name: taxCategoryId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a tax category - tags: - - tax_categories - get: - description: Retrieve a tax category - operationId: GET/tax_categories/taxCategoryId - parameters: - - description: The resource's id - explode: false - in: path - name: taxCategoryId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_tax_categories_taxCategoryId_200_response' - description: The tax category object - summary: Retrieve a tax category - tags: - - tax_categories - patch: - description: Update a tax category - operationId: PATCH/tax_categories/taxCategoryId - parameters: - - description: The resource's id - explode: false - in: path - name: taxCategoryId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/taxCategoryUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_tax_categories_taxCategoryId_200_response' - description: The updated tax category object - summary: Update a tax category - tags: - - tax_categories - /tax_categories/{taxCategoryId}/sku: - get: - description: Retrieve the sku associated to the tax category - operationId: GET/taxCategoryId/sku - parameters: - - description: The resource's id - explode: false - in: path - name: taxCategoryId - required: true - schema: {} - style: simple - responses: - "200": - description: The sku associated to the tax category - summary: Retrieve the sku associated to the tax category - tags: - - has_one - - skus - /tax_categories/{taxCategoryId}/attachments: - get: - description: Retrieve the attachments associated to the tax category - operationId: GET/taxCategoryId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: taxCategoryId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the tax category - summary: Retrieve the attachments associated to the tax category - tags: - - has_many - - attachments - /tax_categories/{taxCategoryId}/versions: - get: - description: Retrieve the versions associated to the tax category - operationId: GET/taxCategoryId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: taxCategoryId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the tax category - summary: Retrieve the versions associated to the tax category - tags: - - has_many - - versions - /tax_rules: - get: - description: List all tax rules - operationId: GET/tax_rules - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_tax_rules_200_response' - description: A list of tax rule objects - summary: List all tax rules - tags: - - tax_rules - post: - description: Create a tax rule - operationId: POST/tax_rules - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/taxRuleCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_tax_rules_201_response' - description: The created tax rule object - summary: Create a tax rule - tags: - - tax_rules - /tax_rules/{taxRuleId}: - delete: - description: Delete a tax rule - operationId: DELETE/tax_rules/taxRuleId - parameters: - - description: The resource's id - explode: false - in: path - name: taxRuleId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a tax rule - tags: - - tax_rules - get: - description: Retrieve a tax rule - operationId: GET/tax_rules/taxRuleId - parameters: - - description: The resource's id - explode: false - in: path - name: taxRuleId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_tax_rules_taxRuleId_200_response' - description: The tax rule object - summary: Retrieve a tax rule - tags: - - tax_rules - patch: - description: Update a tax rule - operationId: PATCH/tax_rules/taxRuleId - parameters: - - description: The resource's id - explode: false - in: path - name: taxRuleId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/taxRuleUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_tax_rules_taxRuleId_200_response' - description: The updated tax rule object - summary: Update a tax rule - tags: - - tax_rules - /tax_rules/{taxRuleId}/manual_tax_calculator: - get: - description: Retrieve the manual tax calculator associated to the tax rule - operationId: GET/taxRuleId/manual_tax_calculator - parameters: - - description: The resource's id - explode: false - in: path - name: taxRuleId - required: true - schema: {} - style: simple - responses: - "200": - description: The manual_tax_calculator associated to the tax rule - summary: Retrieve the manual tax calculator associated to the tax rule - tags: - - has_one - - manual_tax_calculators - /tax_rules/{taxRuleId}/versions: - get: - description: Retrieve the versions associated to the tax rule - operationId: GET/taxRuleId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: taxRuleId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the tax rule - summary: Retrieve the versions associated to the tax rule - tags: - - has_many - - versions - /taxjar_accounts: - get: - description: List all taxjar accounts - operationId: GET/taxjar_accounts - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_taxjar_accounts_200_response' - description: A list of taxjar account objects - summary: List all taxjar accounts - tags: - - taxjar_accounts - post: - description: Create a taxjar account - operationId: POST/taxjar_accounts - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/taxjarAccountCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_taxjar_accounts_201_response' - description: The created taxjar account object - summary: Create a taxjar account - tags: - - taxjar_accounts - /taxjar_accounts/{taxjarAccountId}: - delete: - description: Delete a taxjar account - operationId: DELETE/taxjar_accounts/taxjarAccountId - parameters: - - description: The resource's id - explode: false - in: path - name: taxjarAccountId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a taxjar account - tags: - - taxjar_accounts - get: - description: Retrieve a taxjar account - operationId: GET/taxjar_accounts/taxjarAccountId - parameters: - - description: The resource's id - explode: false - in: path - name: taxjarAccountId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_taxjar_accounts_taxjarAccountId_200_response' - description: The taxjar account object - summary: Retrieve a taxjar account - tags: - - taxjar_accounts - patch: - description: Update a taxjar account - operationId: PATCH/taxjar_accounts/taxjarAccountId - parameters: - - description: The resource's id - explode: false - in: path - name: taxjarAccountId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/taxjarAccountUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_taxjar_accounts_taxjarAccountId_200_response' - description: The updated taxjar account object - summary: Update a taxjar account - tags: - - taxjar_accounts - /taxjar_accounts/{taxjarAccountId}/markets: - get: - description: Retrieve the markets associated to the taxjar account - operationId: GET/taxjarAccountId/markets - parameters: - - description: The resource's id - explode: false - in: path - name: taxjarAccountId - required: true - schema: {} - style: simple - responses: - "200": - description: The markets associated to the taxjar account - summary: Retrieve the markets associated to the taxjar account - tags: - - has_many - - markets - /taxjar_accounts/{taxjarAccountId}/attachments: - get: - description: Retrieve the attachments associated to the taxjar account - operationId: GET/taxjarAccountId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: taxjarAccountId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the taxjar account - summary: Retrieve the attachments associated to the taxjar account - tags: - - has_many - - attachments - /taxjar_accounts/{taxjarAccountId}/versions: - get: - description: Retrieve the versions associated to the taxjar account - operationId: GET/taxjarAccountId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: taxjarAccountId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the taxjar account - summary: Retrieve the versions associated to the taxjar account - tags: - - has_many - - versions - /taxjar_accounts/{taxjarAccountId}/tax_categories: - get: - description: Retrieve the tax categories associated to the taxjar account - operationId: GET/taxjarAccountId/tax_categories - parameters: - - description: The resource's id - explode: false - in: path - name: taxjarAccountId - required: true - schema: {} - style: simple - responses: - "200": - description: The tax_categories associated to the taxjar account - summary: Retrieve the tax categories associated to the taxjar account - tags: - - has_many - - tax_categories - /transactions: - get: - description: List all transactions - operationId: GET/transactions - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_transactions_200_response' - description: A list of transaction objects - summary: List all transactions - tags: - - transactions - /transactions/{transactionId}: - get: - description: Retrieve a transaction - operationId: GET/transactions/transactionId - parameters: - - description: The resource's id - explode: false - in: path - name: transactionId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_transactions_transactionId_200_response' - description: The transaction object - summary: Retrieve a transaction - tags: - - transactions - /transactions/{transactionId}/order: - get: - description: Retrieve the order associated to the transaction - operationId: GET/transactionId/order - parameters: - - description: The resource's id - explode: false - in: path - name: transactionId - required: true - schema: {} - style: simple - responses: - "200": - description: The order associated to the transaction - summary: Retrieve the order associated to the transaction - tags: - - has_one - - orders - /transactions/{transactionId}/attachments: - get: - description: Retrieve the attachments associated to the transaction - operationId: GET/transactionId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: transactionId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the transaction - summary: Retrieve the attachments associated to the transaction - tags: - - has_many - - attachments - /transactions/{transactionId}/events: - get: - description: Retrieve the events associated to the transaction - operationId: GET/transactionId/events - parameters: - - description: The resource's id - explode: false - in: path - name: transactionId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the transaction - summary: Retrieve the events associated to the transaction - tags: - - has_many - - events - /transactions/{transactionId}/versions: - get: - description: Retrieve the versions associated to the transaction - operationId: GET/transactionId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: transactionId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the transaction - summary: Retrieve the versions associated to the transaction - tags: - - has_many - - versions - /versions: - get: - description: List all versions - operationId: GET/versions - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_versions_200_response' - description: A list of version objects - summary: List all versions - tags: - - versions - /versions/{versionId}: - get: - description: Retrieve a version - operationId: GET/versions/versionId - parameters: - - description: The resource's id - explode: false - in: path - name: versionId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_versions_versionId_200_response' - description: The version object - summary: Retrieve a version - tags: - - versions - /voids: - get: - description: List all voids - operationId: GET/voids - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_voids_200_response' - description: A list of void objects - summary: List all voids - tags: - - voids - /voids/{voidId}: - get: - description: Retrieve a void - operationId: GET/voids/voidId - parameters: - - description: The resource's id - explode: false - in: path - name: voidId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_voids_voidId_200_response' - description: The void object - summary: Retrieve a void - tags: - - voids - patch: - description: Update a void - operationId: PATCH/voids/voidId - parameters: - - description: The resource's id - explode: false - in: path - name: voidId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/voidUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_voids_voidId_200_response' - description: The updated void object - summary: Update a void - tags: - - voids - /voids/{voidId}/order: - get: - description: Retrieve the order associated to the void - operationId: GET/voidId/order - parameters: - - description: The resource's id - explode: false - in: path - name: voidId - required: true - schema: {} - style: simple - responses: - "200": - description: The order associated to the void - summary: Retrieve the order associated to the void - tags: - - has_one - - orders - /voids/{voidId}/attachments: - get: - description: Retrieve the attachments associated to the void - operationId: GET/voidId/attachments - parameters: - - description: The resource's id - explode: false - in: path - name: voidId - required: true - schema: {} - style: simple - responses: - "200": - description: The attachments associated to the void - summary: Retrieve the attachments associated to the void - tags: - - has_many - - attachments - /voids/{voidId}/events: - get: - description: Retrieve the events associated to the void - operationId: GET/voidId/events - parameters: - - description: The resource's id - explode: false - in: path - name: voidId - required: true - schema: {} - style: simple - responses: - "200": - description: The events associated to the void - summary: Retrieve the events associated to the void - tags: - - has_many - - events - /voids/{voidId}/versions: - get: - description: Retrieve the versions associated to the void - operationId: GET/voidId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: voidId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the void - summary: Retrieve the versions associated to the void - tags: - - has_many - - versions - /voids/{voidId}/reference_authorization: - get: - description: Retrieve the reference authorization associated to the void - operationId: GET/voidId/reference_authorization - parameters: - - description: The resource's id - explode: false - in: path - name: voidId - required: true - schema: {} - style: simple - responses: - "200": - description: The reference_authorization associated to the void - summary: Retrieve the reference authorization associated to the void - tags: - - has_one - - authorizations - /webhooks: - get: - description: List all webhooks - operationId: GET/webhooks - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_webhooks_200_response' - description: A list of webhook objects - summary: List all webhooks - tags: - - webhooks - post: - description: Create a webhook - operationId: POST/webhooks - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/webhookCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_webhooks_201_response' - description: The created webhook object - summary: Create a webhook - tags: - - webhooks - /webhooks/{webhookId}: - delete: - description: Delete a webhook - operationId: DELETE/webhooks/webhookId - parameters: - - description: The resource's id - explode: false - in: path - name: webhookId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a webhook - tags: - - webhooks - get: - description: Retrieve a webhook - operationId: GET/webhooks/webhookId - parameters: - - description: The resource's id - explode: false - in: path - name: webhookId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_webhooks_webhookId_200_response' - description: The webhook object - summary: Retrieve a webhook - tags: - - webhooks - patch: - description: Update a webhook - operationId: PATCH/webhooks/webhookId - parameters: - - description: The resource's id - explode: false - in: path - name: webhookId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/webhookUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_webhooks_webhookId_200_response' - description: The updated webhook object - summary: Update a webhook - tags: - - webhooks - /webhooks/{webhookId}/last_event_callbacks: - get: - description: Retrieve the last event callbacks associated to the webhook - operationId: GET/webhookId/last_event_callbacks - parameters: - - description: The resource's id - explode: false - in: path - name: webhookId - required: true - schema: {} - style: simple - responses: - "200": - description: The last_event_callbacks associated to the webhook - summary: Retrieve the last event callbacks associated to the webhook - tags: - - has_many - - event_callbacks - /webhooks/{webhookId}/versions: - get: - description: Retrieve the versions associated to the webhook - operationId: GET/webhookId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: webhookId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the webhook - summary: Retrieve the versions associated to the webhook - tags: - - has_many - - versions - /wire_transfers: - get: - description: List all wire transfers - operationId: GET/wire_transfers - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_wire_transfers_200_response' - description: A list of wire transfer objects - summary: List all wire transfers - tags: - - wire_transfers - post: - description: Create a wire transfer - operationId: POST/wire_transfers - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/wireTransferCreate' - required: true - responses: - "201": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/POST_wire_transfers_201_response' - description: The created wire transfer object - summary: Create a wire transfer - tags: - - wire_transfers - /wire_transfers/{wireTransferId}: - delete: - description: Delete a wire transfer - operationId: DELETE/wire_transfers/wireTransferId - parameters: - - description: The resource's id - explode: false - in: path - name: wireTransferId - required: true - schema: {} - style: simple - responses: - "204": - description: No content - summary: Delete a wire transfer - tags: - - wire_transfers - get: - description: Retrieve a wire transfer - operationId: GET/wire_transfers/wireTransferId - parameters: - - description: The resource's id - explode: false - in: path - name: wireTransferId - required: true - schema: {} - style: simple - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/GET_wire_transfers_wireTransferId_200_response' - description: The wire transfer object - summary: Retrieve a wire transfer - tags: - - wire_transfers - patch: - description: Update a wire transfer - operationId: PATCH/wire_transfers/wireTransferId - parameters: - - description: The resource's id - explode: false - in: path - name: wireTransferId - required: true - schema: {} - style: simple - requestBody: - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/wireTransferUpdate' - required: true - responses: - "200": - content: - application/vnd.api+json: - schema: - $ref: '#/components/schemas/PATCH_wire_transfers_wireTransferId_200_response' - description: The updated wire transfer object - summary: Update a wire transfer - tags: - - wire_transfers - /wire_transfers/{wireTransferId}/order: - get: - description: Retrieve the order associated to the wire transfer - operationId: GET/wireTransferId/order - parameters: - - description: The resource's id - explode: false - in: path - name: wireTransferId - required: true - schema: {} - style: simple - responses: - "200": - description: The order associated to the wire transfer - summary: Retrieve the order associated to the wire transfer - tags: - - has_one - - orders - /wire_transfers/{wireTransferId}/versions: - get: - description: Retrieve the versions associated to the wire transfer - operationId: GET/wireTransferId/versions - parameters: - - description: The resource's id - explode: false - in: path - name: wireTransferId - required: true - schema: {} - style: simple - responses: - "200": - description: The versions associated to the wire transfer - summary: Retrieve the versions associated to the wire transfer - tags: - - has_many - - versions -components: - schemas: - address: - properties: - data: - $ref: '#/components/schemas/address_data' - addressCreate: - properties: - data: - $ref: '#/components/schemas/addressCreate_data' - required: - - data - addressUpdate: - properties: - data: - $ref: '#/components/schemas/addressUpdate_data' - required: - - data - adjustment: - properties: - data: - $ref: '#/components/schemas/adjustment_data' - adjustmentCreate: - properties: - data: - $ref: '#/components/schemas/adjustmentCreate_data' - required: - - data - adjustmentUpdate: - properties: - data: - $ref: '#/components/schemas/adjustmentUpdate_data' - required: - - data - adyenGateway: - properties: - data: - $ref: '#/components/schemas/adyenGateway_data' - adyenGatewayCreate: - properties: - data: - $ref: '#/components/schemas/adyenGatewayCreate_data' - required: - - data - adyenGatewayUpdate: - properties: - data: - $ref: '#/components/schemas/adyenGatewayUpdate_data' - required: - - data - adyenPayment: - properties: - data: - $ref: '#/components/schemas/adyenPayment_data' - adyenPaymentCreate: - properties: - data: - $ref: '#/components/schemas/adyenPaymentCreate_data' - required: - - data - adyenPaymentUpdate: - properties: - data: - $ref: '#/components/schemas/adyenPaymentUpdate_data' - required: - - data - application: - properties: - data: - $ref: '#/components/schemas/application_data' - attachment: - properties: - data: - $ref: '#/components/schemas/attachment_data' - attachmentCreate: - properties: - data: - $ref: '#/components/schemas/attachmentCreate_data' - required: - - data - attachmentUpdate: - properties: - data: - $ref: '#/components/schemas/attachmentUpdate_data' - required: - - data - authorization: - properties: - data: - $ref: '#/components/schemas/authorization_data' - authorizationUpdate: - properties: - data: - $ref: '#/components/schemas/authorizationUpdate_data' - required: - - data - avalaraAccount: - properties: - data: - $ref: '#/components/schemas/avalaraAccount_data' - avalaraAccountCreate: - properties: - data: - $ref: '#/components/schemas/avalaraAccountCreate_data' - required: - - data - avalaraAccountUpdate: - properties: - data: - $ref: '#/components/schemas/avalaraAccountUpdate_data' - required: - - data - axerveGateway: - properties: - data: - $ref: '#/components/schemas/axerveGateway_data' - axerveGatewayCreate: - properties: - data: - $ref: '#/components/schemas/axerveGatewayCreate_data' - required: - - data - axerveGatewayUpdate: - properties: - data: - $ref: '#/components/schemas/axerveGatewayUpdate_data' - required: - - data - axervePayment: - properties: - data: - $ref: '#/components/schemas/axervePayment_data' - axervePaymentCreate: - properties: - data: - $ref: '#/components/schemas/axervePaymentCreate_data' - required: - - data - axervePaymentUpdate: - properties: - data: - $ref: '#/components/schemas/axervePaymentUpdate_data' - required: - - data - billingInfoValidationRule: - properties: - data: - $ref: '#/components/schemas/billingInfoValidationRule_data' - billingInfoValidationRuleCreate: - properties: - data: - $ref: '#/components/schemas/billingInfoValidationRuleCreate_data' - required: - - data - billingInfoValidationRuleUpdate: - properties: - data: - $ref: '#/components/schemas/billingInfoValidationRuleUpdate_data' - required: - - data - bingGeocoder: - properties: - data: - $ref: '#/components/schemas/bingGeocoder_data' - bingGeocoderCreate: - properties: - data: - $ref: '#/components/schemas/bingGeocoderCreate_data' - required: - - data - bingGeocoderUpdate: - properties: - data: - $ref: '#/components/schemas/bingGeocoderUpdate_data' - required: - - data - braintreeGateway: - properties: - data: - $ref: '#/components/schemas/braintreeGateway_data' - braintreeGatewayCreate: - properties: - data: - $ref: '#/components/schemas/braintreeGatewayCreate_data' - required: - - data - braintreeGatewayUpdate: - properties: - data: - $ref: '#/components/schemas/braintreeGatewayUpdate_data' - required: - - data - braintreePayment: - properties: - data: - $ref: '#/components/schemas/braintreePayment_data' - braintreePaymentCreate: - properties: - data: - $ref: '#/components/schemas/braintreePaymentCreate_data' - required: - - data - braintreePaymentUpdate: - properties: - data: - $ref: '#/components/schemas/braintreePaymentUpdate_data' - required: - - data - bundle: - properties: - data: - $ref: '#/components/schemas/bundle_data' - bundleCreate: - properties: - data: - $ref: '#/components/schemas/bundleCreate_data' - required: - - data - bundleUpdate: - properties: - data: - $ref: '#/components/schemas/bundleUpdate_data' - required: - - data - buyXPayYPromotion: - properties: - data: - $ref: '#/components/schemas/buyXPayYPromotion_data' - buyXPayYPromotionCreate: - properties: - data: - $ref: '#/components/schemas/buyXPayYPromotionCreate_data' - required: - - data - buyXPayYPromotionUpdate: - properties: - data: - $ref: '#/components/schemas/buyXPayYPromotionUpdate_data' - required: - - data - capture: - properties: - data: - $ref: '#/components/schemas/capture_data' - captureUpdate: - properties: - data: - $ref: '#/components/schemas/captureUpdate_data' - required: - - data - carrierAccount: - properties: - data: - $ref: '#/components/schemas/carrierAccount_data' - carrierAccountCreate: - properties: - data: - $ref: '#/components/schemas/carrierAccountCreate_data' - required: - - data - carrierAccountUpdate: - properties: - data: - $ref: '#/components/schemas/carrierAccountUpdate_data' - required: - - data - checkoutComGateway: - properties: - data: - $ref: '#/components/schemas/checkoutComGateway_data' - checkoutComGatewayCreate: - properties: - data: - $ref: '#/components/schemas/checkoutComGatewayCreate_data' - required: - - data - checkoutComGatewayUpdate: - properties: - data: - $ref: '#/components/schemas/checkoutComGatewayUpdate_data' - required: - - data - checkoutComPayment: - properties: - data: - $ref: '#/components/schemas/checkoutComPayment_data' - checkoutComPaymentCreate: - properties: - data: - $ref: '#/components/schemas/checkoutComPaymentCreate_data' - required: - - data - checkoutComPaymentUpdate: - properties: - data: - $ref: '#/components/schemas/checkoutComPaymentUpdate_data' - required: - - data - cleanup: - properties: - data: - $ref: '#/components/schemas/cleanup_data' - cleanupCreate: - properties: - data: - $ref: '#/components/schemas/cleanupCreate_data' - required: - - data - cleanupUpdate: - properties: - data: - $ref: '#/components/schemas/cleanupUpdate_data' - required: - - data - couponCodesPromotionRule: - properties: - data: - $ref: '#/components/schemas/couponCodesPromotionRule_data' - couponCodesPromotionRuleCreate: - properties: - data: - $ref: '#/components/schemas/couponCodesPromotionRuleCreate_data' - required: - - data - couponCodesPromotionRuleUpdate: - properties: - data: - $ref: '#/components/schemas/couponCodesPromotionRuleUpdate_data' - required: - - data - couponRecipient: - properties: - data: - $ref: '#/components/schemas/couponRecipient_data' - couponRecipientCreate: - properties: - data: - $ref: '#/components/schemas/couponRecipientCreate_data' - required: - - data - couponRecipientUpdate: - properties: - data: - $ref: '#/components/schemas/couponRecipientUpdate_data' - required: - - data - coupon: - properties: - data: - $ref: '#/components/schemas/coupon_data' - couponCreate: - properties: - data: - $ref: '#/components/schemas/couponCreate_data' - required: - - data - couponUpdate: - properties: - data: - $ref: '#/components/schemas/couponUpdate_data' - required: - - data - customPromotionRule: - properties: - data: - $ref: '#/components/schemas/customPromotionRule_data' - customPromotionRuleCreate: - properties: - data: - $ref: '#/components/schemas/customPromotionRuleCreate_data' - required: - - data - customPromotionRuleUpdate: - properties: - data: - $ref: '#/components/schemas/customPromotionRuleUpdate_data' - required: - - data - customerAddress: - properties: - data: - $ref: '#/components/schemas/customerAddress_data' - customerAddressCreate: - properties: - data: - $ref: '#/components/schemas/customerAddressCreate_data' - required: - - data - customerAddressUpdate: - properties: - data: - $ref: '#/components/schemas/customerAddressUpdate_data' - required: - - data - customerGroup: - properties: - data: - $ref: '#/components/schemas/customerGroup_data' - customerGroupCreate: - properties: - data: - $ref: '#/components/schemas/customerGroupCreate_data' - required: - - data - customerGroupUpdate: - properties: - data: - $ref: '#/components/schemas/customerGroupUpdate_data' - required: - - data - customerPasswordReset: - properties: - data: - $ref: '#/components/schemas/customerPasswordReset_data' - customerPasswordResetCreate: - properties: - data: - $ref: '#/components/schemas/customerPasswordResetCreate_data' - required: - - data - customerPasswordResetUpdate: - properties: - data: - $ref: '#/components/schemas/customerPasswordResetUpdate_data' - required: - - data - customerPaymentSource: - properties: - data: - $ref: '#/components/schemas/customerPaymentSource_data' - customerPaymentSourceCreate: - properties: - data: - $ref: '#/components/schemas/customerPaymentSourceCreate_data' - required: - - data - customerPaymentSourceUpdate: - properties: - data: - $ref: '#/components/schemas/customerPaymentSourceUpdate_data' - required: - - data - customerSubscription: - properties: - data: - $ref: '#/components/schemas/customerSubscription_data' - customerSubscriptionCreate: - properties: - data: - $ref: '#/components/schemas/customerSubscriptionCreate_data' - required: - - data - customerSubscriptionUpdate: - properties: - data: - $ref: '#/components/schemas/customerSubscriptionUpdate_data' - required: - - data - customer: - properties: - data: - $ref: '#/components/schemas/customer_data' - customerCreate: - properties: - data: - $ref: '#/components/schemas/customerCreate_data' - required: - - data - customerUpdate: - properties: - data: - $ref: '#/components/schemas/customerUpdate_data' - required: - - data - deliveryLeadTime: - properties: - data: - $ref: '#/components/schemas/deliveryLeadTime_data' - deliveryLeadTimeCreate: - properties: - data: - $ref: '#/components/schemas/deliveryLeadTimeCreate_data' - required: - - data - deliveryLeadTimeUpdate: - properties: - data: - $ref: '#/components/schemas/deliveryLeadTimeUpdate_data' - required: - - data - eventCallback: - properties: - data: - $ref: '#/components/schemas/eventCallback_data' - event: - properties: - data: - $ref: '#/components/schemas/event_data' - eventUpdate: - properties: - data: - $ref: '#/components/schemas/eventUpdate_data' - required: - - data - export: - properties: - data: - $ref: '#/components/schemas/export_data' - exportCreate: - properties: - data: - $ref: '#/components/schemas/exportCreate_data' - required: - - data - exportUpdate: - properties: - data: - $ref: '#/components/schemas/exportUpdate_data' - required: - - data - externalGateway: - properties: - data: - $ref: '#/components/schemas/externalGateway_data' - externalGatewayCreate: - properties: - data: - $ref: '#/components/schemas/externalGatewayCreate_data' - required: - - data - externalGatewayUpdate: - properties: - data: - $ref: '#/components/schemas/externalGatewayUpdate_data' - required: - - data - externalPayment: - properties: - data: - $ref: '#/components/schemas/externalPayment_data' - externalPaymentCreate: - properties: - data: - $ref: '#/components/schemas/externalPaymentCreate_data' - required: - - data - externalPaymentUpdate: - properties: - data: - $ref: '#/components/schemas/externalPaymentUpdate_data' - required: - - data - externalPromotion: - properties: - data: - $ref: '#/components/schemas/externalPromotion_data' - externalPromotionCreate: - properties: - data: - $ref: '#/components/schemas/externalPromotionCreate_data' - required: - - data - externalPromotionUpdate: - properties: - data: - $ref: '#/components/schemas/externalPromotionUpdate_data' - required: - - data - externalTaxCalculator: - properties: - data: - $ref: '#/components/schemas/externalTaxCalculator_data' - externalTaxCalculatorCreate: - properties: - data: - $ref: '#/components/schemas/externalTaxCalculatorCreate_data' - required: - - data - externalTaxCalculatorUpdate: - properties: - data: - $ref: '#/components/schemas/externalTaxCalculatorUpdate_data' - required: - - data - fixedAmountPromotion: - properties: - data: - $ref: '#/components/schemas/fixedAmountPromotion_data' - fixedAmountPromotionCreate: - properties: - data: - $ref: '#/components/schemas/fixedAmountPromotionCreate_data' - required: - - data - fixedAmountPromotionUpdate: - properties: - data: - $ref: '#/components/schemas/fixedAmountPromotionUpdate_data' - required: - - data - fixedPricePromotion: - properties: - data: - $ref: '#/components/schemas/fixedPricePromotion_data' - fixedPricePromotionCreate: - properties: - data: - $ref: '#/components/schemas/fixedPricePromotionCreate_data' - required: - - data - fixedPricePromotionUpdate: - properties: - data: - $ref: '#/components/schemas/fixedPricePromotionUpdate_data' - required: - - data - flexPromotion: - properties: - data: - $ref: '#/components/schemas/flexPromotion_data' - flexPromotionCreate: - properties: - data: - $ref: '#/components/schemas/flexPromotionCreate_data' - required: - - data - flexPromotionUpdate: - properties: - data: - $ref: '#/components/schemas/flexPromotionUpdate_data' - required: - - data - freeGiftPromotion: - properties: - data: - $ref: '#/components/schemas/freeGiftPromotion_data' - freeGiftPromotionCreate: - properties: - data: - $ref: '#/components/schemas/freeGiftPromotionCreate_data' - required: - - data - freeGiftPromotionUpdate: - properties: - data: - $ref: '#/components/schemas/freeGiftPromotionUpdate_data' - required: - - data - freeShippingPromotion: - properties: - data: - $ref: '#/components/schemas/freeShippingPromotion_data' - freeShippingPromotionCreate: - properties: - data: - $ref: '#/components/schemas/freeShippingPromotionCreate_data' - required: - - data - freeShippingPromotionUpdate: - properties: - data: - $ref: '#/components/schemas/freeShippingPromotionUpdate_data' - required: - - data - geocoder: - properties: - data: - $ref: '#/components/schemas/geocoder_data' - giftCardRecipient: - properties: - data: - $ref: '#/components/schemas/giftCardRecipient_data' - giftCardRecipientCreate: - properties: - data: - $ref: '#/components/schemas/giftCardRecipientCreate_data' - required: - - data - giftCardRecipientUpdate: - properties: - data: - $ref: '#/components/schemas/giftCardRecipientUpdate_data' - required: - - data - giftCard: - properties: - data: - $ref: '#/components/schemas/giftCard_data' - giftCardCreate: - properties: - data: - $ref: '#/components/schemas/giftCardCreate_data' - required: - - data - giftCardUpdate: - properties: - data: - $ref: '#/components/schemas/giftCardUpdate_data' - required: - - data - googleGeocoder: - properties: - data: - $ref: '#/components/schemas/googleGeocoder_data' - googleGeocoderCreate: - properties: - data: - $ref: '#/components/schemas/googleGeocoderCreate_data' - required: - - data - googleGeocoderUpdate: - properties: - data: - $ref: '#/components/schemas/googleGeocoderUpdate_data' - required: - - data - import: - properties: - data: - $ref: '#/components/schemas/import_data' - importCreate: - properties: - data: - $ref: '#/components/schemas/importCreate_data' - required: - - data - importUpdate: - properties: - data: - $ref: '#/components/schemas/importUpdate_data' - required: - - data - inStockSubscription: - properties: - data: - $ref: '#/components/schemas/inStockSubscription_data' - inStockSubscriptionCreate: - properties: - data: - $ref: '#/components/schemas/inStockSubscriptionCreate_data' - required: - - data - inStockSubscriptionUpdate: - properties: - data: - $ref: '#/components/schemas/inStockSubscriptionUpdate_data' - required: - - data - inventoryModel: - properties: - data: - $ref: '#/components/schemas/inventoryModel_data' - inventoryModelCreate: - properties: - data: - $ref: '#/components/schemas/inventoryModelCreate_data' - required: - - data - inventoryModelUpdate: - properties: - data: - $ref: '#/components/schemas/inventoryModelUpdate_data' - required: - - data - inventoryReturnLocation: - properties: - data: - $ref: '#/components/schemas/inventoryReturnLocation_data' - inventoryReturnLocationCreate: - properties: - data: - $ref: '#/components/schemas/inventoryReturnLocationCreate_data' - required: - - data - inventoryReturnLocationUpdate: - properties: - data: - $ref: '#/components/schemas/inventoryReturnLocationUpdate_data' - required: - - data - inventoryStockLocation: - properties: - data: - $ref: '#/components/schemas/inventoryStockLocation_data' - inventoryStockLocationCreate: - properties: - data: - $ref: '#/components/schemas/inventoryStockLocationCreate_data' - required: - - data - inventoryStockLocationUpdate: - properties: - data: - $ref: '#/components/schemas/inventoryStockLocationUpdate_data' - required: - - data - klarnaGateway: - properties: - data: - $ref: '#/components/schemas/klarnaGateway_data' - klarnaGatewayCreate: - properties: - data: - $ref: '#/components/schemas/klarnaGatewayCreate_data' - required: - - data - klarnaGatewayUpdate: - properties: - data: - $ref: '#/components/schemas/klarnaGatewayUpdate_data' - required: - - data - klarnaPayment: - properties: - data: - $ref: '#/components/schemas/klarnaPayment_data' - klarnaPaymentCreate: - properties: - data: - $ref: '#/components/schemas/klarnaPaymentCreate_data' - required: - - data - klarnaPaymentUpdate: - properties: - data: - $ref: '#/components/schemas/klarnaPaymentUpdate_data' - required: - - data - lineItemOption: - properties: - data: - $ref: '#/components/schemas/lineItemOption_data' - lineItemOptionCreate: - properties: - data: - $ref: '#/components/schemas/lineItemOptionCreate_data' - required: - - data - lineItemOptionUpdate: - properties: - data: - $ref: '#/components/schemas/lineItemOptionUpdate_data' - required: - - data - lineItem: - properties: - data: - $ref: '#/components/schemas/lineItem_data' - lineItemCreate: - properties: - data: - $ref: '#/components/schemas/lineItemCreate_data' - required: - - data - lineItemUpdate: - properties: - data: - $ref: '#/components/schemas/lineItemUpdate_data' - required: - - data - link: - properties: - data: - $ref: '#/components/schemas/link_data' - linkCreate: - properties: - data: - $ref: '#/components/schemas/linkCreate_data' - required: - - data - linkUpdate: - properties: - data: - $ref: '#/components/schemas/linkUpdate_data' - required: - - data - manualGateway: - properties: - data: - $ref: '#/components/schemas/manualGateway_data' - manualGatewayCreate: - properties: - data: - $ref: '#/components/schemas/manualGatewayCreate_data' - required: - - data - manualGatewayUpdate: - properties: - data: - $ref: '#/components/schemas/manualGatewayUpdate_data' - required: - - data - manualTaxCalculator: - properties: - data: - $ref: '#/components/schemas/manualTaxCalculator_data' - manualTaxCalculatorCreate: - properties: - data: - $ref: '#/components/schemas/manualTaxCalculatorCreate_data' - required: - - data - manualTaxCalculatorUpdate: - properties: - data: - $ref: '#/components/schemas/manualTaxCalculatorUpdate_data' - required: - - data - market: - properties: - data: - $ref: '#/components/schemas/market_data' - marketCreate: - properties: - data: - $ref: '#/components/schemas/marketCreate_data' - required: - - data - marketUpdate: - properties: - data: - $ref: '#/components/schemas/marketUpdate_data' - required: - - data - merchant: - properties: - data: - $ref: '#/components/schemas/merchant_data' - merchantCreate: - properties: - data: - $ref: '#/components/schemas/merchantCreate_data' - required: - - data - merchantUpdate: - properties: - data: - $ref: '#/components/schemas/merchantUpdate_data' - required: - - data - orderAmountPromotionRule: - properties: - data: - $ref: '#/components/schemas/orderAmountPromotionRule_data' - orderAmountPromotionRuleCreate: - properties: - data: - $ref: '#/components/schemas/orderAmountPromotionRuleCreate_data' - required: - - data - orderAmountPromotionRuleUpdate: - properties: - data: - $ref: '#/components/schemas/orderAmountPromotionRuleUpdate_data' - required: - - data - orderCopy: - properties: - data: - $ref: '#/components/schemas/orderCopy_data' - orderCopyCreate: - properties: - data: - $ref: '#/components/schemas/orderCopyCreate_data' - required: - - data - orderCopyUpdate: - properties: - data: - $ref: '#/components/schemas/orderCopyUpdate_data' - required: - - data - orderFactory: - properties: - data: - $ref: '#/components/schemas/orderFactory_data' - orderSubscriptionItem: - properties: - data: - $ref: '#/components/schemas/orderSubscriptionItem_data' - orderSubscriptionItemCreate: - properties: - data: - $ref: '#/components/schemas/orderSubscriptionItemCreate_data' - required: - - data - orderSubscriptionItemUpdate: - properties: - data: - $ref: '#/components/schemas/orderSubscriptionItemUpdate_data' - required: - - data - orderSubscription: - properties: - data: - $ref: '#/components/schemas/orderSubscription_data' - orderSubscriptionCreate: - properties: - data: - $ref: '#/components/schemas/orderSubscriptionCreate_data' - required: - - data - orderSubscriptionUpdate: - properties: - data: - $ref: '#/components/schemas/orderSubscriptionUpdate_data' - required: - - data - order: - properties: - data: - $ref: '#/components/schemas/order_data' - orderCreate: - properties: - data: - $ref: '#/components/schemas/orderCreate_data' - required: - - data - orderUpdate: - properties: - data: - $ref: '#/components/schemas/orderUpdate_data' - required: - - data - organization: - properties: - data: - $ref: '#/components/schemas/organization_data' - package: - properties: - data: - $ref: '#/components/schemas/package_data' - packageCreate: - properties: - data: - $ref: '#/components/schemas/packageCreate_data' - required: - - data - packageUpdate: - properties: - data: - $ref: '#/components/schemas/packageUpdate_data' - required: - - data - parcelLineItem: - properties: - data: - $ref: '#/components/schemas/parcelLineItem_data' - parcelLineItemCreate: - properties: - data: - $ref: '#/components/schemas/parcelLineItemCreate_data' - required: - - data - parcelLineItemUpdate: - properties: - data: - $ref: '#/components/schemas/parcelLineItemUpdate_data' - required: - - data - parcel: - properties: - data: - $ref: '#/components/schemas/parcel_data' - parcelCreate: - properties: - data: - $ref: '#/components/schemas/parcelCreate_data' - required: - - data - parcelUpdate: - properties: - data: - $ref: '#/components/schemas/parcelUpdate_data' - required: - - data - paymentGateway: - properties: - data: - $ref: '#/components/schemas/paymentGateway_data' - paymentMethod: - properties: - data: - $ref: '#/components/schemas/paymentMethod_data' - paymentMethodCreate: - properties: - data: - $ref: '#/components/schemas/paymentMethodCreate_data' - required: - - data - paymentMethodUpdate: - properties: - data: - $ref: '#/components/schemas/paymentMethodUpdate_data' - required: - - data - paymentOption: - properties: - data: - $ref: '#/components/schemas/paymentOption_data' - paymentOptionCreate: - properties: - data: - $ref: '#/components/schemas/paymentOptionCreate_data' - required: - - data - paymentOptionUpdate: - properties: - data: - $ref: '#/components/schemas/paymentOptionUpdate_data' - required: - - data - paypalGateway: - properties: - data: - $ref: '#/components/schemas/paypalGateway_data' - paypalGatewayCreate: - properties: - data: - $ref: '#/components/schemas/paypalGatewayCreate_data' - required: - - data - paypalGatewayUpdate: - properties: - data: - $ref: '#/components/schemas/paypalGatewayUpdate_data' - required: - - data - paypalPayment: - properties: - data: - $ref: '#/components/schemas/paypalPayment_data' - paypalPaymentCreate: - properties: - data: - $ref: '#/components/schemas/paypalPaymentCreate_data' - required: - - data - paypalPaymentUpdate: - properties: - data: - $ref: '#/components/schemas/paypalPaymentUpdate_data' - required: - - data - percentageDiscountPromotion: - properties: - data: - $ref: '#/components/schemas/percentageDiscountPromotion_data' - percentageDiscountPromotionCreate: - properties: - data: - $ref: '#/components/schemas/percentageDiscountPromotionCreate_data' - required: - - data - percentageDiscountPromotionUpdate: - properties: - data: - $ref: '#/components/schemas/percentageDiscountPromotionUpdate_data' - required: - - data - priceFrequencyTier: - properties: - data: - $ref: '#/components/schemas/priceFrequencyTier_data' - priceFrequencyTierCreate: - properties: - data: - $ref: '#/components/schemas/priceFrequencyTierCreate_data' - required: - - data - priceFrequencyTierUpdate: - properties: - data: - $ref: '#/components/schemas/priceFrequencyTierUpdate_data' - required: - - data - priceListScheduler: - properties: - data: - $ref: '#/components/schemas/priceListScheduler_data' - priceListSchedulerCreate: - properties: - data: - $ref: '#/components/schemas/priceListSchedulerCreate_data' - required: - - data - priceListSchedulerUpdate: - properties: - data: - $ref: '#/components/schemas/priceListSchedulerUpdate_data' - required: - - data - priceList: - properties: - data: - $ref: '#/components/schemas/priceList_data' - priceListCreate: - properties: - data: - $ref: '#/components/schemas/priceListCreate_data' - required: - - data - priceListUpdate: - properties: - data: - $ref: '#/components/schemas/priceListUpdate_data' - required: - - data - priceTier: - properties: - data: - $ref: '#/components/schemas/priceTier_data' - priceVolumeTier: - properties: - data: - $ref: '#/components/schemas/priceVolumeTier_data' - priceVolumeTierCreate: - properties: - data: - $ref: '#/components/schemas/priceVolumeTierCreate_data' - required: - - data - priceVolumeTierUpdate: - properties: - data: - $ref: '#/components/schemas/priceVolumeTierUpdate_data' - required: - - data - price: - properties: - data: - $ref: '#/components/schemas/price_data' - priceCreate: - properties: - data: - $ref: '#/components/schemas/priceCreate_data' - required: - - data - priceUpdate: - properties: - data: - $ref: '#/components/schemas/priceUpdate_data' - required: - - data - promotionRule: - properties: - data: - $ref: '#/components/schemas/promotionRule_data' - promotion: - properties: - data: - $ref: '#/components/schemas/promotion_data' - recurringOrderCopy: - properties: - data: - $ref: '#/components/schemas/recurringOrderCopy_data' - recurringOrderCopyCreate: - properties: - data: - $ref: '#/components/schemas/recurringOrderCopyCreate_data' - required: - - data - recurringOrderCopyUpdate: - properties: - data: - $ref: '#/components/schemas/recurringOrderCopyUpdate_data' - required: - - data - refund: - properties: - data: - $ref: '#/components/schemas/refund_data' - refundUpdate: - properties: - data: - $ref: '#/components/schemas/refundUpdate_data' - required: - - data - reservedStock: - properties: - data: - $ref: '#/components/schemas/reservedStock_data' - resourceError: - properties: - data: - $ref: '#/components/schemas/resourceError_data' - returnLineItem: - properties: - data: - $ref: '#/components/schemas/returnLineItem_data' - returnLineItemCreate: - properties: - data: - $ref: '#/components/schemas/returnLineItemCreate_data' - required: - - data - returnLineItemUpdate: - properties: - data: - $ref: '#/components/schemas/returnLineItemUpdate_data' - required: - - data - return: - properties: - data: - $ref: '#/components/schemas/return_data' - returnCreate: - properties: - data: - $ref: '#/components/schemas/returnCreate_data' - required: - - data - returnUpdate: - properties: - data: - $ref: '#/components/schemas/returnUpdate_data' - required: - - data - satispayGateway: - properties: - data: - $ref: '#/components/schemas/satispayGateway_data' - satispayGatewayCreate: - properties: - data: - $ref: '#/components/schemas/satispayGatewayCreate_data' - required: - - data - satispayGatewayUpdate: - properties: - data: - $ref: '#/components/schemas/satispayGatewayUpdate_data' - required: - - data - satispayPayment: - properties: - data: - $ref: '#/components/schemas/satispayPayment_data' - satispayPaymentCreate: - properties: - data: - $ref: '#/components/schemas/satispayPaymentCreate_data' - required: - - data - satispayPaymentUpdate: - properties: - data: - $ref: '#/components/schemas/satispayPaymentUpdate_data' - required: - - data - shipment: - properties: - data: - $ref: '#/components/schemas/shipment_data' - shipmentCreate: - properties: - data: - $ref: '#/components/schemas/shipmentCreate_data' - required: - - data - shipmentUpdate: - properties: - data: - $ref: '#/components/schemas/shipmentUpdate_data' - required: - - data - shippingCategory: - properties: - data: - $ref: '#/components/schemas/shippingCategory_data' - shippingCategoryCreate: - properties: - data: - $ref: '#/components/schemas/shippingCategoryCreate_data' - required: - - data - shippingCategoryUpdate: - properties: - data: - $ref: '#/components/schemas/shippingCategoryUpdate_data' - required: - - data - shippingMethodTier: - properties: - data: - $ref: '#/components/schemas/shippingMethodTier_data' - shippingMethod: - properties: - data: - $ref: '#/components/schemas/shippingMethod_data' - shippingMethodCreate: - properties: - data: - $ref: '#/components/schemas/shippingMethodCreate_data' - required: - - data - shippingMethodUpdate: - properties: - data: - $ref: '#/components/schemas/shippingMethodUpdate_data' - required: - - data - shippingWeightTier: - properties: - data: - $ref: '#/components/schemas/shippingWeightTier_data' - shippingWeightTierCreate: - properties: - data: - $ref: '#/components/schemas/shippingWeightTierCreate_data' - required: - - data - shippingWeightTierUpdate: - properties: - data: - $ref: '#/components/schemas/shippingWeightTierUpdate_data' - required: - - data - shippingZone: - properties: - data: - $ref: '#/components/schemas/shippingZone_data' - shippingZoneCreate: - properties: - data: - $ref: '#/components/schemas/shippingZoneCreate_data' - required: - - data - shippingZoneUpdate: - properties: - data: - $ref: '#/components/schemas/shippingZoneUpdate_data' - required: - - data - skuListItem: - properties: - data: - $ref: '#/components/schemas/skuListItem_data' - skuListItemCreate: - properties: - data: - $ref: '#/components/schemas/skuListItemCreate_data' - required: - - data - skuListItemUpdate: - properties: - data: - $ref: '#/components/schemas/skuListItemUpdate_data' - required: - - data - skuListPromotionRule: - properties: - data: - $ref: '#/components/schemas/skuListPromotionRule_data' - skuListPromotionRuleCreate: - properties: - data: - $ref: '#/components/schemas/skuListPromotionRuleCreate_data' - required: - - data - skuListPromotionRuleUpdate: - properties: - data: - $ref: '#/components/schemas/skuListPromotionRuleUpdate_data' - required: - - data - skuList: - properties: - data: - $ref: '#/components/schemas/skuList_data' - skuListCreate: - properties: - data: - $ref: '#/components/schemas/skuListCreate_data' - required: - - data - skuListUpdate: - properties: - data: - $ref: '#/components/schemas/skuListUpdate_data' - required: - - data - skuOption: - properties: - data: - $ref: '#/components/schemas/skuOption_data' - skuOptionCreate: - properties: - data: - $ref: '#/components/schemas/skuOptionCreate_data' - required: - - data - skuOptionUpdate: - properties: - data: - $ref: '#/components/schemas/skuOptionUpdate_data' - required: - - data - sku: - properties: - data: - $ref: '#/components/schemas/sku_data' - skuCreate: - properties: - data: - $ref: '#/components/schemas/skuCreate_data' - required: - - data - skuUpdate: - properties: - data: - $ref: '#/components/schemas/skuUpdate_data' - required: - - data - stockItem: - properties: - data: - $ref: '#/components/schemas/stockItem_data' - stockItemCreate: - properties: - data: - $ref: '#/components/schemas/stockItemCreate_data' - required: - - data - stockItemUpdate: - properties: - data: - $ref: '#/components/schemas/stockItemUpdate_data' - required: - - data - stockLineItem: - properties: - data: - $ref: '#/components/schemas/stockLineItem_data' - stockLineItemCreate: - properties: - data: - $ref: '#/components/schemas/stockLineItemCreate_data' - required: - - data - stockLineItemUpdate: - properties: - data: - $ref: '#/components/schemas/stockLineItemUpdate_data' - required: - - data - stockLocation: - properties: - data: - $ref: '#/components/schemas/stockLocation_data' - stockLocationCreate: - properties: - data: - $ref: '#/components/schemas/stockLocationCreate_data' - required: - - data - stockLocationUpdate: - properties: - data: - $ref: '#/components/schemas/stockLocationUpdate_data' - required: - - data - stockReservation: - properties: - data: - $ref: '#/components/schemas/stockReservation_data' - stockReservationCreate: - properties: - data: - $ref: '#/components/schemas/stockReservationCreate_data' - required: - - data - stockReservationUpdate: - properties: - data: - $ref: '#/components/schemas/stockReservationUpdate_data' - required: - - data - stockTransfer: - properties: - data: - $ref: '#/components/schemas/stockTransfer_data' - stockTransferCreate: - properties: - data: - $ref: '#/components/schemas/stockTransferCreate_data' - required: - - data - stockTransferUpdate: - properties: - data: - $ref: '#/components/schemas/stockTransferUpdate_data' - required: - - data - stripeGateway: - properties: - data: - $ref: '#/components/schemas/stripeGateway_data' - stripeGatewayCreate: - properties: - data: - $ref: '#/components/schemas/stripeGatewayCreate_data' - required: - - data - stripeGatewayUpdate: - properties: - data: - $ref: '#/components/schemas/stripeGatewayUpdate_data' - required: - - data - stripePayment: - properties: - data: - $ref: '#/components/schemas/stripePayment_data' - stripePaymentCreate: - properties: - data: - $ref: '#/components/schemas/stripePaymentCreate_data' - required: - - data - stripePaymentUpdate: - properties: - data: - $ref: '#/components/schemas/stripePaymentUpdate_data' - required: - - data - subscriptionModel: - properties: - data: - $ref: '#/components/schemas/subscriptionModel_data' - subscriptionModelCreate: - properties: - data: - $ref: '#/components/schemas/subscriptionModelCreate_data' - required: - - data - subscriptionModelUpdate: - properties: - data: - $ref: '#/components/schemas/subscriptionModelUpdate_data' - required: - - data - tag: - properties: - data: - $ref: '#/components/schemas/tag_data' - tagCreate: - properties: - data: - $ref: '#/components/schemas/tagCreate_data' - required: - - data - tagUpdate: - properties: - data: - $ref: '#/components/schemas/tagUpdate_data' - required: - - data - taxCalculator: - properties: - data: - $ref: '#/components/schemas/taxCalculator_data' - taxCategory: - properties: - data: - $ref: '#/components/schemas/taxCategory_data' - taxCategoryCreate: - properties: - data: - $ref: '#/components/schemas/taxCategoryCreate_data' - required: - - data - taxCategoryUpdate: - properties: - data: - $ref: '#/components/schemas/taxCategoryUpdate_data' - required: - - data - taxRule: - properties: - data: - $ref: '#/components/schemas/taxRule_data' - taxRuleCreate: - properties: - data: - $ref: '#/components/schemas/taxRuleCreate_data' - required: - - data - taxRuleUpdate: - properties: - data: - $ref: '#/components/schemas/taxRuleUpdate_data' - required: - - data - taxjarAccount: - properties: - data: - $ref: '#/components/schemas/taxjarAccount_data' - taxjarAccountCreate: - properties: - data: - $ref: '#/components/schemas/taxjarAccountCreate_data' - required: - - data - taxjarAccountUpdate: - properties: - data: - $ref: '#/components/schemas/taxjarAccountUpdate_data' - required: - - data - transaction: - properties: - data: - $ref: '#/components/schemas/transaction_data' - version: - properties: - data: - $ref: '#/components/schemas/version_data' - void: - properties: - data: - $ref: '#/components/schemas/void_data' - voidUpdate: - properties: - data: - $ref: '#/components/schemas/voidUpdate_data' - required: - - data - webhook: - properties: - data: - $ref: '#/components/schemas/webhook_data' - webhookCreate: - properties: - data: - $ref: '#/components/schemas/webhookCreate_data' - required: - - data - webhookUpdate: - properties: - data: - $ref: '#/components/schemas/webhookUpdate_data' - required: - - data - wireTransfer: - properties: - data: - $ref: '#/components/schemas/wireTransfer_data' - wireTransferCreate: - properties: - data: - $ref: '#/components/schemas/wireTransferCreate_data' - required: - - data - wireTransferUpdate: - properties: - data: - $ref: '#/components/schemas/wireTransferUpdate_data' - required: - - data - GET_addresses_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - addresses - links: - properties: - self: - description: URL - attributes: - properties: - business: - description: Indicates if it's a business or a personal address. - example: false - nullable: true - first_name: - description: Address first name (personal). - example: John - nullable: true - last_name: - description: Address last name (personal). - example: Smith - nullable: true - company: - description: Address company name (business). - example: The Red Brand Inc. - nullable: true - full_name: - description: Company name (business) of first name and last name - (personal). - example: John Smith - nullable: true - line_1: - description: "Address line 1, i.e. Street address, PO Box." - example: 2883 Geraldine Lane - nullable: false - line_2: - description: "Address line 2, i.e. Apartment, Suite, Building." - example: Apt.23 - nullable: true - city: - description: Address city. - example: New York - nullable: false - zip_code: - description: ZIP or postal code. - example: "10013" - nullable: true - state_code: - description: "State, province or region code." - example: NY - nullable: false - country_code: - description: The international 2-letter country code as defined - by the ISO 3166-1 standard. - example: US - nullable: false - phone: - description: Phone number (including extension). - example: (212) 646-338-1228 - nullable: false - full_address: - description: "Compact description of the address location, without\ - \ the full name." - example: "2883 Geraldine Lane Apt.23, 10013 New York NY (US) (212)\ - \ 646-338-1228" - nullable: true - name: - description: "Compact description of the address location, including\ - \ the full name." - example: "John Smith, 2883 Geraldine Lane Apt.23, 10013 New York\ - \ NY (US) (212) 646-338-1228" - nullable: true - email: - description: Email address. - example: john@example.com - nullable: true - notes: - description: "A free notes attached to the address. When used\ - \ as a shipping address, this can be useful to let the customers\ - \ add specific delivery instructions." - example: Please ring the bell twice - nullable: true - lat: - description: The address geocoded latitude. This is automatically - generated when creating a shipping/billing address for an order - and a valid geocoder is attached to the order's market. - example: 40.6971494 - nullable: true - lng: - description: The address geocoded longitude. This is automatically - generated when creating a shipping/billing address for an order - and a valid geocoder is attached to the order's market. - example: -74.2598672 - nullable: true - is_localized: - description: "Indicates if the latitude and logitude are present,\ - \ either geocoded or manually updated." - example: true - nullable: true - is_geocoded: - description: Indicates if the address has been successfully geocoded. - example: true - nullable: true - provider_name: - description: The geocoder provider name (either Google or Bing). - example: google - nullable: true - map_url: - description: The map url of the geocoded address (if geocoded). - example: "https://www.google.com/maps/search/?api=1&query=40.6971494,-74.2598672" - nullable: true - static_map_url: - description: The static map image url of the geocoded address - (if geocoded). - example: "https://maps.googleapis.com/maps/api/staticmap?center=40.6971494,-74.2598672&size=640x320&zoom=15" - nullable: true - billing_info: - description: "Customer's billing information (i.e. VAT number,\ - \ codice fiscale)." - example: VAT ID IT02382940977 - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - geocoder: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - geocoder - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - tags: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - tags - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_addresses_201_response_data_links: - properties: - self: - description: URL - POST_addresses_201_response_data_attributes: - properties: - business: - description: Indicates if it's a business or a personal address. - example: false - first_name: - description: Address first name (personal). - example: John - last_name: - description: Address last name (personal). - example: Smith - company: - description: Address company name (business). - example: The Red Brand Inc. - line_1: - description: "Address line 1, i.e. Street address, PO Box." - example: 2883 Geraldine Lane - line_2: - description: "Address line 2, i.e. Apartment, Suite, Building." - example: Apt.23 - city: - description: Address city. - example: New York - zip_code: - description: ZIP or postal code. - example: "10013" - state_code: - description: "State, province or region code." - example: NY - country_code: - description: The international 2-letter country code as defined by the ISO - 3166-1 standard. - example: US - phone: - description: Phone number (including extension). - example: (212) 646-338-1228 - email: - description: Email address. - example: john@example.com - notes: - description: "A free notes attached to the address. When used as a shipping\ - \ address, this can be useful to let the customers add specific delivery\ - \ instructions." - example: Please ring the bell twice - lat: - description: The address geocoded latitude. This is automatically generated - when creating a shipping/billing address for an order and a valid geocoder - is attached to the order's market. - example: 40.6971494 - lng: - description: The address geocoded longitude. This is automatically generated - when creating a shipping/billing address for an order and a valid geocoder - is attached to the order's market. - example: -74.2598672 - billing_info: - description: "Customer's billing information (i.e. VAT number, codice fiscale)." - example: VAT ID IT02382940977 - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - city - - country_code - - line_1 - - phone - - state_code - POST_addresses_201_response_data_relationships_geocoder_links: - properties: - self: - description: URL - related: - description: URL - POST_addresses_201_response_data_relationships_geocoder_data: - properties: - type: - description: The resource's type - enum: - - geocoder - id: - description: The resource ID - POST_addresses_201_response_data_relationships_geocoder: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_data' - POST_addresses_201_response_data_relationships_events_data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - POST_addresses_201_response_data_relationships_events: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events_data' - POST_addresses_201_response_data_relationships_tags_data: - properties: - type: - description: The resource's type - enum: - - tags - id: - description: The resource ID - POST_addresses_201_response_data_relationships_tags: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_tags_data' - POST_addresses_201_response_data_relationships_versions_data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_addresses_201_response_data_relationships_versions: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions_data' - POST_addresses_201_response_data_relationships: - properties: - geocoder: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - tags: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_tags' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_addresses_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - addresses - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_addresses_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships' - POST_addresses_201_response: - properties: - data: - $ref: '#/components/schemas/POST_addresses_201_response_data' - GET_addresses_addressId_200_response_data_attributes: - properties: - business: - description: Indicates if it's a business or a personal address. - example: false - nullable: true - first_name: - description: Address first name (personal). - example: John - nullable: true - last_name: - description: Address last name (personal). - example: Smith - nullable: true - company: - description: Address company name (business). - example: The Red Brand Inc. - nullable: true - full_name: - description: Company name (business) of first name and last name (personal). - example: John Smith - nullable: true - line_1: - description: "Address line 1, i.e. Street address, PO Box." - example: 2883 Geraldine Lane - nullable: false - line_2: - description: "Address line 2, i.e. Apartment, Suite, Building." - example: Apt.23 - nullable: true - city: - description: Address city. - example: New York - nullable: false - zip_code: - description: ZIP or postal code. - example: "10013" - nullable: true - state_code: - description: "State, province or region code." - example: NY - nullable: false - country_code: - description: The international 2-letter country code as defined by the ISO - 3166-1 standard. - example: US - nullable: false - phone: - description: Phone number (including extension). - example: (212) 646-338-1228 - nullable: false - full_address: - description: "Compact description of the address location, without the full\ - \ name." - example: "2883 Geraldine Lane Apt.23, 10013 New York NY (US) (212) 646-338-1228" - nullable: true - name: - description: "Compact description of the address location, including the\ - \ full name." - example: "John Smith, 2883 Geraldine Lane Apt.23, 10013 New York NY (US)\ - \ (212) 646-338-1228" - nullable: true - email: - description: Email address. - example: john@example.com - nullable: true - notes: - description: "A free notes attached to the address. When used as a shipping\ - \ address, this can be useful to let the customers add specific delivery\ - \ instructions." - example: Please ring the bell twice - nullable: true - lat: - description: The address geocoded latitude. This is automatically generated - when creating a shipping/billing address for an order and a valid geocoder - is attached to the order's market. - example: 40.6971494 - nullable: true - lng: - description: The address geocoded longitude. This is automatically generated - when creating a shipping/billing address for an order and a valid geocoder - is attached to the order's market. - example: -74.2598672 - nullable: true - is_localized: - description: "Indicates if the latitude and logitude are present, either\ - \ geocoded or manually updated." - example: true - nullable: true - is_geocoded: - description: Indicates if the address has been successfully geocoded. - example: true - nullable: true - provider_name: - description: The geocoder provider name (either Google or Bing). - example: google - nullable: true - map_url: - description: The map url of the geocoded address (if geocoded). - example: "https://www.google.com/maps/search/?api=1&query=40.6971494,-74.2598672" - nullable: true - static_map_url: - description: The static map image url of the geocoded address (if geocoded). - example: "https://maps.googleapis.com/maps/api/staticmap?center=40.6971494,-74.2598672&size=640x320&zoom=15" - nullable: true - billing_info: - description: "Customer's billing information (i.e. VAT number, codice fiscale)." - example: VAT ID IT02382940977 - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_addresses_addressId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - addresses - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_addresses_addressId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships' - GET_addresses_addressId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_addresses_addressId_200_response_data' - PATCH_addresses_addressId_200_response_data_attributes: - properties: - business: - description: Indicates if it's a business or a personal address. - example: false - nullable: false - first_name: - description: Address first name (personal). - example: John - nullable: true - last_name: - description: Address last name (personal). - example: Smith - nullable: true - company: - description: Address company name (business). - example: The Red Brand Inc. - nullable: true - line_1: - description: "Address line 1, i.e. Street address, PO Box." - example: 2883 Geraldine Lane - nullable: false - line_2: - description: "Address line 2, i.e. Apartment, Suite, Building." - example: Apt.23 - nullable: true - city: - description: Address city. - example: New York - nullable: false - zip_code: - description: ZIP or postal code. - example: "10013" - nullable: true - state_code: - description: "State, province or region code." - example: NY - nullable: false - country_code: - description: The international 2-letter country code as defined by the ISO - 3166-1 standard. - example: US - nullable: false - phone: - description: Phone number (including extension). - example: (212) 646-338-1228 - nullable: false - email: - description: Email address. - example: john@example.com - nullable: true - notes: - description: "A free notes attached to the address. When used as a shipping\ - \ address, this can be useful to let the customers add specific delivery\ - \ instructions." - example: Please ring the bell twice - nullable: true - lat: - description: The address geocoded latitude. This is automatically generated - when creating a shipping/billing address for an order and a valid geocoder - is attached to the order's market. - example: 40.6971494 - nullable: true - lng: - description: The address geocoded longitude. This is automatically generated - when creating a shipping/billing address for an order and a valid geocoder - is attached to the order's market. - example: -74.2598672 - nullable: true - billing_info: - description: "Customer's billing information (i.e. VAT number, codice fiscale)." - example: VAT ID IT02382940977 - nullable: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_addresses_addressId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - addresses - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_addresses_addressId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships' - PATCH_addresses_addressId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_addresses_addressId_200_response_data' - GET_adjustments_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - adjustments - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The adjustment name. - example: Additional service - nullable: false - currency_code: - description: The international 3-letter currency code as defined - by the ISO 4217 standard. - example: EUR - nullable: false - amount_cents: - description: "The adjustment amount, in cents." - example: 1500 - nullable: false - amount_float: - description: "The adjustment amount, float." - example: 15.0 - nullable: false - formatted_amount: - description: "The adjustment amount, formatted." - example: "€15,00" - nullable: false - distribute_discount: - description: Indicates if negative adjustment amount is distributed - for tax calculation. - example: true - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_adjustments_201_response_data_attributes: - properties: - name: - description: The adjustment name. - example: Additional service - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - amount_cents: - description: "The adjustment amount, in cents." - example: 1500 - distribute_discount: - description: Indicates if negative adjustment amount is distributed for - tax calculation. - example: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - amount_cents - - currency_code - - name - POST_adjustments_201_response_data_relationships: - properties: - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_adjustments_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - adjustments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_adjustments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_adjustments_201_response_data_relationships' - POST_adjustments_201_response: - properties: - data: - $ref: '#/components/schemas/POST_adjustments_201_response_data' - GET_adjustments_adjustmentId_200_response_data_attributes: - properties: - name: - description: The adjustment name. - example: Additional service - nullable: false - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - nullable: false - amount_cents: - description: "The adjustment amount, in cents." - example: 1500 - nullable: false - amount_float: - description: "The adjustment amount, float." - example: 15.0 - nullable: false - formatted_amount: - description: "The adjustment amount, formatted." - example: "€15,00" - nullable: false - distribute_discount: - description: Indicates if negative adjustment amount is distributed for - tax calculation. - example: true - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_adjustments_adjustmentId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - adjustments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_adjustments_adjustmentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_adjustments_201_response_data_relationships' - GET_adjustments_adjustmentId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_adjustments_adjustmentId_200_response_data' - PATCH_adjustments_adjustmentId_200_response_data_attributes: - properties: - name: - description: The adjustment name. - example: Additional service - nullable: false - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - nullable: false - amount_cents: - description: "The adjustment amount, in cents." - example: 1500 - nullable: false - distribute_discount: - description: Indicates if negative adjustment amount is distributed for - tax calculation. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_adjustments_adjustmentId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - adjustments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_adjustments_adjustmentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_adjustments_201_response_data_relationships' - PATCH_adjustments_adjustmentId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_adjustments_adjustmentId_200_response_data' - GET_adyen_gateways_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - adyen_gateways - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - live_url_prefix: - description: The prefix of the endpoint used for live transactions. - example: 1797a841fbb37ca7-AdyenDemo - nullable: false - api_version: - description: "The checkout API version, supported range is from\ - \ 66 to 71, default is 71." - example: 71 - nullable: true - async_api: - description: "Indicates if the gateway will leverage on the Adyen\ - \ notification webhooks, using latest API version." - example: true - nullable: true - native_customer_payment_sources: - description: Indicates if the gateway will use the native customer - payment sources. - example: true - nullable: true - webhook_endpoint_secret: - description: "The gateway webhook endpoint secret, generated by\ - \ Adyen customer area." - example: xxxx-yyyy-zzzz - nullable: true - webhook_endpoint_url: - description: "The gateway webhook URL, generated automatically." - example: https://core.commercelayer.co/webhook_callbacks/adyen_gateways/xxxxx - nullable: true - relationships: - properties: - payment_methods: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - payment_methods - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - adyen_payments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - adyen_payments - id: - description: The resource ID - POST_adyen_gateways_201_response_data_attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - merchant_account: - description: The gateway merchant account. - example: xxxx-yyyy-zzzz - api_key: - description: The gateway API key. - example: xxxx-yyyy-zzzz - public_key: - description: The public key linked to your API credential. - example: xxxx-yyyy-zzzz - live_url_prefix: - description: The prefix of the endpoint used for live transactions. - example: 1797a841fbb37ca7-AdyenDemo - api_version: - description: "The checkout API version, supported range is from 66 to 71,\ - \ default is 71." - example: 71 - async_api: - description: "Indicates if the gateway will leverage on the Adyen notification\ - \ webhooks, using latest API version." - example: true - native_customer_payment_sources: - description: Indicates if the gateway will use the native customer payment - sources. - example: true - webhook_endpoint_secret: - description: "The gateway webhook endpoint secret, generated by Adyen customer\ - \ area." - example: xxxx-yyyy-zzzz - required: - - api_key - - live_url_prefix - - merchant_account - - name - POST_adyen_gateways_201_response_data_relationships_payment_methods_data: - properties: - type: - description: The resource's type - enum: - - payment_methods - id: - description: The resource ID - POST_adyen_gateways_201_response_data_relationships_payment_methods: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_adyen_gateways_201_response_data_relationships_payment_methods_data' - POST_adyen_gateways_201_response_data_relationships_adyen_payments_data: - properties: - type: - description: The resource's type - enum: - - adyen_payments - id: - description: The resource ID - POST_adyen_gateways_201_response_data_relationships_adyen_payments: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_adyen_gateways_201_response_data_relationships_adyen_payments_data' - POST_adyen_gateways_201_response_data_relationships: - properties: - payment_methods: - $ref: '#/components/schemas/POST_adyen_gateways_201_response_data_relationships_payment_methods' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - adyen_payments: - $ref: '#/components/schemas/POST_adyen_gateways_201_response_data_relationships_adyen_payments' - POST_adyen_gateways_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - adyen_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_adyen_gateways_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_adyen_gateways_201_response_data_relationships' - POST_adyen_gateways_201_response: - properties: - data: - $ref: '#/components/schemas/POST_adyen_gateways_201_response_data' - GET_adyen_gateways_adyenGatewayId_200_response_data_attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - live_url_prefix: - description: The prefix of the endpoint used for live transactions. - example: 1797a841fbb37ca7-AdyenDemo - nullable: false - api_version: - description: "The checkout API version, supported range is from 66 to 71,\ - \ default is 71." - example: 71 - nullable: true - async_api: - description: "Indicates if the gateway will leverage on the Adyen notification\ - \ webhooks, using latest API version." - example: true - nullable: true - native_customer_payment_sources: - description: Indicates if the gateway will use the native customer payment - sources. - example: true - nullable: true - webhook_endpoint_secret: - description: "The gateway webhook endpoint secret, generated by Adyen customer\ - \ area." - example: xxxx-yyyy-zzzz - nullable: true - webhook_endpoint_url: - description: "The gateway webhook URL, generated automatically." - example: https://core.commercelayer.co/webhook_callbacks/adyen_gateways/xxxxx - nullable: true - GET_adyen_gateways_adyenGatewayId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - adyen_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_adyen_gateways_adyenGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_adyen_gateways_201_response_data_relationships' - GET_adyen_gateways_adyenGatewayId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_adyen_gateways_adyenGatewayId_200_response_data' - PATCH_adyen_gateways_adyenGatewayId_200_response_data_attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - merchant_account: - description: The gateway merchant account. - example: xxxx-yyyy-zzzz - api_key: - description: The gateway API key. - example: xxxx-yyyy-zzzz - public_key: - description: The public key linked to your API credential. - example: xxxx-yyyy-zzzz - live_url_prefix: - description: The prefix of the endpoint used for live transactions. - example: 1797a841fbb37ca7-AdyenDemo - nullable: false - api_version: - description: "The checkout API version, supported range is from 66 to 71,\ - \ default is 71." - example: 71 - nullable: true - async_api: - description: "Indicates if the gateway will leverage on the Adyen notification\ - \ webhooks, using latest API version." - example: true - nullable: false - native_customer_payment_sources: - description: Indicates if the gateway will use the native customer payment - sources. - example: true - nullable: false - webhook_endpoint_secret: - description: "The gateway webhook endpoint secret, generated by Adyen customer\ - \ area." - example: xxxx-yyyy-zzzz - nullable: true - PATCH_adyen_gateways_adyenGatewayId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - adyen_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_adyen_gateways_adyenGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_adyen_gateways_201_response_data_relationships' - PATCH_adyen_gateways_adyenGatewayId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_adyen_gateways_adyenGatewayId_200_response_data' - GET_adyen_payments_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - adyen_payments - links: - properties: - self: - description: URL - attributes: - properties: - public_key: - description: The public key linked to your API credential. - example: xxxx-yyyy-zzzz - nullable: true - payment_methods: - description: The merchant available payment methods for the assoiated - order (i.e. country and amount). Required by the Adyen JS SDK. - example: - foo: bar - nullable: false - payment_request_data: - description: "The Adyen payment request data, collected by client." - example: - foo: bar - nullable: true - payment_request_details: - description: "The Adyen additional details request data, collected\ - \ by client." - example: - foo: bar - nullable: true - payment_response: - description: "The Adyen payment response, used by client (includes\ - \ 'resultCode' and 'action')." - example: - foo: bar - nullable: true - mismatched_amounts: - description: Indicates if the order current amount differs form - the one of the associated authorization. - example: false - nullable: true - payment_instrument: - description: Information about the payment instrument used in - the transaction. - example: - issuer: cl bank - card_type: visa - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - order: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - order - id: - description: The resource ID - payment_gateway: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - payment_gateway - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_adyen_payments_201_response_data_attributes: - properties: - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - POST_adyen_payments_201_response_data_relationships_order_data: - properties: - type: - description: The resource's type - enum: - - order - id: - description: The resource ID - POST_adyen_payments_201_response_data_relationships_order: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_order_data' - POST_adyen_payments_201_response_data_relationships_payment_gateway_data: - properties: - type: - description: The resource's type - enum: - - payment_gateway - id: - description: The resource ID - POST_adyen_payments_201_response_data_relationships_payment_gateway: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_payment_gateway_data' - POST_adyen_payments_201_response_data_relationships: - properties: - order: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_order' - payment_gateway: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_payment_gateway' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_adyen_payments_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - adyen_payments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships' - POST_adyen_payments_201_response: - properties: - data: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data' - GET_adyen_payments_adyenPaymentId_200_response_data_attributes: - properties: - public_key: - description: The public key linked to your API credential. - example: xxxx-yyyy-zzzz - nullable: true - payment_methods: - description: The merchant available payment methods for the assoiated order - (i.e. country and amount). Required by the Adyen JS SDK. - example: - foo: bar - nullable: false - payment_request_data: - description: "The Adyen payment request data, collected by client." - example: - foo: bar - nullable: true - payment_request_details: - description: "The Adyen additional details request data, collected by client." - example: - foo: bar - nullable: true - payment_response: - description: "The Adyen payment response, used by client (includes 'resultCode'\ - \ and 'action')." - example: - foo: bar - nullable: true - mismatched_amounts: - description: Indicates if the order current amount differs form the one - of the associated authorization. - example: false - nullable: true - payment_instrument: - description: Information about the payment instrument used in the transaction. - example: - issuer: cl bank - card_type: visa - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_adyen_payments_adyenPaymentId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - adyen_payments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_adyen_payments_adyenPaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships' - GET_adyen_payments_adyenPaymentId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_adyen_payments_adyenPaymentId_200_response_data' - PATCH_adyen_payments_adyenPaymentId_200_response_data_attributes: - properties: - payment_request_data: - description: "The Adyen payment request data, collected by client." - example: - foo: bar - nullable: true - payment_request_details: - description: "The Adyen additional details request data, collected by client." - example: - foo: bar - nullable: true - payment_response: - description: "The Adyen payment response, used by client (includes 'resultCode'\ - \ and 'action')." - example: - foo: bar - nullable: true - _details: - description: Send this attribute if you want to send additional details - the payment request. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_adyen_payments_adyenPaymentId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - adyen_payments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_adyen_payments_adyenPaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships' - PATCH_adyen_payments_adyenPaymentId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_adyen_payments_adyenPaymentId_200_response_data' - GET_application_applicationId_200_response_data_attributes: - properties: - name: - description: The application's internal name. - example: My app - nullable: true - kind: - description: "The application's kind, can be one of: 'sales_channel', 'integration'\ - \ and 'webapp'." - example: sales-channel - nullable: true - public_access: - description: Indicates if the application has public access. - example: true - nullable: true - redirect_uri: - description: The application's redirect URI. - example: https://bluebrand.com/img/logo.svg - nullable: true - scopes: - description: The application's scopes. - example: market:all market:9 market:122 market:6 stock_location:6 stock_location:33 - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_application_applicationId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - application - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_application_applicationId_200_response_data_attributes' - relationships: - properties: {} - GET_application_applicationId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_application_applicationId_200_response_data' - GET_attachments_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - attachments - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The internal name of the attachment. - example: DDT transport document - nullable: false - description: - description: An internal description of the attachment. - example: "Lorem ipsum dolor sit amet, consectetur adipisicing\ - \ elit, sed do eiusmod tempor incididunt ut labore et dolore\ - \ magna aliqua." - nullable: true - url: - description: The attachment URL. - example: https://s3.yourdomain.com/attachment.pdf - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - attachable: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachable - id: - description: The resource ID - POST_attachments_201_response_data_attributes: - properties: - name: - description: The internal name of the attachment. - example: DDT transport document - description: - description: An internal description of the attachment. - example: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed\ - \ do eiusmod tempor incididunt ut labore et dolore magna aliqua." - url: - description: The attachment URL. - example: https://s3.yourdomain.com/attachment.pdf - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - name - POST_attachments_201_response_data_relationships_attachable_data: - properties: - type: - description: The resource's type - enum: - - attachable - id: - description: The resource ID - POST_attachments_201_response_data_relationships_attachable: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_attachments_201_response_data_relationships_attachable_data' - POST_attachments_201_response_data_relationships: - properties: - attachable: - $ref: '#/components/schemas/POST_attachments_201_response_data_relationships_attachable' - POST_attachments_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - attachments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_attachments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_attachments_201_response_data_relationships' - POST_attachments_201_response: - properties: - data: - $ref: '#/components/schemas/POST_attachments_201_response_data' - GET_attachments_attachmentId_200_response_data_attributes: - properties: - name: - description: The internal name of the attachment. - example: DDT transport document - nullable: false - description: - description: An internal description of the attachment. - example: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed\ - \ do eiusmod tempor incididunt ut labore et dolore magna aliqua." - nullable: true - url: - description: The attachment URL. - example: https://s3.yourdomain.com/attachment.pdf - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_attachments_attachmentId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - attachments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_attachments_attachmentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_attachments_201_response_data_relationships' - GET_attachments_attachmentId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_attachments_attachmentId_200_response_data' - PATCH_attachments_attachmentId_200_response_data_attributes: - properties: - name: - description: The internal name of the attachment. - example: DDT transport document - nullable: false - description: - description: An internal description of the attachment. - example: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed\ - \ do eiusmod tempor incididunt ut labore et dolore magna aliqua." - nullable: true - url: - description: The attachment URL. - example: https://s3.yourdomain.com/attachment.pdf - nullable: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_attachments_attachmentId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - attachments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_attachments_attachmentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_attachments_201_response_data_relationships' - PATCH_attachments_attachmentId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_attachments_attachmentId_200_response_data' - GET_authorizations_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - authorizations - links: - properties: - self: - description: URL - attributes: - properties: - number: - description: "The transaction number, auto generated." - example: 42/T/001 - nullable: false - type: - description: The transaction's type. - enum: - - authorizations - - voids - - captures - - refunds - example: authorizations - nullable: false - currency_code: - description: "The international 3-letter currency code as defined\ - \ by the ISO 4217 standard, inherited from the associated order." - example: EUR - nullable: false - amount_cents: - description: "The transaction amount, in cents." - example: 1500 - nullable: false - amount_float: - description: "The transaction amount, float." - example: 15.0 - nullable: false - formatted_amount: - description: "The transaction amount, formatted." - example: "€15,00" - nullable: false - succeeded: - description: Indicates if the transaction is successful. - example: false - nullable: false - message: - description: The message returned by the payment gateway. - example: Accepted - nullable: true - error_code: - description: "The error code, if any, returned by the payment\ - \ gateway." - example: "00001" - nullable: true - error_detail: - description: "The error detail, if any, returned by the payment\ - \ gateway." - example: Already settled - nullable: true - token: - description: "The token identifying the transaction, returned\ - \ by the payment gateway." - example: xxxx-yyyy-zzzz - nullable: true - gateway_transaction_id: - description: "The ID identifying the transaction, returned by\ - \ the payment gateway." - example: xxxx-yyyy-zzzz - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - cvv_code: - description: The CVV code returned by the payment gateway. - example: "000" - nullable: true - cvv_message: - description: The CVV message returned by the payment gateway. - example: validated - nullable: true - avs_code: - description: The AVS code returned by the payment gateway. - example: "000" - nullable: true - avs_message: - description: The AVS message returned by the payment gateway. - example: validated - nullable: true - fraud_review: - description: "The fraud review message, if any, returned by the\ - \ payment gateway." - example: passed - nullable: true - capture_amount_cents: - description: "The amount to be captured, in cents." - example: 500 - nullable: true - capture_amount_float: - description: "The amount to be captured, float." - example: 5.0 - nullable: true - formatted_capture_amount: - description: "The amount to be captured, formatted." - example: "€5,00" - nullable: true - capture_balance_cents: - description: "The balance to be captured, in cents." - example: 1000 - nullable: true - capture_balance_float: - description: "The balance to be captured, float." - example: 10.0 - nullable: true - formatted_capture_balance: - description: "The balance to be captured, formatted." - example: "€10,00" - nullable: true - void_balance_cents: - description: "The balance to be voided, in cents." - example: 1500 - nullable: true - void_balance_float: - description: "The balance to be voided, float." - example: 15.0 - nullable: true - formatted_void_balance: - description: "The balance to be voided, formatted." - example: "€15,00" - nullable: true - relationships: - properties: - order: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - order - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - captures: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - captures - id: - description: The resource ID - voids: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - voids - id: - description: The resource ID - GET_authorizations_authorizationId_200_response_data_attributes: - properties: - number: - description: "The transaction number, auto generated." - example: 42/T/001 - nullable: false - type: - description: The transaction's type. - enum: - - authorizations - - voids - - captures - - refunds - example: authorizations - nullable: false - currency_code: - description: "The international 3-letter currency code as defined by the\ - \ ISO 4217 standard, inherited from the associated order." - example: EUR - nullable: false - amount_cents: - description: "The transaction amount, in cents." - example: 1500 - nullable: false - amount_float: - description: "The transaction amount, float." - example: 15.0 - nullable: false - formatted_amount: - description: "The transaction amount, formatted." - example: "€15,00" - nullable: false - succeeded: - description: Indicates if the transaction is successful. - example: false - nullable: false - message: - description: The message returned by the payment gateway. - example: Accepted - nullable: true - error_code: - description: "The error code, if any, returned by the payment gateway." - example: "00001" - nullable: true - error_detail: - description: "The error detail, if any, returned by the payment gateway." - example: Already settled - nullable: true - token: - description: "The token identifying the transaction, returned by the payment\ - \ gateway." - example: xxxx-yyyy-zzzz - nullable: true - gateway_transaction_id: - description: "The ID identifying the transaction, returned by the payment\ - \ gateway." - example: xxxx-yyyy-zzzz - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - cvv_code: - description: The CVV code returned by the payment gateway. - example: "000" - nullable: true - cvv_message: - description: The CVV message returned by the payment gateway. - example: validated - nullable: true - avs_code: - description: The AVS code returned by the payment gateway. - example: "000" - nullable: true - avs_message: - description: The AVS message returned by the payment gateway. - example: validated - nullable: true - fraud_review: - description: "The fraud review message, if any, returned by the payment\ - \ gateway." - example: passed - nullable: true - capture_amount_cents: - description: "The amount to be captured, in cents." - example: 500 - nullable: true - capture_amount_float: - description: "The amount to be captured, float." - example: 5.0 - nullable: true - formatted_capture_amount: - description: "The amount to be captured, formatted." - example: "€5,00" - nullable: true - capture_balance_cents: - description: "The balance to be captured, in cents." - example: 1000 - nullable: true - capture_balance_float: - description: "The balance to be captured, float." - example: 10.0 - nullable: true - formatted_capture_balance: - description: "The balance to be captured, formatted." - example: "€10,00" - nullable: true - void_balance_cents: - description: "The balance to be voided, in cents." - example: 1500 - nullable: true - void_balance_float: - description: "The balance to be voided, float." - example: 15.0 - nullable: true - formatted_void_balance: - description: "The balance to be voided, formatted." - example: "€15,00" - nullable: true - GET_authorizations_authorizationId_200_response_data_relationships_attachments_data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - GET_authorizations_authorizationId_200_response_data_relationships_attachments: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments_data' - GET_authorizations_authorizationId_200_response_data_relationships_captures_data: - properties: - type: - description: The resource's type - enum: - - captures - id: - description: The resource ID - GET_authorizations_authorizationId_200_response_data_relationships_captures: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_captures_data' - GET_authorizations_authorizationId_200_response_data_relationships_voids_data: - properties: - type: - description: The resource's type - enum: - - voids - id: - description: The resource ID - GET_authorizations_authorizationId_200_response_data_relationships_voids: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_voids_data' - GET_authorizations_authorizationId_200_response_data_relationships: - properties: - order: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_order' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - captures: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_captures' - voids: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_voids' - GET_authorizations_authorizationId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - authorizations - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships' - GET_authorizations_authorizationId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data' - PATCH_authorizations_authorizationId_200_response_data_attributes: - properties: - succeeded: - description: Indicates if the transaction is successful. - example: false - nullable: false - _forward: - description: Send this attribute if you want to forward a stuck transaction - to succeeded and update associated order states accordingly. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - _capture: - description: Send this attribute if you want to create a capture for this - authorization. - example: true - nullable: false - _capture_amount_cents: - description: Send this attribute as a value in cents if you want to overwrite - the amount to be captured. - example: 500 - _void: - description: Send this attribute if you want to create a void for this authorization. - example: true - nullable: false - _cancel: - description: Send this attribute if you want to void a succeeded authorization - of a pending order (which is left unpaid). - example: true - nullable: false - PATCH_authorizations_authorizationId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - authorizations - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_authorizations_authorizationId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships' - PATCH_authorizations_authorizationId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_authorizations_authorizationId_200_response_data' - GET_avalara_accounts_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - avalara_accounts - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The tax calculator's internal name. - example: Personal tax calculator - nullable: false - type: - description: The tax calculator's type. - enum: - - avalara_accounts - - taxjar_accounts - - manual_tax_calculators - - external_tax_calculators - example: avalara_accounts - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - username: - description: The Avalara account username. - example: user@mydomain.com - nullable: false - company_code: - description: The Avalara company code. - example: MYCOMPANY - nullable: false - commit_invoice: - description: Indicates if the transaction will be recorded and - visible on the Avalara website. - example: true - nullable: true - ddp: - description: Indicates if the seller is responsible for paying/remitting - the customs duty & import tax to the customs authorities. - example: true - nullable: true - relationships: - properties: - markets: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - markets - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - tax_categories: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - tax_categories - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - POST_avalara_accounts_201_response_data_attributes: - properties: - name: - description: The tax calculator's internal name. - example: Personal tax calculator - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - username: - description: The Avalara account username. - example: user@mydomain.com - password: - description: The Avalara account password. - example: secret - company_code: - description: The Avalara company code. - example: MYCOMPANY - commit_invoice: - description: Indicates if the transaction will be recorded and visible on - the Avalara website. - example: true - ddp: - description: Indicates if the seller is responsible for paying/remitting - the customs duty & import tax to the customs authorities. - example: true - required: - - company_code - - name - - password - - username - POST_avalara_accounts_201_response_data_relationships_markets_data: - properties: - type: - description: The resource's type - enum: - - markets - id: - description: The resource ID - POST_avalara_accounts_201_response_data_relationships_markets: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_avalara_accounts_201_response_data_relationships_markets_data' - POST_avalara_accounts_201_response_data_relationships_tax_categories_data: - properties: - type: - description: The resource's type - enum: - - tax_categories - id: - description: The resource ID - POST_avalara_accounts_201_response_data_relationships_tax_categories: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_avalara_accounts_201_response_data_relationships_tax_categories_data' - POST_avalara_accounts_201_response_data_relationships: - properties: - markets: - $ref: '#/components/schemas/POST_avalara_accounts_201_response_data_relationships_markets' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - tax_categories: - $ref: '#/components/schemas/POST_avalara_accounts_201_response_data_relationships_tax_categories' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - POST_avalara_accounts_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - avalara_accounts - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_avalara_accounts_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_avalara_accounts_201_response_data_relationships' - POST_avalara_accounts_201_response: - properties: - data: - $ref: '#/components/schemas/POST_avalara_accounts_201_response_data' - GET_avalara_accounts_avalaraAccountId_200_response_data_attributes: - properties: - name: - description: The tax calculator's internal name. - example: Personal tax calculator - nullable: false - type: - description: The tax calculator's type. - enum: - - avalara_accounts - - taxjar_accounts - - manual_tax_calculators - - external_tax_calculators - example: avalara_accounts - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - username: - description: The Avalara account username. - example: user@mydomain.com - nullable: false - company_code: - description: The Avalara company code. - example: MYCOMPANY - nullable: false - commit_invoice: - description: Indicates if the transaction will be recorded and visible on - the Avalara website. - example: true - nullable: true - ddp: - description: Indicates if the seller is responsible for paying/remitting - the customs duty & import tax to the customs authorities. - example: true - nullable: true - GET_avalara_accounts_avalaraAccountId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - avalara_accounts - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_avalara_accounts_avalaraAccountId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_avalara_accounts_201_response_data_relationships' - GET_avalara_accounts_avalaraAccountId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_avalara_accounts_avalaraAccountId_200_response_data' - PATCH_avalara_accounts_avalaraAccountId_200_response_data_attributes: - properties: - name: - description: The tax calculator's internal name. - example: Personal tax calculator - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - username: - description: The Avalara account username. - example: user@mydomain.com - nullable: false - password: - description: The Avalara account password. - example: secret - company_code: - description: The Avalara company code. - example: MYCOMPANY - nullable: false - commit_invoice: - description: Indicates if the transaction will be recorded and visible on - the Avalara website. - example: true - nullable: false - ddp: - description: Indicates if the seller is responsible for paying/remitting - the customs duty & import tax to the customs authorities. - example: true - nullable: false - PATCH_avalara_accounts_avalaraAccountId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - avalara_accounts - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_avalara_accounts_avalaraAccountId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_avalara_accounts_201_response_data_relationships' - PATCH_avalara_accounts_avalaraAccountId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_avalara_accounts_avalaraAccountId_200_response_data' - GET_axerve_gateways_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - axerve_gateways - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - login: - description: The merchant login code. - example: xxxx-yyyy-zzzz - nullable: false - webhook_endpoint_url: - description: "The gateway webhook URL, generated automatically." - example: https://core.commercelayer.co/webhook_callbacks/axerve_gateways/xxxxx - nullable: true - relationships: - properties: - payment_methods: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - payment_methods - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - axerve_payments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - axerve_payments - id: - description: The resource ID - POST_axerve_gateways_201_response_data_attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - login: - description: The merchant login code. - example: xxxx-yyyy-zzzz - api_key: - description: The gateway API key. - example: xxxx-yyyy-zzzz - required: - - api_key - - login - - name - POST_axerve_gateways_201_response_data_relationships_axerve_payments_data: - properties: - type: - description: The resource's type - enum: - - axerve_payments - id: - description: The resource ID - POST_axerve_gateways_201_response_data_relationships_axerve_payments: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_axerve_gateways_201_response_data_relationships_axerve_payments_data' - POST_axerve_gateways_201_response_data_relationships: - properties: - payment_methods: - $ref: '#/components/schemas/POST_adyen_gateways_201_response_data_relationships_payment_methods' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - axerve_payments: - $ref: '#/components/schemas/POST_axerve_gateways_201_response_data_relationships_axerve_payments' - POST_axerve_gateways_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - axerve_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_axerve_gateways_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_axerve_gateways_201_response_data_relationships' - POST_axerve_gateways_201_response: - properties: - data: - $ref: '#/components/schemas/POST_axerve_gateways_201_response_data' - GET_axerve_gateways_axerveGatewayId_200_response_data_attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - login: - description: The merchant login code. - example: xxxx-yyyy-zzzz - nullable: false - webhook_endpoint_url: - description: "The gateway webhook URL, generated automatically." - example: https://core.commercelayer.co/webhook_callbacks/axerve_gateways/xxxxx - nullable: true - GET_axerve_gateways_axerveGatewayId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - axerve_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_axerve_gateways_axerveGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_axerve_gateways_201_response_data_relationships' - GET_axerve_gateways_axerveGatewayId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_axerve_gateways_axerveGatewayId_200_response_data' - PATCH_axerve_gateways_axerveGatewayId_200_response_data_attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - login: - description: The merchant login code. - example: xxxx-yyyy-zzzz - nullable: false - api_key: - description: The gateway API key. - example: xxxx-yyyy-zzzz - PATCH_axerve_gateways_axerveGatewayId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - axerve_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_axerve_gateways_axerveGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_axerve_gateways_201_response_data_relationships' - PATCH_axerve_gateways_axerveGatewayId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_axerve_gateways_axerveGatewayId_200_response_data' - GET_axerve_payments_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - axerve_payments - links: - properties: - self: - description: URL - attributes: - properties: - login: - description: The merchant login code. - example: xxxx-yyyy-zzzz - nullable: false - return_url: - description: The URL where the payer is redirected after they - approve the payment. - example: https://yourdomain.com/thankyou - nullable: false - payment_request_data: - description: "The Axerve payment request data, collected by client." - example: - foo: bar - nullable: true - client_ip: - description: The IP adress of the client creating the payment. - example: 213.45.120.5 - nullable: true - buyer_details: - description: The details of the buyer creating the payment. - example: - cardHolder: - email: george.harrison@gmail.com - shippingAddress: - firstName: George - nullable: true - request_token: - description: "Requires the creation of a token to represent this\ - \ payment, mandatory to use customer's wallet and order subscriptions." - example: true - nullable: true - mismatched_amounts: - description: Indicates if the order current amount differs form - the one of the associated authorization. - example: false - nullable: true - payment_instrument: - description: Information about the payment instrument used in - the transaction. - example: - issuer: cl bank - card_type: visa - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - order: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_order' - payment_gateway: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_payment_gateway' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_axerve_payments_201_response_data_attributes: - properties: - return_url: - description: The URL where the payer is redirected after they approve the - payment. - example: https://yourdomain.com/thankyou - client_ip: - description: The IP adress of the client creating the payment. - example: 213.45.120.5 - buyer_details: - description: The details of the buyer creating the payment. - example: - cardHolder: - email: george.harrison@gmail.com - shippingAddress: - firstName: George - request_token: - description: "Requires the creation of a token to represent this payment,\ - \ mandatory to use customer's wallet and order subscriptions." - example: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - return_url - POST_axerve_payments_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - axerve_payments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_axerve_payments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships' - POST_axerve_payments_201_response: - properties: - data: - $ref: '#/components/schemas/POST_axerve_payments_201_response_data' - GET_axerve_payments_axervePaymentId_200_response_data_attributes: - properties: - login: - description: The merchant login code. - example: xxxx-yyyy-zzzz - nullable: false - return_url: - description: The URL where the payer is redirected after they approve the - payment. - example: https://yourdomain.com/thankyou - nullable: false - payment_request_data: - description: "The Axerve payment request data, collected by client." - example: - foo: bar - nullable: true - client_ip: - description: The IP adress of the client creating the payment. - example: 213.45.120.5 - nullable: true - buyer_details: - description: The details of the buyer creating the payment. - example: - cardHolder: - email: george.harrison@gmail.com - shippingAddress: - firstName: George - nullable: true - request_token: - description: "Requires the creation of a token to represent this payment,\ - \ mandatory to use customer's wallet and order subscriptions." - example: true - nullable: true - mismatched_amounts: - description: Indicates if the order current amount differs form the one - of the associated authorization. - example: false - nullable: true - payment_instrument: - description: Information about the payment instrument used in the transaction. - example: - issuer: cl bank - card_type: visa - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_axerve_payments_axervePaymentId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - axerve_payments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_axerve_payments_axervePaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships' - GET_axerve_payments_axervePaymentId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_axerve_payments_axervePaymentId_200_response_data' - PATCH_axerve_payments_axervePaymentId_200_response_data_attributes: - properties: - payment_request_data: - description: "The Axerve payment request data, collected by client." - example: - foo: bar - nullable: true - _update: - description: Send this attribute if you want to update the payment with - fresh order data. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_axerve_payments_axervePaymentId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - axerve_payments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_axerve_payments_axervePaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships' - PATCH_axerve_payments_axervePaymentId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_axerve_payments_axervePaymentId_200_response_data' - GET_billing_info_validation_rules_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - billing_info_validation_rules - links: - properties: - self: - description: URL - attributes: - properties: - type: - description: The order validation rule's type. - enum: - - billing_info_validation_rules - example: billing_info_validation_rules - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - market: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - market - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_billing_info_validation_rules_201_response_data_relationships_market_data: - properties: - type: - description: The resource's type - enum: - - market - id: - description: The resource ID - POST_billing_info_validation_rules_201_response_data_relationships_market: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_billing_info_validation_rules_201_response_data_relationships_market_data' - POST_billing_info_validation_rules_201_response_data_relationships: - properties: - market: - $ref: '#/components/schemas/POST_billing_info_validation_rules_201_response_data_relationships_market' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_billing_info_validation_rules_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - billing_info_validation_rules - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_billing_info_validation_rules_201_response_data_relationships' - POST_billing_info_validation_rules_201_response: - properties: - data: - $ref: '#/components/schemas/POST_billing_info_validation_rules_201_response_data' - GET_billing_info_validation_rules_billingInfoValidationRuleId_200_response_data_attributes: - properties: - type: - description: The order validation rule's type. - enum: - - billing_info_validation_rules - example: billing_info_validation_rules - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_billing_info_validation_rules_billingInfoValidationRuleId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - billing_info_validation_rules - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_billing_info_validation_rules_billingInfoValidationRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_billing_info_validation_rules_201_response_data_relationships' - GET_billing_info_validation_rules_billingInfoValidationRuleId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_billing_info_validation_rules_billingInfoValidationRuleId_200_response_data' - PATCH_billing_info_validation_rules_billingInfoValidationRuleId_200_response_data_attributes: - properties: - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_billing_info_validation_rules_billingInfoValidationRuleId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - billing_info_validation_rules - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_billing_info_validation_rules_billingInfoValidationRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_billing_info_validation_rules_201_response_data_relationships' - PATCH_billing_info_validation_rules_billingInfoValidationRuleId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_billing_info_validation_rules_billingInfoValidationRuleId_200_response_data' - GET_bing_geocoders_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - bing_geocoders - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The geocoder's internal name. - example: Default geocoder - nullable: false - type: - description: The geocoder's type. - enum: - - google_geocoders - - bing_geocoders - example: google_geocoders - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - markets: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - markets - id: - description: The resource ID - addresses: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - addresses - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - POST_bing_geocoders_201_response_data_attributes: - properties: - name: - description: The geocoder's internal name. - example: Default geocoder - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - key: - description: The Bing Virtualearth key. - example: xxxx-yyyy-zzzz - required: - - key - - name - POST_bing_geocoders_201_response_data_relationships_addresses_data: - properties: - type: - description: The resource's type - enum: - - addresses - id: - description: The resource ID - POST_bing_geocoders_201_response_data_relationships_addresses: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_bing_geocoders_201_response_data_relationships_addresses_data' - POST_bing_geocoders_201_response_data_relationships: - properties: - markets: - $ref: '#/components/schemas/POST_avalara_accounts_201_response_data_relationships_markets' - addresses: - $ref: '#/components/schemas/POST_bing_geocoders_201_response_data_relationships_addresses' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - POST_bing_geocoders_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - bing_geocoders - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_bing_geocoders_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_bing_geocoders_201_response_data_relationships' - POST_bing_geocoders_201_response: - properties: - data: - $ref: '#/components/schemas/POST_bing_geocoders_201_response_data' - GET_bing_geocoders_bingGeocoderId_200_response_data_attributes: - properties: - name: - description: The geocoder's internal name. - example: Default geocoder - nullable: false - type: - description: The geocoder's type. - enum: - - google_geocoders - - bing_geocoders - example: google_geocoders - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_bing_geocoders_bingGeocoderId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - bing_geocoders - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_bing_geocoders_bingGeocoderId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_bing_geocoders_201_response_data_relationships' - GET_bing_geocoders_bingGeocoderId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_bing_geocoders_bingGeocoderId_200_response_data' - PATCH_bing_geocoders_bingGeocoderId_200_response_data_attributes: - properties: - name: - description: The geocoder's internal name. - example: Default geocoder - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - key: - description: The Bing Virtualearth key. - example: xxxx-yyyy-zzzz - PATCH_bing_geocoders_bingGeocoderId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - bing_geocoders - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_bing_geocoders_bingGeocoderId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_bing_geocoders_201_response_data_relationships' - PATCH_bing_geocoders_bingGeocoderId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_bing_geocoders_bingGeocoderId_200_response_data' - GET_braintree_gateways_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - braintree_gateways - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - descriptor_name: - description: "The dynamic descriptor name. Must be composed by\ - \ business name (3, 7 or 12 chars), an asterisk (*) and the\ - \ product name (18, 14 or 9 chars), for a total length of 22\ - \ chars." - example: company*productabc1234 - nullable: true - descriptor_phone: - description: "The dynamic descriptor phone number. Must be 10-14\ - \ characters and can only contain numbers, dashes, parentheses\ - \ and periods." - example: "3125551212" - nullable: true - descriptor_url: - description: The dynamic descriptor URL. - example: company.com - nullable: true - webhook_endpoint_url: - description: "The gateway webhook URL, generated automatically." - example: https://core.commercelayer.co/webhook_callbacks/braintree_gateways/xxxxx - nullable: true - relationships: - properties: - payment_methods: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - payment_methods - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - braintree_payments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - braintree_payments - id: - description: The resource ID - POST_braintree_gateways_201_response_data_attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - merchant_account_id: - description: The gateway merchant account ID. - example: xxxx-yyyy-zzzz - merchant_id: - description: The gateway merchant ID. - example: xxxx-yyyy-zzzz - public_key: - description: The gateway API public key. - example: xxxx-yyyy-zzzz - private_key: - description: The gateway API private key. - example: xxxx-yyyy-zzzz - descriptor_name: - description: "The dynamic descriptor name. Must be composed by business\ - \ name (3, 7 or 12 chars), an asterisk (*) and the product name (18, 14\ - \ or 9 chars), for a total length of 22 chars." - example: company*productabc1234 - descriptor_phone: - description: "The dynamic descriptor phone number. Must be 10-14 characters\ - \ and can only contain numbers, dashes, parentheses and periods." - example: "3125551212" - descriptor_url: - description: The dynamic descriptor URL. - example: company.com - required: - - merchant_account_id - - merchant_id - - name - - private_key - - public_key - POST_braintree_gateways_201_response_data_relationships_braintree_payments_data: - properties: - type: - description: The resource's type - enum: - - braintree_payments - id: - description: The resource ID - POST_braintree_gateways_201_response_data_relationships_braintree_payments: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_braintree_gateways_201_response_data_relationships_braintree_payments_data' - POST_braintree_gateways_201_response_data_relationships: - properties: - payment_methods: - $ref: '#/components/schemas/POST_adyen_gateways_201_response_data_relationships_payment_methods' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - braintree_payments: - $ref: '#/components/schemas/POST_braintree_gateways_201_response_data_relationships_braintree_payments' - POST_braintree_gateways_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - braintree_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_braintree_gateways_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_braintree_gateways_201_response_data_relationships' - POST_braintree_gateways_201_response: - properties: - data: - $ref: '#/components/schemas/POST_braintree_gateways_201_response_data' - GET_braintree_gateways_braintreeGatewayId_200_response_data_attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - descriptor_name: - description: "The dynamic descriptor name. Must be composed by business\ - \ name (3, 7 or 12 chars), an asterisk (*) and the product name (18, 14\ - \ or 9 chars), for a total length of 22 chars." - example: company*productabc1234 - nullable: true - descriptor_phone: - description: "The dynamic descriptor phone number. Must be 10-14 characters\ - \ and can only contain numbers, dashes, parentheses and periods." - example: "3125551212" - nullable: true - descriptor_url: - description: The dynamic descriptor URL. - example: company.com - nullable: true - webhook_endpoint_url: - description: "The gateway webhook URL, generated automatically." - example: https://core.commercelayer.co/webhook_callbacks/braintree_gateways/xxxxx - nullable: true - GET_braintree_gateways_braintreeGatewayId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - braintree_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_braintree_gateways_braintreeGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_braintree_gateways_201_response_data_relationships' - GET_braintree_gateways_braintreeGatewayId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_braintree_gateways_braintreeGatewayId_200_response_data' - PATCH_braintree_gateways_braintreeGatewayId_200_response_data_attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - merchant_account_id: - description: The gateway merchant account ID. - example: xxxx-yyyy-zzzz - merchant_id: - description: The gateway merchant ID. - example: xxxx-yyyy-zzzz - public_key: - description: The gateway API public key. - example: xxxx-yyyy-zzzz - private_key: - description: The gateway API private key. - example: xxxx-yyyy-zzzz - descriptor_name: - description: "The dynamic descriptor name. Must be composed by business\ - \ name (3, 7 or 12 chars), an asterisk (*) and the product name (18, 14\ - \ or 9 chars), for a total length of 22 chars." - example: company*productabc1234 - nullable: true - descriptor_phone: - description: "The dynamic descriptor phone number. Must be 10-14 characters\ - \ and can only contain numbers, dashes, parentheses and periods." - example: "3125551212" - nullable: true - descriptor_url: - description: The dynamic descriptor URL. - example: company.com - nullable: true - PATCH_braintree_gateways_braintreeGatewayId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - braintree_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_braintree_gateways_braintreeGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_braintree_gateways_201_response_data_relationships' - PATCH_braintree_gateways_braintreeGatewayId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_braintree_gateways_braintreeGatewayId_200_response_data' - GET_braintree_payments_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - braintree_payments - links: - properties: - self: - description: URL - attributes: - properties: - client_token: - description: The Braintree payment client token. Required by the - Braintree JS SDK. - example: xxxx.yyyy.zzzz - nullable: false - payment_method_nonce: - description: The Braintree payment method nonce. Sent by the Braintree - JS SDK. - example: xxxx.yyyy.zzzz - nullable: true - payment_id: - description: The Braintree payment ID used by local payment and - sent by the Braintree JS SDK. - example: xxxx.yyyy.zzzz - nullable: true - local: - description: "Indicates if the payment is local, in such case\ - \ Braintree will trigger a webhook call passing the \"payment_id\"\ - \ and \"payment_method_nonce\" in order to complete the transaction." - example: true - nullable: true - options: - description: "Braintree payment options, 'customer_id' and 'payment_method_token'." - example: - customer_id: "1234567890" - nullable: true - payment_instrument: - description: Information about the payment instrument used in - the transaction. - example: - issuer: cl bank - card_type: visa - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - order: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_order' - payment_gateway: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_payment_gateway' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_braintree_payments_201_response_data_attributes: - properties: - payment_id: - description: The Braintree payment ID used by local payment and sent by - the Braintree JS SDK. - example: xxxx.yyyy.zzzz - local: - description: "Indicates if the payment is local, in such case Braintree\ - \ will trigger a webhook call passing the \"payment_id\" and \"payment_method_nonce\"\ - \ in order to complete the transaction." - example: true - options: - description: "Braintree payment options, 'customer_id' and 'payment_method_token'." - example: - customer_id: "1234567890" - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - POST_braintree_payments_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - braintree_payments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_braintree_payments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships' - POST_braintree_payments_201_response: - properties: - data: - $ref: '#/components/schemas/POST_braintree_payments_201_response_data' - GET_braintree_payments_braintreePaymentId_200_response_data_attributes: - properties: - client_token: - description: The Braintree payment client token. Required by the Braintree - JS SDK. - example: xxxx.yyyy.zzzz - nullable: false - payment_method_nonce: - description: The Braintree payment method nonce. Sent by the Braintree JS - SDK. - example: xxxx.yyyy.zzzz - nullable: true - payment_id: - description: The Braintree payment ID used by local payment and sent by - the Braintree JS SDK. - example: xxxx.yyyy.zzzz - nullable: true - local: - description: "Indicates if the payment is local, in such case Braintree\ - \ will trigger a webhook call passing the \"payment_id\" and \"payment_method_nonce\"\ - \ in order to complete the transaction." - example: true - nullable: true - options: - description: "Braintree payment options, 'customer_id' and 'payment_method_token'." - example: - customer_id: "1234567890" - nullable: true - payment_instrument: - description: Information about the payment instrument used in the transaction. - example: - issuer: cl bank - card_type: visa - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_braintree_payments_braintreePaymentId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - braintree_payments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_braintree_payments_braintreePaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships' - GET_braintree_payments_braintreePaymentId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_braintree_payments_braintreePaymentId_200_response_data' - PATCH_braintree_payments_braintreePaymentId_200_response_data_attributes: - properties: - payment_method_nonce: - description: The Braintree payment method nonce. Sent by the Braintree JS - SDK. - example: xxxx.yyyy.zzzz - nullable: true - payment_id: - description: The Braintree payment ID used by local payment and sent by - the Braintree JS SDK. - example: xxxx.yyyy.zzzz - nullable: true - local: - description: "Indicates if the payment is local, in such case Braintree\ - \ will trigger a webhook call passing the \"payment_id\" and \"payment_method_nonce\"\ - \ in order to complete the transaction." - example: true - nullable: false - options: - description: "Braintree payment options, 'customer_id' and 'payment_method_token'." - example: - customer_id: "1234567890" - nullable: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_braintree_payments_braintreePaymentId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - braintree_payments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_braintree_payments_braintreePaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships' - PATCH_braintree_payments_braintreePaymentId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_braintree_payments_braintreePaymentId_200_response_data' - GET_bundles_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - bundles - links: - properties: - self: - description: URL - attributes: - properties: - code: - description: "The bundle code, that uniquely identifies the bundle\ - \ within the market." - example: BUNDMM000000FFFFFFXLXX - nullable: false - name: - description: The internal name of the bundle. - example: "Men's Black T-shirt (XL) with Black Cap and Socks, all\ - \ with White Logo" - nullable: false - currency_code: - description: The international 3-letter currency code as defined - by the ISO 4217 standard. - example: EUR - nullable: true - description: - description: An internal description of the bundle. - example: "Lorem ipsum dolor sit amet, consectetur adipisicing\ - \ elit, sed do eiusmod tempor incididunt ut labore et dolore\ - \ magna aliqua." - nullable: true - image_url: - description: The URL of an image that represents the bundle. - example: https://img.yourdomain.com/bundles/xYZkjABcde.png - nullable: true - do_not_ship: - description: Indicates if the bundle doesn't generate shipments - (all sku_list's SKUs must be do_not_ship). - example: false - nullable: true - do_not_track: - description: Indicates if the bundle doesn't track the stock inventory - (all sku_list's SKUs must be do_not_track). - example: false - nullable: true - price_amount_cents: - description: "The bundle price amount for the associated market,\ - \ in cents." - example: 10000 - nullable: true - price_amount_float: - description: "The bundle price amount for the associated market,\ - \ float." - example: 100.0 - nullable: true - formatted_price_amount: - description: "The bundle price amount for the associated market,\ - \ formatted." - example: "€100,00" - nullable: true - compare_at_amount_cents: - description: "The compared price amount, in cents. Useful to display\ - \ a percentage discount." - example: 13000 - nullable: true - compare_at_amount_float: - description: "The compared price amount, float." - example: 130.0 - nullable: true - formatted_compare_at_amount: - description: "The compared price amount, formatted." - example: "€130,00" - nullable: true - skus_count: - description: The total number of SKUs in the bundle. - example: 2 - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - market: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - market - id: - description: The resource ID - sku_list: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - sku_list - id: - description: The resource ID - skus: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - skus - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - tags: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - tags - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_bundles_201_response_data_attributes: - properties: - code: - description: "The bundle code, that uniquely identifies the bundle within\ - \ the market." - example: BUNDMM000000FFFFFFXLXX - name: - description: The internal name of the bundle. - example: "Men's Black T-shirt (XL) with Black Cap and Socks, all with White\ - \ Logo" - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - description: - description: An internal description of the bundle. - example: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed\ - \ do eiusmod tempor incididunt ut labore et dolore magna aliqua." - image_url: - description: The URL of an image that represents the bundle. - example: https://img.yourdomain.com/bundles/xYZkjABcde.png - price_amount_cents: - description: "The bundle price amount for the associated market, in cents." - example: 10000 - compare_at_amount_cents: - description: "The compared price amount, in cents. Useful to display a percentage\ - \ discount." - example: 13000 - _compute_price_amount: - description: Send this attribute if you want to compute the price_amount_cents - as the sum of the prices of the bundle SKUs for the market. - example: true - _compute_compare_at_amount: - description: Send this attribute if you want to compute the compare_at_amount_cents - as the sum of the prices of the bundle SKUs for the market. - example: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - code - - name - POST_bundles_201_response_data_relationships_sku_list_data: - properties: - type: - description: The resource's type - enum: - - sku_list - id: - description: The resource ID - POST_bundles_201_response_data_relationships_sku_list: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_bundles_201_response_data_relationships_sku_list_data' - POST_bundles_201_response_data_relationships_skus_data: - properties: - type: - description: The resource's type - enum: - - skus - id: - description: The resource ID - POST_bundles_201_response_data_relationships_skus: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_bundles_201_response_data_relationships_skus_data' - POST_bundles_201_response_data_relationships: - properties: - market: - $ref: '#/components/schemas/POST_billing_info_validation_rules_201_response_data_relationships_market' - sku_list: - $ref: '#/components/schemas/POST_bundles_201_response_data_relationships_sku_list' - skus: - $ref: '#/components/schemas/POST_bundles_201_response_data_relationships_skus' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - tags: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_tags' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_bundles_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - bundles - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_bundles_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_bundles_201_response_data_relationships' - POST_bundles_201_response: - properties: - data: - $ref: '#/components/schemas/POST_bundles_201_response_data' - GET_bundles_bundleId_200_response_data_attributes: - properties: - code: - description: "The bundle code, that uniquely identifies the bundle within\ - \ the market." - example: BUNDMM000000FFFFFFXLXX - nullable: false - name: - description: The internal name of the bundle. - example: "Men's Black T-shirt (XL) with Black Cap and Socks, all with White\ - \ Logo" - nullable: false - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - nullable: true - description: - description: An internal description of the bundle. - example: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed\ - \ do eiusmod tempor incididunt ut labore et dolore magna aliqua." - nullable: true - image_url: - description: The URL of an image that represents the bundle. - example: https://img.yourdomain.com/bundles/xYZkjABcde.png - nullable: true - do_not_ship: - description: Indicates if the bundle doesn't generate shipments (all sku_list's - SKUs must be do_not_ship). - example: false - nullable: true - do_not_track: - description: Indicates if the bundle doesn't track the stock inventory (all - sku_list's SKUs must be do_not_track). - example: false - nullable: true - price_amount_cents: - description: "The bundle price amount for the associated market, in cents." - example: 10000 - nullable: true - price_amount_float: - description: "The bundle price amount for the associated market, float." - example: 100.0 - nullable: true - formatted_price_amount: - description: "The bundle price amount for the associated market, formatted." - example: "€100,00" - nullable: true - compare_at_amount_cents: - description: "The compared price amount, in cents. Useful to display a percentage\ - \ discount." - example: 13000 - nullable: true - compare_at_amount_float: - description: "The compared price amount, float." - example: 130.0 - nullable: true - formatted_compare_at_amount: - description: "The compared price amount, formatted." - example: "€130,00" - nullable: true - skus_count: - description: The total number of SKUs in the bundle. - example: 2 - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_bundles_bundleId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - bundles - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_bundles_bundleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_bundles_201_response_data_relationships' - GET_bundles_bundleId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_bundles_bundleId_200_response_data' - PATCH_bundles_bundleId_200_response_data_attributes: - properties: - code: - description: "The bundle code, that uniquely identifies the bundle within\ - \ the market." - example: BUNDMM000000FFFFFFXLXX - nullable: false - name: - description: The internal name of the bundle. - example: "Men's Black T-shirt (XL) with Black Cap and Socks, all with White\ - \ Logo" - nullable: false - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - nullable: true - description: - description: An internal description of the bundle. - example: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed\ - \ do eiusmod tempor incididunt ut labore et dolore magna aliqua." - nullable: true - image_url: - description: The URL of an image that represents the bundle. - example: https://img.yourdomain.com/bundles/xYZkjABcde.png - nullable: true - price_amount_cents: - description: "The bundle price amount for the associated market, in cents." - example: 10000 - nullable: true - compare_at_amount_cents: - description: "The compared price amount, in cents. Useful to display a percentage\ - \ discount." - example: 13000 - nullable: true - _compute_price_amount: - description: Send this attribute if you want to compute the price_amount_cents - as the sum of the prices of the bundle SKUs for the market. - example: true - nullable: false - _compute_compare_at_amount: - description: Send this attribute if you want to compute the compare_at_amount_cents - as the sum of the prices of the bundle SKUs for the market. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_bundles_bundleId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - bundles - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_bundles_bundleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_bundles_201_response_data_relationships' - PATCH_bundles_bundleId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_bundles_bundleId_200_response_data' - GET_buy_x_pay_y_promotions_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - buy_x_pay_y_promotions - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - nullable: false - type: - description: The promotion's type. - enum: - - percentage_discount_promotions - - free_shipping_promotions - - buy_x_pay_y_promotions - - free_gift_promotions - - fixed_price_promotions - - external_promotions - - fixed_amount_promotions - - flex_promotions - example: percentage_discount_promotions - nullable: false - currency_code: - description: The international 3-letter currency code as defined - by the ISO 4217 standard. - example: EUR - nullable: true - exclusive: - description: "Indicates if the promotion will be applied exclusively,\ - \ based on its priority score." - example: true - nullable: true - priority: - description: The priority assigned to the promotion (lower means - higher priority). - example: 2 - nullable: true - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - nullable: false - expires_at: - description: The expiration date/time of this promotion (must - be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: false - total_usage_limit: - description: The total number of times this promotion can be applied. - When 'null' it means promotion can be applied infinite times. - example: 5 - nullable: true - total_usage_count: - description: The number of times this promotion has been applied. - example: 2 - nullable: true - active: - description: Indicates if the promotion is active (enabled and - not expired). - example: true - nullable: true - status: - description: "The promotion status. One of 'disabled', 'expired',\ - \ 'pending', 'active', or 'inactive'." - enum: - - disabled - - expired - - pending - - active - - inactive - example: pending - nullable: true - disabled_at: - description: Time at which this resource was disabled. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - x: - description: The quantity which defines the threshold for free - items (works by multiple of x). - example: 3 - nullable: false - "y": - description: "The quantity which defines how many items you get\ - \ for free, with the formula x-y." - example: 2 - nullable: false - cheapest_free: - description: "Indicates if the cheapest items are discounted,\ - \ allowing all of the SKUs in the associated list to be eligible\ - \ for counting." - example: true - nullable: true - relationships: - properties: - market: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - market - id: - description: The resource ID - promotion_rules: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - promotion_rules - id: - description: The resource ID - order_amount_promotion_rule: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - order_amount_promotion_rule - id: - description: The resource ID - sku_list_promotion_rule: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - sku_list_promotion_rule - id: - description: The resource ID - coupon_codes_promotion_rule: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - coupon_codes_promotion_rule - id: - description: The resource ID - custom_promotion_rule: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - custom_promotion_rule - id: - description: The resource ID - sku_list: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - sku_list - id: - description: The resource ID - coupons: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - coupons - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - tags: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - tags - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - skus: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - skus - id: - description: The resource ID - POST_buy_x_pay_y_promotions_201_response_data_attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - exclusive: - description: "Indicates if the promotion will be applied exclusively, based\ - \ on its priority score." - example: true - priority: - description: The priority assigned to the promotion (lower means higher - priority). - example: 2 - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - expires_at: - description: The expiration date/time of this promotion (must be after starts_at). - example: 2018-01-02T12:00:00.000Z - total_usage_limit: - description: The total number of times this promotion can be applied. When - 'null' it means promotion can be applied infinite times. - example: 5 - _disable: - description: Send this attribute if you want to mark this resource as disabled. - example: true - _enable: - description: Send this attribute if you want to mark this resource as enabled. - example: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - x: - description: The quantity which defines the threshold for free items (works - by multiple of x). - example: 3 - "y": - description: "The quantity which defines how many items you get for free,\ - \ with the formula x-y." - example: 2 - cheapest_free: - description: "Indicates if the cheapest items are discounted, allowing all\ - \ of the SKUs in the associated list to be eligible for counting." - example: true - required: - - expires_at - - name - - starts_at - - x - - "y" - POST_buy_x_pay_y_promotions_201_response_data_relationships_promotion_rules_data: - properties: - type: - description: The resource's type - enum: - - promotion_rules - id: - description: The resource ID - POST_buy_x_pay_y_promotions_201_response_data_relationships_promotion_rules: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_promotion_rules_data' - POST_buy_x_pay_y_promotions_201_response_data_relationships_order_amount_promotion_rule_data: - properties: - type: - description: The resource's type - enum: - - order_amount_promotion_rule - id: - description: The resource ID - POST_buy_x_pay_y_promotions_201_response_data_relationships_order_amount_promotion_rule: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_order_amount_promotion_rule_data' - POST_buy_x_pay_y_promotions_201_response_data_relationships_sku_list_promotion_rule_data: - properties: - type: - description: The resource's type - enum: - - sku_list_promotion_rule - id: - description: The resource ID - POST_buy_x_pay_y_promotions_201_response_data_relationships_sku_list_promotion_rule: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_sku_list_promotion_rule_data' - POST_buy_x_pay_y_promotions_201_response_data_relationships_coupon_codes_promotion_rule_data: - properties: - type: - description: The resource's type - enum: - - coupon_codes_promotion_rule - id: - description: The resource ID - POST_buy_x_pay_y_promotions_201_response_data_relationships_coupon_codes_promotion_rule: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_coupon_codes_promotion_rule_data' - POST_buy_x_pay_y_promotions_201_response_data_relationships_custom_promotion_rule_data: - properties: - type: - description: The resource's type - enum: - - custom_promotion_rule - id: - description: The resource ID - POST_buy_x_pay_y_promotions_201_response_data_relationships_custom_promotion_rule: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_custom_promotion_rule_data' - POST_buy_x_pay_y_promotions_201_response_data_relationships_coupons_data: - properties: - type: - description: The resource's type - enum: - - coupons - id: - description: The resource ID - POST_buy_x_pay_y_promotions_201_response_data_relationships_coupons: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_coupons_data' - POST_buy_x_pay_y_promotions_201_response_data_relationships: - properties: - market: - $ref: '#/components/schemas/POST_billing_info_validation_rules_201_response_data_relationships_market' - promotion_rules: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_promotion_rules' - order_amount_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_order_amount_promotion_rule' - sku_list_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_sku_list_promotion_rule' - coupon_codes_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_coupon_codes_promotion_rule' - custom_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_custom_promotion_rule' - sku_list: - $ref: '#/components/schemas/POST_bundles_201_response_data_relationships_sku_list' - coupons: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_coupons' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - tags: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_tags' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - skus: - $ref: '#/components/schemas/POST_bundles_201_response_data_relationships_skus' - POST_buy_x_pay_y_promotions_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - buy_x_pay_y_promotions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships' - POST_buy_x_pay_y_promotions_201_response: - properties: - data: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data' - GET_buy_x_pay_y_promotions_buyXPayYPromotionId_200_response_data_attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - nullable: false - type: - description: The promotion's type. - enum: - - percentage_discount_promotions - - free_shipping_promotions - - buy_x_pay_y_promotions - - free_gift_promotions - - fixed_price_promotions - - external_promotions - - fixed_amount_promotions - - flex_promotions - example: percentage_discount_promotions - nullable: false - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - nullable: true - exclusive: - description: "Indicates if the promotion will be applied exclusively, based\ - \ on its priority score." - example: true - nullable: true - priority: - description: The priority assigned to the promotion (lower means higher - priority). - example: 2 - nullable: true - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - nullable: false - expires_at: - description: The expiration date/time of this promotion (must be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: false - total_usage_limit: - description: The total number of times this promotion can be applied. When - 'null' it means promotion can be applied infinite times. - example: 5 - nullable: true - total_usage_count: - description: The number of times this promotion has been applied. - example: 2 - nullable: true - active: - description: Indicates if the promotion is active (enabled and not expired). - example: true - nullable: true - status: - description: "The promotion status. One of 'disabled', 'expired', 'pending',\ - \ 'active', or 'inactive'." - enum: - - disabled - - expired - - pending - - active - - inactive - example: pending - nullable: true - disabled_at: - description: Time at which this resource was disabled. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - x: - description: The quantity which defines the threshold for free items (works - by multiple of x). - example: 3 - nullable: false - "y": - description: "The quantity which defines how many items you get for free,\ - \ with the formula x-y." - example: 2 - nullable: false - cheapest_free: - description: "Indicates if the cheapest items are discounted, allowing all\ - \ of the SKUs in the associated list to be eligible for counting." - example: true - nullable: true - GET_buy_x_pay_y_promotions_buyXPayYPromotionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - buy_x_pay_y_promotions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_buy_x_pay_y_promotions_buyXPayYPromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships' - GET_buy_x_pay_y_promotions_buyXPayYPromotionId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_buy_x_pay_y_promotions_buyXPayYPromotionId_200_response_data' - PATCH_buy_x_pay_y_promotions_buyXPayYPromotionId_200_response_data_attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - nullable: false - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - nullable: true - exclusive: - description: "Indicates if the promotion will be applied exclusively, based\ - \ on its priority score." - example: true - nullable: false - priority: - description: The priority assigned to the promotion (lower means higher - priority). - example: 2 - nullable: true - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - nullable: false - expires_at: - description: The expiration date/time of this promotion (must be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: false - total_usage_limit: - description: The total number of times this promotion can be applied. When - 'null' it means promotion can be applied infinite times. - example: 5 - nullable: true - _disable: - description: Send this attribute if you want to mark this resource as disabled. - example: true - nullable: false - _enable: - description: Send this attribute if you want to mark this resource as enabled. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - x: - description: The quantity which defines the threshold for free items (works - by multiple of x). - example: 3 - nullable: false - "y": - description: "The quantity which defines how many items you get for free,\ - \ with the formula x-y." - example: 2 - nullable: false - cheapest_free: - description: "Indicates if the cheapest items are discounted, allowing all\ - \ of the SKUs in the associated list to be eligible for counting." - example: true - nullable: false - PATCH_buy_x_pay_y_promotions_buyXPayYPromotionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - buy_x_pay_y_promotions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_buy_x_pay_y_promotions_buyXPayYPromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships' - PATCH_buy_x_pay_y_promotions_buyXPayYPromotionId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_buy_x_pay_y_promotions_buyXPayYPromotionId_200_response_data' - GET_captures_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - captures - links: - properties: - self: - description: URL - attributes: - properties: - number: - description: "The transaction number, auto generated." - example: 42/T/001 - nullable: false - type: - description: The transaction's type. - enum: - - authorizations - - voids - - captures - - refunds - example: authorizations - nullable: false - currency_code: - description: "The international 3-letter currency code as defined\ - \ by the ISO 4217 standard, inherited from the associated order." - example: EUR - nullable: false - amount_cents: - description: "The transaction amount, in cents." - example: 1500 - nullable: false - amount_float: - description: "The transaction amount, float." - example: 15.0 - nullable: false - formatted_amount: - description: "The transaction amount, formatted." - example: "€15,00" - nullable: false - succeeded: - description: Indicates if the transaction is successful. - example: false - nullable: false - message: - description: The message returned by the payment gateway. - example: Accepted - nullable: true - error_code: - description: "The error code, if any, returned by the payment\ - \ gateway." - example: "00001" - nullable: true - error_detail: - description: "The error detail, if any, returned by the payment\ - \ gateway." - example: Already settled - nullable: true - token: - description: "The token identifying the transaction, returned\ - \ by the payment gateway." - example: xxxx-yyyy-zzzz - nullable: true - gateway_transaction_id: - description: "The ID identifying the transaction, returned by\ - \ the payment gateway." - example: xxxx-yyyy-zzzz - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - refund_amount_cents: - description: "The amount to be refunded, in cents." - example: 500 - nullable: true - refund_amount_float: - description: "The amount to be refunded, float." - example: 5.0 - nullable: true - formatted_refund_amount: - description: "The amount to be refunded, formatted." - example: "€5,00" - nullable: true - refund_balance_cents: - description: "The balance to be refunded, in cents." - example: 1000 - nullable: true - refund_balance_float: - description: "The balance to be refunded, float." - example: 10.0 - nullable: true - formatted_refund_balance: - description: "The balance to be refunded, formatted." - example: "€10,00" - nullable: true - relationships: - properties: - order: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - order - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - reference_authorization: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - reference_authorization - id: - description: The resource ID - refunds: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - refunds - id: - description: The resource ID - return: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - return - id: - description: The resource ID - GET_captures_captureId_200_response_data_attributes: - properties: - number: - description: "The transaction number, auto generated." - example: 42/T/001 - nullable: false - type: - description: The transaction's type. - enum: - - authorizations - - voids - - captures - - refunds - example: authorizations - nullable: false - currency_code: - description: "The international 3-letter currency code as defined by the\ - \ ISO 4217 standard, inherited from the associated order." - example: EUR - nullable: false - amount_cents: - description: "The transaction amount, in cents." - example: 1500 - nullable: false - amount_float: - description: "The transaction amount, float." - example: 15.0 - nullable: false - formatted_amount: - description: "The transaction amount, formatted." - example: "€15,00" - nullable: false - succeeded: - description: Indicates if the transaction is successful. - example: false - nullable: false - message: - description: The message returned by the payment gateway. - example: Accepted - nullable: true - error_code: - description: "The error code, if any, returned by the payment gateway." - example: "00001" - nullable: true - error_detail: - description: "The error detail, if any, returned by the payment gateway." - example: Already settled - nullable: true - token: - description: "The token identifying the transaction, returned by the payment\ - \ gateway." - example: xxxx-yyyy-zzzz - nullable: true - gateway_transaction_id: - description: "The ID identifying the transaction, returned by the payment\ - \ gateway." - example: xxxx-yyyy-zzzz - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - refund_amount_cents: - description: "The amount to be refunded, in cents." - example: 500 - nullable: true - refund_amount_float: - description: "The amount to be refunded, float." - example: 5.0 - nullable: true - formatted_refund_amount: - description: "The amount to be refunded, formatted." - example: "€5,00" - nullable: true - refund_balance_cents: - description: "The balance to be refunded, in cents." - example: 1000 - nullable: true - refund_balance_float: - description: "The balance to be refunded, float." - example: 10.0 - nullable: true - formatted_refund_balance: - description: "The balance to be refunded, formatted." - example: "€10,00" - nullable: true - GET_captures_captureId_200_response_data_relationships_reference_authorization_data: - properties: - type: - description: The resource's type - enum: - - reference_authorization - id: - description: The resource ID - GET_captures_captureId_200_response_data_relationships_reference_authorization: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/GET_captures_captureId_200_response_data_relationships_reference_authorization_data' - GET_captures_captureId_200_response_data_relationships_refunds_data: - properties: - type: - description: The resource's type - enum: - - refunds - id: - description: The resource ID - GET_captures_captureId_200_response_data_relationships_refunds: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/GET_captures_captureId_200_response_data_relationships_refunds_data' - GET_captures_captureId_200_response_data_relationships_return_data: - properties: - type: - description: The resource's type - enum: - - return - id: - description: The resource ID - GET_captures_captureId_200_response_data_relationships_return: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/GET_captures_captureId_200_response_data_relationships_return_data' - GET_captures_captureId_200_response_data_relationships: - properties: - order: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_order' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - reference_authorization: - $ref: '#/components/schemas/GET_captures_captureId_200_response_data_relationships_reference_authorization' - refunds: - $ref: '#/components/schemas/GET_captures_captureId_200_response_data_relationships_refunds' - return: - $ref: '#/components/schemas/GET_captures_captureId_200_response_data_relationships_return' - GET_captures_captureId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - captures - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_captures_captureId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/GET_captures_captureId_200_response_data_relationships' - GET_captures_captureId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_captures_captureId_200_response_data' - PATCH_captures_captureId_200_response_data_attributes: - properties: - succeeded: - description: Indicates if the transaction is successful. - example: false - nullable: false - _forward: - description: Send this attribute if you want to forward a stuck transaction - to succeeded and update associated order states accordingly. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - _refund: - description: Send this attribute if you want to create a refund for this - capture. - example: true - nullable: false - _refund_amount_cents: - description: Send this attribute as a value in cents if you want to overwrite - the amount to be refunded. - example: 500 - _cancel: - description: Send this attribute if you want to refund a succeeded capture - of a pending order (which is left unpaid). - example: true - nullable: false - PATCH_captures_captureId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - captures - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_captures_captureId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/GET_captures_captureId_200_response_data_relationships' - PATCH_captures_captureId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_captures_captureId_200_response_data' - GET_carrier_accounts_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - carrier_accounts - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The carrier account internal name. - example: Accurate - nullable: false - easypost_type: - description: The Easypost service carrier type. - example: AccurateAccount - nullable: false - easypost_id: - description: The Easypost internal reference ID. - example: xxxx-yyyy-zzzz - nullable: true - credentials: - description: The Easypost carrier accounts credentials fields. - example: - username: xxxx - password: secret - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - market: - $ref: '#/components/schemas/POST_billing_info_validation_rules_201_response_data_relationships_market' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_carrier_accounts_201_response_data_attributes: - properties: - name: - description: The carrier account internal name. - example: Accurate - easypost_type: - description: The Easypost service carrier type. - example: AccurateAccount - credentials: - description: The Easypost carrier accounts credentials fields. - example: - username: xxxx - password: secret - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - credentials - - easypost_type - - name - POST_carrier_accounts_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - carrier_accounts - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_carrier_accounts_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_billing_info_validation_rules_201_response_data_relationships' - POST_carrier_accounts_201_response: - properties: - data: - $ref: '#/components/schemas/POST_carrier_accounts_201_response_data' - GET_carrier_accounts_carrierAccountId_200_response_data_attributes: - properties: - name: - description: The carrier account internal name. - example: Accurate - nullable: false - easypost_type: - description: The Easypost service carrier type. - example: AccurateAccount - nullable: false - easypost_id: - description: The Easypost internal reference ID. - example: xxxx-yyyy-zzzz - nullable: true - credentials: - description: The Easypost carrier accounts credentials fields. - example: - username: xxxx - password: secret - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_carrier_accounts_carrierAccountId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - carrier_accounts - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_carrier_accounts_carrierAccountId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_billing_info_validation_rules_201_response_data_relationships' - GET_carrier_accounts_carrierAccountId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_carrier_accounts_carrierAccountId_200_response_data' - PATCH_carrier_accounts_carrierAccountId_200_response_data_attributes: - properties: - name: - description: The carrier account internal name. - example: Accurate - nullable: false - easypost_type: - description: The Easypost service carrier type. - example: AccurateAccount - nullable: false - credentials: - description: The Easypost carrier accounts credentials fields. - example: - username: xxxx - password: secret - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_carrier_accounts_carrierAccountId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - carrier_accounts - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_carrier_accounts_carrierAccountId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_billing_info_validation_rules_201_response_data_relationships' - PATCH_carrier_accounts_carrierAccountId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_carrier_accounts_carrierAccountId_200_response_data' - GET_checkout_com_gateways_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - checkout_com_gateways - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - webhook_endpoint_id: - description: "The gateway webhook endpoint ID, generated automatically." - example: xxxx-yyyy-zzzz - nullable: true - webhook_endpoint_secret: - description: "The gateway webhook endpoint secret, generated automatically." - example: xxxx-yyyy-zzzz - nullable: true - webhook_endpoint_url: - description: "The gateway webhook URL, generated automatically." - example: https://core.commercelayer.co/webhook_callbacks/checkout_com_gateways/xxxxx - nullable: true - relationships: - properties: - payment_methods: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - payment_methods - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - checkout_com_payments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - checkout_com_payments - id: - description: The resource ID - POST_checkout_com_gateways_201_response_data_attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - secret_key: - description: The gateway secret key. - example: sk_test_xxxx-yyyy-zzzz - public_key: - description: The gateway public key. - example: pk_test_xxxx-yyyy-zzzz - required: - - name - - public_key - - secret_key - POST_checkout_com_gateways_201_response_data_relationships_checkout_com_payments_data: - properties: - type: - description: The resource's type - enum: - - checkout_com_payments - id: - description: The resource ID - POST_checkout_com_gateways_201_response_data_relationships_checkout_com_payments: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_checkout_com_gateways_201_response_data_relationships_checkout_com_payments_data' - POST_checkout_com_gateways_201_response_data_relationships: - properties: - payment_methods: - $ref: '#/components/schemas/POST_adyen_gateways_201_response_data_relationships_payment_methods' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - checkout_com_payments: - $ref: '#/components/schemas/POST_checkout_com_gateways_201_response_data_relationships_checkout_com_payments' - POST_checkout_com_gateways_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - checkout_com_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_checkout_com_gateways_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_checkout_com_gateways_201_response_data_relationships' - POST_checkout_com_gateways_201_response: - properties: - data: - $ref: '#/components/schemas/POST_checkout_com_gateways_201_response_data' - GET_checkout_com_gateways_checkoutComGatewayId_200_response_data_attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - webhook_endpoint_id: - description: "The gateway webhook endpoint ID, generated automatically." - example: xxxx-yyyy-zzzz - nullable: true - webhook_endpoint_secret: - description: "The gateway webhook endpoint secret, generated automatically." - example: xxxx-yyyy-zzzz - nullable: true - webhook_endpoint_url: - description: "The gateway webhook URL, generated automatically." - example: https://core.commercelayer.co/webhook_callbacks/checkout_com_gateways/xxxxx - nullable: true - GET_checkout_com_gateways_checkoutComGatewayId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - checkout_com_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_checkout_com_gateways_checkoutComGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_checkout_com_gateways_201_response_data_relationships' - GET_checkout_com_gateways_checkoutComGatewayId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_checkout_com_gateways_checkoutComGatewayId_200_response_data' - PATCH_checkout_com_gateways_checkoutComGatewayId_200_response_data_attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - secret_key: - description: The gateway secret key. - example: sk_test_xxxx-yyyy-zzzz - public_key: - description: The gateway public key. - example: pk_test_xxxx-yyyy-zzzz - PATCH_checkout_com_gateways_checkoutComGatewayId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - checkout_com_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_checkout_com_gateways_checkoutComGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_checkout_com_gateways_201_response_data_relationships' - PATCH_checkout_com_gateways_checkoutComGatewayId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_checkout_com_gateways_checkoutComGatewayId_200_response_data' - GET_checkout_com_payments_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - checkout_com_payments - links: - properties: - self: - description: URL - attributes: - properties: - public_key: - description: The Checkout.com publishable API key. - example: pk_test_xxxx-yyyy-zzzz - nullable: true - payment_type: - description: The payment source type. - example: token - nullable: false - token: - description: The Checkout.com card or digital wallet token. - example: tok_4gzeau5o2uqubbk6fufs3m7p54 - nullable: false - session_id: - description: A payment session ID used to obtain the details. - example: sid_y3oqhf46pyzuxjbcn2giaqnb44 - nullable: true - success_url: - description: The URL to redirect your customer upon 3DS succeeded - authentication. - example: http://commercelayer.dev/checkout_com/success - nullable: true - failure_url: - description: The URL to redirect your customer upon 3DS failed - authentication. - example: http://commercelayer.dev/checkout_com/failure - nullable: true - source_id: - description: The payment source identifier that can be used for - subsequent payments. - example: src_nwd3m4in3hkuddfpjsaevunhdy - nullable: true - customer_token: - description: The customer's unique identifier. This can be passed - as a source when making a payment. - example: cus_udst2tfldj6upmye2reztkmm4i - nullable: true - redirect_uri: - description: The URI that the customer should be redirected to - in order to complete the payment. - example: https://api.checkout.com/3ds/pay_mbabizu24mvu3mela5njyhpit4 - nullable: true - payment_response: - description: "The Checkout.com payment response, used to fetch\ - \ internal data." - example: - foo: bar - nullable: true - mismatched_amounts: - description: Indicates if the order current amount differs form - the one of the associated authorization. - example: false - nullable: true - payment_instrument: - description: Information about the payment instrument used in - the transaction. - example: - issuer: cl bank - card_type: visa - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - order: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_order' - payment_gateway: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_payment_gateway' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_checkout_com_payments_201_response_data_attributes: - properties: - payment_type: - description: The payment source type. - example: token - token: - description: The Checkout.com card or digital wallet token. - example: tok_4gzeau5o2uqubbk6fufs3m7p54 - session_id: - description: A payment session ID used to obtain the details. - example: sid_y3oqhf46pyzuxjbcn2giaqnb44 - success_url: - description: The URL to redirect your customer upon 3DS succeeded authentication. - example: http://commercelayer.dev/checkout_com/success - failure_url: - description: The URL to redirect your customer upon 3DS failed authentication. - example: http://commercelayer.dev/checkout_com/failure - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - payment_type - - token - POST_checkout_com_payments_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - checkout_com_payments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_checkout_com_payments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships' - POST_checkout_com_payments_201_response: - properties: - data: - $ref: '#/components/schemas/POST_checkout_com_payments_201_response_data' - GET_checkout_com_payments_checkoutComPaymentId_200_response_data_attributes: - properties: - public_key: - description: The Checkout.com publishable API key. - example: pk_test_xxxx-yyyy-zzzz - nullable: true - payment_type: - description: The payment source type. - example: token - nullable: false - token: - description: The Checkout.com card or digital wallet token. - example: tok_4gzeau5o2uqubbk6fufs3m7p54 - nullable: false - session_id: - description: A payment session ID used to obtain the details. - example: sid_y3oqhf46pyzuxjbcn2giaqnb44 - nullable: true - success_url: - description: The URL to redirect your customer upon 3DS succeeded authentication. - example: http://commercelayer.dev/checkout_com/success - nullable: true - failure_url: - description: The URL to redirect your customer upon 3DS failed authentication. - example: http://commercelayer.dev/checkout_com/failure - nullable: true - source_id: - description: The payment source identifier that can be used for subsequent - payments. - example: src_nwd3m4in3hkuddfpjsaevunhdy - nullable: true - customer_token: - description: The customer's unique identifier. This can be passed as a source - when making a payment. - example: cus_udst2tfldj6upmye2reztkmm4i - nullable: true - redirect_uri: - description: The URI that the customer should be redirected to in order - to complete the payment. - example: https://api.checkout.com/3ds/pay_mbabizu24mvu3mela5njyhpit4 - nullable: true - payment_response: - description: "The Checkout.com payment response, used to fetch internal\ - \ data." - example: - foo: bar - nullable: true - mismatched_amounts: - description: Indicates if the order current amount differs form the one - of the associated authorization. - example: false - nullable: true - payment_instrument: - description: Information about the payment instrument used in the transaction. - example: - issuer: cl bank - card_type: visa - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_checkout_com_payments_checkoutComPaymentId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - checkout_com_payments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_checkout_com_payments_checkoutComPaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships' - GET_checkout_com_payments_checkoutComPaymentId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_checkout_com_payments_checkoutComPaymentId_200_response_data' - PATCH_checkout_com_payments_checkoutComPaymentId_200_response_data_attributes: - properties: - payment_type: - description: The payment source type. - example: token - nullable: false - token: - description: The Checkout.com card or digital wallet token. - example: tok_4gzeau5o2uqubbk6fufs3m7p54 - nullable: false - session_id: - description: A payment session ID used to obtain the details. - example: sid_y3oqhf46pyzuxjbcn2giaqnb44 - nullable: true - success_url: - description: The URL to redirect your customer upon 3DS succeeded authentication. - example: http://commercelayer.dev/checkout_com/success - nullable: true - failure_url: - description: The URL to redirect your customer upon 3DS failed authentication. - example: http://commercelayer.dev/checkout_com/failure - nullable: true - _details: - description: Send this attribute if you want to send additional details - the payment request (i.e. upon 3DS check). - example: true - nullable: false - _refresh: - description: "Send this attribute if you want to refresh all the pending\ - \ transactions, can be used as webhooks fallback logic." - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_checkout_com_payments_checkoutComPaymentId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - checkout_com_payments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_checkout_com_payments_checkoutComPaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships' - PATCH_checkout_com_payments_checkoutComPaymentId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_checkout_com_payments_checkoutComPaymentId_200_response_data' - GET_cleanups_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - cleanups - links: - properties: - self: - description: URL - attributes: - properties: - resource_type: - description: The type of resource being cleaned. - example: skus - nullable: false - status: - description: "The cleanup job status. One of 'pending' (default),\ - \ 'in_progress', 'interrupted', or 'completed'." - enum: - - pending - - in_progress - - interrupted - - completed - example: in_progress - nullable: false - started_at: - description: Time at which the cleanup was started. - example: 2018-01-01T12:00:00.000Z - nullable: true - completed_at: - description: Time at which the cleanup was completed. - example: 2018-01-01T12:00:00.000Z - nullable: true - interrupted_at: - description: Time at which the cleanup was interrupted. - example: 2018-01-01T12:00:00.000Z - nullable: true - filters: - description: The filters used to select the records to be cleaned. - example: - code_eq: AAA - nullable: true - records_count: - description: Indicates the number of records to be cleaned. - example: 300 - nullable: true - errors_count: - description: "Indicates the number of cleanup errors, if any." - example: 30 - nullable: true - processed_count: - description: Indicates the number of records that have been cleaned. - example: 270 - nullable: true - errors_log: - description: "Contains the cleanup errors, if any." - example: - ABC: - name: - - has already been taken - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_cleanups_201_response_data_attributes: - properties: - resource_type: - description: The type of resource being cleaned. - example: skus - filters: - description: The filters used to select the records to be cleaned. - example: - code_eq: AAA - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - resource_type - POST_cleanups_201_response_data_relationships: - properties: - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_cleanups_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - cleanups - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_cleanups_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_cleanups_201_response_data_relationships' - POST_cleanups_201_response: - properties: - data: - $ref: '#/components/schemas/POST_cleanups_201_response_data' - GET_cleanups_cleanupId_200_response_data_attributes: - properties: - resource_type: - description: The type of resource being cleaned. - example: skus - nullable: false - status: - description: "The cleanup job status. One of 'pending' (default), 'in_progress',\ - \ 'interrupted', or 'completed'." - enum: - - pending - - in_progress - - interrupted - - completed - example: in_progress - nullable: false - started_at: - description: Time at which the cleanup was started. - example: 2018-01-01T12:00:00.000Z - nullable: true - completed_at: - description: Time at which the cleanup was completed. - example: 2018-01-01T12:00:00.000Z - nullable: true - interrupted_at: - description: Time at which the cleanup was interrupted. - example: 2018-01-01T12:00:00.000Z - nullable: true - filters: - description: The filters used to select the records to be cleaned. - example: - code_eq: AAA - nullable: true - records_count: - description: Indicates the number of records to be cleaned. - example: 300 - nullable: true - errors_count: - description: "Indicates the number of cleanup errors, if any." - example: 30 - nullable: true - processed_count: - description: Indicates the number of records that have been cleaned. - example: 270 - nullable: true - errors_log: - description: "Contains the cleanup errors, if any." - example: - ABC: - name: - - has already been taken - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_cleanups_cleanupId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - cleanups - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_cleanups_cleanupId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_cleanups_201_response_data_relationships' - GET_cleanups_cleanupId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_cleanups_cleanupId_200_response_data' - PATCH_cleanups_cleanupId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - cleanups - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_billing_info_validation_rules_billingInfoValidationRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_cleanups_201_response_data_relationships' - PATCH_cleanups_cleanupId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_cleanups_cleanupId_200_response_data' - GET_coupon_codes_promotion_rules_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - coupon_codes_promotion_rules - links: - properties: - self: - description: URL - attributes: - properties: - type: - description: The promotion rule's type. - enum: - - order_amount_promotion_rules - - sku_list_promotion_rules - - coupon_codes_promotion_rules - - custom_promotion_rules - example: coupon_codes_promotion_rules - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - promotion: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - promotion - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - coupons: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - coupons - id: - description: The resource ID - POST_coupon_codes_promotion_rules_201_response_data_relationships_promotion_data: - properties: - type: - description: The resource's type - enum: - - promotion - id: - description: The resource ID - POST_coupon_codes_promotion_rules_201_response_data_relationships_promotion: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_coupon_codes_promotion_rules_201_response_data_relationships_promotion_data' - POST_coupon_codes_promotion_rules_201_response_data_relationships: - properties: - promotion: - $ref: '#/components/schemas/POST_coupon_codes_promotion_rules_201_response_data_relationships_promotion' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - coupons: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_coupons' - POST_coupon_codes_promotion_rules_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - coupon_codes_promotion_rules - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_coupon_codes_promotion_rules_201_response_data_relationships' - POST_coupon_codes_promotion_rules_201_response: - properties: - data: - $ref: '#/components/schemas/POST_coupon_codes_promotion_rules_201_response_data' - GET_coupon_codes_promotion_rules_couponCodesPromotionRuleId_200_response_data_attributes: - properties: - type: - description: The promotion rule's type. - enum: - - order_amount_promotion_rules - - sku_list_promotion_rules - - coupon_codes_promotion_rules - - custom_promotion_rules - example: coupon_codes_promotion_rules - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_coupon_codes_promotion_rules_couponCodesPromotionRuleId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - coupon_codes_promotion_rules - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_coupon_codes_promotion_rules_couponCodesPromotionRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_coupon_codes_promotion_rules_201_response_data_relationships' - GET_coupon_codes_promotion_rules_couponCodesPromotionRuleId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_coupon_codes_promotion_rules_couponCodesPromotionRuleId_200_response_data' - PATCH_coupon_codes_promotion_rules_couponCodesPromotionRuleId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - coupon_codes_promotion_rules - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_billing_info_validation_rules_billingInfoValidationRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_coupon_codes_promotion_rules_201_response_data_relationships' - PATCH_coupon_codes_promotion_rules_couponCodesPromotionRuleId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_coupon_codes_promotion_rules_couponCodesPromotionRuleId_200_response_data' - GET_coupon_recipients_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - coupon_recipients - links: - properties: - self: - description: URL - attributes: - properties: - email: - description: The recipient email address. - example: john@example.com - nullable: false - first_name: - description: The recipient first name. - example: John - nullable: true - last_name: - description: The recipient last name. - example: Smith - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - customer: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - customer - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_coupon_recipients_201_response_data_attributes: - properties: - email: - description: The recipient email address. - example: john@example.com - first_name: - description: The recipient first name. - example: John - last_name: - description: The recipient last name. - example: Smith - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - email - POST_coupon_recipients_201_response_data_relationships_customer_data: - properties: - type: - description: The resource's type - enum: - - customer - id: - description: The resource ID - POST_coupon_recipients_201_response_data_relationships_customer: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_coupon_recipients_201_response_data_relationships_customer_data' - POST_coupon_recipients_201_response_data_relationships: - properties: - customer: - $ref: '#/components/schemas/POST_coupon_recipients_201_response_data_relationships_customer' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_coupon_recipients_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - coupon_recipients - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_coupon_recipients_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_coupon_recipients_201_response_data_relationships' - POST_coupon_recipients_201_response: - properties: - data: - $ref: '#/components/schemas/POST_coupon_recipients_201_response_data' - GET_coupon_recipients_couponRecipientId_200_response_data_attributes: - properties: - email: - description: The recipient email address. - example: john@example.com - nullable: false - first_name: - description: The recipient first name. - example: John - nullable: true - last_name: - description: The recipient last name. - example: Smith - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_coupon_recipients_couponRecipientId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - coupon_recipients - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_coupon_recipients_couponRecipientId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_coupon_recipients_201_response_data_relationships' - GET_coupon_recipients_couponRecipientId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_coupon_recipients_couponRecipientId_200_response_data' - PATCH_coupon_recipients_couponRecipientId_200_response_data_attributes: - properties: - email: - description: The recipient email address. - example: john@example.com - nullable: false - first_name: - description: The recipient first name. - example: John - nullable: true - last_name: - description: The recipient last name. - example: Smith - nullable: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_coupon_recipients_couponRecipientId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - coupon_recipients - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_coupon_recipients_couponRecipientId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_coupon_recipients_201_response_data_relationships' - PATCH_coupon_recipients_couponRecipientId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_coupon_recipients_couponRecipientId_200_response_data' - GET_coupons_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - coupons - links: - properties: - self: - description: URL - attributes: - properties: - code: - description: "The coupon code, that uniquely identifies the coupon\ - \ within the promotion rule." - example: 04371af2-70b3-48d7-8f4e-316b374224c3 - nullable: false - customer_single_use: - description: Indicates if the coupon can be used just once per - customer. - example: false - nullable: true - usage_limit: - description: The total number of times this coupon can be used. - example: 50 - nullable: true - usage_count: - description: The number of times this coupon has been used. - example: 20 - nullable: true - recipient_email: - description: "The email address of the associated recipient. When\ - \ creating or updating a coupon, this is a shortcut to find\ - \ or create the associated recipient by email." - example: john@example.com - nullable: true - expires_at: - description: Time at which the coupon will expire. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - promotion_rule: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - promotion_rule - id: - description: The resource ID - coupon_recipient: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - coupon_recipient - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - tags: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - tags - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_coupons_201_response_data_attributes: - properties: - code: - description: "The coupon code, that uniquely identifies the coupon within\ - \ the promotion rule." - example: 04371af2-70b3-48d7-8f4e-316b374224c3 - customer_single_use: - description: Indicates if the coupon can be used just once per customer. - example: false - usage_limit: - description: The total number of times this coupon can be used. - example: 50 - recipient_email: - description: "The email address of the associated recipient. When creating\ - \ or updating a coupon, this is a shortcut to find or create the associated\ - \ recipient by email." - example: john@example.com - expires_at: - description: Time at which the coupon will expire. - example: 2018-01-01T12:00:00.000Z - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - code - POST_coupons_201_response_data_relationships_promotion_rule_data: - properties: - type: - description: The resource's type - enum: - - promotion_rule - id: - description: The resource ID - POST_coupons_201_response_data_relationships_promotion_rule: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_coupons_201_response_data_relationships_promotion_rule_data' - POST_coupons_201_response_data_relationships_coupon_recipient_data: - properties: - type: - description: The resource's type - enum: - - coupon_recipient - id: - description: The resource ID - POST_coupons_201_response_data_relationships_coupon_recipient: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_coupons_201_response_data_relationships_coupon_recipient_data' - POST_coupons_201_response_data_relationships: - properties: - promotion_rule: - $ref: '#/components/schemas/POST_coupons_201_response_data_relationships_promotion_rule' - coupon_recipient: - $ref: '#/components/schemas/POST_coupons_201_response_data_relationships_coupon_recipient' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - tags: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_tags' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_coupons_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - coupons - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_coupons_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_coupons_201_response_data_relationships' - POST_coupons_201_response: - properties: - data: - $ref: '#/components/schemas/POST_coupons_201_response_data' - GET_coupons_couponId_200_response_data_attributes: - properties: - code: - description: "The coupon code, that uniquely identifies the coupon within\ - \ the promotion rule." - example: 04371af2-70b3-48d7-8f4e-316b374224c3 - nullable: false - customer_single_use: - description: Indicates if the coupon can be used just once per customer. - example: false - nullable: true - usage_limit: - description: The total number of times this coupon can be used. - example: 50 - nullable: true - usage_count: - description: The number of times this coupon has been used. - example: 20 - nullable: true - recipient_email: - description: "The email address of the associated recipient. When creating\ - \ or updating a coupon, this is a shortcut to find or create the associated\ - \ recipient by email." - example: john@example.com - nullable: true - expires_at: - description: Time at which the coupon will expire. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_coupons_couponId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - coupons - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_coupons_couponId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_coupons_201_response_data_relationships' - GET_coupons_couponId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_coupons_couponId_200_response_data' - PATCH_coupons_couponId_200_response_data_attributes: - properties: - code: - description: "The coupon code, that uniquely identifies the coupon within\ - \ the promotion rule." - example: 04371af2-70b3-48d7-8f4e-316b374224c3 - nullable: false - customer_single_use: - description: Indicates if the coupon can be used just once per customer. - example: false - nullable: false - usage_limit: - description: The total number of times this coupon can be used. - example: 50 - nullable: true - recipient_email: - description: "The email address of the associated recipient. When creating\ - \ or updating a coupon, this is a shortcut to find or create the associated\ - \ recipient by email." - example: john@example.com - nullable: true - expires_at: - description: Time at which the coupon will expire. - example: 2018-01-01T12:00:00.000Z - nullable: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_coupons_couponId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - coupons - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_coupons_couponId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_coupons_201_response_data_relationships' - PATCH_coupons_couponId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_coupons_couponId_200_response_data' - GET_custom_promotion_rules_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - custom_promotion_rules - links: - properties: - self: - description: URL - attributes: - properties: - type: - description: The promotion rule's type. - enum: - - order_amount_promotion_rules - - sku_list_promotion_rules - - coupon_codes_promotion_rules - - custom_promotion_rules - example: coupon_codes_promotion_rules - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - filters: - description: The filters used to trigger promotion on the matching - order and its relationships attributes. - example: - status_eq: pending - line_items_sku_code_eq: AAA - nullable: true - relationships: - properties: - promotion: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - promotion - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_custom_promotion_rules_201_response_data_attributes: - properties: - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - filters: - description: The filters used to trigger promotion on the matching order - and its relationships attributes. - example: - status_eq: pending - line_items_sku_code_eq: AAA - POST_custom_promotion_rules_201_response_data_relationships: - properties: - promotion: - $ref: '#/components/schemas/POST_coupon_codes_promotion_rules_201_response_data_relationships_promotion' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_custom_promotion_rules_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - custom_promotion_rules - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_custom_promotion_rules_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_custom_promotion_rules_201_response_data_relationships' - POST_custom_promotion_rules_201_response: - properties: - data: - $ref: '#/components/schemas/POST_custom_promotion_rules_201_response_data' - GET_custom_promotion_rules_customPromotionRuleId_200_response_data_attributes: - properties: - type: - description: The promotion rule's type. - enum: - - order_amount_promotion_rules - - sku_list_promotion_rules - - coupon_codes_promotion_rules - - custom_promotion_rules - example: coupon_codes_promotion_rules - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - filters: - description: The filters used to trigger promotion on the matching order - and its relationships attributes. - example: - status_eq: pending - line_items_sku_code_eq: AAA - nullable: true - GET_custom_promotion_rules_customPromotionRuleId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - custom_promotion_rules - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_custom_promotion_rules_customPromotionRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_custom_promotion_rules_201_response_data_relationships' - GET_custom_promotion_rules_customPromotionRuleId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_custom_promotion_rules_customPromotionRuleId_200_response_data' - PATCH_custom_promotion_rules_customPromotionRuleId_200_response_data_attributes: - properties: - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - filters: - description: The filters used to trigger promotion on the matching order - and its relationships attributes. - example: - status_eq: pending - line_items_sku_code_eq: AAA - nullable: true - PATCH_custom_promotion_rules_customPromotionRuleId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - custom_promotion_rules - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_custom_promotion_rules_customPromotionRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_custom_promotion_rules_201_response_data_relationships' - PATCH_custom_promotion_rules_customPromotionRuleId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_custom_promotion_rules_customPromotionRuleId_200_response_data' - GET_customer_addresses_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - customer_addresses - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: Returns the associated address' name. - example: "John Smith, 2883 Geraldine Lane Apt.23, 10013 New York\ - \ NY (US) (212) 646-338-1228" - nullable: true - customer_email: - description: The email of the customer associated to the address. - example: john@example.com - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - customer: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - customer - id: - description: The resource ID - address: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - address - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_customer_addresses_201_response_data_attributes: - properties: - customer_email: - description: The email of the customer associated to the address. - example: john@example.com - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - customer_email - POST_customer_addresses_201_response_data_relationships_address_data: - properties: - type: - description: The resource's type - enum: - - address - id: - description: The resource ID - POST_customer_addresses_201_response_data_relationships_address: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_customer_addresses_201_response_data_relationships_address_data' - POST_customer_addresses_201_response_data_relationships: - properties: - customer: - $ref: '#/components/schemas/POST_coupon_recipients_201_response_data_relationships_customer' - address: - $ref: '#/components/schemas/POST_customer_addresses_201_response_data_relationships_address' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_customer_addresses_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - customer_addresses - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_customer_addresses_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_customer_addresses_201_response_data_relationships' - POST_customer_addresses_201_response: - properties: - data: - $ref: '#/components/schemas/POST_customer_addresses_201_response_data' - GET_customer_addresses_customerAddressId_200_response_data_attributes: - properties: - name: - description: Returns the associated address' name. - example: "John Smith, 2883 Geraldine Lane Apt.23, 10013 New York NY (US)\ - \ (212) 646-338-1228" - nullable: true - customer_email: - description: The email of the customer associated to the address. - example: john@example.com - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_customer_addresses_customerAddressId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - customer_addresses - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_customer_addresses_customerAddressId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_customer_addresses_201_response_data_relationships' - GET_customer_addresses_customerAddressId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_customer_addresses_customerAddressId_200_response_data' - PATCH_customer_addresses_customerAddressId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - customer_addresses - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_billing_info_validation_rules_billingInfoValidationRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_customer_addresses_201_response_data_relationships' - PATCH_customer_addresses_customerAddressId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_customer_addresses_customerAddressId_200_response_data' - GET_customer_groups_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - customer_groups - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The customer group's internal name. - example: VIP - nullable: false - code: - description: A string that you can use to identify the customer - group (must be unique within the environment). - example: vip1 - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - customers: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - customers - id: - description: The resource ID - markets: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - markets - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_customer_groups_201_response_data_attributes: - properties: - name: - description: The customer group's internal name. - example: VIP - code: - description: A string that you can use to identify the customer group (must - be unique within the environment). - example: vip1 - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - name - POST_customer_groups_201_response_data_relationships_customers_data: - properties: - type: - description: The resource's type - enum: - - customers - id: - description: The resource ID - POST_customer_groups_201_response_data_relationships_customers: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_customer_groups_201_response_data_relationships_customers_data' - POST_customer_groups_201_response_data_relationships: - properties: - customers: - $ref: '#/components/schemas/POST_customer_groups_201_response_data_relationships_customers' - markets: - $ref: '#/components/schemas/POST_avalara_accounts_201_response_data_relationships_markets' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_customer_groups_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - customer_groups - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_customer_groups_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_customer_groups_201_response_data_relationships' - POST_customer_groups_201_response: - properties: - data: - $ref: '#/components/schemas/POST_customer_groups_201_response_data' - GET_customer_groups_customerGroupId_200_response_data_attributes: - properties: - name: - description: The customer group's internal name. - example: VIP - nullable: false - code: - description: A string that you can use to identify the customer group (must - be unique within the environment). - example: vip1 - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_customer_groups_customerGroupId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - customer_groups - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_customer_groups_customerGroupId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_customer_groups_201_response_data_relationships' - GET_customer_groups_customerGroupId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_customer_groups_customerGroupId_200_response_data' - PATCH_customer_groups_customerGroupId_200_response_data_attributes: - properties: - name: - description: The customer group's internal name. - example: VIP - nullable: false - code: - description: A string that you can use to identify the customer group (must - be unique within the environment). - example: vip1 - nullable: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_customer_groups_customerGroupId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - customer_groups - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_customer_groups_customerGroupId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_customer_groups_201_response_data_relationships' - PATCH_customer_groups_customerGroupId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_customer_groups_customerGroupId_200_response_data' - GET_customer_password_resets_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - customer_password_resets - links: - properties: - self: - description: URL - attributes: - properties: - customer_email: - description: The email of the customer that requires a password - reset. - example: john@example.com - nullable: false - reset_password_token: - description: Automatically generated on create. Send its value - as the '_reset_password_token' argument when updating the customer - password. - example: xhFfkmfybsLxzaAP6xcs - nullable: true - reset_password_at: - description: Time at which the password was reset. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - customer: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - customer - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - POST_customer_password_resets_201_response_data_attributes: - properties: - customer_email: - description: The email of the customer that requires a password reset. - example: john@example.com - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - customer_email - POST_customer_password_resets_201_response_data_relationships: - properties: - customer: - $ref: '#/components/schemas/POST_coupon_recipients_201_response_data_relationships_customer' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - POST_customer_password_resets_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - customer_password_resets - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_customer_password_resets_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_customer_password_resets_201_response_data_relationships' - POST_customer_password_resets_201_response: - properties: - data: - $ref: '#/components/schemas/POST_customer_password_resets_201_response_data' - GET_customer_password_resets_customerPasswordResetId_200_response_data_attributes: - properties: - customer_email: - description: The email of the customer that requires a password reset. - example: john@example.com - nullable: false - reset_password_token: - description: Automatically generated on create. Send its value as the '_reset_password_token' - argument when updating the customer password. - example: xhFfkmfybsLxzaAP6xcs - nullable: true - reset_password_at: - description: Time at which the password was reset. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_customer_password_resets_customerPasswordResetId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - customer_password_resets - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_customer_password_resets_customerPasswordResetId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_customer_password_resets_201_response_data_relationships' - GET_customer_password_resets_customerPasswordResetId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_customer_password_resets_customerPasswordResetId_200_response_data' - PATCH_customer_password_resets_customerPasswordResetId_200_response_data_attributes: - properties: - customer_password: - description: The customer new password. This will be accepted only if a - valid '_reset_password_token' is sent with the request. - example: secret - _reset_password_token: - description: Send the 'reset_password_token' that you got on create when - updating the customer password. - example: xhFfkmfybsLxzaAP6xcs - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_customer_password_resets_customerPasswordResetId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - customer_password_resets - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_customer_password_resets_customerPasswordResetId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_customer_password_resets_201_response_data_relationships' - PATCH_customer_password_resets_customerPasswordResetId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_customer_password_resets_customerPasswordResetId_200_response_data' - GET_customer_payment_sources_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - customer_payment_sources - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: Returns the associated payment source's name. - example: XXXX-XXXX-XXXX-1111 - nullable: true - customer_token: - description: Returns the customer gateway token stored in the - gateway. - example: cus_xxxyyyzzz - nullable: true - payment_source_token: - description: Returns the payment source token stored in the gateway. - example: pm_xxxyyyzzz - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - customer: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - customer - id: - description: The resource ID - payment_method: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - payment_method - id: - description: The resource ID - payment_source: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - payment_source - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_customer_payment_sources_201_response_data_attributes: - properties: - customer_token: - description: Returns the customer gateway token stored in the gateway. - example: cus_xxxyyyzzz - payment_source_token: - description: Returns the payment source token stored in the gateway. - example: pm_xxxyyyzzz - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - POST_customer_payment_sources_201_response_data_relationships_payment_method_data: - properties: - type: - description: The resource's type - enum: - - payment_method - id: - description: The resource ID - POST_customer_payment_sources_201_response_data_relationships_payment_method: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_customer_payment_sources_201_response_data_relationships_payment_method_data' - POST_customer_payment_sources_201_response_data_relationships_payment_source_data: - properties: - type: - description: The resource's type - enum: - - payment_source - id: - description: The resource ID - POST_customer_payment_sources_201_response_data_relationships_payment_source: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_customer_payment_sources_201_response_data_relationships_payment_source_data' - POST_customer_payment_sources_201_response_data_relationships: - properties: - customer: - $ref: '#/components/schemas/POST_coupon_recipients_201_response_data_relationships_customer' - payment_method: - $ref: '#/components/schemas/POST_customer_payment_sources_201_response_data_relationships_payment_method' - payment_source: - $ref: '#/components/schemas/POST_customer_payment_sources_201_response_data_relationships_payment_source' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_customer_payment_sources_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - customer_payment_sources - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_customer_payment_sources_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_customer_payment_sources_201_response_data_relationships' - POST_customer_payment_sources_201_response: - properties: - data: - $ref: '#/components/schemas/POST_customer_payment_sources_201_response_data' - GET_customer_payment_sources_customerPaymentSourceId_200_response_data_attributes: - properties: - name: - description: Returns the associated payment source's name. - example: XXXX-XXXX-XXXX-1111 - nullable: true - customer_token: - description: Returns the customer gateway token stored in the gateway. - example: cus_xxxyyyzzz - nullable: true - payment_source_token: - description: Returns the payment source token stored in the gateway. - example: pm_xxxyyyzzz - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_customer_payment_sources_customerPaymentSourceId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - customer_payment_sources - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_customer_payment_sources_customerPaymentSourceId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_customer_payment_sources_201_response_data_relationships' - GET_customer_payment_sources_customerPaymentSourceId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_customer_payment_sources_customerPaymentSourceId_200_response_data' - PATCH_customer_payment_sources_customerPaymentSourceId_200_response_data_attributes: - properties: - customer_token: - description: Returns the customer gateway token stored in the gateway. - example: cus_xxxyyyzzz - nullable: true - payment_source_token: - description: Returns the payment source token stored in the gateway. - example: pm_xxxyyyzzz - nullable: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_customer_payment_sources_customerPaymentSourceId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - customer_payment_sources - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_customer_payment_sources_customerPaymentSourceId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_customer_payment_sources_201_response_data_relationships' - PATCH_customer_payment_sources_customerPaymentSourceId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_customer_payment_sources_customerPaymentSourceId_200_response_data' - GET_customer_subscriptions_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - customer_subscriptions - links: - properties: - self: - description: URL - attributes: - properties: - customer_email: - description: The email of the customer that owns the subscription. - example: john@example.com - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - customer: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - customer - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_customer_subscriptions_201_response_data_attributes: - properties: - customer_email: - description: The email of the customer that owns the subscription. - example: john@example.com - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - customer_email - - reference - POST_customer_subscriptions_201_response_data_relationships: - properties: - customer: - $ref: '#/components/schemas/POST_coupon_recipients_201_response_data_relationships_customer' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_customer_subscriptions_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - customer_subscriptions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_customer_subscriptions_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_customer_subscriptions_201_response_data_relationships' - POST_customer_subscriptions_201_response: - properties: - data: - $ref: '#/components/schemas/POST_customer_subscriptions_201_response_data' - GET_customer_subscriptions_customerSubscriptionId_200_response_data_attributes: - properties: - customer_email: - description: The email of the customer that owns the subscription. - example: john@example.com - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_customer_subscriptions_customerSubscriptionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - customer_subscriptions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_customer_subscriptions_customerSubscriptionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_customer_subscriptions_201_response_data_relationships' - GET_customer_subscriptions_customerSubscriptionId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_customer_subscriptions_customerSubscriptionId_200_response_data' - PATCH_customer_subscriptions_customerSubscriptionId_200_response_data_attributes: - properties: - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: false - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_customer_subscriptions_customerSubscriptionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - customer_subscriptions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_customer_subscriptions_customerSubscriptionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_customer_subscriptions_201_response_data_relationships' - PATCH_customer_subscriptions_customerSubscriptionId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_customer_subscriptions_customerSubscriptionId_200_response_data' - GET_customers_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - customers - links: - properties: - self: - description: URL - attributes: - properties: - email: - description: The customer's email address. - example: john@example.com - nullable: false - status: - description: "The customer's status. One of 'prospect' (default),\ - \ 'acquired', or 'repeat'." - enum: - - prospect - - acquired - - repeat - example: prospect - nullable: false - has_password: - description: Indicates if the customer has a password. - example: false - nullable: true - total_orders_count: - description: The total number of orders for the customer. - example: 6 - nullable: true - shopper_reference: - description: A reference to uniquely identify the shopper during - payment sessions. - example: xxx-yyy-zzz - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - customer_group: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - customer_group - id: - description: The resource ID - customer_addresses: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - customer_addresses - id: - description: The resource ID - customer_payment_sources: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - customer_payment_sources - id: - description: The resource ID - customer_subscriptions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - customer_subscriptions - id: - description: The resource ID - orders: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - orders - id: - description: The resource ID - order_subscriptions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - order_subscriptions - id: - description: The resource ID - returns: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - returns - id: - description: The resource ID - sku_lists: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - sku_lists - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - tags: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - tags - id: - description: The resource ID - POST_customers_201_response_data_attributes: - properties: - email: - description: The customer's email address. - example: john@example.com - password: - description: The customer's password. Initiate a customer password reset - flow if you need to change it. - example: secret - shopper_reference: - description: A reference to uniquely identify the shopper during payment - sessions. - example: xxx-yyy-zzz - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - email - POST_customers_201_response_data_relationships_customer_group_data: - properties: - type: - description: The resource's type - enum: - - customer_group - id: - description: The resource ID - POST_customers_201_response_data_relationships_customer_group: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_customers_201_response_data_relationships_customer_group_data' - POST_customers_201_response_data_relationships_customer_addresses_data: - properties: - type: - description: The resource's type - enum: - - customer_addresses - id: - description: The resource ID - POST_customers_201_response_data_relationships_customer_addresses: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_customers_201_response_data_relationships_customer_addresses_data' - POST_customers_201_response_data_relationships_customer_payment_sources_data: - properties: - type: - description: The resource's type - enum: - - customer_payment_sources - id: - description: The resource ID - POST_customers_201_response_data_relationships_customer_payment_sources: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_customers_201_response_data_relationships_customer_payment_sources_data' - POST_customers_201_response_data_relationships_customer_subscriptions_data: - properties: - type: - description: The resource's type - enum: - - customer_subscriptions - id: - description: The resource ID - POST_customers_201_response_data_relationships_customer_subscriptions: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_customers_201_response_data_relationships_customer_subscriptions_data' - POST_customers_201_response_data_relationships_orders_data: - properties: - type: - description: The resource's type - enum: - - orders - id: - description: The resource ID - POST_customers_201_response_data_relationships_orders: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_customers_201_response_data_relationships_orders_data' - POST_customers_201_response_data_relationships_order_subscriptions_data: - properties: - type: - description: The resource's type - enum: - - order_subscriptions - id: - description: The resource ID - POST_customers_201_response_data_relationships_order_subscriptions: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_customers_201_response_data_relationships_order_subscriptions_data' - POST_customers_201_response_data_relationships_returns_data: - properties: - type: - description: The resource's type - enum: - - returns - id: - description: The resource ID - POST_customers_201_response_data_relationships_returns: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_customers_201_response_data_relationships_returns_data' - POST_customers_201_response_data_relationships_sku_lists_data: - properties: - type: - description: The resource's type - enum: - - sku_lists - id: - description: The resource ID - POST_customers_201_response_data_relationships_sku_lists: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_customers_201_response_data_relationships_sku_lists_data' - POST_customers_201_response_data_relationships: - properties: - customer_group: - $ref: '#/components/schemas/POST_customers_201_response_data_relationships_customer_group' - customer_addresses: - $ref: '#/components/schemas/POST_customers_201_response_data_relationships_customer_addresses' - customer_payment_sources: - $ref: '#/components/schemas/POST_customers_201_response_data_relationships_customer_payment_sources' - customer_subscriptions: - $ref: '#/components/schemas/POST_customers_201_response_data_relationships_customer_subscriptions' - orders: - $ref: '#/components/schemas/POST_customers_201_response_data_relationships_orders' - order_subscriptions: - $ref: '#/components/schemas/POST_customers_201_response_data_relationships_order_subscriptions' - returns: - $ref: '#/components/schemas/POST_customers_201_response_data_relationships_returns' - sku_lists: - $ref: '#/components/schemas/POST_customers_201_response_data_relationships_sku_lists' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - tags: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_tags' - POST_customers_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - customers - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_customers_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_customers_201_response_data_relationships' - POST_customers_201_response: - properties: - data: - $ref: '#/components/schemas/POST_customers_201_response_data' - GET_customers_customerId_200_response_data_attributes: - properties: - email: - description: The customer's email address. - example: john@example.com - nullable: false - status: - description: "The customer's status. One of 'prospect' (default), 'acquired',\ - \ or 'repeat'." - enum: - - prospect - - acquired - - repeat - example: prospect - nullable: false - has_password: - description: Indicates if the customer has a password. - example: false - nullable: true - total_orders_count: - description: The total number of orders for the customer. - example: 6 - nullable: true - shopper_reference: - description: A reference to uniquely identify the shopper during payment - sessions. - example: xxx-yyy-zzz - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_customers_customerId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - customers - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_customers_customerId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_customers_201_response_data_relationships' - GET_customers_customerId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_customers_customerId_200_response_data' - PATCH_customers_customerId_200_response_data_attributes: - properties: - email: - description: The customer's email address. - example: john@example.com - nullable: false - password: - description: The customer's password. Initiate a customer password reset - flow if you need to change it. - example: secret - shopper_reference: - description: A reference to uniquely identify the shopper during payment - sessions. - example: xxx-yyy-zzz - nullable: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_customers_customerId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - customers - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_customers_customerId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_customers_201_response_data_relationships' - PATCH_customers_customerId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_customers_customerId_200_response_data' - GET_delivery_lead_times_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - delivery_lead_times - links: - properties: - self: - description: URL - attributes: - properties: - min_hours: - description: The delivery lead minimum time (in hours) when shipping - from the associated stock location with the associated shipping - method. - example: 48 - nullable: false - max_hours: - description: The delivery lead maximun time (in hours) when shipping - from the associated stock location with the associated shipping - method. - example: 72 - nullable: false - min_days: - description: "The delivery lead minimum time, in days (rounded)." - example: 2 - nullable: true - max_days: - description: "The delivery lead maximun time, in days (rounded)." - example: 3 - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - stock_location: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - stock_location - id: - description: The resource ID - shipping_method: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - shipping_method - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_delivery_lead_times_201_response_data_attributes: - properties: - min_hours: - description: The delivery lead minimum time (in hours) when shipping from - the associated stock location with the associated shipping method. - example: 48 - max_hours: - description: The delivery lead maximun time (in hours) when shipping from - the associated stock location with the associated shipping method. - example: 72 - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - max_hours - - min_hours - POST_delivery_lead_times_201_response_data_relationships_stock_location_data: - properties: - type: - description: The resource's type - enum: - - stock_location - id: - description: The resource ID - POST_delivery_lead_times_201_response_data_relationships_stock_location: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_delivery_lead_times_201_response_data_relationships_stock_location_data' - POST_delivery_lead_times_201_response_data_relationships_shipping_method_data: - properties: - type: - description: The resource's type - enum: - - shipping_method - id: - description: The resource ID - POST_delivery_lead_times_201_response_data_relationships_shipping_method: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_delivery_lead_times_201_response_data_relationships_shipping_method_data' - POST_delivery_lead_times_201_response_data_relationships: - properties: - stock_location: - $ref: '#/components/schemas/POST_delivery_lead_times_201_response_data_relationships_stock_location' - shipping_method: - $ref: '#/components/schemas/POST_delivery_lead_times_201_response_data_relationships_shipping_method' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_delivery_lead_times_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - delivery_lead_times - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_delivery_lead_times_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_delivery_lead_times_201_response_data_relationships' - POST_delivery_lead_times_201_response: - properties: - data: - $ref: '#/components/schemas/POST_delivery_lead_times_201_response_data' - GET_delivery_lead_times_deliveryLeadTimeId_200_response_data_attributes: - properties: - min_hours: - description: The delivery lead minimum time (in hours) when shipping from - the associated stock location with the associated shipping method. - example: 48 - nullable: false - max_hours: - description: The delivery lead maximun time (in hours) when shipping from - the associated stock location with the associated shipping method. - example: 72 - nullable: false - min_days: - description: "The delivery lead minimum time, in days (rounded)." - example: 2 - nullable: true - max_days: - description: "The delivery lead maximun time, in days (rounded)." - example: 3 - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_delivery_lead_times_deliveryLeadTimeId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - delivery_lead_times - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_delivery_lead_times_deliveryLeadTimeId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_delivery_lead_times_201_response_data_relationships' - GET_delivery_lead_times_deliveryLeadTimeId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_delivery_lead_times_deliveryLeadTimeId_200_response_data' - PATCH_delivery_lead_times_deliveryLeadTimeId_200_response_data_attributes: - properties: - min_hours: - description: The delivery lead minimum time (in hours) when shipping from - the associated stock location with the associated shipping method. - example: 48 - nullable: false - max_hours: - description: The delivery lead maximun time (in hours) when shipping from - the associated stock location with the associated shipping method. - example: 72 - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_delivery_lead_times_deliveryLeadTimeId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - delivery_lead_times - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_delivery_lead_times_deliveryLeadTimeId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_delivery_lead_times_201_response_data_relationships' - PATCH_delivery_lead_times_deliveryLeadTimeId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_delivery_lead_times_deliveryLeadTimeId_200_response_data' - GET_event_callbacks_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - event_callbacks - links: - properties: - self: - description: URL - attributes: - properties: - callback_url: - description: "The URI of the callback, inherited by the associated\ - \ webhook." - example: https://yourapp.com/webhooks - nullable: false - payload: - description: "The payload sent to the callback endpoint, including\ - \ the event affected resource and the specified includes." - example: - data: - attributes: - id: PYWehaoXJj - type: orders - nullable: true - response_code: - description: The HTTP response code of the callback endpoint. - example: "200" - nullable: true - response_message: - description: The HTTP response message of the callback endpoint. - example: OK - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - webhook: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - webhook - id: - description: The resource ID - GET_event_callbacks_eventCallbackId_200_response_data_attributes: - properties: - callback_url: - description: "The URI of the callback, inherited by the associated webhook." - example: https://yourapp.com/webhooks - nullable: false - payload: - description: "The payload sent to the callback endpoint, including the event\ - \ affected resource and the specified includes." - example: - data: - attributes: - id: PYWehaoXJj - type: orders - nullable: true - response_code: - description: The HTTP response code of the callback endpoint. - example: "200" - nullable: true - response_message: - description: The HTTP response message of the callback endpoint. - example: OK - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_event_callbacks_eventCallbackId_200_response_data_relationships_webhook_data: - properties: - type: - description: The resource's type - enum: - - webhook - id: - description: The resource ID - GET_event_callbacks_eventCallbackId_200_response_data_relationships_webhook: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/GET_event_callbacks_eventCallbackId_200_response_data_relationships_webhook_data' - GET_event_callbacks_eventCallbackId_200_response_data_relationships: - properties: - webhook: - $ref: '#/components/schemas/GET_event_callbacks_eventCallbackId_200_response_data_relationships_webhook' - GET_event_callbacks_eventCallbackId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - event_callbacks - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_event_callbacks_eventCallbackId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/GET_event_callbacks_eventCallbackId_200_response_data_relationships' - GET_event_callbacks_eventCallbackId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_event_callbacks_eventCallbackId_200_response_data' - GET_events_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - events - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The event's internal name. - example: orders.create - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - webhooks: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - webhooks - id: - description: The resource ID - last_event_callbacks: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - last_event_callbacks - id: - description: The resource ID - GET_events_eventId_200_response_data_attributes: - properties: - name: - description: The event's internal name. - example: orders.create - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_events_eventId_200_response_data_relationships_webhooks_data: - properties: - type: - description: The resource's type - enum: - - webhooks - id: - description: The resource ID - GET_events_eventId_200_response_data_relationships_webhooks: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/GET_events_eventId_200_response_data_relationships_webhooks_data' - GET_events_eventId_200_response_data_relationships_last_event_callbacks_data: - properties: - type: - description: The resource's type - enum: - - last_event_callbacks - id: - description: The resource ID - GET_events_eventId_200_response_data_relationships_last_event_callbacks: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/GET_events_eventId_200_response_data_relationships_last_event_callbacks_data' - GET_events_eventId_200_response_data_relationships: - properties: - webhooks: - $ref: '#/components/schemas/GET_events_eventId_200_response_data_relationships_webhooks' - last_event_callbacks: - $ref: '#/components/schemas/GET_events_eventId_200_response_data_relationships_last_event_callbacks' - GET_events_eventId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - events - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_events_eventId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/GET_events_eventId_200_response_data_relationships' - GET_events_eventId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_events_eventId_200_response_data' - PATCH_events_eventId_200_response_data_attributes: - properties: - _trigger: - description: Send this attribute if you want to force webhooks execution - for this event. Cannot be passed by sales channels. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_events_eventId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - events - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_events_eventId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/GET_events_eventId_200_response_data_relationships' - PATCH_events_eventId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_events_eventId_200_response_data' - GET_exports_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - exports - links: - properties: - self: - description: URL - attributes: - properties: - resource_type: - description: The type of resource being exported. - example: skus - nullable: false - format: - description: The format of the export one of 'json' (default) - or 'csv'. - example: json - nullable: true - status: - description: "The export job status. One of 'pending' (default),\ - \ 'in_progress', 'interrupted', or 'completed'." - enum: - - pending - - in_progress - - interrupted - - completed - example: in_progress - nullable: false - includes: - description: List of related resources that should be included - in the export. - example: - - prices.price_tiers - items: {} - nullable: true - filters: - description: The filters used to select the records to be exported. - example: - code_eq: AAA - nullable: true - dry_data: - description: "Send this attribute if you want to skip exporting\ - \ redundant attributes (IDs, timestamps, blanks, etc.), useful\ - \ when combining export and import to duplicate your dataset." - example: false - nullable: true - started_at: - description: Time at which the export was started. - example: 2018-01-01T12:00:00.000Z - nullable: true - completed_at: - description: Time at which the export was completed. - example: 2018-01-01T12:00:00.000Z - nullable: true - interrupted_at: - description: Time at which the export was interrupted. - example: 2018-01-01T12:00:00.000Z - nullable: true - records_count: - description: Indicates the number of records to be exported. - example: 300 - nullable: true - attachment_url: - description: "The URL to the output file, which will be generated\ - \ upon export completion." - example: http://cl_exports.s3.amazonaws.com/ - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - POST_exports_201_response_data_attributes: - properties: - resource_type: - description: The type of resource being exported. - example: skus - format: - description: The format of the export one of 'json' (default) or 'csv'. - example: json - includes: - description: List of related resources that should be included in the export. - example: - - prices.price_tiers - items: {} - filters: - description: The filters used to select the records to be exported. - example: - code_eq: AAA - dry_data: - description: "Send this attribute if you want to skip exporting redundant\ - \ attributes (IDs, timestamps, blanks, etc.), useful when combining export\ - \ and import to duplicate your dataset." - example: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - resource_type - POST_exports_201_response_data_relationships: - properties: - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - POST_exports_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - exports - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_exports_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_exports_201_response_data_relationships' - POST_exports_201_response: - properties: - data: - $ref: '#/components/schemas/POST_exports_201_response_data' - GET_exports_exportId_200_response_data_attributes: - properties: - resource_type: - description: The type of resource being exported. - example: skus - nullable: false - format: - description: The format of the export one of 'json' (default) or 'csv'. - example: json - nullable: true - status: - description: "The export job status. One of 'pending' (default), 'in_progress',\ - \ 'interrupted', or 'completed'." - enum: - - pending - - in_progress - - interrupted - - completed - example: in_progress - nullable: false - includes: - description: List of related resources that should be included in the export. - example: - - prices.price_tiers - items: {} - nullable: true - filters: - description: The filters used to select the records to be exported. - example: - code_eq: AAA - nullable: true - dry_data: - description: "Send this attribute if you want to skip exporting redundant\ - \ attributes (IDs, timestamps, blanks, etc.), useful when combining export\ - \ and import to duplicate your dataset." - example: false - nullable: true - started_at: - description: Time at which the export was started. - example: 2018-01-01T12:00:00.000Z - nullable: true - completed_at: - description: Time at which the export was completed. - example: 2018-01-01T12:00:00.000Z - nullable: true - interrupted_at: - description: Time at which the export was interrupted. - example: 2018-01-01T12:00:00.000Z - nullable: true - records_count: - description: Indicates the number of records to be exported. - example: 300 - nullable: true - attachment_url: - description: "The URL to the output file, which will be generated upon export\ - \ completion." - example: http://cl_exports.s3.amazonaws.com/ - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_exports_exportId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - exports - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_exports_exportId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_exports_201_response_data_relationships' - GET_exports_exportId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_exports_exportId_200_response_data' - PATCH_exports_exportId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - exports - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_billing_info_validation_rules_billingInfoValidationRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_exports_201_response_data_relationships' - PATCH_exports_exportId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_exports_exportId_200_response_data' - GET_external_gateways_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - external_gateways - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - authorize_url: - description: The endpoint used by the external gateway to authorize - payments. - example: https://external_gateway.com/authorize - nullable: true - capture_url: - description: The endpoint used by the external gateway to capture - payments. - example: https://external_gateway.com/capture - nullable: true - void_url: - description: The endpoint used by the external gateway to void - payments. - example: https://external_gateway.com/void - nullable: true - refund_url: - description: The endpoint used by the external gateway to refund - payments. - example: https://external_gateway.com/refund - nullable: true - token_url: - description: The endpoint used by the external gateway to create - a customer payment token. - example: https://external_gateway.com/token - nullable: true - circuit_state: - description: "The circuit breaker state, by default it is 'closed'.\ - \ It can become 'open' once the number of consecutive failures\ - \ overlaps the specified threshold, in such case no further\ - \ calls to the failing callback are made." - example: closed - nullable: true - circuit_failure_count: - description: "The number of consecutive failures recorded by the\ - \ circuit breaker associated to this resource, will be reset\ - \ on first successful call to callback." - example: 5 - nullable: true - shared_secret: - description: The shared secret used to sign the external request - payload. - example: 1c0994cc4e996e8c6ee56a2198f66f3c - nullable: false - relationships: - properties: - payment_methods: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - payment_methods - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - external_payments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - external_payments - id: - description: The resource ID - POST_external_gateways_201_response_data_attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - authorize_url: - description: The endpoint used by the external gateway to authorize payments. - example: https://external_gateway.com/authorize - capture_url: - description: The endpoint used by the external gateway to capture payments. - example: https://external_gateway.com/capture - void_url: - description: The endpoint used by the external gateway to void payments. - example: https://external_gateway.com/void - refund_url: - description: The endpoint used by the external gateway to refund payments. - example: https://external_gateway.com/refund - token_url: - description: The endpoint used by the external gateway to create a customer - payment token. - example: https://external_gateway.com/token - required: - - name - POST_external_gateways_201_response_data_relationships_external_payments_data: - properties: - type: - description: The resource's type - enum: - - external_payments - id: - description: The resource ID - POST_external_gateways_201_response_data_relationships_external_payments: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_external_gateways_201_response_data_relationships_external_payments_data' - POST_external_gateways_201_response_data_relationships: - properties: - payment_methods: - $ref: '#/components/schemas/POST_adyen_gateways_201_response_data_relationships_payment_methods' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - external_payments: - $ref: '#/components/schemas/POST_external_gateways_201_response_data_relationships_external_payments' - POST_external_gateways_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - external_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_external_gateways_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_external_gateways_201_response_data_relationships' - POST_external_gateways_201_response: - properties: - data: - $ref: '#/components/schemas/POST_external_gateways_201_response_data' - GET_external_gateways_externalGatewayId_200_response_data_attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - authorize_url: - description: The endpoint used by the external gateway to authorize payments. - example: https://external_gateway.com/authorize - nullable: true - capture_url: - description: The endpoint used by the external gateway to capture payments. - example: https://external_gateway.com/capture - nullable: true - void_url: - description: The endpoint used by the external gateway to void payments. - example: https://external_gateway.com/void - nullable: true - refund_url: - description: The endpoint used by the external gateway to refund payments. - example: https://external_gateway.com/refund - nullable: true - token_url: - description: The endpoint used by the external gateway to create a customer - payment token. - example: https://external_gateway.com/token - nullable: true - circuit_state: - description: "The circuit breaker state, by default it is 'closed'. It can\ - \ become 'open' once the number of consecutive failures overlaps the specified\ - \ threshold, in such case no further calls to the failing callback are\ - \ made." - example: closed - nullable: true - circuit_failure_count: - description: "The number of consecutive failures recorded by the circuit\ - \ breaker associated to this resource, will be reset on first successful\ - \ call to callback." - example: 5 - nullable: true - shared_secret: - description: The shared secret used to sign the external request payload. - example: 1c0994cc4e996e8c6ee56a2198f66f3c - nullable: false - GET_external_gateways_externalGatewayId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - external_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_external_gateways_externalGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_external_gateways_201_response_data_relationships' - GET_external_gateways_externalGatewayId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_external_gateways_externalGatewayId_200_response_data' - PATCH_external_gateways_externalGatewayId_200_response_data_attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - authorize_url: - description: The endpoint used by the external gateway to authorize payments. - example: https://external_gateway.com/authorize - nullable: true - capture_url: - description: The endpoint used by the external gateway to capture payments. - example: https://external_gateway.com/capture - nullable: true - void_url: - description: The endpoint used by the external gateway to void payments. - example: https://external_gateway.com/void - nullable: true - refund_url: - description: The endpoint used by the external gateway to refund payments. - example: https://external_gateway.com/refund - nullable: true - token_url: - description: The endpoint used by the external gateway to create a customer - payment token. - example: https://external_gateway.com/token - nullable: true - _reset_circuit: - description: Send this attribute if you want to reset the circuit breaker - associated to this resource to 'closed' state and zero failures count. - Cannot be passed by sales channels. - example: true - nullable: false - PATCH_external_gateways_externalGatewayId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - external_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_external_gateways_externalGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_external_gateways_201_response_data_relationships' - PATCH_external_gateways_externalGatewayId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_external_gateways_externalGatewayId_200_response_data' - GET_external_payments_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - external_payments - links: - properties: - self: - description: URL - attributes: - properties: - payment_source_token: - description: "The payment source token, as generated by the external\ - \ gateway SDK. Credit Card numbers are rejected." - example: xxxx.yyyy.zzzz - nullable: false - options: - description: External payment options. - example: - foo: bar - nullable: true - payment_instrument: - description: Information about the payment instrument used in - the transaction. - example: - issuer: cl bank - card_type: visa - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - order: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - order - id: - description: The resource ID - payment_gateway: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - payment_gateway - id: - description: The resource ID - wallet: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - wallet - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_external_payments_201_response_data_attributes: - properties: - payment_source_token: - description: "The payment source token, as generated by the external gateway\ - \ SDK. Credit Card numbers are rejected." - example: xxxx.yyyy.zzzz - options: - description: External payment options. - example: - foo: bar - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - payment_source_token - POST_external_payments_201_response_data_relationships_wallet_data: - properties: - type: - description: The resource's type - enum: - - wallet - id: - description: The resource ID - POST_external_payments_201_response_data_relationships_wallet: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_external_payments_201_response_data_relationships_wallet_data' - POST_external_payments_201_response_data_relationships: - properties: - order: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_order' - payment_gateway: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_payment_gateway' - wallet: - $ref: '#/components/schemas/POST_external_payments_201_response_data_relationships_wallet' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_external_payments_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - external_payments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_external_payments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_external_payments_201_response_data_relationships' - POST_external_payments_201_response: - properties: - data: - $ref: '#/components/schemas/POST_external_payments_201_response_data' - GET_external_payments_externalPaymentId_200_response_data_attributes: - properties: - payment_source_token: - description: "The payment source token, as generated by the external gateway\ - \ SDK. Credit Card numbers are rejected." - example: xxxx.yyyy.zzzz - nullable: false - options: - description: External payment options. - example: - foo: bar - nullable: true - payment_instrument: - description: Information about the payment instrument used in the transaction. - example: - issuer: cl bank - card_type: visa - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_external_payments_externalPaymentId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - external_payments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_external_payments_externalPaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_external_payments_201_response_data_relationships' - GET_external_payments_externalPaymentId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_external_payments_externalPaymentId_200_response_data' - PATCH_external_payments_externalPaymentId_200_response_data_attributes: - properties: - options: - description: External payment options. - example: - foo: bar - nullable: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_external_payments_externalPaymentId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - external_payments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_external_payments_externalPaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_external_payments_201_response_data_relationships' - PATCH_external_payments_externalPaymentId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_external_payments_externalPaymentId_200_response_data' - GET_external_promotions_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - external_promotions - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - nullable: false - type: - description: The promotion's type. - enum: - - percentage_discount_promotions - - free_shipping_promotions - - buy_x_pay_y_promotions - - free_gift_promotions - - fixed_price_promotions - - external_promotions - - fixed_amount_promotions - - flex_promotions - example: percentage_discount_promotions - nullable: false - currency_code: - description: The international 3-letter currency code as defined - by the ISO 4217 standard. - example: EUR - nullable: true - exclusive: - description: "Indicates if the promotion will be applied exclusively,\ - \ based on its priority score." - example: true - nullable: true - priority: - description: The priority assigned to the promotion (lower means - higher priority). - example: 2 - nullable: true - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - nullable: false - expires_at: - description: The expiration date/time of this promotion (must - be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: false - total_usage_limit: - description: The total number of times this promotion can be applied. - When 'null' it means promotion can be applied infinite times. - example: 5 - nullable: true - total_usage_count: - description: The number of times this promotion has been applied. - example: 2 - nullable: true - active: - description: Indicates if the promotion is active (enabled and - not expired). - example: true - nullable: true - status: - description: "The promotion status. One of 'disabled', 'expired',\ - \ 'pending', 'active', or 'inactive'." - enum: - - disabled - - expired - - pending - - active - - inactive - example: pending - nullable: true - disabled_at: - description: Time at which this resource was disabled. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - promotion_url: - description: The URL to the service that will compute the discount. - example: https://external_promotion.yourbrand.com - nullable: false - circuit_state: - description: "The circuit breaker state, by default it is 'closed'.\ - \ It can become 'open' once the number of consecutive failures\ - \ overlaps the specified threshold, in such case no further\ - \ calls to the failing callback are made." - example: closed - nullable: true - circuit_failure_count: - description: "The number of consecutive failures recorded by the\ - \ circuit breaker associated to this resource, will be reset\ - \ on first successful call to callback." - example: 5 - nullable: true - shared_secret: - description: The shared secret used to sign the external request - payload. - example: 1c0994cc4e996e8c6ee56a2198f66f3c - nullable: false - relationships: - properties: - market: - $ref: '#/components/schemas/POST_billing_info_validation_rules_201_response_data_relationships_market' - promotion_rules: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_promotion_rules' - order_amount_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_order_amount_promotion_rule' - sku_list_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_sku_list_promotion_rule' - coupon_codes_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_coupon_codes_promotion_rule' - custom_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_custom_promotion_rule' - sku_list: - $ref: '#/components/schemas/POST_bundles_201_response_data_relationships_sku_list' - coupons: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_coupons' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - tags: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_tags' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - skus: - $ref: '#/components/schemas/POST_bundles_201_response_data_relationships_skus' - POST_external_promotions_201_response_data_attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - exclusive: - description: "Indicates if the promotion will be applied exclusively, based\ - \ on its priority score." - example: true - priority: - description: The priority assigned to the promotion (lower means higher - priority). - example: 2 - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - expires_at: - description: The expiration date/time of this promotion (must be after starts_at). - example: 2018-01-02T12:00:00.000Z - total_usage_limit: - description: The total number of times this promotion can be applied. When - 'null' it means promotion can be applied infinite times. - example: 5 - _disable: - description: Send this attribute if you want to mark this resource as disabled. - example: true - _enable: - description: Send this attribute if you want to mark this resource as enabled. - example: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - promotion_url: - description: The URL to the service that will compute the discount. - example: https://external_promotion.yourbrand.com - required: - - expires_at - - name - - promotion_url - - starts_at - POST_external_promotions_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - external_promotions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_external_promotions_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships' - POST_external_promotions_201_response: - properties: - data: - $ref: '#/components/schemas/POST_external_promotions_201_response_data' - GET_external_promotions_externalPromotionId_200_response_data_attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - nullable: false - type: - description: The promotion's type. - enum: - - percentage_discount_promotions - - free_shipping_promotions - - buy_x_pay_y_promotions - - free_gift_promotions - - fixed_price_promotions - - external_promotions - - fixed_amount_promotions - - flex_promotions - example: percentage_discount_promotions - nullable: false - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - nullable: true - exclusive: - description: "Indicates if the promotion will be applied exclusively, based\ - \ on its priority score." - example: true - nullable: true - priority: - description: The priority assigned to the promotion (lower means higher - priority). - example: 2 - nullable: true - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - nullable: false - expires_at: - description: The expiration date/time of this promotion (must be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: false - total_usage_limit: - description: The total number of times this promotion can be applied. When - 'null' it means promotion can be applied infinite times. - example: 5 - nullable: true - total_usage_count: - description: The number of times this promotion has been applied. - example: 2 - nullable: true - active: - description: Indicates if the promotion is active (enabled and not expired). - example: true - nullable: true - status: - description: "The promotion status. One of 'disabled', 'expired', 'pending',\ - \ 'active', or 'inactive'." - enum: - - disabled - - expired - - pending - - active - - inactive - example: pending - nullable: true - disabled_at: - description: Time at which this resource was disabled. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - promotion_url: - description: The URL to the service that will compute the discount. - example: https://external_promotion.yourbrand.com - nullable: false - circuit_state: - description: "The circuit breaker state, by default it is 'closed'. It can\ - \ become 'open' once the number of consecutive failures overlaps the specified\ - \ threshold, in such case no further calls to the failing callback are\ - \ made." - example: closed - nullable: true - circuit_failure_count: - description: "The number of consecutive failures recorded by the circuit\ - \ breaker associated to this resource, will be reset on first successful\ - \ call to callback." - example: 5 - nullable: true - shared_secret: - description: The shared secret used to sign the external request payload. - example: 1c0994cc4e996e8c6ee56a2198f66f3c - nullable: false - GET_external_promotions_externalPromotionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - external_promotions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_external_promotions_externalPromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships' - GET_external_promotions_externalPromotionId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_external_promotions_externalPromotionId_200_response_data' - PATCH_external_promotions_externalPromotionId_200_response_data_attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - nullable: false - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - nullable: true - exclusive: - description: "Indicates if the promotion will be applied exclusively, based\ - \ on its priority score." - example: true - nullable: false - priority: - description: The priority assigned to the promotion (lower means higher - priority). - example: 2 - nullable: true - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - nullable: false - expires_at: - description: The expiration date/time of this promotion (must be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: false - total_usage_limit: - description: The total number of times this promotion can be applied. When - 'null' it means promotion can be applied infinite times. - example: 5 - nullable: true - _disable: - description: Send this attribute if you want to mark this resource as disabled. - example: true - nullable: false - _enable: - description: Send this attribute if you want to mark this resource as enabled. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - promotion_url: - description: The URL to the service that will compute the discount. - example: https://external_promotion.yourbrand.com - nullable: false - _reset_circuit: - description: Send this attribute if you want to reset the circuit breaker - associated to this resource to 'closed' state and zero failures count. - Cannot be passed by sales channels. - example: true - nullable: false - PATCH_external_promotions_externalPromotionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - external_promotions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_external_promotions_externalPromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships' - PATCH_external_promotions_externalPromotionId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_external_promotions_externalPromotionId_200_response_data' - GET_external_tax_calculators_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - external_tax_calculators - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The tax calculator's internal name. - example: Personal tax calculator - nullable: false - type: - description: The tax calculator's type. - enum: - - avalara_accounts - - taxjar_accounts - - manual_tax_calculators - - external_tax_calculators - example: avalara_accounts - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - tax_calculator_url: - description: The URL to the service that will compute the taxes. - example: https://external_calculator.yourbrand.com - nullable: false - circuit_state: - description: "The circuit breaker state, by default it is 'closed'.\ - \ It can become 'open' once the number of consecutive failures\ - \ overlaps the specified threshold, in such case no further\ - \ calls to the failing callback are made." - example: closed - nullable: true - circuit_failure_count: - description: "The number of consecutive failures recorded by the\ - \ circuit breaker associated to this resource, will be reset\ - \ on first successful call to callback." - example: 5 - nullable: true - shared_secret: - description: The shared secret used to sign the external request - payload. - example: 1c0994cc4e996e8c6ee56a2198f66f3c - nullable: false - relationships: - properties: - markets: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - markets - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_external_tax_calculators_201_response_data_attributes: - properties: - name: - description: The tax calculator's internal name. - example: Personal tax calculator - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - tax_calculator_url: - description: The URL to the service that will compute the taxes. - example: https://external_calculator.yourbrand.com - required: - - name - - tax_calculator_url - POST_external_tax_calculators_201_response_data_relationships: - properties: - markets: - $ref: '#/components/schemas/POST_avalara_accounts_201_response_data_relationships_markets' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_external_tax_calculators_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - external_tax_calculators - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_external_tax_calculators_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_external_tax_calculators_201_response_data_relationships' - POST_external_tax_calculators_201_response: - properties: - data: - $ref: '#/components/schemas/POST_external_tax_calculators_201_response_data' - GET_external_tax_calculators_externalTaxCalculatorId_200_response_data_attributes: - properties: - name: - description: The tax calculator's internal name. - example: Personal tax calculator - nullable: false - type: - description: The tax calculator's type. - enum: - - avalara_accounts - - taxjar_accounts - - manual_tax_calculators - - external_tax_calculators - example: avalara_accounts - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - tax_calculator_url: - description: The URL to the service that will compute the taxes. - example: https://external_calculator.yourbrand.com - nullable: false - circuit_state: - description: "The circuit breaker state, by default it is 'closed'. It can\ - \ become 'open' once the number of consecutive failures overlaps the specified\ - \ threshold, in such case no further calls to the failing callback are\ - \ made." - example: closed - nullable: true - circuit_failure_count: - description: "The number of consecutive failures recorded by the circuit\ - \ breaker associated to this resource, will be reset on first successful\ - \ call to callback." - example: 5 - nullable: true - shared_secret: - description: The shared secret used to sign the external request payload. - example: 1c0994cc4e996e8c6ee56a2198f66f3c - nullable: false - GET_external_tax_calculators_externalTaxCalculatorId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - external_tax_calculators - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_external_tax_calculators_externalTaxCalculatorId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_external_tax_calculators_201_response_data_relationships' - GET_external_tax_calculators_externalTaxCalculatorId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_external_tax_calculators_externalTaxCalculatorId_200_response_data' - PATCH_external_tax_calculators_externalTaxCalculatorId_200_response_data_attributes: - properties: - name: - description: The tax calculator's internal name. - example: Personal tax calculator - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - tax_calculator_url: - description: The URL to the service that will compute the taxes. - example: https://external_calculator.yourbrand.com - nullable: false - _reset_circuit: - description: Send this attribute if you want to reset the circuit breaker - associated to this resource to 'closed' state and zero failures count. - Cannot be passed by sales channels. - example: true - nullable: false - PATCH_external_tax_calculators_externalTaxCalculatorId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - external_tax_calculators - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_external_tax_calculators_externalTaxCalculatorId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_external_tax_calculators_201_response_data_relationships' - PATCH_external_tax_calculators_externalTaxCalculatorId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_external_tax_calculators_externalTaxCalculatorId_200_response_data' - GET_fixed_amount_promotions_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - fixed_amount_promotions - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - nullable: false - type: - description: The promotion's type. - enum: - - percentage_discount_promotions - - free_shipping_promotions - - buy_x_pay_y_promotions - - free_gift_promotions - - fixed_price_promotions - - external_promotions - - fixed_amount_promotions - - flex_promotions - example: percentage_discount_promotions - nullable: false - currency_code: - description: The international 3-letter currency code as defined - by the ISO 4217 standard. - example: EUR - nullable: true - exclusive: - description: "Indicates if the promotion will be applied exclusively,\ - \ based on its priority score." - example: true - nullable: true - priority: - description: The priority assigned to the promotion (lower means - higher priority). - example: 2 - nullable: true - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - nullable: false - expires_at: - description: The expiration date/time of this promotion (must - be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: false - total_usage_limit: - description: The total number of times this promotion can be applied. - When 'null' it means promotion can be applied infinite times. - example: 5 - nullable: true - total_usage_count: - description: The number of times this promotion has been applied. - example: 2 - nullable: true - active: - description: Indicates if the promotion is active (enabled and - not expired). - example: true - nullable: true - status: - description: "The promotion status. One of 'disabled', 'expired',\ - \ 'pending', 'active', or 'inactive'." - enum: - - disabled - - expired - - pending - - active - - inactive - example: pending - nullable: true - disabled_at: - description: Time at which this resource was disabled. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - fixed_amount_cents: - description: "The discount fixed amount to be applied, in cents." - example: 1000 - nullable: false - fixed_amount_float: - description: "The discount fixed amount to be applied, float." - example: 10.0 - nullable: true - formatted_fixed_amount: - description: "The discount fixed amount to be applied, formatted." - example: "€10,00" - nullable: true - relationships: - properties: - market: - $ref: '#/components/schemas/POST_billing_info_validation_rules_201_response_data_relationships_market' - promotion_rules: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_promotion_rules' - order_amount_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_order_amount_promotion_rule' - sku_list_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_sku_list_promotion_rule' - coupon_codes_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_coupon_codes_promotion_rule' - custom_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_custom_promotion_rule' - sku_list: - $ref: '#/components/schemas/POST_bundles_201_response_data_relationships_sku_list' - coupons: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_coupons' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - tags: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_tags' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - skus: - $ref: '#/components/schemas/POST_bundles_201_response_data_relationships_skus' - POST_fixed_amount_promotions_201_response_data_attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - exclusive: - description: "Indicates if the promotion will be applied exclusively, based\ - \ on its priority score." - example: true - priority: - description: The priority assigned to the promotion (lower means higher - priority). - example: 2 - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - expires_at: - description: The expiration date/time of this promotion (must be after starts_at). - example: 2018-01-02T12:00:00.000Z - total_usage_limit: - description: The total number of times this promotion can be applied. When - 'null' it means promotion can be applied infinite times. - example: 5 - _disable: - description: Send this attribute if you want to mark this resource as disabled. - example: true - _enable: - description: Send this attribute if you want to mark this resource as enabled. - example: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - fixed_amount_cents: - description: "The discount fixed amount to be applied, in cents." - example: 1000 - required: - - expires_at - - fixed_amount_cents - - name - - starts_at - POST_fixed_amount_promotions_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - fixed_amount_promotions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_fixed_amount_promotions_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships' - POST_fixed_amount_promotions_201_response: - properties: - data: - $ref: '#/components/schemas/POST_fixed_amount_promotions_201_response_data' - GET_fixed_amount_promotions_fixedAmountPromotionId_200_response_data_attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - nullable: false - type: - description: The promotion's type. - enum: - - percentage_discount_promotions - - free_shipping_promotions - - buy_x_pay_y_promotions - - free_gift_promotions - - fixed_price_promotions - - external_promotions - - fixed_amount_promotions - - flex_promotions - example: percentage_discount_promotions - nullable: false - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - nullable: true - exclusive: - description: "Indicates if the promotion will be applied exclusively, based\ - \ on its priority score." - example: true - nullable: true - priority: - description: The priority assigned to the promotion (lower means higher - priority). - example: 2 - nullable: true - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - nullable: false - expires_at: - description: The expiration date/time of this promotion (must be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: false - total_usage_limit: - description: The total number of times this promotion can be applied. When - 'null' it means promotion can be applied infinite times. - example: 5 - nullable: true - total_usage_count: - description: The number of times this promotion has been applied. - example: 2 - nullable: true - active: - description: Indicates if the promotion is active (enabled and not expired). - example: true - nullable: true - status: - description: "The promotion status. One of 'disabled', 'expired', 'pending',\ - \ 'active', or 'inactive'." - enum: - - disabled - - expired - - pending - - active - - inactive - example: pending - nullable: true - disabled_at: - description: Time at which this resource was disabled. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - fixed_amount_cents: - description: "The discount fixed amount to be applied, in cents." - example: 1000 - nullable: false - fixed_amount_float: - description: "The discount fixed amount to be applied, float." - example: 10.0 - nullable: true - formatted_fixed_amount: - description: "The discount fixed amount to be applied, formatted." - example: "€10,00" - nullable: true - GET_fixed_amount_promotions_fixedAmountPromotionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - fixed_amount_promotions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_fixed_amount_promotions_fixedAmountPromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships' - GET_fixed_amount_promotions_fixedAmountPromotionId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_fixed_amount_promotions_fixedAmountPromotionId_200_response_data' - PATCH_fixed_amount_promotions_fixedAmountPromotionId_200_response_data_attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - nullable: false - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - nullable: true - exclusive: - description: "Indicates if the promotion will be applied exclusively, based\ - \ on its priority score." - example: true - nullable: false - priority: - description: The priority assigned to the promotion (lower means higher - priority). - example: 2 - nullable: true - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - nullable: false - expires_at: - description: The expiration date/time of this promotion (must be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: false - total_usage_limit: - description: The total number of times this promotion can be applied. When - 'null' it means promotion can be applied infinite times. - example: 5 - nullable: true - _disable: - description: Send this attribute if you want to mark this resource as disabled. - example: true - nullable: false - _enable: - description: Send this attribute if you want to mark this resource as enabled. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - fixed_amount_cents: - description: "The discount fixed amount to be applied, in cents." - example: 1000 - nullable: false - PATCH_fixed_amount_promotions_fixedAmountPromotionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - fixed_amount_promotions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_fixed_amount_promotions_fixedAmountPromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships' - PATCH_fixed_amount_promotions_fixedAmountPromotionId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_fixed_amount_promotions_fixedAmountPromotionId_200_response_data' - GET_fixed_price_promotions_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - fixed_price_promotions - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - nullable: false - type: - description: The promotion's type. - enum: - - percentage_discount_promotions - - free_shipping_promotions - - buy_x_pay_y_promotions - - free_gift_promotions - - fixed_price_promotions - - external_promotions - - fixed_amount_promotions - - flex_promotions - example: percentage_discount_promotions - nullable: false - currency_code: - description: The international 3-letter currency code as defined - by the ISO 4217 standard. - example: EUR - nullable: true - exclusive: - description: "Indicates if the promotion will be applied exclusively,\ - \ based on its priority score." - example: true - nullable: true - priority: - description: The priority assigned to the promotion (lower means - higher priority). - example: 2 - nullable: true - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - nullable: false - expires_at: - description: The expiration date/time of this promotion (must - be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: false - total_usage_limit: - description: The total number of times this promotion can be applied. - When 'null' it means promotion can be applied infinite times. - example: 5 - nullable: true - total_usage_count: - description: The number of times this promotion has been applied. - example: 2 - nullable: true - active: - description: Indicates if the promotion is active (enabled and - not expired). - example: true - nullable: true - status: - description: "The promotion status. One of 'disabled', 'expired',\ - \ 'pending', 'active', or 'inactive'." - enum: - - disabled - - expired - - pending - - active - - inactive - example: pending - nullable: true - disabled_at: - description: Time at which this resource was disabled. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - fixed_amount_cents: - description: "The price fixed amount to be applied on matching\ - \ SKUs, in cents." - example: 1000 - nullable: false - fixed_amount_float: - description: "The discount fixed amount to be applied, float." - example: 10.0 - nullable: true - formatted_fixed_amount: - description: "The discount fixed amount to be applied, formatted." - example: "€10,00" - nullable: true - relationships: - properties: - market: - $ref: '#/components/schemas/POST_billing_info_validation_rules_201_response_data_relationships_market' - promotion_rules: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_promotion_rules' - order_amount_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_order_amount_promotion_rule' - sku_list_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_sku_list_promotion_rule' - coupon_codes_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_coupon_codes_promotion_rule' - custom_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_custom_promotion_rule' - sku_list: - $ref: '#/components/schemas/POST_bundles_201_response_data_relationships_sku_list' - coupons: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_coupons' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - tags: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_tags' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - skus: - $ref: '#/components/schemas/POST_bundles_201_response_data_relationships_skus' - POST_fixed_price_promotions_201_response_data_attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - exclusive: - description: "Indicates if the promotion will be applied exclusively, based\ - \ on its priority score." - example: true - priority: - description: The priority assigned to the promotion (lower means higher - priority). - example: 2 - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - expires_at: - description: The expiration date/time of this promotion (must be after starts_at). - example: 2018-01-02T12:00:00.000Z - total_usage_limit: - description: The total number of times this promotion can be applied. When - 'null' it means promotion can be applied infinite times. - example: 5 - _disable: - description: Send this attribute if you want to mark this resource as disabled. - example: true - _enable: - description: Send this attribute if you want to mark this resource as enabled. - example: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - fixed_amount_cents: - description: "The price fixed amount to be applied on matching SKUs, in\ - \ cents." - example: 1000 - required: - - expires_at - - fixed_amount_cents - - name - - starts_at - POST_fixed_price_promotions_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - fixed_price_promotions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_fixed_price_promotions_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships' - POST_fixed_price_promotions_201_response: - properties: - data: - $ref: '#/components/schemas/POST_fixed_price_promotions_201_response_data' - GET_fixed_price_promotions_fixedPricePromotionId_200_response_data_attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - nullable: false - type: - description: The promotion's type. - enum: - - percentage_discount_promotions - - free_shipping_promotions - - buy_x_pay_y_promotions - - free_gift_promotions - - fixed_price_promotions - - external_promotions - - fixed_amount_promotions - - flex_promotions - example: percentage_discount_promotions - nullable: false - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - nullable: true - exclusive: - description: "Indicates if the promotion will be applied exclusively, based\ - \ on its priority score." - example: true - nullable: true - priority: - description: The priority assigned to the promotion (lower means higher - priority). - example: 2 - nullable: true - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - nullable: false - expires_at: - description: The expiration date/time of this promotion (must be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: false - total_usage_limit: - description: The total number of times this promotion can be applied. When - 'null' it means promotion can be applied infinite times. - example: 5 - nullable: true - total_usage_count: - description: The number of times this promotion has been applied. - example: 2 - nullable: true - active: - description: Indicates if the promotion is active (enabled and not expired). - example: true - nullable: true - status: - description: "The promotion status. One of 'disabled', 'expired', 'pending',\ - \ 'active', or 'inactive'." - enum: - - disabled - - expired - - pending - - active - - inactive - example: pending - nullable: true - disabled_at: - description: Time at which this resource was disabled. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - fixed_amount_cents: - description: "The price fixed amount to be applied on matching SKUs, in\ - \ cents." - example: 1000 - nullable: false - fixed_amount_float: - description: "The discount fixed amount to be applied, float." - example: 10.0 - nullable: true - formatted_fixed_amount: - description: "The discount fixed amount to be applied, formatted." - example: "€10,00" - nullable: true - GET_fixed_price_promotions_fixedPricePromotionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - fixed_price_promotions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_fixed_price_promotions_fixedPricePromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships' - GET_fixed_price_promotions_fixedPricePromotionId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_fixed_price_promotions_fixedPricePromotionId_200_response_data' - PATCH_fixed_price_promotions_fixedPricePromotionId_200_response_data_attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - nullable: false - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - nullable: true - exclusive: - description: "Indicates if the promotion will be applied exclusively, based\ - \ on its priority score." - example: true - nullable: false - priority: - description: The priority assigned to the promotion (lower means higher - priority). - example: 2 - nullable: true - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - nullable: false - expires_at: - description: The expiration date/time of this promotion (must be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: false - total_usage_limit: - description: The total number of times this promotion can be applied. When - 'null' it means promotion can be applied infinite times. - example: 5 - nullable: true - _disable: - description: Send this attribute if you want to mark this resource as disabled. - example: true - nullable: false - _enable: - description: Send this attribute if you want to mark this resource as enabled. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - fixed_amount_cents: - description: "The price fixed amount to be applied on matching SKUs, in\ - \ cents." - example: 1000 - nullable: false - PATCH_fixed_price_promotions_fixedPricePromotionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - fixed_price_promotions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_fixed_price_promotions_fixedPricePromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships' - PATCH_fixed_price_promotions_fixedPricePromotionId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_fixed_price_promotions_fixedPricePromotionId_200_response_data' - GET_flex_promotions_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - flex_promotions - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - nullable: false - type: - description: The promotion's type. - enum: - - percentage_discount_promotions - - free_shipping_promotions - - buy_x_pay_y_promotions - - free_gift_promotions - - fixed_price_promotions - - external_promotions - - fixed_amount_promotions - - flex_promotions - example: percentage_discount_promotions - nullable: false - exclusive: - description: "Indicates if the promotion will be applied exclusively,\ - \ based on its priority score." - example: true - nullable: true - priority: - description: The priority assigned to the promotion (lower means - higher priority). - example: 2 - nullable: true - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - nullable: false - expires_at: - description: The expiration date/time of this promotion (must - be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: false - total_usage_limit: - description: The total number of times this promotion can be applied. - When 'null' it means promotion can be applied infinite times. - example: 5 - nullable: true - total_usage_count: - description: The number of times this promotion has been applied. - example: 2 - nullable: true - active: - description: Indicates if the promotion is active (enabled and - not expired). - example: true - nullable: true - status: - description: "The promotion status. One of 'disabled', 'expired',\ - \ 'pending', 'active', or 'inactive'." - enum: - - disabled - - expired - - pending - - active - - inactive - example: pending - nullable: true - rules: - description: The discount rule to be applied. - example: {} - nullable: false - disabled_at: - description: Time at which this resource was disabled. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - rule_outcomes: - description: The rule outcomes. - example: {} - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - coupon_codes_promotion_rule: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - coupon_codes_promotion_rule - id: - description: The resource ID - coupons: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - coupons - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - tags: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - tags - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_flex_promotions_201_response_data_attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - exclusive: - description: "Indicates if the promotion will be applied exclusively, based\ - \ on its priority score." - example: true - priority: - description: The priority assigned to the promotion (lower means higher - priority). - example: 2 - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - expires_at: - description: The expiration date/time of this promotion (must be after starts_at). - example: 2018-01-02T12:00:00.000Z - total_usage_limit: - description: The total number of times this promotion can be applied. When - 'null' it means promotion can be applied infinite times. - example: 5 - rules: - description: The discount rule to be applied. - example: {} - _disable: - description: Send this attribute if you want to mark this resource as disabled. - example: true - _enable: - description: Send this attribute if you want to mark this resource as enabled. - example: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - expires_at - - name - - rules - - starts_at - POST_flex_promotions_201_response_data_relationships: - properties: - coupon_codes_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_coupon_codes_promotion_rule' - coupons: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_coupons' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - tags: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_tags' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_flex_promotions_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - flex_promotions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_flex_promotions_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_flex_promotions_201_response_data_relationships' - POST_flex_promotions_201_response: - properties: - data: - $ref: '#/components/schemas/POST_flex_promotions_201_response_data' - GET_flex_promotions_flexPromotionId_200_response_data_attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - nullable: false - type: - description: The promotion's type. - enum: - - percentage_discount_promotions - - free_shipping_promotions - - buy_x_pay_y_promotions - - free_gift_promotions - - fixed_price_promotions - - external_promotions - - fixed_amount_promotions - - flex_promotions - example: percentage_discount_promotions - nullable: false - exclusive: - description: "Indicates if the promotion will be applied exclusively, based\ - \ on its priority score." - example: true - nullable: true - priority: - description: The priority assigned to the promotion (lower means higher - priority). - example: 2 - nullable: true - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - nullable: false - expires_at: - description: The expiration date/time of this promotion (must be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: false - total_usage_limit: - description: The total number of times this promotion can be applied. When - 'null' it means promotion can be applied infinite times. - example: 5 - nullable: true - total_usage_count: - description: The number of times this promotion has been applied. - example: 2 - nullable: true - active: - description: Indicates if the promotion is active (enabled and not expired). - example: true - nullable: true - status: - description: "The promotion status. One of 'disabled', 'expired', 'pending',\ - \ 'active', or 'inactive'." - enum: - - disabled - - expired - - pending - - active - - inactive - example: pending - nullable: true - rules: - description: The discount rule to be applied. - example: {} - nullable: false - disabled_at: - description: Time at which this resource was disabled. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - rule_outcomes: - description: The rule outcomes. - example: {} - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_flex_promotions_flexPromotionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - flex_promotions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_flex_promotions_flexPromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_flex_promotions_201_response_data_relationships' - GET_flex_promotions_flexPromotionId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_flex_promotions_flexPromotionId_200_response_data' - PATCH_flex_promotions_flexPromotionId_200_response_data_attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - nullable: false - exclusive: - description: "Indicates if the promotion will be applied exclusively, based\ - \ on its priority score." - example: true - nullable: false - priority: - description: The priority assigned to the promotion (lower means higher - priority). - example: 2 - nullable: true - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - nullable: false - expires_at: - description: The expiration date/time of this promotion (must be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: false - total_usage_limit: - description: The total number of times this promotion can be applied. When - 'null' it means promotion can be applied infinite times. - example: 5 - nullable: true - rules: - description: The discount rule to be applied. - example: {} - nullable: false - _disable: - description: Send this attribute if you want to mark this resource as disabled. - example: true - nullable: false - _enable: - description: Send this attribute if you want to mark this resource as enabled. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_flex_promotions_flexPromotionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - flex_promotions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_flex_promotions_flexPromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_flex_promotions_201_response_data_relationships' - PATCH_flex_promotions_flexPromotionId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_flex_promotions_flexPromotionId_200_response_data' - GET_free_gift_promotions_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - free_gift_promotions - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - nullable: false - type: - description: The promotion's type. - enum: - - percentage_discount_promotions - - free_shipping_promotions - - buy_x_pay_y_promotions - - free_gift_promotions - - fixed_price_promotions - - external_promotions - - fixed_amount_promotions - - flex_promotions - example: percentage_discount_promotions - nullable: false - currency_code: - description: The international 3-letter currency code as defined - by the ISO 4217 standard. - example: EUR - nullable: true - exclusive: - description: "Indicates if the promotion will be applied exclusively,\ - \ based on its priority score." - example: true - nullable: true - priority: - description: The priority assigned to the promotion (lower means - higher priority). - example: 2 - nullable: true - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - nullable: false - expires_at: - description: The expiration date/time of this promotion (must - be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: false - total_usage_limit: - description: The total number of times this promotion can be applied. - When 'null' it means promotion can be applied infinite times. - example: 5 - nullable: true - total_usage_count: - description: The number of times this promotion has been applied. - example: 2 - nullable: true - active: - description: Indicates if the promotion is active (enabled and - not expired). - example: true - nullable: true - status: - description: "The promotion status. One of 'disabled', 'expired',\ - \ 'pending', 'active', or 'inactive'." - enum: - - disabled - - expired - - pending - - active - - inactive - example: pending - nullable: true - disabled_at: - description: Time at which this resource was disabled. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - max_quantity: - description: The max quantity of free gifts globally applicable - by the promotion. - example: 3 - nullable: true - relationships: - properties: - market: - $ref: '#/components/schemas/POST_billing_info_validation_rules_201_response_data_relationships_market' - promotion_rules: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_promotion_rules' - order_amount_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_order_amount_promotion_rule' - sku_list_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_sku_list_promotion_rule' - coupon_codes_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_coupon_codes_promotion_rule' - custom_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_custom_promotion_rule' - sku_list: - $ref: '#/components/schemas/POST_bundles_201_response_data_relationships_sku_list' - coupons: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_coupons' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - tags: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_tags' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - skus: - $ref: '#/components/schemas/POST_bundles_201_response_data_relationships_skus' - POST_free_gift_promotions_201_response_data_attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - exclusive: - description: "Indicates if the promotion will be applied exclusively, based\ - \ on its priority score." - example: true - priority: - description: The priority assigned to the promotion (lower means higher - priority). - example: 2 - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - expires_at: - description: The expiration date/time of this promotion (must be after starts_at). - example: 2018-01-02T12:00:00.000Z - total_usage_limit: - description: The total number of times this promotion can be applied. When - 'null' it means promotion can be applied infinite times. - example: 5 - _disable: - description: Send this attribute if you want to mark this resource as disabled. - example: true - _enable: - description: Send this attribute if you want to mark this resource as enabled. - example: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - max_quantity: - description: The max quantity of free gifts globally applicable by the promotion. - example: 3 - required: - - expires_at - - name - - starts_at - POST_free_gift_promotions_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - free_gift_promotions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_free_gift_promotions_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships' - POST_free_gift_promotions_201_response: - properties: - data: - $ref: '#/components/schemas/POST_free_gift_promotions_201_response_data' - GET_free_gift_promotions_freeGiftPromotionId_200_response_data_attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - nullable: false - type: - description: The promotion's type. - enum: - - percentage_discount_promotions - - free_shipping_promotions - - buy_x_pay_y_promotions - - free_gift_promotions - - fixed_price_promotions - - external_promotions - - fixed_amount_promotions - - flex_promotions - example: percentage_discount_promotions - nullable: false - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - nullable: true - exclusive: - description: "Indicates if the promotion will be applied exclusively, based\ - \ on its priority score." - example: true - nullable: true - priority: - description: The priority assigned to the promotion (lower means higher - priority). - example: 2 - nullable: true - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - nullable: false - expires_at: - description: The expiration date/time of this promotion (must be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: false - total_usage_limit: - description: The total number of times this promotion can be applied. When - 'null' it means promotion can be applied infinite times. - example: 5 - nullable: true - total_usage_count: - description: The number of times this promotion has been applied. - example: 2 - nullable: true - active: - description: Indicates if the promotion is active (enabled and not expired). - example: true - nullable: true - status: - description: "The promotion status. One of 'disabled', 'expired', 'pending',\ - \ 'active', or 'inactive'." - enum: - - disabled - - expired - - pending - - active - - inactive - example: pending - nullable: true - disabled_at: - description: Time at which this resource was disabled. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - max_quantity: - description: The max quantity of free gifts globally applicable by the promotion. - example: 3 - nullable: true - GET_free_gift_promotions_freeGiftPromotionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - free_gift_promotions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_free_gift_promotions_freeGiftPromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships' - GET_free_gift_promotions_freeGiftPromotionId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_free_gift_promotions_freeGiftPromotionId_200_response_data' - PATCH_free_gift_promotions_freeGiftPromotionId_200_response_data_attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - nullable: false - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - nullable: true - exclusive: - description: "Indicates if the promotion will be applied exclusively, based\ - \ on its priority score." - example: true - nullable: false - priority: - description: The priority assigned to the promotion (lower means higher - priority). - example: 2 - nullable: true - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - nullable: false - expires_at: - description: The expiration date/time of this promotion (must be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: false - total_usage_limit: - description: The total number of times this promotion can be applied. When - 'null' it means promotion can be applied infinite times. - example: 5 - nullable: true - _disable: - description: Send this attribute if you want to mark this resource as disabled. - example: true - nullable: false - _enable: - description: Send this attribute if you want to mark this resource as enabled. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - max_quantity: - description: The max quantity of free gifts globally applicable by the promotion. - example: 3 - nullable: true - PATCH_free_gift_promotions_freeGiftPromotionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - free_gift_promotions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_free_gift_promotions_freeGiftPromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships' - PATCH_free_gift_promotions_freeGiftPromotionId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_free_gift_promotions_freeGiftPromotionId_200_response_data' - GET_free_shipping_promotions_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - free_shipping_promotions - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - nullable: false - type: - description: The promotion's type. - enum: - - percentage_discount_promotions - - free_shipping_promotions - - buy_x_pay_y_promotions - - free_gift_promotions - - fixed_price_promotions - - external_promotions - - fixed_amount_promotions - - flex_promotions - example: percentage_discount_promotions - nullable: false - currency_code: - description: The international 3-letter currency code as defined - by the ISO 4217 standard. - example: EUR - nullable: true - exclusive: - description: "Indicates if the promotion will be applied exclusively,\ - \ based on its priority score." - example: true - nullable: true - priority: - description: The priority assigned to the promotion (lower means - higher priority). - example: 2 - nullable: true - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - nullable: false - expires_at: - description: The expiration date/time of this promotion (must - be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: false - total_usage_limit: - description: The total number of times this promotion can be applied. - When 'null' it means promotion can be applied infinite times. - example: 5 - nullable: true - total_usage_count: - description: The number of times this promotion has been applied. - example: 2 - nullable: true - active: - description: Indicates if the promotion is active (enabled and - not expired). - example: true - nullable: true - status: - description: "The promotion status. One of 'disabled', 'expired',\ - \ 'pending', 'active', or 'inactive'." - enum: - - disabled - - expired - - pending - - active - - inactive - example: pending - nullable: true - disabled_at: - description: Time at which this resource was disabled. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - market: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - market - id: - description: The resource ID - promotion_rules: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - promotion_rules - id: - description: The resource ID - order_amount_promotion_rule: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - order_amount_promotion_rule - id: - description: The resource ID - sku_list_promotion_rule: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - sku_list_promotion_rule - id: - description: The resource ID - coupon_codes_promotion_rule: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - coupon_codes_promotion_rule - id: - description: The resource ID - custom_promotion_rule: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - custom_promotion_rule - id: - description: The resource ID - sku_list: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - sku_list - id: - description: The resource ID - coupons: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - coupons - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - tags: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - tags - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_free_shipping_promotions_201_response_data_attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - exclusive: - description: "Indicates if the promotion will be applied exclusively, based\ - \ on its priority score." - example: true - priority: - description: The priority assigned to the promotion (lower means higher - priority). - example: 2 - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - expires_at: - description: The expiration date/time of this promotion (must be after starts_at). - example: 2018-01-02T12:00:00.000Z - total_usage_limit: - description: The total number of times this promotion can be applied. When - 'null' it means promotion can be applied infinite times. - example: 5 - _disable: - description: Send this attribute if you want to mark this resource as disabled. - example: true - _enable: - description: Send this attribute if you want to mark this resource as enabled. - example: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - expires_at - - name - - starts_at - POST_free_shipping_promotions_201_response_data_relationships: - properties: - market: - $ref: '#/components/schemas/POST_billing_info_validation_rules_201_response_data_relationships_market' - promotion_rules: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_promotion_rules' - order_amount_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_order_amount_promotion_rule' - sku_list_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_sku_list_promotion_rule' - coupon_codes_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_coupon_codes_promotion_rule' - custom_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_custom_promotion_rule' - sku_list: - $ref: '#/components/schemas/POST_bundles_201_response_data_relationships_sku_list' - coupons: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_coupons' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - tags: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_tags' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_free_shipping_promotions_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - free_shipping_promotions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_free_shipping_promotions_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_free_shipping_promotions_201_response_data_relationships' - POST_free_shipping_promotions_201_response: - properties: - data: - $ref: '#/components/schemas/POST_free_shipping_promotions_201_response_data' - GET_free_shipping_promotions_freeShippingPromotionId_200_response_data_attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - nullable: false - type: - description: The promotion's type. - enum: - - percentage_discount_promotions - - free_shipping_promotions - - buy_x_pay_y_promotions - - free_gift_promotions - - fixed_price_promotions - - external_promotions - - fixed_amount_promotions - - flex_promotions - example: percentage_discount_promotions - nullable: false - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - nullable: true - exclusive: - description: "Indicates if the promotion will be applied exclusively, based\ - \ on its priority score." - example: true - nullable: true - priority: - description: The priority assigned to the promotion (lower means higher - priority). - example: 2 - nullable: true - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - nullable: false - expires_at: - description: The expiration date/time of this promotion (must be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: false - total_usage_limit: - description: The total number of times this promotion can be applied. When - 'null' it means promotion can be applied infinite times. - example: 5 - nullable: true - total_usage_count: - description: The number of times this promotion has been applied. - example: 2 - nullable: true - active: - description: Indicates if the promotion is active (enabled and not expired). - example: true - nullable: true - status: - description: "The promotion status. One of 'disabled', 'expired', 'pending',\ - \ 'active', or 'inactive'." - enum: - - disabled - - expired - - pending - - active - - inactive - example: pending - nullable: true - disabled_at: - description: Time at which this resource was disabled. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_free_shipping_promotions_freeShippingPromotionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - free_shipping_promotions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_free_shipping_promotions_freeShippingPromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_free_shipping_promotions_201_response_data_relationships' - GET_free_shipping_promotions_freeShippingPromotionId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_free_shipping_promotions_freeShippingPromotionId_200_response_data' - PATCH_free_shipping_promotions_freeShippingPromotionId_200_response_data_attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - nullable: false - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - nullable: true - exclusive: - description: "Indicates if the promotion will be applied exclusively, based\ - \ on its priority score." - example: true - nullable: false - priority: - description: The priority assigned to the promotion (lower means higher - priority). - example: 2 - nullable: true - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - nullable: false - expires_at: - description: The expiration date/time of this promotion (must be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: false - total_usage_limit: - description: The total number of times this promotion can be applied. When - 'null' it means promotion can be applied infinite times. - example: 5 - nullable: true - _disable: - description: Send this attribute if you want to mark this resource as disabled. - example: true - nullable: false - _enable: - description: Send this attribute if you want to mark this resource as enabled. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_free_shipping_promotions_freeShippingPromotionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - free_shipping_promotions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_free_shipping_promotions_freeShippingPromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_free_shipping_promotions_201_response_data_relationships' - PATCH_free_shipping_promotions_freeShippingPromotionId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_free_shipping_promotions_freeShippingPromotionId_200_response_data' - GET_geocoders_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - geocoders - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The geocoder's internal name. - example: Default geocoder - nullable: false - type: - description: The geocoder's type. - enum: - - google_geocoders - - bing_geocoders - example: google_geocoders - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - markets: - $ref: '#/components/schemas/POST_avalara_accounts_201_response_data_relationships_markets' - addresses: - $ref: '#/components/schemas/POST_bing_geocoders_201_response_data_relationships_addresses' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - GET_geocoders_geocoderId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - geocoders - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_bing_geocoders_bingGeocoderId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_bing_geocoders_201_response_data_relationships' - GET_geocoders_geocoderId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_geocoders_geocoderId_200_response_data' - GET_gift_card_recipients_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - gift_card_recipients - links: - properties: - self: - description: URL - attributes: - properties: - email: - description: The recipient email address. - example: john@example.com - nullable: false - first_name: - description: The recipient first name. - example: John - nullable: true - last_name: - description: The recipient last name. - example: Smith - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - customer: - $ref: '#/components/schemas/POST_coupon_recipients_201_response_data_relationships_customer' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_gift_card_recipients_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - gift_card_recipients - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_coupon_recipients_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_coupon_recipients_201_response_data_relationships' - POST_gift_card_recipients_201_response: - properties: - data: - $ref: '#/components/schemas/POST_gift_card_recipients_201_response_data' - GET_gift_card_recipients_giftCardRecipientId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - gift_card_recipients - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_coupon_recipients_couponRecipientId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_coupon_recipients_201_response_data_relationships' - GET_gift_card_recipients_giftCardRecipientId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_gift_card_recipients_giftCardRecipientId_200_response_data' - PATCH_gift_card_recipients_giftCardRecipientId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - gift_card_recipients - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_coupon_recipients_couponRecipientId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_coupon_recipients_201_response_data_relationships' - PATCH_gift_card_recipients_giftCardRecipientId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_gift_card_recipients_giftCardRecipientId_200_response_data' - GET_gift_cards_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - gift_cards - links: - properties: - self: - description: URL - attributes: - properties: - status: - description: "The gift card status. One of 'draft' (default),\ - \ 'inactive', 'active', or 'redeemed'." - enum: - - draft - - inactive - - active - - redeemed - example: draft - nullable: false - code: - description: "The gift card code UUID. If not set, it's automatically\ - \ generated." - example: 32db311a-75d9-4c17-9e34-2be220137ad6 - nullable: true - currency_code: - description: The international 3-letter currency code as defined - by the ISO 4217 standard. - example: EUR - nullable: true - initial_balance_cents: - description: "The gift card initial balance, in cents." - example: 15000 - nullable: false - initial_balance_float: - description: "The gift card initial balance, float." - example: 150.0 - nullable: false - formatted_initial_balance: - description: "The gift card initial balance, formatted." - example: "€150,00" - nullable: false - balance_cents: - description: "The gift card balance, in cents." - example: 15000 - nullable: false - balance_float: - description: "The gift card balance, float." - example: 150.0 - nullable: false - formatted_balance: - description: "The gift card balance, formatted." - example: "€150,00" - nullable: false - balance_max_cents: - description: "The gift card balance max, in cents." - example: 100000 - nullable: true - balance_max_float: - description: "The gift card balance max, float." - example: 1000.0 - nullable: true - formatted_balance_max: - description: "The gift card balance max, formatted." - example: "€1000,00" - nullable: true - balance_log: - description: The gift card balance log. Tracks all the gift card - transactions. - example: - - datetime: 2019-12-23T12:00:00.000Z - balance_change_cents: -10000 - - datetime: 2020-02-01T12:00:00.000Z - balance_change_cents: 5000 - items: {} - nullable: false - usage_log: - description: The gift card usage log. Tracks all the gift card - usage actions by orders. - example: - eNoKkhmbNp: - - action: use - amount_cents: -1000 - balance_cents: 4000 - order_number: "11111" - datetime: 2020-02-01T12:00:00.000Z - nullable: false - single_use: - description: Indicates if the gift card can be used only one. - example: false - nullable: true - rechargeable: - description: Indicates if the gift card can be recharged. - example: true - nullable: true - distribute_discount: - description: Indicates if redeemed gift card amount is distributed - for tax calculation. - example: true - nullable: true - image_url: - description: The URL of an image that represents the gift card. - example: https://img.yourdomain.com/gift_cards/32db311a.png - nullable: true - expires_at: - description: Time at which the gift card will expire. - example: 2018-01-01T12:00:00.000Z - nullable: true - recipient_email: - description: "The email address of the associated recipient. When\ - \ creating or updating a gift card, this is a shortcut to find\ - \ or create the associated recipient by email." - example: john@example.com - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - market: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - market - id: - description: The resource ID - gift_card_recipient: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - gift_card_recipient - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - tags: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - tags - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_gift_cards_201_response_data_attributes: - properties: - code: - description: "The gift card code UUID. If not set, it's automatically generated." - example: 32db311a-75d9-4c17-9e34-2be220137ad6 - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - balance_cents: - description: "The gift card balance, in cents." - example: 15000 - balance_max_cents: - description: "The gift card balance max, in cents." - example: 100000 - single_use: - description: Indicates if the gift card can be used only one. - example: false - rechargeable: - description: Indicates if the gift card can be recharged. - example: true - distribute_discount: - description: Indicates if redeemed gift card amount is distributed for tax - calculation. - example: true - image_url: - description: The URL of an image that represents the gift card. - example: https://img.yourdomain.com/gift_cards/32db311a.png - expires_at: - description: Time at which the gift card will expire. - example: 2018-01-01T12:00:00.000Z - recipient_email: - description: "The email address of the associated recipient. When creating\ - \ or updating a gift card, this is a shortcut to find or create the associated\ - \ recipient by email." - example: john@example.com - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - balance_cents - POST_gift_cards_201_response_data_relationships_gift_card_recipient_data: - properties: - type: - description: The resource's type - enum: - - gift_card_recipient - id: - description: The resource ID - POST_gift_cards_201_response_data_relationships_gift_card_recipient: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_gift_cards_201_response_data_relationships_gift_card_recipient_data' - POST_gift_cards_201_response_data_relationships: - properties: - market: - $ref: '#/components/schemas/POST_billing_info_validation_rules_201_response_data_relationships_market' - gift_card_recipient: - $ref: '#/components/schemas/POST_gift_cards_201_response_data_relationships_gift_card_recipient' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - tags: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_tags' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_gift_cards_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - gift_cards - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_gift_cards_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_gift_cards_201_response_data_relationships' - POST_gift_cards_201_response: - properties: - data: - $ref: '#/components/schemas/POST_gift_cards_201_response_data' - GET_gift_cards_giftCardId_200_response_data_attributes: - properties: - status: - description: "The gift card status. One of 'draft' (default), 'inactive',\ - \ 'active', or 'redeemed'." - enum: - - draft - - inactive - - active - - redeemed - example: draft - nullable: false - code: - description: "The gift card code UUID. If not set, it's automatically generated." - example: 32db311a-75d9-4c17-9e34-2be220137ad6 - nullable: true - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - nullable: true - initial_balance_cents: - description: "The gift card initial balance, in cents." - example: 15000 - nullable: false - initial_balance_float: - description: "The gift card initial balance, float." - example: 150.0 - nullable: false - formatted_initial_balance: - description: "The gift card initial balance, formatted." - example: "€150,00" - nullable: false - balance_cents: - description: "The gift card balance, in cents." - example: 15000 - nullable: false - balance_float: - description: "The gift card balance, float." - example: 150.0 - nullable: false - formatted_balance: - description: "The gift card balance, formatted." - example: "€150,00" - nullable: false - balance_max_cents: - description: "The gift card balance max, in cents." - example: 100000 - nullable: true - balance_max_float: - description: "The gift card balance max, float." - example: 1000.0 - nullable: true - formatted_balance_max: - description: "The gift card balance max, formatted." - example: "€1000,00" - nullable: true - balance_log: - description: The gift card balance log. Tracks all the gift card transactions. - example: - - datetime: 2019-12-23T12:00:00.000Z - balance_change_cents: -10000 - - datetime: 2020-02-01T12:00:00.000Z - balance_change_cents: 5000 - items: {} - nullable: false - usage_log: - description: The gift card usage log. Tracks all the gift card usage actions - by orders. - example: - eNoKkhmbNp: - - action: use - amount_cents: -1000 - balance_cents: 4000 - order_number: "11111" - datetime: 2020-02-01T12:00:00.000Z - nullable: false - single_use: - description: Indicates if the gift card can be used only one. - example: false - nullable: true - rechargeable: - description: Indicates if the gift card can be recharged. - example: true - nullable: true - distribute_discount: - description: Indicates if redeemed gift card amount is distributed for tax - calculation. - example: true - nullable: true - image_url: - description: The URL of an image that represents the gift card. - example: https://img.yourdomain.com/gift_cards/32db311a.png - nullable: true - expires_at: - description: Time at which the gift card will expire. - example: 2018-01-01T12:00:00.000Z - nullable: true - recipient_email: - description: "The email address of the associated recipient. When creating\ - \ or updating a gift card, this is a shortcut to find or create the associated\ - \ recipient by email." - example: john@example.com - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_gift_cards_giftCardId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - gift_cards - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_gift_cards_giftCardId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_gift_cards_201_response_data_relationships' - GET_gift_cards_giftCardId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_gift_cards_giftCardId_200_response_data' - PATCH_gift_cards_giftCardId_200_response_data_attributes: - properties: - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - nullable: true - balance_cents: - description: "The gift card balance, in cents." - example: 15000 - nullable: false - balance_max_cents: - description: "The gift card balance max, in cents." - example: 100000 - nullable: true - single_use: - description: Indicates if the gift card can be used only one. - example: false - nullable: false - rechargeable: - description: Indicates if the gift card can be recharged. - example: true - nullable: false - distribute_discount: - description: Indicates if redeemed gift card amount is distributed for tax - calculation. - example: true - nullable: false - image_url: - description: The URL of an image that represents the gift card. - example: https://img.yourdomain.com/gift_cards/32db311a.png - nullable: true - expires_at: - description: Time at which the gift card will expire. - example: 2018-01-01T12:00:00.000Z - nullable: true - recipient_email: - description: "The email address of the associated recipient. When creating\ - \ or updating a gift card, this is a shortcut to find or create the associated\ - \ recipient by email." - example: john@example.com - nullable: true - _purchase: - description: "Send this attribute if you want to confirm a draft gift card.\ - \ The gift card becomes 'inactive', waiting to be activated." - example: true - nullable: false - _activate: - description: Send this attribute if you want to activate a gift card. - example: true - nullable: false - _deactivate: - description: Send this attribute if you want to deactivate a gift card. - example: true - nullable: false - _balance_change_cents: - description: "The balance change, in cents. Send a negative value to reduces\ - \ the card balance by the specified amount. Send a positive value to recharge\ - \ the gift card (if rechargeable)." - example: -5000 - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_gift_cards_giftCardId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - gift_cards - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_gift_cards_giftCardId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_gift_cards_201_response_data_relationships' - PATCH_gift_cards_giftCardId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_gift_cards_giftCardId_200_response_data' - GET_google_geocoders_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - google_geocoders - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The geocoder's internal name. - example: Default geocoder - nullable: false - type: - description: The geocoder's type. - enum: - - google_geocoders - - bing_geocoders - example: google_geocoders - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - markets: - $ref: '#/components/schemas/POST_avalara_accounts_201_response_data_relationships_markets' - addresses: - $ref: '#/components/schemas/POST_bing_geocoders_201_response_data_relationships_addresses' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - POST_google_geocoders_201_response_data_attributes: - properties: - name: - description: The geocoder's internal name. - example: Default geocoder - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - api_key: - description: The Google Map API key. - example: xxxx-yyyy-zzzz - required: - - api_key - - name - POST_google_geocoders_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - google_geocoders - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_google_geocoders_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_bing_geocoders_201_response_data_relationships' - POST_google_geocoders_201_response: - properties: - data: - $ref: '#/components/schemas/POST_google_geocoders_201_response_data' - GET_google_geocoders_googleGeocoderId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - google_geocoders - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_bing_geocoders_bingGeocoderId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_bing_geocoders_201_response_data_relationships' - GET_google_geocoders_googleGeocoderId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_google_geocoders_googleGeocoderId_200_response_data' - PATCH_google_geocoders_googleGeocoderId_200_response_data_attributes: - properties: - name: - description: The geocoder's internal name. - example: Default geocoder - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - api_key: - description: The Google Map API key. - example: xxxx-yyyy-zzzz - PATCH_google_geocoders_googleGeocoderId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - google_geocoders - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_google_geocoders_googleGeocoderId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_bing_geocoders_201_response_data_relationships' - PATCH_google_geocoders_googleGeocoderId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_google_geocoders_googleGeocoderId_200_response_data' - GET_imports_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - imports - links: - properties: - self: - description: URL - attributes: - properties: - resource_type: - description: The type of resource being imported. - example: skus - nullable: false - format: - description: The format of the import inputs one of 'json' (default) - or 'csv'. - example: json - nullable: true - parent_resource_id: - description: The ID of the parent resource to be associated with - imported data. - example: "1234" - nullable: true - status: - description: "The import job status. One of 'pending' (default),\ - \ 'in_progress', 'interrupted', or 'completed'." - enum: - - pending - - in_progress - - interrupted - - completed - example: in_progress - nullable: false - started_at: - description: Time at which the import was started. - example: 2018-01-01T12:00:00.000Z - nullable: true - completed_at: - description: Time at which the import was completed. - example: 2018-01-01T12:00:00.000Z - nullable: true - interrupted_at: - description: Time at which the import was interrupted. - example: 2018-01-01T12:00:00.000Z - nullable: true - inputs: - description: Array of objects representing the resources that - are being imported. - example: - - code: ABC - name: Foo - - code: DEF - name: Bar - items: {} - nullable: false - inputs_size: - description: Indicates the size of the objects to be imported. - example: 300 - nullable: true - errors_count: - description: "Indicates the number of import errors, if any." - example: 30 - nullable: true - warnings_count: - description: "Indicates the number of import warnings, if any." - example: 1 - nullable: true - processed_count: - description: Indicates the number of records that have been processed - (created or updated). - example: 270 - nullable: true - errors_log: - description: "Contains the import errors, if any." - example: - ABC: - name: - - has already been taken - nullable: true - warnings_log: - description: "Contains the import warnings, if any." - example: - ABC: - - could not be deleted - nullable: true - attachment_url: - description: "The URL the the raw inputs file, which will be generated\ - \ at import start." - example: http://cl_imports.s3.amazonaws.com/ - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - POST_imports_201_response_data_attributes: - properties: - resource_type: - description: The type of resource being imported. - example: skus - format: - description: The format of the import inputs one of 'json' (default) or - 'csv'. - example: json - parent_resource_id: - description: The ID of the parent resource to be associated with imported - data. - example: "1234" - inputs: - description: Array of objects representing the resources that are being - imported. - example: - - code: ABC - name: Foo - - code: DEF - name: Bar - items: {} - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - inputs - - resource_type - POST_imports_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - imports - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_imports_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_exports_201_response_data_relationships' - POST_imports_201_response: - properties: - data: - $ref: '#/components/schemas/POST_imports_201_response_data' - GET_imports_importId_200_response_data_attributes: - properties: - resource_type: - description: The type of resource being imported. - example: skus - nullable: false - format: - description: The format of the import inputs one of 'json' (default) or - 'csv'. - example: json - nullable: true - parent_resource_id: - description: The ID of the parent resource to be associated with imported - data. - example: "1234" - nullable: true - status: - description: "The import job status. One of 'pending' (default), 'in_progress',\ - \ 'interrupted', or 'completed'." - enum: - - pending - - in_progress - - interrupted - - completed - example: in_progress - nullable: false - started_at: - description: Time at which the import was started. - example: 2018-01-01T12:00:00.000Z - nullable: true - completed_at: - description: Time at which the import was completed. - example: 2018-01-01T12:00:00.000Z - nullable: true - interrupted_at: - description: Time at which the import was interrupted. - example: 2018-01-01T12:00:00.000Z - nullable: true - inputs: - description: Array of objects representing the resources that are being - imported. - example: - - code: ABC - name: Foo - - code: DEF - name: Bar - items: {} - nullable: false - inputs_size: - description: Indicates the size of the objects to be imported. - example: 300 - nullable: true - errors_count: - description: "Indicates the number of import errors, if any." - example: 30 - nullable: true - warnings_count: - description: "Indicates the number of import warnings, if any." - example: 1 - nullable: true - processed_count: - description: Indicates the number of records that have been processed (created - or updated). - example: 270 - nullable: true - errors_log: - description: "Contains the import errors, if any." - example: - ABC: - name: - - has already been taken - nullable: true - warnings_log: - description: "Contains the import warnings, if any." - example: - ABC: - - could not be deleted - nullable: true - attachment_url: - description: "The URL the the raw inputs file, which will be generated at\ - \ import start." - example: http://cl_imports.s3.amazonaws.com/ - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_imports_importId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - imports - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_imports_importId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_exports_201_response_data_relationships' - GET_imports_importId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_imports_importId_200_response_data' - PATCH_imports_importId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - imports - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_billing_info_validation_rules_billingInfoValidationRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_exports_201_response_data_relationships' - PATCH_imports_importId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_imports_importId_200_response_data' - GET_in_stock_subscriptions_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - in_stock_subscriptions - links: - properties: - self: - description: URL - attributes: - properties: - status: - description: "The subscription status. One of 'active' (default),\ - \ 'inactive', or 'notified'." - enum: - - active - - inactive - - notified - example: active - nullable: false - customer_email: - description: "The email of the associated customer, replace the\ - \ relationship." - example: john@example.com - nullable: true - sku_code: - description: "The code of the associated SKU, replace the relationship." - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - stock_threshold: - description: The threshold at which to trigger the back in stock - notification. - example: 3 - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - market: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - market - id: - description: The resource ID - customer: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - customer - id: - description: The resource ID - sku: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - sku - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_in_stock_subscriptions_201_response_data_attributes: - properties: - customer_email: - description: "The email of the associated customer, replace the relationship." - example: john@example.com - sku_code: - description: "The code of the associated SKU, replace the relationship." - example: TSHIRTMM000000FFFFFFXLXX - stock_threshold: - description: The threshold at which to trigger the back in stock notification. - example: 3 - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - POST_in_stock_subscriptions_201_response_data_relationships_sku_data: - properties: - type: - description: The resource's type - enum: - - sku - id: - description: The resource ID - POST_in_stock_subscriptions_201_response_data_relationships_sku: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_in_stock_subscriptions_201_response_data_relationships_sku_data' - POST_in_stock_subscriptions_201_response_data_relationships: - properties: - market: - $ref: '#/components/schemas/POST_billing_info_validation_rules_201_response_data_relationships_market' - customer: - $ref: '#/components/schemas/POST_coupon_recipients_201_response_data_relationships_customer' - sku: - $ref: '#/components/schemas/POST_in_stock_subscriptions_201_response_data_relationships_sku' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_in_stock_subscriptions_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - in_stock_subscriptions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_in_stock_subscriptions_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_in_stock_subscriptions_201_response_data_relationships' - POST_in_stock_subscriptions_201_response: - properties: - data: - $ref: '#/components/schemas/POST_in_stock_subscriptions_201_response_data' - GET_in_stock_subscriptions_inStockSubscriptionId_200_response_data_attributes: - properties: - status: - description: "The subscription status. One of 'active' (default), 'inactive',\ - \ or 'notified'." - enum: - - active - - inactive - - notified - example: active - nullable: false - customer_email: - description: "The email of the associated customer, replace the relationship." - example: john@example.com - nullable: true - sku_code: - description: "The code of the associated SKU, replace the relationship." - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - stock_threshold: - description: The threshold at which to trigger the back in stock notification. - example: 3 - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_in_stock_subscriptions_inStockSubscriptionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - in_stock_subscriptions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_in_stock_subscriptions_inStockSubscriptionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_in_stock_subscriptions_201_response_data_relationships' - GET_in_stock_subscriptions_inStockSubscriptionId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_in_stock_subscriptions_inStockSubscriptionId_200_response_data' - PATCH_in_stock_subscriptions_inStockSubscriptionId_200_response_data_attributes: - properties: - sku_code: - description: "The code of the associated SKU, replace the relationship." - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - stock_threshold: - description: The threshold at which to trigger the back in stock notification. - example: 3 - nullable: true - _activate: - description: Send this attribute if you want to activate an inactive subscription. - example: true - nullable: false - _deactivate: - description: Send this attribute if you want to dactivate an active subscription. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_in_stock_subscriptions_inStockSubscriptionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - in_stock_subscriptions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_in_stock_subscriptions_inStockSubscriptionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_in_stock_subscriptions_201_response_data_relationships' - PATCH_in_stock_subscriptions_inStockSubscriptionId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_in_stock_subscriptions_inStockSubscriptionId_200_response_data' - GET_inventory_models_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - inventory_models - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The inventory model's internal name. - example: EU Inventory Model - nullable: false - strategy: - description: "The inventory model's shipping strategy: one between\ - \ 'no_split' (default), 'split_shipments', 'ship_from_primary'\ - \ and 'ship_from_first_available_or_primary'." - example: no_split - nullable: true - stock_locations_cutoff: - description: The maximum number of stock locations used for inventory - computation. - example: 3 - nullable: true - stock_reservation_cutoff: - description: The duration in seconds of the generated stock reservations. - example: 3600 - nullable: true - put_stock_transfers_on_hold: - description: Indicates if the the stock transfers must be put - on hold automatically with the associated shipment. - example: true - nullable: true - manual_stock_decrement: - description: Indicates if the the stock will be decremented manually - after the order approval. - example: true - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - inventory_stock_locations: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - inventory_stock_locations - id: - description: The resource ID - inventory_return_locations: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - inventory_return_locations - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_inventory_models_201_response_data_attributes: - properties: - name: - description: The inventory model's internal name. - example: EU Inventory Model - strategy: - description: "The inventory model's shipping strategy: one between 'no_split'\ - \ (default), 'split_shipments', 'ship_from_primary' and 'ship_from_first_available_or_primary'." - example: no_split - stock_locations_cutoff: - description: The maximum number of stock locations used for inventory computation. - example: 3 - stock_reservation_cutoff: - description: The duration in seconds of the generated stock reservations. - example: 3600 - put_stock_transfers_on_hold: - description: Indicates if the the stock transfers must be put on hold automatically - with the associated shipment. - example: true - manual_stock_decrement: - description: Indicates if the the stock will be decremented manually after - the order approval. - example: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - name - POST_inventory_models_201_response_data_relationships_inventory_stock_locations_data: - properties: - type: - description: The resource's type - enum: - - inventory_stock_locations - id: - description: The resource ID - POST_inventory_models_201_response_data_relationships_inventory_stock_locations: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_inventory_models_201_response_data_relationships_inventory_stock_locations_data' - POST_inventory_models_201_response_data_relationships_inventory_return_locations_data: - properties: - type: - description: The resource's type - enum: - - inventory_return_locations - id: - description: The resource ID - POST_inventory_models_201_response_data_relationships_inventory_return_locations: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_inventory_models_201_response_data_relationships_inventory_return_locations_data' - POST_inventory_models_201_response_data_relationships: - properties: - inventory_stock_locations: - $ref: '#/components/schemas/POST_inventory_models_201_response_data_relationships_inventory_stock_locations' - inventory_return_locations: - $ref: '#/components/schemas/POST_inventory_models_201_response_data_relationships_inventory_return_locations' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_inventory_models_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - inventory_models - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_inventory_models_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_inventory_models_201_response_data_relationships' - POST_inventory_models_201_response: - properties: - data: - $ref: '#/components/schemas/POST_inventory_models_201_response_data' - GET_inventory_models_inventoryModelId_200_response_data_attributes: - properties: - name: - description: The inventory model's internal name. - example: EU Inventory Model - nullable: false - strategy: - description: "The inventory model's shipping strategy: one between 'no_split'\ - \ (default), 'split_shipments', 'ship_from_primary' and 'ship_from_first_available_or_primary'." - example: no_split - nullable: true - stock_locations_cutoff: - description: The maximum number of stock locations used for inventory computation. - example: 3 - nullable: true - stock_reservation_cutoff: - description: The duration in seconds of the generated stock reservations. - example: 3600 - nullable: true - put_stock_transfers_on_hold: - description: Indicates if the the stock transfers must be put on hold automatically - with the associated shipment. - example: true - nullable: true - manual_stock_decrement: - description: Indicates if the the stock will be decremented manually after - the order approval. - example: true - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_inventory_models_inventoryModelId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - inventory_models - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_inventory_models_inventoryModelId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_inventory_models_201_response_data_relationships' - GET_inventory_models_inventoryModelId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_inventory_models_inventoryModelId_200_response_data' - PATCH_inventory_models_inventoryModelId_200_response_data_attributes: - properties: - name: - description: The inventory model's internal name. - example: EU Inventory Model - nullable: false - strategy: - description: "The inventory model's shipping strategy: one between 'no_split'\ - \ (default), 'split_shipments', 'ship_from_primary' and 'ship_from_first_available_or_primary'." - example: no_split - nullable: true - stock_locations_cutoff: - description: The maximum number of stock locations used for inventory computation. - example: 3 - nullable: true - stock_reservation_cutoff: - description: The duration in seconds of the generated stock reservations. - example: 3600 - nullable: true - put_stock_transfers_on_hold: - description: Indicates if the the stock transfers must be put on hold automatically - with the associated shipment. - example: true - nullable: false - manual_stock_decrement: - description: Indicates if the the stock will be decremented manually after - the order approval. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_inventory_models_inventoryModelId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - inventory_models - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_inventory_models_inventoryModelId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_inventory_models_201_response_data_relationships' - PATCH_inventory_models_inventoryModelId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_inventory_models_inventoryModelId_200_response_data' - GET_inventory_return_locations_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - inventory_return_locations - links: - properties: - self: - description: URL - attributes: - properties: - priority: - description: The inventory return location priority within the - associated invetory model. - example: 1 - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - stock_location: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - stock_location - id: - description: The resource ID - inventory_model: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - inventory_model - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_inventory_return_locations_201_response_data_attributes: - properties: - priority: - description: The inventory return location priority within the associated - invetory model. - example: 1 - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - priority - POST_inventory_return_locations_201_response_data_relationships_inventory_model_data: - properties: - type: - description: The resource's type - enum: - - inventory_model - id: - description: The resource ID - POST_inventory_return_locations_201_response_data_relationships_inventory_model: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_inventory_return_locations_201_response_data_relationships_inventory_model_data' - POST_inventory_return_locations_201_response_data_relationships: - properties: - stock_location: - $ref: '#/components/schemas/POST_delivery_lead_times_201_response_data_relationships_stock_location' - inventory_model: - $ref: '#/components/schemas/POST_inventory_return_locations_201_response_data_relationships_inventory_model' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_inventory_return_locations_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - inventory_return_locations - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_inventory_return_locations_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_inventory_return_locations_201_response_data_relationships' - POST_inventory_return_locations_201_response: - properties: - data: - $ref: '#/components/schemas/POST_inventory_return_locations_201_response_data' - GET_inventory_return_locations_inventoryReturnLocationId_200_response_data_attributes: - properties: - priority: - description: The inventory return location priority within the associated - invetory model. - example: 1 - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_inventory_return_locations_inventoryReturnLocationId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - inventory_return_locations - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_inventory_return_locations_inventoryReturnLocationId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_inventory_return_locations_201_response_data_relationships' - GET_inventory_return_locations_inventoryReturnLocationId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_inventory_return_locations_inventoryReturnLocationId_200_response_data' - PATCH_inventory_return_locations_inventoryReturnLocationId_200_response_data_attributes: - properties: - priority: - description: The inventory return location priority within the associated - invetory model. - example: 1 - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_inventory_return_locations_inventoryReturnLocationId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - inventory_return_locations - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_inventory_return_locations_inventoryReturnLocationId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_inventory_return_locations_201_response_data_relationships' - PATCH_inventory_return_locations_inventoryReturnLocationId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_inventory_return_locations_inventoryReturnLocationId_200_response_data' - GET_inventory_stock_locations_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - inventory_stock_locations - links: - properties: - self: - description: URL - attributes: - properties: - priority: - description: The stock location priority within the associated - invetory model. - example: 1 - nullable: false - on_hold: - description: "Indicates if the shipment should be put on hold\ - \ if fulfilled from the associated stock location. This is useful\ - \ to manage use cases like back-orders, pre-orders or personalized\ - \ orders that need to be customized before being fulfilled." - example: false - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - stock_location: - $ref: '#/components/schemas/POST_delivery_lead_times_201_response_data_relationships_stock_location' - inventory_model: - $ref: '#/components/schemas/POST_inventory_return_locations_201_response_data_relationships_inventory_model' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_inventory_stock_locations_201_response_data_attributes: - properties: - priority: - description: The stock location priority within the associated invetory - model. - example: 1 - on_hold: - description: "Indicates if the shipment should be put on hold if fulfilled\ - \ from the associated stock location. This is useful to manage use cases\ - \ like back-orders, pre-orders or personalized orders that need to be\ - \ customized before being fulfilled." - example: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - priority - POST_inventory_stock_locations_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - inventory_stock_locations - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_inventory_stock_locations_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_inventory_return_locations_201_response_data_relationships' - POST_inventory_stock_locations_201_response: - properties: - data: - $ref: '#/components/schemas/POST_inventory_stock_locations_201_response_data' - GET_inventory_stock_locations_inventoryStockLocationId_200_response_data_attributes: - properties: - priority: - description: The stock location priority within the associated invetory - model. - example: 1 - nullable: false - on_hold: - description: "Indicates if the shipment should be put on hold if fulfilled\ - \ from the associated stock location. This is useful to manage use cases\ - \ like back-orders, pre-orders or personalized orders that need to be\ - \ customized before being fulfilled." - example: false - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_inventory_stock_locations_inventoryStockLocationId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - inventory_stock_locations - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_inventory_stock_locations_inventoryStockLocationId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_inventory_return_locations_201_response_data_relationships' - GET_inventory_stock_locations_inventoryStockLocationId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_inventory_stock_locations_inventoryStockLocationId_200_response_data' - PATCH_inventory_stock_locations_inventoryStockLocationId_200_response_data_attributes: - properties: - priority: - description: The stock location priority within the associated invetory - model. - example: 1 - nullable: false - on_hold: - description: "Indicates if the shipment should be put on hold if fulfilled\ - \ from the associated stock location. This is useful to manage use cases\ - \ like back-orders, pre-orders or personalized orders that need to be\ - \ customized before being fulfilled." - example: false - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_inventory_stock_locations_inventoryStockLocationId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - inventory_stock_locations - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_inventory_stock_locations_inventoryStockLocationId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_inventory_return_locations_201_response_data_relationships' - PATCH_inventory_stock_locations_inventoryStockLocationId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_inventory_stock_locations_inventoryStockLocationId_200_response_data' - GET_klarna_gateways_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - klarna_gateways - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - payment_methods: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - payment_methods - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - klarna_payments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - klarna_payments - id: - description: The resource ID - POST_klarna_gateways_201_response_data_attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - country_code: - description: "The gateway country code one of EU, US, or OC." - example: EU - api_key: - description: The public key linked to your API credential. - example: xxxx-yyyy-zzzz - api_secret: - description: The gateway API key. - example: xxxx-yyyy-zzzz - required: - - api_key - - api_secret - - country_code - - name - POST_klarna_gateways_201_response_data_relationships_klarna_payments_data: - properties: - type: - description: The resource's type - enum: - - klarna_payments - id: - description: The resource ID - POST_klarna_gateways_201_response_data_relationships_klarna_payments: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_klarna_gateways_201_response_data_relationships_klarna_payments_data' - POST_klarna_gateways_201_response_data_relationships: - properties: - payment_methods: - $ref: '#/components/schemas/POST_adyen_gateways_201_response_data_relationships_payment_methods' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - klarna_payments: - $ref: '#/components/schemas/POST_klarna_gateways_201_response_data_relationships_klarna_payments' - POST_klarna_gateways_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - klarna_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_klarna_gateways_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_klarna_gateways_201_response_data_relationships' - POST_klarna_gateways_201_response: - properties: - data: - $ref: '#/components/schemas/POST_klarna_gateways_201_response_data' - GET_klarna_gateways_klarnaGatewayId_200_response_data_attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_klarna_gateways_klarnaGatewayId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - klarna_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_klarna_gateways_klarnaGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_klarna_gateways_201_response_data_relationships' - GET_klarna_gateways_klarnaGatewayId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_klarna_gateways_klarnaGatewayId_200_response_data' - PATCH_klarna_gateways_klarnaGatewayId_200_response_data_attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - country_code: - description: "The gateway country code one of EU, US, or OC." - example: EU - api_key: - description: The public key linked to your API credential. - example: xxxx-yyyy-zzzz - api_secret: - description: The gateway API key. - example: xxxx-yyyy-zzzz - PATCH_klarna_gateways_klarnaGatewayId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - klarna_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_klarna_gateways_klarnaGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_klarna_gateways_201_response_data_relationships' - PATCH_klarna_gateways_klarnaGatewayId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_klarna_gateways_klarnaGatewayId_200_response_data' - GET_klarna_payments_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - klarna_payments - links: - properties: - self: - description: URL - attributes: - properties: - session_id: - description: The identifier of the payment session. - example: xxxx-yyyy-zzzz - nullable: true - client_token: - description: The public token linked to your API credential. Available - upon session creation. - example: xxxx-yyyy-zzzz - nullable: true - payment_methods: - description: The merchant available payment methods for the assoiated - order. Available upon session creation. - example: - - foo: bar - items: {} - nullable: false - auth_token: - description: "The token returned by a successful client authorization,\ - \ mandatory to place the order." - example: xxxx-yyyy-zzzz - nullable: true - mismatched_amounts: - description: Indicates if the order current amount differs form - the one of the created payment intent. - example: false - nullable: true - payment_instrument: - description: Information about the payment instrument used in - the transaction. - example: - issuer: cl bank - card_type: visa - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - order: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_order' - payment_gateway: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_payment_gateway' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_klarna_payments_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - klarna_payments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships' - POST_klarna_payments_201_response: - properties: - data: - $ref: '#/components/schemas/POST_klarna_payments_201_response_data' - GET_klarna_payments_klarnaPaymentId_200_response_data_attributes: - properties: - session_id: - description: The identifier of the payment session. - example: xxxx-yyyy-zzzz - nullable: true - client_token: - description: The public token linked to your API credential. Available upon - session creation. - example: xxxx-yyyy-zzzz - nullable: true - payment_methods: - description: The merchant available payment methods for the assoiated order. - Available upon session creation. - example: - - foo: bar - items: {} - nullable: false - auth_token: - description: "The token returned by a successful client authorization, mandatory\ - \ to place the order." - example: xxxx-yyyy-zzzz - nullable: true - mismatched_amounts: - description: Indicates if the order current amount differs form the one - of the created payment intent. - example: false - nullable: true - payment_instrument: - description: Information about the payment instrument used in the transaction. - example: - issuer: cl bank - card_type: visa - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_klarna_payments_klarnaPaymentId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - klarna_payments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_klarna_payments_klarnaPaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships' - GET_klarna_payments_klarnaPaymentId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_klarna_payments_klarnaPaymentId_200_response_data' - PATCH_klarna_payments_klarnaPaymentId_200_response_data_attributes: - properties: - auth_token: - description: "The token returned by a successful client authorization, mandatory\ - \ to place the order." - example: xxxx-yyyy-zzzz - nullable: true - _update: - description: Send this attribute if you want to update the payment session - with fresh order data. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_klarna_payments_klarnaPaymentId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - klarna_payments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_klarna_payments_klarnaPaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships' - PATCH_klarna_payments_klarnaPaymentId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_klarna_payments_klarnaPaymentId_200_response_data' - GET_line_item_options_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - line_item_options - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: "The name of the line item option. When blank, it\ - \ gets populated with the name of the associated SKU option." - example: Embossing - nullable: true - quantity: - description: The line item option's quantity. - example: 2 - nullable: false - currency_code: - description: "The international 3-letter currency code as defined\ - \ by the ISO 4217 standard, automatically inherited from the\ - \ order's market." - example: EUR - nullable: true - unit_amount_cents: - description: "The unit amount of the line item option, in cents.\ - \ When you add a line item option to an order, this is automatically\ - \ populated from associated SKU option's price. Cannot be passed\ - \ by sales channels." - example: 990 - nullable: true - unit_amount_float: - description: "The unit amount of the line item option, float.\ - \ This can be useful to track the purchase on thrid party systems,\ - \ e.g Google Analyitcs Enhanced Ecommerce." - example: 9.9 - nullable: true - formatted_unit_amount: - description: "The unit amount of the line item option, formatted.\ - \ This can be useful to display the amount with currency in\ - \ you views." - example: "€9,90" - nullable: true - total_amount_cents: - description: "The unit amount x quantity, in cents." - example: 1880 - nullable: true - total_amount_float: - description: "The unit amount x quantity, float. This can be useful\ - \ to track the purchase on thrid party systems, e.g Google Analyitcs\ - \ Enhanced Ecommerce." - example: 18.8 - nullable: false - formatted_total_amount: - description: "The unit amount x quantity, formatted. This can\ - \ be useful to display the amount with currency in you views." - example: "€18,80" - nullable: true - delay_hours: - description: The shipping delay that the customer can expect when - adding this option (hours). Inherited from the associated SKU - option. - example: 48 - nullable: true - delay_days: - description: "The shipping delay that the customer can expect\ - \ when adding this option (days, rounded)." - example: 2 - nullable: true - options: - description: Set of key-value pairs that represent the selected - options. - example: - embossing_text: Happy Birthday! - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - line_item: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - line_item - id: - description: The resource ID - sku_option: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - sku_option - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - tags: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - tags - id: - description: The resource ID - POST_line_item_options_201_response_data_attributes: - properties: - name: - description: "The name of the line item option. When blank, it gets populated\ - \ with the name of the associated SKU option." - example: Embossing - quantity: - description: The line item option's quantity. - example: 2 - unit_amount_cents: - description: "The unit amount of the line item option, in cents. When you\ - \ add a line item option to an order, this is automatically populated\ - \ from associated SKU option's price. Cannot be passed by sales channels." - example: 990 - options: - description: Set of key-value pairs that represent the selected options. - example: - embossing_text: Happy Birthday! - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - options - - quantity - POST_line_item_options_201_response_data_relationships_line_item_data: - properties: - type: - description: The resource's type - enum: - - line_item - id: - description: The resource ID - POST_line_item_options_201_response_data_relationships_line_item: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_line_item_options_201_response_data_relationships_line_item_data' - POST_line_item_options_201_response_data_relationships_sku_option_data: - properties: - type: - description: The resource's type - enum: - - sku_option - id: - description: The resource ID - POST_line_item_options_201_response_data_relationships_sku_option: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_line_item_options_201_response_data_relationships_sku_option_data' - POST_line_item_options_201_response_data_relationships: - properties: - line_item: - $ref: '#/components/schemas/POST_line_item_options_201_response_data_relationships_line_item' - sku_option: - $ref: '#/components/schemas/POST_line_item_options_201_response_data_relationships_sku_option' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - tags: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_tags' - POST_line_item_options_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - line_item_options - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_line_item_options_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_line_item_options_201_response_data_relationships' - POST_line_item_options_201_response: - properties: - data: - $ref: '#/components/schemas/POST_line_item_options_201_response_data' - GET_line_item_options_lineItemOptionId_200_response_data_attributes: - properties: - name: - description: "The name of the line item option. When blank, it gets populated\ - \ with the name of the associated SKU option." - example: Embossing - nullable: true - quantity: - description: The line item option's quantity. - example: 2 - nullable: false - currency_code: - description: "The international 3-letter currency code as defined by the\ - \ ISO 4217 standard, automatically inherited from the order's market." - example: EUR - nullable: true - unit_amount_cents: - description: "The unit amount of the line item option, in cents. When you\ - \ add a line item option to an order, this is automatically populated\ - \ from associated SKU option's price. Cannot be passed by sales channels." - example: 990 - nullable: true - unit_amount_float: - description: "The unit amount of the line item option, float. This can be\ - \ useful to track the purchase on thrid party systems, e.g Google Analyitcs\ - \ Enhanced Ecommerce." - example: 9.9 - nullable: true - formatted_unit_amount: - description: "The unit amount of the line item option, formatted. This can\ - \ be useful to display the amount with currency in you views." - example: "€9,90" - nullable: true - total_amount_cents: - description: "The unit amount x quantity, in cents." - example: 1880 - nullable: true - total_amount_float: - description: "The unit amount x quantity, float. This can be useful to track\ - \ the purchase on thrid party systems, e.g Google Analyitcs Enhanced Ecommerce." - example: 18.8 - nullable: false - formatted_total_amount: - description: "The unit amount x quantity, formatted. This can be useful\ - \ to display the amount with currency in you views." - example: "€18,80" - nullable: true - delay_hours: - description: The shipping delay that the customer can expect when adding - this option (hours). Inherited from the associated SKU option. - example: 48 - nullable: true - delay_days: - description: "The shipping delay that the customer can expect when adding\ - \ this option (days, rounded)." - example: 2 - nullable: true - options: - description: Set of key-value pairs that represent the selected options. - example: - embossing_text: Happy Birthday! - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_line_item_options_lineItemOptionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - line_item_options - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_line_item_options_lineItemOptionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_line_item_options_201_response_data_relationships' - GET_line_item_options_lineItemOptionId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_line_item_options_lineItemOptionId_200_response_data' - PATCH_line_item_options_lineItemOptionId_200_response_data_attributes: - properties: - name: - description: "The name of the line item option. When blank, it gets populated\ - \ with the name of the associated SKU option." - example: Embossing - nullable: true - quantity: - description: The line item option's quantity. - example: 2 - nullable: false - unit_amount_cents: - description: "The unit amount of the line item option, in cents. When you\ - \ add a line item option to an order, this is automatically populated\ - \ from associated SKU option's price. Cannot be passed by sales channels." - example: 990 - nullable: true - options: - description: Set of key-value pairs that represent the selected options. - example: - embossing_text: Happy Birthday! - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_line_item_options_lineItemOptionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - line_item_options - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_line_item_options_lineItemOptionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_line_item_options_201_response_data_relationships' - PATCH_line_item_options_lineItemOptionId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_line_item_options_lineItemOptionId_200_response_data' - GET_line_items_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - line_items - links: - properties: - self: - description: URL - attributes: - properties: - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - bundle_code: - description: The code of the associated bundle. - example: BUNDLEMM000000FFFFFFXLXX - nullable: true - quantity: - description: The line item quantity. - example: 4 - nullable: false - _external_price: - description: "When creating or updating a new line item, set this\ - \ attribute to '1' if you want to inject the unit_amount_cents\ - \ price from an external source. Any successive price computation\ - \ will be done externally, until the attribute is reset to '0'." - example: true - nullable: true - currency_code: - description: "The international 3-letter currency code as defined\ - \ by the ISO 4217 standard, automatically inherited from the\ - \ order's market." - example: EUR - nullable: true - unit_amount_cents: - description: "The unit amount of the line item, in cents. Can\ - \ be specified only via an integration application, or when\ - \ the item is missing, otherwise is automatically computed by\ - \ using one of the available methods." - example: 10000 - nullable: true - unit_amount_float: - description: "The unit amount of the line item, float. This can\ - \ be useful to track the purchase on thrid party systems, e.g\ - \ Google Analyitcs Enhanced Ecommerce." - example: 100.0 - nullable: true - formatted_unit_amount: - description: "The unit amount of the line item, formatted. This\ - \ can be useful to display the amount with currency in you views." - example: "€100,00" - nullable: true - compare_at_amount_cents: - description: "The compared price amount, in cents. Useful to display\ - \ a percentage discount." - example: 13000 - nullable: true - compare_at_amount_float: - description: "The compared price amount, float." - example: 130.0 - nullable: true - formatted_compare_at_amount: - description: "The compared price amount, formatted." - example: "€130,00" - nullable: true - options_amount_cents: - description: "The options amount of the line item, in cents. Cannot\ - \ be passed by sales channels." - example: 1000 - nullable: true - options_amount_float: - description: "The options amount of the line item, float." - example: 10.0 - nullable: true - formatted_options_amount: - description: "The options amount of the line item, formatted." - example: "€10,00" - nullable: true - discount_cents: - description: "The discount applied to the line item, in cents.\ - \ When you apply a discount to an order, this is automatically\ - \ calculated basing on the line item total_amount_cents value." - example: -1000 - nullable: true - discount_float: - description: "The discount applied to the line item, float. When\ - \ you apply a discount to an order, this is automatically calculated\ - \ basing on the line item total_amount_cents value." - example: 10.0 - nullable: true - formatted_discount: - description: "The discount applied to the line item, fromatted.\ - \ When you apply a discount to an order, this is automatically\ - \ calculated basing on the line item total_amount_cents value." - example: "€10,00" - nullable: true - total_amount_cents: - description: "Calculated as unit amount x quantity + options amount,\ - \ in cents." - example: 18800 - nullable: true - total_amount_float: - description: "Calculated as unit amount x quantity + options amount,\ - \ float. This can be useful to track the purchase on thrid party\ - \ systems, e.g Google Analyitcs Enhanced Ecommerce." - example: 188.0 - nullable: false - formatted_total_amount: - description: "Calculated as unit amount x quantity + options amount,\ - \ formatted. This can be useful to display the amount with currency\ - \ in you views." - example: "€188,00" - nullable: true - tax_amount_cents: - description: "The collected tax amount, otherwise calculated as\ - \ total amount cents - discount cent * tax rate, in cents." - example: 1880 - nullable: true - tax_amount_float: - description: "The collected tax amount, otherwise calculated as\ - \ total amount cents - discount cent * tax rate, float." - example: 18.8 - nullable: false - formatted_tax_amount: - description: "The collected tax amount, otherwise calculated as\ - \ total amount cents - discount cent * tax rate, formatted." - example: "€18,80" - nullable: true - name: - description: "The name of the line item. When blank, it gets populated\ - \ with the name of the associated item (if present)." - example: Men's Black T-shirt with White Logo (XL) - nullable: true - image_url: - description: "The image_url of the line item. When blank, it gets\ - \ populated with the image_url of the associated item (if present,\ - \ SKU only)." - example: https://img.yourdomain.com/skus/xYZkjABcde.png - nullable: true - discount_breakdown: - description: The discount breakdown for this line item (if calculated). - example: - "41": - name: 10% ALL - cents: -900 - weight: 0.416 - coupon_code: XXXXXXXX - nullable: true - tax_rate: - description: The tax rate for this line item (if calculated). - example: 0.22 - nullable: true - tax_breakdown: - description: The tax breakdown for this line item (if calculated). - example: - id: "1234" - city_amount: "0.0" - state_amount: 6.6 - city_tax_rate: 0.0 - county_amount: 2.78 - taxable_amount: 139.0 - county_tax_rate: 0.02 - tax_collectable: 10.08 - special_tax_rate: 0.005 - combined_tax_rate: 0.0725 - city_taxable_amount: 0.0 - state_sales_tax_rate: 0.0475 - state_taxable_amount: 139.0 - county_taxable_amount: 139.0 - special_district_amount: 0.7 - special_district_taxable_amount: 139.0 - nullable: true - item_type: - description: "The type of the associated item. One of 'skus',\ - \ 'bundles', 'gift_cards', 'shipments', 'payment_methods', 'adjustments',\ - \ 'percentage_discount_promotions', 'free_shipping_promotions',\ - \ 'buy_x_pay_y_promotions', 'free_gift_promotions', 'fixed_price_promotions',\ - \ 'external_promotions', 'fixed_amount_promotions', or 'flex_promotions'." - enum: - - skus - - bundles - - gift_cards - - shipments - - payment_methods - - adjustments - - percentage_discount_promotions - - free_shipping_promotions - - buy_x_pay_y_promotions - - free_gift_promotions - - fixed_price_promotions - - external_promotions - - fixed_amount_promotions - - flex_promotions - example: skus - nullable: true - frequency: - description: The frequency which generates a subscription. Must - be supported by existing associated subscription_model. - example: monthly - nullable: true - coupon_code: - description: "The coupon code, if any, used to trigger this promotion\ - \ line item. null for other line item types or if the promotion\ - \ line item wasn't triggered by a coupon." - example: SUMMERDISCOUNT - nullable: true - circuit_state: - description: "The circuit breaker state, by default it is 'closed'.\ - \ It can become 'open' once the number of consecutive failures\ - \ overlaps the specified threshold, in such case no further\ - \ calls to the failing callback are made." - example: closed - nullable: true - circuit_failure_count: - description: "The number of consecutive failures recorded by the\ - \ circuit breaker associated to this resource, will be reset\ - \ on first successful call to callback." - example: 5 - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - order: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - order - id: - description: The resource ID - item: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - item - id: - description: The resource ID - sku: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - sku - id: - description: The resource ID - bundle: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - bundle - id: - description: The resource ID - adjustment: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - adjustment - id: - description: The resource ID - gift_card: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - gift_card - id: - description: The resource ID - shipment: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - shipment - id: - description: The resource ID - payment_method: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - payment_method - id: - description: The resource ID - line_item_options: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - line_item_options - id: - description: The resource ID - return_line_items: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - return_line_items - id: - description: The resource ID - stock_reservations: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - stock_reservations - id: - description: The resource ID - stock_line_items: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - stock_line_items - id: - description: The resource ID - stock_transfers: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - stock_transfers - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - tags: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - tags - id: - description: The resource ID - POST_line_items_201_response_data_attributes: - properties: - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - bundle_code: - description: The code of the associated bundle. - example: BUNDLEMM000000FFFFFFXLXX - quantity: - description: The line item quantity. - example: 4 - _external_price: - description: "When creating or updating a new line item, set this attribute\ - \ to '1' if you want to inject the unit_amount_cents price from an external\ - \ source. Any successive price computation will be done externally, until\ - \ the attribute is reset to '0'." - example: true - _update_quantity: - description: "When creating a new line item, set this attribute to '1' if\ - \ you want to update the line item quantity (if present) instead of creating\ - \ a new line item for the same SKU." - example: true - _reserve_stock: - description: Send this attribute if you want to reserve the stock for the - line item's SKUs quantity. Stock reservations expiration depends on the - inventory model's cutoff. When used on update the existing active stock - reservations are renewed. Cannot be passed by sales channels. - example: true - unit_amount_cents: - description: "The unit amount of the line item, in cents. Can be specified\ - \ only via an integration application, or when the item is missing, otherwise\ - \ is automatically computed by using one of the available methods." - example: 10000 - compare_at_amount_cents: - description: "The compared price amount, in cents. Useful to display a percentage\ - \ discount." - example: 13000 - name: - description: "The name of the line item. When blank, it gets populated with\ - \ the name of the associated item (if present)." - example: Men's Black T-shirt with White Logo (XL) - image_url: - description: "The image_url of the line item. When blank, it gets populated\ - \ with the image_url of the associated item (if present, SKU only)." - example: https://img.yourdomain.com/skus/xYZkjABcde.png - item_type: - description: "The type of the associated item. One of 'skus', 'bundles',\ - \ 'gift_cards', 'shipments', 'payment_methods', 'adjustments', 'percentage_discount_promotions',\ - \ 'free_shipping_promotions', 'buy_x_pay_y_promotions', 'free_gift_promotions',\ - \ 'fixed_price_promotions', 'external_promotions', 'fixed_amount_promotions',\ - \ or 'flex_promotions'." - enum: - - skus - - bundles - - gift_cards - - shipments - - payment_methods - - adjustments - - percentage_discount_promotions - - free_shipping_promotions - - buy_x_pay_y_promotions - - free_gift_promotions - - fixed_price_promotions - - external_promotions - - fixed_amount_promotions - - flex_promotions - example: skus - frequency: - description: The frequency which generates a subscription. Must be supported - by existing associated subscription_model. - example: monthly - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - quantity - POST_line_items_201_response_data_relationships_item_data: - properties: - type: - description: The resource's type - enum: - - item - id: - description: The resource ID - POST_line_items_201_response_data_relationships_item: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_item_data' - POST_line_items_201_response_data_relationships_bundle_data: - properties: - type: - description: The resource's type - enum: - - bundle - id: - description: The resource ID - POST_line_items_201_response_data_relationships_bundle: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_bundle_data' - POST_line_items_201_response_data_relationships_adjustment_data: - properties: - type: - description: The resource's type - enum: - - adjustment - id: - description: The resource ID - POST_line_items_201_response_data_relationships_adjustment: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_adjustment_data' - POST_line_items_201_response_data_relationships_gift_card_data: - properties: - type: - description: The resource's type - enum: - - gift_card - id: - description: The resource ID - POST_line_items_201_response_data_relationships_gift_card: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_gift_card_data' - POST_line_items_201_response_data_relationships_shipment_data: - properties: - type: - description: The resource's type - enum: - - shipment - id: - description: The resource ID - POST_line_items_201_response_data_relationships_shipment: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_shipment_data' - POST_line_items_201_response_data_relationships_line_item_options_data: - properties: - type: - description: The resource's type - enum: - - line_item_options - id: - description: The resource ID - POST_line_items_201_response_data_relationships_line_item_options: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_line_item_options_data' - POST_line_items_201_response_data_relationships_return_line_items_data: - properties: - type: - description: The resource's type - enum: - - return_line_items - id: - description: The resource ID - POST_line_items_201_response_data_relationships_return_line_items: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_return_line_items_data' - POST_line_items_201_response_data_relationships_stock_reservations_data: - properties: - type: - description: The resource's type - enum: - - stock_reservations - id: - description: The resource ID - POST_line_items_201_response_data_relationships_stock_reservations: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_stock_reservations_data' - POST_line_items_201_response_data_relationships_stock_line_items_data: - properties: - type: - description: The resource's type - enum: - - stock_line_items - id: - description: The resource ID - POST_line_items_201_response_data_relationships_stock_line_items: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_stock_line_items_data' - POST_line_items_201_response_data_relationships_stock_transfers_data: - properties: - type: - description: The resource's type - enum: - - stock_transfers - id: - description: The resource ID - POST_line_items_201_response_data_relationships_stock_transfers: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_stock_transfers_data' - POST_line_items_201_response_data_relationships: - properties: - order: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_order' - item: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_item' - sku: - $ref: '#/components/schemas/POST_in_stock_subscriptions_201_response_data_relationships_sku' - bundle: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_bundle' - adjustment: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_adjustment' - gift_card: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_gift_card' - shipment: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_shipment' - payment_method: - $ref: '#/components/schemas/POST_customer_payment_sources_201_response_data_relationships_payment_method' - line_item_options: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_line_item_options' - return_line_items: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_return_line_items' - stock_reservations: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_stock_reservations' - stock_line_items: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_stock_line_items' - stock_transfers: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_stock_transfers' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - tags: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_tags' - POST_line_items_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - line_items - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_line_items_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships' - POST_line_items_201_response: - properties: - data: - $ref: '#/components/schemas/POST_line_items_201_response_data' - GET_line_items_lineItemId_200_response_data_attributes: - properties: - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - bundle_code: - description: The code of the associated bundle. - example: BUNDLEMM000000FFFFFFXLXX - nullable: true - quantity: - description: The line item quantity. - example: 4 - nullable: false - _external_price: - description: "When creating or updating a new line item, set this attribute\ - \ to '1' if you want to inject the unit_amount_cents price from an external\ - \ source. Any successive price computation will be done externally, until\ - \ the attribute is reset to '0'." - example: true - nullable: true - currency_code: - description: "The international 3-letter currency code as defined by the\ - \ ISO 4217 standard, automatically inherited from the order's market." - example: EUR - nullable: true - unit_amount_cents: - description: "The unit amount of the line item, in cents. Can be specified\ - \ only via an integration application, or when the item is missing, otherwise\ - \ is automatically computed by using one of the available methods." - example: 10000 - nullable: true - unit_amount_float: - description: "The unit amount of the line item, float. This can be useful\ - \ to track the purchase on thrid party systems, e.g Google Analyitcs Enhanced\ - \ Ecommerce." - example: 100.0 - nullable: true - formatted_unit_amount: - description: "The unit amount of the line item, formatted. This can be useful\ - \ to display the amount with currency in you views." - example: "€100,00" - nullable: true - compare_at_amount_cents: - description: "The compared price amount, in cents. Useful to display a percentage\ - \ discount." - example: 13000 - nullable: true - compare_at_amount_float: - description: "The compared price amount, float." - example: 130.0 - nullable: true - formatted_compare_at_amount: - description: "The compared price amount, formatted." - example: "€130,00" - nullable: true - options_amount_cents: - description: "The options amount of the line item, in cents. Cannot be passed\ - \ by sales channels." - example: 1000 - nullable: true - options_amount_float: - description: "The options amount of the line item, float." - example: 10.0 - nullable: true - formatted_options_amount: - description: "The options amount of the line item, formatted." - example: "€10,00" - nullable: true - discount_cents: - description: "The discount applied to the line item, in cents. When you\ - \ apply a discount to an order, this is automatically calculated basing\ - \ on the line item total_amount_cents value." - example: -1000 - nullable: true - discount_float: - description: "The discount applied to the line item, float. When you apply\ - \ a discount to an order, this is automatically calculated basing on the\ - \ line item total_amount_cents value." - example: 10.0 - nullable: true - formatted_discount: - description: "The discount applied to the line item, fromatted. When you\ - \ apply a discount to an order, this is automatically calculated basing\ - \ on the line item total_amount_cents value." - example: "€10,00" - nullable: true - total_amount_cents: - description: "Calculated as unit amount x quantity + options amount, in\ - \ cents." - example: 18800 - nullable: true - total_amount_float: - description: "Calculated as unit amount x quantity + options amount, float.\ - \ This can be useful to track the purchase on thrid party systems, e.g\ - \ Google Analyitcs Enhanced Ecommerce." - example: 188.0 - nullable: false - formatted_total_amount: - description: "Calculated as unit amount x quantity + options amount, formatted.\ - \ This can be useful to display the amount with currency in you views." - example: "€188,00" - nullable: true - tax_amount_cents: - description: "The collected tax amount, otherwise calculated as total amount\ - \ cents - discount cent * tax rate, in cents." - example: 1880 - nullable: true - tax_amount_float: - description: "The collected tax amount, otherwise calculated as total amount\ - \ cents - discount cent * tax rate, float." - example: 18.8 - nullable: false - formatted_tax_amount: - description: "The collected tax amount, otherwise calculated as total amount\ - \ cents - discount cent * tax rate, formatted." - example: "€18,80" - nullable: true - name: - description: "The name of the line item. When blank, it gets populated with\ - \ the name of the associated item (if present)." - example: Men's Black T-shirt with White Logo (XL) - nullable: true - image_url: - description: "The image_url of the line item. When blank, it gets populated\ - \ with the image_url of the associated item (if present, SKU only)." - example: https://img.yourdomain.com/skus/xYZkjABcde.png - nullable: true - discount_breakdown: - description: The discount breakdown for this line item (if calculated). - example: - "41": - name: 10% ALL - cents: -900 - weight: 0.416 - coupon_code: XXXXXXXX - nullable: true - tax_rate: - description: The tax rate for this line item (if calculated). - example: 0.22 - nullable: true - tax_breakdown: - description: The tax breakdown for this line item (if calculated). - example: - id: "1234" - city_amount: "0.0" - state_amount: 6.6 - city_tax_rate: 0.0 - county_amount: 2.78 - taxable_amount: 139.0 - county_tax_rate: 0.02 - tax_collectable: 10.08 - special_tax_rate: 0.005 - combined_tax_rate: 0.0725 - city_taxable_amount: 0.0 - state_sales_tax_rate: 0.0475 - state_taxable_amount: 139.0 - county_taxable_amount: 139.0 - special_district_amount: 0.7 - special_district_taxable_amount: 139.0 - nullable: true - item_type: - description: "The type of the associated item. One of 'skus', 'bundles',\ - \ 'gift_cards', 'shipments', 'payment_methods', 'adjustments', 'percentage_discount_promotions',\ - \ 'free_shipping_promotions', 'buy_x_pay_y_promotions', 'free_gift_promotions',\ - \ 'fixed_price_promotions', 'external_promotions', 'fixed_amount_promotions',\ - \ or 'flex_promotions'." - enum: - - skus - - bundles - - gift_cards - - shipments - - payment_methods - - adjustments - - percentage_discount_promotions - - free_shipping_promotions - - buy_x_pay_y_promotions - - free_gift_promotions - - fixed_price_promotions - - external_promotions - - fixed_amount_promotions - - flex_promotions - example: skus - nullable: true - frequency: - description: The frequency which generates a subscription. Must be supported - by existing associated subscription_model. - example: monthly - nullable: true - coupon_code: - description: "The coupon code, if any, used to trigger this promotion line\ - \ item. null for other line item types or if the promotion line item wasn't\ - \ triggered by a coupon." - example: SUMMERDISCOUNT - nullable: true - circuit_state: - description: "The circuit breaker state, by default it is 'closed'. It can\ - \ become 'open' once the number of consecutive failures overlaps the specified\ - \ threshold, in such case no further calls to the failing callback are\ - \ made." - example: closed - nullable: true - circuit_failure_count: - description: "The number of consecutive failures recorded by the circuit\ - \ breaker associated to this resource, will be reset on first successful\ - \ call to callback." - example: 5 - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_line_items_lineItemId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - line_items - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_line_items_lineItemId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships' - GET_line_items_lineItemId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_line_items_lineItemId_200_response_data' - PATCH_line_items_lineItemId_200_response_data_attributes: - properties: - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - bundle_code: - description: The code of the associated bundle. - example: BUNDLEMM000000FFFFFFXLXX - nullable: true - quantity: - description: The line item quantity. - example: 4 - nullable: false - _external_price: - description: "When creating or updating a new line item, set this attribute\ - \ to '1' if you want to inject the unit_amount_cents price from an external\ - \ source. Any successive price computation will be done externally, until\ - \ the attribute is reset to '0'." - example: true - nullable: false - _reserve_stock: - description: Send this attribute if you want to reserve the stock for the - line item's SKUs quantity. Stock reservations expiration depends on the - inventory model's cutoff. When used on update the existing active stock - reservations are renewed. Cannot be passed by sales channels. - example: true - nullable: false - unit_amount_cents: - description: "The unit amount of the line item, in cents. Can be specified\ - \ only via an integration application, or when the item is missing, otherwise\ - \ is automatically computed by using one of the available methods." - example: 10000 - nullable: true - compare_at_amount_cents: - description: "The compared price amount, in cents. Useful to display a percentage\ - \ discount." - example: 13000 - nullable: true - options_amount_cents: - description: "The options amount of the line item, in cents. Cannot be passed\ - \ by sales channels." - example: 1000 - nullable: true - name: - description: "The name of the line item. When blank, it gets populated with\ - \ the name of the associated item (if present)." - example: Men's Black T-shirt with White Logo (XL) - nullable: true - image_url: - description: "The image_url of the line item. When blank, it gets populated\ - \ with the image_url of the associated item (if present, SKU only)." - example: https://img.yourdomain.com/skus/xYZkjABcde.png - nullable: true - frequency: - description: The frequency which generates a subscription. Must be supported - by existing associated subscription_model. - example: monthly - nullable: true - _reset_circuit: - description: Send this attribute if you want to reset the circuit breaker - associated to this resource to 'closed' state and zero failures count. - Cannot be passed by sales channels. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_line_items_lineItemId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - line_items - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_line_items_lineItemId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships' - PATCH_line_items_lineItemId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_line_items_lineItemId_200_response_data' - GET_links_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - links - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The link internal name. - example: FW SALE 2023 - nullable: false - client_id: - description: "The link application client id, used to fetch JWT." - example: xxxx-yyyy-zzzz - nullable: false - scope: - description: "The link application scope, used to fetch JWT." - example: "market:id:GhvCxsElAQ,market:id:kJhgVcxZDr" - nullable: false - starts_at: - description: The activation date/time of this link. - example: 2018-01-01T12:00:00.000Z - nullable: true - expires_at: - description: The expiration date/time of this link (must be after - starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: true - active: - description: Indicates if the link is active (enabled and not - expired). - example: true - nullable: true - status: - description: "The link status. One of 'disabled', 'expired', 'pending',\ - \ or 'active'." - enum: - - disabled - - expired - - pending - - active - example: pending - nullable: true - domain: - description: The link URL second level domain. - example: commercelayer.link - nullable: true - url: - description: The link URL. - example: https://commercelayer.link/ZXUtd2VzdC0xLzE5ZjBlMGVlLTg4OGMtNDQ1Yi1iYTA0LTg3MTUxY2FjZjFmYQ - nullable: true - item_type: - description: "The type of the associated item. One of 'orders',\ - \ 'skus', or 'sku_lists'." - enum: - - orders - - skus - - sku_lists - example: orders - nullable: true - params: - description: The link params to be passed in URL the query string. - example: - param1: ABC - param2: XYZ - nullable: true - disabled_at: - description: Time at which this resource was disabled. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - item: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - item - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - POST_links_201_response_data_attributes: - properties: - name: - description: The link internal name. - example: FW SALE 2023 - client_id: - description: "The link application client id, used to fetch JWT." - example: xxxx-yyyy-zzzz - scope: - description: "The link application scope, used to fetch JWT." - example: "market:id:GhvCxsElAQ,market:id:kJhgVcxZDr" - starts_at: - description: The activation date/time of this link. - example: 2018-01-01T12:00:00.000Z - expires_at: - description: The expiration date/time of this link (must be after starts_at). - example: 2018-01-02T12:00:00.000Z - domain: - description: The link URL second level domain. - example: commercelayer.link - item_type: - description: "The type of the associated item. One of 'orders', 'skus',\ - \ or 'sku_lists'." - enum: - - orders - - skus - - sku_lists - example: orders - params: - description: The link params to be passed in URL the query string. - example: - param1: ABC - param2: XYZ - _disable: - description: Send this attribute if you want to mark this resource as disabled. - example: true - _enable: - description: Send this attribute if you want to mark this resource as enabled. - example: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - client_id - - name - - scope - POST_links_201_response_data_relationships: - properties: - item: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_item' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - POST_links_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - links - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_links_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_links_201_response_data_relationships' - POST_links_201_response: - properties: - data: - $ref: '#/components/schemas/POST_links_201_response_data' - GET_links_linkId_200_response_data_attributes: - properties: - name: - description: The link internal name. - example: FW SALE 2023 - nullable: false - client_id: - description: "The link application client id, used to fetch JWT." - example: xxxx-yyyy-zzzz - nullable: false - scope: - description: "The link application scope, used to fetch JWT." - example: "market:id:GhvCxsElAQ,market:id:kJhgVcxZDr" - nullable: false - starts_at: - description: The activation date/time of this link. - example: 2018-01-01T12:00:00.000Z - nullable: true - expires_at: - description: The expiration date/time of this link (must be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: true - active: - description: Indicates if the link is active (enabled and not expired). - example: true - nullable: true - status: - description: "The link status. One of 'disabled', 'expired', 'pending',\ - \ or 'active'." - enum: - - disabled - - expired - - pending - - active - example: pending - nullable: true - domain: - description: The link URL second level domain. - example: commercelayer.link - nullable: true - url: - description: The link URL. - example: https://commercelayer.link/ZXUtd2VzdC0xLzE5ZjBlMGVlLTg4OGMtNDQ1Yi1iYTA0LTg3MTUxY2FjZjFmYQ - nullable: true - item_type: - description: "The type of the associated item. One of 'orders', 'skus',\ - \ or 'sku_lists'." - enum: - - orders - - skus - - sku_lists - example: orders - nullable: true - params: - description: The link params to be passed in URL the query string. - example: - param1: ABC - param2: XYZ - nullable: true - disabled_at: - description: Time at which this resource was disabled. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_links_linkId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - links - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_links_linkId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_links_201_response_data_relationships' - GET_links_linkId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_links_linkId_200_response_data' - PATCH_links_linkId_200_response_data_attributes: - properties: - name: - description: The link internal name. - example: FW SALE 2023 - nullable: false - client_id: - description: "The link application client id, used to fetch JWT." - example: xxxx-yyyy-zzzz - nullable: false - scope: - description: "The link application scope, used to fetch JWT." - example: "market:id:GhvCxsElAQ,market:id:kJhgVcxZDr" - nullable: false - starts_at: - description: The activation date/time of this link. - example: 2018-01-01T12:00:00.000Z - nullable: true - expires_at: - description: The expiration date/time of this link (must be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: true - domain: - description: The link URL second level domain. - example: commercelayer.link - nullable: true - params: - description: The link params to be passed in URL the query string. - example: - param1: ABC - param2: XYZ - nullable: true - _disable: - description: Send this attribute if you want to mark this resource as disabled. - example: true - nullable: false - _enable: - description: Send this attribute if you want to mark this resource as enabled. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_links_linkId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - links - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_links_linkId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_links_201_response_data_relationships' - PATCH_links_linkId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_links_linkId_200_response_data' - GET_manual_gateways_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - manual_gateways - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - payment_methods: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - payment_methods - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_manual_gateways_201_response_data_attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - name - POST_manual_gateways_201_response_data_relationships: - properties: - payment_methods: - $ref: '#/components/schemas/POST_adyen_gateways_201_response_data_relationships_payment_methods' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_manual_gateways_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - manual_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_manual_gateways_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_manual_gateways_201_response_data_relationships' - POST_manual_gateways_201_response: - properties: - data: - $ref: '#/components/schemas/POST_manual_gateways_201_response_data' - GET_manual_gateways_manualGatewayId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - manual_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_klarna_gateways_klarnaGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_manual_gateways_201_response_data_relationships' - GET_manual_gateways_manualGatewayId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_manual_gateways_manualGatewayId_200_response_data' - PATCH_manual_gateways_manualGatewayId_200_response_data_attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_manual_gateways_manualGatewayId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - manual_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_manual_gateways_manualGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_manual_gateways_201_response_data_relationships' - PATCH_manual_gateways_manualGatewayId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_manual_gateways_manualGatewayId_200_response_data' - GET_manual_tax_calculators_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - manual_tax_calculators - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The tax calculator's internal name. - example: Personal tax calculator - nullable: false - type: - description: The tax calculator's type. - enum: - - avalara_accounts - - taxjar_accounts - - manual_tax_calculators - - external_tax_calculators - example: avalara_accounts - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - markets: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - markets - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - tax_rules: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - tax_rules - id: - description: The resource ID - POST_manual_tax_calculators_201_response_data_attributes: - properties: - name: - description: The tax calculator's internal name. - example: Personal tax calculator - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - name - POST_manual_tax_calculators_201_response_data_relationships_tax_rules_data: - properties: - type: - description: The resource's type - enum: - - tax_rules - id: - description: The resource ID - POST_manual_tax_calculators_201_response_data_relationships_tax_rules: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_manual_tax_calculators_201_response_data_relationships_tax_rules_data' - POST_manual_tax_calculators_201_response_data_relationships: - properties: - markets: - $ref: '#/components/schemas/POST_avalara_accounts_201_response_data_relationships_markets' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - tax_rules: - $ref: '#/components/schemas/POST_manual_tax_calculators_201_response_data_relationships_tax_rules' - POST_manual_tax_calculators_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - manual_tax_calculators - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_manual_tax_calculators_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_manual_tax_calculators_201_response_data_relationships' - POST_manual_tax_calculators_201_response: - properties: - data: - $ref: '#/components/schemas/POST_manual_tax_calculators_201_response_data' - GET_manual_tax_calculators_manualTaxCalculatorId_200_response_data_attributes: - properties: - name: - description: The tax calculator's internal name. - example: Personal tax calculator - nullable: false - type: - description: The tax calculator's type. - enum: - - avalara_accounts - - taxjar_accounts - - manual_tax_calculators - - external_tax_calculators - example: avalara_accounts - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_manual_tax_calculators_manualTaxCalculatorId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - manual_tax_calculators - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_manual_tax_calculators_manualTaxCalculatorId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_manual_tax_calculators_201_response_data_relationships' - GET_manual_tax_calculators_manualTaxCalculatorId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_manual_tax_calculators_manualTaxCalculatorId_200_response_data' - PATCH_manual_tax_calculators_manualTaxCalculatorId_200_response_data_attributes: - properties: - name: - description: The tax calculator's internal name. - example: Personal tax calculator - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_manual_tax_calculators_manualTaxCalculatorId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - manual_tax_calculators - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_manual_tax_calculators_manualTaxCalculatorId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_manual_tax_calculators_201_response_data_relationships' - PATCH_manual_tax_calculators_manualTaxCalculatorId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_manual_tax_calculators_manualTaxCalculatorId_200_response_data' - GET_markets_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - markets - links: - properties: - self: - description: URL - attributes: - properties: - number: - description: Unique identifier for the market (numeric). - example: 1234 - nullable: true - name: - description: The market's internal name. - example: EU Market - nullable: false - code: - description: A string that you can use to identify the market - (must be unique within the environment). - example: europe1 - nullable: true - facebook_pixel_id: - description: The Facebook Pixed ID. - example: "1234567890" - nullable: true - checkout_url: - description: The checkout URL for this market. - example: https://checkout.yourbrand.com/:order_id - nullable: true - external_prices_url: - description: The URL used to overwrite prices by an external source. - example: https://external_prices.yourbrand.com - nullable: true - external_order_validation_url: - description: The URL used to validate orders by an external source. - example: https://external_validation.yourbrand.com - nullable: true - private: - description: Indicates if market belongs to a customer_group. - example: true - nullable: true - shipping_cost_cutoff: - description: When specified indicates the maximum number of shipping - line items with cost that will be added to an order. - example: 3 - nullable: true - disabled_at: - description: Time at which this resource was disabled. - example: 2018-01-01T12:00:00.000Z - nullable: true - shared_secret: - description: The shared secret used to sign the external request - payload. - example: 1c0994cc4e996e8c6ee56a2198f66f3c - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - merchant: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - merchant - id: - description: The resource ID - price_list: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - price_list - id: - description: The resource ID - base_price_list: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - base_price_list - id: - description: The resource ID - inventory_model: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - inventory_model - id: - description: The resource ID - subscription_model: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - subscription_model - id: - description: The resource ID - tax_calculator: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - tax_calculator - id: - description: The resource ID - customer_group: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - customer_group - id: - description: The resource ID - geocoder: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - geocoder - id: - description: The resource ID - price_list_schedulers: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - price_list_schedulers - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_markets_201_response_data_attributes: - properties: - name: - description: The market's internal name. - example: EU Market - code: - description: A string that you can use to identify the market (must be unique - within the environment). - example: europe1 - facebook_pixel_id: - description: The Facebook Pixed ID. - example: "1234567890" - checkout_url: - description: The checkout URL for this market. - example: https://checkout.yourbrand.com/:order_id - external_prices_url: - description: The URL used to overwrite prices by an external source. - example: https://external_prices.yourbrand.com - external_order_validation_url: - description: The URL used to validate orders by an external source. - example: https://external_validation.yourbrand.com - shipping_cost_cutoff: - description: When specified indicates the maximum number of shipping line - items with cost that will be added to an order. - example: 3 - _disable: - description: Send this attribute if you want to mark this resource as disabled. - example: true - _enable: - description: Send this attribute if you want to mark this resource as enabled. - example: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - name - POST_markets_201_response_data_relationships_merchant_data: - properties: - type: - description: The resource's type - enum: - - merchant - id: - description: The resource ID - POST_markets_201_response_data_relationships_merchant: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_markets_201_response_data_relationships_merchant_data' - POST_markets_201_response_data_relationships_price_list_data: - properties: - type: - description: The resource's type - enum: - - price_list - id: - description: The resource ID - POST_markets_201_response_data_relationships_price_list: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_markets_201_response_data_relationships_price_list_data' - POST_markets_201_response_data_relationships_base_price_list_data: - properties: - type: - description: The resource's type - enum: - - base_price_list - id: - description: The resource ID - POST_markets_201_response_data_relationships_base_price_list: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_markets_201_response_data_relationships_base_price_list_data' - POST_markets_201_response_data_relationships_subscription_model_data: - properties: - type: - description: The resource's type - enum: - - subscription_model - id: - description: The resource ID - POST_markets_201_response_data_relationships_subscription_model: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_markets_201_response_data_relationships_subscription_model_data' - POST_markets_201_response_data_relationships_tax_calculator_data: - properties: - type: - description: The resource's type - enum: - - tax_calculator - id: - description: The resource ID - POST_markets_201_response_data_relationships_tax_calculator: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_markets_201_response_data_relationships_tax_calculator_data' - POST_markets_201_response_data_relationships_price_list_schedulers_data: - properties: - type: - description: The resource's type - enum: - - price_list_schedulers - id: - description: The resource ID - POST_markets_201_response_data_relationships_price_list_schedulers: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_markets_201_response_data_relationships_price_list_schedulers_data' - POST_markets_201_response_data_relationships: - properties: - merchant: - $ref: '#/components/schemas/POST_markets_201_response_data_relationships_merchant' - price_list: - $ref: '#/components/schemas/POST_markets_201_response_data_relationships_price_list' - base_price_list: - $ref: '#/components/schemas/POST_markets_201_response_data_relationships_base_price_list' - inventory_model: - $ref: '#/components/schemas/POST_inventory_return_locations_201_response_data_relationships_inventory_model' - subscription_model: - $ref: '#/components/schemas/POST_markets_201_response_data_relationships_subscription_model' - tax_calculator: - $ref: '#/components/schemas/POST_markets_201_response_data_relationships_tax_calculator' - customer_group: - $ref: '#/components/schemas/POST_customers_201_response_data_relationships_customer_group' - geocoder: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder' - price_list_schedulers: - $ref: '#/components/schemas/POST_markets_201_response_data_relationships_price_list_schedulers' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_markets_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - markets - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_markets_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_markets_201_response_data_relationships' - POST_markets_201_response: - properties: - data: - $ref: '#/components/schemas/POST_markets_201_response_data' - GET_markets_marketId_200_response_data_attributes: - properties: - number: - description: Unique identifier for the market (numeric). - example: 1234 - nullable: true - name: - description: The market's internal name. - example: EU Market - nullable: false - code: - description: A string that you can use to identify the market (must be unique - within the environment). - example: europe1 - nullable: true - facebook_pixel_id: - description: The Facebook Pixed ID. - example: "1234567890" - nullable: true - checkout_url: - description: The checkout URL for this market. - example: https://checkout.yourbrand.com/:order_id - nullable: true - external_prices_url: - description: The URL used to overwrite prices by an external source. - example: https://external_prices.yourbrand.com - nullable: true - external_order_validation_url: - description: The URL used to validate orders by an external source. - example: https://external_validation.yourbrand.com - nullable: true - private: - description: Indicates if market belongs to a customer_group. - example: true - nullable: true - shipping_cost_cutoff: - description: When specified indicates the maximum number of shipping line - items with cost that will be added to an order. - example: 3 - nullable: true - disabled_at: - description: Time at which this resource was disabled. - example: 2018-01-01T12:00:00.000Z - nullable: true - shared_secret: - description: The shared secret used to sign the external request payload. - example: 1c0994cc4e996e8c6ee56a2198f66f3c - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_markets_marketId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - markets - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_markets_marketId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_markets_201_response_data_relationships' - GET_markets_marketId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_markets_marketId_200_response_data' - PATCH_markets_marketId_200_response_data_attributes: - properties: - name: - description: The market's internal name. - example: EU Market - nullable: false - code: - description: A string that you can use to identify the market (must be unique - within the environment). - example: europe1 - nullable: true - facebook_pixel_id: - description: The Facebook Pixed ID. - example: "1234567890" - nullable: true - checkout_url: - description: The checkout URL for this market. - example: https://checkout.yourbrand.com/:order_id - nullable: true - external_prices_url: - description: The URL used to overwrite prices by an external source. - example: https://external_prices.yourbrand.com - nullable: true - external_order_validation_url: - description: The URL used to validate orders by an external source. - example: https://external_validation.yourbrand.com - nullable: true - shipping_cost_cutoff: - description: When specified indicates the maximum number of shipping line - items with cost that will be added to an order. - example: 3 - nullable: true - _disable: - description: Send this attribute if you want to mark this resource as disabled. - example: true - nullable: false - _enable: - description: Send this attribute if you want to mark this resource as enabled. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_markets_marketId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - markets - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_markets_marketId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_markets_201_response_data_relationships' - PATCH_markets_marketId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_markets_marketId_200_response_data' - GET_merchants_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - merchants - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The merchant's internal name. - example: The Brand Inc. - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - address: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - address - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_merchants_201_response_data_attributes: - properties: - name: - description: The merchant's internal name. - example: The Brand Inc. - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - name - POST_merchants_201_response_data_relationships: - properties: - address: - $ref: '#/components/schemas/POST_customer_addresses_201_response_data_relationships_address' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_merchants_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - merchants - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_merchants_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_merchants_201_response_data_relationships' - POST_merchants_201_response: - properties: - data: - $ref: '#/components/schemas/POST_merchants_201_response_data' - GET_merchants_merchantId_200_response_data_attributes: - properties: - name: - description: The merchant's internal name. - example: The Brand Inc. - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_merchants_merchantId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - merchants - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_merchants_merchantId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_merchants_201_response_data_relationships' - GET_merchants_merchantId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_merchants_merchantId_200_response_data' - PATCH_merchants_merchantId_200_response_data_attributes: - properties: - name: - description: The merchant's internal name. - example: The Brand Inc. - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_merchants_merchantId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - merchants - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_merchants_merchantId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_merchants_201_response_data_relationships' - PATCH_merchants_merchantId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_merchants_merchantId_200_response_data' - GET_order_amount_promotion_rules_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - order_amount_promotion_rules - links: - properties: - self: - description: URL - attributes: - properties: - type: - description: The promotion rule's type. - enum: - - order_amount_promotion_rules - - sku_list_promotion_rules - - coupon_codes_promotion_rules - - custom_promotion_rules - example: coupon_codes_promotion_rules - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - order_amount_cents: - description: "Apply the promotion only when order is over this\ - \ amount, in cents." - example: 1000 - nullable: true - order_amount_float: - description: "Apply the promotion only when order is over this\ - \ amount, float." - example: 10.0 - nullable: true - formatted_order_amount: - description: "Apply the promotion only when order is over this\ - \ amount, formatted." - example: "€10,00" - nullable: true - use_subtotal: - description: "Send this attribute if you want to compare the specified\ - \ amount with order's subtotal (excluding discounts, if any)." - example: true - nullable: true - relationships: - properties: - promotion: - $ref: '#/components/schemas/POST_coupon_codes_promotion_rules_201_response_data_relationships_promotion' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_order_amount_promotion_rules_201_response_data_attributes: - properties: - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - order_amount_cents: - description: "Apply the promotion only when order is over this amount, in\ - \ cents." - example: 1000 - use_subtotal: - description: "Send this attribute if you want to compare the specified amount\ - \ with order's subtotal (excluding discounts, if any)." - example: true - POST_order_amount_promotion_rules_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - order_amount_promotion_rules - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_order_amount_promotion_rules_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_custom_promotion_rules_201_response_data_relationships' - POST_order_amount_promotion_rules_201_response: - properties: - data: - $ref: '#/components/schemas/POST_order_amount_promotion_rules_201_response_data' - GET_order_amount_promotion_rules_orderAmountPromotionRuleId_200_response_data_attributes: - properties: - type: - description: The promotion rule's type. - enum: - - order_amount_promotion_rules - - sku_list_promotion_rules - - coupon_codes_promotion_rules - - custom_promotion_rules - example: coupon_codes_promotion_rules - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - order_amount_cents: - description: "Apply the promotion only when order is over this amount, in\ - \ cents." - example: 1000 - nullable: true - order_amount_float: - description: "Apply the promotion only when order is over this amount, float." - example: 10.0 - nullable: true - formatted_order_amount: - description: "Apply the promotion only when order is over this amount, formatted." - example: "€10,00" - nullable: true - use_subtotal: - description: "Send this attribute if you want to compare the specified amount\ - \ with order's subtotal (excluding discounts, if any)." - example: true - nullable: true - GET_order_amount_promotion_rules_orderAmountPromotionRuleId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - order_amount_promotion_rules - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_order_amount_promotion_rules_orderAmountPromotionRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_custom_promotion_rules_201_response_data_relationships' - GET_order_amount_promotion_rules_orderAmountPromotionRuleId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_order_amount_promotion_rules_orderAmountPromotionRuleId_200_response_data' - PATCH_order_amount_promotion_rules_orderAmountPromotionRuleId_200_response_data_attributes: - properties: - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - order_amount_cents: - description: "Apply the promotion only when order is over this amount, in\ - \ cents." - example: 1000 - nullable: true - use_subtotal: - description: "Send this attribute if you want to compare the specified amount\ - \ with order's subtotal (excluding discounts, if any)." - example: true - nullable: false - PATCH_order_amount_promotion_rules_orderAmountPromotionRuleId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - order_amount_promotion_rules - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_order_amount_promotion_rules_orderAmountPromotionRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_custom_promotion_rules_201_response_data_relationships' - PATCH_order_amount_promotion_rules_orderAmountPromotionRuleId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_order_amount_promotion_rules_orderAmountPromotionRuleId_200_response_data' - GET_order_copies_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - order_copies - links: - properties: - self: - description: URL - attributes: - properties: - type: - description: The order factory's type. - enum: - - order_copies - - recurring_order_copies - example: recurring_order_copies - nullable: false - status: - description: "The order factory status. One of 'pending' (default),\ - \ 'in_progress', 'failed', or 'completed'." - enum: - - pending - - in_progress - - failed - - completed - example: in_progress - nullable: false - started_at: - description: Time at which the order copy was started. - example: 2018-01-01T12:00:00.000Z - nullable: true - completed_at: - description: Time at which the order copy was completed. - example: 2018-01-01T12:00:00.000Z - nullable: true - failed_at: - description: Time at which the order copy has failed. - example: 2018-01-01T12:00:00.000Z - nullable: true - errors_log: - description: "Contains the order copy errors, if any." - example: - status: - - cannot transition from draft to placed - nullable: true - errors_count: - description: "Indicates the number of copy errors, if any." - example: 2 - nullable: true - place_target_order: - description: Indicates if the target order must be placed upon - copy. - example: true - nullable: true - reuse_wallet: - description: Indicates if the payment source within the source - order customer's wallet must be copied. - example: true - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - cancel_source_order: - description: Indicates if the source order must be cancelled upon - copy. - example: true - nullable: true - apply_promotions: - description: Indicates if promotions got applied upon copy. - example: true - nullable: true - ignore_invalid_coupon: - description: Indicates to ignore invalid coupon code during copy. - example: true - nullable: true - relationships: - properties: - source_order: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - source_order - id: - description: The resource ID - target_order: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - target_order - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - order_subscription: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - order_subscription - id: - description: The resource ID - POST_order_copies_201_response_data_attributes: - properties: - place_target_order: - description: Indicates if the target order must be placed upon copy. - example: true - reuse_wallet: - description: Indicates if the payment source within the source order customer's - wallet must be copied. - example: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - cancel_source_order: - description: Indicates if the source order must be cancelled upon copy. - example: true - apply_promotions: - description: Indicates if promotions got applied upon copy. - example: true - ignore_invalid_coupon: - description: Indicates to ignore invalid coupon code during copy. - example: true - POST_order_copies_201_response_data_relationships_source_order_data: - properties: - type: - description: The resource's type - enum: - - source_order - id: - description: The resource ID - POST_order_copies_201_response_data_relationships_source_order: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_order_copies_201_response_data_relationships_source_order_data' - POST_order_copies_201_response_data_relationships_target_order_data: - properties: - type: - description: The resource's type - enum: - - target_order - id: - description: The resource ID - POST_order_copies_201_response_data_relationships_target_order: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_order_copies_201_response_data_relationships_target_order_data' - POST_order_copies_201_response_data_relationships_order_subscription_data: - properties: - type: - description: The resource's type - enum: - - order_subscription - id: - description: The resource ID - POST_order_copies_201_response_data_relationships_order_subscription: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_order_copies_201_response_data_relationships_order_subscription_data' - POST_order_copies_201_response_data_relationships: - properties: - source_order: - $ref: '#/components/schemas/POST_order_copies_201_response_data_relationships_source_order' - target_order: - $ref: '#/components/schemas/POST_order_copies_201_response_data_relationships_target_order' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - order_subscription: - $ref: '#/components/schemas/POST_order_copies_201_response_data_relationships_order_subscription' - POST_order_copies_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - order_copies - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_order_copies_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_order_copies_201_response_data_relationships' - POST_order_copies_201_response: - properties: - data: - $ref: '#/components/schemas/POST_order_copies_201_response_data' - GET_order_copies_orderCopyId_200_response_data_attributes: - properties: - type: - description: The order factory's type. - enum: - - order_copies - - recurring_order_copies - example: recurring_order_copies - nullable: false - status: - description: "The order factory status. One of 'pending' (default), 'in_progress',\ - \ 'failed', or 'completed'." - enum: - - pending - - in_progress - - failed - - completed - example: in_progress - nullable: false - started_at: - description: Time at which the order copy was started. - example: 2018-01-01T12:00:00.000Z - nullable: true - completed_at: - description: Time at which the order copy was completed. - example: 2018-01-01T12:00:00.000Z - nullable: true - failed_at: - description: Time at which the order copy has failed. - example: 2018-01-01T12:00:00.000Z - nullable: true - errors_log: - description: "Contains the order copy errors, if any." - example: - status: - - cannot transition from draft to placed - nullable: true - errors_count: - description: "Indicates the number of copy errors, if any." - example: 2 - nullable: true - place_target_order: - description: Indicates if the target order must be placed upon copy. - example: true - nullable: true - reuse_wallet: - description: Indicates if the payment source within the source order customer's - wallet must be copied. - example: true - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - cancel_source_order: - description: Indicates if the source order must be cancelled upon copy. - example: true - nullable: true - apply_promotions: - description: Indicates if promotions got applied upon copy. - example: true - nullable: true - ignore_invalid_coupon: - description: Indicates to ignore invalid coupon code during copy. - example: true - nullable: true - GET_order_copies_orderCopyId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - order_copies - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_order_copies_orderCopyId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_order_copies_201_response_data_relationships' - GET_order_copies_orderCopyId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_order_copies_orderCopyId_200_response_data' - PATCH_order_copies_orderCopyId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - order_copies - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_billing_info_validation_rules_billingInfoValidationRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_order_copies_201_response_data_relationships' - PATCH_order_copies_orderCopyId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_order_copies_orderCopyId_200_response_data' - GET_order_factories_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - order_factories - links: - properties: - self: - description: URL - attributes: - properties: - type: - description: The order factory's type. - enum: - - order_copies - - recurring_order_copies - example: recurring_order_copies - nullable: false - status: - description: "The order factory status. One of 'pending' (default),\ - \ 'in_progress', 'failed', or 'completed'." - enum: - - pending - - in_progress - - failed - - completed - example: in_progress - nullable: false - started_at: - description: Time at which the order copy was started. - example: 2018-01-01T12:00:00.000Z - nullable: true - completed_at: - description: Time at which the order copy was completed. - example: 2018-01-01T12:00:00.000Z - nullable: true - failed_at: - description: Time at which the order copy has failed. - example: 2018-01-01T12:00:00.000Z - nullable: true - errors_log: - description: "Contains the order copy errors, if any." - example: - status: - - cannot transition from draft to placed - nullable: true - errors_count: - description: "Indicates the number of copy errors, if any." - example: 2 - nullable: true - place_target_order: - description: Indicates if the target order must be placed upon - copy. - example: true - nullable: true - reuse_wallet: - description: Indicates if the payment source within the source - order customer's wallet must be copied. - example: true - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - source_order: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - source_order - id: - description: The resource ID - target_order: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - target_order - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - GET_order_factories_orderFactoryId_200_response_data_attributes: - properties: - type: - description: The order factory's type. - enum: - - order_copies - - recurring_order_copies - example: recurring_order_copies - nullable: false - status: - description: "The order factory status. One of 'pending' (default), 'in_progress',\ - \ 'failed', or 'completed'." - enum: - - pending - - in_progress - - failed - - completed - example: in_progress - nullable: false - started_at: - description: Time at which the order copy was started. - example: 2018-01-01T12:00:00.000Z - nullable: true - completed_at: - description: Time at which the order copy was completed. - example: 2018-01-01T12:00:00.000Z - nullable: true - failed_at: - description: Time at which the order copy has failed. - example: 2018-01-01T12:00:00.000Z - nullable: true - errors_log: - description: "Contains the order copy errors, if any." - example: - status: - - cannot transition from draft to placed - nullable: true - errors_count: - description: "Indicates the number of copy errors, if any." - example: 2 - nullable: true - place_target_order: - description: Indicates if the target order must be placed upon copy. - example: true - nullable: true - reuse_wallet: - description: Indicates if the payment source within the source order customer's - wallet must be copied. - example: true - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_order_factories_orderFactoryId_200_response_data_relationships: - properties: - source_order: - $ref: '#/components/schemas/POST_order_copies_201_response_data_relationships_source_order' - target_order: - $ref: '#/components/schemas/POST_order_copies_201_response_data_relationships_target_order' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - GET_order_factories_orderFactoryId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - order_factories - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_order_factories_orderFactoryId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/GET_order_factories_orderFactoryId_200_response_data_relationships' - GET_order_factories_orderFactoryId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_order_factories_orderFactoryId_200_response_data' - GET_order_subscription_items_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - order_subscription_items - links: - properties: - self: - description: URL - attributes: - properties: - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - bundle_code: - description: The code of the associated bundle. - example: BUNDLEMM000000FFFFFFXLXX - nullable: true - quantity: - description: The subscription item quantity. - example: 4 - nullable: false - unit_amount_cents: - description: "The unit amount of the subscription item, in cents." - example: 9900 - nullable: true - unit_amount_float: - description: "The unit amount of the subscription item, float.\ - \ This can be useful to track the purchase on thrid party systems,\ - \ e.g Google Analyitcs Enhanced Ecommerce." - example: 99.0 - nullable: true - formatted_unit_amount: - description: "The unit amount of the subscription item, formatted.\ - \ This can be useful to display the amount with currency in\ - \ you views." - example: "€99,00" - nullable: true - total_amount_cents: - description: "Calculated as unit amount x quantity amount, in\ - \ cents." - example: 18800 - nullable: true - total_amount_float: - description: "Calculated as unit amount x quantity amount, float.\ - \ This can be useful to track the purchase on thrid party systems,\ - \ e.g Google Analyitcs Enhanced Ecommerce." - example: 188.0 - nullable: false - formatted_total_amount: - description: "Calculated as unit amount x quantity amount, formatted.\ - \ This can be useful to display the amount with currency in\ - \ you views." - example: "€188,00" - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - order_subscription: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - order_subscription - id: - description: The resource ID - item: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - item - id: - description: The resource ID - sku: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - sku - id: - description: The resource ID - bundle: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - bundle - id: - description: The resource ID - adjustment: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - adjustment - id: - description: The resource ID - source_line_item: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - source_line_item - id: - description: The resource ID - POST_order_subscription_items_201_response_data_attributes: - properties: - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - bundle_code: - description: The code of the associated bundle. - example: BUNDLEMM000000FFFFFFXLXX - quantity: - description: The subscription item quantity. - example: 4 - unit_amount_cents: - description: "The unit amount of the subscription item, in cents." - example: 9900 - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - quantity - POST_order_subscription_items_201_response_data_relationships_source_line_item_data: - properties: - type: - description: The resource's type - enum: - - source_line_item - id: - description: The resource ID - POST_order_subscription_items_201_response_data_relationships_source_line_item: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_order_subscription_items_201_response_data_relationships_source_line_item_data' - POST_order_subscription_items_201_response_data_relationships: - properties: - order_subscription: - $ref: '#/components/schemas/POST_order_copies_201_response_data_relationships_order_subscription' - item: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_item' - sku: - $ref: '#/components/schemas/POST_in_stock_subscriptions_201_response_data_relationships_sku' - bundle: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_bundle' - adjustment: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_adjustment' - source_line_item: - $ref: '#/components/schemas/POST_order_subscription_items_201_response_data_relationships_source_line_item' - POST_order_subscription_items_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - order_subscription_items - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_order_subscription_items_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_order_subscription_items_201_response_data_relationships' - POST_order_subscription_items_201_response: - properties: - data: - $ref: '#/components/schemas/POST_order_subscription_items_201_response_data' - GET_order_subscription_items_orderSubscriptionItemId_200_response_data_attributes: - properties: - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - bundle_code: - description: The code of the associated bundle. - example: BUNDLEMM000000FFFFFFXLXX - nullable: true - quantity: - description: The subscription item quantity. - example: 4 - nullable: false - unit_amount_cents: - description: "The unit amount of the subscription item, in cents." - example: 9900 - nullable: true - unit_amount_float: - description: "The unit amount of the subscription item, float. This can\ - \ be useful to track the purchase on thrid party systems, e.g Google Analyitcs\ - \ Enhanced Ecommerce." - example: 99.0 - nullable: true - formatted_unit_amount: - description: "The unit amount of the subscription item, formatted. This\ - \ can be useful to display the amount with currency in you views." - example: "€99,00" - nullable: true - total_amount_cents: - description: "Calculated as unit amount x quantity amount, in cents." - example: 18800 - nullable: true - total_amount_float: - description: "Calculated as unit amount x quantity amount, float. This can\ - \ be useful to track the purchase on thrid party systems, e.g Google Analyitcs\ - \ Enhanced Ecommerce." - example: 188.0 - nullable: false - formatted_total_amount: - description: "Calculated as unit amount x quantity amount, formatted. This\ - \ can be useful to display the amount with currency in you views." - example: "€188,00" - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_order_subscription_items_orderSubscriptionItemId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - order_subscription_items - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_order_subscription_items_orderSubscriptionItemId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_order_subscription_items_201_response_data_relationships' - GET_order_subscription_items_orderSubscriptionItemId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_order_subscription_items_orderSubscriptionItemId_200_response_data' - PATCH_order_subscription_items_orderSubscriptionItemId_200_response_data_attributes: - properties: - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - bundle_code: - description: The code of the associated bundle. - example: BUNDLEMM000000FFFFFFXLXX - nullable: true - quantity: - description: The subscription item quantity. - example: 4 - nullable: false - unit_amount_cents: - description: "The unit amount of the subscription item, in cents." - example: 9900 - nullable: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_order_subscription_items_orderSubscriptionItemId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - order_subscription_items - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_order_subscription_items_orderSubscriptionItemId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_order_subscription_items_201_response_data_relationships' - PATCH_order_subscription_items_orderSubscriptionItemId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_order_subscription_items_orderSubscriptionItemId_200_response_data' - GET_order_subscriptions_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - order_subscriptions - links: - properties: - self: - description: URL - attributes: - properties: - number: - description: Unique identifier for the subscription (numeric). - example: "1234" - nullable: true - status: - description: "The subscription status. One of 'draft' (default),\ - \ 'inactive', 'active', or 'cancelled'." - enum: - - draft - - inactive - - active - - cancelled - example: draft - nullable: false - frequency: - description: "The frequency of the subscription. Use one of the\ - \ supported within 'hourly', 'daily', 'weekly', 'monthly', 'two-month',\ - \ 'three-month', 'four-month', 'six-month', 'yearly', or provide\ - \ your custom crontab expression (min unit is hour). Must be\ - \ supported by existing associated subscription_model." - example: monthly - nullable: false - activate_by_source_order: - description: Indicates if the subscription will be activated considering - the placed source order as its first run. - example: true - nullable: true - place_target_order: - description: Indicates if the subscription created orders are - automatically placed at the end of the copy. - example: true - nullable: true - renewal_alert_period: - description: Indicates the number of hours the renewal alert will - be triggered before the subscription next run. Must be included - between 1 and 720 hours. - example: 1 - nullable: true - customer_email: - description: "The email address of the customer, if any, associated\ - \ to the source order." - example: john@example.com - nullable: true - starts_at: - description: The activation date/time of this subscription. - example: 2018-01-01T12:00:00.000Z - nullable: true - expires_at: - description: The expiration date/time of this subscription (must - be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: true - last_run_at: - description: The date/time of the subscription last run. - example: 2018-01-01T12:00:00.000Z - nullable: true - next_run_at: - description: "The date/time of the subscription next run. Can\ - \ be updated but only in the future, to copy with frequency\ - \ changes." - example: 2018-01-01T12:00:00.000Z - nullable: true - occurrencies: - description: The number of times this subscription has run. - example: 2 - nullable: true - errors_count: - description: "Indicates the number of subscription errors, if\ - \ any." - example: 3 - nullable: true - succeeded_on_last_run: - description: Indicates if the subscription has succeeded on its - last run. - example: true - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - market: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - market - id: - description: The resource ID - subscription_model: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - subscription_model - id: - description: The resource ID - source_order: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - source_order - id: - description: The resource ID - customer: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - customer - id: - description: The resource ID - customer_payment_source: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - customer_payment_source - id: - description: The resource ID - order_subscription_items: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - order_subscription_items - id: - description: The resource ID - order_factories: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - order_factories - id: - description: The resource ID - recurring_order_copies: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - recurring_order_copies - id: - description: The resource ID - orders: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - orders - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - tags: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - tags - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_order_subscriptions_201_response_data_attributes: - properties: - frequency: - description: "The frequency of the subscription. Use one of the supported\ - \ within 'hourly', 'daily', 'weekly', 'monthly', 'two-month', 'three-month',\ - \ 'four-month', 'six-month', 'yearly', or provide your custom crontab\ - \ expression (min unit is hour). Must be supported by existing associated\ - \ subscription_model." - example: monthly - activate_by_source_order: - description: Indicates if the subscription will be activated considering - the placed source order as its first run. - example: true - place_target_order: - description: Indicates if the subscription created orders are automatically - placed at the end of the copy. - example: true - renewal_alert_period: - description: Indicates the number of hours the renewal alert will be triggered - before the subscription next run. Must be included between 1 and 720 hours. - example: 1 - starts_at: - description: The activation date/time of this subscription. - example: 2018-01-01T12:00:00.000Z - expires_at: - description: The expiration date/time of this subscription (must be after - starts_at). - example: 2018-01-02T12:00:00.000Z - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - frequency - POST_order_subscriptions_201_response_data_relationships_customer_payment_source_data: - properties: - type: - description: The resource's type - enum: - - customer_payment_source - id: - description: The resource ID - POST_order_subscriptions_201_response_data_relationships_customer_payment_source: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_order_subscriptions_201_response_data_relationships_customer_payment_source_data' - POST_order_subscriptions_201_response_data_relationships_order_subscription_items_data: - properties: - type: - description: The resource's type - enum: - - order_subscription_items - id: - description: The resource ID - POST_order_subscriptions_201_response_data_relationships_order_subscription_items: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_order_subscriptions_201_response_data_relationships_order_subscription_items_data' - POST_order_subscriptions_201_response_data_relationships_order_factories_data: - properties: - type: - description: The resource's type - enum: - - order_factories - id: - description: The resource ID - POST_order_subscriptions_201_response_data_relationships_order_factories: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_order_subscriptions_201_response_data_relationships_order_factories_data' - POST_order_subscriptions_201_response_data_relationships_recurring_order_copies_data: - properties: - type: - description: The resource's type - enum: - - recurring_order_copies - id: - description: The resource ID - POST_order_subscriptions_201_response_data_relationships_recurring_order_copies: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_order_subscriptions_201_response_data_relationships_recurring_order_copies_data' - POST_order_subscriptions_201_response_data_relationships: - properties: - market: - $ref: '#/components/schemas/POST_billing_info_validation_rules_201_response_data_relationships_market' - subscription_model: - $ref: '#/components/schemas/POST_markets_201_response_data_relationships_subscription_model' - source_order: - $ref: '#/components/schemas/POST_order_copies_201_response_data_relationships_source_order' - customer: - $ref: '#/components/schemas/POST_coupon_recipients_201_response_data_relationships_customer' - customer_payment_source: - $ref: '#/components/schemas/POST_order_subscriptions_201_response_data_relationships_customer_payment_source' - order_subscription_items: - $ref: '#/components/schemas/POST_order_subscriptions_201_response_data_relationships_order_subscription_items' - order_factories: - $ref: '#/components/schemas/POST_order_subscriptions_201_response_data_relationships_order_factories' - recurring_order_copies: - $ref: '#/components/schemas/POST_order_subscriptions_201_response_data_relationships_recurring_order_copies' - orders: - $ref: '#/components/schemas/POST_customers_201_response_data_relationships_orders' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - tags: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_tags' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_order_subscriptions_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - order_subscriptions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_order_subscriptions_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_order_subscriptions_201_response_data_relationships' - POST_order_subscriptions_201_response: - properties: - data: - $ref: '#/components/schemas/POST_order_subscriptions_201_response_data' - GET_order_subscriptions_orderSubscriptionId_200_response_data_attributes: - properties: - number: - description: Unique identifier for the subscription (numeric). - example: "1234" - nullable: true - status: - description: "The subscription status. One of 'draft' (default), 'inactive',\ - \ 'active', or 'cancelled'." - enum: - - draft - - inactive - - active - - cancelled - example: draft - nullable: false - frequency: - description: "The frequency of the subscription. Use one of the supported\ - \ within 'hourly', 'daily', 'weekly', 'monthly', 'two-month', 'three-month',\ - \ 'four-month', 'six-month', 'yearly', or provide your custom crontab\ - \ expression (min unit is hour). Must be supported by existing associated\ - \ subscription_model." - example: monthly - nullable: false - activate_by_source_order: - description: Indicates if the subscription will be activated considering - the placed source order as its first run. - example: true - nullable: true - place_target_order: - description: Indicates if the subscription created orders are automatically - placed at the end of the copy. - example: true - nullable: true - renewal_alert_period: - description: Indicates the number of hours the renewal alert will be triggered - before the subscription next run. Must be included between 1 and 720 hours. - example: 1 - nullable: true - customer_email: - description: "The email address of the customer, if any, associated to the\ - \ source order." - example: john@example.com - nullable: true - starts_at: - description: The activation date/time of this subscription. - example: 2018-01-01T12:00:00.000Z - nullable: true - expires_at: - description: The expiration date/time of this subscription (must be after - starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: true - last_run_at: - description: The date/time of the subscription last run. - example: 2018-01-01T12:00:00.000Z - nullable: true - next_run_at: - description: "The date/time of the subscription next run. Can be updated\ - \ but only in the future, to copy with frequency changes." - example: 2018-01-01T12:00:00.000Z - nullable: true - occurrencies: - description: The number of times this subscription has run. - example: 2 - nullable: true - errors_count: - description: "Indicates the number of subscription errors, if any." - example: 3 - nullable: true - succeeded_on_last_run: - description: Indicates if the subscription has succeeded on its last run. - example: true - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_order_subscriptions_orderSubscriptionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - order_subscriptions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_order_subscriptions_orderSubscriptionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_order_subscriptions_201_response_data_relationships' - GET_order_subscriptions_orderSubscriptionId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_order_subscriptions_orderSubscriptionId_200_response_data' - PATCH_order_subscriptions_orderSubscriptionId_200_response_data_attributes: - properties: - frequency: - description: "The frequency of the subscription. Use one of the supported\ - \ within 'hourly', 'daily', 'weekly', 'monthly', 'two-month', 'three-month',\ - \ 'four-month', 'six-month', 'yearly', or provide your custom crontab\ - \ expression (min unit is hour). Must be supported by existing associated\ - \ subscription_model." - example: monthly - nullable: false - activate_by_source_order: - description: Indicates if the subscription will be activated considering - the placed source order as its first run. - example: true - nullable: false - place_target_order: - description: Indicates if the subscription created orders are automatically - placed at the end of the copy. - example: true - nullable: false - renewal_alert_period: - description: Indicates the number of hours the renewal alert will be triggered - before the subscription next run. Must be included between 1 and 720 hours. - example: 1 - nullable: true - expires_at: - description: The expiration date/time of this subscription (must be after - starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: true - next_run_at: - description: "The date/time of the subscription next run. Can be updated\ - \ but only in the future, to copy with frequency changes." - example: 2018-01-01T12:00:00.000Z - nullable: true - _activate: - description: Send this attribute if you want to mark this subscription as - active. - example: true - nullable: false - _deactivate: - description: Send this attribute if you want to mark this subscription as - inactive. - example: true - nullable: false - _cancel: - description: Send this attribute if you want to mark this subscription as - cancelled. - example: true - nullable: false - _convert: - description: Send this attribute if you want to convert a manual subscription - to an automatic one. A subscription model is required before conversion. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_order_subscriptions_orderSubscriptionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - order_subscriptions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_order_subscriptions_orderSubscriptionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_order_subscriptions_201_response_data_relationships' - PATCH_order_subscriptions_orderSubscriptionId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_order_subscriptions_orderSubscriptionId_200_response_data' - GET_orders_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - orders - links: - properties: - self: - description: URL - attributes: - properties: - number: - description: "The order identifier. Can be specified if unique\ - \ within the organization (for enterprise plans only), default\ - \ to numeric ID otherwise. Cannot be passed by sales channels." - example: "1234" - nullable: true - affiliate_code: - description: "The affiliate code, if any, the seller will transfer\ - \ commission on shop by link transactions." - example: xxxx-yyyy-zzzz - nullable: true - autorefresh: - description: Save this attribute as 'false' if you want prevent - the order to be refreshed automatically at each change (much - faster). - example: true - nullable: true - place_async: - description: "Save this attribute as 'true' if you want perform\ - \ the place asynchronously. Payment errors, if any, will be\ - \ collected afterwards." - example: true - nullable: true - status: - description: "The order status. One of 'draft' (default), 'pending',\ - \ 'editing', 'placing', 'placed', 'approved', or 'cancelled'." - enum: - - draft - - pending - - editing - - placing - - placed - - approved - - cancelled - example: draft - nullable: false - payment_status: - description: "The order payment status. One of 'unpaid' (default),\ - \ 'authorized', 'partially_authorized', 'paid', 'partially_paid',\ - \ 'voided', 'partially_voided', 'refunded', 'partially_refunded',\ - \ or 'free'." - enum: - - unpaid - - authorized - - partially_authorized - - paid - - partially_paid - - voided - - partially_voided - - refunded - - partially_refunded - - free - example: unpaid - nullable: false - fulfillment_status: - description: "The order fulfillment status. One of 'unfulfilled'\ - \ (default), 'in_progress', 'fulfilled', or 'not_required'." - enum: - - unfulfilled - - in_progress - - fulfilled - - not_required - example: unfulfilled - nullable: false - guest: - description: Indicates if the order has been placed as guest. - example: true - nullable: true - editable: - description: Indicates if the order can be edited. - example: true - nullable: true - customer_email: - description: "The email address of the associated customer. When\ - \ creating or updating an order, this is a shortcut to find\ - \ or create the associated customer by email." - example: john@example.com - nullable: true - language_code: - description: "The preferred language code (ISO 639-1) to be used\ - \ when communicating with the customer. This can be useful when\ - \ sending the order to 3rd party marketing tools and CRMs. If\ - \ the language is supported, the hosted checkout will be localized\ - \ accordingly." - example: it - nullable: true - currency_code: - description: "The international 3-letter currency code as defined\ - \ by the ISO 4217 standard, automatically inherited from the\ - \ order's market." - example: EUR - nullable: true - tax_included: - description: "Indicates if taxes are included in the order amounts,\ - \ automatically inherited from the order's price list." - example: true - nullable: true - tax_rate: - description: The tax rate for this order (if calculated). - example: 0.22 - nullable: true - freight_taxable: - description: Indicates if taxes are applied to shipping costs. - example: true - nullable: true - payment_method_taxable: - description: Indicates if taxes are applied to payment methods - costs. - example: true - nullable: true - adjustment_taxable: - description: Indicates if taxes are applied to positive adjustments. - example: true - nullable: true - gift_card_taxable: - description: Indicates if taxes are applied to purchased gift - cards. - example: false - nullable: true - requires_billing_info: - description: Indicates if the billing address associated to this - order requires billing info to be present. - example: false - nullable: true - country_code: - description: "The international 2-letter country code as defined\ - \ by the ISO 3166-1 standard, automatically inherited from the\ - \ order's shipping or billing addresses." - example: IT - nullable: true - shipping_country_code_lock: - description: "The country code that you want the shipping address\ - \ to be locked to. This can be useful to make sure the shipping\ - \ address belongs to a given shipping country, e.g. the one\ - \ selected in a country selector page. Not relevant if order\ - \ contains only digital products." - example: IT - nullable: true - coupon_code: - description: "The coupon code to be used for the order. If valid,\ - \ it triggers a promotion adding a discount line item to the\ - \ order." - example: SUMMERDISCOUNT - nullable: true - gift_card_code: - description: "The gift card code (at least the first 8 characters)\ - \ to be used for the order. If valid, it uses the gift card\ - \ balance to pay for the order." - example: cc92c23e-967e-48b2-a323-59add603301f - nullable: true - subtotal_amount_cents: - description: "The sum of all the SKU line items total amounts,\ - \ in cents." - example: 5000 - nullable: true - subtotal_amount_float: - description: "The sum of all the SKU line items total amounts,\ - \ float." - example: 50.0 - nullable: true - formatted_subtotal_amount: - description: "The sum of all the SKU line items total amounts,\ - \ formatted." - example: "€50,00" - nullable: true - shipping_amount_cents: - description: "The sum of all the shipping costs, in cents." - example: 1200 - nullable: true - shipping_amount_float: - description: "The sum of all the shipping costs, float." - example: 12.0 - nullable: true - formatted_shipping_amount: - description: "The sum of all the shipping costs, formatted." - example: "€12,00" - nullable: true - payment_method_amount_cents: - description: "The payment method costs, in cents." - example: 0 - nullable: true - payment_method_amount_float: - description: "The payment method costs, float." - example: 0.0 - nullable: true - formatted_payment_method_amount: - description: "The payment method costs, formatted." - example: "€0,00" - nullable: true - discount_amount_cents: - description: "The sum of all the discounts applied to the order,\ - \ in cents (negative amount)." - example: -500 - nullable: true - discount_amount_float: - description: "The sum of all the discounts applied to the order,\ - \ float." - example: -5.0 - nullable: true - formatted_discount_amount: - description: "The sum of all the discounts applied to the order,\ - \ formatted." - example: "-€5,00" - nullable: true - adjustment_amount_cents: - description: "The sum of all the adjustments applied to the order,\ - \ in cents." - example: 1500 - nullable: true - adjustment_amount_float: - description: "The sum of all the adjustments applied to the order,\ - \ float." - example: 15.0 - nullable: true - formatted_adjustment_amount: - description: "The sum of all the adjustments applied to the order,\ - \ formatted." - example: "€15,00" - nullable: true - gift_card_amount_cents: - description: "The sum of all the gift_cards applied to the order,\ - \ in cents." - example: 1500 - nullable: true - gift_card_amount_float: - description: "The sum of all the gift_cards applied to the order,\ - \ float." - example: 15.0 - nullable: true - formatted_gift_card_amount: - description: "The sum of all the gift_cards applied to the order,\ - \ formatted." - example: "€15,00" - nullable: true - total_tax_amount_cents: - description: "The sum of all the taxes applied to the order, in\ - \ cents." - example: 1028 - nullable: true - total_tax_amount_float: - description: "The sum of all the taxes applied to the order, float." - example: 10.28 - nullable: true - formatted_total_tax_amount: - description: "The sum of all the taxes applied to the order, formatted." - example: "€10,28" - nullable: true - subtotal_tax_amount_cents: - description: "The taxes applied to the order's subtotal, in cents." - example: 902 - nullable: true - subtotal_tax_amount_float: - description: "The taxes applied to the order's subtotal, float." - example: 9.02 - nullable: true - formatted_subtotal_tax_amount: - description: "The taxes applied to the order's subtotal, formatted." - example: "€9,02" - nullable: true - shipping_tax_amount_cents: - description: "The taxes applied to the order's shipping costs,\ - \ in cents." - example: 216 - nullable: true - shipping_tax_amount_float: - description: "The taxes applied to the order's shipping costs,\ - \ float." - example: 2.16 - nullable: true - formatted_shipping_tax_amount: - description: "The taxes applied to the order's shipping costs,\ - \ formatted." - example: "€2,16" - nullable: true - payment_method_tax_amount_cents: - description: "The taxes applied to the order's payment method\ - \ costs, in cents." - example: 0 - nullable: true - payment_method_tax_amount_float: - description: "The taxes applied to the order's payment method\ - \ costs, float." - example: 0.0 - nullable: true - formatted_payment_method_tax_amount: - description: "The taxes applied to the order's payment method\ - \ costs, formatted." - example: "€0,00" - nullable: true - adjustment_tax_amount_cents: - description: "The taxes applied to the order adjustments, in cents." - example: 900 - nullable: true - adjustment_tax_amount_float: - description: "The taxes applied to the order adjustments, float." - example: 9.0 - nullable: true - formatted_adjustment_tax_amount: - description: "The taxes applied to the order adjustments, formatted." - example: "€9,00" - nullable: true - total_amount_cents: - description: "The order's total amount, in cents." - example: 5700 - nullable: true - total_amount_float: - description: "The order's total amount, float." - example: 57.0 - nullable: true - formatted_total_amount: - description: "The order's total amount, formatted." - example: "€57,00" - nullable: true - total_taxable_amount_cents: - description: "The order's total taxable amount, in cents (without\ - \ discounts)." - example: 4672 - nullable: true - total_taxable_amount_float: - description: "The order's total taxable amount, float." - example: 46.72 - nullable: true - formatted_total_taxable_amount: - description: "The order's total taxable amount, formatted." - example: "€46,72" - nullable: true - subtotal_taxable_amount_cents: - description: "The order's subtotal taxable amount, in cents (equal\ - \ to subtotal_amount_cents when prices don't include taxes)." - example: 4098 - nullable: true - subtotal_taxable_amount_float: - description: "The order's subtotal taxable amount, float." - example: 40.98 - nullable: true - formatted_subtotal_taxable_amount: - description: "The order's subtotal taxable amount, formatted." - example: "€40,98" - nullable: true - shipping_taxable_amount_cents: - description: "The order's shipping taxable amount, in cents (equal\ - \ to shipping_amount_cents when prices don't include taxes)." - example: 984 - nullable: true - shipping_taxable_amount_float: - description: "The order's shipping taxable amount, float." - example: 9.84 - nullable: true - formatted_shipping_taxable_amount: - description: "The order's shipping taxable amount, formatted." - example: "€9,84" - nullable: true - payment_method_taxable_amount_cents: - description: "The order's payment method taxable amount, in cents\ - \ (equal to payment_method_amount_cents when prices don't include\ - \ taxes)." - example: 0 - nullable: true - payment_method_taxable_amount_float: - description: "The order's payment method taxable amount, float." - example: 0.0 - nullable: true - formatted_payment_method_taxable_amount: - description: "The order's payment method taxable amount, formatted." - example: "€0,00" - nullable: true - adjustment_taxable_amount_cents: - description: "The order's adjustment taxable amount, in cents\ - \ (equal to discount_adjustment_cents when prices don't include\ - \ taxes)." - example: 120 - nullable: true - adjustment_taxable_amount_float: - description: "The order's adjustment taxable amount, float." - example: 1.2 - nullable: true - formatted_adjustment_taxable_amount: - description: "The order's adjustment taxable amount, formatted." - example: "€1,20" - nullable: true - total_amount_with_taxes_cents: - description: "The order's total amount (when prices include taxes)\ - \ or the order's total + taxes amount (when prices don't include\ - \ taxes, e.g. US Markets or B2B)." - example: 5700 - nullable: true - total_amount_with_taxes_float: - description: "The order's total amount with taxes, float." - example: 57.0 - nullable: true - formatted_total_amount_with_taxes: - description: "The order's total amount with taxes, formatted." - example: "€57,00" - nullable: true - fees_amount_cents: - description: "The fees amount that is applied by Commerce Layer,\ - \ in cents." - example: 0 - nullable: true - fees_amount_float: - description: "The fees amount that is applied by Commerce Layer,\ - \ float." - example: 0.0 - nullable: true - formatted_fees_amount: - description: "The fees amount that is applied by Commerce Layer,\ - \ formatted." - example: "€0,00" - nullable: true - duty_amount_cents: - description: "The duty amount that is calculated by external services,\ - \ in cents." - example: 0 - nullable: true - duty_amount_float: - description: "The duty amount that is calculated by external services,\ - \ float." - example: 0.0 - nullable: true - formatted_duty_amount: - description: "The duty amount that is calculated by external services,\ - \ formatted." - example: "€0,00" - nullable: true - place_total_amount_cents: - description: "The total amount at place time, in cents, which\ - \ is used internally for editing." - example: 0 - nullable: true - place_total_amount_float: - description: "The total amount at place time, float." - example: 0.0 - nullable: true - formatted_place_total_amount: - description: "The total amount at place time, formatted." - example: "€0,00" - nullable: true - skus_count: - description: The total number of SKUs in the order's line items. - This can be useful to display a preview of the customer shopping - cart content. - example: 2 - nullable: true - line_item_options_count: - description: The total number of line item options. This can be - useful to display a preview of the customer shopping cart content. - example: 1 - nullable: true - shipments_count: - description: The total number of shipments. This can be useful - to manage the shipping method(s) selection during checkout. - example: 1 - nullable: true - tax_calculations_count: - description: The total number of tax calculations. This can be - useful to monitor external tax service usage. - example: 1 - nullable: true - validations_count: - description: The total number of external validation performed. - This can be useful to monitor if external validation has been - triggered. - example: 1 - nullable: true - errors_count: - description: The total number of resource errors. - example: 1 - nullable: true - payment_source_details: - description: An object that contains the shareable details of - the order's payment source. - example: - foo: bar - nullable: true - token: - description: A unique token that can be shared more securely instead - of the order's id. - example: 1c0994cc4e996e8c6ee56a2198f66f3c - nullable: true - cart_url: - description: "The cart url on your site. If present, it will be\ - \ used on our hosted checkout application." - example: https://yourdomain.com/cart - nullable: true - return_url: - description: "The return url on your site. If present, it will\ - \ be used on our hosted checkout application." - example: https://yourdomain.com/ - nullable: true - terms_url: - description: "The terms and conditions url on your site. If present,\ - \ it will be used on our hosted checkout application." - example: https://yourdomain.com/terms - nullable: true - privacy_url: - description: "The privacy policy url on your site. If present,\ - \ it will be used on our hosted checkout application." - example: https://yourdomain.com/privacy - nullable: true - checkout_url: - description: The checkout url that was automatically generated - for the order. Send the customers to this url to let them checkout - the order securely on our hosted checkout application. - example: https://yourdomain.commercelayer.io/checkout/1c0994cc4e996e8c6ee56a2198f66f3c - nullable: true - placed_at: - description: Time at which the order was placed. - example: 2018-01-01T12:00:00.000Z - nullable: true - approved_at: - description: Time at which the order was approved. - example: 2018-01-01T12:00:00.000Z - nullable: true - cancelled_at: - description: Time at which the order was cancelled. - example: 2018-01-01T12:00:00.000Z - nullable: true - payment_updated_at: - description: Time at which the order's payment status was last - updated. - example: 2018-01-01T12:00:00.000Z - nullable: true - fulfillment_updated_at: - description: Time at which the order's fulfillment status was - last updated. - example: 2018-01-01T12:00:00.000Z - nullable: true - refreshed_at: - description: Last time at which an order was manually refreshed. - example: 2018-01-01T12:00:00.000Z - nullable: true - archived_at: - description: Time at which the resource has been archived. - example: 2018-01-01T12:00:00.000Z - nullable: true - subscription_created_at: - description: Time at which the order has been marked to create - a subscription from its recurring line items. - example: 2018-01-01T12:00:00.000Z - nullable: true - circuit_state: - description: "The circuit breaker state, by default it is 'closed'.\ - \ It can become 'open' once the number of consecutive failures\ - \ overlaps the specified threshold, in such case no further\ - \ calls to the failing callback are made." - example: closed - nullable: true - circuit_failure_count: - description: "The number of consecutive failures recorded by the\ - \ circuit breaker associated to this resource, will be reset\ - \ on first successful call to callback." - example: 5 - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - market: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - market - id: - description: The resource ID - customer: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - customer - id: - description: The resource ID - shipping_address: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - shipping_address - id: - description: The resource ID - billing_address: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - billing_address - id: - description: The resource ID - available_payment_methods: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - available_payment_methods - id: - description: The resource ID - available_customer_payment_sources: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - available_customer_payment_sources - id: - description: The resource ID - available_free_skus: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - available_free_skus - id: - description: The resource ID - available_free_bundles: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - available_free_bundles - id: - description: The resource ID - payment_method: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - payment_method - id: - description: The resource ID - payment_source: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - payment_source - id: - description: The resource ID - line_items: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - line_items - id: - description: The resource ID - line_item_options: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - line_item_options - id: - description: The resource ID - stock_reservations: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - stock_reservations - id: - description: The resource ID - stock_line_items: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - stock_line_items - id: - description: The resource ID - stock_transfers: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - stock_transfers - id: - description: The resource ID - shipments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - shipments - id: - description: The resource ID - payment_options: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - payment_options - id: - description: The resource ID - transactions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - transactions - id: - description: The resource ID - authorizations: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - authorizations - id: - description: The resource ID - captures: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - captures - id: - description: The resource ID - voids: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - voids - id: - description: The resource ID - refunds: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - refunds - id: - description: The resource ID - returns: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - returns - id: - description: The resource ID - order_subscription: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - order_subscription - id: - description: The resource ID - order_subscriptions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - order_subscriptions - id: - description: The resource ID - order_factories: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - order_factories - id: - description: The resource ID - order_copies: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - order_copies - id: - description: The resource ID - recurring_order_copies: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - recurring_order_copies - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - links: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - links - id: - description: The resource ID - resource_errors: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - resource_errors - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - tags: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - tags - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_orders_201_response_data_attributes: - properties: - number: - description: "The order identifier. Can be specified if unique within the\ - \ organization (for enterprise plans only), default to numeric ID otherwise.\ - \ Cannot be passed by sales channels." - example: "1234" - affiliate_code: - description: "The affiliate code, if any, the seller will transfer commission\ - \ on shop by link transactions." - example: xxxx-yyyy-zzzz - autorefresh: - description: Save this attribute as 'false' if you want prevent the order - to be refreshed automatically at each change (much faster). - example: true - place_async: - description: "Save this attribute as 'true' if you want perform the place\ - \ asynchronously. Payment errors, if any, will be collected afterwards." - example: true - guest: - description: Indicates if the order has been placed as guest. - example: true - customer_email: - description: "The email address of the associated customer. When creating\ - \ or updating an order, this is a shortcut to find or create the associated\ - \ customer by email." - example: john@example.com - customer_password: - description: "The password of the associated customer. When creating or\ - \ updating an order, this is a shortcut to sign up the associated customer." - example: secret - language_code: - description: "The preferred language code (ISO 639-1) to be used when communicating\ - \ with the customer. This can be useful when sending the order to 3rd\ - \ party marketing tools and CRMs. If the language is supported, the hosted\ - \ checkout will be localized accordingly." - example: it - freight_taxable: - description: Indicates if taxes are applied to shipping costs. - example: true - payment_method_taxable: - description: Indicates if taxes are applied to payment methods costs. - example: true - adjustment_taxable: - description: Indicates if taxes are applied to positive adjustments. - example: true - gift_card_taxable: - description: Indicates if taxes are applied to purchased gift cards. - example: false - shipping_country_code_lock: - description: "The country code that you want the shipping address to be\ - \ locked to. This can be useful to make sure the shipping address belongs\ - \ to a given shipping country, e.g. the one selected in a country selector\ - \ page. Not relevant if order contains only digital products." - example: IT - coupon_code: - description: "The coupon code to be used for the order. If valid, it triggers\ - \ a promotion adding a discount line item to the order." - example: SUMMERDISCOUNT - gift_card_code: - description: "The gift card code (at least the first 8 characters) to be\ - \ used for the order. If valid, it uses the gift card balance to pay for\ - \ the order." - example: cc92c23e-967e-48b2-a323-59add603301f - cart_url: - description: "The cart url on your site. If present, it will be used on\ - \ our hosted checkout application." - example: https://yourdomain.com/cart - return_url: - description: "The return url on your site. If present, it will be used on\ - \ our hosted checkout application." - example: https://yourdomain.com/ - terms_url: - description: "The terms and conditions url on your site. If present, it\ - \ will be used on our hosted checkout application." - example: https://yourdomain.com/terms - privacy_url: - description: "The privacy policy url on your site. If present, it will be\ - \ used on our hosted checkout application." - example: https://yourdomain.com/privacy - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - POST_orders_201_response_data_relationships_shipping_address_data: - properties: - type: - description: The resource's type - enum: - - shipping_address - id: - description: The resource ID - POST_orders_201_response_data_relationships_shipping_address: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_shipping_address_data' - POST_orders_201_response_data_relationships_billing_address_data: - properties: - type: - description: The resource's type - enum: - - billing_address - id: - description: The resource ID - POST_orders_201_response_data_relationships_billing_address: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_billing_address_data' - POST_orders_201_response_data_relationships_available_payment_methods_data: - properties: - type: - description: The resource's type - enum: - - available_payment_methods - id: - description: The resource ID - POST_orders_201_response_data_relationships_available_payment_methods: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_available_payment_methods_data' - POST_orders_201_response_data_relationships_available_customer_payment_sources_data: - properties: - type: - description: The resource's type - enum: - - available_customer_payment_sources - id: - description: The resource ID - POST_orders_201_response_data_relationships_available_customer_payment_sources: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_available_customer_payment_sources_data' - POST_orders_201_response_data_relationships_available_free_skus_data: - properties: - type: - description: The resource's type - enum: - - available_free_skus - id: - description: The resource ID - POST_orders_201_response_data_relationships_available_free_skus: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_available_free_skus_data' - POST_orders_201_response_data_relationships_available_free_bundles_data: - properties: - type: - description: The resource's type - enum: - - available_free_bundles - id: - description: The resource ID - POST_orders_201_response_data_relationships_available_free_bundles: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_available_free_bundles_data' - POST_orders_201_response_data_relationships_line_items_data: - properties: - type: - description: The resource's type - enum: - - line_items - id: - description: The resource ID - POST_orders_201_response_data_relationships_line_items: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_line_items_data' - POST_orders_201_response_data_relationships_shipments_data: - properties: - type: - description: The resource's type - enum: - - shipments - id: - description: The resource ID - POST_orders_201_response_data_relationships_shipments: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_shipments_data' - POST_orders_201_response_data_relationships_payment_options_data: - properties: - type: - description: The resource's type - enum: - - payment_options - id: - description: The resource ID - POST_orders_201_response_data_relationships_payment_options: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_payment_options_data' - POST_orders_201_response_data_relationships_transactions_data: - properties: - type: - description: The resource's type - enum: - - transactions - id: - description: The resource ID - POST_orders_201_response_data_relationships_transactions: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_transactions_data' - POST_orders_201_response_data_relationships_authorizations_data: - properties: - type: - description: The resource's type - enum: - - authorizations - id: - description: The resource ID - POST_orders_201_response_data_relationships_authorizations: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_authorizations_data' - POST_orders_201_response_data_relationships_order_copies_data: - properties: - type: - description: The resource's type - enum: - - order_copies - id: - description: The resource ID - POST_orders_201_response_data_relationships_order_copies: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_order_copies_data' - POST_orders_201_response_data_relationships_links_data: - properties: - type: - description: The resource's type - enum: - - links - id: - description: The resource ID - POST_orders_201_response_data_relationships_links: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_links_data' - POST_orders_201_response_data_relationships_resource_errors_data: - properties: - type: - description: The resource's type - enum: - - resource_errors - id: - description: The resource ID - POST_orders_201_response_data_relationships_resource_errors: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_resource_errors_data' - POST_orders_201_response_data_relationships: - properties: - market: - $ref: '#/components/schemas/POST_billing_info_validation_rules_201_response_data_relationships_market' - customer: - $ref: '#/components/schemas/POST_coupon_recipients_201_response_data_relationships_customer' - shipping_address: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_shipping_address' - billing_address: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_billing_address' - available_payment_methods: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_available_payment_methods' - available_customer_payment_sources: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_available_customer_payment_sources' - available_free_skus: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_available_free_skus' - available_free_bundles: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_available_free_bundles' - payment_method: - $ref: '#/components/schemas/POST_customer_payment_sources_201_response_data_relationships_payment_method' - payment_source: - $ref: '#/components/schemas/POST_customer_payment_sources_201_response_data_relationships_payment_source' - line_items: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_line_items' - line_item_options: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_line_item_options' - stock_reservations: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_stock_reservations' - stock_line_items: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_stock_line_items' - stock_transfers: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_stock_transfers' - shipments: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_shipments' - payment_options: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_payment_options' - transactions: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_transactions' - authorizations: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_authorizations' - captures: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_captures' - voids: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_voids' - refunds: - $ref: '#/components/schemas/GET_captures_captureId_200_response_data_relationships_refunds' - returns: - $ref: '#/components/schemas/POST_customers_201_response_data_relationships_returns' - order_subscription: - $ref: '#/components/schemas/POST_order_copies_201_response_data_relationships_order_subscription' - order_subscriptions: - $ref: '#/components/schemas/POST_customers_201_response_data_relationships_order_subscriptions' - order_factories: - $ref: '#/components/schemas/POST_order_subscriptions_201_response_data_relationships_order_factories' - order_copies: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_order_copies' - recurring_order_copies: - $ref: '#/components/schemas/POST_order_subscriptions_201_response_data_relationships_recurring_order_copies' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - links: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_links' - resource_errors: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_resource_errors' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - tags: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_tags' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_orders_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - orders - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_orders_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships' - POST_orders_201_response: - properties: - data: - $ref: '#/components/schemas/POST_orders_201_response_data' - GET_orders_orderId_200_response_data_attributes: - properties: - number: - description: "The order identifier. Can be specified if unique within the\ - \ organization (for enterprise plans only), default to numeric ID otherwise.\ - \ Cannot be passed by sales channels." - example: "1234" - nullable: true - affiliate_code: - description: "The affiliate code, if any, the seller will transfer commission\ - \ on shop by link transactions." - example: xxxx-yyyy-zzzz - nullable: true - autorefresh: - description: Save this attribute as 'false' if you want prevent the order - to be refreshed automatically at each change (much faster). - example: true - nullable: true - place_async: - description: "Save this attribute as 'true' if you want perform the place\ - \ asynchronously. Payment errors, if any, will be collected afterwards." - example: true - nullable: true - status: - description: "The order status. One of 'draft' (default), 'pending', 'editing',\ - \ 'placing', 'placed', 'approved', or 'cancelled'." - enum: - - draft - - pending - - editing - - placing - - placed - - approved - - cancelled - example: draft - nullable: false - payment_status: - description: "The order payment status. One of 'unpaid' (default), 'authorized',\ - \ 'partially_authorized', 'paid', 'partially_paid', 'voided', 'partially_voided',\ - \ 'refunded', 'partially_refunded', or 'free'." - enum: - - unpaid - - authorized - - partially_authorized - - paid - - partially_paid - - voided - - partially_voided - - refunded - - partially_refunded - - free - example: unpaid - nullable: false - fulfillment_status: - description: "The order fulfillment status. One of 'unfulfilled' (default),\ - \ 'in_progress', 'fulfilled', or 'not_required'." - enum: - - unfulfilled - - in_progress - - fulfilled - - not_required - example: unfulfilled - nullable: false - guest: - description: Indicates if the order has been placed as guest. - example: true - nullable: true - editable: - description: Indicates if the order can be edited. - example: true - nullable: true - customer_email: - description: "The email address of the associated customer. When creating\ - \ or updating an order, this is a shortcut to find or create the associated\ - \ customer by email." - example: john@example.com - nullable: true - language_code: - description: "The preferred language code (ISO 639-1) to be used when communicating\ - \ with the customer. This can be useful when sending the order to 3rd\ - \ party marketing tools and CRMs. If the language is supported, the hosted\ - \ checkout will be localized accordingly." - example: it - nullable: true - currency_code: - description: "The international 3-letter currency code as defined by the\ - \ ISO 4217 standard, automatically inherited from the order's market." - example: EUR - nullable: true - tax_included: - description: "Indicates if taxes are included in the order amounts, automatically\ - \ inherited from the order's price list." - example: true - nullable: true - tax_rate: - description: The tax rate for this order (if calculated). - example: 0.22 - nullable: true - freight_taxable: - description: Indicates if taxes are applied to shipping costs. - example: true - nullable: true - payment_method_taxable: - description: Indicates if taxes are applied to payment methods costs. - example: true - nullable: true - adjustment_taxable: - description: Indicates if taxes are applied to positive adjustments. - example: true - nullable: true - gift_card_taxable: - description: Indicates if taxes are applied to purchased gift cards. - example: false - nullable: true - requires_billing_info: - description: Indicates if the billing address associated to this order requires - billing info to be present. - example: false - nullable: true - country_code: - description: "The international 2-letter country code as defined by the\ - \ ISO 3166-1 standard, automatically inherited from the order's shipping\ - \ or billing addresses." - example: IT - nullable: true - shipping_country_code_lock: - description: "The country code that you want the shipping address to be\ - \ locked to. This can be useful to make sure the shipping address belongs\ - \ to a given shipping country, e.g. the one selected in a country selector\ - \ page. Not relevant if order contains only digital products." - example: IT - nullable: true - coupon_code: - description: "The coupon code to be used for the order. If valid, it triggers\ - \ a promotion adding a discount line item to the order." - example: SUMMERDISCOUNT - nullable: true - gift_card_code: - description: "The gift card code (at least the first 8 characters) to be\ - \ used for the order. If valid, it uses the gift card balance to pay for\ - \ the order." - example: cc92c23e-967e-48b2-a323-59add603301f - nullable: true - subtotal_amount_cents: - description: "The sum of all the SKU line items total amounts, in cents." - example: 5000 - nullable: true - subtotal_amount_float: - description: "The sum of all the SKU line items total amounts, float." - example: 50.0 - nullable: true - formatted_subtotal_amount: - description: "The sum of all the SKU line items total amounts, formatted." - example: "€50,00" - nullable: true - shipping_amount_cents: - description: "The sum of all the shipping costs, in cents." - example: 1200 - nullable: true - shipping_amount_float: - description: "The sum of all the shipping costs, float." - example: 12.0 - nullable: true - formatted_shipping_amount: - description: "The sum of all the shipping costs, formatted." - example: "€12,00" - nullable: true - payment_method_amount_cents: - description: "The payment method costs, in cents." - example: 0 - nullable: true - payment_method_amount_float: - description: "The payment method costs, float." - example: 0.0 - nullable: true - formatted_payment_method_amount: - description: "The payment method costs, formatted." - example: "€0,00" - nullable: true - discount_amount_cents: - description: "The sum of all the discounts applied to the order, in cents\ - \ (negative amount)." - example: -500 - nullable: true - discount_amount_float: - description: "The sum of all the discounts applied to the order, float." - example: -5.0 - nullable: true - formatted_discount_amount: - description: "The sum of all the discounts applied to the order, formatted." - example: "-€5,00" - nullable: true - adjustment_amount_cents: - description: "The sum of all the adjustments applied to the order, in cents." - example: 1500 - nullable: true - adjustment_amount_float: - description: "The sum of all the adjustments applied to the order, float." - example: 15.0 - nullable: true - formatted_adjustment_amount: - description: "The sum of all the adjustments applied to the order, formatted." - example: "€15,00" - nullable: true - gift_card_amount_cents: - description: "The sum of all the gift_cards applied to the order, in cents." - example: 1500 - nullable: true - gift_card_amount_float: - description: "The sum of all the gift_cards applied to the order, float." - example: 15.0 - nullable: true - formatted_gift_card_amount: - description: "The sum of all the gift_cards applied to the order, formatted." - example: "€15,00" - nullable: true - total_tax_amount_cents: - description: "The sum of all the taxes applied to the order, in cents." - example: 1028 - nullable: true - total_tax_amount_float: - description: "The sum of all the taxes applied to the order, float." - example: 10.28 - nullable: true - formatted_total_tax_amount: - description: "The sum of all the taxes applied to the order, formatted." - example: "€10,28" - nullable: true - subtotal_tax_amount_cents: - description: "The taxes applied to the order's subtotal, in cents." - example: 902 - nullable: true - subtotal_tax_amount_float: - description: "The taxes applied to the order's subtotal, float." - example: 9.02 - nullable: true - formatted_subtotal_tax_amount: - description: "The taxes applied to the order's subtotal, formatted." - example: "€9,02" - nullable: true - shipping_tax_amount_cents: - description: "The taxes applied to the order's shipping costs, in cents." - example: 216 - nullable: true - shipping_tax_amount_float: - description: "The taxes applied to the order's shipping costs, float." - example: 2.16 - nullable: true - formatted_shipping_tax_amount: - description: "The taxes applied to the order's shipping costs, formatted." - example: "€2,16" - nullable: true - payment_method_tax_amount_cents: - description: "The taxes applied to the order's payment method costs, in\ - \ cents." - example: 0 - nullable: true - payment_method_tax_amount_float: - description: "The taxes applied to the order's payment method costs, float." - example: 0.0 - nullable: true - formatted_payment_method_tax_amount: - description: "The taxes applied to the order's payment method costs, formatted." - example: "€0,00" - nullable: true - adjustment_tax_amount_cents: - description: "The taxes applied to the order adjustments, in cents." - example: 900 - nullable: true - adjustment_tax_amount_float: - description: "The taxes applied to the order adjustments, float." - example: 9.0 - nullable: true - formatted_adjustment_tax_amount: - description: "The taxes applied to the order adjustments, formatted." - example: "€9,00" - nullable: true - total_amount_cents: - description: "The order's total amount, in cents." - example: 5700 - nullable: true - total_amount_float: - description: "The order's total amount, float." - example: 57.0 - nullable: true - formatted_total_amount: - description: "The order's total amount, formatted." - example: "€57,00" - nullable: true - total_taxable_amount_cents: - description: "The order's total taxable amount, in cents (without discounts)." - example: 4672 - nullable: true - total_taxable_amount_float: - description: "The order's total taxable amount, float." - example: 46.72 - nullable: true - formatted_total_taxable_amount: - description: "The order's total taxable amount, formatted." - example: "€46,72" - nullable: true - subtotal_taxable_amount_cents: - description: "The order's subtotal taxable amount, in cents (equal to subtotal_amount_cents\ - \ when prices don't include taxes)." - example: 4098 - nullable: true - subtotal_taxable_amount_float: - description: "The order's subtotal taxable amount, float." - example: 40.98 - nullable: true - formatted_subtotal_taxable_amount: - description: "The order's subtotal taxable amount, formatted." - example: "€40,98" - nullable: true - shipping_taxable_amount_cents: - description: "The order's shipping taxable amount, in cents (equal to shipping_amount_cents\ - \ when prices don't include taxes)." - example: 984 - nullable: true - shipping_taxable_amount_float: - description: "The order's shipping taxable amount, float." - example: 9.84 - nullable: true - formatted_shipping_taxable_amount: - description: "The order's shipping taxable amount, formatted." - example: "€9,84" - nullable: true - payment_method_taxable_amount_cents: - description: "The order's payment method taxable amount, in cents (equal\ - \ to payment_method_amount_cents when prices don't include taxes)." - example: 0 - nullable: true - payment_method_taxable_amount_float: - description: "The order's payment method taxable amount, float." - example: 0.0 - nullable: true - formatted_payment_method_taxable_amount: - description: "The order's payment method taxable amount, formatted." - example: "€0,00" - nullable: true - adjustment_taxable_amount_cents: - description: "The order's adjustment taxable amount, in cents (equal to\ - \ discount_adjustment_cents when prices don't include taxes)." - example: 120 - nullable: true - adjustment_taxable_amount_float: - description: "The order's adjustment taxable amount, float." - example: 1.2 - nullable: true - formatted_adjustment_taxable_amount: - description: "The order's adjustment taxable amount, formatted." - example: "€1,20" - nullable: true - total_amount_with_taxes_cents: - description: "The order's total amount (when prices include taxes) or the\ - \ order's total + taxes amount (when prices don't include taxes, e.g.\ - \ US Markets or B2B)." - example: 5700 - nullable: true - total_amount_with_taxes_float: - description: "The order's total amount with taxes, float." - example: 57.0 - nullable: true - formatted_total_amount_with_taxes: - description: "The order's total amount with taxes, formatted." - example: "€57,00" - nullable: true - fees_amount_cents: - description: "The fees amount that is applied by Commerce Layer, in cents." - example: 0 - nullable: true - fees_amount_float: - description: "The fees amount that is applied by Commerce Layer, float." - example: 0.0 - nullable: true - formatted_fees_amount: - description: "The fees amount that is applied by Commerce Layer, formatted." - example: "€0,00" - nullable: true - duty_amount_cents: - description: "The duty amount that is calculated by external services, in\ - \ cents." - example: 0 - nullable: true - duty_amount_float: - description: "The duty amount that is calculated by external services, float." - example: 0.0 - nullable: true - formatted_duty_amount: - description: "The duty amount that is calculated by external services, formatted." - example: "€0,00" - nullable: true - place_total_amount_cents: - description: "The total amount at place time, in cents, which is used internally\ - \ for editing." - example: 0 - nullable: true - place_total_amount_float: - description: "The total amount at place time, float." - example: 0.0 - nullable: true - formatted_place_total_amount: - description: "The total amount at place time, formatted." - example: "€0,00" - nullable: true - skus_count: - description: The total number of SKUs in the order's line items. This can - be useful to display a preview of the customer shopping cart content. - example: 2 - nullable: true - line_item_options_count: - description: The total number of line item options. This can be useful to - display a preview of the customer shopping cart content. - example: 1 - nullable: true - shipments_count: - description: The total number of shipments. This can be useful to manage - the shipping method(s) selection during checkout. - example: 1 - nullable: true - tax_calculations_count: - description: The total number of tax calculations. This can be useful to - monitor external tax service usage. - example: 1 - nullable: true - validations_count: - description: The total number of external validation performed. This can - be useful to monitor if external validation has been triggered. - example: 1 - nullable: true - errors_count: - description: The total number of resource errors. - example: 1 - nullable: true - payment_source_details: - description: An object that contains the shareable details of the order's - payment source. - example: - foo: bar - nullable: true - token: - description: A unique token that can be shared more securely instead of - the order's id. - example: 1c0994cc4e996e8c6ee56a2198f66f3c - nullable: true - cart_url: - description: "The cart url on your site. If present, it will be used on\ - \ our hosted checkout application." - example: https://yourdomain.com/cart - nullable: true - return_url: - description: "The return url on your site. If present, it will be used on\ - \ our hosted checkout application." - example: https://yourdomain.com/ - nullable: true - terms_url: - description: "The terms and conditions url on your site. If present, it\ - \ will be used on our hosted checkout application." - example: https://yourdomain.com/terms - nullable: true - privacy_url: - description: "The privacy policy url on your site. If present, it will be\ - \ used on our hosted checkout application." - example: https://yourdomain.com/privacy - nullable: true - checkout_url: - description: The checkout url that was automatically generated for the order. - Send the customers to this url to let them checkout the order securely - on our hosted checkout application. - example: https://yourdomain.commercelayer.io/checkout/1c0994cc4e996e8c6ee56a2198f66f3c - nullable: true - placed_at: - description: Time at which the order was placed. - example: 2018-01-01T12:00:00.000Z - nullable: true - approved_at: - description: Time at which the order was approved. - example: 2018-01-01T12:00:00.000Z - nullable: true - cancelled_at: - description: Time at which the order was cancelled. - example: 2018-01-01T12:00:00.000Z - nullable: true - payment_updated_at: - description: Time at which the order's payment status was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: true - fulfillment_updated_at: - description: Time at which the order's fulfillment status was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: true - refreshed_at: - description: Last time at which an order was manually refreshed. - example: 2018-01-01T12:00:00.000Z - nullable: true - archived_at: - description: Time at which the resource has been archived. - example: 2018-01-01T12:00:00.000Z - nullable: true - subscription_created_at: - description: Time at which the order has been marked to create a subscription - from its recurring line items. - example: 2018-01-01T12:00:00.000Z - nullable: true - circuit_state: - description: "The circuit breaker state, by default it is 'closed'. It can\ - \ become 'open' once the number of consecutive failures overlaps the specified\ - \ threshold, in such case no further calls to the failing callback are\ - \ made." - example: closed - nullable: true - circuit_failure_count: - description: "The number of consecutive failures recorded by the circuit\ - \ breaker associated to this resource, will be reset on first successful\ - \ call to callback." - example: 5 - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_orders_orderId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - orders - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_orders_orderId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships' - GET_orders_orderId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_orders_orderId_200_response_data' - PATCH_orders_orderId_200_response_data_attributes: - properties: - number: - description: "The order identifier. Can be specified if unique within the\ - \ organization (for enterprise plans only), default to numeric ID otherwise.\ - \ Cannot be passed by sales channels." - example: "1234" - nullable: true - affiliate_code: - description: "The affiliate code, if any, the seller will transfer commission\ - \ on shop by link transactions." - example: xxxx-yyyy-zzzz - nullable: true - autorefresh: - description: Save this attribute as 'false' if you want prevent the order - to be refreshed automatically at each change (much faster). - example: true - nullable: false - place_async: - description: "Save this attribute as 'true' if you want perform the place\ - \ asynchronously. Payment errors, if any, will be collected afterwards." - example: true - nullable: false - guest: - description: Indicates if the order has been placed as guest. - example: true - nullable: false - customer_email: - description: "The email address of the associated customer. When creating\ - \ or updating an order, this is a shortcut to find or create the associated\ - \ customer by email." - example: john@example.com - nullable: true - customer_password: - description: "The password of the associated customer. When creating or\ - \ updating an order, this is a shortcut to sign up the associated customer." - example: secret - language_code: - description: "The preferred language code (ISO 639-1) to be used when communicating\ - \ with the customer. This can be useful when sending the order to 3rd\ - \ party marketing tools and CRMs. If the language is supported, the hosted\ - \ checkout will be localized accordingly." - example: it - nullable: true - freight_taxable: - description: Indicates if taxes are applied to shipping costs. - example: true - nullable: false - payment_method_taxable: - description: Indicates if taxes are applied to payment methods costs. - example: true - nullable: false - adjustment_taxable: - description: Indicates if taxes are applied to positive adjustments. - example: true - nullable: false - gift_card_taxable: - description: Indicates if taxes are applied to purchased gift cards. - example: false - nullable: false - shipping_country_code_lock: - description: "The country code that you want the shipping address to be\ - \ locked to. This can be useful to make sure the shipping address belongs\ - \ to a given shipping country, e.g. the one selected in a country selector\ - \ page. Not relevant if order contains only digital products." - example: IT - nullable: true - coupon_code: - description: "The coupon code to be used for the order. If valid, it triggers\ - \ a promotion adding a discount line item to the order." - example: SUMMERDISCOUNT - nullable: true - gift_card_code: - description: "The gift card code (at least the first 8 characters) to be\ - \ used for the order. If valid, it uses the gift card balance to pay for\ - \ the order." - example: cc92c23e-967e-48b2-a323-59add603301f - nullable: true - cart_url: - description: "The cart url on your site. If present, it will be used on\ - \ our hosted checkout application." - example: https://yourdomain.com/cart - nullable: true - return_url: - description: "The return url on your site. If present, it will be used on\ - \ our hosted checkout application." - example: https://yourdomain.com/ - nullable: true - terms_url: - description: "The terms and conditions url on your site. If present, it\ - \ will be used on our hosted checkout application." - example: https://yourdomain.com/terms - nullable: true - privacy_url: - description: "The privacy policy url on your site. If present, it will be\ - \ used on our hosted checkout application." - example: https://yourdomain.com/privacy - nullable: true - _archive: - description: Send this attribute if you want to archive the order. - example: true - nullable: false - _unarchive: - description: Send this attribute if you want to unarchive the order. - example: true - nullable: false - _pending: - description: Send this attribute if you want to move a draft or placing - order to pending. Cannot be passed by sales channels. - example: true - nullable: false - _place: - description: Send this attribute if you want to place the order. - example: true - nullable: false - _cancel: - description: Send this attribute if you want to cancel a placed order. The - order's authorization will be automatically voided. - example: true - nullable: false - _approve: - description: Send this attribute if you want to approve a placed order. - Cannot be passed by sales channels. - example: true - nullable: false - _approve_and_capture: - description: Send this attribute if you want to approve and capture a placed - order. Cannot be passed by sales channels. - example: true - nullable: false - _authorize: - description: Send this attribute if you want to authorize the order's payment - source. - example: true - nullable: false - _authorization_amount_cents: - description: Send this attribute as a value in cents if you want to overwrite - the amount to be authorized. - example: 500 - _capture: - description: Send this attribute if you want to capture an authorized order. - Cannot be passed by sales channels. - example: true - nullable: false - _refund: - description: Send this attribute if you want to refund a captured order. - Cannot be passed by sales channels. - example: true - nullable: false - _fulfill: - description: "Send this attribute if you want to mark as fulfilled the order\ - \ (shipments must be cancelled, shipped or delivered). Cannot be passed\ - \ by sales channels." - example: true - nullable: false - _update_taxes: - description: Send this attribute if you want to force tax calculation for - this order (a tax calculator must be associated to the order's market). - example: true - nullable: false - _nullify_payment_source: - description: Send this attribute if you want to nullify the payment source - for this order. - example: false - nullable: false - _billing_address_clone_id: - description: The id of the address that you want to clone to create the - order's billing address. - example: "1234" - _shipping_address_clone_id: - description: The id of the address that you want to clone to create the - order's shipping address. - example: "1234" - _customer_payment_source_id: - description: The id of the customer payment source (i.e. credit card) that - you want to use as the order's payment source. - example: "1234" - _shipping_address_same_as_billing: - description: Send this attribute if you want the shipping address to be - cloned from the order's billing address. - example: true - nullable: false - _billing_address_same_as_shipping: - description: Send this attribute if you want the billing address to be cloned - from the order's shipping address. - example: true - nullable: false - _commit_invoice: - description: Send this attribute if you want commit the sales tax invoice - to the associated tax calculator (currently supported by Avalara). - example: true - nullable: false - _refund_invoice: - description: Send this attribute if you want refund the sales tax invoice - to the associated tax calculator (currently supported by Avalara). - example: true - nullable: false - _save_payment_source_to_customer_wallet: - description: Send this attribute if you want the order's payment source - to be saved in the customer's wallet as a customer payment source. - example: true - nullable: false - _save_shipping_address_to_customer_address_book: - description: Send this attribute if you want the order's shipping address - to be saved in the customer's address book as a customer address. - example: true - nullable: false - _save_billing_address_to_customer_address_book: - description: Send this attribute if you want the order's billing address - to be saved in the customer's address book as a customer address. - example: true - nullable: false - _refresh: - description: Send this attribute if you want to manually refresh the order. - example: true - nullable: false - _validate: - description: Send this attribute if you want to trigger the external validation - for the order. - example: true - nullable: false - _create_subscriptions: - description: Send this attribute upon/after placing the order if you want - to create order subscriptions from the line items that have a frequency. - example: true - nullable: false - _start_editing: - description: Send this attribute if you want to edit the order after it - is placed. Remember you cannot exceed the original total amount. Cannot - be passed by sales channels. - example: true - nullable: false - _stop_editing: - description: Send this attribute to stop the editing for the order and return - back to placed status. Cannot be passed by sales channels. - example: true - nullable: false - _reset_circuit: - description: Send this attribute if you want to reset the circuit breaker - associated to this resource to 'closed' state and zero failures count. - Cannot be passed by sales channels. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_orders_orderId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - orders - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_orders_orderId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships' - PATCH_orders_orderId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_orders_orderId_200_response_data' - GET_organization_organizationId_200_response_data_attributes: - properties: - name: - description: The organization's internal name. - example: The Blue Brand - nullable: true - slug: - description: The organization's slug name. - example: the-blue-brand - nullable: true - domain: - description: The organization's domain. - example: the-blue-brand.commercelayer.io - nullable: true - support_phone: - description: The organization's support phone. - example: +01 30800857 - nullable: true - support_email: - description: The organization's support email. - example: support@bluebrand.com - nullable: true - logo_url: - description: The URL to the organization's logo. - example: https://bluebrand.com/img/logo.svg - nullable: true - favicon_url: - description: The URL to the organization's favicon. - example: https://bluebrand.com/img/favicon.ico - nullable: true - primary_color: - description: The organization's primary color. - example: '#C8984E' - nullable: true - gtm_id: - description: The organization's Google Tag Manager ID. - example: GTM-5FJXX6 - nullable: true - gtm_id_test: - description: The organization's Google Tag Manager ID for test. - example: GTM-5FJXX7 - nullable: true - config: - description: The organization's configuration. - example: - mfe: - default: - links: - cart: https://cart.example.com/:order_id?accessToken=:access_token - checkout: https://checkout.example.com/:order_id?accessToken=:accessToken - identity: https://example.com/login - microstore: https://example.com/microstore/?accessToken=:access_token - my_account: https://example.com/my-custom-account?accessToken=:access_token - checkout: - thankyou_page: https://example.com/thanks/:lang/:orderId - billing_countries: - - value: ES - label: Espana - - value: IT - label: Italia - - value: US - label: Unites States of America - shipping_countries: - - value: ES - label: Espana - - value: IT - label: Italia - - value: US - label: Unites States of America - billing_states: - FR: - - value: PA - label: Paris - - value: LY - label: Lyon - - value: NI - label: Nice - - value: MA - label: Marseille - - value: BO - label: Bordeaux - shipping_states: - FR: - - value: PA - label: Paris - - value: LY - label: Lyon - - value: NI - label: Nice - - value: MA - label: Marseille - - value: BO - label: Bordeaux - default_country: US - urls: - privacy: https://example.com/privacy/:lang - terms: https://example.com/terms/:lang - market:id:ZKcv13rT: - links: - cart: https://example.com/custom-cart/:order_id?accessToken=:access_token - checkout: - thankyou_page: https://example.com/thanks/:order_id - nullable: true - api_auth_redirect: - description: Enables the redirect on the new Auth API. - example: true - nullable: true - api_rules_engine: - description: Enables the rules engine for flex promotions and price list - rules. - example: false - nullable: true - addresses_phone_required: - description: "Indicates if the phone attribute is required for addresses,\ - \ default is true." - example: true - nullable: true - orders_autorefresh_cutoff_test: - description: The maximum number line items allowed for a test order before - disabling the autorefresh option. - example: 50 - nullable: true - orders_autorefresh_cutoff_live: - description: The maximum number line items allowed for a live order before - disabling the autorefresh option. - example: 500 - nullable: true - orders_number_editable_test: - description: Enables orders number editing as a string in test (for enterprise - plans only). - example: false - nullable: true - orders_number_editable_live: - description: Enables orders number editing as a string in live (for enterprise - plans only). - example: false - nullable: true - orders_number_as_reference: - description: Enables to use the order number as payment reference on supported - gateways. - example: true - nullable: true - bundles_max_items_count: - description: "The maximum number of SKUs allowed for bundles, default is\ - \ 10." - example: 10 - nullable: true - coupons_min_code_length: - description: "The minimum length for coupon code, default is 8." - example: 8 - nullable: true - coupons_max_code_length: - description: "The maximum length for coupon code, default is 40." - example: 40 - nullable: true - gift_cards_min_code_length: - description: "The minimum length for gift card code, default is 8." - example: 8 - nullable: true - gift_cards_max_code_length: - description: "The maximum length for gift card code, default is 40." - example: 40 - nullable: true - cleanups_max_concurrent_count: - description: "The maximum number of concurrent cleanups allowed for your\ - \ organization, default is 10." - example: 10 - nullable: true - exports_max_concurrent_count: - description: "The maximum number of concurrent exports allowed for your\ - \ organization, default is 10." - example: 10 - nullable: true - imports_max_concurrent_count: - description: "The maximum number of concurrent imports allowed for your\ - \ organization, default is 10." - example: 10 - nullable: true - promotions_max_concurrent_count: - description: "The maximum number of active concurrent promotions allowed\ - \ for your organization, default is 10." - example: 10 - nullable: true - imports_trigger_webhooks: - description: "Enables triggering of webhooks during imports, default is\ - \ false." - example: 0 - nullable: true - tax_calculators_errors: - description: "Enables raising of API errors in case of tax calculation failure,\ - \ default is false." - example: false - nullable: true - external_promotions_errors: - description: "Enables raising of API errors in case of external promotion\ - \ failure, default is false." - example: false - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_organization_organizationId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - organization - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_organization_organizationId_200_response_data_attributes' - relationships: - properties: {} - GET_organization_organizationId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_organization_organizationId_200_response_data' - GET_packages_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - packages - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: Unique name for the package. - example: Large (60x40x30) - nullable: false - code: - description: The package identifying code. - example: YYYY 2000 - nullable: true - length: - description: "The package length, used to automatically calculate\ - \ the tax rates from the available carrier accounts." - example: 40.0 - nullable: false - width: - description: "The package width, used to automatically calculate\ - \ the tax rates from the available carrier accounts." - example: 40.0 - nullable: false - height: - description: "The package height, used to automatically calculate\ - \ the tax rates from the available carrier accounts." - example: 25.0 - nullable: false - unit_of_length: - description: "The unit of length. Can be one of 'cm', or 'in'." - example: gr - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - stock_location: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - stock_location - id: - description: The resource ID - parcels: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - parcels - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_packages_201_response_data_attributes: - properties: - name: - description: Unique name for the package. - example: Large (60x40x30) - code: - description: The package identifying code. - example: YYYY 2000 - length: - description: "The package length, used to automatically calculate the tax\ - \ rates from the available carrier accounts." - example: 40.0 - width: - description: "The package width, used to automatically calculate the tax\ - \ rates from the available carrier accounts." - example: 40.0 - height: - description: "The package height, used to automatically calculate the tax\ - \ rates from the available carrier accounts." - example: 25.0 - unit_of_length: - description: "The unit of length. Can be one of 'cm', or 'in'." - example: gr - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - height - - length - - name - - unit_of_length - - width - POST_packages_201_response_data_relationships_parcels_data: - properties: - type: - description: The resource's type - enum: - - parcels - id: - description: The resource ID - POST_packages_201_response_data_relationships_parcels: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_packages_201_response_data_relationships_parcels_data' - POST_packages_201_response_data_relationships: - properties: - stock_location: - $ref: '#/components/schemas/POST_delivery_lead_times_201_response_data_relationships_stock_location' - parcels: - $ref: '#/components/schemas/POST_packages_201_response_data_relationships_parcels' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_packages_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - packages - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_packages_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_packages_201_response_data_relationships' - POST_packages_201_response: - properties: - data: - $ref: '#/components/schemas/POST_packages_201_response_data' - GET_packages_packageId_200_response_data_attributes: - properties: - name: - description: Unique name for the package. - example: Large (60x40x30) - nullable: false - code: - description: The package identifying code. - example: YYYY 2000 - nullable: true - length: - description: "The package length, used to automatically calculate the tax\ - \ rates from the available carrier accounts." - example: 40.0 - nullable: false - width: - description: "The package width, used to automatically calculate the tax\ - \ rates from the available carrier accounts." - example: 40.0 - nullable: false - height: - description: "The package height, used to automatically calculate the tax\ - \ rates from the available carrier accounts." - example: 25.0 - nullable: false - unit_of_length: - description: "The unit of length. Can be one of 'cm', or 'in'." - example: gr - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_packages_packageId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - packages - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_packages_packageId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_packages_201_response_data_relationships' - GET_packages_packageId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_packages_packageId_200_response_data' - PATCH_packages_packageId_200_response_data_attributes: - properties: - name: - description: Unique name for the package. - example: Large (60x40x30) - nullable: false - code: - description: The package identifying code. - example: YYYY 2000 - nullable: true - length: - description: "The package length, used to automatically calculate the tax\ - \ rates from the available carrier accounts." - example: 40.0 - nullable: false - width: - description: "The package width, used to automatically calculate the tax\ - \ rates from the available carrier accounts." - example: 40.0 - nullable: false - height: - description: "The package height, used to automatically calculate the tax\ - \ rates from the available carrier accounts." - example: 25.0 - nullable: false - unit_of_length: - description: "The unit of length. Can be one of 'cm', or 'in'." - example: gr - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_packages_packageId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - packages - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_packages_packageId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_packages_201_response_data_relationships' - PATCH_packages_packageId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_packages_packageId_200_response_data' - GET_parcel_line_items_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - parcel_line_items - links: - properties: - self: - description: URL - attributes: - properties: - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - bundle_code: - description: The code of the associated bundle. - example: BUNDLEMM000000FFFFFFXLXX - nullable: true - quantity: - description: The parcel line item quantity. - example: 4 - nullable: false - name: - description: The internal name of the associated line item. - example: Men's Black T-shirt with White Logo (XL) - nullable: false - image_url: - description: The image_url of the associated line item. - example: https://img.yourdomain.com/skus/xYZkjABcde.png - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - parcel: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - parcel - id: - description: The resource ID - stock_line_item: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - stock_line_item - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_parcel_line_items_201_response_data_attributes: - properties: - quantity: - description: The parcel line item quantity. - example: 4 - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - quantity - POST_parcel_line_items_201_response_data_relationships_parcel_data: - properties: - type: - description: The resource's type - enum: - - parcel - id: - description: The resource ID - POST_parcel_line_items_201_response_data_relationships_parcel: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_parcel_line_items_201_response_data_relationships_parcel_data' - POST_parcel_line_items_201_response_data_relationships_stock_line_item_data: - properties: - type: - description: The resource's type - enum: - - stock_line_item - id: - description: The resource ID - POST_parcel_line_items_201_response_data_relationships_stock_line_item: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_parcel_line_items_201_response_data_relationships_stock_line_item_data' - POST_parcel_line_items_201_response_data_relationships: - properties: - parcel: - $ref: '#/components/schemas/POST_parcel_line_items_201_response_data_relationships_parcel' - stock_line_item: - $ref: '#/components/schemas/POST_parcel_line_items_201_response_data_relationships_stock_line_item' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_parcel_line_items_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - parcel_line_items - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_parcel_line_items_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_parcel_line_items_201_response_data_relationships' - POST_parcel_line_items_201_response: - properties: - data: - $ref: '#/components/schemas/POST_parcel_line_items_201_response_data' - GET_parcel_line_items_parcelLineItemId_200_response_data_attributes: - properties: - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - bundle_code: - description: The code of the associated bundle. - example: BUNDLEMM000000FFFFFFXLXX - nullable: true - quantity: - description: The parcel line item quantity. - example: 4 - nullable: false - name: - description: The internal name of the associated line item. - example: Men's Black T-shirt with White Logo (XL) - nullable: false - image_url: - description: The image_url of the associated line item. - example: https://img.yourdomain.com/skus/xYZkjABcde.png - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_parcel_line_items_parcelLineItemId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - parcel_line_items - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_parcel_line_items_parcelLineItemId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_parcel_line_items_201_response_data_relationships' - GET_parcel_line_items_parcelLineItemId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_parcel_line_items_parcelLineItemId_200_response_data' - PATCH_parcel_line_items_parcelLineItemId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - parcel_line_items - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_billing_info_validation_rules_billingInfoValidationRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_parcel_line_items_201_response_data_relationships' - PATCH_parcel_line_items_parcelLineItemId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_parcel_line_items_parcelLineItemId_200_response_data' - GET_parcels_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - parcels - links: - properties: - self: - description: URL - attributes: - properties: - number: - description: Unique identifier for the parcel. - example: '#1234/S/001/P/001' - nullable: true - weight: - description: "The parcel weight, used to automatically calculate\ - \ the tax rates from the available carrier accounts." - example: 1000.0 - nullable: false - unit_of_weight: - description: "The unit of weight. One of 'gr', 'oz', or 'lb'." - enum: - - gr - - oz - - lb - example: gr - nullable: false - eel_pfc: - description: "When shipping outside the US, you need to provide\ - \ either an Exemption and Exclusion Legend (EEL) code or a Proof\ - \ of Filing Citation (PFC). Which you need is based on the value\ - \ of the goods being shipped. Value can be one of \"EEL\" o\ - \ \"PFC\"." - example: EEL - nullable: true - contents_type: - description: The type of item you are sending. - example: merchandise - nullable: true - contents_explanation: - description: "If you specify 'other' in the 'contents_type' attribute,\ - \ you must supply a brief description in this attribute." - example: "" - nullable: true - customs_certify: - description: Indicates if the provided information is accurate. - example: false - nullable: true - customs_signer: - description: This is the name of the person who is certifying - that the information provided on the customs form is accurate. - Use a name of the person in your organization who is responsible - for this. - example: John Doe - nullable: true - non_delivery_option: - description: "In case the shipment cannot be delivered, this option\ - \ tells the carrier what you want to happen to the parcel. You\ - \ can pass either 'return', or 'abandon'. The value defaults\ - \ to 'return'. If you pass 'abandon', you will not receive the\ - \ parcel back if it cannot be delivered." - example: return - nullable: true - restriction_type: - description: "Describes if your parcel requires any special treatment\ - \ or quarantine when entering the country. Can be one of 'none',\ - \ 'other', 'quarantine', or 'sanitary_phytosanitary_inspection'." - example: none - nullable: true - restriction_comments: - description: "If you specify 'other' in the restriction type,\ - \ you must supply a brief description of what is required." - example: "" - nullable: true - customs_info_required: - description: Indicates if the parcel requires customs info to - get the shipping rates. - example: false - nullable: true - shipping_label_url: - description: "The shipping label url, ready to be downloaded and\ - \ printed." - example: https://bucket.s3-us-west-2.amazonaws.com/files/postage_label/20180101/123.pdf - nullable: true - shipping_label_file_type: - description: "The shipping label file type. One of 'application/pdf',\ - \ 'application/zpl', 'application/epl2', or 'image/png'." - example: application/pdf - nullable: true - shipping_label_size: - description: The shipping label size. - example: 4x7 - nullable: true - shipping_label_resolution: - description: The shipping label resolution. - example: "200" - nullable: true - tracking_number: - description: The tracking number associated to this parcel. - example: 1Z4V2A000000000000 - nullable: true - tracking_status: - description: "The tracking status for this parcel, automatically\ - \ updated in real time by the shipping carrier." - example: delivered - nullable: true - tracking_status_detail: - description: "Additional information about the tracking status,\ - \ automatically updated in real time by the shipping carrier." - example: arrived_at_destination - nullable: true - tracking_status_updated_at: - description: Time at which the parcel's tracking status was last - updated. - example: 2018-01-01T12:00:00.000Z - nullable: true - tracking_details: - description: "The parcel's full tracking history, automatically\ - \ updated in real time by the shipping carrier." - example: - - object: TrackingDetail - message: Pre-Shipment information received - status: pre_transit - datetime: 2018-02-27T16:02:17Z - source: DHLExpress - tracking_location: - object: TrackingLocation - nullable: true - carrier_weight_oz: - description: The weight of the parcel as measured by the carrier - in ounces (if available). - example: "42.32" - nullable: true - signed_by: - description: The name of the person who signed for the parcel - (if available). - example: John Smith - nullable: true - incoterm: - description: The type of Incoterm (if available). - example: EXW - nullable: true - delivery_confirmation: - description: The type of delivery confirmation option upon delivery. - example: SIGNATURE - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - shipment: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - shipment - id: - description: The resource ID - package: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - package - id: - description: The resource ID - parcel_line_items: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - parcel_line_items - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_parcels_201_response_data_attributes: - properties: - weight: - description: "The parcel weight, used to automatically calculate the tax\ - \ rates from the available carrier accounts." - example: 1000.0 - unit_of_weight: - description: "The unit of weight. One of 'gr', 'oz', or 'lb'." - enum: - - gr - - oz - - lb - example: gr - eel_pfc: - description: "When shipping outside the US, you need to provide either an\ - \ Exemption and Exclusion Legend (EEL) code or a Proof of Filing Citation\ - \ (PFC). Which you need is based on the value of the goods being shipped.\ - \ Value can be one of \"EEL\" o \"PFC\"." - example: EEL - contents_type: - description: The type of item you are sending. - example: merchandise - contents_explanation: - description: "If you specify 'other' in the 'contents_type' attribute, you\ - \ must supply a brief description in this attribute." - example: "" - customs_certify: - description: Indicates if the provided information is accurate. - example: false - customs_signer: - description: This is the name of the person who is certifying that the information - provided on the customs form is accurate. Use a name of the person in - your organization who is responsible for this. - example: John Doe - non_delivery_option: - description: "In case the shipment cannot be delivered, this option tells\ - \ the carrier what you want to happen to the parcel. You can pass either\ - \ 'return', or 'abandon'. The value defaults to 'return'. If you pass\ - \ 'abandon', you will not receive the parcel back if it cannot be delivered." - example: return - restriction_type: - description: "Describes if your parcel requires any special treatment or\ - \ quarantine when entering the country. Can be one of 'none', 'other',\ - \ 'quarantine', or 'sanitary_phytosanitary_inspection'." - example: none - restriction_comments: - description: "If you specify 'other' in the restriction type, you must supply\ - \ a brief description of what is required." - example: "" - customs_info_required: - description: Indicates if the parcel requires customs info to get the shipping - rates. - example: false - shipping_label_url: - description: "The shipping label url, ready to be downloaded and printed." - example: https://bucket.s3-us-west-2.amazonaws.com/files/postage_label/20180101/123.pdf - shipping_label_file_type: - description: "The shipping label file type. One of 'application/pdf', 'application/zpl',\ - \ 'application/epl2', or 'image/png'." - example: application/pdf - shipping_label_size: - description: The shipping label size. - example: 4x7 - shipping_label_resolution: - description: The shipping label resolution. - example: "200" - tracking_number: - description: The tracking number associated to this parcel. - example: 1Z4V2A000000000000 - tracking_status: - description: "The tracking status for this parcel, automatically updated\ - \ in real time by the shipping carrier." - example: delivered - tracking_status_detail: - description: "Additional information about the tracking status, automatically\ - \ updated in real time by the shipping carrier." - example: arrived_at_destination - tracking_status_updated_at: - description: Time at which the parcel's tracking status was last updated. - example: 2018-01-01T12:00:00.000Z - tracking_details: - description: "The parcel's full tracking history, automatically updated\ - \ in real time by the shipping carrier." - example: - - object: TrackingDetail - message: Pre-Shipment information received - status: pre_transit - datetime: 2018-02-27T16:02:17Z - source: DHLExpress - tracking_location: - object: TrackingLocation - carrier_weight_oz: - description: The weight of the parcel as measured by the carrier in ounces - (if available). - example: "42.32" - signed_by: - description: The name of the person who signed for the parcel (if available). - example: John Smith - incoterm: - description: The type of Incoterm (if available). - example: EXW - delivery_confirmation: - description: The type of delivery confirmation option upon delivery. - example: SIGNATURE - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - unit_of_weight - - weight - POST_parcels_201_response_data_relationships_package_data: - properties: - type: - description: The resource's type - enum: - - package - id: - description: The resource ID - POST_parcels_201_response_data_relationships_package: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_parcels_201_response_data_relationships_package_data' - POST_parcels_201_response_data_relationships_parcel_line_items_data: - properties: - type: - description: The resource's type - enum: - - parcel_line_items - id: - description: The resource ID - POST_parcels_201_response_data_relationships_parcel_line_items: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_parcels_201_response_data_relationships_parcel_line_items_data' - POST_parcels_201_response_data_relationships: - properties: - shipment: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_shipment' - package: - $ref: '#/components/schemas/POST_parcels_201_response_data_relationships_package' - parcel_line_items: - $ref: '#/components/schemas/POST_parcels_201_response_data_relationships_parcel_line_items' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_parcels_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - parcels - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_parcels_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_parcels_201_response_data_relationships' - POST_parcels_201_response: - properties: - data: - $ref: '#/components/schemas/POST_parcels_201_response_data' - GET_parcels_parcelId_200_response_data_attributes: - properties: - number: - description: Unique identifier for the parcel. - example: '#1234/S/001/P/001' - nullable: true - weight: - description: "The parcel weight, used to automatically calculate the tax\ - \ rates from the available carrier accounts." - example: 1000.0 - nullable: false - unit_of_weight: - description: "The unit of weight. One of 'gr', 'oz', or 'lb'." - enum: - - gr - - oz - - lb - example: gr - nullable: false - eel_pfc: - description: "When shipping outside the US, you need to provide either an\ - \ Exemption and Exclusion Legend (EEL) code or a Proof of Filing Citation\ - \ (PFC). Which you need is based on the value of the goods being shipped.\ - \ Value can be one of \"EEL\" o \"PFC\"." - example: EEL - nullable: true - contents_type: - description: The type of item you are sending. - example: merchandise - nullable: true - contents_explanation: - description: "If you specify 'other' in the 'contents_type' attribute, you\ - \ must supply a brief description in this attribute." - example: "" - nullable: true - customs_certify: - description: Indicates if the provided information is accurate. - example: false - nullable: true - customs_signer: - description: This is the name of the person who is certifying that the information - provided on the customs form is accurate. Use a name of the person in - your organization who is responsible for this. - example: John Doe - nullable: true - non_delivery_option: - description: "In case the shipment cannot be delivered, this option tells\ - \ the carrier what you want to happen to the parcel. You can pass either\ - \ 'return', or 'abandon'. The value defaults to 'return'. If you pass\ - \ 'abandon', you will not receive the parcel back if it cannot be delivered." - example: return - nullable: true - restriction_type: - description: "Describes if your parcel requires any special treatment or\ - \ quarantine when entering the country. Can be one of 'none', 'other',\ - \ 'quarantine', or 'sanitary_phytosanitary_inspection'." - example: none - nullable: true - restriction_comments: - description: "If you specify 'other' in the restriction type, you must supply\ - \ a brief description of what is required." - example: "" - nullable: true - customs_info_required: - description: Indicates if the parcel requires customs info to get the shipping - rates. - example: false - nullable: true - shipping_label_url: - description: "The shipping label url, ready to be downloaded and printed." - example: https://bucket.s3-us-west-2.amazonaws.com/files/postage_label/20180101/123.pdf - nullable: true - shipping_label_file_type: - description: "The shipping label file type. One of 'application/pdf', 'application/zpl',\ - \ 'application/epl2', or 'image/png'." - example: application/pdf - nullable: true - shipping_label_size: - description: The shipping label size. - example: 4x7 - nullable: true - shipping_label_resolution: - description: The shipping label resolution. - example: "200" - nullable: true - tracking_number: - description: The tracking number associated to this parcel. - example: 1Z4V2A000000000000 - nullable: true - tracking_status: - description: "The tracking status for this parcel, automatically updated\ - \ in real time by the shipping carrier." - example: delivered - nullable: true - tracking_status_detail: - description: "Additional information about the tracking status, automatically\ - \ updated in real time by the shipping carrier." - example: arrived_at_destination - nullable: true - tracking_status_updated_at: - description: Time at which the parcel's tracking status was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: true - tracking_details: - description: "The parcel's full tracking history, automatically updated\ - \ in real time by the shipping carrier." - example: - - object: TrackingDetail - message: Pre-Shipment information received - status: pre_transit - datetime: 2018-02-27T16:02:17Z - source: DHLExpress - tracking_location: - object: TrackingLocation - nullable: true - carrier_weight_oz: - description: The weight of the parcel as measured by the carrier in ounces - (if available). - example: "42.32" - nullable: true - signed_by: - description: The name of the person who signed for the parcel (if available). - example: John Smith - nullable: true - incoterm: - description: The type of Incoterm (if available). - example: EXW - nullable: true - delivery_confirmation: - description: The type of delivery confirmation option upon delivery. - example: SIGNATURE - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_parcels_parcelId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - parcels - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_parcels_parcelId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_parcels_201_response_data_relationships' - GET_parcels_parcelId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_parcels_parcelId_200_response_data' - PATCH_parcels_parcelId_200_response_data_attributes: - properties: - weight: - description: "The parcel weight, used to automatically calculate the tax\ - \ rates from the available carrier accounts." - example: 1000.0 - nullable: false - unit_of_weight: - description: "The unit of weight. One of 'gr', 'oz', or 'lb'." - enum: - - gr - - oz - - lb - example: gr - nullable: false - eel_pfc: - description: "When shipping outside the US, you need to provide either an\ - \ Exemption and Exclusion Legend (EEL) code or a Proof of Filing Citation\ - \ (PFC). Which you need is based on the value of the goods being shipped.\ - \ Value can be one of \"EEL\" o \"PFC\"." - example: EEL - nullable: true - contents_type: - description: The type of item you are sending. - example: merchandise - nullable: true - contents_explanation: - description: "If you specify 'other' in the 'contents_type' attribute, you\ - \ must supply a brief description in this attribute." - example: "" - nullable: true - customs_certify: - description: Indicates if the provided information is accurate. - example: false - nullable: false - customs_signer: - description: This is the name of the person who is certifying that the information - provided on the customs form is accurate. Use a name of the person in - your organization who is responsible for this. - example: John Doe - nullable: true - non_delivery_option: - description: "In case the shipment cannot be delivered, this option tells\ - \ the carrier what you want to happen to the parcel. You can pass either\ - \ 'return', or 'abandon'. The value defaults to 'return'. If you pass\ - \ 'abandon', you will not receive the parcel back if it cannot be delivered." - example: return - nullable: true - restriction_type: - description: "Describes if your parcel requires any special treatment or\ - \ quarantine when entering the country. Can be one of 'none', 'other',\ - \ 'quarantine', or 'sanitary_phytosanitary_inspection'." - example: none - nullable: true - restriction_comments: - description: "If you specify 'other' in the restriction type, you must supply\ - \ a brief description of what is required." - example: "" - nullable: true - customs_info_required: - description: Indicates if the parcel requires customs info to get the shipping - rates. - example: false - nullable: false - shipping_label_url: - description: "The shipping label url, ready to be downloaded and printed." - example: https://bucket.s3-us-west-2.amazonaws.com/files/postage_label/20180101/123.pdf - nullable: true - shipping_label_file_type: - description: "The shipping label file type. One of 'application/pdf', 'application/zpl',\ - \ 'application/epl2', or 'image/png'." - example: application/pdf - nullable: true - shipping_label_size: - description: The shipping label size. - example: 4x7 - nullable: true - shipping_label_resolution: - description: The shipping label resolution. - example: "200" - nullable: true - tracking_number: - description: The tracking number associated to this parcel. - example: 1Z4V2A000000000000 - nullable: true - tracking_status: - description: "The tracking status for this parcel, automatically updated\ - \ in real time by the shipping carrier." - example: delivered - nullable: true - tracking_status_detail: - description: "Additional information about the tracking status, automatically\ - \ updated in real time by the shipping carrier." - example: arrived_at_destination - nullable: true - tracking_status_updated_at: - description: Time at which the parcel's tracking status was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: true - tracking_details: - description: "The parcel's full tracking history, automatically updated\ - \ in real time by the shipping carrier." - example: - - object: TrackingDetail - message: Pre-Shipment information received - status: pre_transit - datetime: 2018-02-27T16:02:17Z - source: DHLExpress - tracking_location: - object: TrackingLocation - nullable: true - carrier_weight_oz: - description: The weight of the parcel as measured by the carrier in ounces - (if available). - example: "42.32" - nullable: true - signed_by: - description: The name of the person who signed for the parcel (if available). - example: John Smith - nullable: true - incoterm: - description: The type of Incoterm (if available). - example: EXW - nullable: true - delivery_confirmation: - description: The type of delivery confirmation option upon delivery. - example: SIGNATURE - nullable: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_parcels_parcelId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - parcels - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_parcels_parcelId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_parcels_201_response_data_relationships' - PATCH_parcels_parcelId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_parcels_parcelId_200_response_data' - GET_payment_gateways_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - payment_gateways - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - payment_methods: - $ref: '#/components/schemas/POST_adyen_gateways_201_response_data_relationships_payment_methods' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - GET_payment_gateways_paymentGatewayId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - payment_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_klarna_gateways_klarnaGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_manual_gateways_201_response_data_relationships' - GET_payment_gateways_paymentGatewayId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_payment_gateways_paymentGatewayId_200_response_data' - GET_payment_methods_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - payment_methods - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The payment method's internal name. - example: Stripe Payment - nullable: true - payment_source_type: - description: "The payment source type. One of 'adyen_payments',\ - \ 'axerve_payments', 'braintree_payments', 'checkout_com_payments',\ - \ 'credit_cards', 'external_payments', 'klarna_payments', 'paypal_payments',\ - \ 'satispay_payments', 'stripe_payments', or 'wire_transfers'." - enum: - - adyen_payments - - axerve_payments - - braintree_payments - - checkout_com_payments - - credit_cards - - external_payments - - klarna_payments - - paypal_payments - - satispay_payments - - stripe_payments - - wire_transfers - example: stripe_payments - nullable: false - currency_code: - description: The international 3-letter currency code as defined - by the ISO 4217 standard. - example: EUR - nullable: true - moto: - description: "Send this attribute if you want to mark the payment\ - \ as MOTO, must be supported by payment gateway." - example: false - nullable: true - require_capture: - description: Send this attribute if you want to require the payment - capture before fulfillment. - example: true - nullable: true - auto_place: - description: Send this attribute if you want to automatically - place the order upon authorization performed asynchronously. - example: true - nullable: true - auto_capture: - description: Send this attribute if you want to automatically - capture the payment upon authorization. - example: false - nullable: true - price_amount_cents: - description: "The payment method's price, in cents." - example: 0 - nullable: false - price_amount_float: - description: "The payment method's price, float." - example: 0.0 - nullable: true - formatted_price_amount: - description: "The payment method's price, formatted." - example: "€0,00" - nullable: true - auto_capture_max_amount_cents: - description: "Send this attribute if you want to limit automatic\ - \ capture to orders for which the total amount is equal or less\ - \ than the specified value, in cents." - example: 0 - nullable: true - auto_capture_max_amount_float: - description: "The automatic capture max amount, float." - example: 0.0 - nullable: true - formatted_auto_capture_max_amount: - description: "The automatic capture max amount, formatted." - example: "€0,00" - nullable: true - disabled_at: - description: Time at which this resource was disabled. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - market: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - market - id: - description: The resource ID - payment_gateway: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - payment_gateway - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_payment_methods_201_response_data_attributes: - properties: - name: - description: The payment method's internal name. - example: Stripe Payment - payment_source_type: - description: "The payment source type. One of 'adyen_payments', 'axerve_payments',\ - \ 'braintree_payments', 'checkout_com_payments', 'credit_cards', 'external_payments',\ - \ 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments',\ - \ or 'wire_transfers'." - enum: - - adyen_payments - - axerve_payments - - braintree_payments - - checkout_com_payments - - credit_cards - - external_payments - - klarna_payments - - paypal_payments - - satispay_payments - - stripe_payments - - wire_transfers - example: stripe_payments - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - moto: - description: "Send this attribute if you want to mark the payment as MOTO,\ - \ must be supported by payment gateway." - example: false - require_capture: - description: Send this attribute if you want to require the payment capture - before fulfillment. - example: true - auto_place: - description: Send this attribute if you want to automatically place the - order upon authorization performed asynchronously. - example: true - auto_capture: - description: Send this attribute if you want to automatically capture the - payment upon authorization. - example: false - price_amount_cents: - description: "The payment method's price, in cents." - example: 0 - auto_capture_max_amount_cents: - description: "Send this attribute if you want to limit automatic capture\ - \ to orders for which the total amount is equal or less than the specified\ - \ value, in cents." - example: 0 - _disable: - description: Send this attribute if you want to mark this resource as disabled. - example: true - _enable: - description: Send this attribute if you want to mark this resource as enabled. - example: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - payment_source_type - - price_amount_cents - POST_payment_methods_201_response_data_relationships: - properties: - market: - $ref: '#/components/schemas/POST_billing_info_validation_rules_201_response_data_relationships_market' - payment_gateway: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_payment_gateway' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_payment_methods_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - payment_methods - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_payment_methods_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_payment_methods_201_response_data_relationships' - POST_payment_methods_201_response: - properties: - data: - $ref: '#/components/schemas/POST_payment_methods_201_response_data' - GET_payment_methods_paymentMethodId_200_response_data_attributes: - properties: - name: - description: The payment method's internal name. - example: Stripe Payment - nullable: true - payment_source_type: - description: "The payment source type. One of 'adyen_payments', 'axerve_payments',\ - \ 'braintree_payments', 'checkout_com_payments', 'credit_cards', 'external_payments',\ - \ 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments',\ - \ or 'wire_transfers'." - enum: - - adyen_payments - - axerve_payments - - braintree_payments - - checkout_com_payments - - credit_cards - - external_payments - - klarna_payments - - paypal_payments - - satispay_payments - - stripe_payments - - wire_transfers - example: stripe_payments - nullable: false - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - nullable: true - moto: - description: "Send this attribute if you want to mark the payment as MOTO,\ - \ must be supported by payment gateway." - example: false - nullable: true - require_capture: - description: Send this attribute if you want to require the payment capture - before fulfillment. - example: true - nullable: true - auto_place: - description: Send this attribute if you want to automatically place the - order upon authorization performed asynchronously. - example: true - nullable: true - auto_capture: - description: Send this attribute if you want to automatically capture the - payment upon authorization. - example: false - nullable: true - price_amount_cents: - description: "The payment method's price, in cents." - example: 0 - nullable: false - price_amount_float: - description: "The payment method's price, float." - example: 0.0 - nullable: true - formatted_price_amount: - description: "The payment method's price, formatted." - example: "€0,00" - nullable: true - auto_capture_max_amount_cents: - description: "Send this attribute if you want to limit automatic capture\ - \ to orders for which the total amount is equal or less than the specified\ - \ value, in cents." - example: 0 - nullable: true - auto_capture_max_amount_float: - description: "The automatic capture max amount, float." - example: 0.0 - nullable: true - formatted_auto_capture_max_amount: - description: "The automatic capture max amount, formatted." - example: "€0,00" - nullable: true - disabled_at: - description: Time at which this resource was disabled. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_payment_methods_paymentMethodId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - payment_methods - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_payment_methods_paymentMethodId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_payment_methods_201_response_data_relationships' - GET_payment_methods_paymentMethodId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_payment_methods_paymentMethodId_200_response_data' - PATCH_payment_methods_paymentMethodId_200_response_data_attributes: - properties: - name: - description: The payment method's internal name. - example: Stripe Payment - nullable: true - payment_source_type: - description: "The payment source type. One of 'adyen_payments', 'axerve_payments',\ - \ 'braintree_payments', 'checkout_com_payments', 'credit_cards', 'external_payments',\ - \ 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments',\ - \ or 'wire_transfers'." - enum: - - adyen_payments - - axerve_payments - - braintree_payments - - checkout_com_payments - - credit_cards - - external_payments - - klarna_payments - - paypal_payments - - satispay_payments - - stripe_payments - - wire_transfers - example: stripe_payments - nullable: false - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - nullable: true - moto: - description: "Send this attribute if you want to mark the payment as MOTO,\ - \ must be supported by payment gateway." - example: false - nullable: false - require_capture: - description: Send this attribute if you want to require the payment capture - before fulfillment. - example: true - nullable: false - auto_place: - description: Send this attribute if you want to automatically place the - order upon authorization performed asynchronously. - example: true - nullable: false - auto_capture: - description: Send this attribute if you want to automatically capture the - payment upon authorization. - example: false - nullable: false - price_amount_cents: - description: "The payment method's price, in cents." - example: 0 - nullable: false - auto_capture_max_amount_cents: - description: "Send this attribute if you want to limit automatic capture\ - \ to orders for which the total amount is equal or less than the specified\ - \ value, in cents." - example: 0 - nullable: true - _disable: - description: Send this attribute if you want to mark this resource as disabled. - example: true - nullable: false - _enable: - description: Send this attribute if you want to mark this resource as enabled. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_payment_methods_paymentMethodId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - payment_methods - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_payment_methods_paymentMethodId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_payment_methods_201_response_data_relationships' - PATCH_payment_methods_paymentMethodId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_payment_methods_paymentMethodId_200_response_data' - GET_payment_options_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - payment_options - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The payment option's name. Wehn blank is inherited - by payment source type. - example: Stripe Payment Option - nullable: true - payment_source_type: - description: "The payment source type. One of 'adyen_payments',\ - \ 'axerve_payments', 'braintree_payments', 'checkout_com_payments',\ - \ 'credit_cards', 'external_payments', 'klarna_payments', 'paypal_payments',\ - \ 'satispay_payments', 'stripe_payments', or 'wire_transfers'." - enum: - - adyen_payments - - axerve_payments - - braintree_payments - - checkout_com_payments - - credit_cards - - external_payments - - klarna_payments - - paypal_payments - - satispay_payments - - stripe_payments - - wire_transfers - example: stripe_payments - nullable: false - data: - description: The payment options data to be added to the payment - source payload. Check payment specific API for more details. - example: - application_fee_amount: 1000 - on_behalf_of: pm_xxx - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - order: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - order - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - POST_payment_options_201_response_data_attributes: - properties: - name: - description: The payment option's name. Wehn blank is inherited by payment - source type. - example: Stripe Payment Option - payment_source_type: - description: "The payment source type. One of 'adyen_payments', 'axerve_payments',\ - \ 'braintree_payments', 'checkout_com_payments', 'credit_cards', 'external_payments',\ - \ 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments',\ - \ or 'wire_transfers'." - enum: - - adyen_payments - - axerve_payments - - braintree_payments - - checkout_com_payments - - credit_cards - - external_payments - - klarna_payments - - paypal_payments - - satispay_payments - - stripe_payments - - wire_transfers - example: stripe_payments - data: - description: The payment options data to be added to the payment source - payload. Check payment specific API for more details. - example: - application_fee_amount: 1000 - on_behalf_of: pm_xxx - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - data - - payment_source_type - POST_payment_options_201_response_data_relationships: - properties: - order: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_order' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - POST_payment_options_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - payment_options - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_payment_options_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_payment_options_201_response_data_relationships' - POST_payment_options_201_response: - properties: - data: - $ref: '#/components/schemas/POST_payment_options_201_response_data' - GET_payment_options_paymentOptionId_200_response_data_attributes: - properties: - name: - description: The payment option's name. Wehn blank is inherited by payment - source type. - example: Stripe Payment Option - nullable: true - payment_source_type: - description: "The payment source type. One of 'adyen_payments', 'axerve_payments',\ - \ 'braintree_payments', 'checkout_com_payments', 'credit_cards', 'external_payments',\ - \ 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments',\ - \ or 'wire_transfers'." - enum: - - adyen_payments - - axerve_payments - - braintree_payments - - checkout_com_payments - - credit_cards - - external_payments - - klarna_payments - - paypal_payments - - satispay_payments - - stripe_payments - - wire_transfers - example: stripe_payments - nullable: false - data: - description: The payment options data to be added to the payment source - payload. Check payment specific API for more details. - example: - application_fee_amount: 1000 - on_behalf_of: pm_xxx - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_payment_options_paymentOptionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - payment_options - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_payment_options_paymentOptionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_payment_options_201_response_data_relationships' - GET_payment_options_paymentOptionId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_payment_options_paymentOptionId_200_response_data' - PATCH_payment_options_paymentOptionId_200_response_data_attributes: - properties: - name: - description: The payment option's name. Wehn blank is inherited by payment - source type. - example: Stripe Payment Option - nullable: true - data: - description: The payment options data to be added to the payment source - payload. Check payment specific API for more details. - example: - application_fee_amount: 1000 - on_behalf_of: pm_xxx - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_payment_options_paymentOptionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - payment_options - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_payment_options_paymentOptionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_payment_options_201_response_data_relationships' - PATCH_payment_options_paymentOptionId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_payment_options_paymentOptionId_200_response_data' - GET_paypal_gateways_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - paypal_gateways - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - payment_methods: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - payment_methods - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - paypal_payments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - paypal_payments - id: - description: The resource ID - POST_paypal_gateways_201_response_data_attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - client_id: - description: The gateway client ID. - example: xxxx-yyyy-zzzz - client_secret: - description: The gateway client secret. - example: xxxx-yyyy-zzzz - required: - - client_id - - client_secret - - name - POST_paypal_gateways_201_response_data_relationships_paypal_payments_data: - properties: - type: - description: The resource's type - enum: - - paypal_payments - id: - description: The resource ID - POST_paypal_gateways_201_response_data_relationships_paypal_payments: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_paypal_gateways_201_response_data_relationships_paypal_payments_data' - POST_paypal_gateways_201_response_data_relationships: - properties: - payment_methods: - $ref: '#/components/schemas/POST_adyen_gateways_201_response_data_relationships_payment_methods' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - paypal_payments: - $ref: '#/components/schemas/POST_paypal_gateways_201_response_data_relationships_paypal_payments' - POST_paypal_gateways_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - paypal_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_paypal_gateways_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_paypal_gateways_201_response_data_relationships' - POST_paypal_gateways_201_response: - properties: - data: - $ref: '#/components/schemas/POST_paypal_gateways_201_response_data' - GET_paypal_gateways_paypalGatewayId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - paypal_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_klarna_gateways_klarnaGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_paypal_gateways_201_response_data_relationships' - GET_paypal_gateways_paypalGatewayId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_paypal_gateways_paypalGatewayId_200_response_data' - PATCH_paypal_gateways_paypalGatewayId_200_response_data_attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - client_id: - description: The gateway client ID. - example: xxxx-yyyy-zzzz - client_secret: - description: The gateway client secret. - example: xxxx-yyyy-zzzz - PATCH_paypal_gateways_paypalGatewayId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - paypal_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_paypal_gateways_paypalGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_paypal_gateways_201_response_data_relationships' - PATCH_paypal_gateways_paypalGatewayId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_paypal_gateways_paypalGatewayId_200_response_data' - GET_paypal_payments_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - paypal_payments - links: - properties: - self: - description: URL - attributes: - properties: - return_url: - description: The URL where the payer is redirected after they - approve the payment. - example: https://yourdomain.com/thankyou - nullable: false - cancel_url: - description: The URL where the payer is redirected after they - cancel the payment. - example: https://yourdomain.com/checkout/payment - nullable: false - note_to_payer: - description: A free-form field that you can use to send a note - to the payer on PayPal. - example: Thank you for shopping with us! - nullable: true - paypal_payer_id: - description: The id of the payer that PayPal passes in the return_url. - example: ABCDEFGHG123456 - nullable: true - name: - description: The PayPal payer id (if present). - example: ABCDEFGHG123456 - nullable: true - paypal_id: - description: The id of the PayPal payment object. - example: "1234567890" - nullable: true - status: - description: "The PayPal payment status. One of 'created', or\ - \ 'approved'." - enum: - - created - - approved - example: created - nullable: true - approval_url: - description: The URL the customer should be redirected to approve - the payment. - example: https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-1234567890ABCDEFGHG - nullable: true - mismatched_amounts: - description: Indicates if the order current amount differs form - the one of the created payment intent. - example: false - nullable: true - payment_instrument: - description: Information about the payment instrument used in - the transaction. - example: - issuer: cl bank - card_type: visa - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - order: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_order' - payment_gateway: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_payment_gateway' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_paypal_payments_201_response_data_attributes: - properties: - return_url: - description: The URL where the payer is redirected after they approve the - payment. - example: https://yourdomain.com/thankyou - cancel_url: - description: The URL where the payer is redirected after they cancel the - payment. - example: https://yourdomain.com/checkout/payment - note_to_payer: - description: A free-form field that you can use to send a note to the payer - on PayPal. - example: Thank you for shopping with us! - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - cancel_url - - return_url - POST_paypal_payments_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - paypal_payments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_paypal_payments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships' - POST_paypal_payments_201_response: - properties: - data: - $ref: '#/components/schemas/POST_paypal_payments_201_response_data' - GET_paypal_payments_paypalPaymentId_200_response_data_attributes: - properties: - return_url: - description: The URL where the payer is redirected after they approve the - payment. - example: https://yourdomain.com/thankyou - nullable: false - cancel_url: - description: The URL where the payer is redirected after they cancel the - payment. - example: https://yourdomain.com/checkout/payment - nullable: false - note_to_payer: - description: A free-form field that you can use to send a note to the payer - on PayPal. - example: Thank you for shopping with us! - nullable: true - paypal_payer_id: - description: The id of the payer that PayPal passes in the return_url. - example: ABCDEFGHG123456 - nullable: true - name: - description: The PayPal payer id (if present). - example: ABCDEFGHG123456 - nullable: true - paypal_id: - description: The id of the PayPal payment object. - example: "1234567890" - nullable: true - status: - description: "The PayPal payment status. One of 'created', or 'approved'." - enum: - - created - - approved - example: created - nullable: true - approval_url: - description: The URL the customer should be redirected to approve the payment. - example: https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-1234567890ABCDEFGHG - nullable: true - mismatched_amounts: - description: Indicates if the order current amount differs form the one - of the created payment intent. - example: false - nullable: true - payment_instrument: - description: Information about the payment instrument used in the transaction. - example: - issuer: cl bank - card_type: visa - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_paypal_payments_paypalPaymentId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - paypal_payments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_paypal_payments_paypalPaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships' - GET_paypal_payments_paypalPaymentId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_paypal_payments_paypalPaymentId_200_response_data' - PATCH_paypal_payments_paypalPaymentId_200_response_data_attributes: - properties: - paypal_payer_id: - description: The id of the payer that PayPal passes in the return_url. - example: ABCDEFGHG123456 - nullable: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_paypal_payments_paypalPaymentId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - paypal_payments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_paypal_payments_paypalPaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships' - PATCH_paypal_payments_paypalPaymentId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_paypal_payments_paypalPaymentId_200_response_data' - GET_percentage_discount_promotions_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - percentage_discount_promotions - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - nullable: false - type: - description: The promotion's type. - enum: - - percentage_discount_promotions - - free_shipping_promotions - - buy_x_pay_y_promotions - - free_gift_promotions - - fixed_price_promotions - - external_promotions - - fixed_amount_promotions - - flex_promotions - example: percentage_discount_promotions - nullable: false - currency_code: - description: The international 3-letter currency code as defined - by the ISO 4217 standard. - example: EUR - nullable: true - exclusive: - description: "Indicates if the promotion will be applied exclusively,\ - \ based on its priority score." - example: true - nullable: true - priority: - description: The priority assigned to the promotion (lower means - higher priority). - example: 2 - nullable: true - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - nullable: false - expires_at: - description: The expiration date/time of this promotion (must - be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: false - total_usage_limit: - description: The total number of times this promotion can be applied. - When 'null' it means promotion can be applied infinite times. - example: 5 - nullable: true - total_usage_count: - description: The number of times this promotion has been applied. - example: 2 - nullable: true - active: - description: Indicates if the promotion is active (enabled and - not expired). - example: true - nullable: true - status: - description: "The promotion status. One of 'disabled', 'expired',\ - \ 'pending', 'active', or 'inactive'." - enum: - - disabled - - expired - - pending - - active - - inactive - example: pending - nullable: true - disabled_at: - description: Time at which this resource was disabled. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - percentage: - description: The discount percentage to be applied. - example: 10 - nullable: false - relationships: - properties: - market: - $ref: '#/components/schemas/POST_billing_info_validation_rules_201_response_data_relationships_market' - promotion_rules: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_promotion_rules' - order_amount_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_order_amount_promotion_rule' - sku_list_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_sku_list_promotion_rule' - coupon_codes_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_coupon_codes_promotion_rule' - custom_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_custom_promotion_rule' - sku_list: - $ref: '#/components/schemas/POST_bundles_201_response_data_relationships_sku_list' - coupons: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_coupons' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - tags: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_tags' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - skus: - $ref: '#/components/schemas/POST_bundles_201_response_data_relationships_skus' - POST_percentage_discount_promotions_201_response_data_attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - exclusive: - description: "Indicates if the promotion will be applied exclusively, based\ - \ on its priority score." - example: true - priority: - description: The priority assigned to the promotion (lower means higher - priority). - example: 2 - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - expires_at: - description: The expiration date/time of this promotion (must be after starts_at). - example: 2018-01-02T12:00:00.000Z - total_usage_limit: - description: The total number of times this promotion can be applied. When - 'null' it means promotion can be applied infinite times. - example: 5 - _disable: - description: Send this attribute if you want to mark this resource as disabled. - example: true - _enable: - description: Send this attribute if you want to mark this resource as enabled. - example: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - percentage: - description: The discount percentage to be applied. - example: 10 - required: - - expires_at - - name - - percentage - - starts_at - POST_percentage_discount_promotions_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - percentage_discount_promotions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_percentage_discount_promotions_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships' - POST_percentage_discount_promotions_201_response: - properties: - data: - $ref: '#/components/schemas/POST_percentage_discount_promotions_201_response_data' - GET_percentage_discount_promotions_percentageDiscountPromotionId_200_response_data_attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - nullable: false - type: - description: The promotion's type. - enum: - - percentage_discount_promotions - - free_shipping_promotions - - buy_x_pay_y_promotions - - free_gift_promotions - - fixed_price_promotions - - external_promotions - - fixed_amount_promotions - - flex_promotions - example: percentage_discount_promotions - nullable: false - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - nullable: true - exclusive: - description: "Indicates if the promotion will be applied exclusively, based\ - \ on its priority score." - example: true - nullable: true - priority: - description: The priority assigned to the promotion (lower means higher - priority). - example: 2 - nullable: true - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - nullable: false - expires_at: - description: The expiration date/time of this promotion (must be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: false - total_usage_limit: - description: The total number of times this promotion can be applied. When - 'null' it means promotion can be applied infinite times. - example: 5 - nullable: true - total_usage_count: - description: The number of times this promotion has been applied. - example: 2 - nullable: true - active: - description: Indicates if the promotion is active (enabled and not expired). - example: true - nullable: true - status: - description: "The promotion status. One of 'disabled', 'expired', 'pending',\ - \ 'active', or 'inactive'." - enum: - - disabled - - expired - - pending - - active - - inactive - example: pending - nullable: true - disabled_at: - description: Time at which this resource was disabled. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - percentage: - description: The discount percentage to be applied. - example: 10 - nullable: false - GET_percentage_discount_promotions_percentageDiscountPromotionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - percentage_discount_promotions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_percentage_discount_promotions_percentageDiscountPromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships' - GET_percentage_discount_promotions_percentageDiscountPromotionId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_percentage_discount_promotions_percentageDiscountPromotionId_200_response_data' - PATCH_percentage_discount_promotions_percentageDiscountPromotionId_200_response_data_attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - nullable: false - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - nullable: true - exclusive: - description: "Indicates if the promotion will be applied exclusively, based\ - \ on its priority score." - example: true - nullable: false - priority: - description: The priority assigned to the promotion (lower means higher - priority). - example: 2 - nullable: true - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - nullable: false - expires_at: - description: The expiration date/time of this promotion (must be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: false - total_usage_limit: - description: The total number of times this promotion can be applied. When - 'null' it means promotion can be applied infinite times. - example: 5 - nullable: true - _disable: - description: Send this attribute if you want to mark this resource as disabled. - example: true - nullable: false - _enable: - description: Send this attribute if you want to mark this resource as enabled. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - percentage: - description: The discount percentage to be applied. - example: 10 - nullable: false - PATCH_percentage_discount_promotions_percentageDiscountPromotionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - percentage_discount_promotions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_percentage_discount_promotions_percentageDiscountPromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships' - PATCH_percentage_discount_promotions_percentageDiscountPromotionId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_percentage_discount_promotions_percentageDiscountPromotionId_200_response_data' - GET_price_frequency_tiers_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - price_frequency_tiers - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The price tier's name. - example: six pack - nullable: false - type: - description: The price tier's type. - enum: - - price_volume_tiers - - price_frequency_tiers - example: price_volume_tiers - nullable: false - up_to: - description: "The tier upper limit, expressed as the line item\ - \ frequency in days (or frequency label, ie 'monthly'). When\ - \ 'null' it means infinity (useful to have an always matching\ - \ tier)." - example: 7 - nullable: true - price_amount_cents: - description: "The price of this price tier, in cents." - example: 1000 - nullable: false - price_amount_float: - description: "The price of this price tier, float." - example: 10.0 - nullable: true - formatted_price_amount: - description: "The price of this price tier, formatted." - example: "€10,00" - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - price: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - price - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - POST_price_frequency_tiers_201_response_data_attributes: - properties: - name: - description: The price tier's name. - example: six pack - up_to: - description: "The tier upper limit, expressed as the line item frequency\ - \ in days (or frequency label, ie 'monthly'). When 'null' it means infinity\ - \ (useful to have an always matching tier)." - example: 7 - price_amount_cents: - description: "The price of this price tier, in cents." - example: 1000 - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - name - - price_amount_cents - POST_price_frequency_tiers_201_response_data_relationships_price_data: - properties: - type: - description: The resource's type - enum: - - price - id: - description: The resource ID - POST_price_frequency_tiers_201_response_data_relationships_price: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_price_frequency_tiers_201_response_data_relationships_price_data' - POST_price_frequency_tiers_201_response_data_relationships: - properties: - price: - $ref: '#/components/schemas/POST_price_frequency_tiers_201_response_data_relationships_price' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - POST_price_frequency_tiers_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - price_frequency_tiers - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_price_frequency_tiers_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_price_frequency_tiers_201_response_data_relationships' - POST_price_frequency_tiers_201_response: - properties: - data: - $ref: '#/components/schemas/POST_price_frequency_tiers_201_response_data' - GET_price_frequency_tiers_priceFrequencyTierId_200_response_data_attributes: - properties: - name: - description: The price tier's name. - example: six pack - nullable: false - type: - description: The price tier's type. - enum: - - price_volume_tiers - - price_frequency_tiers - example: price_volume_tiers - nullable: false - up_to: - description: "The tier upper limit, expressed as the line item frequency\ - \ in days (or frequency label, ie 'monthly'). When 'null' it means infinity\ - \ (useful to have an always matching tier)." - example: 7 - nullable: true - price_amount_cents: - description: "The price of this price tier, in cents." - example: 1000 - nullable: false - price_amount_float: - description: "The price of this price tier, float." - example: 10.0 - nullable: true - formatted_price_amount: - description: "The price of this price tier, formatted." - example: "€10,00" - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_price_frequency_tiers_priceFrequencyTierId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - price_frequency_tiers - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_price_frequency_tiers_priceFrequencyTierId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_price_frequency_tiers_201_response_data_relationships' - GET_price_frequency_tiers_priceFrequencyTierId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_price_frequency_tiers_priceFrequencyTierId_200_response_data' - PATCH_price_frequency_tiers_priceFrequencyTierId_200_response_data_attributes: - properties: - name: - description: The price tier's name. - example: six pack - nullable: false - up_to: - description: "The tier upper limit, expressed as the line item frequency\ - \ in days (or frequency label, ie 'monthly'). When 'null' it means infinity\ - \ (useful to have an always matching tier)." - example: 7 - nullable: true - price_amount_cents: - description: "The price of this price tier, in cents." - example: 1000 - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_price_frequency_tiers_priceFrequencyTierId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - price_frequency_tiers - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_price_frequency_tiers_priceFrequencyTierId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_price_frequency_tiers_201_response_data_relationships' - PATCH_price_frequency_tiers_priceFrequencyTierId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_price_frequency_tiers_priceFrequencyTierId_200_response_data' - GET_price_list_schedulers_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - price_list_schedulers - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The price list scheduler's internal name. - example: FW SALE 2023 - nullable: false - starts_at: - description: The activation date/time of this price list scheduler. - example: 2018-01-01T12:00:00.000Z - nullable: false - expires_at: - description: The expiration date/time of this price list scheduler - (must be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: false - active: - description: Indicates if the price list scheduler is active (enabled - and not expired). - example: true - nullable: true - status: - description: "The price list scheduler status. One of 'disabled',\ - \ 'expired', 'pending', or 'active'." - enum: - - disabled - - expired - - pending - - active - example: pending - nullable: true - disabled_at: - description: Time at which this resource was disabled. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - market: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - market - id: - description: The resource ID - price_list: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - price_list - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_price_list_schedulers_201_response_data_attributes: - properties: - name: - description: The price list scheduler's internal name. - example: FW SALE 2023 - starts_at: - description: The activation date/time of this price list scheduler. - example: 2018-01-01T12:00:00.000Z - expires_at: - description: The expiration date/time of this price list scheduler (must - be after starts_at). - example: 2018-01-02T12:00:00.000Z - _disable: - description: Send this attribute if you want to mark this resource as disabled. - example: true - _enable: - description: Send this attribute if you want to mark this resource as enabled. - example: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - expires_at - - name - - starts_at - POST_price_list_schedulers_201_response_data_relationships: - properties: - market: - $ref: '#/components/schemas/POST_billing_info_validation_rules_201_response_data_relationships_market' - price_list: - $ref: '#/components/schemas/POST_markets_201_response_data_relationships_price_list' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_price_list_schedulers_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - price_list_schedulers - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_price_list_schedulers_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_price_list_schedulers_201_response_data_relationships' - POST_price_list_schedulers_201_response: - properties: - data: - $ref: '#/components/schemas/POST_price_list_schedulers_201_response_data' - GET_price_list_schedulers_priceListSchedulerId_200_response_data_attributes: - properties: - name: - description: The price list scheduler's internal name. - example: FW SALE 2023 - nullable: false - starts_at: - description: The activation date/time of this price list scheduler. - example: 2018-01-01T12:00:00.000Z - nullable: false - expires_at: - description: The expiration date/time of this price list scheduler (must - be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: false - active: - description: Indicates if the price list scheduler is active (enabled and - not expired). - example: true - nullable: true - status: - description: "The price list scheduler status. One of 'disabled', 'expired',\ - \ 'pending', or 'active'." - enum: - - disabled - - expired - - pending - - active - example: pending - nullable: true - disabled_at: - description: Time at which this resource was disabled. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_price_list_schedulers_priceListSchedulerId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - price_list_schedulers - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_price_list_schedulers_priceListSchedulerId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_price_list_schedulers_201_response_data_relationships' - GET_price_list_schedulers_priceListSchedulerId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_price_list_schedulers_priceListSchedulerId_200_response_data' - PATCH_price_list_schedulers_priceListSchedulerId_200_response_data_attributes: - properties: - name: - description: The price list scheduler's internal name. - example: FW SALE 2023 - nullable: false - starts_at: - description: The activation date/time of this price list scheduler. - example: 2018-01-01T12:00:00.000Z - nullable: false - expires_at: - description: The expiration date/time of this price list scheduler (must - be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: false - _disable: - description: Send this attribute if you want to mark this resource as disabled. - example: true - nullable: false - _enable: - description: Send this attribute if you want to mark this resource as enabled. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_price_list_schedulers_priceListSchedulerId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - price_list_schedulers - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_price_list_schedulers_priceListSchedulerId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_price_list_schedulers_201_response_data_relationships' - PATCH_price_list_schedulers_priceListSchedulerId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_price_list_schedulers_priceListSchedulerId_200_response_data' - GET_price_lists_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - price_lists - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The price list's internal name. - example: EU Price list - nullable: false - code: - description: A string that you can use to identify the price list - (must be unique within the environment). - example: europe1 - nullable: true - currency_code: - description: The international 3-letter currency code as defined - by the ISO 4217 standard. - example: EUR - nullable: false - tax_included: - description: Indicates if the associated prices include taxes. - example: true - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - rules: - description: The rules (using Rules Engine) to be applied. - example: {} - nullable: true - rule_outcomes: - description: The rule outcomes. - example: {} - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - prices: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - prices - id: - description: The resource ID - price_list_schedulers: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - price_list_schedulers - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_price_lists_201_response_data_attributes: - properties: - name: - description: The price list's internal name. - example: EU Price list - code: - description: A string that you can use to identify the price list (must - be unique within the environment). - example: europe1 - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - tax_included: - description: Indicates if the associated prices include taxes. - example: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - rules: - description: The rules (using Rules Engine) to be applied. - example: {} - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - currency_code - - name - POST_price_lists_201_response_data_relationships_prices_data: - properties: - type: - description: The resource's type - enum: - - prices - id: - description: The resource ID - POST_price_lists_201_response_data_relationships_prices: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_price_lists_201_response_data_relationships_prices_data' - POST_price_lists_201_response_data_relationships: - properties: - prices: - $ref: '#/components/schemas/POST_price_lists_201_response_data_relationships_prices' - price_list_schedulers: - $ref: '#/components/schemas/POST_markets_201_response_data_relationships_price_list_schedulers' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_price_lists_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - price_lists - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_price_lists_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_price_lists_201_response_data_relationships' - POST_price_lists_201_response: - properties: - data: - $ref: '#/components/schemas/POST_price_lists_201_response_data' - GET_price_lists_priceListId_200_response_data_attributes: - properties: - name: - description: The price list's internal name. - example: EU Price list - nullable: false - code: - description: A string that you can use to identify the price list (must - be unique within the environment). - example: europe1 - nullable: true - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - nullable: false - tax_included: - description: Indicates if the associated prices include taxes. - example: true - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - rules: - description: The rules (using Rules Engine) to be applied. - example: {} - nullable: true - rule_outcomes: - description: The rule outcomes. - example: {} - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_price_lists_priceListId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - price_lists - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_price_lists_priceListId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_price_lists_201_response_data_relationships' - GET_price_lists_priceListId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_price_lists_priceListId_200_response_data' - PATCH_price_lists_priceListId_200_response_data_attributes: - properties: - name: - description: The price list's internal name. - example: EU Price list - nullable: false - code: - description: A string that you can use to identify the price list (must - be unique within the environment). - example: europe1 - nullable: true - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - nullable: false - tax_included: - description: Indicates if the associated prices include taxes. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - rules: - description: The rules (using Rules Engine) to be applied. - example: {} - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_price_lists_priceListId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - price_lists - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_price_lists_priceListId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_price_lists_201_response_data_relationships' - PATCH_price_lists_priceListId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_price_lists_priceListId_200_response_data' - GET_price_tiers_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - price_tiers - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The price tier's name. - example: six pack - nullable: false - type: - description: The price tier's type. - enum: - - price_volume_tiers - - price_frequency_tiers - example: price_volume_tiers - nullable: false - up_to: - description: The tier upper limit. When 'null' it means infinity - (useful to have an always matching tier). - example: 20.5 - nullable: true - price_amount_cents: - description: "The price of this price tier, in cents." - example: 1000 - nullable: false - price_amount_float: - description: "The price of this price tier, float." - example: 10.0 - nullable: true - formatted_price_amount: - description: "The price of this price tier, formatted." - example: "€10,00" - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - price: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - price - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - GET_price_tiers_priceTierId_200_response_data_attributes: - properties: - name: - description: The price tier's name. - example: six pack - nullable: false - type: - description: The price tier's type. - enum: - - price_volume_tiers - - price_frequency_tiers - example: price_volume_tiers - nullable: false - up_to: - description: The tier upper limit. When 'null' it means infinity (useful - to have an always matching tier). - example: 20.5 - nullable: true - price_amount_cents: - description: "The price of this price tier, in cents." - example: 1000 - nullable: false - price_amount_float: - description: "The price of this price tier, float." - example: 10.0 - nullable: true - formatted_price_amount: - description: "The price of this price tier, formatted." - example: "€10,00" - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_price_tiers_priceTierId_200_response_data_relationships: - properties: - price: - $ref: '#/components/schemas/POST_price_frequency_tiers_201_response_data_relationships_price' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - GET_price_tiers_priceTierId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - price_tiers - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_price_tiers_priceTierId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/GET_price_tiers_priceTierId_200_response_data_relationships' - GET_price_tiers_priceTierId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_price_tiers_priceTierId_200_response_data' - GET_price_volume_tiers_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - price_volume_tiers - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The price tier's name. - example: six pack - nullable: false - type: - description: The price tier's type. - enum: - - price_volume_tiers - - price_frequency_tiers - example: price_volume_tiers - nullable: false - up_to: - description: "The tier upper limit, expressed as the line item\ - \ quantity. When 'null' it means infinity (useful to have an\ - \ always matching tier)." - example: 15 - nullable: true - price_amount_cents: - description: "The price of this price tier, in cents." - example: 1000 - nullable: false - price_amount_float: - description: "The price of this price tier, float." - example: 10.0 - nullable: true - formatted_price_amount: - description: "The price of this price tier, formatted." - example: "€10,00" - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - price: - $ref: '#/components/schemas/POST_price_frequency_tiers_201_response_data_relationships_price' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - POST_price_volume_tiers_201_response_data_attributes: - properties: - name: - description: The price tier's name. - example: six pack - up_to: - description: "The tier upper limit, expressed as the line item quantity.\ - \ When 'null' it means infinity (useful to have an always matching tier)." - example: 15 - price_amount_cents: - description: "The price of this price tier, in cents." - example: 1000 - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - name - - price_amount_cents - POST_price_volume_tiers_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - price_volume_tiers - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_price_volume_tiers_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_price_frequency_tiers_201_response_data_relationships' - POST_price_volume_tiers_201_response: - properties: - data: - $ref: '#/components/schemas/POST_price_volume_tiers_201_response_data' - GET_price_volume_tiers_priceVolumeTierId_200_response_data_attributes: - properties: - name: - description: The price tier's name. - example: six pack - nullable: false - type: - description: The price tier's type. - enum: - - price_volume_tiers - - price_frequency_tiers - example: price_volume_tiers - nullable: false - up_to: - description: "The tier upper limit, expressed as the line item quantity.\ - \ When 'null' it means infinity (useful to have an always matching tier)." - example: 15 - nullable: true - price_amount_cents: - description: "The price of this price tier, in cents." - example: 1000 - nullable: false - price_amount_float: - description: "The price of this price tier, float." - example: 10.0 - nullable: true - formatted_price_amount: - description: "The price of this price tier, formatted." - example: "€10,00" - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_price_volume_tiers_priceVolumeTierId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - price_volume_tiers - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_price_volume_tiers_priceVolumeTierId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_price_frequency_tiers_201_response_data_relationships' - GET_price_volume_tiers_priceVolumeTierId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_price_volume_tiers_priceVolumeTierId_200_response_data' - PATCH_price_volume_tiers_priceVolumeTierId_200_response_data_attributes: - properties: - name: - description: The price tier's name. - example: six pack - nullable: false - up_to: - description: "The tier upper limit, expressed as the line item quantity.\ - \ When 'null' it means infinity (useful to have an always matching tier)." - example: 15 - nullable: true - price_amount_cents: - description: "The price of this price tier, in cents." - example: 1000 - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_price_volume_tiers_priceVolumeTierId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - price_volume_tiers - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_price_volume_tiers_priceVolumeTierId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_price_frequency_tiers_201_response_data_relationships' - PATCH_price_volume_tiers_priceVolumeTierId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_price_volume_tiers_priceVolumeTierId_200_response_data' - GET_prices_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - prices - links: - properties: - self: - description: URL - attributes: - properties: - currency_code: - description: "The international 3-letter currency code as defined\ - \ by the ISO 4217 standard, inherited from the associated price\ - \ list." - example: EUR - nullable: true - sku_code: - description: "The code of the associated SKU. When creating a\ - \ price, either a valid sku_code or a SKU relationship must\ - \ be present." - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - amount_cents: - description: "The SKU price amount for the associated price list,\ - \ in cents." - example: 10000 - nullable: false - amount_float: - description: "The SKU price amount for the associated price list,\ - \ float." - example: 100.0 - nullable: true - formatted_amount: - description: "The SKU price amount for the associated price list,\ - \ formatted." - example: "€100,00" - nullable: true - original_amount_cents: - description: "The SKU price amount for the associated price list,\ - \ in cents before any applied rule." - example: 10000 - nullable: true - formatted_original_amount: - description: "The SKU price amount for the associated price list,\ - \ in cents before any applied rule, formatted." - example: "€100,00" - nullable: true - compare_at_amount_cents: - description: "The compared price amount, in cents. Useful to display\ - \ a percentage discount." - example: 13000 - nullable: true - compare_at_amount_float: - description: "The compared price amount, float." - example: 130.0 - nullable: true - formatted_compare_at_amount: - description: "The compared price amount, formatted." - example: "€130,00" - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - rules: - description: The rules (using Rules Engine) to be applied. - example: {} - nullable: true - rule_outcomes: - description: The rule outcomes. - example: {} - nullable: true - jwt_custom_claim: - description: The custom_claim attached to the current JWT (if - any). - example: {} - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - price_list: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - price_list - id: - description: The resource ID - sku: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - sku - id: - description: The resource ID - price_tiers: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - price_tiers - id: - description: The resource ID - price_volume_tiers: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - price_volume_tiers - id: - description: The resource ID - price_frequency_tiers: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - price_frequency_tiers - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - jwt_customer: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - jwt_customer - id: - description: The resource ID - jwt_markets: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - jwt_markets - id: - description: The resource ID - jwt_stock_locations: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - jwt_stock_locations - id: - description: The resource ID - POST_prices_201_response_data_attributes: - properties: - sku_code: - description: "The code of the associated SKU. When creating a price, either\ - \ a valid sku_code or a SKU relationship must be present." - example: TSHIRTMM000000FFFFFFXLXX - amount_cents: - description: "The SKU price amount for the associated price list, in cents." - example: 10000 - compare_at_amount_cents: - description: "The compared price amount, in cents. Useful to display a percentage\ - \ discount." - example: 13000 - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - rules: - description: The rules (using Rules Engine) to be applied. - example: {} - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - amount_cents - POST_prices_201_response_data_relationships_price_tiers_data: - properties: - type: - description: The resource's type - enum: - - price_tiers - id: - description: The resource ID - POST_prices_201_response_data_relationships_price_tiers: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_prices_201_response_data_relationships_price_tiers_data' - POST_prices_201_response_data_relationships_price_volume_tiers_data: - properties: - type: - description: The resource's type - enum: - - price_volume_tiers - id: - description: The resource ID - POST_prices_201_response_data_relationships_price_volume_tiers: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_prices_201_response_data_relationships_price_volume_tiers_data' - POST_prices_201_response_data_relationships_price_frequency_tiers_data: - properties: - type: - description: The resource's type - enum: - - price_frequency_tiers - id: - description: The resource ID - POST_prices_201_response_data_relationships_price_frequency_tiers: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_prices_201_response_data_relationships_price_frequency_tiers_data' - POST_prices_201_response_data_relationships_jwt_customer_data: - properties: - type: - description: The resource's type - enum: - - jwt_customer - id: - description: The resource ID - POST_prices_201_response_data_relationships_jwt_customer: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_prices_201_response_data_relationships_jwt_customer_data' - POST_prices_201_response_data_relationships_jwt_markets_data: - properties: - type: - description: The resource's type - enum: - - jwt_markets - id: - description: The resource ID - POST_prices_201_response_data_relationships_jwt_markets: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_prices_201_response_data_relationships_jwt_markets_data' - POST_prices_201_response_data_relationships_jwt_stock_locations_data: - properties: - type: - description: The resource's type - enum: - - jwt_stock_locations - id: - description: The resource ID - POST_prices_201_response_data_relationships_jwt_stock_locations: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_prices_201_response_data_relationships_jwt_stock_locations_data' - POST_prices_201_response_data_relationships: - properties: - price_list: - $ref: '#/components/schemas/POST_markets_201_response_data_relationships_price_list' - sku: - $ref: '#/components/schemas/POST_in_stock_subscriptions_201_response_data_relationships_sku' - price_tiers: - $ref: '#/components/schemas/POST_prices_201_response_data_relationships_price_tiers' - price_volume_tiers: - $ref: '#/components/schemas/POST_prices_201_response_data_relationships_price_volume_tiers' - price_frequency_tiers: - $ref: '#/components/schemas/POST_prices_201_response_data_relationships_price_frequency_tiers' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - jwt_customer: - $ref: '#/components/schemas/POST_prices_201_response_data_relationships_jwt_customer' - jwt_markets: - $ref: '#/components/schemas/POST_prices_201_response_data_relationships_jwt_markets' - jwt_stock_locations: - $ref: '#/components/schemas/POST_prices_201_response_data_relationships_jwt_stock_locations' - POST_prices_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - prices - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_prices_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_prices_201_response_data_relationships' - POST_prices_201_response: - properties: - data: - $ref: '#/components/schemas/POST_prices_201_response_data' - GET_prices_priceId_200_response_data_attributes: - properties: - currency_code: - description: "The international 3-letter currency code as defined by the\ - \ ISO 4217 standard, inherited from the associated price list." - example: EUR - nullable: true - sku_code: - description: "The code of the associated SKU. When creating a price, either\ - \ a valid sku_code or a SKU relationship must be present." - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - amount_cents: - description: "The SKU price amount for the associated price list, in cents." - example: 10000 - nullable: false - amount_float: - description: "The SKU price amount for the associated price list, float." - example: 100.0 - nullable: true - formatted_amount: - description: "The SKU price amount for the associated price list, formatted." - example: "€100,00" - nullable: true - original_amount_cents: - description: "The SKU price amount for the associated price list, in cents\ - \ before any applied rule." - example: 10000 - nullable: true - formatted_original_amount: - description: "The SKU price amount for the associated price list, in cents\ - \ before any applied rule, formatted." - example: "€100,00" - nullable: true - compare_at_amount_cents: - description: "The compared price amount, in cents. Useful to display a percentage\ - \ discount." - example: 13000 - nullable: true - compare_at_amount_float: - description: "The compared price amount, float." - example: 130.0 - nullable: true - formatted_compare_at_amount: - description: "The compared price amount, formatted." - example: "€130,00" - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - rules: - description: The rules (using Rules Engine) to be applied. - example: {} - nullable: true - rule_outcomes: - description: The rule outcomes. - example: {} - nullable: true - jwt_custom_claim: - description: The custom_claim attached to the current JWT (if any). - example: {} - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_prices_priceId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - prices - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_prices_priceId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_prices_201_response_data_relationships' - GET_prices_priceId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_prices_priceId_200_response_data' - PATCH_prices_priceId_200_response_data_attributes: - properties: - sku_code: - description: "The code of the associated SKU. When creating a price, either\ - \ a valid sku_code or a SKU relationship must be present." - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - amount_cents: - description: "The SKU price amount for the associated price list, in cents." - example: 10000 - nullable: false - compare_at_amount_cents: - description: "The compared price amount, in cents. Useful to display a percentage\ - \ discount." - example: 13000 - nullable: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - rules: - description: The rules (using Rules Engine) to be applied. - example: {} - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_prices_priceId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - prices - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_prices_priceId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_prices_201_response_data_relationships' - PATCH_prices_priceId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_prices_priceId_200_response_data' - GET_promotion_rules_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - promotion_rules - links: - properties: - self: - description: URL - attributes: - properties: - type: - description: The promotion rule's type. - enum: - - order_amount_promotion_rules - - sku_list_promotion_rules - - coupon_codes_promotion_rules - - custom_promotion_rules - example: coupon_codes_promotion_rules - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - promotion: - $ref: '#/components/schemas/POST_coupon_codes_promotion_rules_201_response_data_relationships_promotion' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - GET_promotion_rules_promotionRuleId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - promotion_rules - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_coupon_codes_promotion_rules_couponCodesPromotionRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_custom_promotion_rules_201_response_data_relationships' - GET_promotion_rules_promotionRuleId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_promotion_rules_promotionRuleId_200_response_data' - GET_promotions_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - promotions - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The promotion's internal name. - example: Personal promotion - nullable: false - type: - description: The promotion's type. - enum: - - percentage_discount_promotions - - free_shipping_promotions - - buy_x_pay_y_promotions - - free_gift_promotions - - fixed_price_promotions - - external_promotions - - fixed_amount_promotions - - flex_promotions - example: percentage_discount_promotions - nullable: false - currency_code: - description: The international 3-letter currency code as defined - by the ISO 4217 standard. - example: EUR - nullable: true - exclusive: - description: "Indicates if the promotion will be applied exclusively,\ - \ based on its priority score." - example: true - nullable: true - priority: - description: The priority assigned to the promotion (lower means - higher priority). - example: 2 - nullable: true - starts_at: - description: The activation date/time of this promotion. - example: 2018-01-01T12:00:00.000Z - nullable: false - expires_at: - description: The expiration date/time of this promotion (must - be after starts_at). - example: 2018-01-02T12:00:00.000Z - nullable: false - total_usage_limit: - description: The total number of times this promotion can be applied. - When 'null' it means promotion can be applied infinite times. - example: 5 - nullable: true - total_usage_count: - description: The number of times this promotion has been applied. - example: 2 - nullable: true - active: - description: Indicates if the promotion is active (enabled and - not expired). - example: true - nullable: true - status: - description: "The promotion status. One of 'disabled', 'expired',\ - \ 'pending', 'active', or 'inactive'." - enum: - - disabled - - expired - - pending - - active - - inactive - example: pending - nullable: true - disabled_at: - description: Time at which this resource was disabled. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - market: - $ref: '#/components/schemas/POST_billing_info_validation_rules_201_response_data_relationships_market' - promotion_rules: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_promotion_rules' - order_amount_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_order_amount_promotion_rule' - sku_list_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_sku_list_promotion_rule' - coupon_codes_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_coupon_codes_promotion_rule' - custom_promotion_rule: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_custom_promotion_rule' - sku_list: - $ref: '#/components/schemas/POST_bundles_201_response_data_relationships_sku_list' - coupons: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_relationships_coupons' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - tags: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_tags' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - GET_promotions_promotionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - promotions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_free_shipping_promotions_freeShippingPromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_free_shipping_promotions_201_response_data_relationships' - GET_promotions_promotionId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_promotions_promotionId_200_response_data' - GET_recurring_order_copies_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - recurring_order_copies - links: - properties: - self: - description: URL - attributes: - properties: - type: - description: The order factory's type. - enum: - - order_copies - - recurring_order_copies - example: recurring_order_copies - nullable: false - status: - description: "The order factory status. One of 'pending' (default),\ - \ 'in_progress', 'failed', or 'completed'." - enum: - - pending - - in_progress - - failed - - completed - example: in_progress - nullable: false - started_at: - description: Time at which the order copy was started. - example: 2018-01-01T12:00:00.000Z - nullable: true - completed_at: - description: Time at which the order copy was completed. - example: 2018-01-01T12:00:00.000Z - nullable: true - failed_at: - description: Time at which the order copy has failed. - example: 2018-01-01T12:00:00.000Z - nullable: true - errors_log: - description: "Contains the order copy errors, if any." - example: - status: - - cannot transition from draft to placed - nullable: true - errors_count: - description: "Indicates the number of copy errors, if any." - example: 2 - nullable: true - place_target_order: - description: Indicates if the target order must be placed upon - copy. - example: true - nullable: true - reuse_wallet: - description: Indicates if the payment source within the source - order customer's wallet must be copied. - example: true - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - source_order: - $ref: '#/components/schemas/POST_order_copies_201_response_data_relationships_source_order' - target_order: - $ref: '#/components/schemas/POST_order_copies_201_response_data_relationships_target_order' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - order_subscription: - $ref: '#/components/schemas/POST_order_copies_201_response_data_relationships_order_subscription' - POST_recurring_order_copies_201_response_data_attributes: - properties: - place_target_order: - description: Indicates if the target order must be placed upon copy. - example: true - reuse_wallet: - description: Indicates if the payment source within the source order customer's - wallet must be copied. - example: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - POST_recurring_order_copies_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - recurring_order_copies - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_recurring_order_copies_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_order_copies_201_response_data_relationships' - POST_recurring_order_copies_201_response: - properties: - data: - $ref: '#/components/schemas/POST_recurring_order_copies_201_response_data' - GET_recurring_order_copies_recurringOrderCopyId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - recurring_order_copies - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_order_factories_orderFactoryId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_order_copies_201_response_data_relationships' - GET_recurring_order_copies_recurringOrderCopyId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_recurring_order_copies_recurringOrderCopyId_200_response_data' - PATCH_recurring_order_copies_recurringOrderCopyId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - recurring_order_copies - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_billing_info_validation_rules_billingInfoValidationRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_order_copies_201_response_data_relationships' - PATCH_recurring_order_copies_recurringOrderCopyId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_recurring_order_copies_recurringOrderCopyId_200_response_data' - GET_refunds_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - refunds - links: - properties: - self: - description: URL - attributes: - properties: - number: - description: "The transaction number, auto generated." - example: 42/T/001 - nullable: false - type: - description: The transaction's type. - enum: - - authorizations - - voids - - captures - - refunds - example: authorizations - nullable: false - currency_code: - description: "The international 3-letter currency code as defined\ - \ by the ISO 4217 standard, inherited from the associated order." - example: EUR - nullable: false - amount_cents: - description: "The transaction amount, in cents." - example: 1500 - nullable: false - amount_float: - description: "The transaction amount, float." - example: 15.0 - nullable: false - formatted_amount: - description: "The transaction amount, formatted." - example: "€15,00" - nullable: false - succeeded: - description: Indicates if the transaction is successful. - example: false - nullable: false - message: - description: The message returned by the payment gateway. - example: Accepted - nullable: true - error_code: - description: "The error code, if any, returned by the payment\ - \ gateway." - example: "00001" - nullable: true - error_detail: - description: "The error detail, if any, returned by the payment\ - \ gateway." - example: Already settled - nullable: true - token: - description: "The token identifying the transaction, returned\ - \ by the payment gateway." - example: xxxx-yyyy-zzzz - nullable: true - gateway_transaction_id: - description: "The ID identifying the transaction, returned by\ - \ the payment gateway." - example: xxxx-yyyy-zzzz - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - order: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - order - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - reference_capture: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - reference_capture - id: - description: The resource ID - return: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - return - id: - description: The resource ID - GET_refunds_refundId_200_response_data_attributes: - properties: - number: - description: "The transaction number, auto generated." - example: 42/T/001 - nullable: false - type: - description: The transaction's type. - enum: - - authorizations - - voids - - captures - - refunds - example: authorizations - nullable: false - currency_code: - description: "The international 3-letter currency code as defined by the\ - \ ISO 4217 standard, inherited from the associated order." - example: EUR - nullable: false - amount_cents: - description: "The transaction amount, in cents." - example: 1500 - nullable: false - amount_float: - description: "The transaction amount, float." - example: 15.0 - nullable: false - formatted_amount: - description: "The transaction amount, formatted." - example: "€15,00" - nullable: false - succeeded: - description: Indicates if the transaction is successful. - example: false - nullable: false - message: - description: The message returned by the payment gateway. - example: Accepted - nullable: true - error_code: - description: "The error code, if any, returned by the payment gateway." - example: "00001" - nullable: true - error_detail: - description: "The error detail, if any, returned by the payment gateway." - example: Already settled - nullable: true - token: - description: "The token identifying the transaction, returned by the payment\ - \ gateway." - example: xxxx-yyyy-zzzz - nullable: true - gateway_transaction_id: - description: "The ID identifying the transaction, returned by the payment\ - \ gateway." - example: xxxx-yyyy-zzzz - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_refunds_refundId_200_response_data_relationships_reference_capture_data: - properties: - type: - description: The resource's type - enum: - - reference_capture - id: - description: The resource ID - GET_refunds_refundId_200_response_data_relationships_reference_capture: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/GET_refunds_refundId_200_response_data_relationships_reference_capture_data' - GET_refunds_refundId_200_response_data_relationships: - properties: - order: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_order' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - reference_capture: - $ref: '#/components/schemas/GET_refunds_refundId_200_response_data_relationships_reference_capture' - return: - $ref: '#/components/schemas/GET_captures_captureId_200_response_data_relationships_return' - GET_refunds_refundId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - refunds - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_refunds_refundId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/GET_refunds_refundId_200_response_data_relationships' - GET_refunds_refundId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_refunds_refundId_200_response_data' - PATCH_refunds_refundId_200_response_data_attributes: - properties: - succeeded: - description: Indicates if the transaction is successful. - example: false - nullable: false - _forward: - description: Send this attribute if you want to forward a stuck transaction - to succeeded and update associated order states accordingly. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_refunds_refundId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - refunds - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_refunds_refundId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/GET_refunds_refundId_200_response_data_relationships' - PATCH_refunds_refundId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_refunds_refundId_200_response_data' - GET_reserved_stocks_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - reserved_stocks - links: - properties: - self: - description: URL - attributes: - properties: - quantity: - description: The stock item reserved quantity. - example: 100 - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - stock_item: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - stock_item - id: - description: The resource ID - sku: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - sku - id: - description: The resource ID - stock_reservations: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - stock_reservations - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - GET_reserved_stocks_reservedStockId_200_response_data_attributes: - properties: - quantity: - description: The stock item reserved quantity. - example: 100 - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_reserved_stocks_reservedStockId_200_response_data_relationships_stock_item_data: - properties: - type: - description: The resource's type - enum: - - stock_item - id: - description: The resource ID - GET_reserved_stocks_reservedStockId_200_response_data_relationships_stock_item: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/GET_reserved_stocks_reservedStockId_200_response_data_relationships_stock_item_data' - GET_reserved_stocks_reservedStockId_200_response_data_relationships: - properties: - stock_item: - $ref: '#/components/schemas/GET_reserved_stocks_reservedStockId_200_response_data_relationships_stock_item' - sku: - $ref: '#/components/schemas/POST_in_stock_subscriptions_201_response_data_relationships_sku' - stock_reservations: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_stock_reservations' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - GET_reserved_stocks_reservedStockId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - reserved_stocks - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_reserved_stocks_reservedStockId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/GET_reserved_stocks_reservedStockId_200_response_data_relationships' - GET_reserved_stocks_reservedStockId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_reserved_stocks_reservedStockId_200_response_data' - GET_resource_errors_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - resource_errors - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The resource attribute name related to the error. - example: number - nullable: false - code: - description: The error code. - example: BLANK - nullable: false - message: - description: The error message. - example: can't be blank - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - resource: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - resource - id: - description: The resource ID - GET_resource_errors_resourceErrorId_200_response_data_attributes: - properties: - name: - description: The resource attribute name related to the error. - example: number - nullable: false - code: - description: The error code. - example: BLANK - nullable: false - message: - description: The error message. - example: can't be blank - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_resource_errors_resourceErrorId_200_response_data_relationships_resource_data: - properties: - type: - description: The resource's type - enum: - - resource - id: - description: The resource ID - GET_resource_errors_resourceErrorId_200_response_data_relationships_resource: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/GET_resource_errors_resourceErrorId_200_response_data_relationships_resource_data' - GET_resource_errors_resourceErrorId_200_response_data_relationships: - properties: - resource: - $ref: '#/components/schemas/GET_resource_errors_resourceErrorId_200_response_data_relationships_resource' - GET_resource_errors_resourceErrorId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - resource_errors - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_resource_errors_resourceErrorId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/GET_resource_errors_resourceErrorId_200_response_data_relationships' - GET_resource_errors_resourceErrorId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_resource_errors_resourceErrorId_200_response_data' - GET_return_line_items_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - return_line_items - links: - properties: - self: - description: URL - attributes: - properties: - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - bundle_code: - description: The code of the associated bundle. - example: BUNDLEMM000000FFFFFFXLXX - nullable: true - quantity: - description: The return line item quantity. - example: 4 - nullable: false - name: - description: The name of the line item. - example: Men's Black T-shirt with White Logo (XL) - nullable: true - image_url: - description: The image_url of the associated line item. - example: https://img.yourdomain.com/skus/xYZkjABcde.png - nullable: true - total_amount_cents: - description: "Calculated as line item unit amount x returned quantity\ - \ and applied discounts, if any." - example: 8800 - nullable: true - total_amount_float: - description: "The return line item total amount, float. This can\ - \ be useful to track the purchase on thrid party systems, e.g\ - \ Google Analyitcs Enhanced Ecommerce." - example: 88.0 - nullable: false - formatted_total_amount: - description: "The return line item total amount, formatted. This\ - \ can be useful to display the amount with currency in you views." - example: "€88,00" - nullable: true - return_reason: - description: Set of key-value pairs that you can use to add details - about return reason. - example: - size: was wrong - nullable: true - restocked_at: - description: Time at which the return line item was restocked. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - return: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - return - id: - description: The resource ID - line_item: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - line_item - id: - description: The resource ID - POST_return_line_items_201_response_data_attributes: - properties: - quantity: - description: The return line item quantity. - example: 4 - return_reason: - description: Set of key-value pairs that you can use to add details about - return reason. - example: - size: was wrong - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - quantity - POST_return_line_items_201_response_data_relationships: - properties: - return: - $ref: '#/components/schemas/GET_captures_captureId_200_response_data_relationships_return' - line_item: - $ref: '#/components/schemas/POST_line_item_options_201_response_data_relationships_line_item' - POST_return_line_items_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - return_line_items - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_return_line_items_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_return_line_items_201_response_data_relationships' - POST_return_line_items_201_response: - properties: - data: - $ref: '#/components/schemas/POST_return_line_items_201_response_data' - GET_return_line_items_returnLineItemId_200_response_data_attributes: - properties: - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - bundle_code: - description: The code of the associated bundle. - example: BUNDLEMM000000FFFFFFXLXX - nullable: true - quantity: - description: The return line item quantity. - example: 4 - nullable: false - name: - description: The name of the line item. - example: Men's Black T-shirt with White Logo (XL) - nullable: true - image_url: - description: The image_url of the associated line item. - example: https://img.yourdomain.com/skus/xYZkjABcde.png - nullable: true - total_amount_cents: - description: "Calculated as line item unit amount x returned quantity and\ - \ applied discounts, if any." - example: 8800 - nullable: true - total_amount_float: - description: "The return line item total amount, float. This can be useful\ - \ to track the purchase on thrid party systems, e.g Google Analyitcs Enhanced\ - \ Ecommerce." - example: 88.0 - nullable: false - formatted_total_amount: - description: "The return line item total amount, formatted. This can be\ - \ useful to display the amount with currency in you views." - example: "€88,00" - nullable: true - return_reason: - description: Set of key-value pairs that you can use to add details about - return reason. - example: - size: was wrong - nullable: true - restocked_at: - description: Time at which the return line item was restocked. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_return_line_items_returnLineItemId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - return_line_items - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_return_line_items_returnLineItemId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_return_line_items_201_response_data_relationships' - GET_return_line_items_returnLineItemId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_return_line_items_returnLineItemId_200_response_data' - PATCH_return_line_items_returnLineItemId_200_response_data_attributes: - properties: - quantity: - description: The return line item quantity. - example: 4 - nullable: false - _restock: - description: Send this attribute if you want to restock the line item. - example: true - nullable: false - return_reason: - description: Set of key-value pairs that you can use to add details about - return reason. - example: - size: was wrong - nullable: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_return_line_items_returnLineItemId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - return_line_items - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_return_line_items_returnLineItemId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_return_line_items_201_response_data_relationships' - PATCH_return_line_items_returnLineItemId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_return_line_items_returnLineItemId_200_response_data' - GET_returns_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - returns - links: - properties: - self: - description: URL - attributes: - properties: - number: - description: Unique identifier for the return. - example: '#1234/R/001' - nullable: true - status: - description: "The return status. One of 'draft' (default), 'requested',\ - \ 'approved', 'cancelled', 'shipped', 'rejected', 'received',\ - \ or 'refunded'." - enum: - - draft - - requested - - approved - - cancelled - - shipped - - rejected - - received - - refunded - example: draft - nullable: false - customer_email: - description: The email address of the associated customer. - example: john@example.com - nullable: true - skus_count: - description: The total number of SKUs in the return's line items. - This can be useful to display a preview of the return content. - example: 2 - nullable: true - approved_at: - description: Time at which the return was approved. - example: 2018-01-01T12:00:00.000Z - nullable: true - cancelled_at: - description: Time at which the return was cancelled. - example: 2018-01-01T12:00:00.000Z - nullable: true - shipped_at: - description: Time at which the return was shipped. - example: 2018-01-01T12:00:00.000Z - nullable: true - rejected_at: - description: Time at which the return was rejected. - example: 2018-01-01T12:00:00.000Z - nullable: true - received_at: - description: Time at which the return was received. - example: 2018-01-01T12:00:00.000Z - nullable: true - refunded_at: - description: Time at which the return was refunded. - example: 2018-01-01T12:00:00.000Z - nullable: true - archived_at: - description: Time at which the resource has been archived. - example: 2018-01-01T12:00:00.000Z - nullable: true - estimated_refund_amount_cents: - description: "The amount to be refunded, estimated by associated\ - \ return line items, in cents." - example: 500 - nullable: true - estimated_refund_amount_float: - description: "The amount to be refunded, estimated by associated\ - \ return line items, float." - example: 5.0 - nullable: true - formatted_estimated_refund_amount: - description: "The amount to be refunded, estimated by associated\ - \ return line items, formatted." - example: "€5,00" - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - order: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - order - id: - description: The resource ID - customer: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - customer - id: - description: The resource ID - stock_location: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - stock_location - id: - description: The resource ID - origin_address: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - origin_address - id: - description: The resource ID - destination_address: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - destination_address - id: - description: The resource ID - reference_capture: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - reference_capture - id: - description: The resource ID - reference_refund: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - reference_refund - id: - description: The resource ID - return_line_items: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - return_line_items - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - resource_errors: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - resource_errors - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - tags: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - tags - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_returns_201_response_data_relationships_origin_address_data: - properties: - type: - description: The resource's type - enum: - - origin_address - id: - description: The resource ID - POST_returns_201_response_data_relationships_origin_address: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_returns_201_response_data_relationships_origin_address_data' - POST_returns_201_response_data_relationships_destination_address_data: - properties: - type: - description: The resource's type - enum: - - destination_address - id: - description: The resource ID - POST_returns_201_response_data_relationships_destination_address: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_returns_201_response_data_relationships_destination_address_data' - POST_returns_201_response_data_relationships_reference_refund_data: - properties: - type: - description: The resource's type - enum: - - reference_refund - id: - description: The resource ID - POST_returns_201_response_data_relationships_reference_refund: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_returns_201_response_data_relationships_reference_refund_data' - POST_returns_201_response_data_relationships: - properties: - order: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_order' - customer: - $ref: '#/components/schemas/POST_coupon_recipients_201_response_data_relationships_customer' - stock_location: - $ref: '#/components/schemas/POST_delivery_lead_times_201_response_data_relationships_stock_location' - origin_address: - $ref: '#/components/schemas/POST_returns_201_response_data_relationships_origin_address' - destination_address: - $ref: '#/components/schemas/POST_returns_201_response_data_relationships_destination_address' - reference_capture: - $ref: '#/components/schemas/GET_refunds_refundId_200_response_data_relationships_reference_capture' - reference_refund: - $ref: '#/components/schemas/POST_returns_201_response_data_relationships_reference_refund' - return_line_items: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_return_line_items' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - resource_errors: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_resource_errors' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - tags: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_tags' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_returns_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - returns - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_returns_201_response_data_relationships' - POST_returns_201_response: - properties: - data: - $ref: '#/components/schemas/POST_returns_201_response_data' - GET_returns_returnId_200_response_data_attributes: - properties: - number: - description: Unique identifier for the return. - example: '#1234/R/001' - nullable: true - status: - description: "The return status. One of 'draft' (default), 'requested',\ - \ 'approved', 'cancelled', 'shipped', 'rejected', 'received', or 'refunded'." - enum: - - draft - - requested - - approved - - cancelled - - shipped - - rejected - - received - - refunded - example: draft - nullable: false - customer_email: - description: The email address of the associated customer. - example: john@example.com - nullable: true - skus_count: - description: The total number of SKUs in the return's line items. This can - be useful to display a preview of the return content. - example: 2 - nullable: true - approved_at: - description: Time at which the return was approved. - example: 2018-01-01T12:00:00.000Z - nullable: true - cancelled_at: - description: Time at which the return was cancelled. - example: 2018-01-01T12:00:00.000Z - nullable: true - shipped_at: - description: Time at which the return was shipped. - example: 2018-01-01T12:00:00.000Z - nullable: true - rejected_at: - description: Time at which the return was rejected. - example: 2018-01-01T12:00:00.000Z - nullable: true - received_at: - description: Time at which the return was received. - example: 2018-01-01T12:00:00.000Z - nullable: true - refunded_at: - description: Time at which the return was refunded. - example: 2018-01-01T12:00:00.000Z - nullable: true - archived_at: - description: Time at which the resource has been archived. - example: 2018-01-01T12:00:00.000Z - nullable: true - estimated_refund_amount_cents: - description: "The amount to be refunded, estimated by associated return\ - \ line items, in cents." - example: 500 - nullable: true - estimated_refund_amount_float: - description: "The amount to be refunded, estimated by associated return\ - \ line items, float." - example: 5.0 - nullable: true - formatted_estimated_refund_amount: - description: "The amount to be refunded, estimated by associated return\ - \ line items, formatted." - example: "€5,00" - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_returns_returnId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - returns - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_returns_returnId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_returns_201_response_data_relationships' - GET_returns_returnId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_returns_returnId_200_response_data' - PATCH_returns_returnId_200_response_data_attributes: - properties: - _request: - description: Send this attribute if you want to activate this return. - example: true - nullable: false - _approve: - description: Send this attribute if you want to mark this return as approved. - example: true - nullable: false - _cancel: - description: Send this attribute if you want to mark this return as cancelled. - example: true - nullable: false - _ship: - description: Send this attribute if you want to mark this return as shipped. - example: true - nullable: false - _reject: - description: Send this attribute if you want to mark this return as rejected. - example: true - nullable: false - _receive: - description: Send this attribute if you want to mark this return as received. - example: true - nullable: false - _restock: - description: Send this attribute if you want to restock all of the return - line items. - example: true - nullable: false - _archive: - description: Send this attribute if you want to archive the return. - example: true - nullable: false - _unarchive: - description: Send this attribute if you want to unarchive the return. - example: true - nullable: false - _refund: - description: Send this attribute if you want to create a refund for this - return. - example: true - nullable: false - _refund_amount_cents: - description: Send this attribute as a value in cents to specify the amount - to be refunded. - example: 500 - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_returns_returnId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - returns - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_returns_returnId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_returns_201_response_data_relationships' - PATCH_returns_returnId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_returns_returnId_200_response_data' - GET_satispay_gateways_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - satispay_gateways - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - token: - description: Activation code generated from the Satispay Dashboard. - example: 623ECX - nullable: false - key_id: - description: The Satispay API key auto generated basing on activation - code. - example: xxxx-yyyy-zzzz - nullable: false - webhook_endpoint_url: - description: "The gateway webhook URL, generated automatically." - example: https://core.commercelayer.co/webhook_callbacks/satispay_gateways/xxxxx - nullable: true - relationships: - properties: - payment_methods: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - payment_methods - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - satispay_payments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - satispay_payments - id: - description: The resource ID - POST_satispay_gateways_201_response_data_attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - token: - description: Activation code generated from the Satispay Dashboard. - example: 623ECX - required: - - name - - token - POST_satispay_gateways_201_response_data_relationships_satispay_payments_data: - properties: - type: - description: The resource's type - enum: - - satispay_payments - id: - description: The resource ID - POST_satispay_gateways_201_response_data_relationships_satispay_payments: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_satispay_gateways_201_response_data_relationships_satispay_payments_data' - POST_satispay_gateways_201_response_data_relationships: - properties: - payment_methods: - $ref: '#/components/schemas/POST_adyen_gateways_201_response_data_relationships_payment_methods' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - satispay_payments: - $ref: '#/components/schemas/POST_satispay_gateways_201_response_data_relationships_satispay_payments' - POST_satispay_gateways_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - satispay_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_satispay_gateways_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_satispay_gateways_201_response_data_relationships' - POST_satispay_gateways_201_response: - properties: - data: - $ref: '#/components/schemas/POST_satispay_gateways_201_response_data' - GET_satispay_gateways_satispayGatewayId_200_response_data_attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - token: - description: Activation code generated from the Satispay Dashboard. - example: 623ECX - nullable: false - key_id: - description: The Satispay API key auto generated basing on activation code. - example: xxxx-yyyy-zzzz - nullable: false - webhook_endpoint_url: - description: "The gateway webhook URL, generated automatically." - example: https://core.commercelayer.co/webhook_callbacks/satispay_gateways/xxxxx - nullable: true - GET_satispay_gateways_satispayGatewayId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - satispay_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_satispay_gateways_satispayGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_satispay_gateways_201_response_data_relationships' - GET_satispay_gateways_satispayGatewayId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_satispay_gateways_satispayGatewayId_200_response_data' - PATCH_satispay_gateways_satispayGatewayId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - satispay_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_manual_gateways_manualGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_satispay_gateways_201_response_data_relationships' - PATCH_satispay_gateways_satispayGatewayId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_satispay_gateways_satispayGatewayId_200_response_data' - GET_satispay_payments_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - satispay_payments - links: - properties: - self: - description: URL - attributes: - properties: - payment_id: - description: The payment unique identifier. - example: xxxx-yyyy-zzzz - nullable: true - flow: - description: "The Satispay payment flow, inspect gateway API details\ - \ for more information." - example: MATCH_CODE - nullable: true - status: - description: The Satispay payment status. - example: PENDING - nullable: true - redirect_url: - description: The url to redirect the customer after the payment - flow is completed. - example: http://commercelayer.dev/satispay/redirect - nullable: true - payment_url: - description: Redirect url to the payment page. - example: "https://online.satispay.com/pay/xxxx-yyyy-zzzz?redirect_url={redirect_url}" - nullable: true - payment_response: - description: "The Satispay payment response, used to fetch internal\ - \ data." - example: - foo: bar - nullable: true - payment_instrument: - description: Information about the payment instrument used in - the transaction. - example: - issuer: cl bank - card_type: visa - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - order: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_order' - payment_gateway: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_payment_gateway' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_satispay_payments_201_response_data_attributes: - properties: - flow: - description: "The Satispay payment flow, inspect gateway API details for\ - \ more information." - example: MATCH_CODE - redirect_url: - description: The url to redirect the customer after the payment flow is - completed. - example: http://commercelayer.dev/satispay/redirect - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - POST_satispay_payments_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - satispay_payments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_satispay_payments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships' - POST_satispay_payments_201_response: - properties: - data: - $ref: '#/components/schemas/POST_satispay_payments_201_response_data' - GET_satispay_payments_satispayPaymentId_200_response_data_attributes: - properties: - payment_id: - description: The payment unique identifier. - example: xxxx-yyyy-zzzz - nullable: true - flow: - description: "The Satispay payment flow, inspect gateway API details for\ - \ more information." - example: MATCH_CODE - nullable: true - status: - description: The Satispay payment status. - example: PENDING - nullable: true - redirect_url: - description: The url to redirect the customer after the payment flow is - completed. - example: http://commercelayer.dev/satispay/redirect - nullable: true - payment_url: - description: Redirect url to the payment page. - example: "https://online.satispay.com/pay/xxxx-yyyy-zzzz?redirect_url={redirect_url}" - nullable: true - payment_response: - description: "The Satispay payment response, used to fetch internal data." - example: - foo: bar - nullable: true - payment_instrument: - description: Information about the payment instrument used in the transaction. - example: - issuer: cl bank - card_type: visa - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_satispay_payments_satispayPaymentId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - satispay_payments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_satispay_payments_satispayPaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships' - GET_satispay_payments_satispayPaymentId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_satispay_payments_satispayPaymentId_200_response_data' - PATCH_satispay_payments_satispayPaymentId_200_response_data_attributes: - properties: - redirect_url: - description: The url to redirect the customer after the payment flow is - completed. - example: http://commercelayer.dev/satispay/redirect - nullable: true - _refresh: - description: "Send this attribute if you want to refresh all the pending\ - \ transactions, can be used as webhooks fallback logic." - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_satispay_payments_satispayPaymentId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - satispay_payments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_satispay_payments_satispayPaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships' - PATCH_satispay_payments_satispayPaymentId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_satispay_payments_satispayPaymentId_200_response_data' - GET_shipments_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - shipments - links: - properties: - self: - description: URL - attributes: - properties: - number: - description: Unique identifier for the shipment. Cannot be passed - by sales channels. - example: '#1234/S/001' - nullable: false - status: - description: "The shipment status. One of 'draft' (default), 'upcoming',\ - \ 'cancelled', 'on_hold', 'picking', 'packing', 'ready_to_ship',\ - \ 'shipped', or 'delivered'." - enum: - - draft - - upcoming - - cancelled - - on_hold - - picking - - packing - - ready_to_ship - - shipped - - delivered - example: draft - nullable: false - currency_code: - description: "The international 3-letter currency code as defined\ - \ by the ISO 4217 standard, automatically inherited from the\ - \ associated order." - example: EUR - nullable: true - cost_amount_cents: - description: "The cost of this shipment from the selected carrier\ - \ account, in cents." - example: 1000 - nullable: true - cost_amount_float: - description: "The cost of this shipment from the selected carrier\ - \ account, float." - example: 10.0 - nullable: true - formatted_cost_amount: - description: "The cost of this shipment from the selected carrier\ - \ account, formatted." - example: "€10,00" - nullable: true - skus_count: - description: The total number of SKUs in the shipment's line items. - This can be useful to display a preview of the shipment content. - example: 2 - nullable: true - selected_rate_id: - description: The selected purchase rate from the available shipping - rates. - example: rate_f89e4663c3ed47ee94d37763f6d21d54 - nullable: true - rates: - description: The available shipping rates. - example: - - id: rate_f89e4663c3ed47ee94d37763f6d21d54 - rate: "45.59" - carrier: DHLExpress - service: MedicalExpress - items: {} - nullable: true - purchase_error_code: - description: "The shipping rate purchase error code, if any." - example: SHIPMENT.POSTAGE.FAILURE - nullable: true - purchase_error_message: - description: "The shipping rate purchase error message, if any." - example: Account not allowed for this service. - nullable: true - get_rates_errors: - description: Any errors collected when fetching shipping rates. - example: - - carrier: DHLExpress - message: "to_address.postal_code: Shorter than minimum length\ - \ 3" - type: rate_error - items: {} - nullable: true - get_rates_started_at: - description: Time at which the getting of the shipping rates started. - example: 2018-01-01T12:00:00.000Z - nullable: true - get_rates_completed_at: - description: Time at which the getting of the shipping rates completed. - example: 2018-01-01T12:00:00.000Z - nullable: true - purchase_started_at: - description: Time at which the purchasing of the shipping rate - started. - example: 2018-01-01T12:00:00.000Z - nullable: true - purchase_completed_at: - description: Time at which the purchasing of the shipping rate - completed. - example: 2018-01-01T12:00:00.000Z - nullable: true - purchase_failed_at: - description: Time at which the purchasing of the shipping rate - failed. - example: 2018-01-01T12:00:00.000Z - nullable: true - on_hold_at: - description: Time at which the shipment was put on hold. - example: 2018-01-01T12:00:00.000Z - nullable: true - picking_at: - description: Time at which the shipment was picking. - example: 2018-01-01T12:00:00.000Z - nullable: true - packing_at: - description: Time at which the shipment was packing. - example: 2018-01-01T12:00:00.000Z - nullable: true - ready_to_ship_at: - description: Time at which the shipment was ready to ship. - example: 2018-01-01T12:00:00.000Z - nullable: true - shipped_at: - description: Time at which the shipment was shipped. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - order: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - order - id: - description: The resource ID - shipping_category: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - shipping_category - id: - description: The resource ID - inventory_stock_location: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - inventory_stock_location - id: - description: The resource ID - stock_location: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - stock_location - id: - description: The resource ID - origin_address: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - origin_address - id: - description: The resource ID - shipping_address: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - shipping_address - id: - description: The resource ID - shipping_method: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - shipping_method - id: - description: The resource ID - delivery_lead_time: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - delivery_lead_time - id: - description: The resource ID - stock_line_items: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - stock_line_items - id: - description: The resource ID - stock_transfers: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - stock_transfers - id: - description: The resource ID - line_items: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - line_items - id: - description: The resource ID - available_shipping_methods: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - available_shipping_methods - id: - description: The resource ID - carrier_accounts: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - carrier_accounts - id: - description: The resource ID - parcels: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - parcels - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - tags: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - tags - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_shipments_201_response_data_relationships_shipping_category_data: - properties: - type: - description: The resource's type - enum: - - shipping_category - id: - description: The resource ID - POST_shipments_201_response_data_relationships_shipping_category: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_shipments_201_response_data_relationships_shipping_category_data' - POST_shipments_201_response_data_relationships_inventory_stock_location_data: - properties: - type: - description: The resource's type - enum: - - inventory_stock_location - id: - description: The resource ID - POST_shipments_201_response_data_relationships_inventory_stock_location: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_shipments_201_response_data_relationships_inventory_stock_location_data' - POST_shipments_201_response_data_relationships_delivery_lead_time_data: - properties: - type: - description: The resource's type - enum: - - delivery_lead_time - id: - description: The resource ID - POST_shipments_201_response_data_relationships_delivery_lead_time: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_shipments_201_response_data_relationships_delivery_lead_time_data' - POST_shipments_201_response_data_relationships_available_shipping_methods_data: - properties: - type: - description: The resource's type - enum: - - available_shipping_methods - id: - description: The resource ID - POST_shipments_201_response_data_relationships_available_shipping_methods: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_shipments_201_response_data_relationships_available_shipping_methods_data' - POST_shipments_201_response_data_relationships_carrier_accounts_data: - properties: - type: - description: The resource's type - enum: - - carrier_accounts - id: - description: The resource ID - POST_shipments_201_response_data_relationships_carrier_accounts: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_shipments_201_response_data_relationships_carrier_accounts_data' - POST_shipments_201_response_data_relationships: - properties: - order: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_order' - shipping_category: - $ref: '#/components/schemas/POST_shipments_201_response_data_relationships_shipping_category' - inventory_stock_location: - $ref: '#/components/schemas/POST_shipments_201_response_data_relationships_inventory_stock_location' - stock_location: - $ref: '#/components/schemas/POST_delivery_lead_times_201_response_data_relationships_stock_location' - origin_address: - $ref: '#/components/schemas/POST_returns_201_response_data_relationships_origin_address' - shipping_address: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_shipping_address' - shipping_method: - $ref: '#/components/schemas/POST_delivery_lead_times_201_response_data_relationships_shipping_method' - delivery_lead_time: - $ref: '#/components/schemas/POST_shipments_201_response_data_relationships_delivery_lead_time' - stock_line_items: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_stock_line_items' - stock_transfers: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_stock_transfers' - line_items: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_line_items' - available_shipping_methods: - $ref: '#/components/schemas/POST_shipments_201_response_data_relationships_available_shipping_methods' - carrier_accounts: - $ref: '#/components/schemas/POST_shipments_201_response_data_relationships_carrier_accounts' - parcels: - $ref: '#/components/schemas/POST_packages_201_response_data_relationships_parcels' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - tags: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_tags' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_shipments_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - shipments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_shipments_201_response_data_relationships' - POST_shipments_201_response: - properties: - data: - $ref: '#/components/schemas/POST_shipments_201_response_data' - GET_shipments_shipmentId_200_response_data_attributes: - properties: - number: - description: Unique identifier for the shipment. Cannot be passed by sales - channels. - example: '#1234/S/001' - nullable: false - status: - description: "The shipment status. One of 'draft' (default), 'upcoming',\ - \ 'cancelled', 'on_hold', 'picking', 'packing', 'ready_to_ship', 'shipped',\ - \ or 'delivered'." - enum: - - draft - - upcoming - - cancelled - - on_hold - - picking - - packing - - ready_to_ship - - shipped - - delivered - example: draft - nullable: false - currency_code: - description: "The international 3-letter currency code as defined by the\ - \ ISO 4217 standard, automatically inherited from the associated order." - example: EUR - nullable: true - cost_amount_cents: - description: "The cost of this shipment from the selected carrier account,\ - \ in cents." - example: 1000 - nullable: true - cost_amount_float: - description: "The cost of this shipment from the selected carrier account,\ - \ float." - example: 10.0 - nullable: true - formatted_cost_amount: - description: "The cost of this shipment from the selected carrier account,\ - \ formatted." - example: "€10,00" - nullable: true - skus_count: - description: The total number of SKUs in the shipment's line items. This - can be useful to display a preview of the shipment content. - example: 2 - nullable: true - selected_rate_id: - description: The selected purchase rate from the available shipping rates. - example: rate_f89e4663c3ed47ee94d37763f6d21d54 - nullable: true - rates: - description: The available shipping rates. - example: - - id: rate_f89e4663c3ed47ee94d37763f6d21d54 - rate: "45.59" - carrier: DHLExpress - service: MedicalExpress - items: {} - nullable: true - purchase_error_code: - description: "The shipping rate purchase error code, if any." - example: SHIPMENT.POSTAGE.FAILURE - nullable: true - purchase_error_message: - description: "The shipping rate purchase error message, if any." - example: Account not allowed for this service. - nullable: true - get_rates_errors: - description: Any errors collected when fetching shipping rates. - example: - - carrier: DHLExpress - message: "to_address.postal_code: Shorter than minimum length 3" - type: rate_error - items: {} - nullable: true - get_rates_started_at: - description: Time at which the getting of the shipping rates started. - example: 2018-01-01T12:00:00.000Z - nullable: true - get_rates_completed_at: - description: Time at which the getting of the shipping rates completed. - example: 2018-01-01T12:00:00.000Z - nullable: true - purchase_started_at: - description: Time at which the purchasing of the shipping rate started. - example: 2018-01-01T12:00:00.000Z - nullable: true - purchase_completed_at: - description: Time at which the purchasing of the shipping rate completed. - example: 2018-01-01T12:00:00.000Z - nullable: true - purchase_failed_at: - description: Time at which the purchasing of the shipping rate failed. - example: 2018-01-01T12:00:00.000Z - nullable: true - on_hold_at: - description: Time at which the shipment was put on hold. - example: 2018-01-01T12:00:00.000Z - nullable: true - picking_at: - description: Time at which the shipment was picking. - example: 2018-01-01T12:00:00.000Z - nullable: true - packing_at: - description: Time at which the shipment was packing. - example: 2018-01-01T12:00:00.000Z - nullable: true - ready_to_ship_at: - description: Time at which the shipment was ready to ship. - example: 2018-01-01T12:00:00.000Z - nullable: true - shipped_at: - description: Time at which the shipment was shipped. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_shipments_shipmentId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - shipments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_shipments_shipmentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_shipments_201_response_data_relationships' - GET_shipments_shipmentId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_shipments_shipmentId_200_response_data' - PATCH_shipments_shipmentId_200_response_data_attributes: - properties: - number: - description: Unique identifier for the shipment. Cannot be passed by sales - channels. - example: '#1234/S/001' - nullable: false - _upcoming: - description: Send this attribute if you want to mark this shipment as upcoming. - Cannot be passed by sales channels. - example: true - nullable: false - _cancel: - description: Send this attribute if you want to mark this shipment as cancelled - (unless already shipped or delivered). Cannot be passed by sales channels. - example: true - nullable: false - _on_hold: - description: Send this attribute if you want to put this shipment on hold. - example: true - nullable: false - _picking: - description: Send this attribute if you want to start picking this shipment. - example: true - nullable: false - _packing: - description: Send this attribute if you want to start packing this shipment. - example: true - nullable: false - _ready_to_ship: - description: Send this attribute if you want to mark this shipment as ready - to ship. - example: true - nullable: false - _ship: - description: Send this attribute if you want to mark this shipment as shipped. - example: true - nullable: false - _deliver: - description: Send this attribute if you want to mark this shipment as delivered. - example: true - nullable: false - _reserve_stock: - description: Send this attribute if you want to automatically reserve the - stock for each of the associated stock line item. Can be done only when - fulfillment is in progress. Cannot be passed by sales channels. - example: true - nullable: false - _release_stock: - description: Send this attribute if you want to automatically destroy the - stock reservations for each of the associated stock line item. Can be - done only when fulfillment is in progress. Cannot be passed by sales channels. - example: true - nullable: false - _decrement_stock: - description: Send this attribute if you want to automatically decrement - and release the stock for each of the associated stock line item. Can - be done only when fulfillment is in progress. Cannot be passed by sales - channels. - example: true - nullable: false - _get_rates: - description: Send this attribute if you want get the shipping rates from - the associated carrier accounts. - example: true - nullable: false - selected_rate_id: - description: The selected purchase rate from the available shipping rates. - example: rate_f89e4663c3ed47ee94d37763f6d21d54 - nullable: true - _purchase: - description: Send this attribute if you want to purchase this shipment with - the selected rate. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_shipments_shipmentId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - shipments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_shipments_shipmentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_shipments_201_response_data_relationships' - PATCH_shipments_shipmentId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_shipments_shipmentId_200_response_data' - GET_shipping_categories_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - shipping_categories - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The shipping category name. - example: Merchandise - nullable: false - code: - description: A string that you can use to identify the shipping - category (must be unique within the environment). - example: europe1 - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - skus: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - skus - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_shipping_categories_201_response_data_attributes: - properties: - name: - description: The shipping category name. - example: Merchandise - code: - description: A string that you can use to identify the shipping category - (must be unique within the environment). - example: europe1 - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - name - POST_shipping_categories_201_response_data_relationships: - properties: - skus: - $ref: '#/components/schemas/POST_bundles_201_response_data_relationships_skus' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_shipping_categories_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - shipping_categories - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_shipping_categories_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_shipping_categories_201_response_data_relationships' - POST_shipping_categories_201_response: - properties: - data: - $ref: '#/components/schemas/POST_shipping_categories_201_response_data' - GET_shipping_categories_shippingCategoryId_200_response_data_attributes: - properties: - name: - description: The shipping category name. - example: Merchandise - nullable: false - code: - description: A string that you can use to identify the shipping category - (must be unique within the environment). - example: europe1 - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_shipping_categories_shippingCategoryId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - shipping_categories - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_shipping_categories_shippingCategoryId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_shipping_categories_201_response_data_relationships' - GET_shipping_categories_shippingCategoryId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_shipping_categories_shippingCategoryId_200_response_data' - PATCH_shipping_categories_shippingCategoryId_200_response_data_attributes: - properties: - name: - description: The shipping category name. - example: Merchandise - nullable: false - code: - description: A string that you can use to identify the shipping category - (must be unique within the environment). - example: europe1 - nullable: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_shipping_categories_shippingCategoryId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - shipping_categories - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_shipping_categories_shippingCategoryId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_shipping_categories_201_response_data_relationships' - PATCH_shipping_categories_shippingCategoryId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_shipping_categories_shippingCategoryId_200_response_data' - GET_shipping_method_tiers_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - shipping_method_tiers - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The shipping method tier's name. - example: Light shipping under 3kg - nullable: false - type: - description: The shipping method tier's type. - enum: - - shipping_weight_tiers - example: shipping_weight_tiers - nullable: false - up_to: - description: The tier upper limit. When 'null' it means infinity - (useful to have an always matching tier). - example: 20.5 - nullable: true - price_amount_cents: - description: "The price of this shipping method tier, in cents." - example: 1000 - nullable: false - price_amount_float: - description: "The price of this shipping method tier, float." - example: 10.0 - nullable: true - formatted_price_amount: - description: "The price of this shipping method tier, formatted." - example: "€10,00" - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - shipping_method: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - shipping_method - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - GET_shipping_method_tiers_shippingMethodTierId_200_response_data_attributes: - properties: - name: - description: The shipping method tier's name. - example: Light shipping under 3kg - nullable: false - type: - description: The shipping method tier's type. - enum: - - shipping_weight_tiers - example: shipping_weight_tiers - nullable: false - up_to: - description: The tier upper limit. When 'null' it means infinity (useful - to have an always matching tier). - example: 20.5 - nullable: true - price_amount_cents: - description: "The price of this shipping method tier, in cents." - example: 1000 - nullable: false - price_amount_float: - description: "The price of this shipping method tier, float." - example: 10.0 - nullable: true - formatted_price_amount: - description: "The price of this shipping method tier, formatted." - example: "€10,00" - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_shipping_method_tiers_shippingMethodTierId_200_response_data_relationships: - properties: - shipping_method: - $ref: '#/components/schemas/POST_delivery_lead_times_201_response_data_relationships_shipping_method' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - GET_shipping_method_tiers_shippingMethodTierId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - shipping_method_tiers - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_shipping_method_tiers_shippingMethodTierId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/GET_shipping_method_tiers_shippingMethodTierId_200_response_data_relationships' - GET_shipping_method_tiers_shippingMethodTierId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_shipping_method_tiers_shippingMethodTierId_200_response_data' - GET_shipping_methods_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - shipping_methods - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The shipping method's name. - example: Standard shipping - nullable: false - scheme: - description: "The shipping method's scheme. One of 'flat', 'weight_tiered',\ - \ or 'external'." - enum: - - flat - - weight_tiered - - external - example: flat - nullable: true - currency_code: - description: The international 3-letter currency code as defined - by the ISO 4217 standard. - example: EUR - nullable: true - external_prices_url: - description: The URL used to overwrite prices by an external source. - example: https://external_prices.yourbrand.com - nullable: true - price_amount_cents: - description: "The price of this shipping method, in cents." - example: 1000 - nullable: false - price_amount_float: - description: "The price of this shipping method, float." - example: 10.0 - nullable: true - formatted_price_amount: - description: "The price of this shipping method, formatted." - example: "€10,00" - nullable: true - free_over_amount_cents: - description: "Apply free shipping if the order amount is over\ - \ this value, in cents." - example: 9900 - nullable: true - free_over_amount_float: - description: "Apply free shipping if the order amount is over\ - \ this value, float." - example: 99.0 - nullable: true - formatted_free_over_amount: - description: "Apply free shipping if the order amount is over\ - \ this value, formatted." - example: "€99,00" - nullable: true - use_subtotal: - description: "Send this attribute if you want to compare the free\ - \ over amount with order's subtotal (excluding discounts, if\ - \ any)." - example: true - nullable: true - price_amount_for_shipment_cents: - description: "The calculated price (zero or price amount) when\ - \ associated to a shipment, in cents." - example: 0 - nullable: true - price_amount_for_shipment_float: - description: "The calculated price (zero or price amount) when\ - \ associated to a shipment, float." - example: 0.0 - nullable: true - formatted_price_amount_for_shipment: - description: "The calculated price (zero or price amount) when\ - \ associated to a shipment, formatted." - example: "€0,00" - nullable: true - min_weight: - description: The minimum weight for which this shipping method - is available. - example: 3.0 - nullable: true - max_weight: - description: The maximum weight for which this shipping method - is available. - example: 300.0 - nullable: true - unit_of_weight: - description: "The unit of weight. One of 'gr', 'oz', or 'lb'." - enum: - - gr - - oz - - lb - example: gr - nullable: true - disabled_at: - description: Time at which this resource was disabled. - example: 2018-01-01T12:00:00.000Z - nullable: true - circuit_state: - description: "The circuit breaker state, by default it is 'closed'.\ - \ It can become 'open' once the number of consecutive failures\ - \ overlaps the specified threshold, in such case no further\ - \ calls to the failing callback are made." - example: closed - nullable: true - circuit_failure_count: - description: "The number of consecutive failures recorded by the\ - \ circuit breaker associated to this resource, will be reset\ - \ on first successful call to callback." - example: 5 - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - market: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - market - id: - description: The resource ID - shipping_zone: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - shipping_zone - id: - description: The resource ID - shipping_category: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - shipping_category - id: - description: The resource ID - stock_location: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - stock_location - id: - description: The resource ID - delivery_lead_time_for_shipment: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - delivery_lead_time_for_shipment - id: - description: The resource ID - shipping_method_tiers: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - shipping_method_tiers - id: - description: The resource ID - shipping_weight_tiers: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - shipping_weight_tiers - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_shipping_methods_201_response_data_attributes: - properties: - name: - description: The shipping method's name. - example: Standard shipping - scheme: - description: "The shipping method's scheme. One of 'flat', 'weight_tiered',\ - \ or 'external'." - enum: - - flat - - weight_tiered - - external - example: flat - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - external_prices_url: - description: The URL used to overwrite prices by an external source. - example: https://external_prices.yourbrand.com - price_amount_cents: - description: "The price of this shipping method, in cents." - example: 1000 - free_over_amount_cents: - description: "Apply free shipping if the order amount is over this value,\ - \ in cents." - example: 9900 - use_subtotal: - description: "Send this attribute if you want to compare the free over amount\ - \ with order's subtotal (excluding discounts, if any)." - example: true - min_weight: - description: The minimum weight for which this shipping method is available. - example: 3.0 - max_weight: - description: The maximum weight for which this shipping method is available. - example: 300.0 - unit_of_weight: - description: "The unit of weight. One of 'gr', 'oz', or 'lb'." - enum: - - gr - - oz - - lb - example: gr - _disable: - description: Send this attribute if you want to mark this resource as disabled. - example: true - _enable: - description: Send this attribute if you want to mark this resource as enabled. - example: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - name - - price_amount_cents - POST_shipping_methods_201_response_data_relationships_shipping_zone_data: - properties: - type: - description: The resource's type - enum: - - shipping_zone - id: - description: The resource ID - POST_shipping_methods_201_response_data_relationships_shipping_zone: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_shipping_methods_201_response_data_relationships_shipping_zone_data' - POST_shipping_methods_201_response_data_relationships_delivery_lead_time_for_shipment_data: - properties: - type: - description: The resource's type - enum: - - delivery_lead_time_for_shipment - id: - description: The resource ID - POST_shipping_methods_201_response_data_relationships_delivery_lead_time_for_shipment: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_shipping_methods_201_response_data_relationships_delivery_lead_time_for_shipment_data' - POST_shipping_methods_201_response_data_relationships_shipping_method_tiers_data: - properties: - type: - description: The resource's type - enum: - - shipping_method_tiers - id: - description: The resource ID - POST_shipping_methods_201_response_data_relationships_shipping_method_tiers: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_shipping_methods_201_response_data_relationships_shipping_method_tiers_data' - POST_shipping_methods_201_response_data_relationships_shipping_weight_tiers_data: - properties: - type: - description: The resource's type - enum: - - shipping_weight_tiers - id: - description: The resource ID - POST_shipping_methods_201_response_data_relationships_shipping_weight_tiers: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_shipping_methods_201_response_data_relationships_shipping_weight_tiers_data' - POST_shipping_methods_201_response_data_relationships: - properties: - market: - $ref: '#/components/schemas/POST_billing_info_validation_rules_201_response_data_relationships_market' - shipping_zone: - $ref: '#/components/schemas/POST_shipping_methods_201_response_data_relationships_shipping_zone' - shipping_category: - $ref: '#/components/schemas/POST_shipments_201_response_data_relationships_shipping_category' - stock_location: - $ref: '#/components/schemas/POST_delivery_lead_times_201_response_data_relationships_stock_location' - delivery_lead_time_for_shipment: - $ref: '#/components/schemas/POST_shipping_methods_201_response_data_relationships_delivery_lead_time_for_shipment' - shipping_method_tiers: - $ref: '#/components/schemas/POST_shipping_methods_201_response_data_relationships_shipping_method_tiers' - shipping_weight_tiers: - $ref: '#/components/schemas/POST_shipping_methods_201_response_data_relationships_shipping_weight_tiers' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_shipping_methods_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - shipping_methods - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_shipping_methods_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_shipping_methods_201_response_data_relationships' - POST_shipping_methods_201_response: - properties: - data: - $ref: '#/components/schemas/POST_shipping_methods_201_response_data' - GET_shipping_methods_shippingMethodId_200_response_data_attributes: - properties: - name: - description: The shipping method's name. - example: Standard shipping - nullable: false - scheme: - description: "The shipping method's scheme. One of 'flat', 'weight_tiered',\ - \ or 'external'." - enum: - - flat - - weight_tiered - - external - example: flat - nullable: true - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - nullable: true - external_prices_url: - description: The URL used to overwrite prices by an external source. - example: https://external_prices.yourbrand.com - nullable: true - price_amount_cents: - description: "The price of this shipping method, in cents." - example: 1000 - nullable: false - price_amount_float: - description: "The price of this shipping method, float." - example: 10.0 - nullable: true - formatted_price_amount: - description: "The price of this shipping method, formatted." - example: "€10,00" - nullable: true - free_over_amount_cents: - description: "Apply free shipping if the order amount is over this value,\ - \ in cents." - example: 9900 - nullable: true - free_over_amount_float: - description: "Apply free shipping if the order amount is over this value,\ - \ float." - example: 99.0 - nullable: true - formatted_free_over_amount: - description: "Apply free shipping if the order amount is over this value,\ - \ formatted." - example: "€99,00" - nullable: true - use_subtotal: - description: "Send this attribute if you want to compare the free over amount\ - \ with order's subtotal (excluding discounts, if any)." - example: true - nullable: true - price_amount_for_shipment_cents: - description: "The calculated price (zero or price amount) when associated\ - \ to a shipment, in cents." - example: 0 - nullable: true - price_amount_for_shipment_float: - description: "The calculated price (zero or price amount) when associated\ - \ to a shipment, float." - example: 0.0 - nullable: true - formatted_price_amount_for_shipment: - description: "The calculated price (zero or price amount) when associated\ - \ to a shipment, formatted." - example: "€0,00" - nullable: true - min_weight: - description: The minimum weight for which this shipping method is available. - example: 3.0 - nullable: true - max_weight: - description: The maximum weight for which this shipping method is available. - example: 300.0 - nullable: true - unit_of_weight: - description: "The unit of weight. One of 'gr', 'oz', or 'lb'." - enum: - - gr - - oz - - lb - example: gr - nullable: true - disabled_at: - description: Time at which this resource was disabled. - example: 2018-01-01T12:00:00.000Z - nullable: true - circuit_state: - description: "The circuit breaker state, by default it is 'closed'. It can\ - \ become 'open' once the number of consecutive failures overlaps the specified\ - \ threshold, in such case no further calls to the failing callback are\ - \ made." - example: closed - nullable: true - circuit_failure_count: - description: "The number of consecutive failures recorded by the circuit\ - \ breaker associated to this resource, will be reset on first successful\ - \ call to callback." - example: 5 - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_shipping_methods_shippingMethodId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - shipping_methods - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_shipping_methods_shippingMethodId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_shipping_methods_201_response_data_relationships' - GET_shipping_methods_shippingMethodId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_shipping_methods_shippingMethodId_200_response_data' - PATCH_shipping_methods_shippingMethodId_200_response_data_attributes: - properties: - name: - description: The shipping method's name. - example: Standard shipping - nullable: false - scheme: - description: "The shipping method's scheme. One of 'flat', 'weight_tiered',\ - \ or 'external'." - enum: - - flat - - weight_tiered - - external - example: flat - nullable: true - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - nullable: true - external_prices_url: - description: The URL used to overwrite prices by an external source. - example: https://external_prices.yourbrand.com - nullable: true - price_amount_cents: - description: "The price of this shipping method, in cents." - example: 1000 - nullable: false - free_over_amount_cents: - description: "Apply free shipping if the order amount is over this value,\ - \ in cents." - example: 9900 - nullable: true - use_subtotal: - description: "Send this attribute if you want to compare the free over amount\ - \ with order's subtotal (excluding discounts, if any)." - example: true - nullable: false - min_weight: - description: The minimum weight for which this shipping method is available. - example: 3.0 - nullable: true - max_weight: - description: The maximum weight for which this shipping method is available. - example: 300.0 - nullable: true - unit_of_weight: - description: "The unit of weight. One of 'gr', 'oz', or 'lb'." - enum: - - gr - - oz - - lb - example: gr - nullable: true - _disable: - description: Send this attribute if you want to mark this resource as disabled. - example: true - nullable: false - _enable: - description: Send this attribute if you want to mark this resource as enabled. - example: true - nullable: false - _reset_circuit: - description: Send this attribute if you want to reset the circuit breaker - associated to this resource to 'closed' state and zero failures count. - Cannot be passed by sales channels. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_shipping_methods_shippingMethodId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - shipping_methods - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_shipping_methods_shippingMethodId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_shipping_methods_201_response_data_relationships' - PATCH_shipping_methods_shippingMethodId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_shipping_methods_shippingMethodId_200_response_data' - GET_shipping_weight_tiers_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - shipping_weight_tiers - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The shipping method tier's name. - example: Light shipping under 3kg - nullable: false - type: - description: The shipping method tier's type. - enum: - - shipping_weight_tiers - example: shipping_weight_tiers - nullable: false - up_to: - description: The tier upper limit. When 'null' it means infinity - (useful to have an always matching tier). - example: 20.5 - nullable: true - price_amount_cents: - description: "The price of this shipping method tier, in cents." - example: 1000 - nullable: false - price_amount_float: - description: "The price of this shipping method tier, float." - example: 10.0 - nullable: true - formatted_price_amount: - description: "The price of this shipping method tier, formatted." - example: "€10,00" - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - shipping_method: - $ref: '#/components/schemas/POST_delivery_lead_times_201_response_data_relationships_shipping_method' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_shipping_weight_tiers_201_response_data_attributes: - properties: - name: - description: The shipping method tier's name. - example: Light shipping under 3kg - up_to: - description: The tier upper limit. When 'null' it means infinity (useful - to have an always matching tier). - example: 20.5 - price_amount_cents: - description: "The price of this shipping method tier, in cents." - example: 1000 - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - name - - price_amount_cents - POST_shipping_weight_tiers_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - shipping_weight_tiers - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_shipping_weight_tiers_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/GET_shipping_method_tiers_shippingMethodTierId_200_response_data_relationships' - POST_shipping_weight_tiers_201_response: - properties: - data: - $ref: '#/components/schemas/POST_shipping_weight_tiers_201_response_data' - GET_shipping_weight_tiers_shippingWeightTierId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - shipping_weight_tiers - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_shipping_method_tiers_shippingMethodTierId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/GET_shipping_method_tiers_shippingMethodTierId_200_response_data_relationships' - GET_shipping_weight_tiers_shippingWeightTierId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_shipping_weight_tiers_shippingWeightTierId_200_response_data' - PATCH_shipping_weight_tiers_shippingWeightTierId_200_response_data_attributes: - properties: - name: - description: The shipping method tier's name. - example: Light shipping under 3kg - nullable: false - up_to: - description: The tier upper limit. When 'null' it means infinity (useful - to have an always matching tier). - example: 20.5 - nullable: true - price_amount_cents: - description: "The price of this shipping method tier, in cents." - example: 1000 - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_shipping_weight_tiers_shippingWeightTierId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - shipping_weight_tiers - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_shipping_weight_tiers_shippingWeightTierId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/GET_shipping_method_tiers_shippingMethodTierId_200_response_data_relationships' - PATCH_shipping_weight_tiers_shippingWeightTierId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_shipping_weight_tiers_shippingWeightTierId_200_response_data' - GET_shipping_zones_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - shipping_zones - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The shipping zone's internal name. - example: Europe (main countries) - nullable: false - country_code_regex: - description: The regex that will be evaluated to match the shipping - address country code. - example: AT|BE|BG|CZ|DK|EE|DE|HU|LV|LT - nullable: true - not_country_code_regex: - description: The regex that will be evaluated as negative match - for the shipping address country code. - example: AT|BE|BG|CZ|DK|EE|DE - nullable: true - state_code_regex: - description: The regex that will be evaluated to match the shipping - address state code. - example: "A[KLRZ]|C[AOT]|D[CE]|FL" - nullable: true - not_state_code_regex: - description: The regex that will be evaluated as negative match - for the shipping address state code. - example: "A[KLRZ]|C[AOT]" - nullable: true - zip_code_regex: - description: The regex that will be evaluated to match the shipping - address zip code. - example: (?i)(JE1|JE2|JE3|JE4|JE5) - nullable: true - not_zip_code_regex: - description: The regex that will be evaluated as negative match - for the shipping zip country code. - example: (?i)(JE1|JE2|JE3) - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_shipping_zones_201_response_data_attributes: - properties: - name: - description: The shipping zone's internal name. - example: Europe (main countries) - country_code_regex: - description: The regex that will be evaluated to match the shipping address - country code. - example: AT|BE|BG|CZ|DK|EE|DE|HU|LV|LT - not_country_code_regex: - description: The regex that will be evaluated as negative match for the - shipping address country code. - example: AT|BE|BG|CZ|DK|EE|DE - state_code_regex: - description: The regex that will be evaluated to match the shipping address - state code. - example: "A[KLRZ]|C[AOT]|D[CE]|FL" - not_state_code_regex: - description: The regex that will be evaluated as negative match for the - shipping address state code. - example: "A[KLRZ]|C[AOT]" - zip_code_regex: - description: The regex that will be evaluated to match the shipping address - zip code. - example: (?i)(JE1|JE2|JE3|JE4|JE5) - not_zip_code_regex: - description: The regex that will be evaluated as negative match for the - shipping zip country code. - example: (?i)(JE1|JE2|JE3) - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - name - POST_shipping_zones_201_response_data_relationships: - properties: - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_shipping_zones_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - shipping_zones - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_shipping_zones_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_shipping_zones_201_response_data_relationships' - POST_shipping_zones_201_response: - properties: - data: - $ref: '#/components/schemas/POST_shipping_zones_201_response_data' - GET_shipping_zones_shippingZoneId_200_response_data_attributes: - properties: - name: - description: The shipping zone's internal name. - example: Europe (main countries) - nullable: false - country_code_regex: - description: The regex that will be evaluated to match the shipping address - country code. - example: AT|BE|BG|CZ|DK|EE|DE|HU|LV|LT - nullable: true - not_country_code_regex: - description: The regex that will be evaluated as negative match for the - shipping address country code. - example: AT|BE|BG|CZ|DK|EE|DE - nullable: true - state_code_regex: - description: The regex that will be evaluated to match the shipping address - state code. - example: "A[KLRZ]|C[AOT]|D[CE]|FL" - nullable: true - not_state_code_regex: - description: The regex that will be evaluated as negative match for the - shipping address state code. - example: "A[KLRZ]|C[AOT]" - nullable: true - zip_code_regex: - description: The regex that will be evaluated to match the shipping address - zip code. - example: (?i)(JE1|JE2|JE3|JE4|JE5) - nullable: true - not_zip_code_regex: - description: The regex that will be evaluated as negative match for the - shipping zip country code. - example: (?i)(JE1|JE2|JE3) - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_shipping_zones_shippingZoneId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - shipping_zones - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_shipping_zones_shippingZoneId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_shipping_zones_201_response_data_relationships' - GET_shipping_zones_shippingZoneId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_shipping_zones_shippingZoneId_200_response_data' - PATCH_shipping_zones_shippingZoneId_200_response_data_attributes: - properties: - name: - description: The shipping zone's internal name. - example: Europe (main countries) - nullable: false - country_code_regex: - description: The regex that will be evaluated to match the shipping address - country code. - example: AT|BE|BG|CZ|DK|EE|DE|HU|LV|LT - nullable: true - not_country_code_regex: - description: The regex that will be evaluated as negative match for the - shipping address country code. - example: AT|BE|BG|CZ|DK|EE|DE - nullable: true - state_code_regex: - description: The regex that will be evaluated to match the shipping address - state code. - example: "A[KLRZ]|C[AOT]|D[CE]|FL" - nullable: true - not_state_code_regex: - description: The regex that will be evaluated as negative match for the - shipping address state code. - example: "A[KLRZ]|C[AOT]" - nullable: true - zip_code_regex: - description: The regex that will be evaluated to match the shipping address - zip code. - example: (?i)(JE1|JE2|JE3|JE4|JE5) - nullable: true - not_zip_code_regex: - description: The regex that will be evaluated as negative match for the - shipping zip country code. - example: (?i)(JE1|JE2|JE3) - nullable: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_shipping_zones_shippingZoneId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - shipping_zones - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_shipping_zones_shippingZoneId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_shipping_zones_201_response_data_relationships' - PATCH_shipping_zones_shippingZoneId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_shipping_zones_shippingZoneId_200_response_data' - GET_sku_list_items_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - sku_list_items - links: - properties: - self: - description: URL - attributes: - properties: - position: - description: The SKU list item's position. - example: 2 - nullable: true - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - quantity: - description: The SKU quantity for this SKU list item. - example: 1 - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - sku_list: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - sku_list - id: - description: The resource ID - sku: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - sku - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_sku_list_items_201_response_data_attributes: - properties: - position: - description: The SKU list item's position. - example: 2 - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - quantity: - description: The SKU quantity for this SKU list item. - example: 1 - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - POST_sku_list_items_201_response_data_relationships: - properties: - sku_list: - $ref: '#/components/schemas/POST_bundles_201_response_data_relationships_sku_list' - sku: - $ref: '#/components/schemas/POST_in_stock_subscriptions_201_response_data_relationships_sku' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_sku_list_items_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - sku_list_items - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_sku_list_items_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_sku_list_items_201_response_data_relationships' - POST_sku_list_items_201_response: - properties: - data: - $ref: '#/components/schemas/POST_sku_list_items_201_response_data' - GET_sku_list_items_skuListItemId_200_response_data_attributes: - properties: - position: - description: The SKU list item's position. - example: 2 - nullable: true - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - quantity: - description: The SKU quantity for this SKU list item. - example: 1 - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_sku_list_items_skuListItemId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - sku_list_items - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_sku_list_items_skuListItemId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_sku_list_items_201_response_data_relationships' - GET_sku_list_items_skuListItemId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_sku_list_items_skuListItemId_200_response_data' - PATCH_sku_list_items_skuListItemId_200_response_data_attributes: - properties: - position: - description: The SKU list item's position. - example: 2 - nullable: true - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - quantity: - description: The SKU quantity for this SKU list item. - example: 1 - nullable: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_sku_list_items_skuListItemId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - sku_list_items - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_sku_list_items_skuListItemId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_sku_list_items_201_response_data_relationships' - PATCH_sku_list_items_skuListItemId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_sku_list_items_skuListItemId_200_response_data' - GET_sku_list_promotion_rules_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - sku_list_promotion_rules - links: - properties: - self: - description: URL - attributes: - properties: - type: - description: The promotion rule's type. - enum: - - order_amount_promotion_rules - - sku_list_promotion_rules - - coupon_codes_promotion_rules - - custom_promotion_rules - example: coupon_codes_promotion_rules - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - all_skus: - description: Indicates if the rule is activated only when all - of the SKUs of the list is also part of the order. - example: true - nullable: true - min_quantity: - description: "The min quantity of SKUs of the list that must be\ - \ also part of the order. If positive, overwrites the 'all_skus'\ - \ option. When the SKU list is manual, its items quantities\ - \ are honoured." - example: 3 - nullable: true - relationships: - properties: - promotion: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - promotion - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - sku_list: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - sku_list - id: - description: The resource ID - skus: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - skus - id: - description: The resource ID - POST_sku_list_promotion_rules_201_response_data_attributes: - properties: - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - all_skus: - description: Indicates if the rule is activated only when all of the SKUs - of the list is also part of the order. - example: true - min_quantity: - description: "The min quantity of SKUs of the list that must be also part\ - \ of the order. If positive, overwrites the 'all_skus' option. When the\ - \ SKU list is manual, its items quantities are honoured." - example: 3 - POST_sku_list_promotion_rules_201_response_data_relationships: - properties: - promotion: - $ref: '#/components/schemas/POST_coupon_codes_promotion_rules_201_response_data_relationships_promotion' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - sku_list: - $ref: '#/components/schemas/POST_bundles_201_response_data_relationships_sku_list' - skus: - $ref: '#/components/schemas/POST_bundles_201_response_data_relationships_skus' - POST_sku_list_promotion_rules_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - sku_list_promotion_rules - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_sku_list_promotion_rules_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_sku_list_promotion_rules_201_response_data_relationships' - POST_sku_list_promotion_rules_201_response: - properties: - data: - $ref: '#/components/schemas/POST_sku_list_promotion_rules_201_response_data' - GET_sku_list_promotion_rules_skuListPromotionRuleId_200_response_data_attributes: - properties: - type: - description: The promotion rule's type. - enum: - - order_amount_promotion_rules - - sku_list_promotion_rules - - coupon_codes_promotion_rules - - custom_promotion_rules - example: coupon_codes_promotion_rules - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - all_skus: - description: Indicates if the rule is activated only when all of the SKUs - of the list is also part of the order. - example: true - nullable: true - min_quantity: - description: "The min quantity of SKUs of the list that must be also part\ - \ of the order. If positive, overwrites the 'all_skus' option. When the\ - \ SKU list is manual, its items quantities are honoured." - example: 3 - nullable: true - GET_sku_list_promotion_rules_skuListPromotionRuleId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - sku_list_promotion_rules - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_sku_list_promotion_rules_skuListPromotionRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_sku_list_promotion_rules_201_response_data_relationships' - GET_sku_list_promotion_rules_skuListPromotionRuleId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_sku_list_promotion_rules_skuListPromotionRuleId_200_response_data' - PATCH_sku_list_promotion_rules_skuListPromotionRuleId_200_response_data_attributes: - properties: - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - all_skus: - description: Indicates if the rule is activated only when all of the SKUs - of the list is also part of the order. - example: true - nullable: false - min_quantity: - description: "The min quantity of SKUs of the list that must be also part\ - \ of the order. If positive, overwrites the 'all_skus' option. When the\ - \ SKU list is manual, its items quantities are honoured." - example: 3 - nullable: true - PATCH_sku_list_promotion_rules_skuListPromotionRuleId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - sku_list_promotion_rules - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_sku_list_promotion_rules_skuListPromotionRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_sku_list_promotion_rules_201_response_data_relationships' - PATCH_sku_list_promotion_rules_skuListPromotionRuleId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_sku_list_promotion_rules_skuListPromotionRuleId_200_response_data' - GET_sku_lists_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - sku_lists - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The SKU list's internal name. - example: Personal list - nullable: false - slug: - description: The SKU list's internal slug. - example: personal-list-1 - nullable: false - description: - description: An internal description of the SKU list. - example: "Lorem ipsum dolor sit amet, consectetur adipisicing\ - \ elit, sed do eiusmod tempor incididunt ut labore et dolore\ - \ magna aliqua." - nullable: true - image_url: - description: The URL of an image that represents the SKU list. - example: https://img.yourdomain.com/skus/xYZkjABcde.png - nullable: true - manual: - description: Indicates if the SKU list is populated manually. - example: false - nullable: true - sku_code_regex: - description: The regex that will be evaluated to match the SKU - codes. - example: ^(A|B).*$ - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - customer: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - customer - id: - description: The resource ID - skus: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - skus - id: - description: The resource ID - sku_list_items: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - sku_list_items - id: - description: The resource ID - bundles: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - bundles - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - links: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - links - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_sku_lists_201_response_data_attributes: - properties: - name: - description: The SKU list's internal name. - example: Personal list - description: - description: An internal description of the SKU list. - example: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed\ - \ do eiusmod tempor incididunt ut labore et dolore magna aliqua." - image_url: - description: The URL of an image that represents the SKU list. - example: https://img.yourdomain.com/skus/xYZkjABcde.png - manual: - description: Indicates if the SKU list is populated manually. - example: false - sku_code_regex: - description: The regex that will be evaluated to match the SKU codes. - example: ^(A|B).*$ - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - name - POST_sku_lists_201_response_data_relationships_sku_list_items_data: - properties: - type: - description: The resource's type - enum: - - sku_list_items - id: - description: The resource ID - POST_sku_lists_201_response_data_relationships_sku_list_items: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_sku_lists_201_response_data_relationships_sku_list_items_data' - POST_sku_lists_201_response_data_relationships_bundles_data: - properties: - type: - description: The resource's type - enum: - - bundles - id: - description: The resource ID - POST_sku_lists_201_response_data_relationships_bundles: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_sku_lists_201_response_data_relationships_bundles_data' - POST_sku_lists_201_response_data_relationships: - properties: - customer: - $ref: '#/components/schemas/POST_coupon_recipients_201_response_data_relationships_customer' - skus: - $ref: '#/components/schemas/POST_bundles_201_response_data_relationships_skus' - sku_list_items: - $ref: '#/components/schemas/POST_sku_lists_201_response_data_relationships_sku_list_items' - bundles: - $ref: '#/components/schemas/POST_sku_lists_201_response_data_relationships_bundles' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - links: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_links' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_sku_lists_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - sku_lists - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_sku_lists_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_sku_lists_201_response_data_relationships' - POST_sku_lists_201_response: - properties: - data: - $ref: '#/components/schemas/POST_sku_lists_201_response_data' - GET_sku_lists_skuListId_200_response_data_attributes: - properties: - name: - description: The SKU list's internal name. - example: Personal list - nullable: false - slug: - description: The SKU list's internal slug. - example: personal-list-1 - nullable: false - description: - description: An internal description of the SKU list. - example: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed\ - \ do eiusmod tempor incididunt ut labore et dolore magna aliqua." - nullable: true - image_url: - description: The URL of an image that represents the SKU list. - example: https://img.yourdomain.com/skus/xYZkjABcde.png - nullable: true - manual: - description: Indicates if the SKU list is populated manually. - example: false - nullable: true - sku_code_regex: - description: The regex that will be evaluated to match the SKU codes. - example: ^(A|B).*$ - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_sku_lists_skuListId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - sku_lists - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_sku_lists_skuListId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_sku_lists_201_response_data_relationships' - GET_sku_lists_skuListId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_sku_lists_skuListId_200_response_data' - PATCH_sku_lists_skuListId_200_response_data_attributes: - properties: - name: - description: The SKU list's internal name. - example: Personal list - nullable: false - description: - description: An internal description of the SKU list. - example: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed\ - \ do eiusmod tempor incididunt ut labore et dolore magna aliqua." - nullable: true - image_url: - description: The URL of an image that represents the SKU list. - example: https://img.yourdomain.com/skus/xYZkjABcde.png - nullable: true - manual: - description: Indicates if the SKU list is populated manually. - example: false - nullable: false - sku_code_regex: - description: The regex that will be evaluated to match the SKU codes. - example: ^(A|B).*$ - nullable: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_sku_lists_skuListId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - sku_lists - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_sku_lists_skuListId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_sku_lists_201_response_data_relationships' - PATCH_sku_lists_skuListId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_sku_lists_skuListId_200_response_data' - GET_sku_options_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - sku_options - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The SKU option's internal name. - example: Embossing - nullable: false - currency_code: - description: The international 3-letter currency code as defined - by the ISO 4217 standard. - example: EUR - nullable: true - description: - description: An internal description of the SKU option. - example: "Lorem ipsum dolor sit amet, consectetur adipisicing\ - \ elit, sed do eiusmod tempor incididunt ut labore et dolore\ - \ magna aliqua." - nullable: true - price_amount_cents: - description: "The price of this shipping method, in cents." - example: 1000 - nullable: true - price_amount_float: - description: "The price of this shipping method, float." - example: 10.0 - nullable: true - formatted_price_amount: - description: "The price of this shipping method, formatted." - example: "€10,00" - nullable: true - delay_hours: - description: The delay time (in hours) that should be added to - the delivery lead time when this option is purchased. - example: 48 - nullable: true - delay_days: - description: "The delay time, in days (rounded)." - example: 2 - nullable: true - sku_code_regex: - description: The regex that will be evaluated to match the SKU - codes. - example: ^(A|B).*$ - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - market: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - market - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - tags: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - tags - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_sku_options_201_response_data_attributes: - properties: - name: - description: The SKU option's internal name. - example: Embossing - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - description: - description: An internal description of the SKU option. - example: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed\ - \ do eiusmod tempor incididunt ut labore et dolore magna aliqua." - price_amount_cents: - description: "The price of this shipping method, in cents." - example: 1000 - delay_hours: - description: The delay time (in hours) that should be added to the delivery - lead time when this option is purchased. - example: 48 - sku_code_regex: - description: The regex that will be evaluated to match the SKU codes. - example: ^(A|B).*$ - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - name - POST_sku_options_201_response_data_relationships: - properties: - market: - $ref: '#/components/schemas/POST_billing_info_validation_rules_201_response_data_relationships_market' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - tags: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_tags' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_sku_options_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - sku_options - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_sku_options_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_sku_options_201_response_data_relationships' - POST_sku_options_201_response: - properties: - data: - $ref: '#/components/schemas/POST_sku_options_201_response_data' - GET_sku_options_skuOptionId_200_response_data_attributes: - properties: - name: - description: The SKU option's internal name. - example: Embossing - nullable: false - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - nullable: true - description: - description: An internal description of the SKU option. - example: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed\ - \ do eiusmod tempor incididunt ut labore et dolore magna aliqua." - nullable: true - price_amount_cents: - description: "The price of this shipping method, in cents." - example: 1000 - nullable: true - price_amount_float: - description: "The price of this shipping method, float." - example: 10.0 - nullable: true - formatted_price_amount: - description: "The price of this shipping method, formatted." - example: "€10,00" - nullable: true - delay_hours: - description: The delay time (in hours) that should be added to the delivery - lead time when this option is purchased. - example: 48 - nullable: true - delay_days: - description: "The delay time, in days (rounded)." - example: 2 - nullable: true - sku_code_regex: - description: The regex that will be evaluated to match the SKU codes. - example: ^(A|B).*$ - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_sku_options_skuOptionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - sku_options - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_sku_options_skuOptionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_sku_options_201_response_data_relationships' - GET_sku_options_skuOptionId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_sku_options_skuOptionId_200_response_data' - PATCH_sku_options_skuOptionId_200_response_data_attributes: - properties: - name: - description: The SKU option's internal name. - example: Embossing - nullable: false - currency_code: - description: The international 3-letter currency code as defined by the - ISO 4217 standard. - example: EUR - nullable: true - description: - description: An internal description of the SKU option. - example: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed\ - \ do eiusmod tempor incididunt ut labore et dolore magna aliqua." - nullable: true - price_amount_cents: - description: "The price of this shipping method, in cents." - example: 1000 - nullable: true - delay_hours: - description: The delay time (in hours) that should be added to the delivery - lead time when this option is purchased. - example: 48 - nullable: true - sku_code_regex: - description: The regex that will be evaluated to match the SKU codes. - example: ^(A|B).*$ - nullable: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_sku_options_skuOptionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - sku_options - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_sku_options_skuOptionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_sku_options_201_response_data_relationships' - PATCH_sku_options_skuOptionId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_sku_options_skuOptionId_200_response_data' - GET_skus_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - skus - links: - properties: - self: - description: URL - attributes: - properties: - code: - description: "The SKU code, that uniquely identifies the SKU within\ - \ the organization." - example: TSHIRTMM000000FFFFFFXLXX - nullable: false - name: - description: The internal name of the SKU. - example: Men's Black T-shirt with White Logo (XL) - nullable: false - description: - description: An internal description of the SKU. - example: "Lorem ipsum dolor sit amet, consectetur adipisicing\ - \ elit, sed do eiusmod tempor incididunt ut labore et dolore\ - \ magna aliqua." - nullable: true - image_url: - description: The URL of an image that represents the SKU. - example: https://img.yourdomain.com/skus/xYZkjABcde.png - nullable: true - pieces_per_pack: - description: The number of pieces that compose the SKU. This is - useful to describe sets and bundles. - example: 6 - nullable: true - weight: - description: "The weight of the SKU. If present, it will be used\ - \ to calculate the shipping rates." - example: 300.0 - nullable: true - unit_of_weight: - description: "The unit of weight. One of 'gr', 'oz', or 'lb'." - enum: - - gr - - oz - - lb - example: gr - nullable: true - hs_tariff_number: - description: The Harmonized System Code used by customs to identify - the products shipped across international borders. - example: 4901.91.0020 - nullable: true - do_not_ship: - description: Indicates if the SKU doesn't generate shipments. - example: false - nullable: true - do_not_track: - description: Indicates if the SKU doesn't track the stock inventory. - example: false - nullable: true - inventory: - description: Aggregated information about the SKU's inventory. - Returned only when retrieving a single SKU. - example: - available: true - quantity: 10 - levels: - - quantity: 4 - delivery_lead_times: - - shipping_method: - name: Standard Shipping - reference: null - price_amount_cents: 700 - free_over_amount_cents: 9900 - formatted_price_amount: "€7,00" - formatted_free_over_amount: "€99,00" - min: - hours: 72 - days: 3 - max: - hours: 120 - days: 5 - - shipping_method: - name: Express Delivery - reference: null - price_amount_cents: 1200 - free_over_amount_cents: null - formatted_price_amount: "€12,00" - formatted_free_over_amount: null - min: - hours: 48 - days: 2 - max: - hours: 72 - days: 3 - - quantity: 6 - delivery_lead_times: - - shipping_method: - name: Standard Shipping - reference: null - price_amount_cents: 700 - free_over_amount_cents: 9900 - formatted_price_amount: "€7,00" - formatted_free_over_amount: "€99,00" - min: - hours: 96 - days: 4 - max: - hours: 144 - days: 6 - - shipping_method: - name: Express Delivery - reference: null - price_amount_cents: 1200 - free_over_amount_cents: null - formatted_price_amount: "€12,00" - formatted_free_over_amount: null - min: - hours: 72 - days: 3 - max: - hours: 96 - days: 4 - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - jwt_custom_claim: - description: The custom_claim attached to the current JWT (if - any). - example: {} - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - shipping_category: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - shipping_category - id: - description: The resource ID - prices: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - prices - id: - description: The resource ID - stock_items: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - stock_items - id: - description: The resource ID - stock_reservations: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - stock_reservations - id: - description: The resource ID - delivery_lead_times: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - delivery_lead_times - id: - description: The resource ID - sku_options: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - sku_options - id: - description: The resource ID - sku_list_items: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - sku_list_items - id: - description: The resource ID - sku_lists: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - sku_lists - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - links: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - links - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - tags: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - tags - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - jwt_customer: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - jwt_customer - id: - description: The resource ID - jwt_markets: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - jwt_markets - id: - description: The resource ID - jwt_stock_locations: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - jwt_stock_locations - id: - description: The resource ID - POST_skus_201_response_data_attributes: - properties: - code: - description: "The SKU code, that uniquely identifies the SKU within the\ - \ organization." - example: TSHIRTMM000000FFFFFFXLXX - name: - description: The internal name of the SKU. - example: Men's Black T-shirt with White Logo (XL) - description: - description: An internal description of the SKU. - example: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed\ - \ do eiusmod tempor incididunt ut labore et dolore magna aliqua." - image_url: - description: The URL of an image that represents the SKU. - example: https://img.yourdomain.com/skus/xYZkjABcde.png - pieces_per_pack: - description: The number of pieces that compose the SKU. This is useful to - describe sets and bundles. - example: 6 - weight: - description: "The weight of the SKU. If present, it will be used to calculate\ - \ the shipping rates." - example: 300.0 - unit_of_weight: - description: "The unit of weight. One of 'gr', 'oz', or 'lb'." - enum: - - gr - - oz - - lb - example: gr - hs_tariff_number: - description: The Harmonized System Code used by customs to identify the - products shipped across international borders. - example: 4901.91.0020 - do_not_ship: - description: Indicates if the SKU doesn't generate shipments. - example: false - do_not_track: - description: Indicates if the SKU doesn't track the stock inventory. - example: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - code - - name - POST_skus_201_response_data_relationships_stock_items_data: - properties: - type: - description: The resource's type - enum: - - stock_items - id: - description: The resource ID - POST_skus_201_response_data_relationships_stock_items: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_skus_201_response_data_relationships_stock_items_data' - POST_skus_201_response_data_relationships_delivery_lead_times_data: - properties: - type: - description: The resource's type - enum: - - delivery_lead_times - id: - description: The resource ID - POST_skus_201_response_data_relationships_delivery_lead_times: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_skus_201_response_data_relationships_delivery_lead_times_data' - POST_skus_201_response_data_relationships_sku_options_data: - properties: - type: - description: The resource's type - enum: - - sku_options - id: - description: The resource ID - POST_skus_201_response_data_relationships_sku_options: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_skus_201_response_data_relationships_sku_options_data' - POST_skus_201_response_data_relationships: - properties: - shipping_category: - $ref: '#/components/schemas/POST_shipments_201_response_data_relationships_shipping_category' - prices: - $ref: '#/components/schemas/POST_price_lists_201_response_data_relationships_prices' - stock_items: - $ref: '#/components/schemas/POST_skus_201_response_data_relationships_stock_items' - stock_reservations: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_stock_reservations' - delivery_lead_times: - $ref: '#/components/schemas/POST_skus_201_response_data_relationships_delivery_lead_times' - sku_options: - $ref: '#/components/schemas/POST_skus_201_response_data_relationships_sku_options' - sku_list_items: - $ref: '#/components/schemas/POST_sku_lists_201_response_data_relationships_sku_list_items' - sku_lists: - $ref: '#/components/schemas/POST_customers_201_response_data_relationships_sku_lists' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - links: - $ref: '#/components/schemas/POST_orders_201_response_data_relationships_links' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - tags: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_tags' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - jwt_customer: - $ref: '#/components/schemas/POST_prices_201_response_data_relationships_jwt_customer' - jwt_markets: - $ref: '#/components/schemas/POST_prices_201_response_data_relationships_jwt_markets' - jwt_stock_locations: - $ref: '#/components/schemas/POST_prices_201_response_data_relationships_jwt_stock_locations' - POST_skus_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - skus - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_skus_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_skus_201_response_data_relationships' - POST_skus_201_response: - properties: - data: - $ref: '#/components/schemas/POST_skus_201_response_data' - GET_skus_skuId_200_response_data_attributes: - properties: - code: - description: "The SKU code, that uniquely identifies the SKU within the\ - \ organization." - example: TSHIRTMM000000FFFFFFXLXX - nullable: false - name: - description: The internal name of the SKU. - example: Men's Black T-shirt with White Logo (XL) - nullable: false - description: - description: An internal description of the SKU. - example: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed\ - \ do eiusmod tempor incididunt ut labore et dolore magna aliqua." - nullable: true - image_url: - description: The URL of an image that represents the SKU. - example: https://img.yourdomain.com/skus/xYZkjABcde.png - nullable: true - pieces_per_pack: - description: The number of pieces that compose the SKU. This is useful to - describe sets and bundles. - example: 6 - nullable: true - weight: - description: "The weight of the SKU. If present, it will be used to calculate\ - \ the shipping rates." - example: 300.0 - nullable: true - unit_of_weight: - description: "The unit of weight. One of 'gr', 'oz', or 'lb'." - enum: - - gr - - oz - - lb - example: gr - nullable: true - hs_tariff_number: - description: The Harmonized System Code used by customs to identify the - products shipped across international borders. - example: 4901.91.0020 - nullable: true - do_not_ship: - description: Indicates if the SKU doesn't generate shipments. - example: false - nullable: true - do_not_track: - description: Indicates if the SKU doesn't track the stock inventory. - example: false - nullable: true - inventory: - description: Aggregated information about the SKU's inventory. Returned - only when retrieving a single SKU. - example: - available: true - quantity: 10 - levels: - - quantity: 4 - delivery_lead_times: - - shipping_method: - name: Standard Shipping - reference: null - price_amount_cents: 700 - free_over_amount_cents: 9900 - formatted_price_amount: "€7,00" - formatted_free_over_amount: "€99,00" - min: - hours: 72 - days: 3 - max: - hours: 120 - days: 5 - - shipping_method: - name: Express Delivery - reference: null - price_amount_cents: 1200 - free_over_amount_cents: null - formatted_price_amount: "€12,00" - formatted_free_over_amount: null - min: - hours: 48 - days: 2 - max: - hours: 72 - days: 3 - - quantity: 6 - delivery_lead_times: - - shipping_method: - name: Standard Shipping - reference: null - price_amount_cents: 700 - free_over_amount_cents: 9900 - formatted_price_amount: "€7,00" - formatted_free_over_amount: "€99,00" - min: - hours: 96 - days: 4 - max: - hours: 144 - days: 6 - - shipping_method: - name: Express Delivery - reference: null - price_amount_cents: 1200 - free_over_amount_cents: null - formatted_price_amount: "€12,00" - formatted_free_over_amount: null - min: - hours: 72 - days: 3 - max: - hours: 96 - days: 4 - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - jwt_custom_claim: - description: The custom_claim attached to the current JWT (if any). - example: {} - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_skus_skuId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - skus - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_skus_skuId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_skus_201_response_data_relationships' - GET_skus_skuId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_skus_skuId_200_response_data' - PATCH_skus_skuId_200_response_data_attributes: - properties: - code: - description: "The SKU code, that uniquely identifies the SKU within the\ - \ organization." - example: TSHIRTMM000000FFFFFFXLXX - nullable: false - name: - description: The internal name of the SKU. - example: Men's Black T-shirt with White Logo (XL) - nullable: false - description: - description: An internal description of the SKU. - example: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed\ - \ do eiusmod tempor incididunt ut labore et dolore magna aliqua." - nullable: true - image_url: - description: The URL of an image that represents the SKU. - example: https://img.yourdomain.com/skus/xYZkjABcde.png - nullable: true - pieces_per_pack: - description: The number of pieces that compose the SKU. This is useful to - describe sets and bundles. - example: 6 - nullable: true - weight: - description: "The weight of the SKU. If present, it will be used to calculate\ - \ the shipping rates." - example: 300.0 - nullable: true - unit_of_weight: - description: "The unit of weight. One of 'gr', 'oz', or 'lb'." - enum: - - gr - - oz - - lb - example: gr - nullable: true - hs_tariff_number: - description: The Harmonized System Code used by customs to identify the - products shipped across international borders. - example: 4901.91.0020 - nullable: true - do_not_ship: - description: Indicates if the SKU doesn't generate shipments. - example: false - nullable: false - do_not_track: - description: Indicates if the SKU doesn't track the stock inventory. - example: false - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_skus_skuId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - skus - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_skus_skuId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_skus_201_response_data_relationships' - PATCH_skus_skuId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_skus_skuId_200_response_data' - GET_stock_items_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - stock_items - links: - properties: - self: - description: URL - attributes: - properties: - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - quantity: - description: The stock item quantity. - example: 100 - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - stock_location: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - stock_location - id: - description: The resource ID - sku: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - sku - id: - description: The resource ID - reserved_stock: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - reserved_stock - id: - description: The resource ID - stock_reservations: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - stock_reservations - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_stock_items_201_response_data_attributes: - properties: - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - quantity: - description: The stock item quantity. - example: 100 - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - quantity - POST_stock_items_201_response_data_relationships_reserved_stock_data: - properties: - type: - description: The resource's type - enum: - - reserved_stock - id: - description: The resource ID - POST_stock_items_201_response_data_relationships_reserved_stock: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_stock_items_201_response_data_relationships_reserved_stock_data' - POST_stock_items_201_response_data_relationships: - properties: - stock_location: - $ref: '#/components/schemas/POST_delivery_lead_times_201_response_data_relationships_stock_location' - sku: - $ref: '#/components/schemas/POST_in_stock_subscriptions_201_response_data_relationships_sku' - reserved_stock: - $ref: '#/components/schemas/POST_stock_items_201_response_data_relationships_reserved_stock' - stock_reservations: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_stock_reservations' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_stock_items_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - stock_items - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_stock_items_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_stock_items_201_response_data_relationships' - POST_stock_items_201_response: - properties: - data: - $ref: '#/components/schemas/POST_stock_items_201_response_data' - GET_stock_items_stockItemId_200_response_data_attributes: - properties: - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - quantity: - description: The stock item quantity. - example: 100 - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_stock_items_stockItemId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - stock_items - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_stock_items_stockItemId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_stock_items_201_response_data_relationships' - GET_stock_items_stockItemId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_stock_items_stockItemId_200_response_data' - PATCH_stock_items_stockItemId_200_response_data_attributes: - properties: - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - quantity: - description: The stock item quantity. - example: 100 - nullable: false - _validate: - description: "Send this attribute if you want to validate the stock item\ - \ quantity against the existing reserved stock one, returns an error in\ - \ case the former is smaller. Cannot be passed by sales channels." - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_stock_items_stockItemId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - stock_items - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_stock_items_stockItemId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_stock_items_201_response_data_relationships' - PATCH_stock_items_stockItemId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_stock_items_stockItemId_200_response_data' - GET_stock_line_items_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - stock_line_items - links: - properties: - self: - description: URL - attributes: - properties: - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - bundle_code: - description: The code of the associated bundle. - example: BUNDLEMM000000FFFFFFXLXX - nullable: true - quantity: - description: The line item quantity. - example: 4 - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - shipment: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - shipment - id: - description: The resource ID - line_item: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - line_item - id: - description: The resource ID - stock_item: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - stock_item - id: - description: The resource ID - sku: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - sku - id: - description: The resource ID - stock_reservation: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - stock_reservation - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_stock_line_items_201_response_data_attributes: - properties: - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - quantity: - description: The line item quantity. - example: 4 - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - quantity - POST_stock_line_items_201_response_data_relationships_stock_reservation_data: - properties: - type: - description: The resource's type - enum: - - stock_reservation - id: - description: The resource ID - POST_stock_line_items_201_response_data_relationships_stock_reservation: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_stock_line_items_201_response_data_relationships_stock_reservation_data' - POST_stock_line_items_201_response_data_relationships: - properties: - shipment: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_shipment' - line_item: - $ref: '#/components/schemas/POST_line_item_options_201_response_data_relationships_line_item' - stock_item: - $ref: '#/components/schemas/GET_reserved_stocks_reservedStockId_200_response_data_relationships_stock_item' - sku: - $ref: '#/components/schemas/POST_in_stock_subscriptions_201_response_data_relationships_sku' - stock_reservation: - $ref: '#/components/schemas/POST_stock_line_items_201_response_data_relationships_stock_reservation' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_stock_line_items_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - stock_line_items - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_stock_line_items_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_stock_line_items_201_response_data_relationships' - POST_stock_line_items_201_response: - properties: - data: - $ref: '#/components/schemas/POST_stock_line_items_201_response_data' - GET_stock_line_items_stockLineItemId_200_response_data_attributes: - properties: - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - bundle_code: - description: The code of the associated bundle. - example: BUNDLEMM000000FFFFFFXLXX - nullable: true - quantity: - description: The line item quantity. - example: 4 - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_stock_line_items_stockLineItemId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - stock_line_items - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_stock_line_items_stockLineItemId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_stock_line_items_201_response_data_relationships' - GET_stock_line_items_stockLineItemId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_stock_line_items_stockLineItemId_200_response_data' - PATCH_stock_line_items_stockLineItemId_200_response_data_attributes: - properties: - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - quantity: - description: The line item quantity. - example: 4 - nullable: false - _reserve_stock: - description: Send this attribute if you want to automatically reserve the - stock for this stock line item. Can be done only when fulfillment is in - progress. Cannot be passed by sales channels. - example: true - nullable: false - _release_stock: - description: Send this attribute if you want to automatically destroy the - stock reservation for this stock line item. Can be done only when fulfillment - is in progress. Cannot be passed by sales channels. - example: true - nullable: false - _decrement_stock: - description: Send this attribute if you want to automatically decrement - and release the stock this stock line item. Can be done only when fulfillment - is in progress. Cannot be passed by sales channels. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_stock_line_items_stockLineItemId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - stock_line_items - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_stock_line_items_stockLineItemId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_stock_line_items_201_response_data_relationships' - PATCH_stock_line_items_stockLineItemId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_stock_line_items_stockLineItemId_200_response_data' - GET_stock_locations_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - stock_locations - links: - properties: - self: - description: URL - attributes: - properties: - number: - description: Unique identifier for the stock location (numeric). - example: 1234 - nullable: true - name: - description: The stock location's internal name. - example: Primary warehouse - nullable: false - code: - description: A string that you can use to identify the stock location - (must be unique within the environment). - example: europe1 - nullable: true - label_format: - description: "The shipping label format for this stock location.\ - \ Can be one of 'PDF', 'ZPL', 'EPL2', or 'PNG'." - example: PDF - nullable: true - suppress_etd: - description: Flag it if you want to skip the electronic invoice - creation when generating the customs info for this stock location - shipments. - example: false - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - address: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - address - id: - description: The resource ID - inventory_stock_locations: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - inventory_stock_locations - id: - description: The resource ID - inventory_return_locations: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - inventory_return_locations - id: - description: The resource ID - stock_items: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - stock_items - id: - description: The resource ID - stock_transfers: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - stock_transfers - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_stock_locations_201_response_data_attributes: - properties: - name: - description: The stock location's internal name. - example: Primary warehouse - code: - description: A string that you can use to identify the stock location (must - be unique within the environment). - example: europe1 - label_format: - description: "The shipping label format for this stock location. Can be\ - \ one of 'PDF', 'ZPL', 'EPL2', or 'PNG'." - example: PDF - suppress_etd: - description: Flag it if you want to skip the electronic invoice creation - when generating the customs info for this stock location shipments. - example: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - name - POST_stock_locations_201_response_data_relationships: - properties: - address: - $ref: '#/components/schemas/POST_customer_addresses_201_response_data_relationships_address' - inventory_stock_locations: - $ref: '#/components/schemas/POST_inventory_models_201_response_data_relationships_inventory_stock_locations' - inventory_return_locations: - $ref: '#/components/schemas/POST_inventory_models_201_response_data_relationships_inventory_return_locations' - stock_items: - $ref: '#/components/schemas/POST_skus_201_response_data_relationships_stock_items' - stock_transfers: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_stock_transfers' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_stock_locations_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - stock_locations - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_stock_locations_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_stock_locations_201_response_data_relationships' - POST_stock_locations_201_response: - properties: - data: - $ref: '#/components/schemas/POST_stock_locations_201_response_data' - GET_stock_locations_stockLocationId_200_response_data_attributes: - properties: - number: - description: Unique identifier for the stock location (numeric). - example: 1234 - nullable: true - name: - description: The stock location's internal name. - example: Primary warehouse - nullable: false - code: - description: A string that you can use to identify the stock location (must - be unique within the environment). - example: europe1 - nullable: true - label_format: - description: "The shipping label format for this stock location. Can be\ - \ one of 'PDF', 'ZPL', 'EPL2', or 'PNG'." - example: PDF - nullable: true - suppress_etd: - description: Flag it if you want to skip the electronic invoice creation - when generating the customs info for this stock location shipments. - example: false - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_stock_locations_stockLocationId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - stock_locations - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_stock_locations_stockLocationId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_stock_locations_201_response_data_relationships' - GET_stock_locations_stockLocationId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_stock_locations_stockLocationId_200_response_data' - PATCH_stock_locations_stockLocationId_200_response_data_attributes: - properties: - name: - description: The stock location's internal name. - example: Primary warehouse - nullable: false - code: - description: A string that you can use to identify the stock location (must - be unique within the environment). - example: europe1 - nullable: true - label_format: - description: "The shipping label format for this stock location. Can be\ - \ one of 'PDF', 'ZPL', 'EPL2', or 'PNG'." - example: PDF - nullable: true - suppress_etd: - description: Flag it if you want to skip the electronic invoice creation - when generating the customs info for this stock location shipments. - example: false - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_stock_locations_stockLocationId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - stock_locations - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_stock_locations_stockLocationId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_stock_locations_201_response_data_relationships' - PATCH_stock_locations_stockLocationId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_stock_locations_stockLocationId_200_response_data' - GET_stock_reservations_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - stock_reservations - links: - properties: - self: - description: URL - attributes: - properties: - status: - description: "The stock reservation status. One of 'draft' (default),\ - \ or 'pending'." - enum: - - draft - - pending - example: draft - nullable: false - quantity: - description: The stock reservation quantity. - example: 4 - nullable: false - expires_at: - description: The expiration date/time of this stock reservation. - example: 2018-01-02T12:00:00.000Z - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - line_item: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - line_item - id: - description: The resource ID - order: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - order - id: - description: The resource ID - stock_line_item: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - stock_line_item - id: - description: The resource ID - stock_transfer: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - stock_transfer - id: - description: The resource ID - stock_item: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - stock_item - id: - description: The resource ID - reserved_stock: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - reserved_stock - id: - description: The resource ID - sku: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - sku - id: - description: The resource ID - POST_stock_reservations_201_response_data_attributes: - properties: - quantity: - description: The stock reservation quantity. - example: 4 - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - quantity - POST_stock_reservations_201_response_data_relationships_stock_transfer_data: - properties: - type: - description: The resource's type - enum: - - stock_transfer - id: - description: The resource ID - POST_stock_reservations_201_response_data_relationships_stock_transfer: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_stock_reservations_201_response_data_relationships_stock_transfer_data' - POST_stock_reservations_201_response_data_relationships: - properties: - line_item: - $ref: '#/components/schemas/POST_line_item_options_201_response_data_relationships_line_item' - order: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_order' - stock_line_item: - $ref: '#/components/schemas/POST_parcel_line_items_201_response_data_relationships_stock_line_item' - stock_transfer: - $ref: '#/components/schemas/POST_stock_reservations_201_response_data_relationships_stock_transfer' - stock_item: - $ref: '#/components/schemas/GET_reserved_stocks_reservedStockId_200_response_data_relationships_stock_item' - reserved_stock: - $ref: '#/components/schemas/POST_stock_items_201_response_data_relationships_reserved_stock' - sku: - $ref: '#/components/schemas/POST_in_stock_subscriptions_201_response_data_relationships_sku' - POST_stock_reservations_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - stock_reservations - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_stock_reservations_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_stock_reservations_201_response_data_relationships' - POST_stock_reservations_201_response: - properties: - data: - $ref: '#/components/schemas/POST_stock_reservations_201_response_data' - GET_stock_reservations_stockReservationId_200_response_data_attributes: - properties: - status: - description: "The stock reservation status. One of 'draft' (default), or\ - \ 'pending'." - enum: - - draft - - pending - example: draft - nullable: false - quantity: - description: The stock reservation quantity. - example: 4 - nullable: false - expires_at: - description: The expiration date/time of this stock reservation. - example: 2018-01-02T12:00:00.000Z - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_stock_reservations_stockReservationId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - stock_reservations - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_stock_reservations_stockReservationId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_stock_reservations_201_response_data_relationships' - GET_stock_reservations_stockReservationId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_stock_reservations_stockReservationId_200_response_data' - PATCH_stock_reservations_stockReservationId_200_response_data_attributes: - properties: - quantity: - description: The stock reservation quantity. - example: 4 - nullable: false - _pending: - description: Send this attribute if you want to mark this stock reservation - as pending. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_stock_reservations_stockReservationId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - stock_reservations - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_stock_reservations_stockReservationId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_stock_reservations_201_response_data_relationships' - PATCH_stock_reservations_stockReservationId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_stock_reservations_stockReservationId_200_response_data' - GET_stock_transfers_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - stock_transfers - links: - properties: - self: - description: URL - attributes: - properties: - number: - description: Unique identifier for the stock transfer (numeric). - example: "1234" - nullable: true - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - status: - description: "The stock transfer status. One of 'draft' (default),\ - \ 'upcoming', 'on_hold', 'picking', 'in_transit', 'completed',\ - \ or 'cancelled'." - enum: - - draft - - upcoming - - on_hold - - picking - - in_transit - - completed - - cancelled - example: draft - nullable: false - quantity: - description: The stock quantity to be transferred from the origin - stock location to destination one. - example: 2 - nullable: false - on_hold_at: - description: Time at which the stock transfer was put on hold. - example: 2018-01-01T12:00:00.000Z - nullable: true - picking_at: - description: Time at which the stock transfer was picking. - example: 2018-01-01T12:00:00.000Z - nullable: true - in_transit_at: - description: Time at which the stock transfer was in transit. - example: 2018-01-01T12:00:00.000Z - nullable: true - completed_at: - description: Time at which the stock transfer was completed. - example: 2018-01-01T12:00:00.000Z - nullable: true - cancelled_at: - description: Time at which the stock transfer was cancelled. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - sku: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - sku - id: - description: The resource ID - origin_stock_location: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - origin_stock_location - id: - description: The resource ID - destination_stock_location: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - destination_stock_location - id: - description: The resource ID - shipment: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - shipment - id: - description: The resource ID - line_item: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - line_item - id: - description: The resource ID - stock_reservation: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - stock_reservation - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_stock_transfers_201_response_data_attributes: - properties: - number: - description: Unique identifier for the stock transfer (numeric). - example: "1234" - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - quantity: - description: The stock quantity to be transferred from the origin stock - location to destination one. - example: 2 - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - quantity - POST_stock_transfers_201_response_data_relationships_origin_stock_location_data: - properties: - type: - description: The resource's type - enum: - - origin_stock_location - id: - description: The resource ID - POST_stock_transfers_201_response_data_relationships_origin_stock_location: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_stock_transfers_201_response_data_relationships_origin_stock_location_data' - POST_stock_transfers_201_response_data_relationships_destination_stock_location_data: - properties: - type: - description: The resource's type - enum: - - destination_stock_location - id: - description: The resource ID - POST_stock_transfers_201_response_data_relationships_destination_stock_location: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_stock_transfers_201_response_data_relationships_destination_stock_location_data' - POST_stock_transfers_201_response_data_relationships: - properties: - sku: - $ref: '#/components/schemas/POST_in_stock_subscriptions_201_response_data_relationships_sku' - origin_stock_location: - $ref: '#/components/schemas/POST_stock_transfers_201_response_data_relationships_origin_stock_location' - destination_stock_location: - $ref: '#/components/schemas/POST_stock_transfers_201_response_data_relationships_destination_stock_location' - shipment: - $ref: '#/components/schemas/POST_line_items_201_response_data_relationships_shipment' - line_item: - $ref: '#/components/schemas/POST_line_item_options_201_response_data_relationships_line_item' - stock_reservation: - $ref: '#/components/schemas/POST_stock_line_items_201_response_data_relationships_stock_reservation' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_stock_transfers_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - stock_transfers - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_stock_transfers_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_stock_transfers_201_response_data_relationships' - POST_stock_transfers_201_response: - properties: - data: - $ref: '#/components/schemas/POST_stock_transfers_201_response_data' - GET_stock_transfers_stockTransferId_200_response_data_attributes: - properties: - number: - description: Unique identifier for the stock transfer (numeric). - example: "1234" - nullable: true - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - status: - description: "The stock transfer status. One of 'draft' (default), 'upcoming',\ - \ 'on_hold', 'picking', 'in_transit', 'completed', or 'cancelled'." - enum: - - draft - - upcoming - - on_hold - - picking - - in_transit - - completed - - cancelled - example: draft - nullable: false - quantity: - description: The stock quantity to be transferred from the origin stock - location to destination one. - example: 2 - nullable: false - on_hold_at: - description: Time at which the stock transfer was put on hold. - example: 2018-01-01T12:00:00.000Z - nullable: true - picking_at: - description: Time at which the stock transfer was picking. - example: 2018-01-01T12:00:00.000Z - nullable: true - in_transit_at: - description: Time at which the stock transfer was in transit. - example: 2018-01-01T12:00:00.000Z - nullable: true - completed_at: - description: Time at which the stock transfer was completed. - example: 2018-01-01T12:00:00.000Z - nullable: true - cancelled_at: - description: Time at which the stock transfer was cancelled. - example: 2018-01-01T12:00:00.000Z - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_stock_transfers_stockTransferId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - stock_transfers - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_stock_transfers_stockTransferId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_stock_transfers_201_response_data_relationships' - GET_stock_transfers_stockTransferId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_stock_transfers_stockTransferId_200_response_data' - PATCH_stock_transfers_stockTransferId_200_response_data_attributes: - properties: - number: - description: Unique identifier for the stock transfer (numeric). - example: "1234" - nullable: true - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - _upcoming: - description: Send this attribute if you want to mark this stock transfer - as upcoming. - example: true - nullable: false - _on_hold: - description: Send this attribute if you want to put this stock transfer - on hold. - example: true - nullable: false - _picking: - description: Send this attribute if you want to start picking this stock - transfer. - example: true - nullable: false - _in_transit: - description: Send this attribute if you want to mark this stock transfer - as in transit. - example: true - nullable: false - _complete: - description: Send this attribute if you want to complete this stock transfer. - example: true - nullable: false - _cancel: - description: Send this attribute if you want to cancel this stock transfer. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_stock_transfers_stockTransferId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - stock_transfers - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_stock_transfers_stockTransferId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_stock_transfers_201_response_data_relationships' - PATCH_stock_transfers_stockTransferId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_stock_transfers_stockTransferId_200_response_data' - GET_stripe_gateways_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - stripe_gateways - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - connected_account: - description: The account (if any) for which the funds of the PaymentIntent - are intended. - example: xxxx-yyyy-zzzz - nullable: true - auto_payments: - description: Indicates if the gateway will accept payment methods - enabled in the Stripe dashboard. - example: true - nullable: true - webhook_endpoint_id: - description: "The gateway webhook endpoint ID, generated automatically." - example: xxxx-yyyy-zzzz - nullable: true - webhook_endpoint_secret: - description: "The gateway webhook endpoint secret, generated automatically." - example: xxxx-yyyy-zzzz - nullable: true - webhook_endpoint_url: - description: "The gateway webhook URL, generated automatically." - example: https://core.commercelayer.co/webhook_callbacks/stripe_gateways/xxxxx - nullable: true - relationships: - properties: - payment_methods: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - payment_methods - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - stripe_payments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - stripe_payments - id: - description: The resource ID - POST_stripe_gateways_201_response_data_attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - login: - description: The gateway login. - example: sk_live_xxxx-yyyy-zzzz - publishable_key: - description: The gateway publishable API key. - example: pk_live_xxxx-yyyy-zzzz - connected_account: - description: The account (if any) for which the funds of the PaymentIntent - are intended. - example: xxxx-yyyy-zzzz - auto_payments: - description: Indicates if the gateway will accept payment methods enabled - in the Stripe dashboard. - example: true - required: - - login - - name - POST_stripe_gateways_201_response_data_relationships_stripe_payments_data: - properties: - type: - description: The resource's type - enum: - - stripe_payments - id: - description: The resource ID - POST_stripe_gateways_201_response_data_relationships_stripe_payments: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_stripe_gateways_201_response_data_relationships_stripe_payments_data' - POST_stripe_gateways_201_response_data_relationships: - properties: - payment_methods: - $ref: '#/components/schemas/POST_adyen_gateways_201_response_data_relationships_payment_methods' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - stripe_payments: - $ref: '#/components/schemas/POST_stripe_gateways_201_response_data_relationships_stripe_payments' - POST_stripe_gateways_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - stripe_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_stripe_gateways_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_stripe_gateways_201_response_data_relationships' - POST_stripe_gateways_201_response: - properties: - data: - $ref: '#/components/schemas/POST_stripe_gateways_201_response_data' - GET_stripe_gateways_stripeGatewayId_200_response_data_attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - connected_account: - description: The account (if any) for which the funds of the PaymentIntent - are intended. - example: xxxx-yyyy-zzzz - nullable: true - auto_payments: - description: Indicates if the gateway will accept payment methods enabled - in the Stripe dashboard. - example: true - nullable: true - webhook_endpoint_id: - description: "The gateway webhook endpoint ID, generated automatically." - example: xxxx-yyyy-zzzz - nullable: true - webhook_endpoint_secret: - description: "The gateway webhook endpoint secret, generated automatically." - example: xxxx-yyyy-zzzz - nullable: true - webhook_endpoint_url: - description: "The gateway webhook URL, generated automatically." - example: https://core.commercelayer.co/webhook_callbacks/stripe_gateways/xxxxx - nullable: true - GET_stripe_gateways_stripeGatewayId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - stripe_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_stripe_gateways_stripeGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_stripe_gateways_201_response_data_relationships' - GET_stripe_gateways_stripeGatewayId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_stripe_gateways_stripeGatewayId_200_response_data' - PATCH_stripe_gateways_stripeGatewayId_200_response_data_attributes: - properties: - name: - description: The payment gateway's internal name. - example: US payment gateway - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - connected_account: - description: The account (if any) for which the funds of the PaymentIntent - are intended. - example: xxxx-yyyy-zzzz - nullable: true - auto_payments: - description: Indicates if the gateway will accept payment methods enabled - in the Stripe dashboard. - example: true - nullable: false - PATCH_stripe_gateways_stripeGatewayId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - stripe_gateways - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_stripe_gateways_stripeGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_stripe_gateways_201_response_data_relationships' - PATCH_stripe_gateways_stripeGatewayId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_stripe_gateways_stripeGatewayId_200_response_data' - GET_stripe_payments_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - stripe_payments - links: - properties: - self: - description: URL - attributes: - properties: - stripe_id: - description: The Stripe payment intent ID. Required to identify - a payment session on stripe. - example: pi_1234XXX - nullable: true - client_secret: - description: The Stripe payment intent client secret. Required - to create a charge through Stripe.js. - example: pi_1234XXX_secret_5678YYY - nullable: true - charge_id: - description: The Stripe charge ID. Identifies money movement upon - the payment intent confirmation. - example: ch_1234XXX - nullable: true - publishable_key: - description: The Stripe publishable API key. - example: pk_live_xxxx-yyyy-zzzz - nullable: true - options: - description: "Stripe payment options: 'customer', 'payment_method',\ - \ 'return_url', etc. Check Stripe payment intent API for more\ - \ details." - example: - customer: cus_xxx - payment_method: pm_xxx - nullable: true - payment_method: - description: "Stripe 'payment_method', set by webhook." - example: - id: pm_xxx - nullable: true - mismatched_amounts: - description: Indicates if the order current amount differs form - the one of the created payment intent. - example: false - nullable: true - return_url: - description: The URL to return to when a redirect payment is completed. - example: https://yourdomain.com/thankyou - nullable: true - receipt_email: - description: The email address to send the receipt to. - example: john@example.com - nullable: true - payment_instrument: - description: Information about the payment instrument used in - the transaction. - example: - issuer: cl bank - card_type: visa - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - order: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_order' - payment_gateway: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_payment_gateway' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_stripe_payments_201_response_data_attributes: - properties: - stripe_id: - description: The Stripe payment intent ID. Required to identify a payment - session on stripe. - example: pi_1234XXX - client_secret: - description: The Stripe payment intent client secret. Required to create - a charge through Stripe.js. - example: pi_1234XXX_secret_5678YYY - options: - description: "Stripe payment options: 'customer', 'payment_method', 'return_url',\ - \ etc. Check Stripe payment intent API for more details." - example: - customer: cus_xxx - payment_method: pm_xxx - return_url: - description: The URL to return to when a redirect payment is completed. - example: https://yourdomain.com/thankyou - receipt_email: - description: The email address to send the receipt to. - example: john@example.com - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - POST_stripe_payments_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - stripe_payments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_stripe_payments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships' - POST_stripe_payments_201_response: - properties: - data: - $ref: '#/components/schemas/POST_stripe_payments_201_response_data' - GET_stripe_payments_stripePaymentId_200_response_data_attributes: - properties: - stripe_id: - description: The Stripe payment intent ID. Required to identify a payment - session on stripe. - example: pi_1234XXX - nullable: true - client_secret: - description: The Stripe payment intent client secret. Required to create - a charge through Stripe.js. - example: pi_1234XXX_secret_5678YYY - nullable: true - charge_id: - description: The Stripe charge ID. Identifies money movement upon the payment - intent confirmation. - example: ch_1234XXX - nullable: true - publishable_key: - description: The Stripe publishable API key. - example: pk_live_xxxx-yyyy-zzzz - nullable: true - options: - description: "Stripe payment options: 'customer', 'payment_method', 'return_url',\ - \ etc. Check Stripe payment intent API for more details." - example: - customer: cus_xxx - payment_method: pm_xxx - nullable: true - payment_method: - description: "Stripe 'payment_method', set by webhook." - example: - id: pm_xxx - nullable: true - mismatched_amounts: - description: Indicates if the order current amount differs form the one - of the created payment intent. - example: false - nullable: true - return_url: - description: The URL to return to when a redirect payment is completed. - example: https://yourdomain.com/thankyou - nullable: true - receipt_email: - description: The email address to send the receipt to. - example: john@example.com - nullable: true - payment_instrument: - description: Information about the payment instrument used in the transaction. - example: - issuer: cl bank - card_type: visa - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_stripe_payments_stripePaymentId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - stripe_payments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_stripe_payments_stripePaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships' - GET_stripe_payments_stripePaymentId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_stripe_payments_stripePaymentId_200_response_data' - PATCH_stripe_payments_stripePaymentId_200_response_data_attributes: - properties: - options: - description: "Stripe payment options: 'customer', 'payment_method', 'return_url',\ - \ etc. Check Stripe payment intent API for more details." - example: - customer: cus_xxx - payment_method: pm_xxx - nullable: true - return_url: - description: The URL to return to when a redirect payment is completed. - example: https://yourdomain.com/thankyou - nullable: true - _update: - description: Send this attribute if you want to update the created payment - intent with fresh order data. - example: true - nullable: false - _refresh: - description: "Send this attribute if you want to refresh the payment status,\ - \ can be used as webhooks fallback logic." - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_stripe_payments_stripePaymentId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - stripe_payments - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_stripe_payments_stripePaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships' - PATCH_stripe_payments_stripePaymentId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_stripe_payments_stripePaymentId_200_response_data' - GET_subscription_models_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - subscription_models - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The subscription model's internal name. - example: EU Subscription Model - nullable: false - strategy: - description: "The subscription model's strategy used to generate\ - \ order subscriptions: one between 'by_frequency' (default)\ - \ and 'by_line_items'." - example: by_frequency - nullable: true - frequencies: - description: "An object that contains the frequencies available\ - \ for this subscription model. Supported ones are 'hourly',\ - \ 'daily', 'weekly', 'monthly', 'two-month', 'three-month',\ - \ 'four-month', 'six-month', 'yearly', or your custom crontab\ - \ expression (min unit is hour)." - example: - - hourly - - 10 * * * * - - weekly - - monthly - - two-month - items: {} - nullable: false - auto_activate: - description: "Indicates if the created subscriptions will be activated\ - \ considering the placed source order as its first run, default\ - \ to true." - example: true - nullable: true - auto_cancel: - description: "Indicates if the created subscriptions will be cancelled\ - \ in case the source order is cancelled, default to false." - example: false - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - markets: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - markets - id: - description: The resource ID - order_subscriptions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - order_subscriptions - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - POST_subscription_models_201_response_data_attributes: - properties: - name: - description: The subscription model's internal name. - example: EU Subscription Model - strategy: - description: "The subscription model's strategy used to generate order subscriptions:\ - \ one between 'by_frequency' (default) and 'by_line_items'." - example: by_frequency - frequencies: - description: "An object that contains the frequencies available for this\ - \ subscription model. Supported ones are 'hourly', 'daily', 'weekly',\ - \ 'monthly', 'two-month', 'three-month', 'four-month', 'six-month', 'yearly',\ - \ or your custom crontab expression (min unit is hour)." - example: - - hourly - - 10 * * * * - - weekly - - monthly - - two-month - items: {} - auto_activate: - description: "Indicates if the created subscriptions will be activated considering\ - \ the placed source order as its first run, default to true." - example: true - auto_cancel: - description: "Indicates if the created subscriptions will be cancelled in\ - \ case the source order is cancelled, default to false." - example: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - frequencies - - name - POST_subscription_models_201_response_data_relationships: - properties: - markets: - $ref: '#/components/schemas/POST_avalara_accounts_201_response_data_relationships_markets' - order_subscriptions: - $ref: '#/components/schemas/POST_customers_201_response_data_relationships_order_subscriptions' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - POST_subscription_models_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - subscription_models - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_subscription_models_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_subscription_models_201_response_data_relationships' - POST_subscription_models_201_response: - properties: - data: - $ref: '#/components/schemas/POST_subscription_models_201_response_data' - GET_subscription_models_subscriptionModelId_200_response_data_attributes: - properties: - name: - description: The subscription model's internal name. - example: EU Subscription Model - nullable: false - strategy: - description: "The subscription model's strategy used to generate order subscriptions:\ - \ one between 'by_frequency' (default) and 'by_line_items'." - example: by_frequency - nullable: true - frequencies: - description: "An object that contains the frequencies available for this\ - \ subscription model. Supported ones are 'hourly', 'daily', 'weekly',\ - \ 'monthly', 'two-month', 'three-month', 'four-month', 'six-month', 'yearly',\ - \ or your custom crontab expression (min unit is hour)." - example: - - hourly - - 10 * * * * - - weekly - - monthly - - two-month - items: {} - nullable: false - auto_activate: - description: "Indicates if the created subscriptions will be activated considering\ - \ the placed source order as its first run, default to true." - example: true - nullable: true - auto_cancel: - description: "Indicates if the created subscriptions will be cancelled in\ - \ case the source order is cancelled, default to false." - example: false - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_subscription_models_subscriptionModelId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - subscription_models - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_subscription_models_subscriptionModelId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_subscription_models_201_response_data_relationships' - GET_subscription_models_subscriptionModelId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_subscription_models_subscriptionModelId_200_response_data' - PATCH_subscription_models_subscriptionModelId_200_response_data_attributes: - properties: - name: - description: The subscription model's internal name. - example: EU Subscription Model - nullable: false - strategy: - description: "The subscription model's strategy used to generate order subscriptions:\ - \ one between 'by_frequency' (default) and 'by_line_items'." - example: by_frequency - nullable: true - frequencies: - description: "An object that contains the frequencies available for this\ - \ subscription model. Supported ones are 'hourly', 'daily', 'weekly',\ - \ 'monthly', 'two-month', 'three-month', 'four-month', 'six-month', 'yearly',\ - \ or your custom crontab expression (min unit is hour)." - example: - - hourly - - 10 * * * * - - weekly - - monthly - - two-month - items: {} - nullable: false - auto_activate: - description: "Indicates if the created subscriptions will be activated considering\ - \ the placed source order as its first run, default to true." - example: true - nullable: false - auto_cancel: - description: "Indicates if the created subscriptions will be cancelled in\ - \ case the source order is cancelled, default to false." - example: false - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_subscription_models_subscriptionModelId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - subscription_models - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_subscription_models_subscriptionModelId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_subscription_models_201_response_data_relationships' - PATCH_subscription_models_subscriptionModelId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_subscription_models_subscriptionModelId_200_response_data' - GET_tags_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - tags - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The tag name. - example: new_campaign - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: {} - POST_tags_201_response_data_attributes: - properties: - name: - description: The tag name. - example: new_campaign - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - name - POST_tags_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - tags - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_tags_201_response_data_attributes' - relationships: - properties: {} - POST_tags_201_response: - properties: - data: - $ref: '#/components/schemas/POST_tags_201_response_data' - GET_tags_tagId_200_response_data_attributes: - properties: - name: - description: The tag name. - example: new_campaign - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_tags_tagId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - tags - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_tags_tagId_200_response_data_attributes' - relationships: - properties: {} - GET_tags_tagId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_tags_tagId_200_response_data' - PATCH_tags_tagId_200_response_data_attributes: - properties: - name: - description: The tag name. - example: new_campaign - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_tags_tagId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - tags - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_tags_tagId_200_response_data_attributes' - relationships: - properties: {} - PATCH_tags_tagId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_tags_tagId_200_response_data' - GET_tax_calculators_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - tax_calculators - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The tax calculator's internal name. - example: Personal tax calculator - nullable: false - type: - description: The tax calculator's type. - enum: - - avalara_accounts - - taxjar_accounts - - manual_tax_calculators - - external_tax_calculators - example: avalara_accounts - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - markets: - $ref: '#/components/schemas/POST_avalara_accounts_201_response_data_relationships_markets' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - GET_tax_calculators_taxCalculatorId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - tax_calculators - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_manual_tax_calculators_manualTaxCalculatorId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_external_tax_calculators_201_response_data_relationships' - GET_tax_calculators_taxCalculatorId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_tax_calculators_taxCalculatorId_200_response_data' - GET_tax_categories_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - tax_categories - links: - properties: - self: - description: URL - attributes: - properties: - code: - description: "The tax category identifier code, specific for a\ - \ particular tax calculator." - example: "31000" - nullable: false - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - sku: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - sku - id: - description: The resource ID - tax_calculator: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - tax_calculator - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_tax_categories_201_response_data_attributes: - properties: - code: - description: "The tax category identifier code, specific for a particular\ - \ tax calculator." - example: "31000" - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - code - POST_tax_categories_201_response_data_relationships: - properties: - sku: - $ref: '#/components/schemas/POST_in_stock_subscriptions_201_response_data_relationships_sku' - tax_calculator: - $ref: '#/components/schemas/POST_markets_201_response_data_relationships_tax_calculator' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_tax_categories_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - tax_categories - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_tax_categories_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_tax_categories_201_response_data_relationships' - POST_tax_categories_201_response: - properties: - data: - $ref: '#/components/schemas/POST_tax_categories_201_response_data' - GET_tax_categories_taxCategoryId_200_response_data_attributes: - properties: - code: - description: "The tax category identifier code, specific for a particular\ - \ tax calculator." - example: "31000" - nullable: false - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_tax_categories_taxCategoryId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - tax_categories - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_tax_categories_taxCategoryId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_tax_categories_201_response_data_relationships' - GET_tax_categories_taxCategoryId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_tax_categories_taxCategoryId_200_response_data' - PATCH_tax_categories_taxCategoryId_200_response_data_attributes: - properties: - code: - description: "The tax category identifier code, specific for a particular\ - \ tax calculator." - example: "31000" - nullable: false - sku_code: - description: The code of the associated SKU. - example: TSHIRTMM000000FFFFFFXLXX - nullable: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_tax_categories_taxCategoryId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - tax_categories - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_tax_categories_taxCategoryId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_tax_categories_201_response_data_relationships' - PATCH_tax_categories_taxCategoryId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_tax_categories_taxCategoryId_200_response_data' - GET_tax_rules_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - tax_rules - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The tax rule internal name. - example: Fixed 22% - nullable: false - tax_rate: - description: The tax rate for this rule. - example: 0.22 - nullable: true - country_code_regex: - description: The regex that will be evaluated to match the shipping - address country code. - example: AT|BE|BG|CZ|DK|EE|DE|HU|LV|LT - nullable: true - not_country_code_regex: - description: The regex that will be evaluated as negative match - for the shipping address country code. - example: AT|BE|BG|CZ|DK|EE|DE - nullable: true - state_code_regex: - description: The regex that will be evaluated to match the shipping - address state code. - example: "A[KLRZ]|C[AOT]|D[CE]|FL" - nullable: true - not_state_code_regex: - description: The regex that will be evaluated as negative match - for the shipping address state code. - example: "A[KLRZ]|C[AOT]" - nullable: true - zip_code_regex: - description: The regex that will be evaluated to match the shipping - address zip code. - example: (?i)(JE1|JE2|JE3|JE4|JE5) - nullable: true - not_zip_code_regex: - description: The regex that will be evaluated as negative match - for the shipping zip country code. - example: (?i)(JE1|JE2|JE3) - nullable: true - freight_taxable: - description: Indicates if the freight is taxable. - example: false - nullable: true - payment_method_taxable: - description: Indicates if the payment method is taxable. - example: false - nullable: true - gift_card_taxable: - description: Indicates if gift cards are taxable. - example: false - nullable: true - adjustment_taxable: - description: Indicates if adjustemnts are taxable. - example: false - nullable: true - breakdown: - description: The breakdown for this tax rule (if calculated). - example: - "41": - tax_rate: 0.22 - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - manual_tax_calculator: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - manual_tax_calculator - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_tax_rules_201_response_data_attributes: - properties: - name: - description: The tax rule internal name. - example: Fixed 22% - tax_rate: - description: The tax rate for this rule. - example: 0.22 - country_code_regex: - description: The regex that will be evaluated to match the shipping address - country code. - example: AT|BE|BG|CZ|DK|EE|DE|HU|LV|LT - not_country_code_regex: - description: The regex that will be evaluated as negative match for the - shipping address country code. - example: AT|BE|BG|CZ|DK|EE|DE - state_code_regex: - description: The regex that will be evaluated to match the shipping address - state code. - example: "A[KLRZ]|C[AOT]|D[CE]|FL" - not_state_code_regex: - description: The regex that will be evaluated as negative match for the - shipping address state code. - example: "A[KLRZ]|C[AOT]" - zip_code_regex: - description: The regex that will be evaluated to match the shipping address - zip code. - example: (?i)(JE1|JE2|JE3|JE4|JE5) - not_zip_code_regex: - description: The regex that will be evaluated as negative match for the - shipping zip country code. - example: (?i)(JE1|JE2|JE3) - freight_taxable: - description: Indicates if the freight is taxable. - example: false - payment_method_taxable: - description: Indicates if the payment method is taxable. - example: false - gift_card_taxable: - description: Indicates if gift cards are taxable. - example: false - adjustment_taxable: - description: Indicates if adjustemnts are taxable. - example: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - name - POST_tax_rules_201_response_data_relationships_manual_tax_calculator_data: - properties: - type: - description: The resource's type - enum: - - manual_tax_calculator - id: - description: The resource ID - POST_tax_rules_201_response_data_relationships_manual_tax_calculator: - properties: - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_geocoder_links' - data: - $ref: '#/components/schemas/POST_tax_rules_201_response_data_relationships_manual_tax_calculator_data' - POST_tax_rules_201_response_data_relationships: - properties: - manual_tax_calculator: - $ref: '#/components/schemas/POST_tax_rules_201_response_data_relationships_manual_tax_calculator' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_tax_rules_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - tax_rules - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_tax_rules_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_tax_rules_201_response_data_relationships' - POST_tax_rules_201_response: - properties: - data: - $ref: '#/components/schemas/POST_tax_rules_201_response_data' - GET_tax_rules_taxRuleId_200_response_data_attributes: - properties: - name: - description: The tax rule internal name. - example: Fixed 22% - nullable: false - tax_rate: - description: The tax rate for this rule. - example: 0.22 - nullable: true - country_code_regex: - description: The regex that will be evaluated to match the shipping address - country code. - example: AT|BE|BG|CZ|DK|EE|DE|HU|LV|LT - nullable: true - not_country_code_regex: - description: The regex that will be evaluated as negative match for the - shipping address country code. - example: AT|BE|BG|CZ|DK|EE|DE - nullable: true - state_code_regex: - description: The regex that will be evaluated to match the shipping address - state code. - example: "A[KLRZ]|C[AOT]|D[CE]|FL" - nullable: true - not_state_code_regex: - description: The regex that will be evaluated as negative match for the - shipping address state code. - example: "A[KLRZ]|C[AOT]" - nullable: true - zip_code_regex: - description: The regex that will be evaluated to match the shipping address - zip code. - example: (?i)(JE1|JE2|JE3|JE4|JE5) - nullable: true - not_zip_code_regex: - description: The regex that will be evaluated as negative match for the - shipping zip country code. - example: (?i)(JE1|JE2|JE3) - nullable: true - freight_taxable: - description: Indicates if the freight is taxable. - example: false - nullable: true - payment_method_taxable: - description: Indicates if the payment method is taxable. - example: false - nullable: true - gift_card_taxable: - description: Indicates if gift cards are taxable. - example: false - nullable: true - adjustment_taxable: - description: Indicates if adjustemnts are taxable. - example: false - nullable: true - breakdown: - description: The breakdown for this tax rule (if calculated). - example: - "41": - tax_rate: 0.22 - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_tax_rules_taxRuleId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - tax_rules - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_tax_rules_taxRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_tax_rules_201_response_data_relationships' - GET_tax_rules_taxRuleId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_tax_rules_taxRuleId_200_response_data' - PATCH_tax_rules_taxRuleId_200_response_data_attributes: - properties: - name: - description: The tax rule internal name. - example: Fixed 22% - nullable: false - tax_rate: - description: The tax rate for this rule. - example: 0.22 - nullable: true - country_code_regex: - description: The regex that will be evaluated to match the shipping address - country code. - example: AT|BE|BG|CZ|DK|EE|DE|HU|LV|LT - nullable: true - not_country_code_regex: - description: The regex that will be evaluated as negative match for the - shipping address country code. - example: AT|BE|BG|CZ|DK|EE|DE - nullable: true - state_code_regex: - description: The regex that will be evaluated to match the shipping address - state code. - example: "A[KLRZ]|C[AOT]|D[CE]|FL" - nullable: true - not_state_code_regex: - description: The regex that will be evaluated as negative match for the - shipping address state code. - example: "A[KLRZ]|C[AOT]" - nullable: true - zip_code_regex: - description: The regex that will be evaluated to match the shipping address - zip code. - example: (?i)(JE1|JE2|JE3|JE4|JE5) - nullable: true - not_zip_code_regex: - description: The regex that will be evaluated as negative match for the - shipping zip country code. - example: (?i)(JE1|JE2|JE3) - nullable: true - freight_taxable: - description: Indicates if the freight is taxable. - example: false - nullable: false - payment_method_taxable: - description: Indicates if the payment method is taxable. - example: false - nullable: false - gift_card_taxable: - description: Indicates if gift cards are taxable. - example: false - nullable: false - adjustment_taxable: - description: Indicates if adjustemnts are taxable. - example: false - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_tax_rules_taxRuleId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - tax_rules - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_tax_rules_taxRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_tax_rules_201_response_data_relationships' - PATCH_tax_rules_taxRuleId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_tax_rules_taxRuleId_200_response_data' - GET_taxjar_accounts_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - taxjar_accounts - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: The tax calculator's internal name. - example: Personal tax calculator - nullable: false - type: - description: The tax calculator's type. - enum: - - avalara_accounts - - taxjar_accounts - - manual_tax_calculators - - external_tax_calculators - example: avalara_accounts - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - markets: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - markets - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - tax_categories: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - tax_categories - id: - description: The resource ID - POST_taxjar_accounts_201_response_data_attributes: - properties: - name: - description: The tax calculator's internal name. - example: Personal tax calculator - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - api_key: - description: The TaxJar account API key. - example: TAXJAR_API_KEY - required: - - api_key - - name - POST_taxjar_accounts_201_response_data_relationships: - properties: - markets: - $ref: '#/components/schemas/POST_avalara_accounts_201_response_data_relationships_markets' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - tax_categories: - $ref: '#/components/schemas/POST_avalara_accounts_201_response_data_relationships_tax_categories' - POST_taxjar_accounts_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - taxjar_accounts - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_taxjar_accounts_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_taxjar_accounts_201_response_data_relationships' - POST_taxjar_accounts_201_response: - properties: - data: - $ref: '#/components/schemas/POST_taxjar_accounts_201_response_data' - GET_taxjar_accounts_taxjarAccountId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - taxjar_accounts - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_manual_tax_calculators_manualTaxCalculatorId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_taxjar_accounts_201_response_data_relationships' - GET_taxjar_accounts_taxjarAccountId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_taxjar_accounts_taxjarAccountId_200_response_data' - PATCH_taxjar_accounts_taxjarAccountId_200_response_data_attributes: - properties: - name: - description: The tax calculator's internal name. - example: Personal tax calculator - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - api_key: - description: The TaxJar account API key. - example: TAXJAR_API_KEY - PATCH_taxjar_accounts_taxjarAccountId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - taxjar_accounts - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_taxjar_accounts_taxjarAccountId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_taxjar_accounts_201_response_data_relationships' - PATCH_taxjar_accounts_taxjarAccountId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_taxjar_accounts_taxjarAccountId_200_response_data' - GET_transactions_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - transactions - links: - properties: - self: - description: URL - attributes: - properties: - number: - description: "The transaction number, auto generated." - example: 42/T/001 - nullable: false - type: - description: The transaction's type. - enum: - - authorizations - - voids - - captures - - refunds - example: authorizations - nullable: false - currency_code: - description: "The international 3-letter currency code as defined\ - \ by the ISO 4217 standard, inherited from the associated order." - example: EUR - nullable: false - amount_cents: - description: "The transaction amount, in cents." - example: 1500 - nullable: false - amount_float: - description: "The transaction amount, float." - example: 15.0 - nullable: false - formatted_amount: - description: "The transaction amount, formatted." - example: "€15,00" - nullable: false - succeeded: - description: Indicates if the transaction is successful. - example: false - nullable: false - message: - description: The message returned by the payment gateway. - example: Accepted - nullable: true - error_code: - description: "The error code, if any, returned by the payment\ - \ gateway." - example: "00001" - nullable: true - error_detail: - description: "The error detail, if any, returned by the payment\ - \ gateway." - example: Already settled - nullable: true - token: - description: "The token identifying the transaction, returned\ - \ by the payment gateway." - example: xxxx-yyyy-zzzz - nullable: true - gateway_transaction_id: - description: "The ID identifying the transaction, returned by\ - \ the payment gateway." - example: xxxx-yyyy-zzzz - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - order: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - order - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - GET_transactions_transactionId_200_response_data_relationships: - properties: - order: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_order' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - GET_transactions_transactionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - transactions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_refunds_refundId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/GET_transactions_transactionId_200_response_data_relationships' - GET_transactions_transactionId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_transactions_transactionId_200_response_data' - GET_versions_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - versions - links: - properties: - self: - description: URL - attributes: - properties: - resource_type: - description: The type of the versioned resource. - example: orders - nullable: true - resource_id: - description: The versioned resource id. - example: PzdJhdLdYV - nullable: true - event: - description: The event which generates the version. - example: update - nullable: true - changes: - description: The object changes payload. - example: - status: - - draft - - placed - nullable: true - who: - description: Information about who triggered the change. - example: - application: - id: DNOPYiZYpn - kind: sales_channel - public: true - owner: - id: yQQrBhLBmQ - type: Customer - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: {} - GET_versions_versionId_200_response_data_attributes: - properties: - resource_type: - description: The type of the versioned resource. - example: orders - nullable: true - resource_id: - description: The versioned resource id. - example: PzdJhdLdYV - nullable: true - event: - description: The event which generates the version. - example: update - nullable: true - changes: - description: The object changes payload. - example: - status: - - draft - - placed - nullable: true - who: - description: Information about who triggered the change. - example: - application: - id: DNOPYiZYpn - kind: sales_channel - public: true - owner: - id: yQQrBhLBmQ - type: Customer - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_versions_versionId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - versions - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_versions_versionId_200_response_data_attributes' - relationships: - properties: {} - GET_versions_versionId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_versions_versionId_200_response_data' - GET_voids_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - voids - links: - properties: - self: - description: URL - attributes: - properties: - number: - description: "The transaction number, auto generated." - example: 42/T/001 - nullable: false - type: - description: The transaction's type. - enum: - - authorizations - - voids - - captures - - refunds - example: authorizations - nullable: false - currency_code: - description: "The international 3-letter currency code as defined\ - \ by the ISO 4217 standard, inherited from the associated order." - example: EUR - nullable: false - amount_cents: - description: "The transaction amount, in cents." - example: 1500 - nullable: false - amount_float: - description: "The transaction amount, float." - example: 15.0 - nullable: false - formatted_amount: - description: "The transaction amount, formatted." - example: "€15,00" - nullable: false - succeeded: - description: Indicates if the transaction is successful. - example: false - nullable: false - message: - description: The message returned by the payment gateway. - example: Accepted - nullable: true - error_code: - description: "The error code, if any, returned by the payment\ - \ gateway." - example: "00001" - nullable: true - error_detail: - description: "The error detail, if any, returned by the payment\ - \ gateway." - example: Already settled - nullable: true - token: - description: "The token identifying the transaction, returned\ - \ by the payment gateway." - example: xxxx-yyyy-zzzz - nullable: true - gateway_transaction_id: - description: "The ID identifying the transaction, returned by\ - \ the payment gateway." - example: xxxx-yyyy-zzzz - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - order: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - order - id: - description: The resource ID - attachments: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource ID - events: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - reference_authorization: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - reference_authorization - id: - description: The resource ID - GET_voids_voidId_200_response_data_relationships: - properties: - order: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_order' - attachments: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_relationships_attachments' - events: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_events' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - reference_authorization: - $ref: '#/components/schemas/GET_captures_captureId_200_response_data_relationships_reference_authorization' - GET_voids_voidId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - voids - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_refunds_refundId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/GET_voids_voidId_200_response_data_relationships' - GET_voids_voidId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_voids_voidId_200_response_data' - PATCH_voids_voidId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - voids - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_refunds_refundId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/GET_voids_voidId_200_response_data_relationships' - PATCH_voids_voidId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_voids_voidId_200_response_data' - GET_webhooks_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - webhooks - links: - properties: - self: - description: URL - attributes: - properties: - name: - description: Unique name for the webhook. - example: myorg-orders.place - nullable: true - topic: - description: The identifier of the resource/event that will trigger - the webhook. - example: orders.place - nullable: false - callback_url: - description: URI where the webhook subscription should send the - POST request when the event occurs. - example: https://yourapp.com/webhooks - nullable: false - include_resources: - description: List of related resources that should be included - in the webhook body. - example: - - customer - - shipping_address - - billing_address - items: {} - nullable: true - disabled_at: - description: Time at which this resource was disabled. - example: 2018-01-01T12:00:00.000Z - nullable: true - circuit_state: - description: "The circuit breaker state, by default it is 'closed'.\ - \ It can become 'open' once the number of consecutive failures\ - \ overlaps the specified threshold, in such case no further\ - \ calls to the failing callback are made." - example: closed - nullable: true - circuit_failure_count: - description: "The number of consecutive failures recorded by the\ - \ circuit breaker associated to this resource, will be reset\ - \ on first successful call to callback." - example: 5 - nullable: true - shared_secret: - description: The shared secret used to sign the external request - payload. - example: 1c0994cc4e996e8c6ee56a2198f66f3c - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - last_event_callbacks: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - last_event_callbacks - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_webhooks_201_response_data_attributes: - properties: - name: - description: Unique name for the webhook. - example: myorg-orders.place - topic: - description: The identifier of the resource/event that will trigger the - webhook. - example: orders.place - callback_url: - description: URI where the webhook subscription should send the POST request - when the event occurs. - example: https://yourapp.com/webhooks - include_resources: - description: List of related resources that should be included in the webhook - body. - example: - - customer - - shipping_address - - billing_address - items: {} - _disable: - description: Send this attribute if you want to mark this resource as disabled. - example: true - _enable: - description: Send this attribute if you want to mark this resource as enabled. - example: true - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - required: - - callback_url - - topic - POST_webhooks_201_response_data_relationships: - properties: - last_event_callbacks: - $ref: '#/components/schemas/GET_events_eventId_200_response_data_relationships_last_event_callbacks' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_webhooks_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - webhooks - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_webhooks_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_webhooks_201_response_data_relationships' - POST_webhooks_201_response: - properties: - data: - $ref: '#/components/schemas/POST_webhooks_201_response_data' - GET_webhooks_webhookId_200_response_data_attributes: - properties: - name: - description: Unique name for the webhook. - example: myorg-orders.place - nullable: true - topic: - description: The identifier of the resource/event that will trigger the - webhook. - example: orders.place - nullable: false - callback_url: - description: URI where the webhook subscription should send the POST request - when the event occurs. - example: https://yourapp.com/webhooks - nullable: false - include_resources: - description: List of related resources that should be included in the webhook - body. - example: - - customer - - shipping_address - - billing_address - items: {} - nullable: true - disabled_at: - description: Time at which this resource was disabled. - example: 2018-01-01T12:00:00.000Z - nullable: true - circuit_state: - description: "The circuit breaker state, by default it is 'closed'. It can\ - \ become 'open' once the number of consecutive failures overlaps the specified\ - \ threshold, in such case no further calls to the failing callback are\ - \ made." - example: closed - nullable: true - circuit_failure_count: - description: "The number of consecutive failures recorded by the circuit\ - \ breaker associated to this resource, will be reset on first successful\ - \ call to callback." - example: 5 - nullable: true - shared_secret: - description: The shared secret used to sign the external request payload. - example: 1c0994cc4e996e8c6ee56a2198f66f3c - nullable: false - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_webhooks_webhookId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - webhooks - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_webhooks_webhookId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_webhooks_201_response_data_relationships' - GET_webhooks_webhookId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_webhooks_webhookId_200_response_data' - PATCH_webhooks_webhookId_200_response_data_attributes: - properties: - name: - description: Unique name for the webhook. - example: myorg-orders.place - nullable: true - topic: - description: The identifier of the resource/event that will trigger the - webhook. - example: orders.place - nullable: false - callback_url: - description: URI where the webhook subscription should send the POST request - when the event occurs. - example: https://yourapp.com/webhooks - nullable: false - include_resources: - description: List of related resources that should be included in the webhook - body. - example: - - customer - - shipping_address - - billing_address - items: {} - nullable: true - _disable: - description: Send this attribute if you want to mark this resource as disabled. - example: true - nullable: false - _enable: - description: Send this attribute if you want to mark this resource as enabled. - example: true - nullable: false - _reset_circuit: - description: Send this attribute if you want to reset the circuit breaker - associated to this resource to 'closed' state and zero failures count. - Cannot be passed by sales channels. - example: true - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - PATCH_webhooks_webhookId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - webhooks - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_webhooks_webhookId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_webhooks_201_response_data_relationships' - PATCH_webhooks_webhookId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_webhooks_webhookId_200_response_data' - GET_wire_transfers_200_response: - properties: - data: - items: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - wire_transfers - links: - properties: - self: - description: URL - attributes: - properties: - payment_instrument: - description: Information about the payment instrument used in - the transaction. - example: - issuer: cl bank - card_type: visa - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier\ - \ to the resource. This can be useful for integrating the resource\ - \ to an external system, like an ERP, a marketing tool, a CRM,\ - \ or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines - the reference code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the - resource. This can be useful for storing additional information - about the resource in a structured format. - example: - foo: bar - nullable: true - relationships: - properties: - order: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - order - id: - description: The resource ID - versions: - properties: - links: - properties: - self: - description: URL - related: - description: URL - data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource ID - POST_wire_transfers_201_response_data_relationships: - properties: - order: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_relationships_order' - versions: - $ref: '#/components/schemas/POST_addresses_201_response_data_relationships_versions' - POST_wire_transfers_201_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - wire_transfers - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_wire_transfers_201_response_data_relationships' - POST_wire_transfers_201_response: - properties: - data: - $ref: '#/components/schemas/POST_wire_transfers_201_response_data' - GET_wire_transfers_wireTransferId_200_response_data_attributes: - properties: - payment_instrument: - description: Information about the payment instrument used in the transaction. - example: - issuer: cl bank - card_type: visa - nullable: true - created_at: - description: Time at which the resource was created. - example: 2018-01-01T12:00:00.000Z - nullable: false - updated_at: - description: Time at which the resource was last updated. - example: 2018-01-01T12:00:00.000Z - nullable: false - reference: - description: "A string that you can use to add any external identifier to\ - \ the resource. This can be useful for integrating the resource to an\ - \ external system, like an ERP, a marketing tool, a CRM, or whatever." - example: ANY-EXTERNAL-REFEFERNCE - nullable: true - reference_origin: - description: Any identifier of the third party system that defines the reference - code. - example: ANY-EXTERNAL-REFEFERNCE-ORIGIN - nullable: true - metadata: - description: Set of key-value pairs that you can attach to the resource. - This can be useful for storing additional information about the resource - in a structured format. - example: - foo: bar - nullable: true - GET_wire_transfers_wireTransferId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - wire_transfers - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/GET_wire_transfers_wireTransferId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_wire_transfers_201_response_data_relationships' - GET_wire_transfers_wireTransferId_200_response: - properties: - data: - $ref: '#/components/schemas/GET_wire_transfers_wireTransferId_200_response_data' - PATCH_wire_transfers_wireTransferId_200_response_data: - properties: - id: - description: The resource's id - example: XGZwpOSrWL - type: - description: The resource's type - enum: - - wire_transfers - links: - $ref: '#/components/schemas/POST_addresses_201_response_data_links' - attributes: - $ref: '#/components/schemas/PATCH_billing_info_validation_rules_billingInfoValidationRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/POST_wire_transfers_201_response_data_relationships' - PATCH_wire_transfers_wireTransferId_200_response: - properties: - data: - $ref: '#/components/schemas/PATCH_wire_transfers_wireTransferId_200_response_data' - address_data_relationships_geocoder_data: - properties: - type: - description: The resource's type - enum: - - geocoders - id: - description: The resource's id - example: XGZwpOSrWL - address_data_relationships_geocoder: - properties: - data: - $ref: '#/components/schemas/address_data_relationships_geocoder_data' - address_data_relationships_events_data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource's id - example: XGZwpOSrWL - address_data_relationships_events: - properties: - data: - $ref: '#/components/schemas/address_data_relationships_events_data' - address_data_relationships_tags_data: - properties: - type: - description: The resource's type - enum: - - tags - id: - description: The resource's id - example: XGZwpOSrWL - address_data_relationships_tags: - properties: - data: - $ref: '#/components/schemas/address_data_relationships_tags_data' - address_data_relationships_versions_data: - properties: - type: - description: The resource's type - enum: - - versions - id: - description: The resource's id - example: XGZwpOSrWL - address_data_relationships_versions: - properties: - data: - $ref: '#/components/schemas/address_data_relationships_versions_data' - address_data_relationships: - properties: - geocoder: - $ref: '#/components/schemas/address_data_relationships_geocoder' - events: - $ref: '#/components/schemas/address_data_relationships_events' - tags: - $ref: '#/components/schemas/address_data_relationships_tags' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - address_data: - properties: - type: - description: The resource's type - enum: - - addresses - attributes: - $ref: '#/components/schemas/GET_addresses_addressId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/address_data_relationships' - required: - - attributes - - type - addressCreate_data_relationships_geocoder: - properties: - data: - $ref: '#/components/schemas/address_data_relationships_geocoder_data' - required: - - data - addressCreate_data_relationships_tags: - properties: - data: - $ref: '#/components/schemas/address_data_relationships_tags_data' - required: - - data - addressCreate_data_relationships: - properties: - geocoder: - $ref: '#/components/schemas/addressCreate_data_relationships_geocoder' - tags: - $ref: '#/components/schemas/addressCreate_data_relationships_tags' - addressCreate_data: - properties: - type: - description: The resource's type - enum: - - addresses - attributes: - $ref: '#/components/schemas/POST_addresses_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/addressCreate_data_relationships' - required: - - attributes - - type - addressUpdate_data: - properties: - type: - description: The resource's type - enum: - - addresses - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_addresses_addressId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/addressCreate_data_relationships' - required: - - attributes - - id - - type - adjustment_data_relationships: - properties: - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - adjustment_data: - properties: - type: - description: The resource's type - enum: - - adjustments - attributes: - $ref: '#/components/schemas/GET_adjustments_adjustmentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/adjustment_data_relationships' - required: - - attributes - - type - adjustmentCreate_data: - properties: - type: - description: The resource's type - enum: - - adjustments - attributes: - $ref: '#/components/schemas/POST_adjustments_201_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - type - adjustmentUpdate_data: - properties: - type: - description: The resource's type - enum: - - adjustments - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_adjustments_adjustmentId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - adyenGateway_data_relationships_payment_methods_data: - properties: - type: - description: The resource's type - enum: - - payment_methods - id: - description: The resource's id - example: XGZwpOSrWL - adyenGateway_data_relationships_payment_methods: - properties: - data: - $ref: '#/components/schemas/adyenGateway_data_relationships_payment_methods_data' - adyenGateway_data_relationships_adyen_payments_data: - properties: - type: - description: The resource's type - enum: - - adyen_payments - id: - description: The resource's id - example: XGZwpOSrWL - adyenGateway_data_relationships_adyen_payments: - properties: - data: - $ref: '#/components/schemas/adyenGateway_data_relationships_adyen_payments_data' - adyenGateway_data_relationships: - properties: - payment_methods: - $ref: '#/components/schemas/adyenGateway_data_relationships_payment_methods' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - adyen_payments: - $ref: '#/components/schemas/adyenGateway_data_relationships_adyen_payments' - adyenGateway_data: - properties: - type: - description: The resource's type - enum: - - adyen_gateways - attributes: - $ref: '#/components/schemas/GET_adyen_gateways_adyenGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenGateway_data_relationships' - required: - - attributes - - type - adyenGatewayCreate_data_relationships_adyen_payments: - properties: - data: - $ref: '#/components/schemas/adyenGateway_data_relationships_adyen_payments_data' - required: - - data - adyenGatewayCreate_data_relationships: - properties: - adyen_payments: - $ref: '#/components/schemas/adyenGatewayCreate_data_relationships_adyen_payments' - adyenGatewayCreate_data: - properties: - type: - description: The resource's type - enum: - - adyen_gateways - attributes: - $ref: '#/components/schemas/POST_adyen_gateways_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenGatewayCreate_data_relationships' - required: - - attributes - - type - adyenGatewayUpdate_data: - properties: - type: - description: The resource's type - enum: - - adyen_gateways - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_adyen_gateways_adyenGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenGatewayCreate_data_relationships' - required: - - attributes - - id - - type - adyenPayment_data_relationships_order_data: - properties: - type: - description: The resource's type - enum: - - orders - id: - description: The resource's id - example: XGZwpOSrWL - adyenPayment_data_relationships_order: - properties: - data: - $ref: '#/components/schemas/adyenPayment_data_relationships_order_data' - adyenPayment_data_relationships_payment_gateway_data: - properties: - type: - description: The resource's type - enum: - - payment_gateways - id: - description: The resource's id - example: XGZwpOSrWL - adyenPayment_data_relationships_payment_gateway: - properties: - data: - $ref: '#/components/schemas/adyenPayment_data_relationships_payment_gateway_data' - adyenPayment_data_relationships: - properties: - order: - $ref: '#/components/schemas/adyenPayment_data_relationships_order' - payment_gateway: - $ref: '#/components/schemas/adyenPayment_data_relationships_payment_gateway' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - adyenPayment_data: - properties: - type: - description: The resource's type - enum: - - adyen_payments - attributes: - $ref: '#/components/schemas/GET_adyen_payments_adyenPaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenPayment_data_relationships' - required: - - attributes - - type - adyenPaymentCreate_data_relationships_order: - properties: - data: - $ref: '#/components/schemas/adyenPayment_data_relationships_order_data' - required: - - data - adyenPaymentCreate_data_relationships: - properties: - order: - $ref: '#/components/schemas/adyenPaymentCreate_data_relationships_order' - required: - - order - adyenPaymentCreate_data: - properties: - type: - description: The resource's type - enum: - - adyen_payments - attributes: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenPaymentCreate_data_relationships' - required: - - attributes - - type - adyenPaymentUpdate_data_relationships: - properties: - order: - $ref: '#/components/schemas/adyenPaymentCreate_data_relationships_order' - adyenPaymentUpdate_data: - properties: - type: - description: The resource's type - enum: - - adyen_payments - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_adyen_payments_adyenPaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenPaymentUpdate_data_relationships' - required: - - attributes - - id - - type - application_data: - properties: - type: - description: The resource's type - enum: - - application - attributes: - $ref: '#/components/schemas/GET_application_applicationId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - type - attachment_data_relationships_attachable_data: - properties: - type: - description: The resource's type - enum: - - geocoders - - price_lists - - payment_methods - - markets - - customer_groups - - orders - - transactions - - promotions - - tax_calculators - - tax_categories - - skus - - shipping_categories - - bundles - - sku_lists - - stock_items - - stock_locations - - returns - - carrier_accounts - - coupon_recipients - - customers - - delivery_lead_times - - shipping_methods - - gift_card_recipients - - gift_cards - - inventory_models - - stock_transfers - - sku_options - - merchants - - subscription_models - - shipments - - payment_options - - packages - - parcels - - prices - - price_tiers - - shipping_method_tiers - - shipping_zones - id: - description: The resource's id - example: XGZwpOSrWL - attachment_data_relationships_attachable: - oneOf: - - $ref: '#/components/schemas/geocoder' - - $ref: '#/components/schemas/priceList' - - $ref: '#/components/schemas/paymentMethod' - - $ref: '#/components/schemas/market' - - $ref: '#/components/schemas/customerGroup' - - $ref: '#/components/schemas/order' - - $ref: '#/components/schemas/transaction' - - $ref: '#/components/schemas/promotion' - - $ref: '#/components/schemas/taxCalculator' - - $ref: '#/components/schemas/taxCategory' - - $ref: '#/components/schemas/sku' - - $ref: '#/components/schemas/shippingCategory' - - $ref: '#/components/schemas/bundle' - - $ref: '#/components/schemas/skuList' - - $ref: '#/components/schemas/stockItem' - - $ref: '#/components/schemas/stockLocation' - - $ref: '#/components/schemas/return' - - $ref: '#/components/schemas/carrierAccount' - - $ref: '#/components/schemas/couponRecipient' - - $ref: '#/components/schemas/customer' - - $ref: '#/components/schemas/deliveryLeadTime' - - $ref: '#/components/schemas/shippingMethod' - - $ref: '#/components/schemas/giftCardRecipient' - - $ref: '#/components/schemas/giftCard' - - $ref: '#/components/schemas/inventoryModel' - - $ref: '#/components/schemas/stockTransfer' - - $ref: '#/components/schemas/skuOption' - - $ref: '#/components/schemas/merchant' - - $ref: '#/components/schemas/subscriptionModel' - - $ref: '#/components/schemas/shipment' - - $ref: '#/components/schemas/paymentOption' - - $ref: '#/components/schemas/package' - - $ref: '#/components/schemas/parcel' - - $ref: '#/components/schemas/price' - - $ref: '#/components/schemas/priceTier' - - $ref: '#/components/schemas/shippingMethodTier' - - $ref: '#/components/schemas/shippingZone' - properties: - data: - $ref: '#/components/schemas/attachment_data_relationships_attachable_data' - attachment_data_relationships: - properties: - attachable: - $ref: '#/components/schemas/attachment_data_relationships_attachable' - attachment_data: - properties: - type: - description: The resource's type - enum: - - attachments - attributes: - $ref: '#/components/schemas/GET_attachments_attachmentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/attachment_data_relationships' - required: - - attributes - - type - attachmentCreate_data_relationships_attachable: - oneOf: - - $ref: '#/components/schemas/geocoder' - - $ref: '#/components/schemas/priceList' - - $ref: '#/components/schemas/paymentMethod' - - $ref: '#/components/schemas/market' - - $ref: '#/components/schemas/customerGroup' - - $ref: '#/components/schemas/order' - - $ref: '#/components/schemas/transaction' - - $ref: '#/components/schemas/promotion' - - $ref: '#/components/schemas/taxCalculator' - - $ref: '#/components/schemas/taxCategory' - - $ref: '#/components/schemas/sku' - - $ref: '#/components/schemas/shippingCategory' - - $ref: '#/components/schemas/bundle' - - $ref: '#/components/schemas/skuList' - - $ref: '#/components/schemas/stockItem' - - $ref: '#/components/schemas/stockLocation' - - $ref: '#/components/schemas/return' - - $ref: '#/components/schemas/carrierAccount' - - $ref: '#/components/schemas/couponRecipient' - - $ref: '#/components/schemas/customer' - - $ref: '#/components/schemas/deliveryLeadTime' - - $ref: '#/components/schemas/shippingMethod' - - $ref: '#/components/schemas/giftCardRecipient' - - $ref: '#/components/schemas/giftCard' - - $ref: '#/components/schemas/inventoryModel' - - $ref: '#/components/schemas/stockTransfer' - - $ref: '#/components/schemas/skuOption' - - $ref: '#/components/schemas/merchant' - - $ref: '#/components/schemas/subscriptionModel' - - $ref: '#/components/schemas/shipment' - - $ref: '#/components/schemas/paymentOption' - - $ref: '#/components/schemas/package' - - $ref: '#/components/schemas/parcel' - - $ref: '#/components/schemas/price' - - $ref: '#/components/schemas/priceTier' - - $ref: '#/components/schemas/shippingMethodTier' - - $ref: '#/components/schemas/shippingZone' - properties: - data: - $ref: '#/components/schemas/attachment_data_relationships_attachable_data' - required: - - data - attachmentCreate_data_relationships: - properties: - attachable: - $ref: '#/components/schemas/attachmentCreate_data_relationships_attachable' - required: - - attachable - attachmentCreate_data: - properties: - type: - description: The resource's type - enum: - - attachments - attributes: - $ref: '#/components/schemas/POST_attachments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/attachmentCreate_data_relationships' - required: - - attributes - - type - attachmentUpdate_data_relationships: - properties: - attachable: - $ref: '#/components/schemas/attachmentCreate_data_relationships_attachable' - attachmentUpdate_data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_attachments_attachmentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/attachmentUpdate_data_relationships' - required: - - attributes - - id - - type - authorization_data_relationships_attachments_data: - properties: - type: - description: The resource's type - enum: - - attachments - id: - description: The resource's id - example: XGZwpOSrWL - authorization_data_relationships_attachments: - properties: - data: - $ref: '#/components/schemas/authorization_data_relationships_attachments_data' - authorization_data_relationships_captures_data: - properties: - type: - description: The resource's type - enum: - - captures - id: - description: The resource's id - example: XGZwpOSrWL - authorization_data_relationships_captures: - properties: - data: - $ref: '#/components/schemas/authorization_data_relationships_captures_data' - authorization_data_relationships_voids_data: - properties: - type: - description: The resource's type - enum: - - voids - id: - description: The resource's id - example: XGZwpOSrWL - authorization_data_relationships_voids: - properties: - data: - $ref: '#/components/schemas/authorization_data_relationships_voids_data' - authorization_data_relationships: - properties: - order: - $ref: '#/components/schemas/adyenPayment_data_relationships_order' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - events: - $ref: '#/components/schemas/address_data_relationships_events' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - captures: - $ref: '#/components/schemas/authorization_data_relationships_captures' - voids: - $ref: '#/components/schemas/authorization_data_relationships_voids' - authorization_data: - properties: - type: - description: The resource's type - enum: - - authorizations - attributes: - $ref: '#/components/schemas/GET_authorizations_authorizationId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/authorization_data_relationships' - required: - - attributes - - type - authorizationUpdate_data: - properties: - type: - description: The resource's type - enum: - - authorizations - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_authorizations_authorizationId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - avalaraAccount_data_relationships_markets_data: - properties: - type: - description: The resource's type - enum: - - markets - id: - description: The resource's id - example: XGZwpOSrWL - avalaraAccount_data_relationships_markets: - properties: - data: - $ref: '#/components/schemas/avalaraAccount_data_relationships_markets_data' - avalaraAccount_data_relationships_tax_categories_data: - properties: - type: - description: The resource's type - enum: - - tax_categories - id: - description: The resource's id - example: XGZwpOSrWL - avalaraAccount_data_relationships_tax_categories: - properties: - data: - $ref: '#/components/schemas/avalaraAccount_data_relationships_tax_categories_data' - avalaraAccount_data_relationships: - properties: - markets: - $ref: '#/components/schemas/avalaraAccount_data_relationships_markets' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - tax_categories: - $ref: '#/components/schemas/avalaraAccount_data_relationships_tax_categories' - events: - $ref: '#/components/schemas/address_data_relationships_events' - avalaraAccount_data: - properties: - type: - description: The resource's type - enum: - - avalara_accounts - attributes: - $ref: '#/components/schemas/GET_avalara_accounts_avalaraAccountId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/avalaraAccount_data_relationships' - required: - - attributes - - type - avalaraAccountCreate_data_relationships_tax_categories: - properties: - data: - $ref: '#/components/schemas/avalaraAccount_data_relationships_tax_categories_data' - required: - - data - avalaraAccountCreate_data_relationships: - properties: - tax_categories: - $ref: '#/components/schemas/avalaraAccountCreate_data_relationships_tax_categories' - avalaraAccountCreate_data: - properties: - type: - description: The resource's type - enum: - - avalara_accounts - attributes: - $ref: '#/components/schemas/POST_avalara_accounts_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/avalaraAccountCreate_data_relationships' - required: - - attributes - - type - avalaraAccountUpdate_data: - properties: - type: - description: The resource's type - enum: - - avalara_accounts - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_avalara_accounts_avalaraAccountId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/avalaraAccountCreate_data_relationships' - required: - - attributes - - id - - type - axerveGateway_data_relationships_axerve_payments_data: - properties: - type: - description: The resource's type - enum: - - axerve_payments - id: - description: The resource's id - example: XGZwpOSrWL - axerveGateway_data_relationships_axerve_payments: - properties: - data: - $ref: '#/components/schemas/axerveGateway_data_relationships_axerve_payments_data' - axerveGateway_data_relationships: - properties: - payment_methods: - $ref: '#/components/schemas/adyenGateway_data_relationships_payment_methods' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - axerve_payments: - $ref: '#/components/schemas/axerveGateway_data_relationships_axerve_payments' - axerveGateway_data: - properties: - type: - description: The resource's type - enum: - - axerve_gateways - attributes: - $ref: '#/components/schemas/GET_axerve_gateways_axerveGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/axerveGateway_data_relationships' - required: - - attributes - - type - axerveGatewayCreate_data_relationships_axerve_payments: - properties: - data: - $ref: '#/components/schemas/axerveGateway_data_relationships_axerve_payments_data' - required: - - data - axerveGatewayCreate_data_relationships: - properties: - axerve_payments: - $ref: '#/components/schemas/axerveGatewayCreate_data_relationships_axerve_payments' - axerveGatewayCreate_data: - properties: - type: - description: The resource's type - enum: - - axerve_gateways - attributes: - $ref: '#/components/schemas/POST_axerve_gateways_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/axerveGatewayCreate_data_relationships' - required: - - attributes - - type - axerveGatewayUpdate_data: - properties: - type: - description: The resource's type - enum: - - axerve_gateways - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_axerve_gateways_axerveGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/axerveGatewayCreate_data_relationships' - required: - - attributes - - id - - type - axervePayment_data: - properties: - type: - description: The resource's type - enum: - - axerve_payments - attributes: - $ref: '#/components/schemas/GET_axerve_payments_axervePaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenPayment_data_relationships' - required: - - attributes - - type - axervePaymentCreate_data: - properties: - type: - description: The resource's type - enum: - - axerve_payments - attributes: - $ref: '#/components/schemas/POST_axerve_payments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenPaymentCreate_data_relationships' - required: - - attributes - - type - axervePaymentUpdate_data: - properties: - type: - description: The resource's type - enum: - - axerve_payments - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_axerve_payments_axervePaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenPaymentUpdate_data_relationships' - required: - - attributes - - id - - type - billingInfoValidationRule_data_relationships: - properties: - market: - $ref: '#/components/schemas/avalaraAccount_data_relationships_markets' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - billingInfoValidationRule_data: - properties: - type: - description: The resource's type - enum: - - billing_info_validation_rules - attributes: - $ref: '#/components/schemas/GET_billing_info_validation_rules_billingInfoValidationRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/billingInfoValidationRule_data_relationships' - required: - - attributes - - type - billingInfoValidationRuleCreate_data_relationships_market: - properties: - data: - $ref: '#/components/schemas/avalaraAccount_data_relationships_markets_data' - required: - - data - billingInfoValidationRuleCreate_data_relationships: - properties: - market: - $ref: '#/components/schemas/billingInfoValidationRuleCreate_data_relationships_market' - required: - - market - billingInfoValidationRuleCreate_data: - properties: - type: - description: The resource's type - enum: - - billing_info_validation_rules - attributes: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/billingInfoValidationRuleCreate_data_relationships' - required: - - attributes - - type - billingInfoValidationRuleUpdate_data_relationships: - properties: - market: - $ref: '#/components/schemas/billingInfoValidationRuleCreate_data_relationships_market' - billingInfoValidationRuleUpdate_data: - properties: - type: - description: The resource's type - enum: - - billing_info_validation_rules - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_billing_info_validation_rules_billingInfoValidationRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/billingInfoValidationRuleUpdate_data_relationships' - required: - - attributes - - id - - type - bingGeocoder_data_relationships_addresses_data: - properties: - type: - description: The resource's type - enum: - - addresses - id: - description: The resource's id - example: XGZwpOSrWL - bingGeocoder_data_relationships_addresses: - properties: - data: - $ref: '#/components/schemas/bingGeocoder_data_relationships_addresses_data' - bingGeocoder_data_relationships: - properties: - markets: - $ref: '#/components/schemas/avalaraAccount_data_relationships_markets' - addresses: - $ref: '#/components/schemas/bingGeocoder_data_relationships_addresses' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - bingGeocoder_data: - properties: - type: - description: The resource's type - enum: - - bing_geocoders - attributes: - $ref: '#/components/schemas/GET_bing_geocoders_bingGeocoderId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/bingGeocoder_data_relationships' - required: - - attributes - - type - bingGeocoderCreate_data: - properties: - type: - description: The resource's type - enum: - - bing_geocoders - attributes: - $ref: '#/components/schemas/POST_bing_geocoders_201_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - type - bingGeocoderUpdate_data: - properties: - type: - description: The resource's type - enum: - - bing_geocoders - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_bing_geocoders_bingGeocoderId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - braintreeGateway_data_relationships_braintree_payments_data: - properties: - type: - description: The resource's type - enum: - - braintree_payments - id: - description: The resource's id - example: XGZwpOSrWL - braintreeGateway_data_relationships_braintree_payments: - properties: - data: - $ref: '#/components/schemas/braintreeGateway_data_relationships_braintree_payments_data' - braintreeGateway_data_relationships: - properties: - payment_methods: - $ref: '#/components/schemas/adyenGateway_data_relationships_payment_methods' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - braintree_payments: - $ref: '#/components/schemas/braintreeGateway_data_relationships_braintree_payments' - braintreeGateway_data: - properties: - type: - description: The resource's type - enum: - - braintree_gateways - attributes: - $ref: '#/components/schemas/GET_braintree_gateways_braintreeGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/braintreeGateway_data_relationships' - required: - - attributes - - type - braintreeGatewayCreate_data_relationships_braintree_payments: - properties: - data: - $ref: '#/components/schemas/braintreeGateway_data_relationships_braintree_payments_data' - required: - - data - braintreeGatewayCreate_data_relationships: - properties: - braintree_payments: - $ref: '#/components/schemas/braintreeGatewayCreate_data_relationships_braintree_payments' - braintreeGatewayCreate_data: - properties: - type: - description: The resource's type - enum: - - braintree_gateways - attributes: - $ref: '#/components/schemas/POST_braintree_gateways_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/braintreeGatewayCreate_data_relationships' - required: - - attributes - - type - braintreeGatewayUpdate_data: - properties: - type: - description: The resource's type - enum: - - braintree_gateways - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_braintree_gateways_braintreeGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/braintreeGatewayCreate_data_relationships' - required: - - attributes - - id - - type - braintreePayment_data: - properties: - type: - description: The resource's type - enum: - - braintree_payments - attributes: - $ref: '#/components/schemas/GET_braintree_payments_braintreePaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenPayment_data_relationships' - required: - - attributes - - type - braintreePaymentCreate_data: - properties: - type: - description: The resource's type - enum: - - braintree_payments - attributes: - $ref: '#/components/schemas/POST_braintree_payments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenPaymentCreate_data_relationships' - required: - - attributes - - type - braintreePaymentUpdate_data: - properties: - type: - description: The resource's type - enum: - - braintree_payments - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_braintree_payments_braintreePaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenPaymentUpdate_data_relationships' - required: - - attributes - - id - - type - bundle_data_relationships_sku_list_data: - properties: - type: - description: The resource's type - enum: - - sku_lists - id: - description: The resource's id - example: XGZwpOSrWL - bundle_data_relationships_sku_list: - properties: - data: - $ref: '#/components/schemas/bundle_data_relationships_sku_list_data' - bundle_data_relationships_skus_data: - properties: - type: - description: The resource's type - enum: - - skus - id: - description: The resource's id - example: XGZwpOSrWL - bundle_data_relationships_skus: - properties: - data: - $ref: '#/components/schemas/bundle_data_relationships_skus_data' - bundle_data_relationships: - properties: - market: - $ref: '#/components/schemas/avalaraAccount_data_relationships_markets' - sku_list: - $ref: '#/components/schemas/bundle_data_relationships_sku_list' - skus: - $ref: '#/components/schemas/bundle_data_relationships_skus' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - events: - $ref: '#/components/schemas/address_data_relationships_events' - tags: - $ref: '#/components/schemas/address_data_relationships_tags' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - bundle_data: - properties: - type: - description: The resource's type - enum: - - bundles - attributes: - $ref: '#/components/schemas/GET_bundles_bundleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/bundle_data_relationships' - required: - - attributes - - type - bundleCreate_data_relationships_sku_list: - properties: - data: - $ref: '#/components/schemas/bundle_data_relationships_sku_list_data' - required: - - data - bundleCreate_data_relationships: - properties: - market: - $ref: '#/components/schemas/billingInfoValidationRuleCreate_data_relationships_market' - sku_list: - $ref: '#/components/schemas/bundleCreate_data_relationships_sku_list' - tags: - $ref: '#/components/schemas/addressCreate_data_relationships_tags' - required: - - sku_list - bundleCreate_data: - properties: - type: - description: The resource's type - enum: - - bundles - attributes: - $ref: '#/components/schemas/POST_bundles_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/bundleCreate_data_relationships' - required: - - attributes - - type - bundleUpdate_data_relationships: - properties: - tags: - $ref: '#/components/schemas/addressCreate_data_relationships_tags' - bundleUpdate_data: - properties: - type: - description: The resource's type - enum: - - bundles - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_bundles_bundleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/bundleUpdate_data_relationships' - required: - - attributes - - id - - type - buyXPayYPromotion_data_relationships_promotion_rules_data: - properties: - type: - description: The resource's type - enum: - - promotion_rules - id: - description: The resource's id - example: XGZwpOSrWL - buyXPayYPromotion_data_relationships_promotion_rules: - properties: - data: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships_promotion_rules_data' - buyXPayYPromotion_data_relationships_order_amount_promotion_rule_data: - properties: - type: - description: The resource's type - enum: - - order_amount_promotion_rules - id: - description: The resource's id - example: XGZwpOSrWL - buyXPayYPromotion_data_relationships_order_amount_promotion_rule: - properties: - data: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships_order_amount_promotion_rule_data' - buyXPayYPromotion_data_relationships_sku_list_promotion_rule_data: - properties: - type: - description: The resource's type - enum: - - sku_list_promotion_rules - id: - description: The resource's id - example: XGZwpOSrWL - buyXPayYPromotion_data_relationships_sku_list_promotion_rule: - properties: - data: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships_sku_list_promotion_rule_data' - buyXPayYPromotion_data_relationships_coupon_codes_promotion_rule_data: - properties: - type: - description: The resource's type - enum: - - coupon_codes_promotion_rules - id: - description: The resource's id - example: XGZwpOSrWL - buyXPayYPromotion_data_relationships_coupon_codes_promotion_rule: - properties: - data: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships_coupon_codes_promotion_rule_data' - buyXPayYPromotion_data_relationships_custom_promotion_rule_data: - properties: - type: - description: The resource's type - enum: - - custom_promotion_rules - id: - description: The resource's id - example: XGZwpOSrWL - buyXPayYPromotion_data_relationships_custom_promotion_rule: - properties: - data: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships_custom_promotion_rule_data' - buyXPayYPromotion_data_relationships_coupons_data: - properties: - type: - description: The resource's type - enum: - - coupons - id: - description: The resource's id - example: XGZwpOSrWL - buyXPayYPromotion_data_relationships_coupons: - properties: - data: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships_coupons_data' - buyXPayYPromotion_data_relationships: - properties: - market: - $ref: '#/components/schemas/avalaraAccount_data_relationships_markets' - promotion_rules: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships_promotion_rules' - order_amount_promotion_rule: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships_order_amount_promotion_rule' - sku_list_promotion_rule: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships_sku_list_promotion_rule' - coupon_codes_promotion_rule: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships_coupon_codes_promotion_rule' - custom_promotion_rule: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships_custom_promotion_rule' - sku_list: - $ref: '#/components/schemas/bundle_data_relationships_sku_list' - coupons: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships_coupons' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - events: - $ref: '#/components/schemas/address_data_relationships_events' - tags: - $ref: '#/components/schemas/address_data_relationships_tags' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - skus: - $ref: '#/components/schemas/bundle_data_relationships_skus' - buyXPayYPromotion_data: - properties: - type: - description: The resource's type - enum: - - buy_x_pay_y_promotions - attributes: - $ref: '#/components/schemas/GET_buy_x_pay_y_promotions_buyXPayYPromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships' - required: - - attributes - - type - buyXPayYPromotionCreate_data_relationships_order_amount_promotion_rule: - properties: - data: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships_order_amount_promotion_rule_data' - required: - - data - buyXPayYPromotionCreate_data_relationships_sku_list_promotion_rule: - properties: - data: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships_sku_list_promotion_rule_data' - required: - - data - buyXPayYPromotionCreate_data_relationships_coupon_codes_promotion_rule: - properties: - data: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships_coupon_codes_promotion_rule_data' - required: - - data - buyXPayYPromotionCreate_data_relationships_custom_promotion_rule: - properties: - data: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships_custom_promotion_rule_data' - required: - - data - buyXPayYPromotionCreate_data_relationships: - properties: - market: - $ref: '#/components/schemas/billingInfoValidationRuleCreate_data_relationships_market' - order_amount_promotion_rule: - $ref: '#/components/schemas/buyXPayYPromotionCreate_data_relationships_order_amount_promotion_rule' - sku_list_promotion_rule: - $ref: '#/components/schemas/buyXPayYPromotionCreate_data_relationships_sku_list_promotion_rule' - coupon_codes_promotion_rule: - $ref: '#/components/schemas/buyXPayYPromotionCreate_data_relationships_coupon_codes_promotion_rule' - custom_promotion_rule: - $ref: '#/components/schemas/buyXPayYPromotionCreate_data_relationships_custom_promotion_rule' - sku_list: - $ref: '#/components/schemas/bundleCreate_data_relationships_sku_list' - tags: - $ref: '#/components/schemas/addressCreate_data_relationships_tags' - required: - - sku_list - buyXPayYPromotionCreate_data: - properties: - type: - description: The resource's type - enum: - - buy_x_pay_y_promotions - attributes: - $ref: '#/components/schemas/POST_buy_x_pay_y_promotions_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/buyXPayYPromotionCreate_data_relationships' - required: - - attributes - - type - buyXPayYPromotionUpdate_data_relationships: - properties: - market: - $ref: '#/components/schemas/billingInfoValidationRuleCreate_data_relationships_market' - order_amount_promotion_rule: - $ref: '#/components/schemas/buyXPayYPromotionCreate_data_relationships_order_amount_promotion_rule' - sku_list_promotion_rule: - $ref: '#/components/schemas/buyXPayYPromotionCreate_data_relationships_sku_list_promotion_rule' - coupon_codes_promotion_rule: - $ref: '#/components/schemas/buyXPayYPromotionCreate_data_relationships_coupon_codes_promotion_rule' - custom_promotion_rule: - $ref: '#/components/schemas/buyXPayYPromotionCreate_data_relationships_custom_promotion_rule' - sku_list: - $ref: '#/components/schemas/bundleCreate_data_relationships_sku_list' - tags: - $ref: '#/components/schemas/addressCreate_data_relationships_tags' - buyXPayYPromotionUpdate_data: - properties: - type: - description: The resource's type - enum: - - buy_x_pay_y_promotions - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_buy_x_pay_y_promotions_buyXPayYPromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/buyXPayYPromotionUpdate_data_relationships' - required: - - attributes - - id - - type - capture_data_relationships_reference_authorization_data: - properties: - type: - description: The resource's type - enum: - - authorizations - id: - description: The resource's id - example: XGZwpOSrWL - capture_data_relationships_reference_authorization: - properties: - data: - $ref: '#/components/schemas/capture_data_relationships_reference_authorization_data' - capture_data_relationships_refunds_data: - properties: - type: - description: The resource's type - enum: - - refunds - id: - description: The resource's id - example: XGZwpOSrWL - capture_data_relationships_refunds: - properties: - data: - $ref: '#/components/schemas/capture_data_relationships_refunds_data' - capture_data_relationships_return_data: - properties: - type: - description: The resource's type - enum: - - returns - id: - description: The resource's id - example: XGZwpOSrWL - capture_data_relationships_return: - properties: - data: - $ref: '#/components/schemas/capture_data_relationships_return_data' - capture_data_relationships: - properties: - order: - $ref: '#/components/schemas/adyenPayment_data_relationships_order' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - events: - $ref: '#/components/schemas/address_data_relationships_events' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - reference_authorization: - $ref: '#/components/schemas/capture_data_relationships_reference_authorization' - refunds: - $ref: '#/components/schemas/capture_data_relationships_refunds' - return: - $ref: '#/components/schemas/capture_data_relationships_return' - capture_data: - properties: - type: - description: The resource's type - enum: - - captures - attributes: - $ref: '#/components/schemas/GET_captures_captureId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/capture_data_relationships' - required: - - attributes - - type - captureUpdate_data: - properties: - type: - description: The resource's type - enum: - - captures - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_captures_captureId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - carrierAccount_data: - properties: - type: - description: The resource's type - enum: - - carrier_accounts - attributes: - $ref: '#/components/schemas/GET_carrier_accounts_carrierAccountId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/billingInfoValidationRule_data_relationships' - required: - - attributes - - type - carrierAccountCreate_data: - properties: - type: - description: The resource's type - enum: - - carrier_accounts - attributes: - $ref: '#/components/schemas/POST_carrier_accounts_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/billingInfoValidationRuleUpdate_data_relationships' - required: - - attributes - - type - carrierAccountUpdate_data: - properties: - type: - description: The resource's type - enum: - - carrier_accounts - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_carrier_accounts_carrierAccountId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/billingInfoValidationRuleUpdate_data_relationships' - required: - - attributes - - id - - type - checkoutComGateway_data_relationships_checkout_com_payments_data: - properties: - type: - description: The resource's type - enum: - - checkout_com_payments - id: - description: The resource's id - example: XGZwpOSrWL - checkoutComGateway_data_relationships_checkout_com_payments: - properties: - data: - $ref: '#/components/schemas/checkoutComGateway_data_relationships_checkout_com_payments_data' - checkoutComGateway_data_relationships: - properties: - payment_methods: - $ref: '#/components/schemas/adyenGateway_data_relationships_payment_methods' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - checkout_com_payments: - $ref: '#/components/schemas/checkoutComGateway_data_relationships_checkout_com_payments' - checkoutComGateway_data: - properties: - type: - description: The resource's type - enum: - - checkout_com_gateways - attributes: - $ref: '#/components/schemas/GET_checkout_com_gateways_checkoutComGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/checkoutComGateway_data_relationships' - required: - - attributes - - type - checkoutComGatewayCreate_data_relationships_checkout_com_payments: - properties: - data: - $ref: '#/components/schemas/checkoutComGateway_data_relationships_checkout_com_payments_data' - required: - - data - checkoutComGatewayCreate_data_relationships: - properties: - checkout_com_payments: - $ref: '#/components/schemas/checkoutComGatewayCreate_data_relationships_checkout_com_payments' - checkoutComGatewayCreate_data: - properties: - type: - description: The resource's type - enum: - - checkout_com_gateways - attributes: - $ref: '#/components/schemas/POST_checkout_com_gateways_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/checkoutComGatewayCreate_data_relationships' - required: - - attributes - - type - checkoutComGatewayUpdate_data: - properties: - type: - description: The resource's type - enum: - - checkout_com_gateways - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_checkout_com_gateways_checkoutComGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/checkoutComGatewayCreate_data_relationships' - required: - - attributes - - id - - type - checkoutComPayment_data: - properties: - type: - description: The resource's type - enum: - - checkout_com_payments - attributes: - $ref: '#/components/schemas/GET_checkout_com_payments_checkoutComPaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenPayment_data_relationships' - required: - - attributes - - type - checkoutComPaymentCreate_data: - properties: - type: - description: The resource's type - enum: - - checkout_com_payments - attributes: - $ref: '#/components/schemas/POST_checkout_com_payments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenPaymentCreate_data_relationships' - required: - - attributes - - type - checkoutComPaymentUpdate_data: - properties: - type: - description: The resource's type - enum: - - checkout_com_payments - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_checkout_com_payments_checkoutComPaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenPaymentUpdate_data_relationships' - required: - - attributes - - id - - type - cleanup_data_relationships: - properties: - events: - $ref: '#/components/schemas/address_data_relationships_events' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - cleanup_data: - properties: - type: - description: The resource's type - enum: - - cleanups - attributes: - $ref: '#/components/schemas/GET_cleanups_cleanupId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/cleanup_data_relationships' - required: - - attributes - - type - cleanupCreate_data: - properties: - type: - description: The resource's type - enum: - - cleanups - attributes: - $ref: '#/components/schemas/POST_cleanups_201_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - type - cleanupUpdate_data: - properties: - type: - description: The resource's type - enum: - - cleanups - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_billing_info_validation_rules_billingInfoValidationRuleId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - couponCodesPromotionRule_data_relationships_promotion_data: - properties: - type: - description: The resource's type - enum: - - percentage_discount_promotions - - free_shipping_promotions - - buy_x_pay_y_promotions - - free_gift_promotions - - fixed_price_promotions - - external_promotions - - fixed_amount_promotions - - flex_promotions - id: - description: The resource's id - example: XGZwpOSrWL - couponCodesPromotionRule_data_relationships_promotion: - oneOf: - - $ref: '#/components/schemas/percentageDiscountPromotion' - - $ref: '#/components/schemas/freeShippingPromotion' - - $ref: '#/components/schemas/buyXPayYPromotion' - - $ref: '#/components/schemas/freeGiftPromotion' - - $ref: '#/components/schemas/fixedPricePromotion' - - $ref: '#/components/schemas/externalPromotion' - - $ref: '#/components/schemas/fixedAmountPromotion' - - $ref: '#/components/schemas/flexPromotion' - properties: - data: - $ref: '#/components/schemas/couponCodesPromotionRule_data_relationships_promotion_data' - couponCodesPromotionRule_data_relationships: - properties: - promotion: - $ref: '#/components/schemas/couponCodesPromotionRule_data_relationships_promotion' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - coupons: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships_coupons' - couponCodesPromotionRule_data: - properties: - type: - description: The resource's type - enum: - - coupon_codes_promotion_rules - attributes: - $ref: '#/components/schemas/GET_coupon_codes_promotion_rules_couponCodesPromotionRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/couponCodesPromotionRule_data_relationships' - required: - - attributes - - type - couponCodesPromotionRuleCreate_data_relationships_promotion: - oneOf: - - $ref: '#/components/schemas/percentageDiscountPromotion' - - $ref: '#/components/schemas/freeShippingPromotion' - - $ref: '#/components/schemas/buyXPayYPromotion' - - $ref: '#/components/schemas/freeGiftPromotion' - - $ref: '#/components/schemas/fixedPricePromotion' - - $ref: '#/components/schemas/externalPromotion' - - $ref: '#/components/schemas/fixedAmountPromotion' - - $ref: '#/components/schemas/flexPromotion' - properties: - data: - $ref: '#/components/schemas/couponCodesPromotionRule_data_relationships_promotion_data' - required: - - data - couponCodesPromotionRuleCreate_data_relationships_coupons: - properties: - data: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships_coupons_data' - required: - - data - couponCodesPromotionRuleCreate_data_relationships: - properties: - promotion: - $ref: '#/components/schemas/couponCodesPromotionRuleCreate_data_relationships_promotion' - coupons: - $ref: '#/components/schemas/couponCodesPromotionRuleCreate_data_relationships_coupons' - required: - - promotion - couponCodesPromotionRuleCreate_data: - properties: - type: - description: The resource's type - enum: - - coupon_codes_promotion_rules - attributes: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/couponCodesPromotionRuleCreate_data_relationships' - required: - - attributes - - type - couponCodesPromotionRuleUpdate_data_relationships: - properties: - promotion: - $ref: '#/components/schemas/couponCodesPromotionRuleCreate_data_relationships_promotion' - coupons: - $ref: '#/components/schemas/couponCodesPromotionRuleCreate_data_relationships_coupons' - couponCodesPromotionRuleUpdate_data: - properties: - type: - description: The resource's type - enum: - - coupon_codes_promotion_rules - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_billing_info_validation_rules_billingInfoValidationRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/couponCodesPromotionRuleUpdate_data_relationships' - required: - - attributes - - id - - type - couponRecipient_data_relationships_customer_data: - properties: - type: - description: The resource's type - enum: - - customers - id: - description: The resource's id - example: XGZwpOSrWL - couponRecipient_data_relationships_customer: - properties: - data: - $ref: '#/components/schemas/couponRecipient_data_relationships_customer_data' - couponRecipient_data_relationships: - properties: - customer: - $ref: '#/components/schemas/couponRecipient_data_relationships_customer' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - couponRecipient_data: - properties: - type: - description: The resource's type - enum: - - coupon_recipients - attributes: - $ref: '#/components/schemas/GET_coupon_recipients_couponRecipientId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/couponRecipient_data_relationships' - required: - - attributes - - type - couponRecipientCreate_data_relationships_customer: - properties: - data: - $ref: '#/components/schemas/couponRecipient_data_relationships_customer_data' - required: - - data - couponRecipientCreate_data_relationships: - properties: - customer: - $ref: '#/components/schemas/couponRecipientCreate_data_relationships_customer' - couponRecipientCreate_data: - properties: - type: - description: The resource's type - enum: - - coupon_recipients - attributes: - $ref: '#/components/schemas/POST_coupon_recipients_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/couponRecipientCreate_data_relationships' - required: - - attributes - - type - couponRecipientUpdate_data: - properties: - type: - description: The resource's type - enum: - - coupon_recipients - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_coupon_recipients_couponRecipientId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/couponRecipientCreate_data_relationships' - required: - - attributes - - id - - type - coupon_data_relationships_coupon_recipient_data: - properties: - type: - description: The resource's type - enum: - - coupon_recipients - id: - description: The resource's id - example: XGZwpOSrWL - coupon_data_relationships_coupon_recipient: - properties: - data: - $ref: '#/components/schemas/coupon_data_relationships_coupon_recipient_data' - coupon_data_relationships: - properties: - promotion_rule: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships_coupon_codes_promotion_rule' - coupon_recipient: - $ref: '#/components/schemas/coupon_data_relationships_coupon_recipient' - events: - $ref: '#/components/schemas/address_data_relationships_events' - tags: - $ref: '#/components/schemas/address_data_relationships_tags' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - coupon_data: - properties: - type: - description: The resource's type - enum: - - coupons - attributes: - $ref: '#/components/schemas/GET_coupons_couponId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/coupon_data_relationships' - required: - - attributes - - type - couponCreate_data_relationships_coupon_recipient: - properties: - data: - $ref: '#/components/schemas/coupon_data_relationships_coupon_recipient_data' - required: - - data - couponCreate_data_relationships: - properties: - promotion_rule: - $ref: '#/components/schemas/buyXPayYPromotionCreate_data_relationships_coupon_codes_promotion_rule' - coupon_recipient: - $ref: '#/components/schemas/couponCreate_data_relationships_coupon_recipient' - tags: - $ref: '#/components/schemas/addressCreate_data_relationships_tags' - required: - - promotion_rule - couponCreate_data: - properties: - type: - description: The resource's type - enum: - - coupons - attributes: - $ref: '#/components/schemas/POST_coupons_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/couponCreate_data_relationships' - required: - - attributes - - type - couponUpdate_data_relationships: - properties: - promotion_rule: - $ref: '#/components/schemas/buyXPayYPromotionCreate_data_relationships_coupon_codes_promotion_rule' - coupon_recipient: - $ref: '#/components/schemas/couponCreate_data_relationships_coupon_recipient' - tags: - $ref: '#/components/schemas/addressCreate_data_relationships_tags' - couponUpdate_data: - properties: - type: - description: The resource's type - enum: - - coupons - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_coupons_couponId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/couponUpdate_data_relationships' - required: - - attributes - - id - - type - customPromotionRule_data_relationships: - properties: - promotion: - $ref: '#/components/schemas/couponCodesPromotionRule_data_relationships_promotion' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - customPromotionRule_data: - properties: - type: - description: The resource's type - enum: - - custom_promotion_rules - attributes: - $ref: '#/components/schemas/GET_custom_promotion_rules_customPromotionRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/customPromotionRule_data_relationships' - required: - - attributes - - type - customPromotionRuleCreate_data_relationships: - properties: - promotion: - $ref: '#/components/schemas/couponCodesPromotionRuleCreate_data_relationships_promotion' - required: - - promotion - customPromotionRuleCreate_data: - properties: - type: - description: The resource's type - enum: - - custom_promotion_rules - attributes: - $ref: '#/components/schemas/POST_custom_promotion_rules_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/customPromotionRuleCreate_data_relationships' - required: - - attributes - - type - customPromotionRuleUpdate_data_relationships: - properties: - promotion: - $ref: '#/components/schemas/couponCodesPromotionRuleCreate_data_relationships_promotion' - customPromotionRuleUpdate_data: - properties: - type: - description: The resource's type - enum: - - custom_promotion_rules - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_custom_promotion_rules_customPromotionRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/customPromotionRuleUpdate_data_relationships' - required: - - attributes - - id - - type - customerAddress_data_relationships: - properties: - customer: - $ref: '#/components/schemas/couponRecipient_data_relationships_customer' - address: - $ref: '#/components/schemas/bingGeocoder_data_relationships_addresses' - events: - $ref: '#/components/schemas/address_data_relationships_events' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - customerAddress_data: - properties: - type: - description: The resource's type - enum: - - customer_addresses - attributes: - $ref: '#/components/schemas/GET_customer_addresses_customerAddressId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/customerAddress_data_relationships' - required: - - attributes - - type - customerAddressCreate_data_relationships_address: - properties: - data: - $ref: '#/components/schemas/bingGeocoder_data_relationships_addresses_data' - required: - - data - customerAddressCreate_data_relationships: - properties: - customer: - $ref: '#/components/schemas/couponRecipientCreate_data_relationships_customer' - address: - $ref: '#/components/schemas/customerAddressCreate_data_relationships_address' - required: - - address - - customer - customerAddressCreate_data: - properties: - type: - description: The resource's type - enum: - - customer_addresses - attributes: - $ref: '#/components/schemas/POST_customer_addresses_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/customerAddressCreate_data_relationships' - required: - - attributes - - type - customerAddressUpdate_data_relationships: - properties: - customer: - $ref: '#/components/schemas/couponRecipientCreate_data_relationships_customer' - address: - $ref: '#/components/schemas/customerAddressCreate_data_relationships_address' - customerAddressUpdate_data: - properties: - type: - description: The resource's type - enum: - - customer_addresses - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_billing_info_validation_rules_billingInfoValidationRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/customerAddressUpdate_data_relationships' - required: - - attributes - - id - - type - customerGroup_data_relationships: - properties: - customers: - $ref: '#/components/schemas/couponRecipient_data_relationships_customer' - markets: - $ref: '#/components/schemas/avalaraAccount_data_relationships_markets' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - customerGroup_data: - properties: - type: - description: The resource's type - enum: - - customer_groups - attributes: - $ref: '#/components/schemas/GET_customer_groups_customerGroupId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/customerGroup_data_relationships' - required: - - attributes - - type - customerGroupCreate_data: - properties: - type: - description: The resource's type - enum: - - customer_groups - attributes: - $ref: '#/components/schemas/POST_customer_groups_201_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - type - customerGroupUpdate_data: - properties: - type: - description: The resource's type - enum: - - customer_groups - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_customer_groups_customerGroupId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - customerPasswordReset_data_relationships: - properties: - customer: - $ref: '#/components/schemas/couponRecipient_data_relationships_customer' - events: - $ref: '#/components/schemas/address_data_relationships_events' - customerPasswordReset_data: - properties: - type: - description: The resource's type - enum: - - customer_password_resets - attributes: - $ref: '#/components/schemas/GET_customer_password_resets_customerPasswordResetId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/customerPasswordReset_data_relationships' - required: - - attributes - - type - customerPasswordResetCreate_data: - properties: - type: - description: The resource's type - enum: - - customer_password_resets - attributes: - $ref: '#/components/schemas/POST_customer_password_resets_201_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - type - customerPasswordResetUpdate_data: - properties: - type: - description: The resource's type - enum: - - customer_password_resets - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_customer_password_resets_customerPasswordResetId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - customerPaymentSource_data_relationships_payment_source_data: - properties: - type: - description: The resource's type - enum: - - adyen_payments - - axerve_payments - - braintree_payments - - checkout_com_payments - - external_payments - - klarna_payments - - paypal_payments - - satispay_payments - - stripe_payments - - wire_transfers - id: - description: The resource's id - example: XGZwpOSrWL - customerPaymentSource_data_relationships_payment_source: - oneOf: - - $ref: '#/components/schemas/adyenPayment' - - $ref: '#/components/schemas/axervePayment' - - $ref: '#/components/schemas/braintreePayment' - - $ref: '#/components/schemas/checkoutComPayment' - - $ref: '#/components/schemas/externalPayment' - - $ref: '#/components/schemas/klarnaPayment' - - $ref: '#/components/schemas/paypalPayment' - - $ref: '#/components/schemas/satispayPayment' - - $ref: '#/components/schemas/stripePayment' - - $ref: '#/components/schemas/wireTransfer' - properties: - data: - $ref: '#/components/schemas/customerPaymentSource_data_relationships_payment_source_data' - customerPaymentSource_data_relationships: - properties: - customer: - $ref: '#/components/schemas/couponRecipient_data_relationships_customer' - payment_method: - $ref: '#/components/schemas/adyenGateway_data_relationships_payment_methods' - payment_source: - $ref: '#/components/schemas/customerPaymentSource_data_relationships_payment_source' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - customerPaymentSource_data: - properties: - type: - description: The resource's type - enum: - - customer_payment_sources - attributes: - $ref: '#/components/schemas/GET_customer_payment_sources_customerPaymentSourceId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/customerPaymentSource_data_relationships' - required: - - attributes - - type - customerPaymentSourceCreate_data_relationships_payment_method: - properties: - data: - $ref: '#/components/schemas/adyenGateway_data_relationships_payment_methods_data' - required: - - data - customerPaymentSourceCreate_data_relationships_payment_source: - oneOf: - - $ref: '#/components/schemas/adyenPayment' - - $ref: '#/components/schemas/axervePayment' - - $ref: '#/components/schemas/braintreePayment' - - $ref: '#/components/schemas/checkoutComPayment' - - $ref: '#/components/schemas/externalPayment' - - $ref: '#/components/schemas/klarnaPayment' - - $ref: '#/components/schemas/paypalPayment' - - $ref: '#/components/schemas/satispayPayment' - - $ref: '#/components/schemas/stripePayment' - - $ref: '#/components/schemas/wireTransfer' - properties: - data: - $ref: '#/components/schemas/customerPaymentSource_data_relationships_payment_source_data' - required: - - data - customerPaymentSourceCreate_data_relationships: - properties: - customer: - $ref: '#/components/schemas/couponRecipientCreate_data_relationships_customer' - payment_method: - $ref: '#/components/schemas/customerPaymentSourceCreate_data_relationships_payment_method' - payment_source: - $ref: '#/components/schemas/customerPaymentSourceCreate_data_relationships_payment_source' - required: - - customer - customerPaymentSourceCreate_data: - properties: - type: - description: The resource's type - enum: - - customer_payment_sources - attributes: - $ref: '#/components/schemas/POST_customer_payment_sources_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/customerPaymentSourceCreate_data_relationships' - required: - - attributes - - type - customerPaymentSourceUpdate_data_relationships: - properties: - customer: - $ref: '#/components/schemas/couponRecipientCreate_data_relationships_customer' - payment_method: - $ref: '#/components/schemas/customerPaymentSourceCreate_data_relationships_payment_method' - payment_source: - $ref: '#/components/schemas/customerPaymentSourceCreate_data_relationships_payment_source' - customerPaymentSourceUpdate_data: - properties: - type: - description: The resource's type - enum: - - customer_payment_sources - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_customer_payment_sources_customerPaymentSourceId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/customerPaymentSourceUpdate_data_relationships' - required: - - attributes - - id - - type - customerSubscription_data_relationships: - properties: - customer: - $ref: '#/components/schemas/couponRecipient_data_relationships_customer' - events: - $ref: '#/components/schemas/address_data_relationships_events' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - customerSubscription_data: - properties: - type: - description: The resource's type - enum: - - customer_subscriptions - attributes: - $ref: '#/components/schemas/GET_customer_subscriptions_customerSubscriptionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/customerSubscription_data_relationships' - required: - - attributes - - type - customerSubscriptionCreate_data: - properties: - type: - description: The resource's type - enum: - - customer_subscriptions - attributes: - $ref: '#/components/schemas/POST_customer_subscriptions_201_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - type - customerSubscriptionUpdate_data: - properties: - type: - description: The resource's type - enum: - - customer_subscriptions - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_customer_subscriptions_customerSubscriptionId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - customer_data_relationships_customer_group_data: - properties: - type: - description: The resource's type - enum: - - customer_groups - id: - description: The resource's id - example: XGZwpOSrWL - customer_data_relationships_customer_group: - properties: - data: - $ref: '#/components/schemas/customer_data_relationships_customer_group_data' - customer_data_relationships_customer_addresses_data: - properties: - type: - description: The resource's type - enum: - - customer_addresses - id: - description: The resource's id - example: XGZwpOSrWL - customer_data_relationships_customer_addresses: - properties: - data: - $ref: '#/components/schemas/customer_data_relationships_customer_addresses_data' - customer_data_relationships_customer_payment_sources_data: - properties: - type: - description: The resource's type - enum: - - customer_payment_sources - id: - description: The resource's id - example: XGZwpOSrWL - customer_data_relationships_customer_payment_sources: - properties: - data: - $ref: '#/components/schemas/customer_data_relationships_customer_payment_sources_data' - customer_data_relationships_customer_subscriptions_data: - properties: - type: - description: The resource's type - enum: - - customer_subscriptions - id: - description: The resource's id - example: XGZwpOSrWL - customer_data_relationships_customer_subscriptions: - properties: - data: - $ref: '#/components/schemas/customer_data_relationships_customer_subscriptions_data' - customer_data_relationships_order_subscriptions_data: - properties: - type: - description: The resource's type - enum: - - order_subscriptions - id: - description: The resource's id - example: XGZwpOSrWL - customer_data_relationships_order_subscriptions: - properties: - data: - $ref: '#/components/schemas/customer_data_relationships_order_subscriptions_data' - customer_data_relationships: - properties: - customer_group: - $ref: '#/components/schemas/customer_data_relationships_customer_group' - customer_addresses: - $ref: '#/components/schemas/customer_data_relationships_customer_addresses' - customer_payment_sources: - $ref: '#/components/schemas/customer_data_relationships_customer_payment_sources' - customer_subscriptions: - $ref: '#/components/schemas/customer_data_relationships_customer_subscriptions' - orders: - $ref: '#/components/schemas/adyenPayment_data_relationships_order' - order_subscriptions: - $ref: '#/components/schemas/customer_data_relationships_order_subscriptions' - returns: - $ref: '#/components/schemas/capture_data_relationships_return' - sku_lists: - $ref: '#/components/schemas/bundle_data_relationships_sku_list' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - events: - $ref: '#/components/schemas/address_data_relationships_events' - tags: - $ref: '#/components/schemas/address_data_relationships_tags' - customer_data: - properties: - type: - description: The resource's type - enum: - - customers - attributes: - $ref: '#/components/schemas/GET_customers_customerId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/customer_data_relationships' - required: - - attributes - - type - customerCreate_data_relationships_customer_group: - properties: - data: - $ref: '#/components/schemas/customer_data_relationships_customer_group_data' - required: - - data - customerCreate_data_relationships: - properties: - customer_group: - $ref: '#/components/schemas/customerCreate_data_relationships_customer_group' - tags: - $ref: '#/components/schemas/addressCreate_data_relationships_tags' - customerCreate_data: - properties: - type: - description: The resource's type - enum: - - customers - attributes: - $ref: '#/components/schemas/POST_customers_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/customerCreate_data_relationships' - required: - - attributes - - type - customerUpdate_data: - properties: - type: - description: The resource's type - enum: - - customers - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_customers_customerId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/customerCreate_data_relationships' - required: - - attributes - - id - - type - deliveryLeadTime_data_relationships_stock_location_data: - properties: - type: - description: The resource's type - enum: - - stock_locations - id: - description: The resource's id - example: XGZwpOSrWL - deliveryLeadTime_data_relationships_stock_location: - properties: - data: - $ref: '#/components/schemas/deliveryLeadTime_data_relationships_stock_location_data' - deliveryLeadTime_data_relationships_shipping_method_data: - properties: - type: - description: The resource's type - enum: - - shipping_methods - id: - description: The resource's id - example: XGZwpOSrWL - deliveryLeadTime_data_relationships_shipping_method: - properties: - data: - $ref: '#/components/schemas/deliveryLeadTime_data_relationships_shipping_method_data' - deliveryLeadTime_data_relationships: - properties: - stock_location: - $ref: '#/components/schemas/deliveryLeadTime_data_relationships_stock_location' - shipping_method: - $ref: '#/components/schemas/deliveryLeadTime_data_relationships_shipping_method' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - deliveryLeadTime_data: - properties: - type: - description: The resource's type - enum: - - delivery_lead_times - attributes: - $ref: '#/components/schemas/GET_delivery_lead_times_deliveryLeadTimeId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/deliveryLeadTime_data_relationships' - required: - - attributes - - type - deliveryLeadTimeCreate_data_relationships_stock_location: - properties: - data: - $ref: '#/components/schemas/deliveryLeadTime_data_relationships_stock_location_data' - required: - - data - deliveryLeadTimeCreate_data_relationships_shipping_method: - properties: - data: - $ref: '#/components/schemas/deliveryLeadTime_data_relationships_shipping_method_data' - required: - - data - deliveryLeadTimeCreate_data_relationships: - properties: - stock_location: - $ref: '#/components/schemas/deliveryLeadTimeCreate_data_relationships_stock_location' - shipping_method: - $ref: '#/components/schemas/deliveryLeadTimeCreate_data_relationships_shipping_method' - required: - - shipping_method - - stock_location - deliveryLeadTimeCreate_data: - properties: - type: - description: The resource's type - enum: - - delivery_lead_times - attributes: - $ref: '#/components/schemas/POST_delivery_lead_times_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/deliveryLeadTimeCreate_data_relationships' - required: - - attributes - - type - deliveryLeadTimeUpdate_data_relationships: - properties: - stock_location: - $ref: '#/components/schemas/deliveryLeadTimeCreate_data_relationships_stock_location' - shipping_method: - $ref: '#/components/schemas/deliveryLeadTimeCreate_data_relationships_shipping_method' - deliveryLeadTimeUpdate_data: - properties: - type: - description: The resource's type - enum: - - delivery_lead_times - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_delivery_lead_times_deliveryLeadTimeId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/deliveryLeadTimeUpdate_data_relationships' - required: - - attributes - - id - - type - eventCallback_data_relationships_webhook_data: - properties: - type: - description: The resource's type - enum: - - webhooks - id: - description: The resource's id - example: XGZwpOSrWL - eventCallback_data_relationships_webhook: - properties: - data: - $ref: '#/components/schemas/eventCallback_data_relationships_webhook_data' - eventCallback_data_relationships: - properties: - webhook: - $ref: '#/components/schemas/eventCallback_data_relationships_webhook' - eventCallback_data: - properties: - type: - description: The resource's type - enum: - - event_callbacks - attributes: - $ref: '#/components/schemas/GET_event_callbacks_eventCallbackId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/eventCallback_data_relationships' - required: - - attributes - - type - event_data_relationships_last_event_callbacks_data: - properties: - type: - description: The resource's type - enum: - - event_callbacks - id: - description: The resource's id - example: XGZwpOSrWL - event_data_relationships_last_event_callbacks: - properties: - data: - $ref: '#/components/schemas/event_data_relationships_last_event_callbacks_data' - event_data_relationships: - properties: - webhooks: - $ref: '#/components/schemas/eventCallback_data_relationships_webhook' - last_event_callbacks: - $ref: '#/components/schemas/event_data_relationships_last_event_callbacks' - event_data: - properties: - type: - description: The resource's type - enum: - - events - attributes: - $ref: '#/components/schemas/GET_events_eventId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/event_data_relationships' - required: - - attributes - - type - eventUpdate_data: - properties: - type: - description: The resource's type - enum: - - events - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_events_eventId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - export_data_relationships: - properties: - events: - $ref: '#/components/schemas/address_data_relationships_events' - export_data: - properties: - type: - description: The resource's type - enum: - - exports - attributes: - $ref: '#/components/schemas/GET_exports_exportId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/export_data_relationships' - required: - - attributes - - type - exportCreate_data: - properties: - type: - description: The resource's type - enum: - - exports - attributes: - $ref: '#/components/schemas/POST_exports_201_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - type - exportUpdate_data: - properties: - type: - description: The resource's type - enum: - - exports - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_billing_info_validation_rules_billingInfoValidationRuleId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - externalGateway_data_relationships_external_payments_data: - properties: - type: - description: The resource's type - enum: - - external_payments - id: - description: The resource's id - example: XGZwpOSrWL - externalGateway_data_relationships_external_payments: - properties: - data: - $ref: '#/components/schemas/externalGateway_data_relationships_external_payments_data' - externalGateway_data_relationships: - properties: - payment_methods: - $ref: '#/components/schemas/adyenGateway_data_relationships_payment_methods' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - external_payments: - $ref: '#/components/schemas/externalGateway_data_relationships_external_payments' - externalGateway_data: - properties: - type: - description: The resource's type - enum: - - external_gateways - attributes: - $ref: '#/components/schemas/GET_external_gateways_externalGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/externalGateway_data_relationships' - required: - - attributes - - type - externalGatewayCreate_data: - properties: - type: - description: The resource's type - enum: - - external_gateways - attributes: - $ref: '#/components/schemas/POST_external_gateways_201_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - type - externalGatewayUpdate_data: - properties: - type: - description: The resource's type - enum: - - external_gateways - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_external_gateways_externalGatewayId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - externalPayment_data_relationships: - properties: - order: - $ref: '#/components/schemas/adyenPayment_data_relationships_order' - payment_gateway: - $ref: '#/components/schemas/adyenPayment_data_relationships_payment_gateway' - wallet: - $ref: '#/components/schemas/customer_data_relationships_customer_payment_sources' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - externalPayment_data: - properties: - type: - description: The resource's type - enum: - - external_payments - attributes: - $ref: '#/components/schemas/GET_external_payments_externalPaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/externalPayment_data_relationships' - required: - - attributes - - type - externalPaymentCreate_data: - properties: - type: - description: The resource's type - enum: - - external_payments - attributes: - $ref: '#/components/schemas/POST_external_payments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenPaymentCreate_data_relationships' - required: - - attributes - - type - externalPaymentUpdate_data: - properties: - type: - description: The resource's type - enum: - - external_payments - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_external_payments_externalPaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenPaymentUpdate_data_relationships' - required: - - attributes - - id - - type - externalPromotion_data: - properties: - type: - description: The resource's type - enum: - - external_promotions - attributes: - $ref: '#/components/schemas/GET_external_promotions_externalPromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships' - required: - - attributes - - type - externalPromotionCreate_data: - properties: - type: - description: The resource's type - enum: - - external_promotions - attributes: - $ref: '#/components/schemas/POST_external_promotions_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/buyXPayYPromotionUpdate_data_relationships' - required: - - attributes - - type - externalPromotionUpdate_data: - properties: - type: - description: The resource's type - enum: - - external_promotions - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_external_promotions_externalPromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/buyXPayYPromotionUpdate_data_relationships' - required: - - attributes - - id - - type - externalTaxCalculator_data_relationships: - properties: - markets: - $ref: '#/components/schemas/avalaraAccount_data_relationships_markets' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - externalTaxCalculator_data: - properties: - type: - description: The resource's type - enum: - - external_tax_calculators - attributes: - $ref: '#/components/schemas/GET_external_tax_calculators_externalTaxCalculatorId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/externalTaxCalculator_data_relationships' - required: - - attributes - - type - externalTaxCalculatorCreate_data: - properties: - type: - description: The resource's type - enum: - - external_tax_calculators - attributes: - $ref: '#/components/schemas/POST_external_tax_calculators_201_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - type - externalTaxCalculatorUpdate_data: - properties: - type: - description: The resource's type - enum: - - external_tax_calculators - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_external_tax_calculators_externalTaxCalculatorId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - fixedAmountPromotion_data: - properties: - type: - description: The resource's type - enum: - - fixed_amount_promotions - attributes: - $ref: '#/components/schemas/GET_fixed_amount_promotions_fixedAmountPromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships' - required: - - attributes - - type - fixedAmountPromotionCreate_data: - properties: - type: - description: The resource's type - enum: - - fixed_amount_promotions - attributes: - $ref: '#/components/schemas/POST_fixed_amount_promotions_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/buyXPayYPromotionUpdate_data_relationships' - required: - - attributes - - type - fixedAmountPromotionUpdate_data: - properties: - type: - description: The resource's type - enum: - - fixed_amount_promotions - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_fixed_amount_promotions_fixedAmountPromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/buyXPayYPromotionUpdate_data_relationships' - required: - - attributes - - id - - type - fixedPricePromotion_data: - properties: - type: - description: The resource's type - enum: - - fixed_price_promotions - attributes: - $ref: '#/components/schemas/GET_fixed_price_promotions_fixedPricePromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships' - required: - - attributes - - type - fixedPricePromotionCreate_data: - properties: - type: - description: The resource's type - enum: - - fixed_price_promotions - attributes: - $ref: '#/components/schemas/POST_fixed_price_promotions_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/buyXPayYPromotionCreate_data_relationships' - required: - - attributes - - type - fixedPricePromotionUpdate_data: - properties: - type: - description: The resource's type - enum: - - fixed_price_promotions - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_fixed_price_promotions_fixedPricePromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/buyXPayYPromotionUpdate_data_relationships' - required: - - attributes - - id - - type - flexPromotion_data_relationships: - properties: - coupon_codes_promotion_rule: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships_coupon_codes_promotion_rule' - coupons: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships_coupons' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - events: - $ref: '#/components/schemas/address_data_relationships_events' - tags: - $ref: '#/components/schemas/address_data_relationships_tags' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - flexPromotion_data: - properties: - type: - description: The resource's type - enum: - - flex_promotions - attributes: - $ref: '#/components/schemas/GET_flex_promotions_flexPromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/flexPromotion_data_relationships' - required: - - attributes - - type - flexPromotionCreate_data_relationships: - properties: - coupon_codes_promotion_rule: - $ref: '#/components/schemas/buyXPayYPromotionCreate_data_relationships_coupon_codes_promotion_rule' - tags: - $ref: '#/components/schemas/addressCreate_data_relationships_tags' - flexPromotionCreate_data: - properties: - type: - description: The resource's type - enum: - - flex_promotions - attributes: - $ref: '#/components/schemas/POST_flex_promotions_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/flexPromotionCreate_data_relationships' - required: - - attributes - - type - flexPromotionUpdate_data: - properties: - type: - description: The resource's type - enum: - - flex_promotions - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_flex_promotions_flexPromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/flexPromotionCreate_data_relationships' - required: - - attributes - - id - - type - freeGiftPromotion_data: - properties: - type: - description: The resource's type - enum: - - free_gift_promotions - attributes: - $ref: '#/components/schemas/GET_free_gift_promotions_freeGiftPromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships' - required: - - attributes - - type - freeGiftPromotionCreate_data: - properties: - type: - description: The resource's type - enum: - - free_gift_promotions - attributes: - $ref: '#/components/schemas/POST_free_gift_promotions_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/buyXPayYPromotionCreate_data_relationships' - required: - - attributes - - type - freeGiftPromotionUpdate_data: - properties: - type: - description: The resource's type - enum: - - free_gift_promotions - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_free_gift_promotions_freeGiftPromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/buyXPayYPromotionUpdate_data_relationships' - required: - - attributes - - id - - type - freeShippingPromotion_data_relationships: - properties: - market: - $ref: '#/components/schemas/avalaraAccount_data_relationships_markets' - promotion_rules: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships_promotion_rules' - order_amount_promotion_rule: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships_order_amount_promotion_rule' - sku_list_promotion_rule: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships_sku_list_promotion_rule' - coupon_codes_promotion_rule: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships_coupon_codes_promotion_rule' - custom_promotion_rule: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships_custom_promotion_rule' - sku_list: - $ref: '#/components/schemas/bundle_data_relationships_sku_list' - coupons: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships_coupons' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - events: - $ref: '#/components/schemas/address_data_relationships_events' - tags: - $ref: '#/components/schemas/address_data_relationships_tags' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - freeShippingPromotion_data: - properties: - type: - description: The resource's type - enum: - - free_shipping_promotions - attributes: - $ref: '#/components/schemas/GET_free_shipping_promotions_freeShippingPromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/freeShippingPromotion_data_relationships' - required: - - attributes - - type - freeShippingPromotionCreate_data: - properties: - type: - description: The resource's type - enum: - - free_shipping_promotions - attributes: - $ref: '#/components/schemas/POST_free_shipping_promotions_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/buyXPayYPromotionUpdate_data_relationships' - required: - - attributes - - type - freeShippingPromotionUpdate_data: - properties: - type: - description: The resource's type - enum: - - free_shipping_promotions - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_free_shipping_promotions_freeShippingPromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/buyXPayYPromotionUpdate_data_relationships' - required: - - attributes - - id - - type - geocoder_data: - properties: - type: - description: The resource's type - enum: - - geocoders - attributes: - $ref: '#/components/schemas/GET_bing_geocoders_bingGeocoderId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/bingGeocoder_data_relationships' - required: - - attributes - - type - giftCardRecipient_data: - properties: - type: - description: The resource's type - enum: - - gift_card_recipients - attributes: - $ref: '#/components/schemas/GET_coupon_recipients_couponRecipientId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/couponRecipient_data_relationships' - required: - - attributes - - type - giftCardRecipientCreate_data: - properties: - type: - description: The resource's type - enum: - - gift_card_recipients - attributes: - $ref: '#/components/schemas/POST_coupon_recipients_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/couponRecipientCreate_data_relationships' - required: - - attributes - - type - giftCardRecipientUpdate_data: - properties: - type: - description: The resource's type - enum: - - gift_card_recipients - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_coupon_recipients_couponRecipientId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/couponRecipientCreate_data_relationships' - required: - - attributes - - id - - type - giftCard_data_relationships_gift_card_recipient_data: - properties: - type: - description: The resource's type - enum: - - gift_card_recipients - id: - description: The resource's id - example: XGZwpOSrWL - giftCard_data_relationships_gift_card_recipient: - properties: - data: - $ref: '#/components/schemas/giftCard_data_relationships_gift_card_recipient_data' - giftCard_data_relationships: - properties: - market: - $ref: '#/components/schemas/avalaraAccount_data_relationships_markets' - gift_card_recipient: - $ref: '#/components/schemas/giftCard_data_relationships_gift_card_recipient' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - events: - $ref: '#/components/schemas/address_data_relationships_events' - tags: - $ref: '#/components/schemas/address_data_relationships_tags' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - giftCard_data: - properties: - type: - description: The resource's type - enum: - - gift_cards - attributes: - $ref: '#/components/schemas/GET_gift_cards_giftCardId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/giftCard_data_relationships' - required: - - attributes - - type - giftCardCreate_data_relationships_gift_card_recipient: - properties: - data: - $ref: '#/components/schemas/giftCard_data_relationships_gift_card_recipient_data' - required: - - data - giftCardCreate_data_relationships: - properties: - market: - $ref: '#/components/schemas/billingInfoValidationRuleCreate_data_relationships_market' - gift_card_recipient: - $ref: '#/components/schemas/giftCardCreate_data_relationships_gift_card_recipient' - tags: - $ref: '#/components/schemas/addressCreate_data_relationships_tags' - giftCardCreate_data: - properties: - type: - description: The resource's type - enum: - - gift_cards - attributes: - $ref: '#/components/schemas/POST_gift_cards_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/giftCardCreate_data_relationships' - required: - - attributes - - type - giftCardUpdate_data: - properties: - type: - description: The resource's type - enum: - - gift_cards - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_gift_cards_giftCardId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/giftCardCreate_data_relationships' - required: - - attributes - - id - - type - googleGeocoder_data: - properties: - type: - description: The resource's type - enum: - - google_geocoders - attributes: - $ref: '#/components/schemas/GET_bing_geocoders_bingGeocoderId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/bingGeocoder_data_relationships' - required: - - attributes - - type - googleGeocoderCreate_data: - properties: - type: - description: The resource's type - enum: - - google_geocoders - attributes: - $ref: '#/components/schemas/POST_google_geocoders_201_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - type - googleGeocoderUpdate_data: - properties: - type: - description: The resource's type - enum: - - google_geocoders - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_google_geocoders_googleGeocoderId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - import_data: - properties: - type: - description: The resource's type - enum: - - imports - attributes: - $ref: '#/components/schemas/GET_imports_importId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/export_data_relationships' - required: - - attributes - - type - importCreate_data: - properties: - type: - description: The resource's type - enum: - - imports - attributes: - $ref: '#/components/schemas/POST_imports_201_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - type - importUpdate_data: - properties: - type: - description: The resource's type - enum: - - imports - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_billing_info_validation_rules_billingInfoValidationRuleId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - inStockSubscription_data_relationships: - properties: - market: - $ref: '#/components/schemas/avalaraAccount_data_relationships_markets' - customer: - $ref: '#/components/schemas/couponRecipient_data_relationships_customer' - sku: - $ref: '#/components/schemas/bundle_data_relationships_skus' - events: - $ref: '#/components/schemas/address_data_relationships_events' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - inStockSubscription_data: - properties: - type: - description: The resource's type - enum: - - in_stock_subscriptions - attributes: - $ref: '#/components/schemas/GET_in_stock_subscriptions_inStockSubscriptionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/inStockSubscription_data_relationships' - required: - - attributes - - type - inStockSubscriptionCreate_data_relationships_sku: - properties: - data: - $ref: '#/components/schemas/bundle_data_relationships_skus_data' - required: - - data - inStockSubscriptionCreate_data_relationships: - properties: - market: - $ref: '#/components/schemas/billingInfoValidationRuleCreate_data_relationships_market' - customer: - $ref: '#/components/schemas/couponRecipientCreate_data_relationships_customer' - sku: - $ref: '#/components/schemas/inStockSubscriptionCreate_data_relationships_sku' - required: - - customer - - market - - sku - inStockSubscriptionCreate_data: - properties: - type: - description: The resource's type - enum: - - in_stock_subscriptions - attributes: - $ref: '#/components/schemas/POST_in_stock_subscriptions_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/inStockSubscriptionCreate_data_relationships' - required: - - attributes - - type - inStockSubscriptionUpdate_data_relationships: - properties: - market: - $ref: '#/components/schemas/billingInfoValidationRuleCreate_data_relationships_market' - customer: - $ref: '#/components/schemas/couponRecipientCreate_data_relationships_customer' - sku: - $ref: '#/components/schemas/inStockSubscriptionCreate_data_relationships_sku' - inStockSubscriptionUpdate_data: - properties: - type: - description: The resource's type - enum: - - in_stock_subscriptions - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_in_stock_subscriptions_inStockSubscriptionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/inStockSubscriptionUpdate_data_relationships' - required: - - attributes - - id - - type - inventoryModel_data_relationships_inventory_stock_locations_data: - properties: - type: - description: The resource's type - enum: - - inventory_stock_locations - id: - description: The resource's id - example: XGZwpOSrWL - inventoryModel_data_relationships_inventory_stock_locations: - properties: - data: - $ref: '#/components/schemas/inventoryModel_data_relationships_inventory_stock_locations_data' - inventoryModel_data_relationships_inventory_return_locations_data: - properties: - type: - description: The resource's type - enum: - - inventory_return_locations - id: - description: The resource's id - example: XGZwpOSrWL - inventoryModel_data_relationships_inventory_return_locations: - properties: - data: - $ref: '#/components/schemas/inventoryModel_data_relationships_inventory_return_locations_data' - inventoryModel_data_relationships: - properties: - inventory_stock_locations: - $ref: '#/components/schemas/inventoryModel_data_relationships_inventory_stock_locations' - inventory_return_locations: - $ref: '#/components/schemas/inventoryModel_data_relationships_inventory_return_locations' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - inventoryModel_data: - properties: - type: - description: The resource's type - enum: - - inventory_models - attributes: - $ref: '#/components/schemas/GET_inventory_models_inventoryModelId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/inventoryModel_data_relationships' - required: - - attributes - - type - inventoryModelCreate_data: - properties: - type: - description: The resource's type - enum: - - inventory_models - attributes: - $ref: '#/components/schemas/POST_inventory_models_201_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - type - inventoryModelUpdate_data: - properties: - type: - description: The resource's type - enum: - - inventory_models - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_inventory_models_inventoryModelId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - inventoryReturnLocation_data_relationships_inventory_model_data: - properties: - type: - description: The resource's type - enum: - - inventory_models - id: - description: The resource's id - example: XGZwpOSrWL - inventoryReturnLocation_data_relationships_inventory_model: - properties: - data: - $ref: '#/components/schemas/inventoryReturnLocation_data_relationships_inventory_model_data' - inventoryReturnLocation_data_relationships: - properties: - stock_location: - $ref: '#/components/schemas/deliveryLeadTime_data_relationships_stock_location' - inventory_model: - $ref: '#/components/schemas/inventoryReturnLocation_data_relationships_inventory_model' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - inventoryReturnLocation_data: - properties: - type: - description: The resource's type - enum: - - inventory_return_locations - attributes: - $ref: '#/components/schemas/GET_inventory_return_locations_inventoryReturnLocationId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/inventoryReturnLocation_data_relationships' - required: - - attributes - - type - inventoryReturnLocationCreate_data_relationships_inventory_model: - properties: - data: - $ref: '#/components/schemas/inventoryReturnLocation_data_relationships_inventory_model_data' - required: - - data - inventoryReturnLocationCreate_data_relationships: - properties: - stock_location: - $ref: '#/components/schemas/deliveryLeadTimeCreate_data_relationships_stock_location' - inventory_model: - $ref: '#/components/schemas/inventoryReturnLocationCreate_data_relationships_inventory_model' - required: - - inventory_model - - stock_location - inventoryReturnLocationCreate_data: - properties: - type: - description: The resource's type - enum: - - inventory_return_locations - attributes: - $ref: '#/components/schemas/POST_inventory_return_locations_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/inventoryReturnLocationCreate_data_relationships' - required: - - attributes - - type - inventoryReturnLocationUpdate_data_relationships: - properties: - stock_location: - $ref: '#/components/schemas/deliveryLeadTimeCreate_data_relationships_stock_location' - inventory_model: - $ref: '#/components/schemas/inventoryReturnLocationCreate_data_relationships_inventory_model' - inventoryReturnLocationUpdate_data: - properties: - type: - description: The resource's type - enum: - - inventory_return_locations - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_inventory_return_locations_inventoryReturnLocationId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/inventoryReturnLocationUpdate_data_relationships' - required: - - attributes - - id - - type - inventoryStockLocation_data: - properties: - type: - description: The resource's type - enum: - - inventory_stock_locations - attributes: - $ref: '#/components/schemas/GET_inventory_stock_locations_inventoryStockLocationId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/inventoryReturnLocation_data_relationships' - required: - - attributes - - type - inventoryStockLocationCreate_data: - properties: - type: - description: The resource's type - enum: - - inventory_stock_locations - attributes: - $ref: '#/components/schemas/POST_inventory_stock_locations_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/inventoryReturnLocationCreate_data_relationships' - required: - - attributes - - type - inventoryStockLocationUpdate_data: - properties: - type: - description: The resource's type - enum: - - inventory_stock_locations - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_inventory_stock_locations_inventoryStockLocationId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/inventoryReturnLocationUpdate_data_relationships' - required: - - attributes - - id - - type - klarnaGateway_data_relationships_klarna_payments_data: - properties: - type: - description: The resource's type - enum: - - klarna_payments - id: - description: The resource's id - example: XGZwpOSrWL - klarnaGateway_data_relationships_klarna_payments: - properties: - data: - $ref: '#/components/schemas/klarnaGateway_data_relationships_klarna_payments_data' - klarnaGateway_data_relationships: - properties: - payment_methods: - $ref: '#/components/schemas/adyenGateway_data_relationships_payment_methods' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - klarna_payments: - $ref: '#/components/schemas/klarnaGateway_data_relationships_klarna_payments' - klarnaGateway_data: - properties: - type: - description: The resource's type - enum: - - klarna_gateways - attributes: - $ref: '#/components/schemas/GET_klarna_gateways_klarnaGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/klarnaGateway_data_relationships' - required: - - attributes - - type - klarnaGatewayCreate_data_relationships_klarna_payments: - properties: - data: - $ref: '#/components/schemas/klarnaGateway_data_relationships_klarna_payments_data' - required: - - data - klarnaGatewayCreate_data_relationships: - properties: - klarna_payments: - $ref: '#/components/schemas/klarnaGatewayCreate_data_relationships_klarna_payments' - klarnaGatewayCreate_data: - properties: - type: - description: The resource's type - enum: - - klarna_gateways - attributes: - $ref: '#/components/schemas/POST_klarna_gateways_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/klarnaGatewayCreate_data_relationships' - required: - - attributes - - type - klarnaGatewayUpdate_data: - properties: - type: - description: The resource's type - enum: - - klarna_gateways - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_klarna_gateways_klarnaGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/klarnaGatewayCreate_data_relationships' - required: - - attributes - - id - - type - klarnaPayment_data: - properties: - type: - description: The resource's type - enum: - - klarna_payments - attributes: - $ref: '#/components/schemas/GET_klarna_payments_klarnaPaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenPayment_data_relationships' - required: - - attributes - - type - klarnaPaymentCreate_data: - properties: - type: - description: The resource's type - enum: - - klarna_payments - attributes: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenPaymentCreate_data_relationships' - required: - - attributes - - type - klarnaPaymentUpdate_data: - properties: - type: - description: The resource's type - enum: - - klarna_payments - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_klarna_payments_klarnaPaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenPaymentUpdate_data_relationships' - required: - - attributes - - id - - type - lineItemOption_data_relationships_line_item_data: - properties: - type: - description: The resource's type - enum: - - line_items - id: - description: The resource's id - example: XGZwpOSrWL - lineItemOption_data_relationships_line_item: - properties: - data: - $ref: '#/components/schemas/lineItemOption_data_relationships_line_item_data' - lineItemOption_data_relationships_sku_option_data: - properties: - type: - description: The resource's type - enum: - - sku_options - id: - description: The resource's id - example: XGZwpOSrWL - lineItemOption_data_relationships_sku_option: - properties: - data: - $ref: '#/components/schemas/lineItemOption_data_relationships_sku_option_data' - lineItemOption_data_relationships: - properties: - line_item: - $ref: '#/components/schemas/lineItemOption_data_relationships_line_item' - sku_option: - $ref: '#/components/schemas/lineItemOption_data_relationships_sku_option' - events: - $ref: '#/components/schemas/address_data_relationships_events' - tags: - $ref: '#/components/schemas/address_data_relationships_tags' - lineItemOption_data: - properties: - type: - description: The resource's type - enum: - - line_item_options - attributes: - $ref: '#/components/schemas/GET_line_item_options_lineItemOptionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/lineItemOption_data_relationships' - required: - - attributes - - type - lineItemOptionCreate_data_relationships_line_item: - properties: - data: - $ref: '#/components/schemas/lineItemOption_data_relationships_line_item_data' - required: - - data - lineItemOptionCreate_data_relationships_sku_option: - properties: - data: - $ref: '#/components/schemas/lineItemOption_data_relationships_sku_option_data' - required: - - data - lineItemOptionCreate_data_relationships: - properties: - line_item: - $ref: '#/components/schemas/lineItemOptionCreate_data_relationships_line_item' - sku_option: - $ref: '#/components/schemas/lineItemOptionCreate_data_relationships_sku_option' - tags: - $ref: '#/components/schemas/addressCreate_data_relationships_tags' - required: - - line_item - - sku_option - lineItemOptionCreate_data: - properties: - type: - description: The resource's type - enum: - - line_item_options - attributes: - $ref: '#/components/schemas/POST_line_item_options_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/lineItemOptionCreate_data_relationships' - required: - - attributes - - type - lineItemOptionUpdate_data_relationships: - properties: - sku_option: - $ref: '#/components/schemas/lineItemOptionCreate_data_relationships_sku_option' - tags: - $ref: '#/components/schemas/addressCreate_data_relationships_tags' - lineItemOptionUpdate_data: - properties: - type: - description: The resource's type - enum: - - line_item_options - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_line_item_options_lineItemOptionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/lineItemOptionUpdate_data_relationships' - required: - - attributes - - id - - type - lineItem_data_relationships_item_data: - properties: - type: - description: The resource's type - enum: - - skus - - bundles - - gift_cards - - shipments - - payment_methods - - adjustments - - percentage_discount_promotions - - free_shipping_promotions - - buy_x_pay_y_promotions - - free_gift_promotions - - fixed_price_promotions - - external_promotions - - fixed_amount_promotions - - flex_promotions - id: - description: The resource's id - example: XGZwpOSrWL - lineItem_data_relationships_item: - oneOf: - - $ref: '#/components/schemas/sku' - - $ref: '#/components/schemas/bundle' - - $ref: '#/components/schemas/giftCard' - - $ref: '#/components/schemas/shipment' - - $ref: '#/components/schemas/paymentMethod' - - $ref: '#/components/schemas/adjustment' - - $ref: '#/components/schemas/percentageDiscountPromotion' - - $ref: '#/components/schemas/freeShippingPromotion' - - $ref: '#/components/schemas/buyXPayYPromotion' - - $ref: '#/components/schemas/freeGiftPromotion' - - $ref: '#/components/schemas/fixedPricePromotion' - - $ref: '#/components/schemas/externalPromotion' - - $ref: '#/components/schemas/fixedAmountPromotion' - - $ref: '#/components/schemas/flexPromotion' - properties: - data: - $ref: '#/components/schemas/lineItem_data_relationships_item_data' - lineItem_data_relationships_bundle_data: - properties: - type: - description: The resource's type - enum: - - bundles - id: - description: The resource's id - example: XGZwpOSrWL - lineItem_data_relationships_bundle: - properties: - data: - $ref: '#/components/schemas/lineItem_data_relationships_bundle_data' - lineItem_data_relationships_adjustment_data: - properties: - type: - description: The resource's type - enum: - - adjustments - id: - description: The resource's id - example: XGZwpOSrWL - lineItem_data_relationships_adjustment: - properties: - data: - $ref: '#/components/schemas/lineItem_data_relationships_adjustment_data' - lineItem_data_relationships_gift_card_data: - properties: - type: - description: The resource's type - enum: - - gift_cards - id: - description: The resource's id - example: XGZwpOSrWL - lineItem_data_relationships_gift_card: - properties: - data: - $ref: '#/components/schemas/lineItem_data_relationships_gift_card_data' - lineItem_data_relationships_shipment_data: - properties: - type: - description: The resource's type - enum: - - shipments - id: - description: The resource's id - example: XGZwpOSrWL - lineItem_data_relationships_shipment: - properties: - data: - $ref: '#/components/schemas/lineItem_data_relationships_shipment_data' - lineItem_data_relationships_line_item_options_data: - properties: - type: - description: The resource's type - enum: - - line_item_options - id: - description: The resource's id - example: XGZwpOSrWL - lineItem_data_relationships_line_item_options: - properties: - data: - $ref: '#/components/schemas/lineItem_data_relationships_line_item_options_data' - lineItem_data_relationships_return_line_items_data: - properties: - type: - description: The resource's type - enum: - - return_line_items - id: - description: The resource's id - example: XGZwpOSrWL - lineItem_data_relationships_return_line_items: - properties: - data: - $ref: '#/components/schemas/lineItem_data_relationships_return_line_items_data' - lineItem_data_relationships_stock_reservations_data: - properties: - type: - description: The resource's type - enum: - - stock_reservations - id: - description: The resource's id - example: XGZwpOSrWL - lineItem_data_relationships_stock_reservations: - properties: - data: - $ref: '#/components/schemas/lineItem_data_relationships_stock_reservations_data' - lineItem_data_relationships_stock_line_items_data: - properties: - type: - description: The resource's type - enum: - - stock_line_items - id: - description: The resource's id - example: XGZwpOSrWL - lineItem_data_relationships_stock_line_items: - properties: - data: - $ref: '#/components/schemas/lineItem_data_relationships_stock_line_items_data' - lineItem_data_relationships_stock_transfers_data: - properties: - type: - description: The resource's type - enum: - - stock_transfers - id: - description: The resource's id - example: XGZwpOSrWL - lineItem_data_relationships_stock_transfers: - properties: - data: - $ref: '#/components/schemas/lineItem_data_relationships_stock_transfers_data' - lineItem_data_relationships: - properties: - order: - $ref: '#/components/schemas/adyenPayment_data_relationships_order' - item: - $ref: '#/components/schemas/lineItem_data_relationships_item' - sku: - $ref: '#/components/schemas/bundle_data_relationships_skus' - bundle: - $ref: '#/components/schemas/lineItem_data_relationships_bundle' - adjustment: - $ref: '#/components/schemas/lineItem_data_relationships_adjustment' - gift_card: - $ref: '#/components/schemas/lineItem_data_relationships_gift_card' - shipment: - $ref: '#/components/schemas/lineItem_data_relationships_shipment' - payment_method: - $ref: '#/components/schemas/adyenGateway_data_relationships_payment_methods' - line_item_options: - $ref: '#/components/schemas/lineItem_data_relationships_line_item_options' - return_line_items: - $ref: '#/components/schemas/lineItem_data_relationships_return_line_items' - stock_reservations: - $ref: '#/components/schemas/lineItem_data_relationships_stock_reservations' - stock_line_items: - $ref: '#/components/schemas/lineItem_data_relationships_stock_line_items' - stock_transfers: - $ref: '#/components/schemas/lineItem_data_relationships_stock_transfers' - events: - $ref: '#/components/schemas/address_data_relationships_events' - tags: - $ref: '#/components/schemas/address_data_relationships_tags' - lineItem_data: - properties: - type: - description: The resource's type - enum: - - line_items - attributes: - $ref: '#/components/schemas/GET_line_items_lineItemId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/lineItem_data_relationships' - required: - - attributes - - type - lineItemCreate_data_relationships_item: - oneOf: - - $ref: '#/components/schemas/sku' - - $ref: '#/components/schemas/bundle' - - $ref: '#/components/schemas/giftCard' - - $ref: '#/components/schemas/shipment' - - $ref: '#/components/schemas/paymentMethod' - - $ref: '#/components/schemas/adjustment' - - $ref: '#/components/schemas/percentageDiscountPromotion' - - $ref: '#/components/schemas/freeShippingPromotion' - - $ref: '#/components/schemas/buyXPayYPromotion' - - $ref: '#/components/schemas/freeGiftPromotion' - - $ref: '#/components/schemas/fixedPricePromotion' - - $ref: '#/components/schemas/externalPromotion' - - $ref: '#/components/schemas/fixedAmountPromotion' - - $ref: '#/components/schemas/flexPromotion' - properties: - data: - $ref: '#/components/schemas/lineItem_data_relationships_item_data' - required: - - data - lineItemCreate_data_relationships: - properties: - order: - $ref: '#/components/schemas/adyenPaymentCreate_data_relationships_order' - item: - $ref: '#/components/schemas/lineItemCreate_data_relationships_item' - tags: - $ref: '#/components/schemas/addressCreate_data_relationships_tags' - required: - - order - lineItemCreate_data: - properties: - type: - description: The resource's type - enum: - - line_items - attributes: - $ref: '#/components/schemas/POST_line_items_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/lineItemCreate_data_relationships' - required: - - attributes - - type - lineItemUpdate_data: - properties: - type: - description: The resource's type - enum: - - line_items - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_line_items_lineItemId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/bundleUpdate_data_relationships' - required: - - attributes - - id - - type - link_data_relationships_item_data: - properties: - type: - description: The resource's type - enum: - - orders - - skus - - sku_lists - id: - description: The resource's id - example: XGZwpOSrWL - link_data_relationships_item: - oneOf: - - $ref: '#/components/schemas/order' - - $ref: '#/components/schemas/sku' - - $ref: '#/components/schemas/skuList' - properties: - data: - $ref: '#/components/schemas/link_data_relationships_item_data' - link_data_relationships: - properties: - item: - $ref: '#/components/schemas/link_data_relationships_item' - events: - $ref: '#/components/schemas/address_data_relationships_events' - link_data: - properties: - type: - description: The resource's type - enum: - - links - attributes: - $ref: '#/components/schemas/GET_links_linkId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/link_data_relationships' - required: - - attributes - - type - linkCreate_data_relationships_item: - oneOf: - - $ref: '#/components/schemas/order' - - $ref: '#/components/schemas/sku' - - $ref: '#/components/schemas/skuList' - properties: - data: - $ref: '#/components/schemas/link_data_relationships_item_data' - required: - - data - linkCreate_data_relationships: - properties: - item: - $ref: '#/components/schemas/linkCreate_data_relationships_item' - required: - - item - linkCreate_data: - properties: - type: - description: The resource's type - enum: - - links - attributes: - $ref: '#/components/schemas/POST_links_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/linkCreate_data_relationships' - required: - - attributes - - type - linkUpdate_data_relationships: - properties: - item: - $ref: '#/components/schemas/linkCreate_data_relationships_item' - linkUpdate_data: - properties: - type: - description: The resource's type - enum: - - links - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_links_linkId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/linkUpdate_data_relationships' - required: - - attributes - - id - - type - manualGateway_data_relationships: - properties: - payment_methods: - $ref: '#/components/schemas/adyenGateway_data_relationships_payment_methods' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - manualGateway_data: - properties: - type: - description: The resource's type - enum: - - manual_gateways - attributes: - $ref: '#/components/schemas/GET_klarna_gateways_klarnaGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/manualGateway_data_relationships' - required: - - attributes - - type - manualGatewayCreate_data: - properties: - type: - description: The resource's type - enum: - - manual_gateways - attributes: - $ref: '#/components/schemas/POST_manual_gateways_201_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - type - manualGatewayUpdate_data: - properties: - type: - description: The resource's type - enum: - - manual_gateways - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_manual_gateways_manualGatewayId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - manualTaxCalculator_data_relationships_tax_rules_data: - properties: - type: - description: The resource's type - enum: - - tax_rules - id: - description: The resource's id - example: XGZwpOSrWL - manualTaxCalculator_data_relationships_tax_rules: - properties: - data: - $ref: '#/components/schemas/manualTaxCalculator_data_relationships_tax_rules_data' - manualTaxCalculator_data_relationships: - properties: - markets: - $ref: '#/components/schemas/avalaraAccount_data_relationships_markets' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - tax_rules: - $ref: '#/components/schemas/manualTaxCalculator_data_relationships_tax_rules' - manualTaxCalculator_data: - properties: - type: - description: The resource's type - enum: - - manual_tax_calculators - attributes: - $ref: '#/components/schemas/GET_manual_tax_calculators_manualTaxCalculatorId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/manualTaxCalculator_data_relationships' - required: - - attributes - - type - manualTaxCalculatorCreate_data_relationships_tax_rules: - properties: - data: - $ref: '#/components/schemas/manualTaxCalculator_data_relationships_tax_rules_data' - required: - - data - manualTaxCalculatorCreate_data_relationships: - properties: - tax_rules: - $ref: '#/components/schemas/manualTaxCalculatorCreate_data_relationships_tax_rules' - manualTaxCalculatorCreate_data: - properties: - type: - description: The resource's type - enum: - - manual_tax_calculators - attributes: - $ref: '#/components/schemas/POST_manual_tax_calculators_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/manualTaxCalculatorCreate_data_relationships' - required: - - attributes - - type - manualTaxCalculatorUpdate_data: - properties: - type: - description: The resource's type - enum: - - manual_tax_calculators - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_manual_tax_calculators_manualTaxCalculatorId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/manualTaxCalculatorCreate_data_relationships' - required: - - attributes - - id - - type - market_data_relationships_merchant_data: - properties: - type: - description: The resource's type - enum: - - merchants - id: - description: The resource's id - example: XGZwpOSrWL - market_data_relationships_merchant: - properties: - data: - $ref: '#/components/schemas/market_data_relationships_merchant_data' - market_data_relationships_price_list_data: - properties: - type: - description: The resource's type - enum: - - price_lists - id: - description: The resource's id - example: XGZwpOSrWL - market_data_relationships_price_list: - properties: - data: - $ref: '#/components/schemas/market_data_relationships_price_list_data' - market_data_relationships_subscription_model_data: - properties: - type: - description: The resource's type - enum: - - subscription_models - id: - description: The resource's id - example: XGZwpOSrWL - market_data_relationships_subscription_model: - properties: - data: - $ref: '#/components/schemas/market_data_relationships_subscription_model_data' - market_data_relationships_tax_calculator_data: - properties: - type: - description: The resource's type - enum: - - avalara_accounts - - taxjar_accounts - - manual_tax_calculators - - external_tax_calculators - id: - description: The resource's id - example: XGZwpOSrWL - market_data_relationships_tax_calculator: - oneOf: - - $ref: '#/components/schemas/avalaraAccount' - - $ref: '#/components/schemas/taxjarAccount' - - $ref: '#/components/schemas/manualTaxCalculator' - - $ref: '#/components/schemas/externalTaxCalculator' - properties: - data: - $ref: '#/components/schemas/market_data_relationships_tax_calculator_data' - market_data_relationships_price_list_schedulers_data: - properties: - type: - description: The resource's type - enum: - - price_list_schedulers - id: - description: The resource's id - example: XGZwpOSrWL - market_data_relationships_price_list_schedulers: - properties: - data: - $ref: '#/components/schemas/market_data_relationships_price_list_schedulers_data' - market_data_relationships: - properties: - merchant: - $ref: '#/components/schemas/market_data_relationships_merchant' - price_list: - $ref: '#/components/schemas/market_data_relationships_price_list' - base_price_list: - $ref: '#/components/schemas/market_data_relationships_price_list' - inventory_model: - $ref: '#/components/schemas/inventoryReturnLocation_data_relationships_inventory_model' - subscription_model: - $ref: '#/components/schemas/market_data_relationships_subscription_model' - tax_calculator: - $ref: '#/components/schemas/market_data_relationships_tax_calculator' - customer_group: - $ref: '#/components/schemas/customer_data_relationships_customer_group' - geocoder: - $ref: '#/components/schemas/address_data_relationships_geocoder' - price_list_schedulers: - $ref: '#/components/schemas/market_data_relationships_price_list_schedulers' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - market_data: - properties: - type: - description: The resource's type - enum: - - markets - attributes: - $ref: '#/components/schemas/GET_markets_marketId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/market_data_relationships' - required: - - attributes - - type - marketCreate_data_relationships_merchant: - properties: - data: - $ref: '#/components/schemas/market_data_relationships_merchant_data' - required: - - data - marketCreate_data_relationships_price_list: - properties: - data: - $ref: '#/components/schemas/market_data_relationships_price_list_data' - required: - - data - marketCreate_data_relationships_subscription_model: - properties: - data: - $ref: '#/components/schemas/market_data_relationships_subscription_model_data' - required: - - data - marketCreate_data_relationships_tax_calculator: - oneOf: - - $ref: '#/components/schemas/avalaraAccount' - - $ref: '#/components/schemas/taxjarAccount' - - $ref: '#/components/schemas/manualTaxCalculator' - - $ref: '#/components/schemas/externalTaxCalculator' - properties: - data: - $ref: '#/components/schemas/market_data_relationships_tax_calculator_data' - required: - - data - marketCreate_data_relationships: - properties: - merchant: - $ref: '#/components/schemas/marketCreate_data_relationships_merchant' - price_list: - $ref: '#/components/schemas/marketCreate_data_relationships_price_list' - inventory_model: - $ref: '#/components/schemas/inventoryReturnLocationCreate_data_relationships_inventory_model' - subscription_model: - $ref: '#/components/schemas/marketCreate_data_relationships_subscription_model' - tax_calculator: - $ref: '#/components/schemas/marketCreate_data_relationships_tax_calculator' - customer_group: - $ref: '#/components/schemas/customerCreate_data_relationships_customer_group' - geocoder: - $ref: '#/components/schemas/addressCreate_data_relationships_geocoder' - required: - - inventory_model - - merchant - - price_list - marketCreate_data: - properties: - type: - description: The resource's type - enum: - - markets - attributes: - $ref: '#/components/schemas/POST_markets_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/marketCreate_data_relationships' - required: - - attributes - - type - marketUpdate_data_relationships: - properties: - merchant: - $ref: '#/components/schemas/marketCreate_data_relationships_merchant' - price_list: - $ref: '#/components/schemas/marketCreate_data_relationships_price_list' - inventory_model: - $ref: '#/components/schemas/inventoryReturnLocationCreate_data_relationships_inventory_model' - subscription_model: - $ref: '#/components/schemas/marketCreate_data_relationships_subscription_model' - tax_calculator: - $ref: '#/components/schemas/marketCreate_data_relationships_tax_calculator' - customer_group: - $ref: '#/components/schemas/customerCreate_data_relationships_customer_group' - geocoder: - $ref: '#/components/schemas/addressCreate_data_relationships_geocoder' - marketUpdate_data: - properties: - type: - description: The resource's type - enum: - - markets - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_markets_marketId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/marketUpdate_data_relationships' - required: - - attributes - - id - - type - merchant_data_relationships: - properties: - address: - $ref: '#/components/schemas/bingGeocoder_data_relationships_addresses' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - merchant_data: - properties: - type: - description: The resource's type - enum: - - merchants - attributes: - $ref: '#/components/schemas/GET_merchants_merchantId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/merchant_data_relationships' - required: - - attributes - - type - merchantCreate_data_relationships: - properties: - address: - $ref: '#/components/schemas/customerAddressCreate_data_relationships_address' - required: - - address - merchantCreate_data: - properties: - type: - description: The resource's type - enum: - - merchants - attributes: - $ref: '#/components/schemas/POST_merchants_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/merchantCreate_data_relationships' - required: - - attributes - - type - merchantUpdate_data_relationships: - properties: - address: - $ref: '#/components/schemas/customerAddressCreate_data_relationships_address' - merchantUpdate_data: - properties: - type: - description: The resource's type - enum: - - merchants - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_merchants_merchantId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/merchantUpdate_data_relationships' - required: - - attributes - - id - - type - orderAmountPromotionRule_data: - properties: - type: - description: The resource's type - enum: - - order_amount_promotion_rules - attributes: - $ref: '#/components/schemas/GET_order_amount_promotion_rules_orderAmountPromotionRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/customPromotionRule_data_relationships' - required: - - attributes - - type - orderAmountPromotionRuleCreate_data: - properties: - type: - description: The resource's type - enum: - - order_amount_promotion_rules - attributes: - $ref: '#/components/schemas/POST_order_amount_promotion_rules_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/customPromotionRuleCreate_data_relationships' - required: - - attributes - - type - orderAmountPromotionRuleUpdate_data: - properties: - type: - description: The resource's type - enum: - - order_amount_promotion_rules - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_order_amount_promotion_rules_orderAmountPromotionRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/customPromotionRuleUpdate_data_relationships' - required: - - attributes - - id - - type - orderCopy_data_relationships: - properties: - source_order: - $ref: '#/components/schemas/adyenPayment_data_relationships_order' - target_order: - $ref: '#/components/schemas/adyenPayment_data_relationships_order' - events: - $ref: '#/components/schemas/address_data_relationships_events' - order_subscription: - $ref: '#/components/schemas/customer_data_relationships_order_subscriptions' - orderCopy_data: - properties: - type: - description: The resource's type - enum: - - order_copies - attributes: - $ref: '#/components/schemas/GET_order_copies_orderCopyId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/orderCopy_data_relationships' - required: - - attributes - - type - orderCopyCreate_data_relationships: - properties: - source_order: - $ref: '#/components/schemas/adyenPaymentCreate_data_relationships_order' - required: - - source_order - orderCopyCreate_data: - properties: - type: - description: The resource's type - enum: - - order_copies - attributes: - $ref: '#/components/schemas/POST_order_copies_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/orderCopyCreate_data_relationships' - required: - - attributes - - type - orderCopyUpdate_data: - properties: - type: - description: The resource's type - enum: - - order_copies - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_billing_info_validation_rules_billingInfoValidationRuleId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - orderFactory_data_relationships: - properties: - source_order: - $ref: '#/components/schemas/adyenPayment_data_relationships_order' - target_order: - $ref: '#/components/schemas/adyenPayment_data_relationships_order' - events: - $ref: '#/components/schemas/address_data_relationships_events' - orderFactory_data: - properties: - type: - description: The resource's type - enum: - - order_factories - attributes: - $ref: '#/components/schemas/GET_order_factories_orderFactoryId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/orderFactory_data_relationships' - required: - - attributes - - type - orderSubscriptionItem_data_relationships_item_data: - properties: - type: - description: The resource's type - enum: - - skus - - bundles - - adjustments - id: - description: The resource's id - example: XGZwpOSrWL - orderSubscriptionItem_data_relationships_item: - oneOf: - - $ref: '#/components/schemas/sku' - - $ref: '#/components/schemas/bundle' - - $ref: '#/components/schemas/adjustment' - properties: - data: - $ref: '#/components/schemas/orderSubscriptionItem_data_relationships_item_data' - orderSubscriptionItem_data_relationships: - properties: - order_subscription: - $ref: '#/components/schemas/customer_data_relationships_order_subscriptions' - item: - $ref: '#/components/schemas/orderSubscriptionItem_data_relationships_item' - sku: - $ref: '#/components/schemas/bundle_data_relationships_skus' - bundle: - $ref: '#/components/schemas/lineItem_data_relationships_bundle' - adjustment: - $ref: '#/components/schemas/lineItem_data_relationships_adjustment' - source_line_item: - $ref: '#/components/schemas/lineItemOption_data_relationships_line_item' - orderSubscriptionItem_data: - properties: - type: - description: The resource's type - enum: - - order_subscription_items - attributes: - $ref: '#/components/schemas/GET_order_subscription_items_orderSubscriptionItemId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/orderSubscriptionItem_data_relationships' - required: - - attributes - - type - orderSubscriptionItemCreate_data_relationships_order_subscription: - properties: - data: - $ref: '#/components/schemas/customer_data_relationships_order_subscriptions_data' - required: - - data - orderSubscriptionItemCreate_data_relationships_item: - oneOf: - - $ref: '#/components/schemas/sku' - - $ref: '#/components/schemas/bundle' - - $ref: '#/components/schemas/adjustment' - properties: - data: - $ref: '#/components/schemas/orderSubscriptionItem_data_relationships_item_data' - required: - - data - orderSubscriptionItemCreate_data_relationships_bundle: - properties: - data: - $ref: '#/components/schemas/lineItem_data_relationships_bundle_data' - required: - - data - orderSubscriptionItemCreate_data_relationships_adjustment: - properties: - data: - $ref: '#/components/schemas/lineItem_data_relationships_adjustment_data' - required: - - data - orderSubscriptionItemCreate_data_relationships: - properties: - order_subscription: - $ref: '#/components/schemas/orderSubscriptionItemCreate_data_relationships_order_subscription' - item: - $ref: '#/components/schemas/orderSubscriptionItemCreate_data_relationships_item' - sku: - $ref: '#/components/schemas/inStockSubscriptionCreate_data_relationships_sku' - bundle: - $ref: '#/components/schemas/orderSubscriptionItemCreate_data_relationships_bundle' - adjustment: - $ref: '#/components/schemas/orderSubscriptionItemCreate_data_relationships_adjustment' - required: - - item - - order_subscription - orderSubscriptionItemCreate_data: - properties: - type: - description: The resource's type - enum: - - order_subscription_items - attributes: - $ref: '#/components/schemas/POST_order_subscription_items_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/orderSubscriptionItemCreate_data_relationships' - required: - - attributes - - type - orderSubscriptionItemUpdate_data: - properties: - type: - description: The resource's type - enum: - - order_subscription_items - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_order_subscription_items_orderSubscriptionItemId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - orderSubscription_data_relationships_order_subscription_items_data: - properties: - type: - description: The resource's type - enum: - - order_subscription_items - id: - description: The resource's id - example: XGZwpOSrWL - orderSubscription_data_relationships_order_subscription_items: - properties: - data: - $ref: '#/components/schemas/orderSubscription_data_relationships_order_subscription_items_data' - orderSubscription_data_relationships_order_factories_data: - properties: - type: - description: The resource's type - enum: - - order_factories - id: - description: The resource's id - example: XGZwpOSrWL - orderSubscription_data_relationships_order_factories: - properties: - data: - $ref: '#/components/schemas/orderSubscription_data_relationships_order_factories_data' - orderSubscription_data_relationships_recurring_order_copies_data: - properties: - type: - description: The resource's type - enum: - - recurring_order_copies - id: - description: The resource's id - example: XGZwpOSrWL - orderSubscription_data_relationships_recurring_order_copies: - properties: - data: - $ref: '#/components/schemas/orderSubscription_data_relationships_recurring_order_copies_data' - orderSubscription_data_relationships: - properties: - market: - $ref: '#/components/schemas/avalaraAccount_data_relationships_markets' - subscription_model: - $ref: '#/components/schemas/market_data_relationships_subscription_model' - source_order: - $ref: '#/components/schemas/adyenPayment_data_relationships_order' - customer: - $ref: '#/components/schemas/couponRecipient_data_relationships_customer' - customer_payment_source: - $ref: '#/components/schemas/customer_data_relationships_customer_payment_sources' - order_subscription_items: - $ref: '#/components/schemas/orderSubscription_data_relationships_order_subscription_items' - order_factories: - $ref: '#/components/schemas/orderSubscription_data_relationships_order_factories' - recurring_order_copies: - $ref: '#/components/schemas/orderSubscription_data_relationships_recurring_order_copies' - orders: - $ref: '#/components/schemas/adyenPayment_data_relationships_order' - events: - $ref: '#/components/schemas/address_data_relationships_events' - tags: - $ref: '#/components/schemas/address_data_relationships_tags' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - orderSubscription_data: - properties: - type: - description: The resource's type - enum: - - order_subscriptions - attributes: - $ref: '#/components/schemas/GET_order_subscriptions_orderSubscriptionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/orderSubscription_data_relationships' - required: - - attributes - - type - orderSubscriptionCreate_data_relationships: - properties: - market: - $ref: '#/components/schemas/billingInfoValidationRuleCreate_data_relationships_market' - source_order: - $ref: '#/components/schemas/adyenPaymentCreate_data_relationships_order' - tags: - $ref: '#/components/schemas/addressCreate_data_relationships_tags' - required: - - source_order - orderSubscriptionCreate_data: - properties: - type: - description: The resource's type - enum: - - order_subscriptions - attributes: - $ref: '#/components/schemas/POST_order_subscriptions_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/orderSubscriptionCreate_data_relationships' - required: - - attributes - - type - orderSubscriptionUpdate_data_relationships_customer_payment_source: - properties: - data: - $ref: '#/components/schemas/customer_data_relationships_customer_payment_sources_data' - required: - - data - orderSubscriptionUpdate_data_relationships: - properties: - customer_payment_source: - $ref: '#/components/schemas/orderSubscriptionUpdate_data_relationships_customer_payment_source' - tags: - $ref: '#/components/schemas/addressCreate_data_relationships_tags' - orderSubscriptionUpdate_data: - properties: - type: - description: The resource's type - enum: - - order_subscriptions - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_order_subscriptions_orderSubscriptionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/orderSubscriptionUpdate_data_relationships' - required: - - attributes - - id - - type - order_data_relationships_payment_options_data: - properties: - type: - description: The resource's type - enum: - - payment_options - id: - description: The resource's id - example: XGZwpOSrWL - order_data_relationships_payment_options: - properties: - data: - $ref: '#/components/schemas/order_data_relationships_payment_options_data' - order_data_relationships_transactions_data: - properties: - type: - description: The resource's type - enum: - - authorizations - - voids - - captures - - refunds - id: - description: The resource's id - example: XGZwpOSrWL - order_data_relationships_transactions: - oneOf: - - $ref: '#/components/schemas/authorization' - - $ref: '#/components/schemas/void' - - $ref: '#/components/schemas/capture' - - $ref: '#/components/schemas/refund' - properties: - data: - $ref: '#/components/schemas/order_data_relationships_transactions_data' - order_data_relationships_order_copies_data: - properties: - type: - description: The resource's type - enum: - - order_copies - id: - description: The resource's id - example: XGZwpOSrWL - order_data_relationships_order_copies: - properties: - data: - $ref: '#/components/schemas/order_data_relationships_order_copies_data' - order_data_relationships_links_data: - properties: - type: - description: The resource's type - enum: - - links - id: - description: The resource's id - example: XGZwpOSrWL - order_data_relationships_links: - properties: - data: - $ref: '#/components/schemas/order_data_relationships_links_data' - order_data_relationships_resource_errors_data: - properties: - type: - description: The resource's type - enum: - - resource_errors - id: - description: The resource's id - example: XGZwpOSrWL - order_data_relationships_resource_errors: - properties: - data: - $ref: '#/components/schemas/order_data_relationships_resource_errors_data' - order_data_relationships: - properties: - market: - $ref: '#/components/schemas/avalaraAccount_data_relationships_markets' - customer: - $ref: '#/components/schemas/couponRecipient_data_relationships_customer' - shipping_address: - $ref: '#/components/schemas/bingGeocoder_data_relationships_addresses' - billing_address: - $ref: '#/components/schemas/bingGeocoder_data_relationships_addresses' - available_payment_methods: - $ref: '#/components/schemas/adyenGateway_data_relationships_payment_methods' - available_customer_payment_sources: - $ref: '#/components/schemas/customer_data_relationships_customer_payment_sources' - available_free_skus: - $ref: '#/components/schemas/bundle_data_relationships_skus' - available_free_bundles: - $ref: '#/components/schemas/lineItem_data_relationships_bundle' - payment_method: - $ref: '#/components/schemas/adyenGateway_data_relationships_payment_methods' - payment_source: - $ref: '#/components/schemas/customerPaymentSource_data_relationships_payment_source' - line_items: - $ref: '#/components/schemas/lineItemOption_data_relationships_line_item' - line_item_options: - $ref: '#/components/schemas/lineItem_data_relationships_line_item_options' - stock_reservations: - $ref: '#/components/schemas/lineItem_data_relationships_stock_reservations' - stock_line_items: - $ref: '#/components/schemas/lineItem_data_relationships_stock_line_items' - stock_transfers: - $ref: '#/components/schemas/lineItem_data_relationships_stock_transfers' - shipments: - $ref: '#/components/schemas/lineItem_data_relationships_shipment' - payment_options: - $ref: '#/components/schemas/order_data_relationships_payment_options' - transactions: - $ref: '#/components/schemas/order_data_relationships_transactions' - authorizations: - $ref: '#/components/schemas/capture_data_relationships_reference_authorization' - captures: - $ref: '#/components/schemas/authorization_data_relationships_captures' - voids: - $ref: '#/components/schemas/authorization_data_relationships_voids' - refunds: - $ref: '#/components/schemas/capture_data_relationships_refunds' - returns: - $ref: '#/components/schemas/capture_data_relationships_return' - order_subscription: - $ref: '#/components/schemas/customer_data_relationships_order_subscriptions' - order_subscriptions: - $ref: '#/components/schemas/customer_data_relationships_order_subscriptions' - order_factories: - $ref: '#/components/schemas/orderSubscription_data_relationships_order_factories' - order_copies: - $ref: '#/components/schemas/order_data_relationships_order_copies' - recurring_order_copies: - $ref: '#/components/schemas/orderSubscription_data_relationships_recurring_order_copies' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - links: - $ref: '#/components/schemas/order_data_relationships_links' - resource_errors: - $ref: '#/components/schemas/order_data_relationships_resource_errors' - events: - $ref: '#/components/schemas/address_data_relationships_events' - tags: - $ref: '#/components/schemas/address_data_relationships_tags' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - order_data: - properties: - type: - description: The resource's type - enum: - - orders - attributes: - $ref: '#/components/schemas/GET_orders_orderId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/order_data_relationships' - required: - - attributes - - type - orderCreate_data_relationships: - properties: - market: - $ref: '#/components/schemas/billingInfoValidationRuleCreate_data_relationships_market' - customer: - $ref: '#/components/schemas/couponRecipientCreate_data_relationships_customer' - shipping_address: - $ref: '#/components/schemas/customerAddressCreate_data_relationships_address' - billing_address: - $ref: '#/components/schemas/customerAddressCreate_data_relationships_address' - payment_method: - $ref: '#/components/schemas/customerPaymentSourceCreate_data_relationships_payment_method' - payment_source: - $ref: '#/components/schemas/customerPaymentSourceCreate_data_relationships_payment_source' - tags: - $ref: '#/components/schemas/addressCreate_data_relationships_tags' - orderCreate_data: - properties: - type: - description: The resource's type - enum: - - orders - attributes: - $ref: '#/components/schemas/POST_orders_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/orderCreate_data_relationships' - required: - - attributes - - type - orderUpdate_data: - properties: - type: - description: The resource's type - enum: - - orders - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_orders_orderId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/orderCreate_data_relationships' - required: - - attributes - - id - - type - organization_data: - properties: - type: - description: The resource's type - enum: - - organization - attributes: - $ref: '#/components/schemas/GET_organization_organizationId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - type - package_data_relationships_parcels_data: - properties: - type: - description: The resource's type - enum: - - parcels - id: - description: The resource's id - example: XGZwpOSrWL - package_data_relationships_parcels: - properties: - data: - $ref: '#/components/schemas/package_data_relationships_parcels_data' - package_data_relationships: - properties: - stock_location: - $ref: '#/components/schemas/deliveryLeadTime_data_relationships_stock_location' - parcels: - $ref: '#/components/schemas/package_data_relationships_parcels' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - package_data: - properties: - type: - description: The resource's type - enum: - - packages - attributes: - $ref: '#/components/schemas/GET_packages_packageId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/package_data_relationships' - required: - - attributes - - type - packageCreate_data_relationships: - properties: - stock_location: - $ref: '#/components/schemas/deliveryLeadTimeCreate_data_relationships_stock_location' - required: - - stock_location - packageCreate_data: - properties: - type: - description: The resource's type - enum: - - packages - attributes: - $ref: '#/components/schemas/POST_packages_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/packageCreate_data_relationships' - required: - - attributes - - type - packageUpdate_data_relationships: - properties: - stock_location: - $ref: '#/components/schemas/deliveryLeadTimeCreate_data_relationships_stock_location' - packageUpdate_data: - properties: - type: - description: The resource's type - enum: - - packages - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_packages_packageId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/packageUpdate_data_relationships' - required: - - attributes - - id - - type - parcelLineItem_data_relationships: - properties: - parcel: - $ref: '#/components/schemas/package_data_relationships_parcels' - stock_line_item: - $ref: '#/components/schemas/lineItem_data_relationships_stock_line_items' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - parcelLineItem_data: - properties: - type: - description: The resource's type - enum: - - parcel_line_items - attributes: - $ref: '#/components/schemas/GET_parcel_line_items_parcelLineItemId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/parcelLineItem_data_relationships' - required: - - attributes - - type - parcelLineItemCreate_data_relationships_parcel: - properties: - data: - $ref: '#/components/schemas/package_data_relationships_parcels_data' - required: - - data - parcelLineItemCreate_data_relationships_stock_line_item: - properties: - data: - $ref: '#/components/schemas/lineItem_data_relationships_stock_line_items_data' - required: - - data - parcelLineItemCreate_data_relationships: - properties: - parcel: - $ref: '#/components/schemas/parcelLineItemCreate_data_relationships_parcel' - stock_line_item: - $ref: '#/components/schemas/parcelLineItemCreate_data_relationships_stock_line_item' - required: - - parcel - - stock_line_item - parcelLineItemCreate_data: - properties: - type: - description: The resource's type - enum: - - parcel_line_items - attributes: - $ref: '#/components/schemas/POST_parcel_line_items_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/parcelLineItemCreate_data_relationships' - required: - - attributes - - type - parcelLineItemUpdate_data: - properties: - type: - description: The resource's type - enum: - - parcel_line_items - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_billing_info_validation_rules_billingInfoValidationRuleId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - parcel_data_relationships_package_data: - properties: - type: - description: The resource's type - enum: - - packages - id: - description: The resource's id - example: XGZwpOSrWL - parcel_data_relationships_package: - properties: - data: - $ref: '#/components/schemas/parcel_data_relationships_package_data' - parcel_data_relationships_parcel_line_items_data: - properties: - type: - description: The resource's type - enum: - - parcel_line_items - id: - description: The resource's id - example: XGZwpOSrWL - parcel_data_relationships_parcel_line_items: - properties: - data: - $ref: '#/components/schemas/parcel_data_relationships_parcel_line_items_data' - parcel_data_relationships: - properties: - shipment: - $ref: '#/components/schemas/lineItem_data_relationships_shipment' - package: - $ref: '#/components/schemas/parcel_data_relationships_package' - parcel_line_items: - $ref: '#/components/schemas/parcel_data_relationships_parcel_line_items' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - events: - $ref: '#/components/schemas/address_data_relationships_events' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - parcel_data: - properties: - type: - description: The resource's type - enum: - - parcels - attributes: - $ref: '#/components/schemas/GET_parcels_parcelId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/parcel_data_relationships' - required: - - attributes - - type - parcelCreate_data_relationships_shipment: - properties: - data: - $ref: '#/components/schemas/lineItem_data_relationships_shipment_data' - required: - - data - parcelCreate_data_relationships_package: - properties: - data: - $ref: '#/components/schemas/parcel_data_relationships_package_data' - required: - - data - parcelCreate_data_relationships: - properties: - shipment: - $ref: '#/components/schemas/parcelCreate_data_relationships_shipment' - package: - $ref: '#/components/schemas/parcelCreate_data_relationships_package' - required: - - package - - shipment - parcelCreate_data: - properties: - type: - description: The resource's type - enum: - - parcels - attributes: - $ref: '#/components/schemas/POST_parcels_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/parcelCreate_data_relationships' - required: - - attributes - - type - parcelUpdate_data_relationships: - properties: - shipment: - $ref: '#/components/schemas/parcelCreate_data_relationships_shipment' - package: - $ref: '#/components/schemas/parcelCreate_data_relationships_package' - parcelUpdate_data: - properties: - type: - description: The resource's type - enum: - - parcels - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_parcels_parcelId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/parcelUpdate_data_relationships' - required: - - attributes - - id - - type - paymentGateway_data: - properties: - type: - description: The resource's type - enum: - - payment_gateways - attributes: - $ref: '#/components/schemas/GET_klarna_gateways_klarnaGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/manualGateway_data_relationships' - required: - - attributes - - type - paymentMethod_data_relationships: - properties: - market: - $ref: '#/components/schemas/avalaraAccount_data_relationships_markets' - payment_gateway: - $ref: '#/components/schemas/adyenPayment_data_relationships_payment_gateway' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - paymentMethod_data: - properties: - type: - description: The resource's type - enum: - - payment_methods - attributes: - $ref: '#/components/schemas/GET_payment_methods_paymentMethodId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/paymentMethod_data_relationships' - required: - - attributes - - type - paymentMethodCreate_data_relationships_payment_gateway: - properties: - data: - $ref: '#/components/schemas/adyenPayment_data_relationships_payment_gateway_data' - required: - - data - paymentMethodCreate_data_relationships: - properties: - market: - $ref: '#/components/schemas/billingInfoValidationRuleCreate_data_relationships_market' - payment_gateway: - $ref: '#/components/schemas/paymentMethodCreate_data_relationships_payment_gateway' - required: - - payment_gateway - paymentMethodCreate_data: - properties: - type: - description: The resource's type - enum: - - payment_methods - attributes: - $ref: '#/components/schemas/POST_payment_methods_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/paymentMethodCreate_data_relationships' - required: - - attributes - - type - paymentMethodUpdate_data_relationships: - properties: - market: - $ref: '#/components/schemas/billingInfoValidationRuleCreate_data_relationships_market' - payment_gateway: - $ref: '#/components/schemas/paymentMethodCreate_data_relationships_payment_gateway' - paymentMethodUpdate_data: - properties: - type: - description: The resource's type - enum: - - payment_methods - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_payment_methods_paymentMethodId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/paymentMethodUpdate_data_relationships' - required: - - attributes - - id - - type - paymentOption_data_relationships: - properties: - order: - $ref: '#/components/schemas/adyenPayment_data_relationships_order' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - paymentOption_data: - properties: - type: - description: The resource's type - enum: - - payment_options - attributes: - $ref: '#/components/schemas/GET_payment_options_paymentOptionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/paymentOption_data_relationships' - required: - - attributes - - type - paymentOptionCreate_data: - properties: - type: - description: The resource's type - enum: - - payment_options - attributes: - $ref: '#/components/schemas/POST_payment_options_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenPaymentCreate_data_relationships' - required: - - attributes - - type - paymentOptionUpdate_data: - properties: - type: - description: The resource's type - enum: - - payment_options - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_payment_options_paymentOptionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenPaymentUpdate_data_relationships' - required: - - attributes - - id - - type - paypalGateway_data_relationships_paypal_payments_data: - properties: - type: - description: The resource's type - enum: - - paypal_payments - id: - description: The resource's id - example: XGZwpOSrWL - paypalGateway_data_relationships_paypal_payments: - properties: - data: - $ref: '#/components/schemas/paypalGateway_data_relationships_paypal_payments_data' - paypalGateway_data_relationships: - properties: - payment_methods: - $ref: '#/components/schemas/adyenGateway_data_relationships_payment_methods' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - paypal_payments: - $ref: '#/components/schemas/paypalGateway_data_relationships_paypal_payments' - paypalGateway_data: - properties: - type: - description: The resource's type - enum: - - paypal_gateways - attributes: - $ref: '#/components/schemas/GET_klarna_gateways_klarnaGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/paypalGateway_data_relationships' - required: - - attributes - - type - paypalGatewayCreate_data: - properties: - type: - description: The resource's type - enum: - - paypal_gateways - attributes: - $ref: '#/components/schemas/POST_paypal_gateways_201_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - type - paypalGatewayUpdate_data: - properties: - type: - description: The resource's type - enum: - - paypal_gateways - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_paypal_gateways_paypalGatewayId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - paypalPayment_data: - properties: - type: - description: The resource's type - enum: - - paypal_payments - attributes: - $ref: '#/components/schemas/GET_paypal_payments_paypalPaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenPayment_data_relationships' - required: - - attributes - - type - paypalPaymentCreate_data: - properties: - type: - description: The resource's type - enum: - - paypal_payments - attributes: - $ref: '#/components/schemas/POST_paypal_payments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenPaymentCreate_data_relationships' - required: - - attributes - - type - paypalPaymentUpdate_data: - properties: - type: - description: The resource's type - enum: - - paypal_payments - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_paypal_payments_paypalPaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenPaymentUpdate_data_relationships' - required: - - attributes - - id - - type - percentageDiscountPromotion_data: - properties: - type: - description: The resource's type - enum: - - percentage_discount_promotions - attributes: - $ref: '#/components/schemas/GET_percentage_discount_promotions_percentageDiscountPromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/buyXPayYPromotion_data_relationships' - required: - - attributes - - type - percentageDiscountPromotionCreate_data: - properties: - type: - description: The resource's type - enum: - - percentage_discount_promotions - attributes: - $ref: '#/components/schemas/POST_percentage_discount_promotions_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/buyXPayYPromotionUpdate_data_relationships' - required: - - attributes - - type - percentageDiscountPromotionUpdate_data: - properties: - type: - description: The resource's type - enum: - - percentage_discount_promotions - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_percentage_discount_promotions_percentageDiscountPromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/buyXPayYPromotionUpdate_data_relationships' - required: - - attributes - - id - - type - priceFrequencyTier_data_relationships_price_data: - properties: - type: - description: The resource's type - enum: - - prices - id: - description: The resource's id - example: XGZwpOSrWL - priceFrequencyTier_data_relationships_price: - properties: - data: - $ref: '#/components/schemas/priceFrequencyTier_data_relationships_price_data' - priceFrequencyTier_data_relationships: - properties: - price: - $ref: '#/components/schemas/priceFrequencyTier_data_relationships_price' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - events: - $ref: '#/components/schemas/address_data_relationships_events' - priceFrequencyTier_data: - properties: - type: - description: The resource's type - enum: - - price_frequency_tiers - attributes: - $ref: '#/components/schemas/GET_price_frequency_tiers_priceFrequencyTierId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/priceFrequencyTier_data_relationships' - required: - - attributes - - type - priceFrequencyTierCreate_data_relationships_price: - properties: - data: - $ref: '#/components/schemas/priceFrequencyTier_data_relationships_price_data' - required: - - data - priceFrequencyTierCreate_data_relationships: - properties: - price: - $ref: '#/components/schemas/priceFrequencyTierCreate_data_relationships_price' - required: - - price - priceFrequencyTierCreate_data: - properties: - type: - description: The resource's type - enum: - - price_frequency_tiers - attributes: - $ref: '#/components/schemas/POST_price_frequency_tiers_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/priceFrequencyTierCreate_data_relationships' - required: - - attributes - - type - priceFrequencyTierUpdate_data_relationships: - properties: - price: - $ref: '#/components/schemas/priceFrequencyTierCreate_data_relationships_price' - priceFrequencyTierUpdate_data: - properties: - type: - description: The resource's type - enum: - - price_frequency_tiers - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_price_frequency_tiers_priceFrequencyTierId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/priceFrequencyTierUpdate_data_relationships' - required: - - attributes - - id - - type - priceListScheduler_data_relationships: - properties: - market: - $ref: '#/components/schemas/avalaraAccount_data_relationships_markets' - price_list: - $ref: '#/components/schemas/market_data_relationships_price_list' - events: - $ref: '#/components/schemas/address_data_relationships_events' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - priceListScheduler_data: - properties: - type: - description: The resource's type - enum: - - price_list_schedulers - attributes: - $ref: '#/components/schemas/GET_price_list_schedulers_priceListSchedulerId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/priceListScheduler_data_relationships' - required: - - attributes - - type - priceListSchedulerCreate_data_relationships: - properties: - market: - $ref: '#/components/schemas/billingInfoValidationRuleCreate_data_relationships_market' - price_list: - $ref: '#/components/schemas/marketCreate_data_relationships_price_list' - required: - - market - - price_list - priceListSchedulerCreate_data: - properties: - type: - description: The resource's type - enum: - - price_list_schedulers - attributes: - $ref: '#/components/schemas/POST_price_list_schedulers_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/priceListSchedulerCreate_data_relationships' - required: - - attributes - - type - priceListSchedulerUpdate_data_relationships: - properties: - market: - $ref: '#/components/schemas/billingInfoValidationRuleCreate_data_relationships_market' - price_list: - $ref: '#/components/schemas/marketCreate_data_relationships_price_list' - priceListSchedulerUpdate_data: - properties: - type: - description: The resource's type - enum: - - price_list_schedulers - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_price_list_schedulers_priceListSchedulerId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/priceListSchedulerUpdate_data_relationships' - required: - - attributes - - id - - type - priceList_data_relationships: - properties: - prices: - $ref: '#/components/schemas/priceFrequencyTier_data_relationships_price' - price_list_schedulers: - $ref: '#/components/schemas/market_data_relationships_price_list_schedulers' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - priceList_data: - properties: - type: - description: The resource's type - enum: - - price_lists - attributes: - $ref: '#/components/schemas/GET_price_lists_priceListId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/priceList_data_relationships' - required: - - attributes - - type - priceListCreate_data: - properties: - type: - description: The resource's type - enum: - - price_lists - attributes: - $ref: '#/components/schemas/POST_price_lists_201_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - type - priceListUpdate_data: - properties: - type: - description: The resource's type - enum: - - price_lists - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_price_lists_priceListId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - priceTier_data_relationships: - properties: - price: - $ref: '#/components/schemas/priceFrequencyTier_data_relationships_price' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - priceTier_data: - properties: - type: - description: The resource's type - enum: - - price_tiers - attributes: - $ref: '#/components/schemas/GET_price_tiers_priceTierId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/priceTier_data_relationships' - required: - - attributes - - type - priceVolumeTier_data: - properties: - type: - description: The resource's type - enum: - - price_volume_tiers - attributes: - $ref: '#/components/schemas/GET_price_volume_tiers_priceVolumeTierId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/priceFrequencyTier_data_relationships' - required: - - attributes - - type - priceVolumeTierCreate_data: - properties: - type: - description: The resource's type - enum: - - price_volume_tiers - attributes: - $ref: '#/components/schemas/POST_price_volume_tiers_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/priceFrequencyTierCreate_data_relationships' - required: - - attributes - - type - priceVolumeTierUpdate_data: - properties: - type: - description: The resource's type - enum: - - price_volume_tiers - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_price_volume_tiers_priceVolumeTierId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/priceFrequencyTierUpdate_data_relationships' - required: - - attributes - - id - - type - price_data_relationships_price_tiers_data: - properties: - type: - description: The resource's type - enum: - - price_tiers - id: - description: The resource's id - example: XGZwpOSrWL - price_data_relationships_price_tiers: - properties: - data: - $ref: '#/components/schemas/price_data_relationships_price_tiers_data' - price_data_relationships_price_volume_tiers_data: - properties: - type: - description: The resource's type - enum: - - price_volume_tiers - id: - description: The resource's id - example: XGZwpOSrWL - price_data_relationships_price_volume_tiers: - properties: - data: - $ref: '#/components/schemas/price_data_relationships_price_volume_tiers_data' - price_data_relationships_price_frequency_tiers_data: - properties: - type: - description: The resource's type - enum: - - price_frequency_tiers - id: - description: The resource's id - example: XGZwpOSrWL - price_data_relationships_price_frequency_tiers: - properties: - data: - $ref: '#/components/schemas/price_data_relationships_price_frequency_tiers_data' - price_data_relationships: - properties: - price_list: - $ref: '#/components/schemas/market_data_relationships_price_list' - sku: - $ref: '#/components/schemas/bundle_data_relationships_skus' - price_tiers: - $ref: '#/components/schemas/price_data_relationships_price_tiers' - price_volume_tiers: - $ref: '#/components/schemas/price_data_relationships_price_volume_tiers' - price_frequency_tiers: - $ref: '#/components/schemas/price_data_relationships_price_frequency_tiers' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - jwt_customer: - $ref: '#/components/schemas/couponRecipient_data_relationships_customer' - jwt_markets: - $ref: '#/components/schemas/avalaraAccount_data_relationships_markets' - jwt_stock_locations: - $ref: '#/components/schemas/deliveryLeadTime_data_relationships_stock_location' - price_data: - properties: - type: - description: The resource's type - enum: - - prices - attributes: - $ref: '#/components/schemas/GET_prices_priceId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/price_data_relationships' - required: - - attributes - - type - priceCreate_data_relationships_price_tiers: - properties: - data: - $ref: '#/components/schemas/price_data_relationships_price_tiers_data' - required: - - data - priceCreate_data_relationships: - properties: - price_list: - $ref: '#/components/schemas/marketCreate_data_relationships_price_list' - sku: - $ref: '#/components/schemas/inStockSubscriptionCreate_data_relationships_sku' - price_tiers: - $ref: '#/components/schemas/priceCreate_data_relationships_price_tiers' - required: - - price_list - - sku - priceCreate_data: - properties: - type: - description: The resource's type - enum: - - prices - attributes: - $ref: '#/components/schemas/POST_prices_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/priceCreate_data_relationships' - required: - - attributes - - type - priceUpdate_data_relationships: - properties: - price_list: - $ref: '#/components/schemas/marketCreate_data_relationships_price_list' - sku: - $ref: '#/components/schemas/inStockSubscriptionCreate_data_relationships_sku' - price_tiers: - $ref: '#/components/schemas/priceCreate_data_relationships_price_tiers' - priceUpdate_data: - properties: - type: - description: The resource's type - enum: - - prices - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_prices_priceId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/priceUpdate_data_relationships' - required: - - attributes - - id - - type - promotionRule_data: - properties: - type: - description: The resource's type - enum: - - promotion_rules - attributes: - $ref: '#/components/schemas/GET_coupon_codes_promotion_rules_couponCodesPromotionRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/customPromotionRule_data_relationships' - required: - - attributes - - type - promotion_data: - properties: - type: - description: The resource's type - enum: - - promotions - attributes: - $ref: '#/components/schemas/GET_free_shipping_promotions_freeShippingPromotionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/freeShippingPromotion_data_relationships' - required: - - attributes - - type - recurringOrderCopy_data: - properties: - type: - description: The resource's type - enum: - - recurring_order_copies - attributes: - $ref: '#/components/schemas/GET_order_factories_orderFactoryId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/orderCopy_data_relationships' - required: - - attributes - - type - recurringOrderCopyCreate_data_relationships: - properties: - source_order: - $ref: '#/components/schemas/adyenPaymentCreate_data_relationships_order' - order_subscription: - $ref: '#/components/schemas/orderSubscriptionItemCreate_data_relationships_order_subscription' - required: - - order_subscription - - source_order - recurringOrderCopyCreate_data: - properties: - type: - description: The resource's type - enum: - - recurring_order_copies - attributes: - $ref: '#/components/schemas/POST_recurring_order_copies_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/recurringOrderCopyCreate_data_relationships' - required: - - attributes - - type - recurringOrderCopyUpdate_data: - properties: - type: - description: The resource's type - enum: - - recurring_order_copies - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_billing_info_validation_rules_billingInfoValidationRuleId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - refund_data_relationships: - properties: - order: - $ref: '#/components/schemas/adyenPayment_data_relationships_order' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - events: - $ref: '#/components/schemas/address_data_relationships_events' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - reference_capture: - $ref: '#/components/schemas/authorization_data_relationships_captures' - return: - $ref: '#/components/schemas/capture_data_relationships_return' - refund_data: - properties: - type: - description: The resource's type - enum: - - refunds - attributes: - $ref: '#/components/schemas/GET_refunds_refundId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/refund_data_relationships' - required: - - attributes - - type - refundUpdate_data: - properties: - type: - description: The resource's type - enum: - - refunds - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_refunds_refundId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - reservedStock_data_relationships_stock_item_data: - properties: - type: - description: The resource's type - enum: - - stock_items - id: - description: The resource's id - example: XGZwpOSrWL - reservedStock_data_relationships_stock_item: - properties: - data: - $ref: '#/components/schemas/reservedStock_data_relationships_stock_item_data' - reservedStock_data_relationships: - properties: - stock_item: - $ref: '#/components/schemas/reservedStock_data_relationships_stock_item' - sku: - $ref: '#/components/schemas/bundle_data_relationships_skus' - stock_reservations: - $ref: '#/components/schemas/lineItem_data_relationships_stock_reservations' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - reservedStock_data: - properties: - type: - description: The resource's type - enum: - - reserved_stocks - attributes: - $ref: '#/components/schemas/GET_reserved_stocks_reservedStockId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/reservedStock_data_relationships' - required: - - attributes - - type - resourceError_data_relationships_resource_data: - properties: - type: - description: The resource's type - enum: - - orders - - returns - id: - description: The resource's id - example: XGZwpOSrWL - resourceError_data_relationships_resource: - oneOf: - - $ref: '#/components/schemas/order' - - $ref: '#/components/schemas/return' - properties: - data: - $ref: '#/components/schemas/resourceError_data_relationships_resource_data' - resourceError_data_relationships: - properties: - resource: - $ref: '#/components/schemas/resourceError_data_relationships_resource' - resourceError_data: - properties: - type: - description: The resource's type - enum: - - resource_errors - attributes: - $ref: '#/components/schemas/GET_resource_errors_resourceErrorId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/resourceError_data_relationships' - required: - - attributes - - type - returnLineItem_data_relationships: - properties: - return: - $ref: '#/components/schemas/capture_data_relationships_return' - line_item: - $ref: '#/components/schemas/lineItemOption_data_relationships_line_item' - returnLineItem_data: - properties: - type: - description: The resource's type - enum: - - return_line_items - attributes: - $ref: '#/components/schemas/GET_return_line_items_returnLineItemId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/returnLineItem_data_relationships' - required: - - attributes - - type - returnLineItemCreate_data_relationships_return: - properties: - data: - $ref: '#/components/schemas/capture_data_relationships_return_data' - required: - - data - returnLineItemCreate_data_relationships: - properties: - return: - $ref: '#/components/schemas/returnLineItemCreate_data_relationships_return' - line_item: - $ref: '#/components/schemas/lineItemOptionCreate_data_relationships_line_item' - required: - - line_item - - return - returnLineItemCreate_data: - properties: - type: - description: The resource's type - enum: - - return_line_items - attributes: - $ref: '#/components/schemas/POST_return_line_items_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/returnLineItemCreate_data_relationships' - required: - - attributes - - type - returnLineItemUpdate_data: - properties: - type: - description: The resource's type - enum: - - return_line_items - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_return_line_items_returnLineItemId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - return_data_relationships: - properties: - order: - $ref: '#/components/schemas/adyenPayment_data_relationships_order' - customer: - $ref: '#/components/schemas/couponRecipient_data_relationships_customer' - stock_location: - $ref: '#/components/schemas/deliveryLeadTime_data_relationships_stock_location' - origin_address: - $ref: '#/components/schemas/bingGeocoder_data_relationships_addresses' - destination_address: - $ref: '#/components/schemas/bingGeocoder_data_relationships_addresses' - reference_capture: - $ref: '#/components/schemas/authorization_data_relationships_captures' - reference_refund: - $ref: '#/components/schemas/capture_data_relationships_refunds' - return_line_items: - $ref: '#/components/schemas/lineItem_data_relationships_return_line_items' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - resource_errors: - $ref: '#/components/schemas/order_data_relationships_resource_errors' - events: - $ref: '#/components/schemas/address_data_relationships_events' - tags: - $ref: '#/components/schemas/address_data_relationships_tags' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - return_data: - properties: - type: - description: The resource's type - enum: - - returns - attributes: - $ref: '#/components/schemas/GET_returns_returnId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/return_data_relationships' - required: - - attributes - - type - returnCreate_data_relationships_reference_capture: - properties: - data: - $ref: '#/components/schemas/authorization_data_relationships_captures_data' - required: - - data - returnCreate_data_relationships: - properties: - order: - $ref: '#/components/schemas/adyenPaymentCreate_data_relationships_order' - stock_location: - $ref: '#/components/schemas/deliveryLeadTimeCreate_data_relationships_stock_location' - reference_capture: - $ref: '#/components/schemas/returnCreate_data_relationships_reference_capture' - tags: - $ref: '#/components/schemas/addressCreate_data_relationships_tags' - required: - - order - returnCreate_data: - properties: - type: - description: The resource's type - enum: - - returns - attributes: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/returnCreate_data_relationships' - required: - - attributes - - type - returnUpdate_data_relationships: - properties: - stock_location: - $ref: '#/components/schemas/deliveryLeadTimeCreate_data_relationships_stock_location' - reference_capture: - $ref: '#/components/schemas/returnCreate_data_relationships_reference_capture' - tags: - $ref: '#/components/schemas/addressCreate_data_relationships_tags' - returnUpdate_data: - properties: - type: - description: The resource's type - enum: - - returns - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_returns_returnId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/returnUpdate_data_relationships' - required: - - attributes - - id - - type - satispayGateway_data_relationships_satispay_payments_data: - properties: - type: - description: The resource's type - enum: - - satispay_payments - id: - description: The resource's id - example: XGZwpOSrWL - satispayGateway_data_relationships_satispay_payments: - properties: - data: - $ref: '#/components/schemas/satispayGateway_data_relationships_satispay_payments_data' - satispayGateway_data_relationships: - properties: - payment_methods: - $ref: '#/components/schemas/adyenGateway_data_relationships_payment_methods' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - satispay_payments: - $ref: '#/components/schemas/satispayGateway_data_relationships_satispay_payments' - satispayGateway_data: - properties: - type: - description: The resource's type - enum: - - satispay_gateways - attributes: - $ref: '#/components/schemas/GET_satispay_gateways_satispayGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/satispayGateway_data_relationships' - required: - - attributes - - type - satispayGatewayCreate_data_relationships_satispay_payments: - properties: - data: - $ref: '#/components/schemas/satispayGateway_data_relationships_satispay_payments_data' - required: - - data - satispayGatewayCreate_data_relationships: - properties: - satispay_payments: - $ref: '#/components/schemas/satispayGatewayCreate_data_relationships_satispay_payments' - satispayGatewayCreate_data: - properties: - type: - description: The resource's type - enum: - - satispay_gateways - attributes: - $ref: '#/components/schemas/POST_satispay_gateways_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/satispayGatewayCreate_data_relationships' - required: - - attributes - - type - satispayGatewayUpdate_data: - properties: - type: - description: The resource's type - enum: - - satispay_gateways - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_manual_gateways_manualGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/satispayGatewayCreate_data_relationships' - required: - - attributes - - id - - type - satispayPayment_data: - properties: - type: - description: The resource's type - enum: - - satispay_payments - attributes: - $ref: '#/components/schemas/GET_satispay_payments_satispayPaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenPayment_data_relationships' - required: - - attributes - - type - satispayPaymentCreate_data: - properties: - type: - description: The resource's type - enum: - - satispay_payments - attributes: - $ref: '#/components/schemas/POST_satispay_payments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenPaymentCreate_data_relationships' - required: - - attributes - - type - satispayPaymentUpdate_data: - properties: - type: - description: The resource's type - enum: - - satispay_payments - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_satispay_payments_satispayPaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenPaymentUpdate_data_relationships' - required: - - attributes - - id - - type - shipment_data_relationships_shipping_category_data: - properties: - type: - description: The resource's type - enum: - - shipping_categories - id: - description: The resource's id - example: XGZwpOSrWL - shipment_data_relationships_shipping_category: - properties: - data: - $ref: '#/components/schemas/shipment_data_relationships_shipping_category_data' - shipment_data_relationships_delivery_lead_time_data: - properties: - type: - description: The resource's type - enum: - - delivery_lead_times - id: - description: The resource's id - example: XGZwpOSrWL - shipment_data_relationships_delivery_lead_time: - properties: - data: - $ref: '#/components/schemas/shipment_data_relationships_delivery_lead_time_data' - shipment_data_relationships_carrier_accounts_data: - properties: - type: - description: The resource's type - enum: - - carrier_accounts - id: - description: The resource's id - example: XGZwpOSrWL - shipment_data_relationships_carrier_accounts: - properties: - data: - $ref: '#/components/schemas/shipment_data_relationships_carrier_accounts_data' - shipment_data_relationships: - properties: - order: - $ref: '#/components/schemas/adyenPayment_data_relationships_order' - shipping_category: - $ref: '#/components/schemas/shipment_data_relationships_shipping_category' - inventory_stock_location: - $ref: '#/components/schemas/inventoryModel_data_relationships_inventory_stock_locations' - stock_location: - $ref: '#/components/schemas/deliveryLeadTime_data_relationships_stock_location' - origin_address: - $ref: '#/components/schemas/bingGeocoder_data_relationships_addresses' - shipping_address: - $ref: '#/components/schemas/bingGeocoder_data_relationships_addresses' - shipping_method: - $ref: '#/components/schemas/deliveryLeadTime_data_relationships_shipping_method' - delivery_lead_time: - $ref: '#/components/schemas/shipment_data_relationships_delivery_lead_time' - stock_line_items: - $ref: '#/components/schemas/lineItem_data_relationships_stock_line_items' - stock_transfers: - $ref: '#/components/schemas/lineItem_data_relationships_stock_transfers' - line_items: - $ref: '#/components/schemas/lineItemOption_data_relationships_line_item' - available_shipping_methods: - $ref: '#/components/schemas/deliveryLeadTime_data_relationships_shipping_method' - carrier_accounts: - $ref: '#/components/schemas/shipment_data_relationships_carrier_accounts' - parcels: - $ref: '#/components/schemas/package_data_relationships_parcels' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - events: - $ref: '#/components/schemas/address_data_relationships_events' - tags: - $ref: '#/components/schemas/address_data_relationships_tags' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - shipment_data: - properties: - type: - description: The resource's type - enum: - - shipments - attributes: - $ref: '#/components/schemas/GET_shipments_shipmentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/shipment_data_relationships' - required: - - attributes - - type - shipmentCreate_data_relationships_shipping_category: - properties: - data: - $ref: '#/components/schemas/shipment_data_relationships_shipping_category_data' - required: - - data - shipmentCreate_data_relationships_inventory_stock_location: - properties: - data: - $ref: '#/components/schemas/inventoryModel_data_relationships_inventory_stock_locations_data' - required: - - data - shipmentCreate_data_relationships: - properties: - order: - $ref: '#/components/schemas/adyenPaymentCreate_data_relationships_order' - shipping_category: - $ref: '#/components/schemas/shipmentCreate_data_relationships_shipping_category' - inventory_stock_location: - $ref: '#/components/schemas/shipmentCreate_data_relationships_inventory_stock_location' - shipping_address: - $ref: '#/components/schemas/customerAddressCreate_data_relationships_address' - shipping_method: - $ref: '#/components/schemas/deliveryLeadTimeCreate_data_relationships_shipping_method' - tags: - $ref: '#/components/schemas/addressCreate_data_relationships_tags' - required: - - inventory_stock_location - - order - shipmentCreate_data: - properties: - type: - description: The resource's type - enum: - - shipments - attributes: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/shipmentCreate_data_relationships' - required: - - attributes - - type - shipmentUpdate_data_relationships: - properties: - shipping_category: - $ref: '#/components/schemas/shipmentCreate_data_relationships_shipping_category' - inventory_stock_location: - $ref: '#/components/schemas/shipmentCreate_data_relationships_inventory_stock_location' - shipping_address: - $ref: '#/components/schemas/customerAddressCreate_data_relationships_address' - shipping_method: - $ref: '#/components/schemas/deliveryLeadTimeCreate_data_relationships_shipping_method' - tags: - $ref: '#/components/schemas/addressCreate_data_relationships_tags' - shipmentUpdate_data: - properties: - type: - description: The resource's type - enum: - - shipments - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_shipments_shipmentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/shipmentUpdate_data_relationships' - required: - - attributes - - id - - type - shippingCategory_data_relationships: - properties: - skus: - $ref: '#/components/schemas/bundle_data_relationships_skus' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - shippingCategory_data: - properties: - type: - description: The resource's type - enum: - - shipping_categories - attributes: - $ref: '#/components/schemas/GET_shipping_categories_shippingCategoryId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/shippingCategory_data_relationships' - required: - - attributes - - type - shippingCategoryCreate_data: - properties: - type: - description: The resource's type - enum: - - shipping_categories - attributes: - $ref: '#/components/schemas/POST_shipping_categories_201_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - type - shippingCategoryUpdate_data: - properties: - type: - description: The resource's type - enum: - - shipping_categories - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_shipping_categories_shippingCategoryId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - shippingMethodTier_data_relationships: - properties: - shipping_method: - $ref: '#/components/schemas/deliveryLeadTime_data_relationships_shipping_method' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - shippingMethodTier_data: - properties: - type: - description: The resource's type - enum: - - shipping_method_tiers - attributes: - $ref: '#/components/schemas/GET_shipping_method_tiers_shippingMethodTierId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/shippingMethodTier_data_relationships' - required: - - attributes - - type - shippingMethod_data_relationships_shipping_zone_data: - properties: - type: - description: The resource's type - enum: - - shipping_zones - id: - description: The resource's id - example: XGZwpOSrWL - shippingMethod_data_relationships_shipping_zone: - properties: - data: - $ref: '#/components/schemas/shippingMethod_data_relationships_shipping_zone_data' - shippingMethod_data_relationships_shipping_method_tiers_data: - properties: - type: - description: The resource's type - enum: - - shipping_method_tiers - id: - description: The resource's id - example: XGZwpOSrWL - shippingMethod_data_relationships_shipping_method_tiers: - properties: - data: - $ref: '#/components/schemas/shippingMethod_data_relationships_shipping_method_tiers_data' - shippingMethod_data_relationships_shipping_weight_tiers_data: - properties: - type: - description: The resource's type - enum: - - shipping_weight_tiers - id: - description: The resource's id - example: XGZwpOSrWL - shippingMethod_data_relationships_shipping_weight_tiers: - properties: - data: - $ref: '#/components/schemas/shippingMethod_data_relationships_shipping_weight_tiers_data' - shippingMethod_data_relationships: - properties: - market: - $ref: '#/components/schemas/avalaraAccount_data_relationships_markets' - shipping_zone: - $ref: '#/components/schemas/shippingMethod_data_relationships_shipping_zone' - shipping_category: - $ref: '#/components/schemas/shipment_data_relationships_shipping_category' - stock_location: - $ref: '#/components/schemas/deliveryLeadTime_data_relationships_stock_location' - delivery_lead_time_for_shipment: - $ref: '#/components/schemas/shipment_data_relationships_delivery_lead_time' - shipping_method_tiers: - $ref: '#/components/schemas/shippingMethod_data_relationships_shipping_method_tiers' - shipping_weight_tiers: - $ref: '#/components/schemas/shippingMethod_data_relationships_shipping_weight_tiers' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - shippingMethod_data: - properties: - type: - description: The resource's type - enum: - - shipping_methods - attributes: - $ref: '#/components/schemas/GET_shipping_methods_shippingMethodId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/shippingMethod_data_relationships' - required: - - attributes - - type - shippingMethodCreate_data_relationships_shipping_zone: - properties: - data: - $ref: '#/components/schemas/shippingMethod_data_relationships_shipping_zone_data' - required: - - data - shippingMethodCreate_data_relationships_shipping_method_tiers: - properties: - data: - $ref: '#/components/schemas/shippingMethod_data_relationships_shipping_method_tiers_data' - required: - - data - shippingMethodCreate_data_relationships: - properties: - market: - $ref: '#/components/schemas/billingInfoValidationRuleCreate_data_relationships_market' - shipping_zone: - $ref: '#/components/schemas/shippingMethodCreate_data_relationships_shipping_zone' - shipping_category: - $ref: '#/components/schemas/shipmentCreate_data_relationships_shipping_category' - stock_location: - $ref: '#/components/schemas/deliveryLeadTimeCreate_data_relationships_stock_location' - shipping_method_tiers: - $ref: '#/components/schemas/shippingMethodCreate_data_relationships_shipping_method_tiers' - shippingMethodCreate_data: - properties: - type: - description: The resource's type - enum: - - shipping_methods - attributes: - $ref: '#/components/schemas/POST_shipping_methods_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/shippingMethodCreate_data_relationships' - required: - - attributes - - type - shippingMethodUpdate_data: - properties: - type: - description: The resource's type - enum: - - shipping_methods - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_shipping_methods_shippingMethodId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/shippingMethodCreate_data_relationships' - required: - - attributes - - id - - type - shippingWeightTier_data: - properties: - type: - description: The resource's type - enum: - - shipping_weight_tiers - attributes: - $ref: '#/components/schemas/GET_shipping_method_tiers_shippingMethodTierId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/shippingMethodTier_data_relationships' - required: - - attributes - - type - shippingWeightTierCreate_data_relationships: - properties: - shipping_method: - $ref: '#/components/schemas/deliveryLeadTimeCreate_data_relationships_shipping_method' - required: - - shipping_method - shippingWeightTierCreate_data: - properties: - type: - description: The resource's type - enum: - - shipping_weight_tiers - attributes: - $ref: '#/components/schemas/POST_shipping_weight_tiers_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/shippingWeightTierCreate_data_relationships' - required: - - attributes - - type - shippingWeightTierUpdate_data_relationships: - properties: - shipping_method: - $ref: '#/components/schemas/deliveryLeadTimeCreate_data_relationships_shipping_method' - shippingWeightTierUpdate_data: - properties: - type: - description: The resource's type - enum: - - shipping_weight_tiers - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_shipping_weight_tiers_shippingWeightTierId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/shippingWeightTierUpdate_data_relationships' - required: - - attributes - - id - - type - shippingZone_data_relationships: - properties: - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - shippingZone_data: - properties: - type: - description: The resource's type - enum: - - shipping_zones - attributes: - $ref: '#/components/schemas/GET_shipping_zones_shippingZoneId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/shippingZone_data_relationships' - required: - - attributes - - type - shippingZoneCreate_data: - properties: - type: - description: The resource's type - enum: - - shipping_zones - attributes: - $ref: '#/components/schemas/POST_shipping_zones_201_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - type - shippingZoneUpdate_data: - properties: - type: - description: The resource's type - enum: - - shipping_zones - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_shipping_zones_shippingZoneId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - skuListItem_data_relationships: - properties: - sku_list: - $ref: '#/components/schemas/bundle_data_relationships_sku_list' - sku: - $ref: '#/components/schemas/bundle_data_relationships_skus' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - skuListItem_data: - properties: - type: - description: The resource's type - enum: - - sku_list_items - attributes: - $ref: '#/components/schemas/GET_sku_list_items_skuListItemId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/skuListItem_data_relationships' - required: - - attributes - - type - skuListItemCreate_data_relationships: - properties: - sku_list: - $ref: '#/components/schemas/bundleCreate_data_relationships_sku_list' - sku: - $ref: '#/components/schemas/inStockSubscriptionCreate_data_relationships_sku' - required: - - sku - - sku_list - skuListItemCreate_data: - properties: - type: - description: The resource's type - enum: - - sku_list_items - attributes: - $ref: '#/components/schemas/POST_sku_list_items_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/skuListItemCreate_data_relationships' - required: - - attributes - - type - skuListItemUpdate_data: - properties: - type: - description: The resource's type - enum: - - sku_list_items - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_sku_list_items_skuListItemId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - skuListPromotionRule_data_relationships: - properties: - promotion: - $ref: '#/components/schemas/couponCodesPromotionRule_data_relationships_promotion' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - sku_list: - $ref: '#/components/schemas/bundle_data_relationships_sku_list' - skus: - $ref: '#/components/schemas/bundle_data_relationships_skus' - skuListPromotionRule_data: - properties: - type: - description: The resource's type - enum: - - sku_list_promotion_rules - attributes: - $ref: '#/components/schemas/GET_sku_list_promotion_rules_skuListPromotionRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/skuListPromotionRule_data_relationships' - required: - - attributes - - type - skuListPromotionRuleCreate_data_relationships: - properties: - promotion: - $ref: '#/components/schemas/couponCodesPromotionRuleCreate_data_relationships_promotion' - sku_list: - $ref: '#/components/schemas/bundleCreate_data_relationships_sku_list' - required: - - promotion - skuListPromotionRuleCreate_data: - properties: - type: - description: The resource's type - enum: - - sku_list_promotion_rules - attributes: - $ref: '#/components/schemas/POST_sku_list_promotion_rules_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/skuListPromotionRuleCreate_data_relationships' - required: - - attributes - - type - skuListPromotionRuleUpdate_data_relationships: - properties: - promotion: - $ref: '#/components/schemas/couponCodesPromotionRuleCreate_data_relationships_promotion' - sku_list: - $ref: '#/components/schemas/bundleCreate_data_relationships_sku_list' - skuListPromotionRuleUpdate_data: - properties: - type: - description: The resource's type - enum: - - sku_list_promotion_rules - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_sku_list_promotion_rules_skuListPromotionRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/skuListPromotionRuleUpdate_data_relationships' - required: - - attributes - - id - - type - skuList_data_relationships_sku_list_items_data: - properties: - type: - description: The resource's type - enum: - - sku_list_items - id: - description: The resource's id - example: XGZwpOSrWL - skuList_data_relationships_sku_list_items: - properties: - data: - $ref: '#/components/schemas/skuList_data_relationships_sku_list_items_data' - skuList_data_relationships: - properties: - customer: - $ref: '#/components/schemas/couponRecipient_data_relationships_customer' - skus: - $ref: '#/components/schemas/bundle_data_relationships_skus' - sku_list_items: - $ref: '#/components/schemas/skuList_data_relationships_sku_list_items' - bundles: - $ref: '#/components/schemas/lineItem_data_relationships_bundle' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - links: - $ref: '#/components/schemas/order_data_relationships_links' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - skuList_data: - properties: - type: - description: The resource's type - enum: - - sku_lists - attributes: - $ref: '#/components/schemas/GET_sku_lists_skuListId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/skuList_data_relationships' - required: - - attributes - - type - skuListCreate_data: - properties: - type: - description: The resource's type - enum: - - sku_lists - attributes: - $ref: '#/components/schemas/POST_sku_lists_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/couponRecipientCreate_data_relationships' - required: - - attributes - - type - skuListUpdate_data: - properties: - type: - description: The resource's type - enum: - - sku_lists - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_sku_lists_skuListId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/couponRecipientCreate_data_relationships' - required: - - attributes - - id - - type - skuOption_data_relationships: - properties: - market: - $ref: '#/components/schemas/avalaraAccount_data_relationships_markets' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - events: - $ref: '#/components/schemas/address_data_relationships_events' - tags: - $ref: '#/components/schemas/address_data_relationships_tags' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - skuOption_data: - properties: - type: - description: The resource's type - enum: - - sku_options - attributes: - $ref: '#/components/schemas/GET_sku_options_skuOptionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/skuOption_data_relationships' - required: - - attributes - - type - skuOptionCreate_data_relationships: - properties: - market: - $ref: '#/components/schemas/billingInfoValidationRuleCreate_data_relationships_market' - tags: - $ref: '#/components/schemas/addressCreate_data_relationships_tags' - skuOptionCreate_data: - properties: - type: - description: The resource's type - enum: - - sku_options - attributes: - $ref: '#/components/schemas/POST_sku_options_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/skuOptionCreate_data_relationships' - required: - - attributes - - type - skuOptionUpdate_data: - properties: - type: - description: The resource's type - enum: - - sku_options - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_sku_options_skuOptionId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/skuOptionCreate_data_relationships' - required: - - attributes - - id - - type - sku_data_relationships: - properties: - shipping_category: - $ref: '#/components/schemas/shipment_data_relationships_shipping_category' - prices: - $ref: '#/components/schemas/priceFrequencyTier_data_relationships_price' - stock_items: - $ref: '#/components/schemas/reservedStock_data_relationships_stock_item' - stock_reservations: - $ref: '#/components/schemas/lineItem_data_relationships_stock_reservations' - delivery_lead_times: - $ref: '#/components/schemas/shipment_data_relationships_delivery_lead_time' - sku_options: - $ref: '#/components/schemas/lineItemOption_data_relationships_sku_option' - sku_list_items: - $ref: '#/components/schemas/skuList_data_relationships_sku_list_items' - sku_lists: - $ref: '#/components/schemas/bundle_data_relationships_sku_list' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - links: - $ref: '#/components/schemas/order_data_relationships_links' - events: - $ref: '#/components/schemas/address_data_relationships_events' - tags: - $ref: '#/components/schemas/address_data_relationships_tags' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - jwt_customer: - $ref: '#/components/schemas/couponRecipient_data_relationships_customer' - jwt_markets: - $ref: '#/components/schemas/avalaraAccount_data_relationships_markets' - jwt_stock_locations: - $ref: '#/components/schemas/deliveryLeadTime_data_relationships_stock_location' - sku_data: - properties: - type: - description: The resource's type - enum: - - skus - attributes: - $ref: '#/components/schemas/GET_skus_skuId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/sku_data_relationships' - required: - - attributes - - type - skuCreate_data_relationships: - properties: - shipping_category: - $ref: '#/components/schemas/shipmentCreate_data_relationships_shipping_category' - tags: - $ref: '#/components/schemas/addressCreate_data_relationships_tags' - required: - - shipping_category - skuCreate_data: - properties: - type: - description: The resource's type - enum: - - skus - attributes: - $ref: '#/components/schemas/POST_skus_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/skuCreate_data_relationships' - required: - - attributes - - type - skuUpdate_data_relationships: - properties: - shipping_category: - $ref: '#/components/schemas/shipmentCreate_data_relationships_shipping_category' - tags: - $ref: '#/components/schemas/addressCreate_data_relationships_tags' - skuUpdate_data: - properties: - type: - description: The resource's type - enum: - - skus - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_skus_skuId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/skuUpdate_data_relationships' - required: - - attributes - - id - - type - stockItem_data_relationships_reserved_stock_data: - properties: - type: - description: The resource's type - enum: - - reserved_stocks - id: - description: The resource's id - example: XGZwpOSrWL - stockItem_data_relationships_reserved_stock: - properties: - data: - $ref: '#/components/schemas/stockItem_data_relationships_reserved_stock_data' - stockItem_data_relationships: - properties: - stock_location: - $ref: '#/components/schemas/deliveryLeadTime_data_relationships_stock_location' - sku: - $ref: '#/components/schemas/bundle_data_relationships_skus' - reserved_stock: - $ref: '#/components/schemas/stockItem_data_relationships_reserved_stock' - stock_reservations: - $ref: '#/components/schemas/lineItem_data_relationships_stock_reservations' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - stockItem_data: - properties: - type: - description: The resource's type - enum: - - stock_items - attributes: - $ref: '#/components/schemas/GET_stock_items_stockItemId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/stockItem_data_relationships' - required: - - attributes - - type - stockItemCreate_data_relationships: - properties: - stock_location: - $ref: '#/components/schemas/deliveryLeadTimeCreate_data_relationships_stock_location' - sku: - $ref: '#/components/schemas/inStockSubscriptionCreate_data_relationships_sku' - required: - - stock_location - stockItemCreate_data: - properties: - type: - description: The resource's type - enum: - - stock_items - attributes: - $ref: '#/components/schemas/POST_stock_items_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/stockItemCreate_data_relationships' - required: - - attributes - - type - stockItemUpdate_data_relationships: - properties: - stock_location: - $ref: '#/components/schemas/deliveryLeadTimeCreate_data_relationships_stock_location' - sku: - $ref: '#/components/schemas/inStockSubscriptionCreate_data_relationships_sku' - stockItemUpdate_data: - properties: - type: - description: The resource's type - enum: - - stock_items - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_stock_items_stockItemId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/stockItemUpdate_data_relationships' - required: - - attributes - - id - - type - stockLineItem_data_relationships: - properties: - shipment: - $ref: '#/components/schemas/lineItem_data_relationships_shipment' - line_item: - $ref: '#/components/schemas/lineItemOption_data_relationships_line_item' - stock_item: - $ref: '#/components/schemas/reservedStock_data_relationships_stock_item' - sku: - $ref: '#/components/schemas/bundle_data_relationships_skus' - stock_reservation: - $ref: '#/components/schemas/lineItem_data_relationships_stock_reservations' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - stockLineItem_data: - properties: - type: - description: The resource's type - enum: - - stock_line_items - attributes: - $ref: '#/components/schemas/GET_stock_line_items_stockLineItemId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/stockLineItem_data_relationships' - required: - - attributes - - type - stockLineItemCreate_data_relationships_stock_item: - properties: - data: - $ref: '#/components/schemas/reservedStock_data_relationships_stock_item_data' - required: - - data - stockLineItemCreate_data_relationships: - properties: - shipment: - $ref: '#/components/schemas/parcelCreate_data_relationships_shipment' - line_item: - $ref: '#/components/schemas/lineItemOptionCreate_data_relationships_line_item' - stock_item: - $ref: '#/components/schemas/stockLineItemCreate_data_relationships_stock_item' - sku: - $ref: '#/components/schemas/inStockSubscriptionCreate_data_relationships_sku' - stockLineItemCreate_data: - properties: - type: - description: The resource's type - enum: - - stock_line_items - attributes: - $ref: '#/components/schemas/POST_stock_line_items_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/stockLineItemCreate_data_relationships' - required: - - attributes - - type - stockLineItemUpdate_data: - properties: - type: - description: The resource's type - enum: - - stock_line_items - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_stock_line_items_stockLineItemId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/stockLineItemCreate_data_relationships' - required: - - attributes - - id - - type - stockLocation_data_relationships: - properties: - address: - $ref: '#/components/schemas/bingGeocoder_data_relationships_addresses' - inventory_stock_locations: - $ref: '#/components/schemas/inventoryModel_data_relationships_inventory_stock_locations' - inventory_return_locations: - $ref: '#/components/schemas/inventoryModel_data_relationships_inventory_return_locations' - stock_items: - $ref: '#/components/schemas/reservedStock_data_relationships_stock_item' - stock_transfers: - $ref: '#/components/schemas/lineItem_data_relationships_stock_transfers' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - stockLocation_data: - properties: - type: - description: The resource's type - enum: - - stock_locations - attributes: - $ref: '#/components/schemas/GET_stock_locations_stockLocationId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/stockLocation_data_relationships' - required: - - attributes - - type - stockLocationCreate_data: - properties: - type: - description: The resource's type - enum: - - stock_locations - attributes: - $ref: '#/components/schemas/POST_stock_locations_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/merchantCreate_data_relationships' - required: - - attributes - - type - stockLocationUpdate_data: - properties: - type: - description: The resource's type - enum: - - stock_locations - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_stock_locations_stockLocationId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/merchantUpdate_data_relationships' - required: - - attributes - - id - - type - stockReservation_data_relationships: - properties: - line_item: - $ref: '#/components/schemas/lineItemOption_data_relationships_line_item' - order: - $ref: '#/components/schemas/adyenPayment_data_relationships_order' - stock_line_item: - $ref: '#/components/schemas/lineItem_data_relationships_stock_line_items' - stock_transfer: - $ref: '#/components/schemas/lineItem_data_relationships_stock_transfers' - stock_item: - $ref: '#/components/schemas/reservedStock_data_relationships_stock_item' - reserved_stock: - $ref: '#/components/schemas/stockItem_data_relationships_reserved_stock' - sku: - $ref: '#/components/schemas/bundle_data_relationships_skus' - stockReservation_data: - properties: - type: - description: The resource's type - enum: - - stock_reservations - attributes: - $ref: '#/components/schemas/GET_stock_reservations_stockReservationId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/stockReservation_data_relationships' - required: - - attributes - - type - stockReservationCreate_data_relationships: - properties: - stock_item: - $ref: '#/components/schemas/stockLineItemCreate_data_relationships_stock_item' - required: - - stock_item - stockReservationCreate_data: - properties: - type: - description: The resource's type - enum: - - stock_reservations - attributes: - $ref: '#/components/schemas/POST_stock_reservations_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/stockReservationCreate_data_relationships' - required: - - attributes - - type - stockReservationUpdate_data: - properties: - type: - description: The resource's type - enum: - - stock_reservations - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_stock_reservations_stockReservationId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - stockTransfer_data_relationships: - properties: - sku: - $ref: '#/components/schemas/bundle_data_relationships_skus' - origin_stock_location: - $ref: '#/components/schemas/deliveryLeadTime_data_relationships_stock_location' - destination_stock_location: - $ref: '#/components/schemas/deliveryLeadTime_data_relationships_stock_location' - shipment: - $ref: '#/components/schemas/lineItem_data_relationships_shipment' - line_item: - $ref: '#/components/schemas/lineItemOption_data_relationships_line_item' - stock_reservation: - $ref: '#/components/schemas/lineItem_data_relationships_stock_reservations' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - events: - $ref: '#/components/schemas/address_data_relationships_events' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - stockTransfer_data: - properties: - type: - description: The resource's type - enum: - - stock_transfers - attributes: - $ref: '#/components/schemas/GET_stock_transfers_stockTransferId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/stockTransfer_data_relationships' - required: - - attributes - - type - stockTransferCreate_data_relationships: - properties: - sku: - $ref: '#/components/schemas/inStockSubscriptionCreate_data_relationships_sku' - origin_stock_location: - $ref: '#/components/schemas/deliveryLeadTimeCreate_data_relationships_stock_location' - destination_stock_location: - $ref: '#/components/schemas/deliveryLeadTimeCreate_data_relationships_stock_location' - shipment: - $ref: '#/components/schemas/parcelCreate_data_relationships_shipment' - line_item: - $ref: '#/components/schemas/lineItemOptionCreate_data_relationships_line_item' - required: - - destination_stock_location - - origin_stock_location - - sku - stockTransferCreate_data: - properties: - type: - description: The resource's type - enum: - - stock_transfers - attributes: - $ref: '#/components/schemas/POST_stock_transfers_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/stockTransferCreate_data_relationships' - required: - - attributes - - type - stockTransferUpdate_data_relationships: - properties: - sku: - $ref: '#/components/schemas/inStockSubscriptionCreate_data_relationships_sku' - origin_stock_location: - $ref: '#/components/schemas/deliveryLeadTimeCreate_data_relationships_stock_location' - destination_stock_location: - $ref: '#/components/schemas/deliveryLeadTimeCreate_data_relationships_stock_location' - shipment: - $ref: '#/components/schemas/parcelCreate_data_relationships_shipment' - line_item: - $ref: '#/components/schemas/lineItemOptionCreate_data_relationships_line_item' - stockTransferUpdate_data: - properties: - type: - description: The resource's type - enum: - - stock_transfers - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_stock_transfers_stockTransferId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/stockTransferUpdate_data_relationships' - required: - - attributes - - id - - type - stripeGateway_data_relationships_stripe_payments_data: - properties: - type: - description: The resource's type - enum: - - stripe_payments - id: - description: The resource's id - example: XGZwpOSrWL - stripeGateway_data_relationships_stripe_payments: - properties: - data: - $ref: '#/components/schemas/stripeGateway_data_relationships_stripe_payments_data' - stripeGateway_data_relationships: - properties: - payment_methods: - $ref: '#/components/schemas/adyenGateway_data_relationships_payment_methods' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - stripe_payments: - $ref: '#/components/schemas/stripeGateway_data_relationships_stripe_payments' - stripeGateway_data: - properties: - type: - description: The resource's type - enum: - - stripe_gateways - attributes: - $ref: '#/components/schemas/GET_stripe_gateways_stripeGatewayId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/stripeGateway_data_relationships' - required: - - attributes - - type - stripeGatewayCreate_data: - properties: - type: - description: The resource's type - enum: - - stripe_gateways - attributes: - $ref: '#/components/schemas/POST_stripe_gateways_201_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - type - stripeGatewayUpdate_data: - properties: - type: - description: The resource's type - enum: - - stripe_gateways - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_stripe_gateways_stripeGatewayId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - stripePayment_data: - properties: - type: - description: The resource's type - enum: - - stripe_payments - attributes: - $ref: '#/components/schemas/GET_stripe_payments_stripePaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenPayment_data_relationships' - required: - - attributes - - type - stripePaymentCreate_data: - properties: - type: - description: The resource's type - enum: - - stripe_payments - attributes: - $ref: '#/components/schemas/POST_stripe_payments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenPaymentCreate_data_relationships' - required: - - attributes - - type - stripePaymentUpdate_data: - properties: - type: - description: The resource's type - enum: - - stripe_payments - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_stripe_payments_stripePaymentId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenPaymentUpdate_data_relationships' - required: - - attributes - - id - - type - subscriptionModel_data_relationships: - properties: - markets: - $ref: '#/components/schemas/avalaraAccount_data_relationships_markets' - order_subscriptions: - $ref: '#/components/schemas/customer_data_relationships_order_subscriptions' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - subscriptionModel_data: - properties: - type: - description: The resource's type - enum: - - subscription_models - attributes: - $ref: '#/components/schemas/GET_subscription_models_subscriptionModelId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/subscriptionModel_data_relationships' - required: - - attributes - - type - subscriptionModelCreate_data: - properties: - type: - description: The resource's type - enum: - - subscription_models - attributes: - $ref: '#/components/schemas/POST_subscription_models_201_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - type - subscriptionModelUpdate_data: - properties: - type: - description: The resource's type - enum: - - subscription_models - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_subscription_models_subscriptionModelId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - tag_data: - properties: - type: - description: The resource's type - enum: - - tags - attributes: - $ref: '#/components/schemas/GET_tags_tagId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - type - tagCreate_data: - properties: - type: - description: The resource's type - enum: - - tags - attributes: - $ref: '#/components/schemas/POST_tags_201_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - type - tagUpdate_data: - properties: - type: - description: The resource's type - enum: - - tags - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_tags_tagId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - taxCalculator_data: - properties: - type: - description: The resource's type - enum: - - tax_calculators - attributes: - $ref: '#/components/schemas/GET_manual_tax_calculators_manualTaxCalculatorId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/externalTaxCalculator_data_relationships' - required: - - attributes - - type - taxCategory_data_relationships: - properties: - sku: - $ref: '#/components/schemas/bundle_data_relationships_skus' - tax_calculator: - $ref: '#/components/schemas/market_data_relationships_tax_calculator' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - taxCategory_data: - properties: - type: - description: The resource's type - enum: - - tax_categories - attributes: - $ref: '#/components/schemas/GET_tax_categories_taxCategoryId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/taxCategory_data_relationships' - required: - - attributes - - type - taxCategoryCreate_data_relationships: - properties: - sku: - $ref: '#/components/schemas/inStockSubscriptionCreate_data_relationships_sku' - tax_calculator: - $ref: '#/components/schemas/marketCreate_data_relationships_tax_calculator' - required: - - sku - - tax_calculator - taxCategoryCreate_data: - properties: - type: - description: The resource's type - enum: - - tax_categories - attributes: - $ref: '#/components/schemas/POST_tax_categories_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/taxCategoryCreate_data_relationships' - required: - - attributes - - type - taxCategoryUpdate_data_relationships: - properties: - sku: - $ref: '#/components/schemas/inStockSubscriptionCreate_data_relationships_sku' - taxCategoryUpdate_data: - properties: - type: - description: The resource's type - enum: - - tax_categories - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_tax_categories_taxCategoryId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/taxCategoryUpdate_data_relationships' - required: - - attributes - - id - - type - taxRule_data_relationships_manual_tax_calculator_data: - properties: - type: - description: The resource's type - enum: - - manual_tax_calculators - id: - description: The resource's id - example: XGZwpOSrWL - taxRule_data_relationships_manual_tax_calculator: - properties: - data: - $ref: '#/components/schemas/taxRule_data_relationships_manual_tax_calculator_data' - taxRule_data_relationships: - properties: - manual_tax_calculator: - $ref: '#/components/schemas/taxRule_data_relationships_manual_tax_calculator' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - taxRule_data: - properties: - type: - description: The resource's type - enum: - - tax_rules - attributes: - $ref: '#/components/schemas/GET_tax_rules_taxRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/taxRule_data_relationships' - required: - - attributes - - type - taxRuleCreate_data_relationships_manual_tax_calculator: - properties: - data: - $ref: '#/components/schemas/taxRule_data_relationships_manual_tax_calculator_data' - required: - - data - taxRuleCreate_data_relationships: - properties: - manual_tax_calculator: - $ref: '#/components/schemas/taxRuleCreate_data_relationships_manual_tax_calculator' - required: - - manual_tax_calculator - taxRuleCreate_data: - properties: - type: - description: The resource's type - enum: - - tax_rules - attributes: - $ref: '#/components/schemas/POST_tax_rules_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/taxRuleCreate_data_relationships' - required: - - attributes - - type - taxRuleUpdate_data_relationships: - properties: - manual_tax_calculator: - $ref: '#/components/schemas/taxRuleCreate_data_relationships_manual_tax_calculator' - taxRuleUpdate_data: - properties: - type: - description: The resource's type - enum: - - tax_rules - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_tax_rules_taxRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/taxRuleUpdate_data_relationships' - required: - - attributes - - id - - type - taxjarAccount_data_relationships: - properties: - markets: - $ref: '#/components/schemas/avalaraAccount_data_relationships_markets' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - tax_categories: - $ref: '#/components/schemas/avalaraAccount_data_relationships_tax_categories' - taxjarAccount_data: - properties: - type: - description: The resource's type - enum: - - taxjar_accounts - attributes: - $ref: '#/components/schemas/GET_manual_tax_calculators_manualTaxCalculatorId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/taxjarAccount_data_relationships' - required: - - attributes - - type - taxjarAccountCreate_data: - properties: - type: - description: The resource's type - enum: - - taxjar_accounts - attributes: - $ref: '#/components/schemas/POST_taxjar_accounts_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/avalaraAccountCreate_data_relationships' - required: - - attributes - - type - taxjarAccountUpdate_data: - properties: - type: - description: The resource's type - enum: - - taxjar_accounts - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_taxjar_accounts_taxjarAccountId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/avalaraAccountCreate_data_relationships' - required: - - attributes - - id - - type - transaction_data_relationships: - properties: - order: - $ref: '#/components/schemas/adyenPayment_data_relationships_order' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - events: - $ref: '#/components/schemas/address_data_relationships_events' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - transaction_data: - properties: - type: - description: The resource's type - enum: - - transactions - attributes: - $ref: '#/components/schemas/GET_refunds_refundId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/transaction_data_relationships' - required: - - attributes - - type - version_data: - properties: - type: - description: The resource's type - enum: - - versions - attributes: - $ref: '#/components/schemas/GET_versions_versionId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - type - void_data_relationships: - properties: - order: - $ref: '#/components/schemas/adyenPayment_data_relationships_order' - attachments: - $ref: '#/components/schemas/authorization_data_relationships_attachments' - events: - $ref: '#/components/schemas/address_data_relationships_events' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - reference_authorization: - $ref: '#/components/schemas/capture_data_relationships_reference_authorization' - void_data: - properties: - type: - description: The resource's type - enum: - - voids - attributes: - $ref: '#/components/schemas/GET_refunds_refundId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/void_data_relationships' - required: - - attributes - - type - voidUpdate_data: - properties: - type: - description: The resource's type - enum: - - voids - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_refunds_refundId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - webhook_data_relationships: - properties: - last_event_callbacks: - $ref: '#/components/schemas/event_data_relationships_last_event_callbacks' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - webhook_data: - properties: - type: - description: The resource's type - enum: - - webhooks - attributes: - $ref: '#/components/schemas/GET_webhooks_webhookId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/webhook_data_relationships' - required: - - attributes - - type - webhookCreate_data: - properties: - type: - description: The resource's type - enum: - - webhooks - attributes: - $ref: '#/components/schemas/POST_webhooks_201_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - type - webhookUpdate_data: - properties: - type: - description: The resource's type - enum: - - webhooks - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_webhooks_webhookId_200_response_data_attributes' - relationships: - properties: {} - required: - - attributes - - id - - type - wireTransfer_data_relationships: - properties: - order: - $ref: '#/components/schemas/adyenPayment_data_relationships_order' - versions: - $ref: '#/components/schemas/address_data_relationships_versions' - wireTransfer_data: - properties: - type: - description: The resource's type - enum: - - wire_transfers - attributes: - $ref: '#/components/schemas/GET_wire_transfers_wireTransferId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/wireTransfer_data_relationships' - required: - - attributes - - type - wireTransferCreate_data: - properties: - type: - description: The resource's type - enum: - - wire_transfers - attributes: - $ref: '#/components/schemas/POST_adyen_payments_201_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenPaymentCreate_data_relationships' - required: - - attributes - - type - wireTransferUpdate_data: - properties: - type: - description: The resource's type - enum: - - wire_transfers - id: - description: The resource's id - example: XGZwpOSrWL - attributes: - $ref: '#/components/schemas/PATCH_billing_info_validation_rules_billingInfoValidationRuleId_200_response_data_attributes' - relationships: - $ref: '#/components/schemas/adyenPaymentUpdate_data_relationships' - required: - - attributes - - id - - type - securitySchemes: - bearerAuth: - bearerFormat: JWT - scheme: bearer - type: http diff --git a/api/api_addresses.go b/api/api_addresses.go index 9476f201a..5e02a843f 100644 --- a/api/api_addresses.go +++ b/api/api_addresses.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_adjustments.go b/api/api_adjustments.go index b407d8d29..c5a04416f 100644 --- a/api/api_adjustments.go +++ b/api/api_adjustments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_adyen_gateways.go b/api/api_adyen_gateways.go index 4d9736301..b21313a07 100644 --- a/api/api_adyen_gateways.go +++ b/api/api_adyen_gateways.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_adyen_payments.go b/api/api_adyen_payments.go index 49c7eb02c..eb3b96f4e 100644 --- a/api/api_adyen_payments.go +++ b/api/api_adyen_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_application.go b/api/api_application.go index 2e1b8696a..b3df4e768 100644 --- a/api/api_application.go +++ b/api/api_application.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_attachments.go b/api/api_attachments.go index b9a98b3ab..2f1e749b4 100644 --- a/api/api_attachments.go +++ b/api/api_attachments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -503,98 +503,6 @@ func (a *AttachmentsApiService) GETAvalaraAccountIdAttachmentsExecute(r Attachme return localVarHTTPResponse, nil } -type AttachmentsApiGETBillingInfoValidationRuleIdAttachmentsRequest struct { - ctx context.Context - ApiService *AttachmentsApiService - billingInfoValidationRuleId interface{} -} - -func (r AttachmentsApiGETBillingInfoValidationRuleIdAttachmentsRequest) Execute() (*http.Response, error) { - return r.ApiService.GETBillingInfoValidationRuleIdAttachmentsExecute(r) -} - -/* -GETBillingInfoValidationRuleIdAttachments Retrieve the attachments associated to the billing info validation rule - -Retrieve the attachments associated to the billing info validation rule - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param billingInfoValidationRuleId The resource's id - @return AttachmentsApiGETBillingInfoValidationRuleIdAttachmentsRequest -*/ -func (a *AttachmentsApiService) GETBillingInfoValidationRuleIdAttachments(ctx context.Context, billingInfoValidationRuleId interface{}) AttachmentsApiGETBillingInfoValidationRuleIdAttachmentsRequest { - return AttachmentsApiGETBillingInfoValidationRuleIdAttachmentsRequest{ - ApiService: a, - ctx: ctx, - billingInfoValidationRuleId: billingInfoValidationRuleId, - } -} - -// Execute executes the request -func (a *AttachmentsApiService) GETBillingInfoValidationRuleIdAttachmentsExecute(r AttachmentsApiGETBillingInfoValidationRuleIdAttachmentsRequest) (*http.Response, error) { - var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AttachmentsApiService.GETBillingInfoValidationRuleIdAttachments") - if err != nil { - return nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/billing_info_validation_rules/{billingInfoValidationRuleId}/attachments" - localVarPath = strings.Replace(localVarPath, "{"+"billingInfoValidationRuleId"+"}", url.PathEscape(parameterValueToString(r.billingInfoValidationRuleId, "billingInfoValidationRuleId")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarHTTPResponse, newErr - } - - return localVarHTTPResponse, nil -} - type AttachmentsApiGETBingGeocoderIdAttachmentsRequest struct { ctx context.Context ApiService *AttachmentsApiService diff --git a/api/api_authorizations.go b/api/api_authorizations.go index 8dd73d38a..ce6f0dd58 100644 --- a/api/api_authorizations.go +++ b/api/api_authorizations.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_avalara_accounts.go b/api/api_avalara_accounts.go index 111f978bb..b9105574c 100644 --- a/api/api_avalara_accounts.go +++ b/api/api_avalara_accounts.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_axerve_gateways.go b/api/api_axerve_gateways.go index 53aa77db6..8a8379d6d 100644 --- a/api/api_axerve_gateways.go +++ b/api/api_axerve_gateways.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_axerve_payments.go b/api/api_axerve_payments.go index b4da30b26..f4230c843 100644 --- a/api/api_axerve_payments.go +++ b/api/api_axerve_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_billing_info_validation_rules.go b/api/api_billing_info_validation_rules.go deleted file mode 100644 index 272f27251..000000000 --- a/api/api_billing_info_validation_rules.go +++ /dev/null @@ -1,546 +0,0 @@ -/* -Commerce Layer API - -Headless Commerce for Global Brands. - -API version: 7.3.1 -Contact: support@commercelayer.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api - -import ( - "bytes" - "context" - "io" - "net/http" - "net/url" - "strings" -) - -// BillingInfoValidationRulesApiService BillingInfoValidationRulesApi service -type BillingInfoValidationRulesApiService service - -type BillingInfoValidationRulesApiDELETEBillingInfoValidationRulesBillingInfoValidationRuleIdRequest struct { - ctx context.Context - ApiService *BillingInfoValidationRulesApiService - billingInfoValidationRuleId interface{} -} - -func (r BillingInfoValidationRulesApiDELETEBillingInfoValidationRulesBillingInfoValidationRuleIdRequest) Execute() (*http.Response, error) { - return r.ApiService.DELETEBillingInfoValidationRulesBillingInfoValidationRuleIdExecute(r) -} - -/* -DELETEBillingInfoValidationRulesBillingInfoValidationRuleId Delete a billing info validation rule - -Delete a billing info validation rule - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param billingInfoValidationRuleId The resource's id - @return BillingInfoValidationRulesApiDELETEBillingInfoValidationRulesBillingInfoValidationRuleIdRequest -*/ -func (a *BillingInfoValidationRulesApiService) DELETEBillingInfoValidationRulesBillingInfoValidationRuleId(ctx context.Context, billingInfoValidationRuleId interface{}) BillingInfoValidationRulesApiDELETEBillingInfoValidationRulesBillingInfoValidationRuleIdRequest { - return BillingInfoValidationRulesApiDELETEBillingInfoValidationRulesBillingInfoValidationRuleIdRequest{ - ApiService: a, - ctx: ctx, - billingInfoValidationRuleId: billingInfoValidationRuleId, - } -} - -// Execute executes the request -func (a *BillingInfoValidationRulesApiService) DELETEBillingInfoValidationRulesBillingInfoValidationRuleIdExecute(r BillingInfoValidationRulesApiDELETEBillingInfoValidationRulesBillingInfoValidationRuleIdRequest) (*http.Response, error) { - var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BillingInfoValidationRulesApiService.DELETEBillingInfoValidationRulesBillingInfoValidationRuleId") - if err != nil { - return nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/billing_info_validation_rules/{billingInfoValidationRuleId}" - localVarPath = strings.Replace(localVarPath, "{"+"billingInfoValidationRuleId"+"}", url.PathEscape(parameterValueToString(r.billingInfoValidationRuleId, "billingInfoValidationRuleId")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarHTTPResponse, newErr - } - - return localVarHTTPResponse, nil -} - -type BillingInfoValidationRulesApiGETBillingInfoValidationRulesRequest struct { - ctx context.Context - ApiService *BillingInfoValidationRulesApiService -} - -func (r BillingInfoValidationRulesApiGETBillingInfoValidationRulesRequest) Execute() (*GETBillingInfoValidationRules200Response, *http.Response, error) { - return r.ApiService.GETBillingInfoValidationRulesExecute(r) -} - -/* -GETBillingInfoValidationRules List all billing info validation rules - -List all billing info validation rules - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return BillingInfoValidationRulesApiGETBillingInfoValidationRulesRequest -*/ -func (a *BillingInfoValidationRulesApiService) GETBillingInfoValidationRules(ctx context.Context) BillingInfoValidationRulesApiGETBillingInfoValidationRulesRequest { - return BillingInfoValidationRulesApiGETBillingInfoValidationRulesRequest{ - ApiService: a, - ctx: ctx, - } -} - -// Execute executes the request -// -// @return GETBillingInfoValidationRules200Response -func (a *BillingInfoValidationRulesApiService) GETBillingInfoValidationRulesExecute(r BillingInfoValidationRulesApiGETBillingInfoValidationRulesRequest) (*GETBillingInfoValidationRules200Response, *http.Response, error) { - var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *GETBillingInfoValidationRules200Response - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BillingInfoValidationRulesApiService.GETBillingInfoValidationRules") - if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/billing_info_validation_rules" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/vnd.api+json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} - -type BillingInfoValidationRulesApiGETBillingInfoValidationRulesBillingInfoValidationRuleIdRequest struct { - ctx context.Context - ApiService *BillingInfoValidationRulesApiService - billingInfoValidationRuleId interface{} -} - -func (r BillingInfoValidationRulesApiGETBillingInfoValidationRulesBillingInfoValidationRuleIdRequest) Execute() (*GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response, *http.Response, error) { - return r.ApiService.GETBillingInfoValidationRulesBillingInfoValidationRuleIdExecute(r) -} - -/* -GETBillingInfoValidationRulesBillingInfoValidationRuleId Retrieve a billing info validation rule - -Retrieve a billing info validation rule - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param billingInfoValidationRuleId The resource's id - @return BillingInfoValidationRulesApiGETBillingInfoValidationRulesBillingInfoValidationRuleIdRequest -*/ -func (a *BillingInfoValidationRulesApiService) GETBillingInfoValidationRulesBillingInfoValidationRuleId(ctx context.Context, billingInfoValidationRuleId interface{}) BillingInfoValidationRulesApiGETBillingInfoValidationRulesBillingInfoValidationRuleIdRequest { - return BillingInfoValidationRulesApiGETBillingInfoValidationRulesBillingInfoValidationRuleIdRequest{ - ApiService: a, - ctx: ctx, - billingInfoValidationRuleId: billingInfoValidationRuleId, - } -} - -// Execute executes the request -// -// @return GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response -func (a *BillingInfoValidationRulesApiService) GETBillingInfoValidationRulesBillingInfoValidationRuleIdExecute(r BillingInfoValidationRulesApiGETBillingInfoValidationRulesBillingInfoValidationRuleIdRequest) (*GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response, *http.Response, error) { - var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BillingInfoValidationRulesApiService.GETBillingInfoValidationRulesBillingInfoValidationRuleId") - if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/billing_info_validation_rules/{billingInfoValidationRuleId}" - localVarPath = strings.Replace(localVarPath, "{"+"billingInfoValidationRuleId"+"}", url.PathEscape(parameterValueToString(r.billingInfoValidationRuleId, "billingInfoValidationRuleId")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/vnd.api+json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} - -type BillingInfoValidationRulesApiPATCHBillingInfoValidationRulesBillingInfoValidationRuleIdRequest struct { - ctx context.Context - ApiService *BillingInfoValidationRulesApiService - billingInfoValidationRuleUpdate *BillingInfoValidationRuleUpdate - billingInfoValidationRuleId interface{} -} - -func (r BillingInfoValidationRulesApiPATCHBillingInfoValidationRulesBillingInfoValidationRuleIdRequest) BillingInfoValidationRuleUpdate(billingInfoValidationRuleUpdate BillingInfoValidationRuleUpdate) BillingInfoValidationRulesApiPATCHBillingInfoValidationRulesBillingInfoValidationRuleIdRequest { - r.billingInfoValidationRuleUpdate = &billingInfoValidationRuleUpdate - return r -} - -func (r BillingInfoValidationRulesApiPATCHBillingInfoValidationRulesBillingInfoValidationRuleIdRequest) Execute() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response, *http.Response, error) { - return r.ApiService.PATCHBillingInfoValidationRulesBillingInfoValidationRuleIdExecute(r) -} - -/* -PATCHBillingInfoValidationRulesBillingInfoValidationRuleId Update a billing info validation rule - -Update a billing info validation rule - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param billingInfoValidationRuleId The resource's id - @return BillingInfoValidationRulesApiPATCHBillingInfoValidationRulesBillingInfoValidationRuleIdRequest -*/ -func (a *BillingInfoValidationRulesApiService) PATCHBillingInfoValidationRulesBillingInfoValidationRuleId(ctx context.Context, billingInfoValidationRuleId interface{}) BillingInfoValidationRulesApiPATCHBillingInfoValidationRulesBillingInfoValidationRuleIdRequest { - return BillingInfoValidationRulesApiPATCHBillingInfoValidationRulesBillingInfoValidationRuleIdRequest{ - ApiService: a, - ctx: ctx, - billingInfoValidationRuleId: billingInfoValidationRuleId, - } -} - -// Execute executes the request -// -// @return PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response -func (a *BillingInfoValidationRulesApiService) PATCHBillingInfoValidationRulesBillingInfoValidationRuleIdExecute(r BillingInfoValidationRulesApiPATCHBillingInfoValidationRulesBillingInfoValidationRuleIdRequest) (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response, *http.Response, error) { - var ( - localVarHTTPMethod = http.MethodPatch - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BillingInfoValidationRulesApiService.PATCHBillingInfoValidationRulesBillingInfoValidationRuleId") - if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/billing_info_validation_rules/{billingInfoValidationRuleId}" - localVarPath = strings.Replace(localVarPath, "{"+"billingInfoValidationRuleId"+"}", url.PathEscape(parameterValueToString(r.billingInfoValidationRuleId, "billingInfoValidationRuleId")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - if r.billingInfoValidationRuleUpdate == nil { - return localVarReturnValue, nil, reportError("billingInfoValidationRuleUpdate is required and must be specified") - } - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{"application/vnd.api+json"} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/vnd.api+json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - // body params - localVarPostBody = r.billingInfoValidationRuleUpdate - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} - -type BillingInfoValidationRulesApiPOSTBillingInfoValidationRulesRequest struct { - ctx context.Context - ApiService *BillingInfoValidationRulesApiService - billingInfoValidationRuleCreate *BillingInfoValidationRuleCreate -} - -func (r BillingInfoValidationRulesApiPOSTBillingInfoValidationRulesRequest) BillingInfoValidationRuleCreate(billingInfoValidationRuleCreate BillingInfoValidationRuleCreate) BillingInfoValidationRulesApiPOSTBillingInfoValidationRulesRequest { - r.billingInfoValidationRuleCreate = &billingInfoValidationRuleCreate - return r -} - -func (r BillingInfoValidationRulesApiPOSTBillingInfoValidationRulesRequest) Execute() (*POSTBillingInfoValidationRules201Response, *http.Response, error) { - return r.ApiService.POSTBillingInfoValidationRulesExecute(r) -} - -/* -POSTBillingInfoValidationRules Create a billing info validation rule - -Create a billing info validation rule - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return BillingInfoValidationRulesApiPOSTBillingInfoValidationRulesRequest -*/ -func (a *BillingInfoValidationRulesApiService) POSTBillingInfoValidationRules(ctx context.Context) BillingInfoValidationRulesApiPOSTBillingInfoValidationRulesRequest { - return BillingInfoValidationRulesApiPOSTBillingInfoValidationRulesRequest{ - ApiService: a, - ctx: ctx, - } -} - -// Execute executes the request -// -// @return POSTBillingInfoValidationRules201Response -func (a *BillingInfoValidationRulesApiService) POSTBillingInfoValidationRulesExecute(r BillingInfoValidationRulesApiPOSTBillingInfoValidationRulesRequest) (*POSTBillingInfoValidationRules201Response, *http.Response, error) { - var ( - localVarHTTPMethod = http.MethodPost - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *POSTBillingInfoValidationRules201Response - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BillingInfoValidationRulesApiService.POSTBillingInfoValidationRules") - if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/billing_info_validation_rules" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - if r.billingInfoValidationRuleCreate == nil { - return localVarReturnValue, nil, reportError("billingInfoValidationRuleCreate is required and must be specified") - } - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{"application/vnd.api+json"} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/vnd.api+json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - // body params - localVarPostBody = r.billingInfoValidationRuleCreate - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} diff --git a/api/api_bing_geocoders.go b/api/api_bing_geocoders.go index ea270624f..a5c06e1e5 100644 --- a/api/api_bing_geocoders.go +++ b/api/api_bing_geocoders.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_braintree_gateways.go b/api/api_braintree_gateways.go index 6ef672692..c872af553 100644 --- a/api/api_braintree_gateways.go +++ b/api/api_braintree_gateways.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_braintree_payments.go b/api/api_braintree_payments.go index f07ff9f93..ce58c7ccf 100644 --- a/api/api_braintree_payments.go +++ b/api/api_braintree_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_bundles.go b/api/api_bundles.go index 1a2791b9d..724253b1d 100644 --- a/api/api_bundles.go +++ b/api/api_bundles.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_buy_x_pay_y_promotions.go b/api/api_buy_x_pay_y_promotions.go index 4ac7a0e6e..d392417ca 100644 --- a/api/api_buy_x_pay_y_promotions.go +++ b/api/api_buy_x_pay_y_promotions.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_captures.go b/api/api_captures.go index b1a72b1c1..cf26681f4 100644 --- a/api/api_captures.go +++ b/api/api_captures.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_carrier_accounts.go b/api/api_carrier_accounts.go index bc8381cfc..a5e7e22d1 100644 --- a/api/api_carrier_accounts.go +++ b/api/api_carrier_accounts.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_checkout_com_gateways.go b/api/api_checkout_com_gateways.go index da83d977c..7b0a48f24 100644 --- a/api/api_checkout_com_gateways.go +++ b/api/api_checkout_com_gateways.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_checkout_com_payments.go b/api/api_checkout_com_payments.go index 7878544a3..3d9e42d94 100644 --- a/api/api_checkout_com_payments.go +++ b/api/api_checkout_com_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_cleanups.go b/api/api_cleanups.go index 76d5c49d3..60df4e038 100644 --- a/api/api_cleanups.go +++ b/api/api_cleanups.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_coupon_codes_promotion_rules.go b/api/api_coupon_codes_promotion_rules.go index 8c9954618..c6cc6b239 100644 --- a/api/api_coupon_codes_promotion_rules.go +++ b/api/api_coupon_codes_promotion_rules.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_coupon_recipients.go b/api/api_coupon_recipients.go index 800f175fe..1d712d4a0 100644 --- a/api/api_coupon_recipients.go +++ b/api/api_coupon_recipients.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_coupons.go b/api/api_coupons.go index c4b3ced89..48f5d294f 100644 --- a/api/api_coupons.go +++ b/api/api_coupons.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_custom_promotion_rules.go b/api/api_custom_promotion_rules.go index cff794425..29464cf16 100644 --- a/api/api_custom_promotion_rules.go +++ b/api/api_custom_promotion_rules.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_customer_addresses.go b/api/api_customer_addresses.go index 50519d196..97cc25b13 100644 --- a/api/api_customer_addresses.go +++ b/api/api_customer_addresses.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_customer_groups.go b/api/api_customer_groups.go index f1a272150..e5a4b8289 100644 --- a/api/api_customer_groups.go +++ b/api/api_customer_groups.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_customer_password_resets.go b/api/api_customer_password_resets.go index 8f3b913e4..08ff77d9f 100644 --- a/api/api_customer_password_resets.go +++ b/api/api_customer_password_resets.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_customer_payment_sources.go b/api/api_customer_payment_sources.go index a9fe180c2..b61c7a1a6 100644 --- a/api/api_customer_payment_sources.go +++ b/api/api_customer_payment_sources.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_customer_subscriptions.go b/api/api_customer_subscriptions.go index cd4796b69..cb2dd0290 100644 --- a/api/api_customer_subscriptions.go +++ b/api/api_customer_subscriptions.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_customers.go b/api/api_customers.go index 9be9579fc..d0ae4ce1a 100644 --- a/api/api_customers.go +++ b/api/api_customers.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_delivery_lead_times.go b/api/api_delivery_lead_times.go index eaa928541..61bafd81f 100644 --- a/api/api_delivery_lead_times.go +++ b/api/api_delivery_lead_times.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_event_callbacks.go b/api/api_event_callbacks.go index 0829e2502..e325d931d 100644 --- a/api/api_event_callbacks.go +++ b/api/api_event_callbacks.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_events.go b/api/api_events.go index 84a85a1c9..1800f03e4 100644 --- a/api/api_events.go +++ b/api/api_events.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -4091,6 +4091,98 @@ func (a *EventsApiService) GETStockTransferIdEventsExecute(r EventsApiGETStockTr return localVarHTTPResponse, nil } +type EventsApiGETStoreIdEventsRequest struct { + ctx context.Context + ApiService *EventsApiService + storeId interface{} +} + +func (r EventsApiGETStoreIdEventsRequest) Execute() (*http.Response, error) { + return r.ApiService.GETStoreIdEventsExecute(r) +} + +/* +GETStoreIdEvents Retrieve the events associated to the store + +Retrieve the events associated to the store + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param storeId The resource's id + @return EventsApiGETStoreIdEventsRequest +*/ +func (a *EventsApiService) GETStoreIdEvents(ctx context.Context, storeId interface{}) EventsApiGETStoreIdEventsRequest { + return EventsApiGETStoreIdEventsRequest{ + ApiService: a, + ctx: ctx, + storeId: storeId, + } +} + +// Execute executes the request +func (a *EventsApiService) GETStoreIdEventsExecute(r EventsApiGETStoreIdEventsRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "EventsApiService.GETStoreIdEvents") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/stores/{storeId}/events" + localVarPath = strings.Replace(localVarPath, "{"+"storeId"+"}", url.PathEscape(parameterValueToString(r.storeId, "storeId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + type EventsApiGETTransactionIdEventsRequest struct { ctx context.Context ApiService *EventsApiService diff --git a/api/api_exports.go b/api/api_exports.go index 2ab3c261e..6447527c1 100644 --- a/api/api_exports.go +++ b/api/api_exports.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_external_gateways.go b/api/api_external_gateways.go index 5e56f4578..a5f5172e4 100644 --- a/api/api_external_gateways.go +++ b/api/api_external_gateways.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_external_payments.go b/api/api_external_payments.go index 803c15cdb..3917045ae 100644 --- a/api/api_external_payments.go +++ b/api/api_external_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_external_promotions.go b/api/api_external_promotions.go index f1eba178a..d73e3f6fc 100644 --- a/api/api_external_promotions.go +++ b/api/api_external_promotions.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_external_tax_calculators.go b/api/api_external_tax_calculators.go index af3ccf727..4e5ac9a3b 100644 --- a/api/api_external_tax_calculators.go +++ b/api/api_external_tax_calculators.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_fixed_amount_promotions.go b/api/api_fixed_amount_promotions.go index 49f802c63..ea66fb1f3 100644 --- a/api/api_fixed_amount_promotions.go +++ b/api/api_fixed_amount_promotions.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_fixed_price_promotions.go b/api/api_fixed_price_promotions.go index dba9b51d8..08102793f 100644 --- a/api/api_fixed_price_promotions.go +++ b/api/api_fixed_price_promotions.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_flex_promotions.go b/api/api_flex_promotions.go index 6b949da92..7723dbe39 100644 --- a/api/api_flex_promotions.go +++ b/api/api_flex_promotions.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_free_gift_promotions.go b/api/api_free_gift_promotions.go index 73dfe115d..5fb04b7ed 100644 --- a/api/api_free_gift_promotions.go +++ b/api/api_free_gift_promotions.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_free_shipping_promotions.go b/api/api_free_shipping_promotions.go index 00bf66870..03a8778e0 100644 --- a/api/api_free_shipping_promotions.go +++ b/api/api_free_shipping_promotions.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_geocoders.go b/api/api_geocoders.go index 59d79e528..d9e4a3c43 100644 --- a/api/api_geocoders.go +++ b/api/api_geocoders.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_gift_card_recipients.go b/api/api_gift_card_recipients.go index d19f95805..8067ff6e3 100644 --- a/api/api_gift_card_recipients.go +++ b/api/api_gift_card_recipients.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_gift_cards.go b/api/api_gift_cards.go index 45195c65e..1f136a678 100644 --- a/api/api_gift_cards.go +++ b/api/api_gift_cards.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_google_geocoders.go b/api/api_google_geocoders.go index ca63da3f2..75e3365dd 100644 --- a/api/api_google_geocoders.go +++ b/api/api_google_geocoders.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_has_many.go b/api/api_has_many.go index 3225c9ae9..f5e784f72 100644 --- a/api/api_has_many.go +++ b/api/api_has_many.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -2047,190 +2047,6 @@ func (a *HasManyApiService) GETAxervePaymentIdVersionsExecute(r HasManyApiGETAxe return localVarHTTPResponse, nil } -type HasManyApiGETBillingInfoValidationRuleIdAttachmentsRequest struct { - ctx context.Context - ApiService *HasManyApiService - billingInfoValidationRuleId interface{} -} - -func (r HasManyApiGETBillingInfoValidationRuleIdAttachmentsRequest) Execute() (*http.Response, error) { - return r.ApiService.GETBillingInfoValidationRuleIdAttachmentsExecute(r) -} - -/* -GETBillingInfoValidationRuleIdAttachments Retrieve the attachments associated to the billing info validation rule - -Retrieve the attachments associated to the billing info validation rule - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param billingInfoValidationRuleId The resource's id - @return HasManyApiGETBillingInfoValidationRuleIdAttachmentsRequest -*/ -func (a *HasManyApiService) GETBillingInfoValidationRuleIdAttachments(ctx context.Context, billingInfoValidationRuleId interface{}) HasManyApiGETBillingInfoValidationRuleIdAttachmentsRequest { - return HasManyApiGETBillingInfoValidationRuleIdAttachmentsRequest{ - ApiService: a, - ctx: ctx, - billingInfoValidationRuleId: billingInfoValidationRuleId, - } -} - -// Execute executes the request -func (a *HasManyApiService) GETBillingInfoValidationRuleIdAttachmentsExecute(r HasManyApiGETBillingInfoValidationRuleIdAttachmentsRequest) (*http.Response, error) { - var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HasManyApiService.GETBillingInfoValidationRuleIdAttachments") - if err != nil { - return nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/billing_info_validation_rules/{billingInfoValidationRuleId}/attachments" - localVarPath = strings.Replace(localVarPath, "{"+"billingInfoValidationRuleId"+"}", url.PathEscape(parameterValueToString(r.billingInfoValidationRuleId, "billingInfoValidationRuleId")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarHTTPResponse, newErr - } - - return localVarHTTPResponse, nil -} - -type HasManyApiGETBillingInfoValidationRuleIdVersionsRequest struct { - ctx context.Context - ApiService *HasManyApiService - billingInfoValidationRuleId interface{} -} - -func (r HasManyApiGETBillingInfoValidationRuleIdVersionsRequest) Execute() (*http.Response, error) { - return r.ApiService.GETBillingInfoValidationRuleIdVersionsExecute(r) -} - -/* -GETBillingInfoValidationRuleIdVersions Retrieve the versions associated to the billing info validation rule - -Retrieve the versions associated to the billing info validation rule - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param billingInfoValidationRuleId The resource's id - @return HasManyApiGETBillingInfoValidationRuleIdVersionsRequest -*/ -func (a *HasManyApiService) GETBillingInfoValidationRuleIdVersions(ctx context.Context, billingInfoValidationRuleId interface{}) HasManyApiGETBillingInfoValidationRuleIdVersionsRequest { - return HasManyApiGETBillingInfoValidationRuleIdVersionsRequest{ - ApiService: a, - ctx: ctx, - billingInfoValidationRuleId: billingInfoValidationRuleId, - } -} - -// Execute executes the request -func (a *HasManyApiService) GETBillingInfoValidationRuleIdVersionsExecute(r HasManyApiGETBillingInfoValidationRuleIdVersionsRequest) (*http.Response, error) { - var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HasManyApiService.GETBillingInfoValidationRuleIdVersions") - if err != nil { - return nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/billing_info_validation_rules/{billingInfoValidationRuleId}/versions" - localVarPath = strings.Replace(localVarPath, "{"+"billingInfoValidationRuleId"+"}", url.PathEscape(parameterValueToString(r.billingInfoValidationRuleId, "billingInfoValidationRuleId")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarHTTPResponse, newErr - } - - return localVarHTTPResponse, nil -} - type HasManyApiGETBingGeocoderIdAddressesRequest struct { ctx context.Context ApiService *HasManyApiService @@ -14283,6 +14099,98 @@ func (a *HasManyApiService) GETLineItemIdLineItemOptionsExecute(r HasManyApiGETL return localVarHTTPResponse, nil } +type HasManyApiGETLineItemIdNotificationsRequest struct { + ctx context.Context + ApiService *HasManyApiService + lineItemId interface{} +} + +func (r HasManyApiGETLineItemIdNotificationsRequest) Execute() (*http.Response, error) { + return r.ApiService.GETLineItemIdNotificationsExecute(r) +} + +/* +GETLineItemIdNotifications Retrieve the notifications associated to the line item + +Retrieve the notifications associated to the line item + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param lineItemId The resource's id + @return HasManyApiGETLineItemIdNotificationsRequest +*/ +func (a *HasManyApiService) GETLineItemIdNotifications(ctx context.Context, lineItemId interface{}) HasManyApiGETLineItemIdNotificationsRequest { + return HasManyApiGETLineItemIdNotificationsRequest{ + ApiService: a, + ctx: ctx, + lineItemId: lineItemId, + } +} + +// Execute executes the request +func (a *HasManyApiService) GETLineItemIdNotificationsExecute(r HasManyApiGETLineItemIdNotificationsRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HasManyApiService.GETLineItemIdNotifications") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/line_items/{lineItemId}/notifications" + localVarPath = strings.Replace(localVarPath, "{"+"lineItemId"+"}", url.PathEscape(parameterValueToString(r.lineItemId, "lineItemId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + type HasManyApiGETLineItemIdReturnLineItemsRequest struct { ctx context.Context ApiService *HasManyApiService @@ -15755,27 +15663,27 @@ func (a *HasManyApiService) GETMarketIdPriceListSchedulersExecute(r HasManyApiGE return localVarHTTPResponse, nil } -type HasManyApiGETMarketIdVersionsRequest struct { +type HasManyApiGETMarketIdStoresRequest struct { ctx context.Context ApiService *HasManyApiService marketId interface{} } -func (r HasManyApiGETMarketIdVersionsRequest) Execute() (*http.Response, error) { - return r.ApiService.GETMarketIdVersionsExecute(r) +func (r HasManyApiGETMarketIdStoresRequest) Execute() (*http.Response, error) { + return r.ApiService.GETMarketIdStoresExecute(r) } /* -GETMarketIdVersions Retrieve the versions associated to the market +GETMarketIdStores Retrieve the stores associated to the market -Retrieve the versions associated to the market +Retrieve the stores associated to the market @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param marketId The resource's id - @return HasManyApiGETMarketIdVersionsRequest + @return HasManyApiGETMarketIdStoresRequest */ -func (a *HasManyApiService) GETMarketIdVersions(ctx context.Context, marketId interface{}) HasManyApiGETMarketIdVersionsRequest { - return HasManyApiGETMarketIdVersionsRequest{ +func (a *HasManyApiService) GETMarketIdStores(ctx context.Context, marketId interface{}) HasManyApiGETMarketIdStoresRequest { + return HasManyApiGETMarketIdStoresRequest{ ApiService: a, ctx: ctx, marketId: marketId, @@ -15783,19 +15691,19 @@ func (a *HasManyApiService) GETMarketIdVersions(ctx context.Context, marketId in } // Execute executes the request -func (a *HasManyApiService) GETMarketIdVersionsExecute(r HasManyApiGETMarketIdVersionsRequest) (*http.Response, error) { +func (a *HasManyApiService) GETMarketIdStoresExecute(r HasManyApiGETMarketIdStoresRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HasManyApiService.GETMarketIdVersions") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HasManyApiService.GETMarketIdStores") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/markets/{marketId}/versions" + localVarPath := localBasePath + "/markets/{marketId}/stores" localVarPath = strings.Replace(localVarPath, "{"+"marketId"+"}", url.PathEscape(parameterValueToString(r.marketId, "marketId")), -1) localVarHeaderParams := make(map[string]string) @@ -15847,27 +15755,119 @@ func (a *HasManyApiService) GETMarketIdVersionsExecute(r HasManyApiGETMarketIdVe return localVarHTTPResponse, nil } -type HasManyApiGETMerchantIdAttachmentsRequest struct { +type HasManyApiGETMarketIdVersionsRequest struct { ctx context.Context ApiService *HasManyApiService - merchantId interface{} + marketId interface{} } -func (r HasManyApiGETMerchantIdAttachmentsRequest) Execute() (*http.Response, error) { - return r.ApiService.GETMerchantIdAttachmentsExecute(r) +func (r HasManyApiGETMarketIdVersionsRequest) Execute() (*http.Response, error) { + return r.ApiService.GETMarketIdVersionsExecute(r) } /* -GETMerchantIdAttachments Retrieve the attachments associated to the merchant +GETMarketIdVersions Retrieve the versions associated to the market -Retrieve the attachments associated to the merchant +Retrieve the versions associated to the market @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param merchantId The resource's id - @return HasManyApiGETMerchantIdAttachmentsRequest + @param marketId The resource's id + @return HasManyApiGETMarketIdVersionsRequest */ -func (a *HasManyApiService) GETMerchantIdAttachments(ctx context.Context, merchantId interface{}) HasManyApiGETMerchantIdAttachmentsRequest { - return HasManyApiGETMerchantIdAttachmentsRequest{ +func (a *HasManyApiService) GETMarketIdVersions(ctx context.Context, marketId interface{}) HasManyApiGETMarketIdVersionsRequest { + return HasManyApiGETMarketIdVersionsRequest{ + ApiService: a, + ctx: ctx, + marketId: marketId, + } +} + +// Execute executes the request +func (a *HasManyApiService) GETMarketIdVersionsExecute(r HasManyApiGETMarketIdVersionsRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HasManyApiService.GETMarketIdVersions") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/markets/{marketId}/versions" + localVarPath = strings.Replace(localVarPath, "{"+"marketId"+"}", url.PathEscape(parameterValueToString(r.marketId, "marketId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type HasManyApiGETMerchantIdAttachmentsRequest struct { + ctx context.Context + ApiService *HasManyApiService + merchantId interface{} +} + +func (r HasManyApiGETMerchantIdAttachmentsRequest) Execute() (*http.Response, error) { + return r.ApiService.GETMerchantIdAttachmentsExecute(r) +} + +/* +GETMerchantIdAttachments Retrieve the attachments associated to the merchant + +Retrieve the attachments associated to the merchant + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param merchantId The resource's id + @return HasManyApiGETMerchantIdAttachmentsRequest +*/ +func (a *HasManyApiService) GETMerchantIdAttachments(ctx context.Context, merchantId interface{}) HasManyApiGETMerchantIdAttachmentsRequest { + return HasManyApiGETMerchantIdAttachmentsRequest{ ApiService: a, ctx: ctx, merchantId: merchantId, @@ -17319,6 +17319,98 @@ func (a *HasManyApiService) GETOrderIdLinksExecute(r HasManyApiGETOrderIdLinksRe return localVarHTTPResponse, nil } +type HasManyApiGETOrderIdNotificationsRequest struct { + ctx context.Context + ApiService *HasManyApiService + orderId interface{} +} + +func (r HasManyApiGETOrderIdNotificationsRequest) Execute() (*http.Response, error) { + return r.ApiService.GETOrderIdNotificationsExecute(r) +} + +/* +GETOrderIdNotifications Retrieve the notifications associated to the order + +Retrieve the notifications associated to the order + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param orderId The resource's id + @return HasManyApiGETOrderIdNotificationsRequest +*/ +func (a *HasManyApiService) GETOrderIdNotifications(ctx context.Context, orderId interface{}) HasManyApiGETOrderIdNotificationsRequest { + return HasManyApiGETOrderIdNotificationsRequest{ + ApiService: a, + ctx: ctx, + orderId: orderId, + } +} + +// Execute executes the request +func (a *HasManyApiService) GETOrderIdNotificationsExecute(r HasManyApiGETOrderIdNotificationsRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HasManyApiService.GETOrderIdNotifications") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/orders/{orderId}/notifications" + localVarPath = strings.Replace(localVarPath, "{"+"orderId"+"}", url.PathEscape(parameterValueToString(r.orderId, "orderId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + type HasManyApiGETOrderIdOrderCopiesRequest struct { ctx context.Context ApiService *HasManyApiService @@ -20355,6 +20447,98 @@ func (a *HasManyApiService) GETPaymentMethodIdAttachmentsExecute(r HasManyApiGET return localVarHTTPResponse, nil } +type HasManyApiGETPaymentMethodIdOrdersRequest struct { + ctx context.Context + ApiService *HasManyApiService + paymentMethodId interface{} +} + +func (r HasManyApiGETPaymentMethodIdOrdersRequest) Execute() (*http.Response, error) { + return r.ApiService.GETPaymentMethodIdOrdersExecute(r) +} + +/* +GETPaymentMethodIdOrders Retrieve the orders associated to the payment method + +Retrieve the orders associated to the payment method + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param paymentMethodId The resource's id + @return HasManyApiGETPaymentMethodIdOrdersRequest +*/ +func (a *HasManyApiService) GETPaymentMethodIdOrders(ctx context.Context, paymentMethodId interface{}) HasManyApiGETPaymentMethodIdOrdersRequest { + return HasManyApiGETPaymentMethodIdOrdersRequest{ + ApiService: a, + ctx: ctx, + paymentMethodId: paymentMethodId, + } +} + +// Execute executes the request +func (a *HasManyApiService) GETPaymentMethodIdOrdersExecute(r HasManyApiGETPaymentMethodIdOrdersRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HasManyApiService.GETPaymentMethodIdOrders") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/payment_methods/{paymentMethodId}/orders" + localVarPath = strings.Replace(localVarPath, "{"+"paymentMethodId"+"}", url.PathEscape(parameterValueToString(r.paymentMethodId, "paymentMethodId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + type HasManyApiGETPaymentMethodIdVersionsRequest struct { ctx context.Context ApiService *HasManyApiService @@ -30843,6 +31027,98 @@ func (a *HasManyApiService) GETStockLocationIdStockTransfersExecute(r HasManyApi return localVarHTTPResponse, nil } +type HasManyApiGETStockLocationIdStoresRequest struct { + ctx context.Context + ApiService *HasManyApiService + stockLocationId interface{} +} + +func (r HasManyApiGETStockLocationIdStoresRequest) Execute() (*http.Response, error) { + return r.ApiService.GETStockLocationIdStoresExecute(r) +} + +/* +GETStockLocationIdStores Retrieve the stores associated to the stock location + +Retrieve the stores associated to the stock location + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param stockLocationId The resource's id + @return HasManyApiGETStockLocationIdStoresRequest +*/ +func (a *HasManyApiService) GETStockLocationIdStores(ctx context.Context, stockLocationId interface{}) HasManyApiGETStockLocationIdStoresRequest { + return HasManyApiGETStockLocationIdStoresRequest{ + ApiService: a, + ctx: ctx, + stockLocationId: stockLocationId, + } +} + +// Execute executes the request +func (a *HasManyApiService) GETStockLocationIdStoresExecute(r HasManyApiGETStockLocationIdStoresRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HasManyApiService.GETStockLocationIdStores") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/stock_locations/{stockLocationId}/stores" + localVarPath = strings.Replace(localVarPath, "{"+"stockLocationId"+"}", url.PathEscape(parameterValueToString(r.stockLocationId, "stockLocationId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + type HasManyApiGETStockLocationIdVersionsRequest struct { ctx context.Context ApiService *HasManyApiService @@ -31211,6 +31487,374 @@ func (a *HasManyApiService) GETStockTransferIdVersionsExecute(r HasManyApiGETSto return localVarHTTPResponse, nil } +type HasManyApiGETStoreIdEventsRequest struct { + ctx context.Context + ApiService *HasManyApiService + storeId interface{} +} + +func (r HasManyApiGETStoreIdEventsRequest) Execute() (*http.Response, error) { + return r.ApiService.GETStoreIdEventsExecute(r) +} + +/* +GETStoreIdEvents Retrieve the events associated to the store + +Retrieve the events associated to the store + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param storeId The resource's id + @return HasManyApiGETStoreIdEventsRequest +*/ +func (a *HasManyApiService) GETStoreIdEvents(ctx context.Context, storeId interface{}) HasManyApiGETStoreIdEventsRequest { + return HasManyApiGETStoreIdEventsRequest{ + ApiService: a, + ctx: ctx, + storeId: storeId, + } +} + +// Execute executes the request +func (a *HasManyApiService) GETStoreIdEventsExecute(r HasManyApiGETStoreIdEventsRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HasManyApiService.GETStoreIdEvents") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/stores/{storeId}/events" + localVarPath = strings.Replace(localVarPath, "{"+"storeId"+"}", url.PathEscape(parameterValueToString(r.storeId, "storeId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type HasManyApiGETStoreIdOrdersRequest struct { + ctx context.Context + ApiService *HasManyApiService + storeId interface{} +} + +func (r HasManyApiGETStoreIdOrdersRequest) Execute() (*http.Response, error) { + return r.ApiService.GETStoreIdOrdersExecute(r) +} + +/* +GETStoreIdOrders Retrieve the orders associated to the store + +Retrieve the orders associated to the store + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param storeId The resource's id + @return HasManyApiGETStoreIdOrdersRequest +*/ +func (a *HasManyApiService) GETStoreIdOrders(ctx context.Context, storeId interface{}) HasManyApiGETStoreIdOrdersRequest { + return HasManyApiGETStoreIdOrdersRequest{ + ApiService: a, + ctx: ctx, + storeId: storeId, + } +} + +// Execute executes the request +func (a *HasManyApiService) GETStoreIdOrdersExecute(r HasManyApiGETStoreIdOrdersRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HasManyApiService.GETStoreIdOrders") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/stores/{storeId}/orders" + localVarPath = strings.Replace(localVarPath, "{"+"storeId"+"}", url.PathEscape(parameterValueToString(r.storeId, "storeId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type HasManyApiGETStoreIdPaymentMethodsRequest struct { + ctx context.Context + ApiService *HasManyApiService + storeId interface{} +} + +func (r HasManyApiGETStoreIdPaymentMethodsRequest) Execute() (*http.Response, error) { + return r.ApiService.GETStoreIdPaymentMethodsExecute(r) +} + +/* +GETStoreIdPaymentMethods Retrieve the payment methods associated to the store + +Retrieve the payment methods associated to the store + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param storeId The resource's id + @return HasManyApiGETStoreIdPaymentMethodsRequest +*/ +func (a *HasManyApiService) GETStoreIdPaymentMethods(ctx context.Context, storeId interface{}) HasManyApiGETStoreIdPaymentMethodsRequest { + return HasManyApiGETStoreIdPaymentMethodsRequest{ + ApiService: a, + ctx: ctx, + storeId: storeId, + } +} + +// Execute executes the request +func (a *HasManyApiService) GETStoreIdPaymentMethodsExecute(r HasManyApiGETStoreIdPaymentMethodsRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HasManyApiService.GETStoreIdPaymentMethods") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/stores/{storeId}/payment_methods" + localVarPath = strings.Replace(localVarPath, "{"+"storeId"+"}", url.PathEscape(parameterValueToString(r.storeId, "storeId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type HasManyApiGETStoreIdVersionsRequest struct { + ctx context.Context + ApiService *HasManyApiService + storeId interface{} +} + +func (r HasManyApiGETStoreIdVersionsRequest) Execute() (*http.Response, error) { + return r.ApiService.GETStoreIdVersionsExecute(r) +} + +/* +GETStoreIdVersions Retrieve the versions associated to the store + +Retrieve the versions associated to the store + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param storeId The resource's id + @return HasManyApiGETStoreIdVersionsRequest +*/ +func (a *HasManyApiService) GETStoreIdVersions(ctx context.Context, storeId interface{}) HasManyApiGETStoreIdVersionsRequest { + return HasManyApiGETStoreIdVersionsRequest{ + ApiService: a, + ctx: ctx, + storeId: storeId, + } +} + +// Execute executes the request +func (a *HasManyApiService) GETStoreIdVersionsExecute(r HasManyApiGETStoreIdVersionsRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HasManyApiService.GETStoreIdVersions") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/stores/{storeId}/versions" + localVarPath = strings.Replace(localVarPath, "{"+"storeId"+"}", url.PathEscape(parameterValueToString(r.storeId, "storeId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + type HasManyApiGETStripeGatewayIdPaymentMethodsRequest struct { ctx context.Context ApiService *HasManyApiService diff --git a/api/api_has_one.go b/api/api_has_one.go index 64b77c5f9..1bf80b883 100644 --- a/api/api_has_one.go +++ b/api/api_has_one.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -575,98 +575,6 @@ func (a *HasOneApiService) GETAxervePaymentIdPaymentGatewayExecute(r HasOneApiGE return localVarHTTPResponse, nil } -type HasOneApiGETBillingInfoValidationRuleIdMarketRequest struct { - ctx context.Context - ApiService *HasOneApiService - billingInfoValidationRuleId interface{} -} - -func (r HasOneApiGETBillingInfoValidationRuleIdMarketRequest) Execute() (*http.Response, error) { - return r.ApiService.GETBillingInfoValidationRuleIdMarketExecute(r) -} - -/* -GETBillingInfoValidationRuleIdMarket Retrieve the market associated to the billing info validation rule - -Retrieve the market associated to the billing info validation rule - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param billingInfoValidationRuleId The resource's id - @return HasOneApiGETBillingInfoValidationRuleIdMarketRequest -*/ -func (a *HasOneApiService) GETBillingInfoValidationRuleIdMarket(ctx context.Context, billingInfoValidationRuleId interface{}) HasOneApiGETBillingInfoValidationRuleIdMarketRequest { - return HasOneApiGETBillingInfoValidationRuleIdMarketRequest{ - ApiService: a, - ctx: ctx, - billingInfoValidationRuleId: billingInfoValidationRuleId, - } -} - -// Execute executes the request -func (a *HasOneApiService) GETBillingInfoValidationRuleIdMarketExecute(r HasOneApiGETBillingInfoValidationRuleIdMarketRequest) (*http.Response, error) { - var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HasOneApiService.GETBillingInfoValidationRuleIdMarket") - if err != nil { - return nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/billing_info_validation_rules/{billingInfoValidationRuleId}/market" - localVarPath = strings.Replace(localVarPath, "{"+"billingInfoValidationRuleId"+"}", url.PathEscape(parameterValueToString(r.billingInfoValidationRuleId, "billingInfoValidationRuleId")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarHTTPResponse, newErr - } - - return localVarHTTPResponse, nil -} - type HasOneApiGETBraintreePaymentIdOrderRequest struct { ctx context.Context ApiService *HasOneApiService @@ -9683,6 +9591,98 @@ func (a *HasOneApiService) GETOrderIdShippingAddressExecute(r HasOneApiGETOrderI return localVarHTTPResponse, nil } +type HasOneApiGETOrderIdStoreRequest struct { + ctx context.Context + ApiService *HasOneApiService + orderId interface{} +} + +func (r HasOneApiGETOrderIdStoreRequest) Execute() (*http.Response, error) { + return r.ApiService.GETOrderIdStoreExecute(r) +} + +/* +GETOrderIdStore Retrieve the store associated to the order + +Retrieve the store associated to the order + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param orderId The resource's id + @return HasOneApiGETOrderIdStoreRequest +*/ +func (a *HasOneApiService) GETOrderIdStore(ctx context.Context, orderId interface{}) HasOneApiGETOrderIdStoreRequest { + return HasOneApiGETOrderIdStoreRequest{ + ApiService: a, + ctx: ctx, + orderId: orderId, + } +} + +// Execute executes the request +func (a *HasOneApiService) GETOrderIdStoreExecute(r HasOneApiGETOrderIdStoreRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HasOneApiService.GETOrderIdStore") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/orders/{orderId}/store" + localVarPath = strings.Replace(localVarPath, "{"+"orderId"+"}", url.PathEscape(parameterValueToString(r.orderId, "orderId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + type HasOneApiGETOrderSubscriptionIdCustomerRequest struct { ctx context.Context ApiService *HasOneApiService @@ -10971,6 +10971,98 @@ func (a *HasOneApiService) GETPaymentMethodIdPaymentGatewayExecute(r HasOneApiGE return localVarHTTPResponse, nil } +type HasOneApiGETPaymentMethodIdStoreRequest struct { + ctx context.Context + ApiService *HasOneApiService + paymentMethodId interface{} +} + +func (r HasOneApiGETPaymentMethodIdStoreRequest) Execute() (*http.Response, error) { + return r.ApiService.GETPaymentMethodIdStoreExecute(r) +} + +/* +GETPaymentMethodIdStore Retrieve the store associated to the payment method + +Retrieve the store associated to the payment method + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param paymentMethodId The resource's id + @return HasOneApiGETPaymentMethodIdStoreRequest +*/ +func (a *HasOneApiService) GETPaymentMethodIdStore(ctx context.Context, paymentMethodId interface{}) HasOneApiGETPaymentMethodIdStoreRequest { + return HasOneApiGETPaymentMethodIdStoreRequest{ + ApiService: a, + ctx: ctx, + paymentMethodId: paymentMethodId, + } +} + +// Execute executes the request +func (a *HasOneApiService) GETPaymentMethodIdStoreExecute(r HasOneApiGETPaymentMethodIdStoreRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HasOneApiService.GETPaymentMethodIdStore") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/payment_methods/{paymentMethodId}/store" + localVarPath = strings.Replace(localVarPath, "{"+"paymentMethodId"+"}", url.PathEscape(parameterValueToString(r.paymentMethodId, "paymentMethodId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + type HasOneApiGETPaymentOptionIdOrderRequest struct { ctx context.Context ApiService *HasOneApiService @@ -18883,6 +18975,282 @@ func (a *HasOneApiService) GETStockTransferIdStockReservationExecute(r HasOneApi return localVarHTTPResponse, nil } +type HasOneApiGETStoreIdMarketRequest struct { + ctx context.Context + ApiService *HasOneApiService + storeId interface{} +} + +func (r HasOneApiGETStoreIdMarketRequest) Execute() (*http.Response, error) { + return r.ApiService.GETStoreIdMarketExecute(r) +} + +/* +GETStoreIdMarket Retrieve the market associated to the store + +Retrieve the market associated to the store + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param storeId The resource's id + @return HasOneApiGETStoreIdMarketRequest +*/ +func (a *HasOneApiService) GETStoreIdMarket(ctx context.Context, storeId interface{}) HasOneApiGETStoreIdMarketRequest { + return HasOneApiGETStoreIdMarketRequest{ + ApiService: a, + ctx: ctx, + storeId: storeId, + } +} + +// Execute executes the request +func (a *HasOneApiService) GETStoreIdMarketExecute(r HasOneApiGETStoreIdMarketRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HasOneApiService.GETStoreIdMarket") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/stores/{storeId}/market" + localVarPath = strings.Replace(localVarPath, "{"+"storeId"+"}", url.PathEscape(parameterValueToString(r.storeId, "storeId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type HasOneApiGETStoreIdMerchantRequest struct { + ctx context.Context + ApiService *HasOneApiService + storeId interface{} +} + +func (r HasOneApiGETStoreIdMerchantRequest) Execute() (*http.Response, error) { + return r.ApiService.GETStoreIdMerchantExecute(r) +} + +/* +GETStoreIdMerchant Retrieve the merchant associated to the store + +Retrieve the merchant associated to the store + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param storeId The resource's id + @return HasOneApiGETStoreIdMerchantRequest +*/ +func (a *HasOneApiService) GETStoreIdMerchant(ctx context.Context, storeId interface{}) HasOneApiGETStoreIdMerchantRequest { + return HasOneApiGETStoreIdMerchantRequest{ + ApiService: a, + ctx: ctx, + storeId: storeId, + } +} + +// Execute executes the request +func (a *HasOneApiService) GETStoreIdMerchantExecute(r HasOneApiGETStoreIdMerchantRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HasOneApiService.GETStoreIdMerchant") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/stores/{storeId}/merchant" + localVarPath = strings.Replace(localVarPath, "{"+"storeId"+"}", url.PathEscape(parameterValueToString(r.storeId, "storeId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type HasOneApiGETStoreIdStockLocationRequest struct { + ctx context.Context + ApiService *HasOneApiService + storeId interface{} +} + +func (r HasOneApiGETStoreIdStockLocationRequest) Execute() (*http.Response, error) { + return r.ApiService.GETStoreIdStockLocationExecute(r) +} + +/* +GETStoreIdStockLocation Retrieve the stock location associated to the store + +Retrieve the stock location associated to the store + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param storeId The resource's id + @return HasOneApiGETStoreIdStockLocationRequest +*/ +func (a *HasOneApiService) GETStoreIdStockLocation(ctx context.Context, storeId interface{}) HasOneApiGETStoreIdStockLocationRequest { + return HasOneApiGETStoreIdStockLocationRequest{ + ApiService: a, + ctx: ctx, + storeId: storeId, + } +} + +// Execute executes the request +func (a *HasOneApiService) GETStoreIdStockLocationExecute(r HasOneApiGETStoreIdStockLocationRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HasOneApiService.GETStoreIdStockLocation") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/stores/{storeId}/stock_location" + localVarPath = strings.Replace(localVarPath, "{"+"storeId"+"}", url.PathEscape(parameterValueToString(r.storeId, "storeId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + type HasOneApiGETStripePaymentIdOrderRequest struct { ctx context.Context ApiService *HasOneApiService diff --git a/api/api_imports.go b/api/api_imports.go index da3144440..058d56579 100644 --- a/api/api_imports.go +++ b/api/api_imports.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_in_stock_subscriptions.go b/api/api_in_stock_subscriptions.go index 9e5a28610..75c42fce7 100644 --- a/api/api_in_stock_subscriptions.go +++ b/api/api_in_stock_subscriptions.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_inventory_models.go b/api/api_inventory_models.go index 0bf24b409..eac031b0f 100644 --- a/api/api_inventory_models.go +++ b/api/api_inventory_models.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_inventory_return_locations.go b/api/api_inventory_return_locations.go index c0b1ac6fd..806898c11 100644 --- a/api/api_inventory_return_locations.go +++ b/api/api_inventory_return_locations.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_inventory_stock_locations.go b/api/api_inventory_stock_locations.go index dd8e220d4..7f40ba4f8 100644 --- a/api/api_inventory_stock_locations.go +++ b/api/api_inventory_stock_locations.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_klarna_gateways.go b/api/api_klarna_gateways.go index 75fee6614..cf69c5871 100644 --- a/api/api_klarna_gateways.go +++ b/api/api_klarna_gateways.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_klarna_payments.go b/api/api_klarna_payments.go index 173736c63..eeb02a0d8 100644 --- a/api/api_klarna_payments.go +++ b/api/api_klarna_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_line_item_options.go b/api/api_line_item_options.go index 5045fa934..309ec6368 100644 --- a/api/api_line_item_options.go +++ b/api/api_line_item_options.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_line_items.go b/api/api_line_items.go index 7dc94b276..61c6fcbc3 100644 --- a/api/api_line_items.go +++ b/api/api_line_items.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_links.go b/api/api_links.go index 09c7b93fc..57d12c863 100644 --- a/api/api_links.go +++ b/api/api_links.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_manual_gateways.go b/api/api_manual_gateways.go index 13406dbd2..c9aaf9527 100644 --- a/api/api_manual_gateways.go +++ b/api/api_manual_gateways.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_manual_tax_calculators.go b/api/api_manual_tax_calculators.go index 44a37c407..1f5f3decc 100644 --- a/api/api_manual_tax_calculators.go +++ b/api/api_manual_tax_calculators.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_markets.go b/api/api_markets.go index b51c4a18c..8cf8406ec 100644 --- a/api/api_markets.go +++ b/api/api_markets.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -207,98 +207,6 @@ func (a *MarketsApiService) GETAvalaraAccountIdMarketsExecute(r MarketsApiGETAva return localVarHTTPResponse, nil } -type MarketsApiGETBillingInfoValidationRuleIdMarketRequest struct { - ctx context.Context - ApiService *MarketsApiService - billingInfoValidationRuleId interface{} -} - -func (r MarketsApiGETBillingInfoValidationRuleIdMarketRequest) Execute() (*http.Response, error) { - return r.ApiService.GETBillingInfoValidationRuleIdMarketExecute(r) -} - -/* -GETBillingInfoValidationRuleIdMarket Retrieve the market associated to the billing info validation rule - -Retrieve the market associated to the billing info validation rule - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param billingInfoValidationRuleId The resource's id - @return MarketsApiGETBillingInfoValidationRuleIdMarketRequest -*/ -func (a *MarketsApiService) GETBillingInfoValidationRuleIdMarket(ctx context.Context, billingInfoValidationRuleId interface{}) MarketsApiGETBillingInfoValidationRuleIdMarketRequest { - return MarketsApiGETBillingInfoValidationRuleIdMarketRequest{ - ApiService: a, - ctx: ctx, - billingInfoValidationRuleId: billingInfoValidationRuleId, - } -} - -// Execute executes the request -func (a *MarketsApiService) GETBillingInfoValidationRuleIdMarketExecute(r MarketsApiGETBillingInfoValidationRuleIdMarketRequest) (*http.Response, error) { - var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarketsApiService.GETBillingInfoValidationRuleIdMarket") - if err != nil { - return nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/billing_info_validation_rules/{billingInfoValidationRuleId}/market" - localVarPath = strings.Replace(localVarPath, "{"+"billingInfoValidationRuleId"+"}", url.PathEscape(parameterValueToString(r.billingInfoValidationRuleId, "billingInfoValidationRuleId")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarHTTPResponse, newErr - } - - return localVarHTTPResponse, nil -} - type MarketsApiGETBingGeocoderIdMarketsRequest struct { ctx context.Context ApiService *MarketsApiService @@ -2895,6 +2803,98 @@ func (a *MarketsApiService) GETSkuOptionIdMarketExecute(r MarketsApiGETSkuOption return localVarHTTPResponse, nil } +type MarketsApiGETStoreIdMarketRequest struct { + ctx context.Context + ApiService *MarketsApiService + storeId interface{} +} + +func (r MarketsApiGETStoreIdMarketRequest) Execute() (*http.Response, error) { + return r.ApiService.GETStoreIdMarketExecute(r) +} + +/* +GETStoreIdMarket Retrieve the market associated to the store + +Retrieve the market associated to the store + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param storeId The resource's id + @return MarketsApiGETStoreIdMarketRequest +*/ +func (a *MarketsApiService) GETStoreIdMarket(ctx context.Context, storeId interface{}) MarketsApiGETStoreIdMarketRequest { + return MarketsApiGETStoreIdMarketRequest{ + ApiService: a, + ctx: ctx, + storeId: storeId, + } +} + +// Execute executes the request +func (a *MarketsApiService) GETStoreIdMarketExecute(r MarketsApiGETStoreIdMarketRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarketsApiService.GETStoreIdMarket") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/stores/{storeId}/market" + localVarPath = strings.Replace(localVarPath, "{"+"storeId"+"}", url.PathEscape(parameterValueToString(r.storeId, "storeId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + type MarketsApiGETSubscriptionModelIdMarketsRequest struct { ctx context.Context ApiService *MarketsApiService diff --git a/api/api_merchants.go b/api/api_merchants.go index be6dd3a69..6d95ce395 100644 --- a/api/api_merchants.go +++ b/api/api_merchants.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -411,6 +411,98 @@ func (a *MerchantsApiService) GETMerchantsMerchantIdExecute(r MerchantsApiGETMer return localVarReturnValue, localVarHTTPResponse, nil } +type MerchantsApiGETStoreIdMerchantRequest struct { + ctx context.Context + ApiService *MerchantsApiService + storeId interface{} +} + +func (r MerchantsApiGETStoreIdMerchantRequest) Execute() (*http.Response, error) { + return r.ApiService.GETStoreIdMerchantExecute(r) +} + +/* +GETStoreIdMerchant Retrieve the merchant associated to the store + +Retrieve the merchant associated to the store + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param storeId The resource's id + @return MerchantsApiGETStoreIdMerchantRequest +*/ +func (a *MerchantsApiService) GETStoreIdMerchant(ctx context.Context, storeId interface{}) MerchantsApiGETStoreIdMerchantRequest { + return MerchantsApiGETStoreIdMerchantRequest{ + ApiService: a, + ctx: ctx, + storeId: storeId, + } +} + +// Execute executes the request +func (a *MerchantsApiService) GETStoreIdMerchantExecute(r MerchantsApiGETStoreIdMerchantRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MerchantsApiService.GETStoreIdMerchant") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/stores/{storeId}/merchant" + localVarPath = strings.Replace(localVarPath, "{"+"storeId"+"}", url.PathEscape(parameterValueToString(r.storeId, "storeId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + type MerchantsApiPATCHMerchantsMerchantIdRequest struct { ctx context.Context ApiService *MerchantsApiService diff --git a/api/api_notifications.go b/api/api_notifications.go new file mode 100644 index 000000000..0b91ea086 --- /dev/null +++ b/api/api_notifications.go @@ -0,0 +1,730 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + +// NotificationsApiService NotificationsApi service +type NotificationsApiService service + +type NotificationsApiDELETENotificationsNotificationIdRequest struct { + ctx context.Context + ApiService *NotificationsApiService + notificationId interface{} +} + +func (r NotificationsApiDELETENotificationsNotificationIdRequest) Execute() (*http.Response, error) { + return r.ApiService.DELETENotificationsNotificationIdExecute(r) +} + +/* +DELETENotificationsNotificationId Delete a notification + +Delete a notification + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param notificationId The resource's id + @return NotificationsApiDELETENotificationsNotificationIdRequest +*/ +func (a *NotificationsApiService) DELETENotificationsNotificationId(ctx context.Context, notificationId interface{}) NotificationsApiDELETENotificationsNotificationIdRequest { + return NotificationsApiDELETENotificationsNotificationIdRequest{ + ApiService: a, + ctx: ctx, + notificationId: notificationId, + } +} + +// Execute executes the request +func (a *NotificationsApiService) DELETENotificationsNotificationIdExecute(r NotificationsApiDELETENotificationsNotificationIdRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationsApiService.DELETENotificationsNotificationId") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/notifications/{notificationId}" + localVarPath = strings.Replace(localVarPath, "{"+"notificationId"+"}", url.PathEscape(parameterValueToString(r.notificationId, "notificationId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type NotificationsApiGETLineItemIdNotificationsRequest struct { + ctx context.Context + ApiService *NotificationsApiService + lineItemId interface{} +} + +func (r NotificationsApiGETLineItemIdNotificationsRequest) Execute() (*http.Response, error) { + return r.ApiService.GETLineItemIdNotificationsExecute(r) +} + +/* +GETLineItemIdNotifications Retrieve the notifications associated to the line item + +Retrieve the notifications associated to the line item + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param lineItemId The resource's id + @return NotificationsApiGETLineItemIdNotificationsRequest +*/ +func (a *NotificationsApiService) GETLineItemIdNotifications(ctx context.Context, lineItemId interface{}) NotificationsApiGETLineItemIdNotificationsRequest { + return NotificationsApiGETLineItemIdNotificationsRequest{ + ApiService: a, + ctx: ctx, + lineItemId: lineItemId, + } +} + +// Execute executes the request +func (a *NotificationsApiService) GETLineItemIdNotificationsExecute(r NotificationsApiGETLineItemIdNotificationsRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationsApiService.GETLineItemIdNotifications") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/line_items/{lineItemId}/notifications" + localVarPath = strings.Replace(localVarPath, "{"+"lineItemId"+"}", url.PathEscape(parameterValueToString(r.lineItemId, "lineItemId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type NotificationsApiGETNotificationsRequest struct { + ctx context.Context + ApiService *NotificationsApiService +} + +func (r NotificationsApiGETNotificationsRequest) Execute() (*GETNotifications200Response, *http.Response, error) { + return r.ApiService.GETNotificationsExecute(r) +} + +/* +GETNotifications List all notifications + +List all notifications + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return NotificationsApiGETNotificationsRequest +*/ +func (a *NotificationsApiService) GETNotifications(ctx context.Context) NotificationsApiGETNotificationsRequest { + return NotificationsApiGETNotificationsRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return GETNotifications200Response +func (a *NotificationsApiService) GETNotificationsExecute(r NotificationsApiGETNotificationsRequest) (*GETNotifications200Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GETNotifications200Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationsApiService.GETNotifications") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/notifications" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/vnd.api+json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type NotificationsApiGETNotificationsNotificationIdRequest struct { + ctx context.Context + ApiService *NotificationsApiService + notificationId interface{} +} + +func (r NotificationsApiGETNotificationsNotificationIdRequest) Execute() (*GETNotificationsNotificationId200Response, *http.Response, error) { + return r.ApiService.GETNotificationsNotificationIdExecute(r) +} + +/* +GETNotificationsNotificationId Retrieve a notification + +Retrieve a notification + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param notificationId The resource's id + @return NotificationsApiGETNotificationsNotificationIdRequest +*/ +func (a *NotificationsApiService) GETNotificationsNotificationId(ctx context.Context, notificationId interface{}) NotificationsApiGETNotificationsNotificationIdRequest { + return NotificationsApiGETNotificationsNotificationIdRequest{ + ApiService: a, + ctx: ctx, + notificationId: notificationId, + } +} + +// Execute executes the request +// +// @return GETNotificationsNotificationId200Response +func (a *NotificationsApiService) GETNotificationsNotificationIdExecute(r NotificationsApiGETNotificationsNotificationIdRequest) (*GETNotificationsNotificationId200Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GETNotificationsNotificationId200Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationsApiService.GETNotificationsNotificationId") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/notifications/{notificationId}" + localVarPath = strings.Replace(localVarPath, "{"+"notificationId"+"}", url.PathEscape(parameterValueToString(r.notificationId, "notificationId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/vnd.api+json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type NotificationsApiGETOrderIdNotificationsRequest struct { + ctx context.Context + ApiService *NotificationsApiService + orderId interface{} +} + +func (r NotificationsApiGETOrderIdNotificationsRequest) Execute() (*http.Response, error) { + return r.ApiService.GETOrderIdNotificationsExecute(r) +} + +/* +GETOrderIdNotifications Retrieve the notifications associated to the order + +Retrieve the notifications associated to the order + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param orderId The resource's id + @return NotificationsApiGETOrderIdNotificationsRequest +*/ +func (a *NotificationsApiService) GETOrderIdNotifications(ctx context.Context, orderId interface{}) NotificationsApiGETOrderIdNotificationsRequest { + return NotificationsApiGETOrderIdNotificationsRequest{ + ApiService: a, + ctx: ctx, + orderId: orderId, + } +} + +// Execute executes the request +func (a *NotificationsApiService) GETOrderIdNotificationsExecute(r NotificationsApiGETOrderIdNotificationsRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationsApiService.GETOrderIdNotifications") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/orders/{orderId}/notifications" + localVarPath = strings.Replace(localVarPath, "{"+"orderId"+"}", url.PathEscape(parameterValueToString(r.orderId, "orderId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type NotificationsApiPATCHNotificationsNotificationIdRequest struct { + ctx context.Context + ApiService *NotificationsApiService + notificationUpdate *NotificationUpdate + notificationId interface{} +} + +func (r NotificationsApiPATCHNotificationsNotificationIdRequest) NotificationUpdate(notificationUpdate NotificationUpdate) NotificationsApiPATCHNotificationsNotificationIdRequest { + r.notificationUpdate = ¬ificationUpdate + return r +} + +func (r NotificationsApiPATCHNotificationsNotificationIdRequest) Execute() (*PATCHNotificationsNotificationId200Response, *http.Response, error) { + return r.ApiService.PATCHNotificationsNotificationIdExecute(r) +} + +/* +PATCHNotificationsNotificationId Update a notification + +Update a notification + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param notificationId The resource's id + @return NotificationsApiPATCHNotificationsNotificationIdRequest +*/ +func (a *NotificationsApiService) PATCHNotificationsNotificationId(ctx context.Context, notificationId interface{}) NotificationsApiPATCHNotificationsNotificationIdRequest { + return NotificationsApiPATCHNotificationsNotificationIdRequest{ + ApiService: a, + ctx: ctx, + notificationId: notificationId, + } +} + +// Execute executes the request +// +// @return PATCHNotificationsNotificationId200Response +func (a *NotificationsApiService) PATCHNotificationsNotificationIdExecute(r NotificationsApiPATCHNotificationsNotificationIdRequest) (*PATCHNotificationsNotificationId200Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPatch + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *PATCHNotificationsNotificationId200Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationsApiService.PATCHNotificationsNotificationId") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/notifications/{notificationId}" + localVarPath = strings.Replace(localVarPath, "{"+"notificationId"+"}", url.PathEscape(parameterValueToString(r.notificationId, "notificationId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.notificationUpdate == nil { + return localVarReturnValue, nil, reportError("notificationUpdate is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/vnd.api+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/vnd.api+json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.notificationUpdate + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type NotificationsApiPOSTNotificationsRequest struct { + ctx context.Context + ApiService *NotificationsApiService + notificationCreate *NotificationCreate +} + +func (r NotificationsApiPOSTNotificationsRequest) NotificationCreate(notificationCreate NotificationCreate) NotificationsApiPOSTNotificationsRequest { + r.notificationCreate = ¬ificationCreate + return r +} + +func (r NotificationsApiPOSTNotificationsRequest) Execute() (*POSTNotifications201Response, *http.Response, error) { + return r.ApiService.POSTNotificationsExecute(r) +} + +/* +POSTNotifications Create a notification + +Create a notification + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return NotificationsApiPOSTNotificationsRequest +*/ +func (a *NotificationsApiService) POSTNotifications(ctx context.Context) NotificationsApiPOSTNotificationsRequest { + return NotificationsApiPOSTNotificationsRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return POSTNotifications201Response +func (a *NotificationsApiService) POSTNotificationsExecute(r NotificationsApiPOSTNotificationsRequest) (*POSTNotifications201Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *POSTNotifications201Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationsApiService.POSTNotifications") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/notifications" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.notificationCreate == nil { + return localVarReturnValue, nil, reportError("notificationCreate is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/vnd.api+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/vnd.api+json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.notificationCreate + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/api/api_order_amount_promotion_rules.go b/api/api_order_amount_promotion_rules.go index 4565e4420..a88196aa3 100644 --- a/api/api_order_amount_promotion_rules.go +++ b/api/api_order_amount_promotion_rules.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_order_copies.go b/api/api_order_copies.go index e8c7fc2e8..123aaa40f 100644 --- a/api/api_order_copies.go +++ b/api/api_order_copies.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_order_factories.go b/api/api_order_factories.go index c163d47a5..5e424879b 100644 --- a/api/api_order_factories.go +++ b/api/api_order_factories.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_order_subscription_items.go b/api/api_order_subscription_items.go index e79657db2..9e34a432c 100644 --- a/api/api_order_subscription_items.go +++ b/api/api_order_subscription_items.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_order_subscriptions.go b/api/api_order_subscriptions.go index 2fc3e04cb..f0e0d359b 100644 --- a/api/api_order_subscriptions.go +++ b/api/api_order_subscriptions.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_orders.go b/api/api_orders.go index a1ef1c3a7..ac69ba737 100644 --- a/api/api_orders.go +++ b/api/api_orders.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -1791,6 +1791,98 @@ func (a *OrdersApiService) GETOrdersOrderIdExecute(r OrdersApiGETOrdersOrderIdRe return localVarReturnValue, localVarHTTPResponse, nil } +type OrdersApiGETPaymentMethodIdOrdersRequest struct { + ctx context.Context + ApiService *OrdersApiService + paymentMethodId interface{} +} + +func (r OrdersApiGETPaymentMethodIdOrdersRequest) Execute() (*http.Response, error) { + return r.ApiService.GETPaymentMethodIdOrdersExecute(r) +} + +/* +GETPaymentMethodIdOrders Retrieve the orders associated to the payment method + +Retrieve the orders associated to the payment method + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param paymentMethodId The resource's id + @return OrdersApiGETPaymentMethodIdOrdersRequest +*/ +func (a *OrdersApiService) GETPaymentMethodIdOrders(ctx context.Context, paymentMethodId interface{}) OrdersApiGETPaymentMethodIdOrdersRequest { + return OrdersApiGETPaymentMethodIdOrdersRequest{ + ApiService: a, + ctx: ctx, + paymentMethodId: paymentMethodId, + } +} + +// Execute executes the request +func (a *OrdersApiService) GETPaymentMethodIdOrdersExecute(r OrdersApiGETPaymentMethodIdOrdersRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrdersApiService.GETPaymentMethodIdOrders") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/payment_methods/{paymentMethodId}/orders" + localVarPath = strings.Replace(localVarPath, "{"+"paymentMethodId"+"}", url.PathEscape(parameterValueToString(r.paymentMethodId, "paymentMethodId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + type OrdersApiGETPaymentOptionIdOrderRequest struct { ctx context.Context ApiService *OrdersApiService @@ -2619,6 +2711,98 @@ func (a *OrdersApiService) GETStockReservationIdOrderExecute(r OrdersApiGETStock return localVarHTTPResponse, nil } +type OrdersApiGETStoreIdOrdersRequest struct { + ctx context.Context + ApiService *OrdersApiService + storeId interface{} +} + +func (r OrdersApiGETStoreIdOrdersRequest) Execute() (*http.Response, error) { + return r.ApiService.GETStoreIdOrdersExecute(r) +} + +/* +GETStoreIdOrders Retrieve the orders associated to the store + +Retrieve the orders associated to the store + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param storeId The resource's id + @return OrdersApiGETStoreIdOrdersRequest +*/ +func (a *OrdersApiService) GETStoreIdOrders(ctx context.Context, storeId interface{}) OrdersApiGETStoreIdOrdersRequest { + return OrdersApiGETStoreIdOrdersRequest{ + ApiService: a, + ctx: ctx, + storeId: storeId, + } +} + +// Execute executes the request +func (a *OrdersApiService) GETStoreIdOrdersExecute(r OrdersApiGETStoreIdOrdersRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrdersApiService.GETStoreIdOrders") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/stores/{storeId}/orders" + localVarPath = strings.Replace(localVarPath, "{"+"storeId"+"}", url.PathEscape(parameterValueToString(r.storeId, "storeId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + type OrdersApiGETStripePaymentIdOrderRequest struct { ctx context.Context ApiService *OrdersApiService diff --git a/api/api_organization.go b/api/api_organization.go index c4e4bd915..e987fa973 100644 --- a/api/api_organization.go +++ b/api/api_organization.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_packages.go b/api/api_packages.go index 118dab66e..7d43527b1 100644 --- a/api/api_packages.go +++ b/api/api_packages.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_parcel_line_items.go b/api/api_parcel_line_items.go index b19de8eab..038b9a60a 100644 --- a/api/api_parcel_line_items.go +++ b/api/api_parcel_line_items.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_parcels.go b/api/api_parcels.go index aef976249..1146c06bc 100644 --- a/api/api_parcels.go +++ b/api/api_parcels.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_payment_gateways.go b/api/api_payment_gateways.go index 7af91795c..fb80787f0 100644 --- a/api/api_payment_gateways.go +++ b/api/api_payment_gateways.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_payment_methods.go b/api/api_payment_methods.go index 69605b52d..6c42847a5 100644 --- a/api/api_payment_methods.go +++ b/api/api_payment_methods.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -1515,6 +1515,98 @@ func (a *PaymentMethodsApiService) GETSatispayGatewayIdPaymentMethodsExecute(r P return localVarHTTPResponse, nil } +type PaymentMethodsApiGETStoreIdPaymentMethodsRequest struct { + ctx context.Context + ApiService *PaymentMethodsApiService + storeId interface{} +} + +func (r PaymentMethodsApiGETStoreIdPaymentMethodsRequest) Execute() (*http.Response, error) { + return r.ApiService.GETStoreIdPaymentMethodsExecute(r) +} + +/* +GETStoreIdPaymentMethods Retrieve the payment methods associated to the store + +Retrieve the payment methods associated to the store + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param storeId The resource's id + @return PaymentMethodsApiGETStoreIdPaymentMethodsRequest +*/ +func (a *PaymentMethodsApiService) GETStoreIdPaymentMethods(ctx context.Context, storeId interface{}) PaymentMethodsApiGETStoreIdPaymentMethodsRequest { + return PaymentMethodsApiGETStoreIdPaymentMethodsRequest{ + ApiService: a, + ctx: ctx, + storeId: storeId, + } +} + +// Execute executes the request +func (a *PaymentMethodsApiService) GETStoreIdPaymentMethodsExecute(r PaymentMethodsApiGETStoreIdPaymentMethodsRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PaymentMethodsApiService.GETStoreIdPaymentMethods") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/stores/{storeId}/payment_methods" + localVarPath = strings.Replace(localVarPath, "{"+"storeId"+"}", url.PathEscape(parameterValueToString(r.storeId, "storeId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + type PaymentMethodsApiGETStripeGatewayIdPaymentMethodsRequest struct { ctx context.Context ApiService *PaymentMethodsApiService diff --git a/api/api_payment_options.go b/api/api_payment_options.go index fad6aa602..1f7281c19 100644 --- a/api/api_payment_options.go +++ b/api/api_payment_options.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_paypal_gateways.go b/api/api_paypal_gateways.go index 7d8bfaa2c..3422ddcd8 100644 --- a/api/api_paypal_gateways.go +++ b/api/api_paypal_gateways.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_paypal_payments.go b/api/api_paypal_payments.go index a34568f21..a6ce00fb5 100644 --- a/api/api_paypal_payments.go +++ b/api/api_paypal_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_percentage_discount_promotions.go b/api/api_percentage_discount_promotions.go index c08317141..3206be467 100644 --- a/api/api_percentage_discount_promotions.go +++ b/api/api_percentage_discount_promotions.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_price_frequency_tiers.go b/api/api_price_frequency_tiers.go index ed6ab414c..dcd07d639 100644 --- a/api/api_price_frequency_tiers.go +++ b/api/api_price_frequency_tiers.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_price_list_schedulers.go b/api/api_price_list_schedulers.go index dcacd4ec0..e5fc494f3 100644 --- a/api/api_price_list_schedulers.go +++ b/api/api_price_list_schedulers.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_price_lists.go b/api/api_price_lists.go index 66e2dfd10..acf8d000e 100644 --- a/api/api_price_lists.go +++ b/api/api_price_lists.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_price_tiers.go b/api/api_price_tiers.go index 37ef0b32c..9e0907620 100644 --- a/api/api_price_tiers.go +++ b/api/api_price_tiers.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_price_volume_tiers.go b/api/api_price_volume_tiers.go index 08bf30637..c1d8a98c7 100644 --- a/api/api_price_volume_tiers.go +++ b/api/api_price_volume_tiers.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_prices.go b/api/api_prices.go index 22f550e0f..6d53330e5 100644 --- a/api/api_prices.go +++ b/api/api_prices.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_promotion_rules.go b/api/api_promotion_rules.go index 955ae4575..88f302db9 100644 --- a/api/api_promotion_rules.go +++ b/api/api_promotion_rules.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_promotions.go b/api/api_promotions.go index 72f2a7078..2b0ea00a7 100644 --- a/api/api_promotions.go +++ b/api/api_promotions.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_recurring_order_copies.go b/api/api_recurring_order_copies.go index f88bcf020..bcf927797 100644 --- a/api/api_recurring_order_copies.go +++ b/api/api_recurring_order_copies.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_refunds.go b/api/api_refunds.go index b384a8b3a..ae414e675 100644 --- a/api/api_refunds.go +++ b/api/api_refunds.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_reserved_stocks.go b/api/api_reserved_stocks.go index 397774ab1..a896c2930 100644 --- a/api/api_reserved_stocks.go +++ b/api/api_reserved_stocks.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_resource_errors.go b/api/api_resource_errors.go index dcf39b2bc..c9ebcd326 100644 --- a/api/api_resource_errors.go +++ b/api/api_resource_errors.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_return_line_items.go b/api/api_return_line_items.go index 292666cfc..12212d703 100644 --- a/api/api_return_line_items.go +++ b/api/api_return_line_items.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_returns.go b/api/api_returns.go index e13c111dc..bd304ffe6 100644 --- a/api/api_returns.go +++ b/api/api_returns.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_satispay_gateways.go b/api/api_satispay_gateways.go index bcd706c1d..ae7fa54d7 100644 --- a/api/api_satispay_gateways.go +++ b/api/api_satispay_gateways.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_satispay_payments.go b/api/api_satispay_payments.go index 5c39d7423..49d6abe13 100644 --- a/api/api_satispay_payments.go +++ b/api/api_satispay_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_shipments.go b/api/api_shipments.go index 957c05908..70fae1af4 100644 --- a/api/api_shipments.go +++ b/api/api_shipments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_shipping_categories.go b/api/api_shipping_categories.go index 8b8f51136..b9034ab07 100644 --- a/api/api_shipping_categories.go +++ b/api/api_shipping_categories.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_shipping_method_tiers.go b/api/api_shipping_method_tiers.go index 05c434395..856dec662 100644 --- a/api/api_shipping_method_tiers.go +++ b/api/api_shipping_method_tiers.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_shipping_methods.go b/api/api_shipping_methods.go index 54d582a26..c3db1ba26 100644 --- a/api/api_shipping_methods.go +++ b/api/api_shipping_methods.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_shipping_weight_tiers.go b/api/api_shipping_weight_tiers.go index fc503217a..588367192 100644 --- a/api/api_shipping_weight_tiers.go +++ b/api/api_shipping_weight_tiers.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_shipping_zones.go b/api/api_shipping_zones.go index ac9febead..1d18287c2 100644 --- a/api/api_shipping_zones.go +++ b/api/api_shipping_zones.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_singleton.go b/api/api_singleton.go index e7bece9a9..cbf59b992 100644 --- a/api/api_singleton.go +++ b/api/api_singleton.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_sku_list_items.go b/api/api_sku_list_items.go index 22aca7bbf..0ef1d2085 100644 --- a/api/api_sku_list_items.go +++ b/api/api_sku_list_items.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_sku_list_promotion_rules.go b/api/api_sku_list_promotion_rules.go index 1c1cead88..193e54275 100644 --- a/api/api_sku_list_promotion_rules.go +++ b/api/api_sku_list_promotion_rules.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_sku_lists.go b/api/api_sku_lists.go index 34eb0c750..78948068f 100644 --- a/api/api_sku_lists.go +++ b/api/api_sku_lists.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_sku_options.go b/api/api_sku_options.go index e874fe3d9..9b28c7549 100644 --- a/api/api_sku_options.go +++ b/api/api_sku_options.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_skus.go b/api/api_skus.go index 3e7522f73..3418ccbc2 100644 --- a/api/api_skus.go +++ b/api/api_skus.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_stock_items.go b/api/api_stock_items.go index 799361aff..1a6aa517b 100644 --- a/api/api_stock_items.go +++ b/api/api_stock_items.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_stock_line_items.go b/api/api_stock_line_items.go index 958b87890..65a9bccee 100644 --- a/api/api_stock_line_items.go +++ b/api/api_stock_line_items.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_stock_locations.go b/api/api_stock_locations.go index dafc706f9..04e6f699f 100644 --- a/api/api_stock_locations.go +++ b/api/api_stock_locations.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -1423,6 +1423,98 @@ func (a *StockLocationsApiService) GETStockTransferIdOriginStockLocationExecute( return localVarHTTPResponse, nil } +type StockLocationsApiGETStoreIdStockLocationRequest struct { + ctx context.Context + ApiService *StockLocationsApiService + storeId interface{} +} + +func (r StockLocationsApiGETStoreIdStockLocationRequest) Execute() (*http.Response, error) { + return r.ApiService.GETStoreIdStockLocationExecute(r) +} + +/* +GETStoreIdStockLocation Retrieve the stock location associated to the store + +Retrieve the stock location associated to the store + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param storeId The resource's id + @return StockLocationsApiGETStoreIdStockLocationRequest +*/ +func (a *StockLocationsApiService) GETStoreIdStockLocation(ctx context.Context, storeId interface{}) StockLocationsApiGETStoreIdStockLocationRequest { + return StockLocationsApiGETStoreIdStockLocationRequest{ + ApiService: a, + ctx: ctx, + storeId: storeId, + } +} + +// Execute executes the request +func (a *StockLocationsApiService) GETStoreIdStockLocationExecute(r StockLocationsApiGETStoreIdStockLocationRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StockLocationsApiService.GETStoreIdStockLocation") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/stores/{storeId}/stock_location" + localVarPath = strings.Replace(localVarPath, "{"+"storeId"+"}", url.PathEscape(parameterValueToString(r.storeId, "storeId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + type StockLocationsApiPATCHStockLocationsStockLocationIdRequest struct { ctx context.Context ApiService *StockLocationsApiService diff --git a/api/api_stock_reservations.go b/api/api_stock_reservations.go index bbbd08ed6..d3c4aac41 100644 --- a/api/api_stock_reservations.go +++ b/api/api_stock_reservations.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_stock_transfers.go b/api/api_stock_transfers.go index 06ed5d342..b93ffe493 100644 --- a/api/api_stock_transfers.go +++ b/api/api_stock_transfers.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_stores.go b/api/api_stores.go new file mode 100644 index 000000000..811995ff6 --- /dev/null +++ b/api/api_stores.go @@ -0,0 +1,914 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + +// StoresApiService StoresApi service +type StoresApiService service + +type StoresApiDELETEStoresStoreIdRequest struct { + ctx context.Context + ApiService *StoresApiService + storeId interface{} +} + +func (r StoresApiDELETEStoresStoreIdRequest) Execute() (*http.Response, error) { + return r.ApiService.DELETEStoresStoreIdExecute(r) +} + +/* +DELETEStoresStoreId Delete a store + +Delete a store + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param storeId The resource's id + @return StoresApiDELETEStoresStoreIdRequest +*/ +func (a *StoresApiService) DELETEStoresStoreId(ctx context.Context, storeId interface{}) StoresApiDELETEStoresStoreIdRequest { + return StoresApiDELETEStoresStoreIdRequest{ + ApiService: a, + ctx: ctx, + storeId: storeId, + } +} + +// Execute executes the request +func (a *StoresApiService) DELETEStoresStoreIdExecute(r StoresApiDELETEStoresStoreIdRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StoresApiService.DELETEStoresStoreId") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/stores/{storeId}" + localVarPath = strings.Replace(localVarPath, "{"+"storeId"+"}", url.PathEscape(parameterValueToString(r.storeId, "storeId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type StoresApiGETMarketIdStoresRequest struct { + ctx context.Context + ApiService *StoresApiService + marketId interface{} +} + +func (r StoresApiGETMarketIdStoresRequest) Execute() (*http.Response, error) { + return r.ApiService.GETMarketIdStoresExecute(r) +} + +/* +GETMarketIdStores Retrieve the stores associated to the market + +Retrieve the stores associated to the market + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param marketId The resource's id + @return StoresApiGETMarketIdStoresRequest +*/ +func (a *StoresApiService) GETMarketIdStores(ctx context.Context, marketId interface{}) StoresApiGETMarketIdStoresRequest { + return StoresApiGETMarketIdStoresRequest{ + ApiService: a, + ctx: ctx, + marketId: marketId, + } +} + +// Execute executes the request +func (a *StoresApiService) GETMarketIdStoresExecute(r StoresApiGETMarketIdStoresRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StoresApiService.GETMarketIdStores") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/markets/{marketId}/stores" + localVarPath = strings.Replace(localVarPath, "{"+"marketId"+"}", url.PathEscape(parameterValueToString(r.marketId, "marketId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type StoresApiGETOrderIdStoreRequest struct { + ctx context.Context + ApiService *StoresApiService + orderId interface{} +} + +func (r StoresApiGETOrderIdStoreRequest) Execute() (*http.Response, error) { + return r.ApiService.GETOrderIdStoreExecute(r) +} + +/* +GETOrderIdStore Retrieve the store associated to the order + +Retrieve the store associated to the order + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param orderId The resource's id + @return StoresApiGETOrderIdStoreRequest +*/ +func (a *StoresApiService) GETOrderIdStore(ctx context.Context, orderId interface{}) StoresApiGETOrderIdStoreRequest { + return StoresApiGETOrderIdStoreRequest{ + ApiService: a, + ctx: ctx, + orderId: orderId, + } +} + +// Execute executes the request +func (a *StoresApiService) GETOrderIdStoreExecute(r StoresApiGETOrderIdStoreRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StoresApiService.GETOrderIdStore") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/orders/{orderId}/store" + localVarPath = strings.Replace(localVarPath, "{"+"orderId"+"}", url.PathEscape(parameterValueToString(r.orderId, "orderId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type StoresApiGETPaymentMethodIdStoreRequest struct { + ctx context.Context + ApiService *StoresApiService + paymentMethodId interface{} +} + +func (r StoresApiGETPaymentMethodIdStoreRequest) Execute() (*http.Response, error) { + return r.ApiService.GETPaymentMethodIdStoreExecute(r) +} + +/* +GETPaymentMethodIdStore Retrieve the store associated to the payment method + +Retrieve the store associated to the payment method + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param paymentMethodId The resource's id + @return StoresApiGETPaymentMethodIdStoreRequest +*/ +func (a *StoresApiService) GETPaymentMethodIdStore(ctx context.Context, paymentMethodId interface{}) StoresApiGETPaymentMethodIdStoreRequest { + return StoresApiGETPaymentMethodIdStoreRequest{ + ApiService: a, + ctx: ctx, + paymentMethodId: paymentMethodId, + } +} + +// Execute executes the request +func (a *StoresApiService) GETPaymentMethodIdStoreExecute(r StoresApiGETPaymentMethodIdStoreRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StoresApiService.GETPaymentMethodIdStore") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/payment_methods/{paymentMethodId}/store" + localVarPath = strings.Replace(localVarPath, "{"+"paymentMethodId"+"}", url.PathEscape(parameterValueToString(r.paymentMethodId, "paymentMethodId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type StoresApiGETStockLocationIdStoresRequest struct { + ctx context.Context + ApiService *StoresApiService + stockLocationId interface{} +} + +func (r StoresApiGETStockLocationIdStoresRequest) Execute() (*http.Response, error) { + return r.ApiService.GETStockLocationIdStoresExecute(r) +} + +/* +GETStockLocationIdStores Retrieve the stores associated to the stock location + +Retrieve the stores associated to the stock location + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param stockLocationId The resource's id + @return StoresApiGETStockLocationIdStoresRequest +*/ +func (a *StoresApiService) GETStockLocationIdStores(ctx context.Context, stockLocationId interface{}) StoresApiGETStockLocationIdStoresRequest { + return StoresApiGETStockLocationIdStoresRequest{ + ApiService: a, + ctx: ctx, + stockLocationId: stockLocationId, + } +} + +// Execute executes the request +func (a *StoresApiService) GETStockLocationIdStoresExecute(r StoresApiGETStockLocationIdStoresRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StoresApiService.GETStockLocationIdStores") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/stock_locations/{stockLocationId}/stores" + localVarPath = strings.Replace(localVarPath, "{"+"stockLocationId"+"}", url.PathEscape(parameterValueToString(r.stockLocationId, "stockLocationId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type StoresApiGETStoresRequest struct { + ctx context.Context + ApiService *StoresApiService +} + +func (r StoresApiGETStoresRequest) Execute() (*GETStores200Response, *http.Response, error) { + return r.ApiService.GETStoresExecute(r) +} + +/* +GETStores List all stores + +List all stores + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return StoresApiGETStoresRequest +*/ +func (a *StoresApiService) GETStores(ctx context.Context) StoresApiGETStoresRequest { + return StoresApiGETStoresRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return GETStores200Response +func (a *StoresApiService) GETStoresExecute(r StoresApiGETStoresRequest) (*GETStores200Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GETStores200Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StoresApiService.GETStores") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/stores" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/vnd.api+json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type StoresApiGETStoresStoreIdRequest struct { + ctx context.Context + ApiService *StoresApiService + storeId interface{} +} + +func (r StoresApiGETStoresStoreIdRequest) Execute() (*GETStoresStoreId200Response, *http.Response, error) { + return r.ApiService.GETStoresStoreIdExecute(r) +} + +/* +GETStoresStoreId Retrieve a store + +Retrieve a store + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param storeId The resource's id + @return StoresApiGETStoresStoreIdRequest +*/ +func (a *StoresApiService) GETStoresStoreId(ctx context.Context, storeId interface{}) StoresApiGETStoresStoreIdRequest { + return StoresApiGETStoresStoreIdRequest{ + ApiService: a, + ctx: ctx, + storeId: storeId, + } +} + +// Execute executes the request +// +// @return GETStoresStoreId200Response +func (a *StoresApiService) GETStoresStoreIdExecute(r StoresApiGETStoresStoreIdRequest) (*GETStoresStoreId200Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *GETStoresStoreId200Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StoresApiService.GETStoresStoreId") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/stores/{storeId}" + localVarPath = strings.Replace(localVarPath, "{"+"storeId"+"}", url.PathEscape(parameterValueToString(r.storeId, "storeId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/vnd.api+json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type StoresApiPATCHStoresStoreIdRequest struct { + ctx context.Context + ApiService *StoresApiService + storeUpdate *StoreUpdate + storeId interface{} +} + +func (r StoresApiPATCHStoresStoreIdRequest) StoreUpdate(storeUpdate StoreUpdate) StoresApiPATCHStoresStoreIdRequest { + r.storeUpdate = &storeUpdate + return r +} + +func (r StoresApiPATCHStoresStoreIdRequest) Execute() (*PATCHStoresStoreId200Response, *http.Response, error) { + return r.ApiService.PATCHStoresStoreIdExecute(r) +} + +/* +PATCHStoresStoreId Update a store + +Update a store + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param storeId The resource's id + @return StoresApiPATCHStoresStoreIdRequest +*/ +func (a *StoresApiService) PATCHStoresStoreId(ctx context.Context, storeId interface{}) StoresApiPATCHStoresStoreIdRequest { + return StoresApiPATCHStoresStoreIdRequest{ + ApiService: a, + ctx: ctx, + storeId: storeId, + } +} + +// Execute executes the request +// +// @return PATCHStoresStoreId200Response +func (a *StoresApiService) PATCHStoresStoreIdExecute(r StoresApiPATCHStoresStoreIdRequest) (*PATCHStoresStoreId200Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPatch + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *PATCHStoresStoreId200Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StoresApiService.PATCHStoresStoreId") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/stores/{storeId}" + localVarPath = strings.Replace(localVarPath, "{"+"storeId"+"}", url.PathEscape(parameterValueToString(r.storeId, "storeId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.storeUpdate == nil { + return localVarReturnValue, nil, reportError("storeUpdate is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/vnd.api+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/vnd.api+json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.storeUpdate + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type StoresApiPOSTStoresRequest struct { + ctx context.Context + ApiService *StoresApiService + storeCreate *StoreCreate +} + +func (r StoresApiPOSTStoresRequest) StoreCreate(storeCreate StoreCreate) StoresApiPOSTStoresRequest { + r.storeCreate = &storeCreate + return r +} + +func (r StoresApiPOSTStoresRequest) Execute() (*POSTStores201Response, *http.Response, error) { + return r.ApiService.POSTStoresExecute(r) +} + +/* +POSTStores Create a store + +Create a store + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return StoresApiPOSTStoresRequest +*/ +func (a *StoresApiService) POSTStores(ctx context.Context) StoresApiPOSTStoresRequest { + return StoresApiPOSTStoresRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return POSTStores201Response +func (a *StoresApiService) POSTStoresExecute(r StoresApiPOSTStoresRequest) (*POSTStores201Response, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *POSTStores201Response + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StoresApiService.POSTStores") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/stores" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.storeCreate == nil { + return localVarReturnValue, nil, reportError("storeCreate is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/vnd.api+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/vnd.api+json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.storeCreate + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/api/api_stripe_gateways.go b/api/api_stripe_gateways.go index 57586e3d7..6dabb0a8d 100644 --- a/api/api_stripe_gateways.go +++ b/api/api_stripe_gateways.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_stripe_payments.go b/api/api_stripe_payments.go index 5bd2335b9..0c5245794 100644 --- a/api/api_stripe_payments.go +++ b/api/api_stripe_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_subscription_models.go b/api/api_subscription_models.go index d76e57f99..fef051635 100644 --- a/api/api_subscription_models.go +++ b/api/api_subscription_models.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_tags.go b/api/api_tags.go index 49761be0a..e52f2b969 100644 --- a/api/api_tags.go +++ b/api/api_tags.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_tax_calculators.go b/api/api_tax_calculators.go index a11886cba..196b4d2a1 100644 --- a/api/api_tax_calculators.go +++ b/api/api_tax_calculators.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_tax_categories.go b/api/api_tax_categories.go index 5ef113e84..120afeea7 100644 --- a/api/api_tax_categories.go +++ b/api/api_tax_categories.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_tax_rules.go b/api/api_tax_rules.go index dec486a2e..a2a5c5c40 100644 --- a/api/api_tax_rules.go +++ b/api/api_tax_rules.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_taxjar_accounts.go b/api/api_taxjar_accounts.go index 55cda4a88..e98bfa3c0 100644 --- a/api/api_taxjar_accounts.go +++ b/api/api_taxjar_accounts.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_transactions.go b/api/api_transactions.go index d9b2e7afe..95fc27d41 100644 --- a/api/api_transactions.go +++ b/api/api_transactions.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_versions.go b/api/api_versions.go index a75af4ebd..660a1d5db 100644 --- a/api/api_versions.go +++ b/api/api_versions.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -759,98 +759,6 @@ func (a *VersionsApiService) GETAxervePaymentIdVersionsExecute(r VersionsApiGETA return localVarHTTPResponse, nil } -type VersionsApiGETBillingInfoValidationRuleIdVersionsRequest struct { - ctx context.Context - ApiService *VersionsApiService - billingInfoValidationRuleId interface{} -} - -func (r VersionsApiGETBillingInfoValidationRuleIdVersionsRequest) Execute() (*http.Response, error) { - return r.ApiService.GETBillingInfoValidationRuleIdVersionsExecute(r) -} - -/* -GETBillingInfoValidationRuleIdVersions Retrieve the versions associated to the billing info validation rule - -Retrieve the versions associated to the billing info validation rule - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param billingInfoValidationRuleId The resource's id - @return VersionsApiGETBillingInfoValidationRuleIdVersionsRequest -*/ -func (a *VersionsApiService) GETBillingInfoValidationRuleIdVersions(ctx context.Context, billingInfoValidationRuleId interface{}) VersionsApiGETBillingInfoValidationRuleIdVersionsRequest { - return VersionsApiGETBillingInfoValidationRuleIdVersionsRequest{ - ApiService: a, - ctx: ctx, - billingInfoValidationRuleId: billingInfoValidationRuleId, - } -} - -// Execute executes the request -func (a *VersionsApiService) GETBillingInfoValidationRuleIdVersionsExecute(r VersionsApiGETBillingInfoValidationRuleIdVersionsRequest) (*http.Response, error) { - var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VersionsApiService.GETBillingInfoValidationRuleIdVersions") - if err != nil { - return nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/billing_info_validation_rules/{billingInfoValidationRuleId}/versions" - localVarPath = strings.Replace(localVarPath, "{"+"billingInfoValidationRuleId"+"}", url.PathEscape(parameterValueToString(r.billingInfoValidationRuleId, "billingInfoValidationRuleId")), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarHTTPResponse, newErr - } - - return localVarHTTPResponse, nil -} - type VersionsApiGETBraintreeGatewayIdVersionsRequest struct { ctx context.Context ApiService *VersionsApiService @@ -8027,6 +7935,98 @@ func (a *VersionsApiService) GETStockTransferIdVersionsExecute(r VersionsApiGETS return localVarHTTPResponse, nil } +type VersionsApiGETStoreIdVersionsRequest struct { + ctx context.Context + ApiService *VersionsApiService + storeId interface{} +} + +func (r VersionsApiGETStoreIdVersionsRequest) Execute() (*http.Response, error) { + return r.ApiService.GETStoreIdVersionsExecute(r) +} + +/* +GETStoreIdVersions Retrieve the versions associated to the store + +Retrieve the versions associated to the store + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param storeId The resource's id + @return VersionsApiGETStoreIdVersionsRequest +*/ +func (a *VersionsApiService) GETStoreIdVersions(ctx context.Context, storeId interface{}) VersionsApiGETStoreIdVersionsRequest { + return VersionsApiGETStoreIdVersionsRequest{ + ApiService: a, + ctx: ctx, + storeId: storeId, + } +} + +// Execute executes the request +func (a *VersionsApiService) GETStoreIdVersionsExecute(r VersionsApiGETStoreIdVersionsRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VersionsApiService.GETStoreIdVersions") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/stores/{storeId}/versions" + localVarPath = strings.Replace(localVarPath, "{"+"storeId"+"}", url.PathEscape(parameterValueToString(r.storeId, "storeId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + type VersionsApiGETStripeGatewayIdVersionsRequest struct { ctx context.Context ApiService *VersionsApiService diff --git a/api/api_voids.go b/api/api_voids.go index ce279b9bf..3603c7a47 100644 --- a/api/api_voids.go +++ b/api/api_voids.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_webhooks.go b/api/api_webhooks.go index 9af1ce833..cf402a50d 100644 --- a/api/api_webhooks.go +++ b/api/api_webhooks.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/api_wire_transfers.go b/api/api_wire_transfers.go index 18258a4ee..bb0dabc38 100644 --- a/api/api_wire_transfers.go +++ b/api/api_wire_transfers.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/client.go b/api/client.go index 25c7d4a31..0a6500250 100644 --- a/api/client.go +++ b/api/client.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -41,7 +41,7 @@ var ( queryDescape = strings.NewReplacer("%5B", "[", "%5D", "]") ) -// APIClient manages communication with the Commerce Layer API API v7.3.1 +// APIClient manages communication with the Commerce Layer API API v7.6.1 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *Configuration @@ -69,8 +69,6 @@ type APIClient struct { AxervePaymentsApi *AxervePaymentsApiService - BillingInfoValidationRulesApi *BillingInfoValidationRulesApiService - BingGeocodersApi *BingGeocodersApiService BraintreeGatewaysApi *BraintreeGatewaysApiService @@ -177,6 +175,8 @@ type APIClient struct { MerchantsApi *MerchantsApiService + NotificationsApi *NotificationsApiService + OrderAmountPromotionRulesApi *OrderAmountPromotionRulesApiService OrderCopiesApi *OrderCopiesApiService @@ -275,6 +275,8 @@ type APIClient struct { StockTransfersApi *StockTransfersApiService + StoresApi *StoresApiService + StripeGatewaysApi *StripeGatewaysApiService StripePaymentsApi *StripePaymentsApiService @@ -328,7 +330,6 @@ func NewAPIClient(cfg *Configuration) *APIClient { c.AvalaraAccountsApi = (*AvalaraAccountsApiService)(&c.common) c.AxerveGatewaysApi = (*AxerveGatewaysApiService)(&c.common) c.AxervePaymentsApi = (*AxervePaymentsApiService)(&c.common) - c.BillingInfoValidationRulesApi = (*BillingInfoValidationRulesApiService)(&c.common) c.BingGeocodersApi = (*BingGeocodersApiService)(&c.common) c.BraintreeGatewaysApi = (*BraintreeGatewaysApiService)(&c.common) c.BraintreePaymentsApi = (*BraintreePaymentsApiService)(&c.common) @@ -382,6 +383,7 @@ func NewAPIClient(cfg *Configuration) *APIClient { c.ManualTaxCalculatorsApi = (*ManualTaxCalculatorsApiService)(&c.common) c.MarketsApi = (*MarketsApiService)(&c.common) c.MerchantsApi = (*MerchantsApiService)(&c.common) + c.NotificationsApi = (*NotificationsApiService)(&c.common) c.OrderAmountPromotionRulesApi = (*OrderAmountPromotionRulesApiService)(&c.common) c.OrderCopiesApi = (*OrderCopiesApiService)(&c.common) c.OrderFactoriesApi = (*OrderFactoriesApiService)(&c.common) @@ -431,6 +433,7 @@ func NewAPIClient(cfg *Configuration) *APIClient { c.StockLocationsApi = (*StockLocationsApiService)(&c.common) c.StockReservationsApi = (*StockReservationsApiService)(&c.common) c.StockTransfersApi = (*StockTransfersApiService)(&c.common) + c.StoresApi = (*StoresApiService)(&c.common) c.StripeGatewaysApi = (*StripeGatewaysApiService)(&c.common) c.StripePaymentsApi = (*StripePaymentsApiService)(&c.common) c.SubscriptionModelsApi = (*SubscriptionModelsApiService)(&c.common) diff --git a/api/configuration.go b/api/configuration.go index ea7337b78..b02fd5408 100644 --- a/api/configuration.go +++ b/api/configuration.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/docs/AddressesApi.md b/api/docs/AddressesApi.md index 65e27ee41..3cda3e5d7 100644 --- a/api/docs/AddressesApi.md +++ b/api/docs/AddressesApi.md @@ -41,7 +41,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -109,7 +109,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -170,7 +170,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -240,7 +240,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -308,7 +308,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -376,7 +376,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -444,7 +444,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -512,7 +512,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -580,7 +580,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -648,7 +648,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -716,7 +716,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -784,7 +784,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -852,7 +852,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -920,7 +920,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -988,7 +988,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1056,7 +1056,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1128,7 +1128,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/AdjustmentsApi.md b/api/docs/AdjustmentsApi.md index 4be49401b..73737c53a 100644 --- a/api/docs/AdjustmentsApi.md +++ b/api/docs/AdjustmentsApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/AdyenGatewaysApi.md b/api/docs/AdyenGatewaysApi.md index bb170c4bb..fbb406bc4 100644 --- a/api/docs/AdyenGatewaysApi.md +++ b/api/docs/AdyenGatewaysApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/AdyenPaymentsApi.md b/api/docs/AdyenPaymentsApi.md index 941190d73..a40541cc3 100644 --- a/api/docs/AdyenPaymentsApi.md +++ b/api/docs/AdyenPaymentsApi.md @@ -30,7 +30,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -98,7 +98,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -166,7 +166,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -227,7 +227,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -297,7 +297,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -369,7 +369,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/ApplicationApi.md b/api/docs/ApplicationApi.md index 1b79b11f0..1d03a4d89 100644 --- a/api/docs/ApplicationApi.md +++ b/api/docs/ApplicationApi.md @@ -25,7 +25,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/AttachmentsApi.md b/api/docs/AttachmentsApi.md index b0f16a85f..aec637225 100644 --- a/api/docs/AttachmentsApi.md +++ b/api/docs/AttachmentsApi.md @@ -9,7 +9,6 @@ Method | HTTP request | Description [**GETAttachmentsAttachmentId**](AttachmentsApi.md#GETAttachmentsAttachmentId) | **Get** /attachments/{attachmentId} | Retrieve an attachment [**GETAuthorizationIdAttachments**](AttachmentsApi.md#GETAuthorizationIdAttachments) | **Get** /authorizations/{authorizationId}/attachments | Retrieve the attachments associated to the authorization [**GETAvalaraAccountIdAttachments**](AttachmentsApi.md#GETAvalaraAccountIdAttachments) | **Get** /avalara_accounts/{avalaraAccountId}/attachments | Retrieve the attachments associated to the avalara account -[**GETBillingInfoValidationRuleIdAttachments**](AttachmentsApi.md#GETBillingInfoValidationRuleIdAttachments) | **Get** /billing_info_validation_rules/{billingInfoValidationRuleId}/attachments | Retrieve the attachments associated to the billing info validation rule [**GETBingGeocoderIdAttachments**](AttachmentsApi.md#GETBingGeocoderIdAttachments) | **Get** /bing_geocoders/{bingGeocoderId}/attachments | Retrieve the attachments associated to the bing geocoder [**GETBundleIdAttachments**](AttachmentsApi.md#GETBundleIdAttachments) | **Get** /bundles/{bundleId}/attachments | Retrieve the attachments associated to the bundle [**GETBuyXPayYPromotionIdAttachments**](AttachmentsApi.md#GETBuyXPayYPromotionIdAttachments) | **Get** /buy_x_pay_y_promotions/{buyXPayYPromotionId}/attachments | Retrieve the attachments associated to the buy x pay y promotion @@ -88,7 +87,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -156,7 +155,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -217,7 +216,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -287,7 +286,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -355,7 +354,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -406,74 +405,6 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## GETBillingInfoValidationRuleIdAttachments - -> GETBillingInfoValidationRuleIdAttachments(ctx, billingInfoValidationRuleId).Execute() - -Retrieve the attachments associated to the billing info validation rule - - - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" -) - -func main() { - billingInfoValidationRuleId := TODO // interface{} | The resource's id - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.AttachmentsApi.GETBillingInfoValidationRuleIdAttachments(context.Background(), billingInfoValidationRuleId).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `AttachmentsApi.GETBillingInfoValidationRuleIdAttachments``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } -} -``` - -### Path Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**billingInfoValidationRuleId** | [**interface{}**](.md) | The resource's id | - -### Other Parameters - -Other parameters are passed through a pointer to a apiGETBillingInfoValidationRuleIdAttachmentsRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - -### Return type - - (empty response body) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - ## GETBingGeocoderIdAttachments > GETBingGeocoderIdAttachments(ctx, bingGeocoderId).Execute() @@ -491,7 +422,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -559,7 +490,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -627,7 +558,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -695,7 +626,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -763,7 +694,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -831,7 +762,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -899,7 +830,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -967,7 +898,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1035,7 +966,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1103,7 +1034,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1171,7 +1102,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1239,7 +1170,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1307,7 +1238,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1375,7 +1306,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1443,7 +1374,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1511,7 +1442,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1579,7 +1510,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1647,7 +1578,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1715,7 +1646,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1783,7 +1714,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1851,7 +1782,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1919,7 +1850,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1987,7 +1918,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2055,7 +1986,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2123,7 +2054,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2191,7 +2122,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2259,7 +2190,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2327,7 +2258,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2395,7 +2326,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2463,7 +2394,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2531,7 +2462,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2599,7 +2530,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2667,7 +2598,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2735,7 +2666,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2803,7 +2734,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2871,7 +2802,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2939,7 +2870,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3007,7 +2938,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3075,7 +3006,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3143,7 +3074,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3211,7 +3142,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3279,7 +3210,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3347,7 +3278,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3415,7 +3346,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3483,7 +3414,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3551,7 +3482,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3619,7 +3550,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3687,7 +3618,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3755,7 +3686,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3823,7 +3754,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3891,7 +3822,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3959,7 +3890,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4027,7 +3958,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4095,7 +4026,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4163,7 +4094,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4231,7 +4162,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4299,7 +4230,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4371,7 +4302,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/AuthorizationDataRelationships.md b/api/docs/AuthorizationDataRelationships.md index 1c0ddbe49..c1696e3a6 100644 --- a/api/docs/AuthorizationDataRelationships.md +++ b/api/docs/AuthorizationDataRelationships.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Order** | Pointer to [**AdyenPaymentDataRelationshipsOrder**](AdyenPaymentDataRelationshipsOrder.md) | | [optional] +**PaymentSource** | Pointer to [**AuthorizationDataRelationshipsPaymentSource**](AuthorizationDataRelationshipsPaymentSource.md) | | [optional] **Attachments** | Pointer to [**AuthorizationDataRelationshipsAttachments**](AuthorizationDataRelationshipsAttachments.md) | | [optional] **Events** | Pointer to [**AddressDataRelationshipsEvents**](AddressDataRelationshipsEvents.md) | | [optional] **Versions** | Pointer to [**AddressDataRelationshipsVersions**](AddressDataRelationshipsVersions.md) | | [optional] @@ -55,6 +56,31 @@ SetOrder sets Order field to given value. HasOrder returns a boolean if a field has been set. +### GetPaymentSource + +`func (o *AuthorizationDataRelationships) GetPaymentSource() AuthorizationDataRelationshipsPaymentSource` + +GetPaymentSource returns the PaymentSource field if non-nil, zero value otherwise. + +### GetPaymentSourceOk + +`func (o *AuthorizationDataRelationships) GetPaymentSourceOk() (*AuthorizationDataRelationshipsPaymentSource, bool)` + +GetPaymentSourceOk returns a tuple with the PaymentSource field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPaymentSource + +`func (o *AuthorizationDataRelationships) SetPaymentSource(v AuthorizationDataRelationshipsPaymentSource)` + +SetPaymentSource sets PaymentSource field to given value. + +### HasPaymentSource + +`func (o *AuthorizationDataRelationships) HasPaymentSource() bool` + +HasPaymentSource returns a boolean if a field has been set. + ### GetAttachments `func (o *AuthorizationDataRelationships) GetAttachments() AuthorizationDataRelationshipsAttachments` diff --git a/api/docs/AuthorizationDataRelationshipsPaymentSource.md b/api/docs/AuthorizationDataRelationshipsPaymentSource.md new file mode 100644 index 000000000..2a5705b11 --- /dev/null +++ b/api/docs/AuthorizationDataRelationshipsPaymentSource.md @@ -0,0 +1,56 @@ +# AuthorizationDataRelationshipsPaymentSource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Data** | Pointer to [**AuthorizationDataRelationshipsPaymentSourceData**](AuthorizationDataRelationshipsPaymentSourceData.md) | | [optional] + +## Methods + +### NewAuthorizationDataRelationshipsPaymentSource + +`func NewAuthorizationDataRelationshipsPaymentSource() *AuthorizationDataRelationshipsPaymentSource` + +NewAuthorizationDataRelationshipsPaymentSource instantiates a new AuthorizationDataRelationshipsPaymentSource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAuthorizationDataRelationshipsPaymentSourceWithDefaults + +`func NewAuthorizationDataRelationshipsPaymentSourceWithDefaults() *AuthorizationDataRelationshipsPaymentSource` + +NewAuthorizationDataRelationshipsPaymentSourceWithDefaults instantiates a new AuthorizationDataRelationshipsPaymentSource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetData + +`func (o *AuthorizationDataRelationshipsPaymentSource) GetData() AuthorizationDataRelationshipsPaymentSourceData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *AuthorizationDataRelationshipsPaymentSource) GetDataOk() (*AuthorizationDataRelationshipsPaymentSourceData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *AuthorizationDataRelationshipsPaymentSource) SetData(v AuthorizationDataRelationshipsPaymentSourceData)` + +SetData sets Data field to given value. + +### HasData + +`func (o *AuthorizationDataRelationshipsPaymentSource) HasData() bool` + +HasData returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/CustomerPaymentSourceDataRelationshipsPaymentSourceData.md b/api/docs/AuthorizationDataRelationshipsPaymentSourceData.md similarity index 50% rename from api/docs/CustomerPaymentSourceDataRelationshipsPaymentSourceData.md rename to api/docs/AuthorizationDataRelationshipsPaymentSourceData.md index 89b016dc0..8fccf207f 100644 --- a/api/docs/CustomerPaymentSourceDataRelationshipsPaymentSourceData.md +++ b/api/docs/AuthorizationDataRelationshipsPaymentSourceData.md @@ -1,4 +1,4 @@ -# CustomerPaymentSourceDataRelationshipsPaymentSourceData +# AuthorizationDataRelationshipsPaymentSourceData ## Properties @@ -9,91 +9,91 @@ Name | Type | Description | Notes ## Methods -### NewCustomerPaymentSourceDataRelationshipsPaymentSourceData +### NewAuthorizationDataRelationshipsPaymentSourceData -`func NewCustomerPaymentSourceDataRelationshipsPaymentSourceData() *CustomerPaymentSourceDataRelationshipsPaymentSourceData` +`func NewAuthorizationDataRelationshipsPaymentSourceData() *AuthorizationDataRelationshipsPaymentSourceData` -NewCustomerPaymentSourceDataRelationshipsPaymentSourceData instantiates a new CustomerPaymentSourceDataRelationshipsPaymentSourceData object +NewAuthorizationDataRelationshipsPaymentSourceData instantiates a new AuthorizationDataRelationshipsPaymentSourceData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed -### NewCustomerPaymentSourceDataRelationshipsPaymentSourceDataWithDefaults +### NewAuthorizationDataRelationshipsPaymentSourceDataWithDefaults -`func NewCustomerPaymentSourceDataRelationshipsPaymentSourceDataWithDefaults() *CustomerPaymentSourceDataRelationshipsPaymentSourceData` +`func NewAuthorizationDataRelationshipsPaymentSourceDataWithDefaults() *AuthorizationDataRelationshipsPaymentSourceData` -NewCustomerPaymentSourceDataRelationshipsPaymentSourceDataWithDefaults instantiates a new CustomerPaymentSourceDataRelationshipsPaymentSourceData object +NewAuthorizationDataRelationshipsPaymentSourceDataWithDefaults instantiates a new AuthorizationDataRelationshipsPaymentSourceData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetType -`func (o *CustomerPaymentSourceDataRelationshipsPaymentSourceData) GetType() interface{}` +`func (o *AuthorizationDataRelationshipsPaymentSourceData) GetType() interface{}` GetType returns the Type field if non-nil, zero value otherwise. ### GetTypeOk -`func (o *CustomerPaymentSourceDataRelationshipsPaymentSourceData) GetTypeOk() (*interface{}, bool)` +`func (o *AuthorizationDataRelationshipsPaymentSourceData) GetTypeOk() (*interface{}, bool)` GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetType -`func (o *CustomerPaymentSourceDataRelationshipsPaymentSourceData) SetType(v interface{})` +`func (o *AuthorizationDataRelationshipsPaymentSourceData) SetType(v interface{})` SetType sets Type field to given value. ### HasType -`func (o *CustomerPaymentSourceDataRelationshipsPaymentSourceData) HasType() bool` +`func (o *AuthorizationDataRelationshipsPaymentSourceData) HasType() bool` HasType returns a boolean if a field has been set. ### SetTypeNil -`func (o *CustomerPaymentSourceDataRelationshipsPaymentSourceData) SetTypeNil(b bool)` +`func (o *AuthorizationDataRelationshipsPaymentSourceData) SetTypeNil(b bool)` SetTypeNil sets the value for Type to be an explicit nil ### UnsetType -`func (o *CustomerPaymentSourceDataRelationshipsPaymentSourceData) UnsetType()` +`func (o *AuthorizationDataRelationshipsPaymentSourceData) UnsetType()` UnsetType ensures that no value is present for Type, not even an explicit nil ### GetId -`func (o *CustomerPaymentSourceDataRelationshipsPaymentSourceData) GetId() interface{}` +`func (o *AuthorizationDataRelationshipsPaymentSourceData) GetId() interface{}` GetId returns the Id field if non-nil, zero value otherwise. ### GetIdOk -`func (o *CustomerPaymentSourceDataRelationshipsPaymentSourceData) GetIdOk() (*interface{}, bool)` +`func (o *AuthorizationDataRelationshipsPaymentSourceData) GetIdOk() (*interface{}, bool)` GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetId -`func (o *CustomerPaymentSourceDataRelationshipsPaymentSourceData) SetId(v interface{})` +`func (o *AuthorizationDataRelationshipsPaymentSourceData) SetId(v interface{})` SetId sets Id field to given value. ### HasId -`func (o *CustomerPaymentSourceDataRelationshipsPaymentSourceData) HasId() bool` +`func (o *AuthorizationDataRelationshipsPaymentSourceData) HasId() bool` HasId returns a boolean if a field has been set. ### SetIdNil -`func (o *CustomerPaymentSourceDataRelationshipsPaymentSourceData) SetIdNil(b bool)` +`func (o *AuthorizationDataRelationshipsPaymentSourceData) SetIdNil(b bool)` SetIdNil sets the value for Id to be an explicit nil ### UnsetId -`func (o *CustomerPaymentSourceDataRelationshipsPaymentSourceData) UnsetId()` +`func (o *AuthorizationDataRelationshipsPaymentSourceData) UnsetId()` UnsetId ensures that no value is present for Id, not even an explicit nil diff --git a/api/docs/AuthorizationsApi.md b/api/docs/AuthorizationsApi.md index 768ce4846..5f082fe4d 100644 --- a/api/docs/AuthorizationsApi.md +++ b/api/docs/AuthorizationsApi.md @@ -30,7 +30,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -91,7 +91,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -161,7 +161,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -229,7 +229,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -297,7 +297,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -365,7 +365,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/AvalaraAccountsApi.md b/api/docs/AvalaraAccountsApi.md index f0eef1bd9..4300194f6 100644 --- a/api/docs/AvalaraAccountsApi.md +++ b/api/docs/AvalaraAccountsApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/AxerveGatewaysApi.md b/api/docs/AxerveGatewaysApi.md index 9fb9082ae..53afe0c01 100644 --- a/api/docs/AxerveGatewaysApi.md +++ b/api/docs/AxerveGatewaysApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/AxervePaymentsApi.md b/api/docs/AxervePaymentsApi.md index 74e2ff67d..3ec894da8 100644 --- a/api/docs/AxervePaymentsApi.md +++ b/api/docs/AxervePaymentsApi.md @@ -30,7 +30,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -98,7 +98,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -166,7 +166,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -227,7 +227,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -297,7 +297,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -369,7 +369,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/BillingInfoValidationRuleCreateData.md b/api/docs/BillingInfoValidationRuleCreateData.md deleted file mode 100644 index 918291a89..000000000 --- a/api/docs/BillingInfoValidationRuleCreateData.md +++ /dev/null @@ -1,108 +0,0 @@ -# BillingInfoValidationRuleCreateData - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Type** | **interface{}** | The resource's type | -**Attributes** | [**POSTAdyenPayments201ResponseDataAttributes**](POSTAdyenPayments201ResponseDataAttributes.md) | | -**Relationships** | Pointer to [**BillingInfoValidationRuleCreateDataRelationships**](BillingInfoValidationRuleCreateDataRelationships.md) | | [optional] - -## Methods - -### NewBillingInfoValidationRuleCreateData - -`func NewBillingInfoValidationRuleCreateData(type_ interface{}, attributes POSTAdyenPayments201ResponseDataAttributes, ) *BillingInfoValidationRuleCreateData` - -NewBillingInfoValidationRuleCreateData instantiates a new BillingInfoValidationRuleCreateData object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewBillingInfoValidationRuleCreateDataWithDefaults - -`func NewBillingInfoValidationRuleCreateDataWithDefaults() *BillingInfoValidationRuleCreateData` - -NewBillingInfoValidationRuleCreateDataWithDefaults instantiates a new BillingInfoValidationRuleCreateData object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetType - -`func (o *BillingInfoValidationRuleCreateData) GetType() interface{}` - -GetType returns the Type field if non-nil, zero value otherwise. - -### GetTypeOk - -`func (o *BillingInfoValidationRuleCreateData) GetTypeOk() (*interface{}, bool)` - -GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetType - -`func (o *BillingInfoValidationRuleCreateData) SetType(v interface{})` - -SetType sets Type field to given value. - - -### SetTypeNil - -`func (o *BillingInfoValidationRuleCreateData) SetTypeNil(b bool)` - - SetTypeNil sets the value for Type to be an explicit nil - -### UnsetType -`func (o *BillingInfoValidationRuleCreateData) UnsetType()` - -UnsetType ensures that no value is present for Type, not even an explicit nil -### GetAttributes - -`func (o *BillingInfoValidationRuleCreateData) GetAttributes() POSTAdyenPayments201ResponseDataAttributes` - -GetAttributes returns the Attributes field if non-nil, zero value otherwise. - -### GetAttributesOk - -`func (o *BillingInfoValidationRuleCreateData) GetAttributesOk() (*POSTAdyenPayments201ResponseDataAttributes, bool)` - -GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAttributes - -`func (o *BillingInfoValidationRuleCreateData) SetAttributes(v POSTAdyenPayments201ResponseDataAttributes)` - -SetAttributes sets Attributes field to given value. - - -### GetRelationships - -`func (o *BillingInfoValidationRuleCreateData) GetRelationships() BillingInfoValidationRuleCreateDataRelationships` - -GetRelationships returns the Relationships field if non-nil, zero value otherwise. - -### GetRelationshipsOk - -`func (o *BillingInfoValidationRuleCreateData) GetRelationshipsOk() (*BillingInfoValidationRuleCreateDataRelationships, bool)` - -GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRelationships - -`func (o *BillingInfoValidationRuleCreateData) SetRelationships(v BillingInfoValidationRuleCreateDataRelationships)` - -SetRelationships sets Relationships field to given value. - -### HasRelationships - -`func (o *BillingInfoValidationRuleCreateData) HasRelationships() bool` - -HasRelationships returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api/docs/BillingInfoValidationRuleCreateDataRelationships.md b/api/docs/BillingInfoValidationRuleCreateDataRelationships.md deleted file mode 100644 index b8a950d81..000000000 --- a/api/docs/BillingInfoValidationRuleCreateDataRelationships.md +++ /dev/null @@ -1,51 +0,0 @@ -# BillingInfoValidationRuleCreateDataRelationships - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Market** | [**BillingInfoValidationRuleCreateDataRelationshipsMarket**](BillingInfoValidationRuleCreateDataRelationshipsMarket.md) | | - -## Methods - -### NewBillingInfoValidationRuleCreateDataRelationships - -`func NewBillingInfoValidationRuleCreateDataRelationships(market BillingInfoValidationRuleCreateDataRelationshipsMarket, ) *BillingInfoValidationRuleCreateDataRelationships` - -NewBillingInfoValidationRuleCreateDataRelationships instantiates a new BillingInfoValidationRuleCreateDataRelationships object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewBillingInfoValidationRuleCreateDataRelationshipsWithDefaults - -`func NewBillingInfoValidationRuleCreateDataRelationshipsWithDefaults() *BillingInfoValidationRuleCreateDataRelationships` - -NewBillingInfoValidationRuleCreateDataRelationshipsWithDefaults instantiates a new BillingInfoValidationRuleCreateDataRelationships object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetMarket - -`func (o *BillingInfoValidationRuleCreateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket` - -GetMarket returns the Market field if non-nil, zero value otherwise. - -### GetMarketOk - -`func (o *BillingInfoValidationRuleCreateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool)` - -GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMarket - -`func (o *BillingInfoValidationRuleCreateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket)` - -SetMarket sets Market field to given value. - - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api/docs/BillingInfoValidationRuleCreateDataRelationshipsMarket.md b/api/docs/BillingInfoValidationRuleCreateDataRelationshipsMarket.md deleted file mode 100644 index 8892dbbbd..000000000 --- a/api/docs/BillingInfoValidationRuleCreateDataRelationshipsMarket.md +++ /dev/null @@ -1,51 +0,0 @@ -# BillingInfoValidationRuleCreateDataRelationshipsMarket - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Data** | [**AvalaraAccountDataRelationshipsMarketsData**](AvalaraAccountDataRelationshipsMarketsData.md) | | - -## Methods - -### NewBillingInfoValidationRuleCreateDataRelationshipsMarket - -`func NewBillingInfoValidationRuleCreateDataRelationshipsMarket(data AvalaraAccountDataRelationshipsMarketsData, ) *BillingInfoValidationRuleCreateDataRelationshipsMarket` - -NewBillingInfoValidationRuleCreateDataRelationshipsMarket instantiates a new BillingInfoValidationRuleCreateDataRelationshipsMarket object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewBillingInfoValidationRuleCreateDataRelationshipsMarketWithDefaults - -`func NewBillingInfoValidationRuleCreateDataRelationshipsMarketWithDefaults() *BillingInfoValidationRuleCreateDataRelationshipsMarket` - -NewBillingInfoValidationRuleCreateDataRelationshipsMarketWithDefaults instantiates a new BillingInfoValidationRuleCreateDataRelationshipsMarket object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetData - -`func (o *BillingInfoValidationRuleCreateDataRelationshipsMarket) GetData() AvalaraAccountDataRelationshipsMarketsData` - -GetData returns the Data field if non-nil, zero value otherwise. - -### GetDataOk - -`func (o *BillingInfoValidationRuleCreateDataRelationshipsMarket) GetDataOk() (*AvalaraAccountDataRelationshipsMarketsData, bool)` - -GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetData - -`func (o *BillingInfoValidationRuleCreateDataRelationshipsMarket) SetData(v AvalaraAccountDataRelationshipsMarketsData)` - -SetData sets Data field to given value. - - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api/docs/BillingInfoValidationRuleData.md b/api/docs/BillingInfoValidationRuleData.md deleted file mode 100644 index 5c6d328ea..000000000 --- a/api/docs/BillingInfoValidationRuleData.md +++ /dev/null @@ -1,108 +0,0 @@ -# BillingInfoValidationRuleData - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Type** | **interface{}** | The resource's type | -**Attributes** | [**GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes**](GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md) | | -**Relationships** | Pointer to [**BillingInfoValidationRuleDataRelationships**](BillingInfoValidationRuleDataRelationships.md) | | [optional] - -## Methods - -### NewBillingInfoValidationRuleData - -`func NewBillingInfoValidationRuleData(type_ interface{}, attributes GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, ) *BillingInfoValidationRuleData` - -NewBillingInfoValidationRuleData instantiates a new BillingInfoValidationRuleData object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewBillingInfoValidationRuleDataWithDefaults - -`func NewBillingInfoValidationRuleDataWithDefaults() *BillingInfoValidationRuleData` - -NewBillingInfoValidationRuleDataWithDefaults instantiates a new BillingInfoValidationRuleData object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetType - -`func (o *BillingInfoValidationRuleData) GetType() interface{}` - -GetType returns the Type field if non-nil, zero value otherwise. - -### GetTypeOk - -`func (o *BillingInfoValidationRuleData) GetTypeOk() (*interface{}, bool)` - -GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetType - -`func (o *BillingInfoValidationRuleData) SetType(v interface{})` - -SetType sets Type field to given value. - - -### SetTypeNil - -`func (o *BillingInfoValidationRuleData) SetTypeNil(b bool)` - - SetTypeNil sets the value for Type to be an explicit nil - -### UnsetType -`func (o *BillingInfoValidationRuleData) UnsetType()` - -UnsetType ensures that no value is present for Type, not even an explicit nil -### GetAttributes - -`func (o *BillingInfoValidationRuleData) GetAttributes() GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes` - -GetAttributes returns the Attributes field if non-nil, zero value otherwise. - -### GetAttributesOk - -`func (o *BillingInfoValidationRuleData) GetAttributesOk() (*GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool)` - -GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAttributes - -`func (o *BillingInfoValidationRuleData) SetAttributes(v GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes)` - -SetAttributes sets Attributes field to given value. - - -### GetRelationships - -`func (o *BillingInfoValidationRuleData) GetRelationships() BillingInfoValidationRuleDataRelationships` - -GetRelationships returns the Relationships field if non-nil, zero value otherwise. - -### GetRelationshipsOk - -`func (o *BillingInfoValidationRuleData) GetRelationshipsOk() (*BillingInfoValidationRuleDataRelationships, bool)` - -GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRelationships - -`func (o *BillingInfoValidationRuleData) SetRelationships(v BillingInfoValidationRuleDataRelationships)` - -SetRelationships sets Relationships field to given value. - -### HasRelationships - -`func (o *BillingInfoValidationRuleData) HasRelationships() bool` - -HasRelationships returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api/docs/BillingInfoValidationRuleUpdateData.md b/api/docs/BillingInfoValidationRuleUpdateData.md deleted file mode 100644 index 46a159952..000000000 --- a/api/docs/BillingInfoValidationRuleUpdateData.md +++ /dev/null @@ -1,139 +0,0 @@ -# BillingInfoValidationRuleUpdateData - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Type** | **interface{}** | The resource's type | -**Id** | **interface{}** | The resource's id | -**Attributes** | [**PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes**](PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md) | | -**Relationships** | Pointer to [**BillingInfoValidationRuleUpdateDataRelationships**](BillingInfoValidationRuleUpdateDataRelationships.md) | | [optional] - -## Methods - -### NewBillingInfoValidationRuleUpdateData - -`func NewBillingInfoValidationRuleUpdateData(type_ interface{}, id interface{}, attributes PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, ) *BillingInfoValidationRuleUpdateData` - -NewBillingInfoValidationRuleUpdateData instantiates a new BillingInfoValidationRuleUpdateData object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewBillingInfoValidationRuleUpdateDataWithDefaults - -`func NewBillingInfoValidationRuleUpdateDataWithDefaults() *BillingInfoValidationRuleUpdateData` - -NewBillingInfoValidationRuleUpdateDataWithDefaults instantiates a new BillingInfoValidationRuleUpdateData object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetType - -`func (o *BillingInfoValidationRuleUpdateData) GetType() interface{}` - -GetType returns the Type field if non-nil, zero value otherwise. - -### GetTypeOk - -`func (o *BillingInfoValidationRuleUpdateData) GetTypeOk() (*interface{}, bool)` - -GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetType - -`func (o *BillingInfoValidationRuleUpdateData) SetType(v interface{})` - -SetType sets Type field to given value. - - -### SetTypeNil - -`func (o *BillingInfoValidationRuleUpdateData) SetTypeNil(b bool)` - - SetTypeNil sets the value for Type to be an explicit nil - -### UnsetType -`func (o *BillingInfoValidationRuleUpdateData) UnsetType()` - -UnsetType ensures that no value is present for Type, not even an explicit nil -### GetId - -`func (o *BillingInfoValidationRuleUpdateData) GetId() interface{}` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *BillingInfoValidationRuleUpdateData) GetIdOk() (*interface{}, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *BillingInfoValidationRuleUpdateData) SetId(v interface{})` - -SetId sets Id field to given value. - - -### SetIdNil - -`func (o *BillingInfoValidationRuleUpdateData) SetIdNil(b bool)` - - SetIdNil sets the value for Id to be an explicit nil - -### UnsetId -`func (o *BillingInfoValidationRuleUpdateData) UnsetId()` - -UnsetId ensures that no value is present for Id, not even an explicit nil -### GetAttributes - -`func (o *BillingInfoValidationRuleUpdateData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes` - -GetAttributes returns the Attributes field if non-nil, zero value otherwise. - -### GetAttributesOk - -`func (o *BillingInfoValidationRuleUpdateData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool)` - -GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAttributes - -`func (o *BillingInfoValidationRuleUpdateData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes)` - -SetAttributes sets Attributes field to given value. - - -### GetRelationships - -`func (o *BillingInfoValidationRuleUpdateData) GetRelationships() BillingInfoValidationRuleUpdateDataRelationships` - -GetRelationships returns the Relationships field if non-nil, zero value otherwise. - -### GetRelationshipsOk - -`func (o *BillingInfoValidationRuleUpdateData) GetRelationshipsOk() (*BillingInfoValidationRuleUpdateDataRelationships, bool)` - -GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRelationships - -`func (o *BillingInfoValidationRuleUpdateData) SetRelationships(v BillingInfoValidationRuleUpdateDataRelationships)` - -SetRelationships sets Relationships field to given value. - -### HasRelationships - -`func (o *BillingInfoValidationRuleUpdateData) HasRelationships() bool` - -HasRelationships returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api/docs/BillingInfoValidationRuleUpdateDataRelationships.md b/api/docs/BillingInfoValidationRuleUpdateDataRelationships.md deleted file mode 100644 index 003c0ef10..000000000 --- a/api/docs/BillingInfoValidationRuleUpdateDataRelationships.md +++ /dev/null @@ -1,56 +0,0 @@ -# BillingInfoValidationRuleUpdateDataRelationships - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Market** | Pointer to [**BillingInfoValidationRuleCreateDataRelationshipsMarket**](BillingInfoValidationRuleCreateDataRelationshipsMarket.md) | | [optional] - -## Methods - -### NewBillingInfoValidationRuleUpdateDataRelationships - -`func NewBillingInfoValidationRuleUpdateDataRelationships() *BillingInfoValidationRuleUpdateDataRelationships` - -NewBillingInfoValidationRuleUpdateDataRelationships instantiates a new BillingInfoValidationRuleUpdateDataRelationships object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewBillingInfoValidationRuleUpdateDataRelationshipsWithDefaults - -`func NewBillingInfoValidationRuleUpdateDataRelationshipsWithDefaults() *BillingInfoValidationRuleUpdateDataRelationships` - -NewBillingInfoValidationRuleUpdateDataRelationshipsWithDefaults instantiates a new BillingInfoValidationRuleUpdateDataRelationships object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetMarket - -`func (o *BillingInfoValidationRuleUpdateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket` - -GetMarket returns the Market field if non-nil, zero value otherwise. - -### GetMarketOk - -`func (o *BillingInfoValidationRuleUpdateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool)` - -GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMarket - -`func (o *BillingInfoValidationRuleUpdateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket)` - -SetMarket sets Market field to given value. - -### HasMarket - -`func (o *BillingInfoValidationRuleUpdateDataRelationships) HasMarket() bool` - -HasMarket returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api/docs/BillingInfoValidationRulesApi.md b/api/docs/BillingInfoValidationRulesApi.md deleted file mode 100644 index bac8f4758..000000000 --- a/api/docs/BillingInfoValidationRulesApi.md +++ /dev/null @@ -1,350 +0,0 @@ -# \BillingInfoValidationRulesApi - -All URIs are relative to *https://.commercelayer.io/api* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**DELETEBillingInfoValidationRulesBillingInfoValidationRuleId**](BillingInfoValidationRulesApi.md#DELETEBillingInfoValidationRulesBillingInfoValidationRuleId) | **Delete** /billing_info_validation_rules/{billingInfoValidationRuleId} | Delete a billing info validation rule -[**GETBillingInfoValidationRules**](BillingInfoValidationRulesApi.md#GETBillingInfoValidationRules) | **Get** /billing_info_validation_rules | List all billing info validation rules -[**GETBillingInfoValidationRulesBillingInfoValidationRuleId**](BillingInfoValidationRulesApi.md#GETBillingInfoValidationRulesBillingInfoValidationRuleId) | **Get** /billing_info_validation_rules/{billingInfoValidationRuleId} | Retrieve a billing info validation rule -[**PATCHBillingInfoValidationRulesBillingInfoValidationRuleId**](BillingInfoValidationRulesApi.md#PATCHBillingInfoValidationRulesBillingInfoValidationRuleId) | **Patch** /billing_info_validation_rules/{billingInfoValidationRuleId} | Update a billing info validation rule -[**POSTBillingInfoValidationRules**](BillingInfoValidationRulesApi.md#POSTBillingInfoValidationRules) | **Post** /billing_info_validation_rules | Create a billing info validation rule - - - -## DELETEBillingInfoValidationRulesBillingInfoValidationRuleId - -> DELETEBillingInfoValidationRulesBillingInfoValidationRuleId(ctx, billingInfoValidationRuleId).Execute() - -Delete a billing info validation rule - - - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" -) - -func main() { - billingInfoValidationRuleId := TODO // interface{} | The resource's id - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.BillingInfoValidationRulesApi.DELETEBillingInfoValidationRulesBillingInfoValidationRuleId(context.Background(), billingInfoValidationRuleId).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `BillingInfoValidationRulesApi.DELETEBillingInfoValidationRulesBillingInfoValidationRuleId``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } -} -``` - -### Path Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**billingInfoValidationRuleId** | [**interface{}**](.md) | The resource's id | - -### Other Parameters - -Other parameters are passed through a pointer to a apiDELETEBillingInfoValidationRulesBillingInfoValidationRuleIdRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - -### Return type - - (empty response body) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - -## GETBillingInfoValidationRules - -> GETBillingInfoValidationRules200Response GETBillingInfoValidationRules(ctx).Execute() - -List all billing info validation rules - - - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" -) - -func main() { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.BillingInfoValidationRulesApi.GETBillingInfoValidationRules(context.Background()).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `BillingInfoValidationRulesApi.GETBillingInfoValidationRules``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } - // response from `GETBillingInfoValidationRules`: GETBillingInfoValidationRules200Response - fmt.Fprintf(os.Stdout, "Response from `BillingInfoValidationRulesApi.GETBillingInfoValidationRules`: %v\n", resp) -} -``` - -### Path Parameters - -This endpoint does not need any parameter. - -### Other Parameters - -Other parameters are passed through a pointer to a apiGETBillingInfoValidationRulesRequest struct via the builder pattern - - -### Return type - -[**GETBillingInfoValidationRules200Response**](GETBillingInfoValidationRules200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/vnd.api+json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - -## GETBillingInfoValidationRulesBillingInfoValidationRuleId - -> GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response GETBillingInfoValidationRulesBillingInfoValidationRuleId(ctx, billingInfoValidationRuleId).Execute() - -Retrieve a billing info validation rule - - - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" -) - -func main() { - billingInfoValidationRuleId := TODO // interface{} | The resource's id - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.BillingInfoValidationRulesApi.GETBillingInfoValidationRulesBillingInfoValidationRuleId(context.Background(), billingInfoValidationRuleId).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `BillingInfoValidationRulesApi.GETBillingInfoValidationRulesBillingInfoValidationRuleId``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } - // response from `GETBillingInfoValidationRulesBillingInfoValidationRuleId`: GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response - fmt.Fprintf(os.Stdout, "Response from `BillingInfoValidationRulesApi.GETBillingInfoValidationRulesBillingInfoValidationRuleId`: %v\n", resp) -} -``` - -### Path Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**billingInfoValidationRuleId** | [**interface{}**](.md) | The resource's id | - -### Other Parameters - -Other parameters are passed through a pointer to a apiGETBillingInfoValidationRulesBillingInfoValidationRuleIdRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - -### Return type - -[**GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response**](GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/vnd.api+json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - -## PATCHBillingInfoValidationRulesBillingInfoValidationRuleId - -> PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response PATCHBillingInfoValidationRulesBillingInfoValidationRuleId(ctx, billingInfoValidationRuleId).BillingInfoValidationRuleUpdate(billingInfoValidationRuleUpdate).Execute() - -Update a billing info validation rule - - - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" -) - -func main() { - billingInfoValidationRuleUpdate := *openapiclient.NewBillingInfoValidationRuleUpdate(*openapiclient.NewBillingInfoValidationRuleUpdateData(interface{}(123), interface{}(XGZwpOSrWL), *openapiclient.NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes())) // BillingInfoValidationRuleUpdate | - billingInfoValidationRuleId := TODO // interface{} | The resource's id - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.BillingInfoValidationRulesApi.PATCHBillingInfoValidationRulesBillingInfoValidationRuleId(context.Background(), billingInfoValidationRuleId).BillingInfoValidationRuleUpdate(billingInfoValidationRuleUpdate).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `BillingInfoValidationRulesApi.PATCHBillingInfoValidationRulesBillingInfoValidationRuleId``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } - // response from `PATCHBillingInfoValidationRulesBillingInfoValidationRuleId`: PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response - fmt.Fprintf(os.Stdout, "Response from `BillingInfoValidationRulesApi.PATCHBillingInfoValidationRulesBillingInfoValidationRuleId`: %v\n", resp) -} -``` - -### Path Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**billingInfoValidationRuleId** | [**interface{}**](.md) | The resource's id | - -### Other Parameters - -Other parameters are passed through a pointer to a apiPATCHBillingInfoValidationRulesBillingInfoValidationRuleIdRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **billingInfoValidationRuleUpdate** | [**BillingInfoValidationRuleUpdate**](BillingInfoValidationRuleUpdate.md) | | - - -### Return type - -[**PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response**](PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - -- **Content-Type**: application/vnd.api+json -- **Accept**: application/vnd.api+json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - -## POSTBillingInfoValidationRules - -> POSTBillingInfoValidationRules201Response POSTBillingInfoValidationRules(ctx).BillingInfoValidationRuleCreate(billingInfoValidationRuleCreate).Execute() - -Create a billing info validation rule - - - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" -) - -func main() { - billingInfoValidationRuleCreate := *openapiclient.NewBillingInfoValidationRuleCreate(*openapiclient.NewBillingInfoValidationRuleCreateData(interface{}(123), *openapiclient.NewPOSTAdyenPayments201ResponseDataAttributes())) // BillingInfoValidationRuleCreate | - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.BillingInfoValidationRulesApi.POSTBillingInfoValidationRules(context.Background()).BillingInfoValidationRuleCreate(billingInfoValidationRuleCreate).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `BillingInfoValidationRulesApi.POSTBillingInfoValidationRules``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } - // response from `POSTBillingInfoValidationRules`: POSTBillingInfoValidationRules201Response - fmt.Fprintf(os.Stdout, "Response from `BillingInfoValidationRulesApi.POSTBillingInfoValidationRules`: %v\n", resp) -} -``` - -### Path Parameters - - - -### Other Parameters - -Other parameters are passed through a pointer to a apiPOSTBillingInfoValidationRulesRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **billingInfoValidationRuleCreate** | [**BillingInfoValidationRuleCreate**](BillingInfoValidationRuleCreate.md) | | - -### Return type - -[**POSTBillingInfoValidationRules201Response**](POSTBillingInfoValidationRules201Response.md) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - -- **Content-Type**: application/vnd.api+json -- **Accept**: application/vnd.api+json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - diff --git a/api/docs/BingGeocodersApi.md b/api/docs/BingGeocodersApi.md index 03bb0f598..a08f14c9c 100644 --- a/api/docs/BingGeocodersApi.md +++ b/api/docs/BingGeocodersApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/BraintreeGatewaysApi.md b/api/docs/BraintreeGatewaysApi.md index 61fd1e4d2..8c373de6d 100644 --- a/api/docs/BraintreeGatewaysApi.md +++ b/api/docs/BraintreeGatewaysApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/BraintreePaymentsApi.md b/api/docs/BraintreePaymentsApi.md index 1ffe1ae6d..432fe9e7f 100644 --- a/api/docs/BraintreePaymentsApi.md +++ b/api/docs/BraintreePaymentsApi.md @@ -30,7 +30,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -98,7 +98,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -166,7 +166,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -227,7 +227,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -297,7 +297,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -369,7 +369,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/BundleCreateDataRelationships.md b/api/docs/BundleCreateDataRelationships.md index 2a728c31b..c732d5de5 100644 --- a/api/docs/BundleCreateDataRelationships.md +++ b/api/docs/BundleCreateDataRelationships.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Market** | Pointer to [**BillingInfoValidationRuleCreateDataRelationshipsMarket**](BillingInfoValidationRuleCreateDataRelationshipsMarket.md) | | [optional] +**Market** | Pointer to [**BundleCreateDataRelationshipsMarket**](BundleCreateDataRelationshipsMarket.md) | | [optional] **SkuList** | [**BundleCreateDataRelationshipsSkuList**](BundleCreateDataRelationshipsSkuList.md) | | **Tags** | Pointer to [**AddressCreateDataRelationshipsTags**](AddressCreateDataRelationshipsTags.md) | | [optional] @@ -29,20 +29,20 @@ but it doesn't guarantee that properties required by API are set ### GetMarket -`func (o *BundleCreateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket` +`func (o *BundleCreateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket` GetMarket returns the Market field if non-nil, zero value otherwise. ### GetMarketOk -`func (o *BundleCreateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool)` +`func (o *BundleCreateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool)` GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMarket -`func (o *BundleCreateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket)` +`func (o *BundleCreateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket)` SetMarket sets Market field to given value. diff --git a/api/docs/BundleCreateDataRelationshipsMarket.md b/api/docs/BundleCreateDataRelationshipsMarket.md new file mode 100644 index 000000000..c327eff68 --- /dev/null +++ b/api/docs/BundleCreateDataRelationshipsMarket.md @@ -0,0 +1,51 @@ +# BundleCreateDataRelationshipsMarket + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Data** | [**AvalaraAccountDataRelationshipsMarketsData**](AvalaraAccountDataRelationshipsMarketsData.md) | | + +## Methods + +### NewBundleCreateDataRelationshipsMarket + +`func NewBundleCreateDataRelationshipsMarket(data AvalaraAccountDataRelationshipsMarketsData, ) *BundleCreateDataRelationshipsMarket` + +NewBundleCreateDataRelationshipsMarket instantiates a new BundleCreateDataRelationshipsMarket object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBundleCreateDataRelationshipsMarketWithDefaults + +`func NewBundleCreateDataRelationshipsMarketWithDefaults() *BundleCreateDataRelationshipsMarket` + +NewBundleCreateDataRelationshipsMarketWithDefaults instantiates a new BundleCreateDataRelationshipsMarket object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetData + +`func (o *BundleCreateDataRelationshipsMarket) GetData() AvalaraAccountDataRelationshipsMarketsData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *BundleCreateDataRelationshipsMarket) GetDataOk() (*AvalaraAccountDataRelationshipsMarketsData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *BundleCreateDataRelationshipsMarket) SetData(v AvalaraAccountDataRelationshipsMarketsData)` + +SetData sets Data field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/BundlesApi.md b/api/docs/BundlesApi.md index cb9dd1ac9..5d98afeb6 100644 --- a/api/docs/BundlesApi.md +++ b/api/docs/BundlesApi.md @@ -31,7 +31,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -99,7 +99,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -160,7 +160,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -230,7 +230,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -298,7 +298,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -366,7 +366,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -438,7 +438,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/BuyXPayYPromotionCreateDataRelationships.md b/api/docs/BuyXPayYPromotionCreateDataRelationships.md index 658ea88cd..d837c4d85 100644 --- a/api/docs/BuyXPayYPromotionCreateDataRelationships.md +++ b/api/docs/BuyXPayYPromotionCreateDataRelationships.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Market** | Pointer to [**BillingInfoValidationRuleCreateDataRelationshipsMarket**](BillingInfoValidationRuleCreateDataRelationshipsMarket.md) | | [optional] +**Market** | Pointer to [**BundleCreateDataRelationshipsMarket**](BundleCreateDataRelationshipsMarket.md) | | [optional] **OrderAmountPromotionRule** | Pointer to [**BuyXPayYPromotionCreateDataRelationshipsOrderAmountPromotionRule**](BuyXPayYPromotionCreateDataRelationshipsOrderAmountPromotionRule.md) | | [optional] **SkuListPromotionRule** | Pointer to [**BuyXPayYPromotionCreateDataRelationshipsSkuListPromotionRule**](BuyXPayYPromotionCreateDataRelationshipsSkuListPromotionRule.md) | | [optional] **CouponCodesPromotionRule** | Pointer to [**BuyXPayYPromotionCreateDataRelationshipsCouponCodesPromotionRule**](BuyXPayYPromotionCreateDataRelationshipsCouponCodesPromotionRule.md) | | [optional] @@ -33,20 +33,20 @@ but it doesn't guarantee that properties required by API are set ### GetMarket -`func (o *BuyXPayYPromotionCreateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket` +`func (o *BuyXPayYPromotionCreateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket` GetMarket returns the Market field if non-nil, zero value otherwise. ### GetMarketOk -`func (o *BuyXPayYPromotionCreateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool)` +`func (o *BuyXPayYPromotionCreateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool)` GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMarket -`func (o *BuyXPayYPromotionCreateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket)` +`func (o *BuyXPayYPromotionCreateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket)` SetMarket sets Market field to given value. diff --git a/api/docs/BuyXPayYPromotionUpdateDataRelationships.md b/api/docs/BuyXPayYPromotionUpdateDataRelationships.md index 4301ceb62..23c1a6eba 100644 --- a/api/docs/BuyXPayYPromotionUpdateDataRelationships.md +++ b/api/docs/BuyXPayYPromotionUpdateDataRelationships.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Market** | Pointer to [**BillingInfoValidationRuleCreateDataRelationshipsMarket**](BillingInfoValidationRuleCreateDataRelationshipsMarket.md) | | [optional] +**Market** | Pointer to [**BundleCreateDataRelationshipsMarket**](BundleCreateDataRelationshipsMarket.md) | | [optional] **OrderAmountPromotionRule** | Pointer to [**BuyXPayYPromotionCreateDataRelationshipsOrderAmountPromotionRule**](BuyXPayYPromotionCreateDataRelationshipsOrderAmountPromotionRule.md) | | [optional] **SkuListPromotionRule** | Pointer to [**BuyXPayYPromotionCreateDataRelationshipsSkuListPromotionRule**](BuyXPayYPromotionCreateDataRelationshipsSkuListPromotionRule.md) | | [optional] **CouponCodesPromotionRule** | Pointer to [**BuyXPayYPromotionCreateDataRelationshipsCouponCodesPromotionRule**](BuyXPayYPromotionCreateDataRelationshipsCouponCodesPromotionRule.md) | | [optional] @@ -33,20 +33,20 @@ but it doesn't guarantee that properties required by API are set ### GetMarket -`func (o *BuyXPayYPromotionUpdateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket` +`func (o *BuyXPayYPromotionUpdateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket` GetMarket returns the Market field if non-nil, zero value otherwise. ### GetMarketOk -`func (o *BuyXPayYPromotionUpdateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool)` +`func (o *BuyXPayYPromotionUpdateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool)` GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMarket -`func (o *BuyXPayYPromotionUpdateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket)` +`func (o *BuyXPayYPromotionUpdateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket)` SetMarket sets Market field to given value. diff --git a/api/docs/BuyXPayYPromotionsApi.md b/api/docs/BuyXPayYPromotionsApi.md index d4d9c67a9..5ac38a0ed 100644 --- a/api/docs/BuyXPayYPromotionsApi.md +++ b/api/docs/BuyXPayYPromotionsApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/CaptureDataRelationships.md b/api/docs/CaptureDataRelationships.md index 16e621abe..15a4eaa19 100644 --- a/api/docs/CaptureDataRelationships.md +++ b/api/docs/CaptureDataRelationships.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Order** | Pointer to [**AdyenPaymentDataRelationshipsOrder**](AdyenPaymentDataRelationshipsOrder.md) | | [optional] +**PaymentSource** | Pointer to [**AuthorizationDataRelationshipsPaymentSource**](AuthorizationDataRelationshipsPaymentSource.md) | | [optional] **Attachments** | Pointer to [**AuthorizationDataRelationshipsAttachments**](AuthorizationDataRelationshipsAttachments.md) | | [optional] **Events** | Pointer to [**AddressDataRelationshipsEvents**](AddressDataRelationshipsEvents.md) | | [optional] **Versions** | Pointer to [**AddressDataRelationshipsVersions**](AddressDataRelationshipsVersions.md) | | [optional] @@ -56,6 +57,31 @@ SetOrder sets Order field to given value. HasOrder returns a boolean if a field has been set. +### GetPaymentSource + +`func (o *CaptureDataRelationships) GetPaymentSource() AuthorizationDataRelationshipsPaymentSource` + +GetPaymentSource returns the PaymentSource field if non-nil, zero value otherwise. + +### GetPaymentSourceOk + +`func (o *CaptureDataRelationships) GetPaymentSourceOk() (*AuthorizationDataRelationshipsPaymentSource, bool)` + +GetPaymentSourceOk returns a tuple with the PaymentSource field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPaymentSource + +`func (o *CaptureDataRelationships) SetPaymentSource(v AuthorizationDataRelationshipsPaymentSource)` + +SetPaymentSource sets PaymentSource field to given value. + +### HasPaymentSource + +`func (o *CaptureDataRelationships) HasPaymentSource() bool` + +HasPaymentSource returns a boolean if a field has been set. + ### GetAttachments `func (o *CaptureDataRelationships) GetAttachments() AuthorizationDataRelationshipsAttachments` diff --git a/api/docs/CapturesApi.md b/api/docs/CapturesApi.md index 010d4a011..4f293657d 100644 --- a/api/docs/CapturesApi.md +++ b/api/docs/CapturesApi.md @@ -31,7 +31,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -99,7 +99,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -160,7 +160,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -230,7 +230,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -298,7 +298,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -366,7 +366,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -434,7 +434,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/CarrierAccountCreateData.md b/api/docs/CarrierAccountCreateData.md index c6701abad..d042627a8 100644 --- a/api/docs/CarrierAccountCreateData.md +++ b/api/docs/CarrierAccountCreateData.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Type** | **interface{}** | The resource's type | **Attributes** | [**POSTCarrierAccounts201ResponseDataAttributes**](POSTCarrierAccounts201ResponseDataAttributes.md) | | -**Relationships** | Pointer to [**BillingInfoValidationRuleUpdateDataRelationships**](BillingInfoValidationRuleUpdateDataRelationships.md) | | [optional] +**Relationships** | Pointer to [**CarrierAccountCreateDataRelationships**](CarrierAccountCreateDataRelationships.md) | | [optional] ## Methods @@ -79,20 +79,20 @@ SetAttributes sets Attributes field to given value. ### GetRelationships -`func (o *CarrierAccountCreateData) GetRelationships() BillingInfoValidationRuleUpdateDataRelationships` +`func (o *CarrierAccountCreateData) GetRelationships() CarrierAccountCreateDataRelationships` GetRelationships returns the Relationships field if non-nil, zero value otherwise. ### GetRelationshipsOk -`func (o *CarrierAccountCreateData) GetRelationshipsOk() (*BillingInfoValidationRuleUpdateDataRelationships, bool)` +`func (o *CarrierAccountCreateData) GetRelationshipsOk() (*CarrierAccountCreateDataRelationships, bool)` GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRelationships -`func (o *CarrierAccountCreateData) SetRelationships(v BillingInfoValidationRuleUpdateDataRelationships)` +`func (o *CarrierAccountCreateData) SetRelationships(v CarrierAccountCreateDataRelationships)` SetRelationships sets Relationships field to given value. diff --git a/api/docs/CarrierAccountCreateDataRelationships.md b/api/docs/CarrierAccountCreateDataRelationships.md new file mode 100644 index 000000000..1db4472b5 --- /dev/null +++ b/api/docs/CarrierAccountCreateDataRelationships.md @@ -0,0 +1,56 @@ +# CarrierAccountCreateDataRelationships + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Market** | Pointer to [**BundleCreateDataRelationshipsMarket**](BundleCreateDataRelationshipsMarket.md) | | [optional] + +## Methods + +### NewCarrierAccountCreateDataRelationships + +`func NewCarrierAccountCreateDataRelationships() *CarrierAccountCreateDataRelationships` + +NewCarrierAccountCreateDataRelationships instantiates a new CarrierAccountCreateDataRelationships object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewCarrierAccountCreateDataRelationshipsWithDefaults + +`func NewCarrierAccountCreateDataRelationshipsWithDefaults() *CarrierAccountCreateDataRelationships` + +NewCarrierAccountCreateDataRelationshipsWithDefaults instantiates a new CarrierAccountCreateDataRelationships object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetMarket + +`func (o *CarrierAccountCreateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket` + +GetMarket returns the Market field if non-nil, zero value otherwise. + +### GetMarketOk + +`func (o *CarrierAccountCreateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool)` + +GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMarket + +`func (o *CarrierAccountCreateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket)` + +SetMarket sets Market field to given value. + +### HasMarket + +`func (o *CarrierAccountCreateDataRelationships) HasMarket() bool` + +HasMarket returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/CarrierAccountData.md b/api/docs/CarrierAccountData.md index d6066f1fb..4b36718b9 100644 --- a/api/docs/CarrierAccountData.md +++ b/api/docs/CarrierAccountData.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Type** | **interface{}** | The resource's type | **Attributes** | [**GETCarrierAccountsCarrierAccountId200ResponseDataAttributes**](GETCarrierAccountsCarrierAccountId200ResponseDataAttributes.md) | | -**Relationships** | Pointer to [**BillingInfoValidationRuleDataRelationships**](BillingInfoValidationRuleDataRelationships.md) | | [optional] +**Relationships** | Pointer to [**CarrierAccountDataRelationships**](CarrierAccountDataRelationships.md) | | [optional] ## Methods @@ -79,20 +79,20 @@ SetAttributes sets Attributes field to given value. ### GetRelationships -`func (o *CarrierAccountData) GetRelationships() BillingInfoValidationRuleDataRelationships` +`func (o *CarrierAccountData) GetRelationships() CarrierAccountDataRelationships` GetRelationships returns the Relationships field if non-nil, zero value otherwise. ### GetRelationshipsOk -`func (o *CarrierAccountData) GetRelationshipsOk() (*BillingInfoValidationRuleDataRelationships, bool)` +`func (o *CarrierAccountData) GetRelationshipsOk() (*CarrierAccountDataRelationships, bool)` GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRelationships -`func (o *CarrierAccountData) SetRelationships(v BillingInfoValidationRuleDataRelationships)` +`func (o *CarrierAccountData) SetRelationships(v CarrierAccountDataRelationships)` SetRelationships sets Relationships field to given value. diff --git a/api/docs/BillingInfoValidationRuleDataRelationships.md b/api/docs/CarrierAccountDataRelationships.md similarity index 55% rename from api/docs/BillingInfoValidationRuleDataRelationships.md rename to api/docs/CarrierAccountDataRelationships.md index 39b50d988..a154d7530 100644 --- a/api/docs/BillingInfoValidationRuleDataRelationships.md +++ b/api/docs/CarrierAccountDataRelationships.md @@ -1,4 +1,4 @@ -# BillingInfoValidationRuleDataRelationships +# CarrierAccountDataRelationships ## Properties @@ -10,95 +10,95 @@ Name | Type | Description | Notes ## Methods -### NewBillingInfoValidationRuleDataRelationships +### NewCarrierAccountDataRelationships -`func NewBillingInfoValidationRuleDataRelationships() *BillingInfoValidationRuleDataRelationships` +`func NewCarrierAccountDataRelationships() *CarrierAccountDataRelationships` -NewBillingInfoValidationRuleDataRelationships instantiates a new BillingInfoValidationRuleDataRelationships object +NewCarrierAccountDataRelationships instantiates a new CarrierAccountDataRelationships object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed -### NewBillingInfoValidationRuleDataRelationshipsWithDefaults +### NewCarrierAccountDataRelationshipsWithDefaults -`func NewBillingInfoValidationRuleDataRelationshipsWithDefaults() *BillingInfoValidationRuleDataRelationships` +`func NewCarrierAccountDataRelationshipsWithDefaults() *CarrierAccountDataRelationships` -NewBillingInfoValidationRuleDataRelationshipsWithDefaults instantiates a new BillingInfoValidationRuleDataRelationships object +NewCarrierAccountDataRelationshipsWithDefaults instantiates a new CarrierAccountDataRelationships object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetMarket -`func (o *BillingInfoValidationRuleDataRelationships) GetMarket() AvalaraAccountDataRelationshipsMarkets` +`func (o *CarrierAccountDataRelationships) GetMarket() AvalaraAccountDataRelationshipsMarkets` GetMarket returns the Market field if non-nil, zero value otherwise. ### GetMarketOk -`func (o *BillingInfoValidationRuleDataRelationships) GetMarketOk() (*AvalaraAccountDataRelationshipsMarkets, bool)` +`func (o *CarrierAccountDataRelationships) GetMarketOk() (*AvalaraAccountDataRelationshipsMarkets, bool)` GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMarket -`func (o *BillingInfoValidationRuleDataRelationships) SetMarket(v AvalaraAccountDataRelationshipsMarkets)` +`func (o *CarrierAccountDataRelationships) SetMarket(v AvalaraAccountDataRelationshipsMarkets)` SetMarket sets Market field to given value. ### HasMarket -`func (o *BillingInfoValidationRuleDataRelationships) HasMarket() bool` +`func (o *CarrierAccountDataRelationships) HasMarket() bool` HasMarket returns a boolean if a field has been set. ### GetAttachments -`func (o *BillingInfoValidationRuleDataRelationships) GetAttachments() AuthorizationDataRelationshipsAttachments` +`func (o *CarrierAccountDataRelationships) GetAttachments() AuthorizationDataRelationshipsAttachments` GetAttachments returns the Attachments field if non-nil, zero value otherwise. ### GetAttachmentsOk -`func (o *BillingInfoValidationRuleDataRelationships) GetAttachmentsOk() (*AuthorizationDataRelationshipsAttachments, bool)` +`func (o *CarrierAccountDataRelationships) GetAttachmentsOk() (*AuthorizationDataRelationshipsAttachments, bool)` GetAttachmentsOk returns a tuple with the Attachments field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAttachments -`func (o *BillingInfoValidationRuleDataRelationships) SetAttachments(v AuthorizationDataRelationshipsAttachments)` +`func (o *CarrierAccountDataRelationships) SetAttachments(v AuthorizationDataRelationshipsAttachments)` SetAttachments sets Attachments field to given value. ### HasAttachments -`func (o *BillingInfoValidationRuleDataRelationships) HasAttachments() bool` +`func (o *CarrierAccountDataRelationships) HasAttachments() bool` HasAttachments returns a boolean if a field has been set. ### GetVersions -`func (o *BillingInfoValidationRuleDataRelationships) GetVersions() AddressDataRelationshipsVersions` +`func (o *CarrierAccountDataRelationships) GetVersions() AddressDataRelationshipsVersions` GetVersions returns the Versions field if non-nil, zero value otherwise. ### GetVersionsOk -`func (o *BillingInfoValidationRuleDataRelationships) GetVersionsOk() (*AddressDataRelationshipsVersions, bool)` +`func (o *CarrierAccountDataRelationships) GetVersionsOk() (*AddressDataRelationshipsVersions, bool)` GetVersionsOk returns a tuple with the Versions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersions -`func (o *BillingInfoValidationRuleDataRelationships) SetVersions(v AddressDataRelationshipsVersions)` +`func (o *CarrierAccountDataRelationships) SetVersions(v AddressDataRelationshipsVersions)` SetVersions sets Versions field to given value. ### HasVersions -`func (o *BillingInfoValidationRuleDataRelationships) HasVersions() bool` +`func (o *CarrierAccountDataRelationships) HasVersions() bool` HasVersions returns a boolean if a field has been set. diff --git a/api/docs/CarrierAccountUpdateData.md b/api/docs/CarrierAccountUpdateData.md index 613167648..9b3f88a43 100644 --- a/api/docs/CarrierAccountUpdateData.md +++ b/api/docs/CarrierAccountUpdateData.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Type** | **interface{}** | The resource's type | **Id** | **interface{}** | The resource's id | **Attributes** | [**PATCHCarrierAccountsCarrierAccountId200ResponseDataAttributes**](PATCHCarrierAccountsCarrierAccountId200ResponseDataAttributes.md) | | -**Relationships** | Pointer to [**BillingInfoValidationRuleUpdateDataRelationships**](BillingInfoValidationRuleUpdateDataRelationships.md) | | [optional] +**Relationships** | Pointer to [**CarrierAccountCreateDataRelationships**](CarrierAccountCreateDataRelationships.md) | | [optional] ## Methods @@ -110,20 +110,20 @@ SetAttributes sets Attributes field to given value. ### GetRelationships -`func (o *CarrierAccountUpdateData) GetRelationships() BillingInfoValidationRuleUpdateDataRelationships` +`func (o *CarrierAccountUpdateData) GetRelationships() CarrierAccountCreateDataRelationships` GetRelationships returns the Relationships field if non-nil, zero value otherwise. ### GetRelationshipsOk -`func (o *CarrierAccountUpdateData) GetRelationshipsOk() (*BillingInfoValidationRuleUpdateDataRelationships, bool)` +`func (o *CarrierAccountUpdateData) GetRelationshipsOk() (*CarrierAccountCreateDataRelationships, bool)` GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRelationships -`func (o *CarrierAccountUpdateData) SetRelationships(v BillingInfoValidationRuleUpdateDataRelationships)` +`func (o *CarrierAccountUpdateData) SetRelationships(v CarrierAccountCreateDataRelationships)` SetRelationships sets Relationships field to given value. diff --git a/api/docs/CarrierAccountsApi.md b/api/docs/CarrierAccountsApi.md index 5d63809a0..e8e135076 100644 --- a/api/docs/CarrierAccountsApi.md +++ b/api/docs/CarrierAccountsApi.md @@ -30,7 +30,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -98,7 +98,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -159,7 +159,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -229,7 +229,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -297,7 +297,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -369,7 +369,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/CheckoutComGatewaysApi.md b/api/docs/CheckoutComGatewaysApi.md index 03192292d..f9e7f3117 100644 --- a/api/docs/CheckoutComGatewaysApi.md +++ b/api/docs/CheckoutComGatewaysApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/CheckoutComPaymentsApi.md b/api/docs/CheckoutComPaymentsApi.md index 1b3e94444..79700c2a6 100644 --- a/api/docs/CheckoutComPaymentsApi.md +++ b/api/docs/CheckoutComPaymentsApi.md @@ -30,7 +30,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -98,7 +98,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -166,7 +166,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -227,7 +227,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -297,7 +297,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -369,7 +369,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/CleanupUpdateData.md b/api/docs/CleanupUpdateData.md index f4f9fb73d..28a038b17 100644 --- a/api/docs/CleanupUpdateData.md +++ b/api/docs/CleanupUpdateData.md @@ -6,14 +6,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Type** | **interface{}** | The resource's type | **Id** | **interface{}** | The resource's id | -**Attributes** | [**PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes**](PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md) | | +**Attributes** | [**PATCHCleanupsCleanupId200ResponseDataAttributes**](PATCHCleanupsCleanupId200ResponseDataAttributes.md) | | **Relationships** | Pointer to **interface{}** | | [optional] ## Methods ### NewCleanupUpdateData -`func NewCleanupUpdateData(type_ interface{}, id interface{}, attributes PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, ) *CleanupUpdateData` +`func NewCleanupUpdateData(type_ interface{}, id interface{}, attributes PATCHCleanupsCleanupId200ResponseDataAttributes, ) *CleanupUpdateData` NewCleanupUpdateData instantiates a new CleanupUpdateData object This constructor will assign default values to properties that have it defined, @@ -90,20 +90,20 @@ SetId sets Id field to given value. UnsetId ensures that no value is present for Id, not even an explicit nil ### GetAttributes -`func (o *CleanupUpdateData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes` +`func (o *CleanupUpdateData) GetAttributes() PATCHCleanupsCleanupId200ResponseDataAttributes` GetAttributes returns the Attributes field if non-nil, zero value otherwise. ### GetAttributesOk -`func (o *CleanupUpdateData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool)` +`func (o *CleanupUpdateData) GetAttributesOk() (*PATCHCleanupsCleanupId200ResponseDataAttributes, bool)` GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAttributes -`func (o *CleanupUpdateData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes)` +`func (o *CleanupUpdateData) SetAttributes(v PATCHCleanupsCleanupId200ResponseDataAttributes)` SetAttributes sets Attributes field to given value. diff --git a/api/docs/CleanupsApi.md b/api/docs/CleanupsApi.md index 8501acf5e..8a7c6e028 100644 --- a/api/docs/CleanupsApi.md +++ b/api/docs/CleanupsApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,11 +228,11 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { - cleanupUpdate := *openapiclient.NewCleanupUpdate(*openapiclient.NewCleanupUpdateData(interface{}(123), interface{}(XGZwpOSrWL), *openapiclient.NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes())) // CleanupUpdate | + cleanupUpdate := *openapiclient.NewCleanupUpdate(*openapiclient.NewCleanupUpdateData(interface{}(123), interface{}(XGZwpOSrWL), *openapiclient.NewPATCHCleanupsCleanupId200ResponseDataAttributes())) // CleanupUpdate | cleanupId := TODO // interface{} | The resource's id configuration := openapiclient.NewConfiguration() @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/CouponCodesPromotionRuleUpdateData.md b/api/docs/CouponCodesPromotionRuleUpdateData.md index 66ab3b95b..cedaed6f7 100644 --- a/api/docs/CouponCodesPromotionRuleUpdateData.md +++ b/api/docs/CouponCodesPromotionRuleUpdateData.md @@ -6,14 +6,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Type** | **interface{}** | The resource's type | **Id** | **interface{}** | The resource's id | -**Attributes** | [**PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes**](PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md) | | +**Attributes** | [**PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes**](PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes.md) | | **Relationships** | Pointer to [**CouponCodesPromotionRuleUpdateDataRelationships**](CouponCodesPromotionRuleUpdateDataRelationships.md) | | [optional] ## Methods ### NewCouponCodesPromotionRuleUpdateData -`func NewCouponCodesPromotionRuleUpdateData(type_ interface{}, id interface{}, attributes PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, ) *CouponCodesPromotionRuleUpdateData` +`func NewCouponCodesPromotionRuleUpdateData(type_ interface{}, id interface{}, attributes PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes, ) *CouponCodesPromotionRuleUpdateData` NewCouponCodesPromotionRuleUpdateData instantiates a new CouponCodesPromotionRuleUpdateData object This constructor will assign default values to properties that have it defined, @@ -90,20 +90,20 @@ SetId sets Id field to given value. UnsetId ensures that no value is present for Id, not even an explicit nil ### GetAttributes -`func (o *CouponCodesPromotionRuleUpdateData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes` +`func (o *CouponCodesPromotionRuleUpdateData) GetAttributes() PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes` GetAttributes returns the Attributes field if non-nil, zero value otherwise. ### GetAttributesOk -`func (o *CouponCodesPromotionRuleUpdateData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool)` +`func (o *CouponCodesPromotionRuleUpdateData) GetAttributesOk() (*PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes, bool)` GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAttributes -`func (o *CouponCodesPromotionRuleUpdateData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes)` +`func (o *CouponCodesPromotionRuleUpdateData) SetAttributes(v PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes)` SetAttributes sets Attributes field to given value. diff --git a/api/docs/CouponCodesPromotionRulesApi.md b/api/docs/CouponCodesPromotionRulesApi.md index 77ce209fd..7d9b3c0db 100644 --- a/api/docs/CouponCodesPromotionRulesApi.md +++ b/api/docs/CouponCodesPromotionRulesApi.md @@ -39,7 +39,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -107,7 +107,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -175,7 +175,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -236,7 +236,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -306,7 +306,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -374,7 +374,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -442,7 +442,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -510,7 +510,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -578,7 +578,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -646,7 +646,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -714,7 +714,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -782,7 +782,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -850,7 +850,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -918,11 +918,11 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { - couponCodesPromotionRuleUpdate := *openapiclient.NewCouponCodesPromotionRuleUpdate(*openapiclient.NewCouponCodesPromotionRuleUpdateData(interface{}(123), interface{}(XGZwpOSrWL), *openapiclient.NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes())) // CouponCodesPromotionRuleUpdate | + couponCodesPromotionRuleUpdate := *openapiclient.NewCouponCodesPromotionRuleUpdate(*openapiclient.NewCouponCodesPromotionRuleUpdateData(interface{}(123), interface{}(XGZwpOSrWL), *openapiclient.NewPATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes())) // CouponCodesPromotionRuleUpdate | couponCodesPromotionRuleId := TODO // interface{} | The resource's id configuration := openapiclient.NewConfiguration() @@ -990,7 +990,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/CouponRecipientsApi.md b/api/docs/CouponRecipientsApi.md index 8c15e8455..09a2b5aa4 100644 --- a/api/docs/CouponRecipientsApi.md +++ b/api/docs/CouponRecipientsApi.md @@ -30,7 +30,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -98,7 +98,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -166,7 +166,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -227,7 +227,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -297,7 +297,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -369,7 +369,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/CouponsApi.md b/api/docs/CouponsApi.md index 724c7c4ff..7af040e0c 100644 --- a/api/docs/CouponsApi.md +++ b/api/docs/CouponsApi.md @@ -39,7 +39,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -107,7 +107,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -175,7 +175,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -243,7 +243,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -304,7 +304,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -374,7 +374,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -442,7 +442,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -510,7 +510,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -578,7 +578,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -646,7 +646,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -714,7 +714,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -782,7 +782,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -850,7 +850,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -918,7 +918,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -990,7 +990,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/CustomPromotionRulesApi.md b/api/docs/CustomPromotionRulesApi.md index 473e9fca0..97fceb796 100644 --- a/api/docs/CustomPromotionRulesApi.md +++ b/api/docs/CustomPromotionRulesApi.md @@ -37,7 +37,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -105,7 +105,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -173,7 +173,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -234,7 +234,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -304,7 +304,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -372,7 +372,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -440,7 +440,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -508,7 +508,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -576,7 +576,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -644,7 +644,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -712,7 +712,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -780,7 +780,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -852,7 +852,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/CustomerAddressUpdateData.md b/api/docs/CustomerAddressUpdateData.md index 036a794b7..b5e3f1611 100644 --- a/api/docs/CustomerAddressUpdateData.md +++ b/api/docs/CustomerAddressUpdateData.md @@ -6,14 +6,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Type** | **interface{}** | The resource's type | **Id** | **interface{}** | The resource's id | -**Attributes** | [**PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes**](PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md) | | +**Attributes** | [**PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes**](PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes.md) | | **Relationships** | Pointer to [**CustomerAddressUpdateDataRelationships**](CustomerAddressUpdateDataRelationships.md) | | [optional] ## Methods ### NewCustomerAddressUpdateData -`func NewCustomerAddressUpdateData(type_ interface{}, id interface{}, attributes PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, ) *CustomerAddressUpdateData` +`func NewCustomerAddressUpdateData(type_ interface{}, id interface{}, attributes PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes, ) *CustomerAddressUpdateData` NewCustomerAddressUpdateData instantiates a new CustomerAddressUpdateData object This constructor will assign default values to properties that have it defined, @@ -90,20 +90,20 @@ SetId sets Id field to given value. UnsetId ensures that no value is present for Id, not even an explicit nil ### GetAttributes -`func (o *CustomerAddressUpdateData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes` +`func (o *CustomerAddressUpdateData) GetAttributes() PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes` GetAttributes returns the Attributes field if non-nil, zero value otherwise. ### GetAttributesOk -`func (o *CustomerAddressUpdateData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool)` +`func (o *CustomerAddressUpdateData) GetAttributesOk() (*PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes, bool)` GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAttributes -`func (o *CustomerAddressUpdateData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes)` +`func (o *CustomerAddressUpdateData) SetAttributes(v PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes)` SetAttributes sets Attributes field to given value. diff --git a/api/docs/CustomerAddressesApi.md b/api/docs/CustomerAddressesApi.md index c574576a4..e8f1f4bd7 100644 --- a/api/docs/CustomerAddressesApi.md +++ b/api/docs/CustomerAddressesApi.md @@ -30,7 +30,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -98,7 +98,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -159,7 +159,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -229,7 +229,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -297,11 +297,11 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { - customerAddressUpdate := *openapiclient.NewCustomerAddressUpdate(*openapiclient.NewCustomerAddressUpdateData(interface{}(123), interface{}(XGZwpOSrWL), *openapiclient.NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes())) // CustomerAddressUpdate | + customerAddressUpdate := *openapiclient.NewCustomerAddressUpdate(*openapiclient.NewCustomerAddressUpdateData(interface{}(123), interface{}(XGZwpOSrWL), *openapiclient.NewPATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes())) // CustomerAddressUpdate | customerAddressId := TODO // interface{} | The resource's id configuration := openapiclient.NewConfiguration() @@ -369,7 +369,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/CustomerGroupsApi.md b/api/docs/CustomerGroupsApi.md index 8b683fb96..a04be4a73 100644 --- a/api/docs/CustomerGroupsApi.md +++ b/api/docs/CustomerGroupsApi.md @@ -31,7 +31,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -99,7 +99,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -160,7 +160,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -230,7 +230,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -298,7 +298,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -366,7 +366,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -438,7 +438,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/CustomerPasswordResetsApi.md b/api/docs/CustomerPasswordResetsApi.md index e4ea04526..3d3d5f1eb 100644 --- a/api/docs/CustomerPasswordResetsApi.md +++ b/api/docs/CustomerPasswordResetsApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/CustomerPaymentSourceCreateDataRelationshipsPaymentSource.md b/api/docs/CustomerPaymentSourceCreateDataRelationshipsPaymentSource.md index 06757bde9..624105f4f 100644 --- a/api/docs/CustomerPaymentSourceCreateDataRelationshipsPaymentSource.md +++ b/api/docs/CustomerPaymentSourceCreateDataRelationshipsPaymentSource.md @@ -4,13 +4,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Data** | [**CustomerPaymentSourceDataRelationshipsPaymentSourceData**](CustomerPaymentSourceDataRelationshipsPaymentSourceData.md) | | +**Data** | [**AuthorizationDataRelationshipsPaymentSourceData**](AuthorizationDataRelationshipsPaymentSourceData.md) | | ## Methods ### NewCustomerPaymentSourceCreateDataRelationshipsPaymentSource -`func NewCustomerPaymentSourceCreateDataRelationshipsPaymentSource(data CustomerPaymentSourceDataRelationshipsPaymentSourceData, ) *CustomerPaymentSourceCreateDataRelationshipsPaymentSource` +`func NewCustomerPaymentSourceCreateDataRelationshipsPaymentSource(data AuthorizationDataRelationshipsPaymentSourceData, ) *CustomerPaymentSourceCreateDataRelationshipsPaymentSource` NewCustomerPaymentSourceCreateDataRelationshipsPaymentSource instantiates a new CustomerPaymentSourceCreateDataRelationshipsPaymentSource object This constructor will assign default values to properties that have it defined, @@ -27,20 +27,20 @@ but it doesn't guarantee that properties required by API are set ### GetData -`func (o *CustomerPaymentSourceCreateDataRelationshipsPaymentSource) GetData() CustomerPaymentSourceDataRelationshipsPaymentSourceData` +`func (o *CustomerPaymentSourceCreateDataRelationshipsPaymentSource) GetData() AuthorizationDataRelationshipsPaymentSourceData` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *CustomerPaymentSourceCreateDataRelationshipsPaymentSource) GetDataOk() (*CustomerPaymentSourceDataRelationshipsPaymentSourceData, bool)` +`func (o *CustomerPaymentSourceCreateDataRelationshipsPaymentSource) GetDataOk() (*AuthorizationDataRelationshipsPaymentSourceData, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetData -`func (o *CustomerPaymentSourceCreateDataRelationshipsPaymentSource) SetData(v CustomerPaymentSourceDataRelationshipsPaymentSourceData)` +`func (o *CustomerPaymentSourceCreateDataRelationshipsPaymentSource) SetData(v AuthorizationDataRelationshipsPaymentSourceData)` SetData sets Data field to given value. diff --git a/api/docs/CustomerPaymentSourceDataRelationships.md b/api/docs/CustomerPaymentSourceDataRelationships.md index a561a72df..1f72194e8 100644 --- a/api/docs/CustomerPaymentSourceDataRelationships.md +++ b/api/docs/CustomerPaymentSourceDataRelationships.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Customer** | Pointer to [**CouponRecipientDataRelationshipsCustomer**](CouponRecipientDataRelationshipsCustomer.md) | | [optional] **PaymentMethod** | Pointer to [**AdyenGatewayDataRelationshipsPaymentMethods**](AdyenGatewayDataRelationshipsPaymentMethods.md) | | [optional] -**PaymentSource** | Pointer to [**CustomerPaymentSourceDataRelationshipsPaymentSource**](CustomerPaymentSourceDataRelationshipsPaymentSource.md) | | [optional] +**PaymentSource** | Pointer to [**AuthorizationDataRelationshipsPaymentSource**](AuthorizationDataRelationshipsPaymentSource.md) | | [optional] **Versions** | Pointer to [**AddressDataRelationshipsVersions**](AddressDataRelationshipsVersions.md) | | [optional] ## Methods @@ -80,20 +80,20 @@ HasPaymentMethod returns a boolean if a field has been set. ### GetPaymentSource -`func (o *CustomerPaymentSourceDataRelationships) GetPaymentSource() CustomerPaymentSourceDataRelationshipsPaymentSource` +`func (o *CustomerPaymentSourceDataRelationships) GetPaymentSource() AuthorizationDataRelationshipsPaymentSource` GetPaymentSource returns the PaymentSource field if non-nil, zero value otherwise. ### GetPaymentSourceOk -`func (o *CustomerPaymentSourceDataRelationships) GetPaymentSourceOk() (*CustomerPaymentSourceDataRelationshipsPaymentSource, bool)` +`func (o *CustomerPaymentSourceDataRelationships) GetPaymentSourceOk() (*AuthorizationDataRelationshipsPaymentSource, bool)` GetPaymentSourceOk returns a tuple with the PaymentSource field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPaymentSource -`func (o *CustomerPaymentSourceDataRelationships) SetPaymentSource(v CustomerPaymentSourceDataRelationshipsPaymentSource)` +`func (o *CustomerPaymentSourceDataRelationships) SetPaymentSource(v AuthorizationDataRelationshipsPaymentSource)` SetPaymentSource sets PaymentSource field to given value. diff --git a/api/docs/CustomerPaymentSourceDataRelationshipsPaymentSource.md b/api/docs/CustomerPaymentSourceDataRelationshipsPaymentSource.md deleted file mode 100644 index 8e13b2977..000000000 --- a/api/docs/CustomerPaymentSourceDataRelationshipsPaymentSource.md +++ /dev/null @@ -1,56 +0,0 @@ -# CustomerPaymentSourceDataRelationshipsPaymentSource - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Data** | Pointer to [**CustomerPaymentSourceDataRelationshipsPaymentSourceData**](CustomerPaymentSourceDataRelationshipsPaymentSourceData.md) | | [optional] - -## Methods - -### NewCustomerPaymentSourceDataRelationshipsPaymentSource - -`func NewCustomerPaymentSourceDataRelationshipsPaymentSource() *CustomerPaymentSourceDataRelationshipsPaymentSource` - -NewCustomerPaymentSourceDataRelationshipsPaymentSource instantiates a new CustomerPaymentSourceDataRelationshipsPaymentSource object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewCustomerPaymentSourceDataRelationshipsPaymentSourceWithDefaults - -`func NewCustomerPaymentSourceDataRelationshipsPaymentSourceWithDefaults() *CustomerPaymentSourceDataRelationshipsPaymentSource` - -NewCustomerPaymentSourceDataRelationshipsPaymentSourceWithDefaults instantiates a new CustomerPaymentSourceDataRelationshipsPaymentSource object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetData - -`func (o *CustomerPaymentSourceDataRelationshipsPaymentSource) GetData() CustomerPaymentSourceDataRelationshipsPaymentSourceData` - -GetData returns the Data field if non-nil, zero value otherwise. - -### GetDataOk - -`func (o *CustomerPaymentSourceDataRelationshipsPaymentSource) GetDataOk() (*CustomerPaymentSourceDataRelationshipsPaymentSourceData, bool)` - -GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetData - -`func (o *CustomerPaymentSourceDataRelationshipsPaymentSource) SetData(v CustomerPaymentSourceDataRelationshipsPaymentSourceData)` - -SetData sets Data field to given value. - -### HasData - -`func (o *CustomerPaymentSourceDataRelationshipsPaymentSource) HasData() bool` - -HasData returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api/docs/CustomerPaymentSourcesApi.md b/api/docs/CustomerPaymentSourcesApi.md index 07d7a2a2c..78a17af01 100644 --- a/api/docs/CustomerPaymentSourcesApi.md +++ b/api/docs/CustomerPaymentSourcesApi.md @@ -33,7 +33,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -101,7 +101,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -169,7 +169,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -230,7 +230,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -368,7 +368,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -436,7 +436,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -504,7 +504,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -576,7 +576,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/CustomerSubscriptionsApi.md b/api/docs/CustomerSubscriptionsApi.md index 2dc9bcb21..811ff7a9c 100644 --- a/api/docs/CustomerSubscriptionsApi.md +++ b/api/docs/CustomerSubscriptionsApi.md @@ -30,7 +30,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -98,7 +98,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -166,7 +166,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -227,7 +227,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -297,7 +297,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -369,7 +369,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/CustomersApi.md b/api/docs/CustomersApi.md index 4348752f3..0fe37d97a 100644 --- a/api/docs/CustomersApi.md +++ b/api/docs/CustomersApi.md @@ -43,7 +43,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -111,7 +111,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -179,7 +179,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -247,7 +247,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -315,7 +315,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -383,7 +383,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -451,7 +451,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -519,7 +519,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -580,7 +580,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -650,7 +650,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -718,7 +718,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -786,7 +786,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -854,7 +854,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -922,7 +922,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -990,7 +990,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1058,7 +1058,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1126,7 +1126,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1194,7 +1194,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1266,7 +1266,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/DeliveryLeadTimesApi.md b/api/docs/DeliveryLeadTimesApi.md index 68670646b..2b1b95bbe 100644 --- a/api/docs/DeliveryLeadTimesApi.md +++ b/api/docs/DeliveryLeadTimesApi.md @@ -32,7 +32,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -100,7 +100,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -161,7 +161,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -231,7 +231,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -299,7 +299,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -367,7 +367,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -435,7 +435,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -507,7 +507,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/EventCallbacksApi.md b/api/docs/EventCallbacksApi.md index 02338df25..4bfc2cdef 100644 --- a/api/docs/EventCallbacksApi.md +++ b/api/docs/EventCallbacksApi.md @@ -28,7 +28,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -89,7 +89,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -159,7 +159,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -227,7 +227,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/EventsApi.md b/api/docs/EventsApi.md index 3d65e43a9..4d0280b3f 100644 --- a/api/docs/EventsApi.md +++ b/api/docs/EventsApi.md @@ -48,6 +48,7 @@ Method | HTTP request | Description [**GETSkuIdEvents**](EventsApi.md#GETSkuIdEvents) | **Get** /skus/{skuId}/events | Retrieve the events associated to the SKU [**GETSkuOptionIdEvents**](EventsApi.md#GETSkuOptionIdEvents) | **Get** /sku_options/{skuOptionId}/events | Retrieve the events associated to the SKU option [**GETStockTransferIdEvents**](EventsApi.md#GETStockTransferIdEvents) | **Get** /stock_transfers/{stockTransferId}/events | Retrieve the events associated to the stock transfer +[**GETStoreIdEvents**](EventsApi.md#GETStoreIdEvents) | **Get** /stores/{storeId}/events | Retrieve the events associated to the store [**GETTransactionIdEvents**](EventsApi.md#GETTransactionIdEvents) | **Get** /transactions/{transactionId}/events | Retrieve the events associated to the transaction [**GETVoidIdEvents**](EventsApi.md#GETVoidIdEvents) | **Get** /voids/{voidId}/events | Retrieve the events associated to the void [**PATCHEventsEventId**](EventsApi.md#PATCHEventsEventId) | **Patch** /events/{eventId} | Update an event @@ -71,7 +72,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -139,7 +140,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -207,7 +208,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -275,7 +276,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -343,7 +344,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -411,7 +412,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -479,7 +480,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -547,7 +548,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -615,7 +616,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -683,7 +684,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -751,7 +752,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -819,7 +820,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -887,7 +888,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -948,7 +949,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1018,7 +1019,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1086,7 +1087,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1154,7 +1155,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1222,7 +1223,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1290,7 +1291,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1358,7 +1359,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1426,7 +1427,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1494,7 +1495,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1562,7 +1563,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1630,7 +1631,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1698,7 +1699,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1766,7 +1767,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1834,7 +1835,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1902,7 +1903,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1970,7 +1971,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2038,7 +2039,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2106,7 +2107,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2174,7 +2175,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2242,7 +2243,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2310,7 +2311,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2378,7 +2379,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2446,7 +2447,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2514,7 +2515,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2582,7 +2583,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2650,7 +2651,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2718,7 +2719,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2786,7 +2787,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2854,7 +2855,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2922,7 +2923,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2990,7 +2991,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3041,6 +3042,74 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## GETStoreIdEvents + +> GETStoreIdEvents(ctx, storeId).Execute() + +Retrieve the events associated to the store + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + storeId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.EventsApi.GETStoreIdEvents(context.Background(), storeId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `EventsApi.GETStoreIdEvents``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**storeId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETStoreIdEventsRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## GETTransactionIdEvents > GETTransactionIdEvents(ctx, transactionId).Execute() @@ -3058,7 +3127,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3126,7 +3195,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3194,7 +3263,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/ExportUpdateData.md b/api/docs/ExportUpdateData.md index 9ae0ca75f..b7fb15ddb 100644 --- a/api/docs/ExportUpdateData.md +++ b/api/docs/ExportUpdateData.md @@ -6,14 +6,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Type** | **interface{}** | The resource's type | **Id** | **interface{}** | The resource's id | -**Attributes** | [**PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes**](PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md) | | +**Attributes** | [**PATCHCleanupsCleanupId200ResponseDataAttributes**](PATCHCleanupsCleanupId200ResponseDataAttributes.md) | | **Relationships** | Pointer to **interface{}** | | [optional] ## Methods ### NewExportUpdateData -`func NewExportUpdateData(type_ interface{}, id interface{}, attributes PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, ) *ExportUpdateData` +`func NewExportUpdateData(type_ interface{}, id interface{}, attributes PATCHCleanupsCleanupId200ResponseDataAttributes, ) *ExportUpdateData` NewExportUpdateData instantiates a new ExportUpdateData object This constructor will assign default values to properties that have it defined, @@ -90,20 +90,20 @@ SetId sets Id field to given value. UnsetId ensures that no value is present for Id, not even an explicit nil ### GetAttributes -`func (o *ExportUpdateData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes` +`func (o *ExportUpdateData) GetAttributes() PATCHCleanupsCleanupId200ResponseDataAttributes` GetAttributes returns the Attributes field if non-nil, zero value otherwise. ### GetAttributesOk -`func (o *ExportUpdateData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool)` +`func (o *ExportUpdateData) GetAttributesOk() (*PATCHCleanupsCleanupId200ResponseDataAttributes, bool)` GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAttributes -`func (o *ExportUpdateData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes)` +`func (o *ExportUpdateData) SetAttributes(v PATCHCleanupsCleanupId200ResponseDataAttributes)` SetAttributes sets Attributes field to given value. diff --git a/api/docs/ExportsApi.md b/api/docs/ExportsApi.md index 1d7121e99..248e006f2 100644 --- a/api/docs/ExportsApi.md +++ b/api/docs/ExportsApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,11 +228,11 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { - exportUpdate := *openapiclient.NewExportUpdate(*openapiclient.NewExportUpdateData(interface{}(123), interface{}(XGZwpOSrWL), *openapiclient.NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes())) // ExportUpdate | + exportUpdate := *openapiclient.NewExportUpdate(*openapiclient.NewExportUpdateData(interface{}(123), interface{}(XGZwpOSrWL), *openapiclient.NewPATCHCleanupsCleanupId200ResponseDataAttributes())) // ExportUpdate | exportId := TODO // interface{} | The resource's id configuration := openapiclient.NewConfiguration() @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/ExternalGatewaysApi.md b/api/docs/ExternalGatewaysApi.md index b64b79eae..c46d3b027 100644 --- a/api/docs/ExternalGatewaysApi.md +++ b/api/docs/ExternalGatewaysApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/ExternalPaymentsApi.md b/api/docs/ExternalPaymentsApi.md index 47d154931..488dfa58d 100644 --- a/api/docs/ExternalPaymentsApi.md +++ b/api/docs/ExternalPaymentsApi.md @@ -30,7 +30,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -98,7 +98,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -166,7 +166,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -227,7 +227,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -297,7 +297,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -369,7 +369,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/ExternalPromotionsApi.md b/api/docs/ExternalPromotionsApi.md index 4d24ea5ff..040f726ea 100644 --- a/api/docs/ExternalPromotionsApi.md +++ b/api/docs/ExternalPromotionsApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/ExternalTaxCalculatorsApi.md b/api/docs/ExternalTaxCalculatorsApi.md index adfa72a70..8af836475 100644 --- a/api/docs/ExternalTaxCalculatorsApi.md +++ b/api/docs/ExternalTaxCalculatorsApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/FixedAmountPromotionsApi.md b/api/docs/FixedAmountPromotionsApi.md index 6d3847cd4..baf96d23a 100644 --- a/api/docs/FixedAmountPromotionsApi.md +++ b/api/docs/FixedAmountPromotionsApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/FixedPricePromotionsApi.md b/api/docs/FixedPricePromotionsApi.md index 351e33e06..186adff70 100644 --- a/api/docs/FixedPricePromotionsApi.md +++ b/api/docs/FixedPricePromotionsApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/FlexPromotionsApi.md b/api/docs/FlexPromotionsApi.md index 475f299d6..4eced9304 100644 --- a/api/docs/FlexPromotionsApi.md +++ b/api/docs/FlexPromotionsApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/FreeGiftPromotionsApi.md b/api/docs/FreeGiftPromotionsApi.md index da6519c86..9c2d19a1e 100644 --- a/api/docs/FreeGiftPromotionsApi.md +++ b/api/docs/FreeGiftPromotionsApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/FreeShippingPromotionsApi.md b/api/docs/FreeShippingPromotionsApi.md index db3d2be3c..de8e34dd3 100644 --- a/api/docs/FreeShippingPromotionsApi.md +++ b/api/docs/FreeShippingPromotionsApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/GETAuthorizationsAuthorizationId200ResponseDataRelationships.md b/api/docs/GETAuthorizationsAuthorizationId200ResponseDataRelationships.md index ea2319467..182fe7aaf 100644 --- a/api/docs/GETAuthorizationsAuthorizationId200ResponseDataRelationships.md +++ b/api/docs/GETAuthorizationsAuthorizationId200ResponseDataRelationships.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Order** | Pointer to [**POSTAdyenPayments201ResponseDataRelationshipsOrder**](POSTAdyenPayments201ResponseDataRelationshipsOrder.md) | | [optional] +**PaymentSource** | Pointer to [**GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource**](GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource.md) | | [optional] **Attachments** | Pointer to [**GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments**](GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments.md) | | [optional] **Events** | Pointer to [**POSTAddresses201ResponseDataRelationshipsEvents**](POSTAddresses201ResponseDataRelationshipsEvents.md) | | [optional] **Versions** | Pointer to [**POSTAddresses201ResponseDataRelationshipsVersions**](POSTAddresses201ResponseDataRelationshipsVersions.md) | | [optional] @@ -55,6 +56,31 @@ SetOrder sets Order field to given value. HasOrder returns a boolean if a field has been set. +### GetPaymentSource + +`func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationships) GetPaymentSource() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource` + +GetPaymentSource returns the PaymentSource field if non-nil, zero value otherwise. + +### GetPaymentSourceOk + +`func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationships) GetPaymentSourceOk() (*GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource, bool)` + +GetPaymentSourceOk returns a tuple with the PaymentSource field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPaymentSource + +`func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationships) SetPaymentSource(v GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource)` + +SetPaymentSource sets PaymentSource field to given value. + +### HasPaymentSource + +`func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationships) HasPaymentSource() bool` + +HasPaymentSource returns a boolean if a field has been set. + ### GetAttachments `func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationships) GetAttachments() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments` diff --git a/api/docs/GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource.md b/api/docs/GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource.md new file mode 100644 index 000000000..646cbffad --- /dev/null +++ b/api/docs/GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource.md @@ -0,0 +1,82 @@ +# GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Links** | Pointer to [**POSTAddresses201ResponseDataRelationshipsGeocoderLinks**](POSTAddresses201ResponseDataRelationshipsGeocoderLinks.md) | | [optional] +**Data** | Pointer to [**GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData**](GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData.md) | | [optional] + +## Methods + +### NewGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource + +`func NewGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource() *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource` + +NewGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource instantiates a new GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceWithDefaults + +`func NewGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceWithDefaults() *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource` + +NewGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceWithDefaults instantiates a new GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetLinks + +`func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) GetLinks() POSTAddresses201ResponseDataRelationshipsGeocoderLinks` + +GetLinks returns the Links field if non-nil, zero value otherwise. + +### GetLinksOk + +`func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) GetLinksOk() (*POSTAddresses201ResponseDataRelationshipsGeocoderLinks, bool)` + +GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLinks + +`func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) SetLinks(v POSTAddresses201ResponseDataRelationshipsGeocoderLinks)` + +SetLinks sets Links field to given value. + +### HasLinks + +`func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) HasLinks() bool` + +HasLinks returns a boolean if a field has been set. + +### GetData + +`func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) GetData() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) GetDataOk() (*GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) SetData(v GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData)` + +SetData sets Data field to given value. + +### HasData + +`func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) HasData() bool` + +HasData returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData.md b/api/docs/GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData.md new file mode 100644 index 000000000..ed63d17a5 --- /dev/null +++ b/api/docs/GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData.md @@ -0,0 +1,102 @@ +# GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | Pointer to **interface{}** | The resource's type | [optional] +**Id** | Pointer to **interface{}** | The resource ID | [optional] + +## Methods + +### NewGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData + +`func NewGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData() *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData` + +NewGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData instantiates a new GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceDataWithDefaults + +`func NewGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceDataWithDefaults() *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData` + +NewGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceDataWithDefaults instantiates a new GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetType + +`func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) GetType() interface{}` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) GetTypeOk() (*interface{}, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) SetType(v interface{})` + +SetType sets Type field to given value. + +### HasType + +`func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) HasType() bool` + +HasType returns a boolean if a field has been set. + +### SetTypeNil + +`func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) SetTypeNil(b bool)` + + SetTypeNil sets the value for Type to be an explicit nil + +### UnsetType +`func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) UnsetType()` + +UnsetType ensures that no value is present for Type, not even an explicit nil +### GetId + +`func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) GetId() interface{}` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) GetIdOk() (*interface{}, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) SetId(v interface{})` + +SetId sets Id field to given value. + +### HasId + +`func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) HasId() bool` + +HasId returns a boolean if a field has been set. + +### SetIdNil + +`func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) SetIdNil(b bool)` + + SetIdNil sets the value for Id to be an explicit nil + +### UnsetId +`func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) UnsetId()` + +UnsetId ensures that no value is present for Id, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response.md b/api/docs/GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response.md deleted file mode 100644 index 4be4fc9fe..000000000 --- a/api/docs/GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response.md +++ /dev/null @@ -1,56 +0,0 @@ -# GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Data** | Pointer to [**GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData**](GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData.md) | | [optional] - -## Methods - -### NewGETBillingInfoValidationRulesBillingInfoValidationRuleId200Response - -`func NewGETBillingInfoValidationRulesBillingInfoValidationRuleId200Response() *GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response` - -NewGETBillingInfoValidationRulesBillingInfoValidationRuleId200Response instantiates a new GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseWithDefaults - -`func NewGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseWithDefaults() *GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response` - -NewGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseWithDefaults instantiates a new GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetData - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response) GetData() GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData` - -GetData returns the Data field if non-nil, zero value otherwise. - -### GetDataOk - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response) GetDataOk() (*GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData, bool)` - -GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetData - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response) SetData(v GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData)` - -SetData sets Data field to given value. - -### HasData - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response) HasData() bool` - -HasData returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api/docs/GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData.md b/api/docs/GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData.md deleted file mode 100644 index 5af4fbe11..000000000 --- a/api/docs/GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData.md +++ /dev/null @@ -1,180 +0,0 @@ -# GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Id** | Pointer to **interface{}** | The resource's id | [optional] -**Type** | Pointer to **interface{}** | The resource's type | [optional] -**Links** | Pointer to [**POSTAddresses201ResponseDataLinks**](POSTAddresses201ResponseDataLinks.md) | | [optional] -**Attributes** | Pointer to [**GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes**](GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md) | | [optional] -**Relationships** | Pointer to [**POSTBillingInfoValidationRules201ResponseDataRelationships**](POSTBillingInfoValidationRules201ResponseDataRelationships.md) | | [optional] - -## Methods - -### NewGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData - -`func NewGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData() *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData` - -NewGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData instantiates a new GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataWithDefaults - -`func NewGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataWithDefaults() *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData` - -NewGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataWithDefaults instantiates a new GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetId - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetId() interface{}` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetIdOk() (*interface{}, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) SetId(v interface{})` - -SetId sets Id field to given value. - -### HasId - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) HasId() bool` - -HasId returns a boolean if a field has been set. - -### SetIdNil - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) SetIdNil(b bool)` - - SetIdNil sets the value for Id to be an explicit nil - -### UnsetId -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) UnsetId()` - -UnsetId ensures that no value is present for Id, not even an explicit nil -### GetType - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetType() interface{}` - -GetType returns the Type field if non-nil, zero value otherwise. - -### GetTypeOk - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetTypeOk() (*interface{}, bool)` - -GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetType - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) SetType(v interface{})` - -SetType sets Type field to given value. - -### HasType - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) HasType() bool` - -HasType returns a boolean if a field has been set. - -### SetTypeNil - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) SetTypeNil(b bool)` - - SetTypeNil sets the value for Type to be an explicit nil - -### UnsetType -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) UnsetType()` - -UnsetType ensures that no value is present for Type, not even an explicit nil -### GetLinks - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetLinks() POSTAddresses201ResponseDataLinks` - -GetLinks returns the Links field if non-nil, zero value otherwise. - -### GetLinksOk - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetLinksOk() (*POSTAddresses201ResponseDataLinks, bool)` - -GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLinks - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) SetLinks(v POSTAddresses201ResponseDataLinks)` - -SetLinks sets Links field to given value. - -### HasLinks - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) HasLinks() bool` - -HasLinks returns a boolean if a field has been set. - -### GetAttributes - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetAttributes() GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes` - -GetAttributes returns the Attributes field if non-nil, zero value otherwise. - -### GetAttributesOk - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetAttributesOk() (*GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool)` - -GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAttributes - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) SetAttributes(v GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes)` - -SetAttributes sets Attributes field to given value. - -### HasAttributes - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) HasAttributes() bool` - -HasAttributes returns a boolean if a field has been set. - -### GetRelationships - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetRelationships() POSTBillingInfoValidationRules201ResponseDataRelationships` - -GetRelationships returns the Relationships field if non-nil, zero value otherwise. - -### GetRelationshipsOk - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetRelationshipsOk() (*POSTBillingInfoValidationRules201ResponseDataRelationships, bool)` - -GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRelationships - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) SetRelationships(v POSTBillingInfoValidationRules201ResponseDataRelationships)` - -SetRelationships sets Relationships field to given value. - -### HasRelationships - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) HasRelationships() bool` - -HasRelationships returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api/docs/GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md b/api/docs/GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md deleted file mode 100644 index 737549640..000000000 --- a/api/docs/GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md +++ /dev/null @@ -1,246 +0,0 @@ -# GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Type** | Pointer to **interface{}** | The order validation rule's type. | [optional] -**CreatedAt** | Pointer to **interface{}** | Time at which the resource was created. | [optional] -**UpdatedAt** | Pointer to **interface{}** | Time at which the resource was last updated. | [optional] -**Reference** | Pointer to **interface{}** | A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. | [optional] -**ReferenceOrigin** | Pointer to **interface{}** | Any identifier of the third party system that defines the reference code. | [optional] -**Metadata** | Pointer to **interface{}** | Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. | [optional] - -## Methods - -### NewGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes - -`func NewGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes() *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes` - -NewGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes instantiates a new GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributesWithDefaults - -`func NewGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributesWithDefaults() *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes` - -NewGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributesWithDefaults instantiates a new GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetType - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetType() interface{}` - -GetType returns the Type field if non-nil, zero value otherwise. - -### GetTypeOk - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetTypeOk() (*interface{}, bool)` - -GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetType - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) SetType(v interface{})` - -SetType sets Type field to given value. - -### HasType - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) HasType() bool` - -HasType returns a boolean if a field has been set. - -### SetTypeNil - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) SetTypeNil(b bool)` - - SetTypeNil sets the value for Type to be an explicit nil - -### UnsetType -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) UnsetType()` - -UnsetType ensures that no value is present for Type, not even an explicit nil -### GetCreatedAt - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetCreatedAt() interface{}` - -GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. - -### GetCreatedAtOk - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetCreatedAtOk() (*interface{}, bool)` - -GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCreatedAt - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) SetCreatedAt(v interface{})` - -SetCreatedAt sets CreatedAt field to given value. - -### HasCreatedAt - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) HasCreatedAt() bool` - -HasCreatedAt returns a boolean if a field has been set. - -### SetCreatedAtNil - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) SetCreatedAtNil(b bool)` - - SetCreatedAtNil sets the value for CreatedAt to be an explicit nil - -### UnsetCreatedAt -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) UnsetCreatedAt()` - -UnsetCreatedAt ensures that no value is present for CreatedAt, not even an explicit nil -### GetUpdatedAt - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetUpdatedAt() interface{}` - -GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise. - -### GetUpdatedAtOk - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetUpdatedAtOk() (*interface{}, bool)` - -GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUpdatedAt - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) SetUpdatedAt(v interface{})` - -SetUpdatedAt sets UpdatedAt field to given value. - -### HasUpdatedAt - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) HasUpdatedAt() bool` - -HasUpdatedAt returns a boolean if a field has been set. - -### SetUpdatedAtNil - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) SetUpdatedAtNil(b bool)` - - SetUpdatedAtNil sets the value for UpdatedAt to be an explicit nil - -### UnsetUpdatedAt -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) UnsetUpdatedAt()` - -UnsetUpdatedAt ensures that no value is present for UpdatedAt, not even an explicit nil -### GetReference - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetReference() interface{}` - -GetReference returns the Reference field if non-nil, zero value otherwise. - -### GetReferenceOk - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetReferenceOk() (*interface{}, bool)` - -GetReferenceOk returns a tuple with the Reference field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReference - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) SetReference(v interface{})` - -SetReference sets Reference field to given value. - -### HasReference - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) HasReference() bool` - -HasReference returns a boolean if a field has been set. - -### SetReferenceNil - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) SetReferenceNil(b bool)` - - SetReferenceNil sets the value for Reference to be an explicit nil - -### UnsetReference -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) UnsetReference()` - -UnsetReference ensures that no value is present for Reference, not even an explicit nil -### GetReferenceOrigin - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetReferenceOrigin() interface{}` - -GetReferenceOrigin returns the ReferenceOrigin field if non-nil, zero value otherwise. - -### GetReferenceOriginOk - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetReferenceOriginOk() (*interface{}, bool)` - -GetReferenceOriginOk returns a tuple with the ReferenceOrigin field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReferenceOrigin - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) SetReferenceOrigin(v interface{})` - -SetReferenceOrigin sets ReferenceOrigin field to given value. - -### HasReferenceOrigin - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) HasReferenceOrigin() bool` - -HasReferenceOrigin returns a boolean if a field has been set. - -### SetReferenceOriginNil - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) SetReferenceOriginNil(b bool)` - - SetReferenceOriginNil sets the value for ReferenceOrigin to be an explicit nil - -### UnsetReferenceOrigin -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) UnsetReferenceOrigin()` - -UnsetReferenceOrigin ensures that no value is present for ReferenceOrigin, not even an explicit nil -### GetMetadata - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetMetadata() interface{}` - -GetMetadata returns the Metadata field if non-nil, zero value otherwise. - -### GetMetadataOk - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetMetadataOk() (*interface{}, bool)` - -GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMetadata - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) SetMetadata(v interface{})` - -SetMetadata sets Metadata field to given value. - -### HasMetadata - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) HasMetadata() bool` - -HasMetadata returns a boolean if a field has been set. - -### SetMetadataNil - -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) SetMetadataNil(b bool)` - - SetMetadataNil sets the value for Metadata to be an explicit nil - -### UnsetMetadata -`func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) UnsetMetadata()` - -UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api/docs/GETCapturesCaptureId200ResponseDataRelationships.md b/api/docs/GETCapturesCaptureId200ResponseDataRelationships.md index b957dba47..c68f64656 100644 --- a/api/docs/GETCapturesCaptureId200ResponseDataRelationships.md +++ b/api/docs/GETCapturesCaptureId200ResponseDataRelationships.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Order** | Pointer to [**POSTAdyenPayments201ResponseDataRelationshipsOrder**](POSTAdyenPayments201ResponseDataRelationshipsOrder.md) | | [optional] +**PaymentSource** | Pointer to [**GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource**](GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource.md) | | [optional] **Attachments** | Pointer to [**GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments**](GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments.md) | | [optional] **Events** | Pointer to [**POSTAddresses201ResponseDataRelationshipsEvents**](POSTAddresses201ResponseDataRelationshipsEvents.md) | | [optional] **Versions** | Pointer to [**POSTAddresses201ResponseDataRelationshipsVersions**](POSTAddresses201ResponseDataRelationshipsVersions.md) | | [optional] @@ -56,6 +57,31 @@ SetOrder sets Order field to given value. HasOrder returns a boolean if a field has been set. +### GetPaymentSource + +`func (o *GETCapturesCaptureId200ResponseDataRelationships) GetPaymentSource() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource` + +GetPaymentSource returns the PaymentSource field if non-nil, zero value otherwise. + +### GetPaymentSourceOk + +`func (o *GETCapturesCaptureId200ResponseDataRelationships) GetPaymentSourceOk() (*GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource, bool)` + +GetPaymentSourceOk returns a tuple with the PaymentSource field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPaymentSource + +`func (o *GETCapturesCaptureId200ResponseDataRelationships) SetPaymentSource(v GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource)` + +SetPaymentSource sets PaymentSource field to given value. + +### HasPaymentSource + +`func (o *GETCapturesCaptureId200ResponseDataRelationships) HasPaymentSource() bool` + +HasPaymentSource returns a boolean if a field has been set. + ### GetAttachments `func (o *GETCapturesCaptureId200ResponseDataRelationships) GetAttachments() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments` diff --git a/api/docs/GETCarrierAccountsCarrierAccountId200ResponseData.md b/api/docs/GETCarrierAccountsCarrierAccountId200ResponseData.md index 424bbbc01..0d4d4d9d3 100644 --- a/api/docs/GETCarrierAccountsCarrierAccountId200ResponseData.md +++ b/api/docs/GETCarrierAccountsCarrierAccountId200ResponseData.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **Type** | Pointer to **interface{}** | The resource's type | [optional] **Links** | Pointer to [**POSTAddresses201ResponseDataLinks**](POSTAddresses201ResponseDataLinks.md) | | [optional] **Attributes** | Pointer to [**GETCarrierAccountsCarrierAccountId200ResponseDataAttributes**](GETCarrierAccountsCarrierAccountId200ResponseDataAttributes.md) | | [optional] -**Relationships** | Pointer to [**POSTBillingInfoValidationRules201ResponseDataRelationships**](POSTBillingInfoValidationRules201ResponseDataRelationships.md) | | [optional] +**Relationships** | Pointer to [**POSTCarrierAccounts201ResponseDataRelationships**](POSTCarrierAccounts201ResponseDataRelationships.md) | | [optional] ## Methods @@ -151,20 +151,20 @@ HasAttributes returns a boolean if a field has been set. ### GetRelationships -`func (o *GETCarrierAccountsCarrierAccountId200ResponseData) GetRelationships() POSTBillingInfoValidationRules201ResponseDataRelationships` +`func (o *GETCarrierAccountsCarrierAccountId200ResponseData) GetRelationships() POSTCarrierAccounts201ResponseDataRelationships` GetRelationships returns the Relationships field if non-nil, zero value otherwise. ### GetRelationshipsOk -`func (o *GETCarrierAccountsCarrierAccountId200ResponseData) GetRelationshipsOk() (*POSTBillingInfoValidationRules201ResponseDataRelationships, bool)` +`func (o *GETCarrierAccountsCarrierAccountId200ResponseData) GetRelationshipsOk() (*POSTCarrierAccounts201ResponseDataRelationships, bool)` GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRelationships -`func (o *GETCarrierAccountsCarrierAccountId200ResponseData) SetRelationships(v POSTBillingInfoValidationRules201ResponseDataRelationships)` +`func (o *GETCarrierAccountsCarrierAccountId200ResponseData) SetRelationships(v POSTCarrierAccounts201ResponseDataRelationships)` SetRelationships sets Relationships field to given value. diff --git a/api/docs/GETCustomersCustomerId200ResponseDataAttributes.md b/api/docs/GETCustomersCustomerId200ResponseDataAttributes.md index e4ccf8818..539bc07f6 100644 --- a/api/docs/GETCustomersCustomerId200ResponseDataAttributes.md +++ b/api/docs/GETCustomersCustomerId200ResponseDataAttributes.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **HasPassword** | Pointer to **interface{}** | Indicates if the customer has a password. | [optional] **TotalOrdersCount** | Pointer to **interface{}** | The total number of orders for the customer. | [optional] **ShopperReference** | Pointer to **interface{}** | A reference to uniquely identify the shopper during payment sessions. | [optional] +**ProfileId** | Pointer to **interface{}** | A reference to uniquely identify the customer on any connected external services. | [optional] **CreatedAt** | Pointer to **interface{}** | Time at which the resource was created. | [optional] **UpdatedAt** | Pointer to **interface{}** | Time at which the resource was last updated. | [optional] **Reference** | Pointer to **interface{}** | A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. | [optional] @@ -209,6 +210,41 @@ HasShopperReference returns a boolean if a field has been set. `func (o *GETCustomersCustomerId200ResponseDataAttributes) UnsetShopperReference()` UnsetShopperReference ensures that no value is present for ShopperReference, not even an explicit nil +### GetProfileId + +`func (o *GETCustomersCustomerId200ResponseDataAttributes) GetProfileId() interface{}` + +GetProfileId returns the ProfileId field if non-nil, zero value otherwise. + +### GetProfileIdOk + +`func (o *GETCustomersCustomerId200ResponseDataAttributes) GetProfileIdOk() (*interface{}, bool)` + +GetProfileIdOk returns a tuple with the ProfileId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProfileId + +`func (o *GETCustomersCustomerId200ResponseDataAttributes) SetProfileId(v interface{})` + +SetProfileId sets ProfileId field to given value. + +### HasProfileId + +`func (o *GETCustomersCustomerId200ResponseDataAttributes) HasProfileId() bool` + +HasProfileId returns a boolean if a field has been set. + +### SetProfileIdNil + +`func (o *GETCustomersCustomerId200ResponseDataAttributes) SetProfileIdNil(b bool)` + + SetProfileIdNil sets the value for ProfileId to be an explicit nil + +### UnsetProfileId +`func (o *GETCustomersCustomerId200ResponseDataAttributes) UnsetProfileId()` + +UnsetProfileId ensures that no value is present for ProfileId, not even an explicit nil ### GetCreatedAt `func (o *GETCustomersCustomerId200ResponseDataAttributes) GetCreatedAt() interface{}` diff --git a/api/docs/GETExportsExportId200ResponseDataAttributes.md b/api/docs/GETExportsExportId200ResponseDataAttributes.md index c55e8232c..56860a4d8 100644 --- a/api/docs/GETExportsExportId200ResponseDataAttributes.md +++ b/api/docs/GETExportsExportId200ResponseDataAttributes.md @@ -7,7 +7,8 @@ Name | Type | Description | Notes **ResourceType** | Pointer to **interface{}** | The type of resource being exported. | [optional] **Format** | Pointer to **interface{}** | The format of the export one of 'json' (default) or 'csv'. | [optional] **Status** | Pointer to **interface{}** | The export job status. One of 'pending' (default), 'in_progress', 'interrupted', or 'completed'. | [optional] -**Includes** | Pointer to **interface{}** | List of related resources that should be included in the export. | [optional] +**Includes** | Pointer to **interface{}** | List of related resources that should be included in the export (redundant when 'fields' are specified). | [optional] +**Fields** | Pointer to **interface{}** | List of fields to export for the main and related resources (automatically included). Pass the asterisk '*' to include all exportable fields for the main and related resources. | [optional] **Filters** | Pointer to **interface{}** | The filters used to select the records to be exported. | [optional] **DryData** | Pointer to **interface{}** | Send this attribute if you want to skip exporting redundant attributes (IDs, timestamps, blanks, etc.), useful when combining export and import to duplicate your dataset. | [optional] **StartedAt** | Pointer to **interface{}** | Time at which the export was started. | [optional] @@ -15,6 +16,7 @@ Name | Type | Description | Notes **InterruptedAt** | Pointer to **interface{}** | Time at which the export was interrupted. | [optional] **RecordsCount** | Pointer to **interface{}** | Indicates the number of records to be exported. | [optional] **AttachmentUrl** | Pointer to **interface{}** | The URL to the output file, which will be generated upon export completion. | [optional] +**ErrorsLog** | Pointer to **interface{}** | Contains the exports errors, if any. | [optional] **CreatedAt** | Pointer to **interface{}** | Time at which the resource was created. | [optional] **UpdatedAt** | Pointer to **interface{}** | Time at which the resource was last updated. | [optional] **Reference** | Pointer to **interface{}** | A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. | [optional] @@ -180,6 +182,41 @@ HasIncludes returns a boolean if a field has been set. `func (o *GETExportsExportId200ResponseDataAttributes) UnsetIncludes()` UnsetIncludes ensures that no value is present for Includes, not even an explicit nil +### GetFields + +`func (o *GETExportsExportId200ResponseDataAttributes) GetFields() interface{}` + +GetFields returns the Fields field if non-nil, zero value otherwise. + +### GetFieldsOk + +`func (o *GETExportsExportId200ResponseDataAttributes) GetFieldsOk() (*interface{}, bool)` + +GetFieldsOk returns a tuple with the Fields field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFields + +`func (o *GETExportsExportId200ResponseDataAttributes) SetFields(v interface{})` + +SetFields sets Fields field to given value. + +### HasFields + +`func (o *GETExportsExportId200ResponseDataAttributes) HasFields() bool` + +HasFields returns a boolean if a field has been set. + +### SetFieldsNil + +`func (o *GETExportsExportId200ResponseDataAttributes) SetFieldsNil(b bool)` + + SetFieldsNil sets the value for Fields to be an explicit nil + +### UnsetFields +`func (o *GETExportsExportId200ResponseDataAttributes) UnsetFields()` + +UnsetFields ensures that no value is present for Fields, not even an explicit nil ### GetFilters `func (o *GETExportsExportId200ResponseDataAttributes) GetFilters() interface{}` @@ -425,6 +462,41 @@ HasAttachmentUrl returns a boolean if a field has been set. `func (o *GETExportsExportId200ResponseDataAttributes) UnsetAttachmentUrl()` UnsetAttachmentUrl ensures that no value is present for AttachmentUrl, not even an explicit nil +### GetErrorsLog + +`func (o *GETExportsExportId200ResponseDataAttributes) GetErrorsLog() interface{}` + +GetErrorsLog returns the ErrorsLog field if non-nil, zero value otherwise. + +### GetErrorsLogOk + +`func (o *GETExportsExportId200ResponseDataAttributes) GetErrorsLogOk() (*interface{}, bool)` + +GetErrorsLogOk returns a tuple with the ErrorsLog field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetErrorsLog + +`func (o *GETExportsExportId200ResponseDataAttributes) SetErrorsLog(v interface{})` + +SetErrorsLog sets ErrorsLog field to given value. + +### HasErrorsLog + +`func (o *GETExportsExportId200ResponseDataAttributes) HasErrorsLog() bool` + +HasErrorsLog returns a boolean if a field has been set. + +### SetErrorsLogNil + +`func (o *GETExportsExportId200ResponseDataAttributes) SetErrorsLogNil(b bool)` + + SetErrorsLogNil sets the value for ErrorsLog to be an explicit nil + +### UnsetErrorsLog +`func (o *GETExportsExportId200ResponseDataAttributes) UnsetErrorsLog()` + +UnsetErrorsLog ensures that no value is present for ErrorsLog, not even an explicit nil ### GetCreatedAt `func (o *GETExportsExportId200ResponseDataAttributes) GetCreatedAt() interface{}` diff --git a/api/docs/GETFlexPromotionsFlexPromotionId200ResponseDataAttributes.md b/api/docs/GETFlexPromotionsFlexPromotionId200ResponseDataAttributes.md index 67832104a..bbd161b30 100644 --- a/api/docs/GETFlexPromotionsFlexPromotionId200ResponseDataAttributes.md +++ b/api/docs/GETFlexPromotionsFlexPromotionId200ResponseDataAttributes.md @@ -21,6 +21,7 @@ Name | Type | Description | Notes **Reference** | Pointer to **interface{}** | A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. | [optional] **ReferenceOrigin** | Pointer to **interface{}** | Any identifier of the third party system that defines the reference code. | [optional] **RuleOutcomes** | Pointer to **interface{}** | The rule outcomes. | [optional] +**ResourcePayload** | Pointer to **interface{}** | The payload used to evaluate the rules. | [optional] **Metadata** | Pointer to **interface{}** | Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. | [optional] ## Methods @@ -637,6 +638,41 @@ HasRuleOutcomes returns a boolean if a field has been set. `func (o *GETFlexPromotionsFlexPromotionId200ResponseDataAttributes) UnsetRuleOutcomes()` UnsetRuleOutcomes ensures that no value is present for RuleOutcomes, not even an explicit nil +### GetResourcePayload + +`func (o *GETFlexPromotionsFlexPromotionId200ResponseDataAttributes) GetResourcePayload() interface{}` + +GetResourcePayload returns the ResourcePayload field if non-nil, zero value otherwise. + +### GetResourcePayloadOk + +`func (o *GETFlexPromotionsFlexPromotionId200ResponseDataAttributes) GetResourcePayloadOk() (*interface{}, bool)` + +GetResourcePayloadOk returns a tuple with the ResourcePayload field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetResourcePayload + +`func (o *GETFlexPromotionsFlexPromotionId200ResponseDataAttributes) SetResourcePayload(v interface{})` + +SetResourcePayload sets ResourcePayload field to given value. + +### HasResourcePayload + +`func (o *GETFlexPromotionsFlexPromotionId200ResponseDataAttributes) HasResourcePayload() bool` + +HasResourcePayload returns a boolean if a field has been set. + +### SetResourcePayloadNil + +`func (o *GETFlexPromotionsFlexPromotionId200ResponseDataAttributes) SetResourcePayloadNil(b bool)` + + SetResourcePayloadNil sets the value for ResourcePayload to be an explicit nil + +### UnsetResourcePayload +`func (o *GETFlexPromotionsFlexPromotionId200ResponseDataAttributes) UnsetResourcePayload()` + +UnsetResourcePayload ensures that no value is present for ResourcePayload, not even an explicit nil ### GetMetadata `func (o *GETFlexPromotionsFlexPromotionId200ResponseDataAttributes) GetMetadata() interface{}` diff --git a/api/docs/GETLineItemsLineItemId200ResponseDataAttributes.md b/api/docs/GETLineItemsLineItemId200ResponseDataAttributes.md index 70e6fca96..0b86435ac 100644 --- a/api/docs/GETLineItemsLineItemId200ResponseDataAttributes.md +++ b/api/docs/GETLineItemsLineItemId200ResponseDataAttributes.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **Quantity** | Pointer to **interface{}** | The line item quantity. | [optional] **ExternalPrice** | Pointer to **interface{}** | When creating or updating a new line item, set this attribute to '1' if you want to inject the unit_amount_cents price from an external source. Any successive price computation will be done externally, until the attribute is reset to '0'. | [optional] **CurrencyCode** | Pointer to **interface{}** | The international 3-letter currency code as defined by the ISO 4217 standard, automatically inherited from the order's market. | [optional] -**UnitAmountCents** | Pointer to **interface{}** | The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. | [optional] +**UnitAmountCents** | Pointer to **interface{}** | The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. Cannot be passed by sales channels. | [optional] **UnitAmountFloat** | Pointer to **interface{}** | The unit amount of the line item, float. This can be useful to track the purchase on thrid party systems, e.g Google Analyitcs Enhanced Ecommerce. | [optional] **FormattedUnitAmount** | Pointer to **interface{}** | The unit amount of the line item, formatted. This can be useful to display the amount with currency in you views. | [optional] **CompareAtAmountCents** | Pointer to **interface{}** | The compared price amount, in cents. Useful to display a percentage discount. | [optional] @@ -32,7 +32,7 @@ Name | Type | Description | Notes **DiscountBreakdown** | Pointer to **interface{}** | The discount breakdown for this line item (if calculated). | [optional] **TaxRate** | Pointer to **interface{}** | The tax rate for this line item (if calculated). | [optional] **TaxBreakdown** | Pointer to **interface{}** | The tax breakdown for this line item (if calculated). | [optional] -**ItemType** | Pointer to **interface{}** | The type of the associated item. One of 'skus', 'bundles', 'gift_cards', 'shipments', 'payment_methods', 'adjustments', 'percentage_discount_promotions', 'free_shipping_promotions', 'buy_x_pay_y_promotions', 'free_gift_promotions', 'fixed_price_promotions', 'external_promotions', 'fixed_amount_promotions', or 'flex_promotions'. | [optional] +**ItemType** | Pointer to **interface{}** | The type of the associated item. One of 'skus', 'bundles', 'gift_cards', 'shipments', 'payment_methods', 'adjustments', 'discount_engine_items', 'percentage_discount_promotions', 'free_shipping_promotions', 'buy_x_pay_y_promotions', 'free_gift_promotions', 'fixed_price_promotions', 'external_promotions', 'fixed_amount_promotions', or 'flex_promotions'. | [optional] **Frequency** | Pointer to **interface{}** | The frequency which generates a subscription. Must be supported by existing associated subscription_model. | [optional] **CouponCode** | Pointer to **interface{}** | The coupon code, if any, used to trigger this promotion line item. null for other line item types or if the promotion line item wasn't triggered by a coupon. | [optional] **CircuitState** | Pointer to **interface{}** | The circuit breaker state, by default it is 'closed'. It can become 'open' once the number of consecutive failures overlaps the specified threshold, in such case no further calls to the failing callback are made. | [optional] diff --git a/api/docs/GETBillingInfoValidationRules200Response.md b/api/docs/GETNotifications200Response.md similarity index 54% rename from api/docs/GETBillingInfoValidationRules200Response.md rename to api/docs/GETNotifications200Response.md index 74337fe30..7ce8d9542 100644 --- a/api/docs/GETBillingInfoValidationRules200Response.md +++ b/api/docs/GETNotifications200Response.md @@ -1,4 +1,4 @@ -# GETBillingInfoValidationRules200Response +# GETNotifications200Response ## Properties @@ -8,56 +8,56 @@ Name | Type | Description | Notes ## Methods -### NewGETBillingInfoValidationRules200Response +### NewGETNotifications200Response -`func NewGETBillingInfoValidationRules200Response() *GETBillingInfoValidationRules200Response` +`func NewGETNotifications200Response() *GETNotifications200Response` -NewGETBillingInfoValidationRules200Response instantiates a new GETBillingInfoValidationRules200Response object +NewGETNotifications200Response instantiates a new GETNotifications200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed -### NewGETBillingInfoValidationRules200ResponseWithDefaults +### NewGETNotifications200ResponseWithDefaults -`func NewGETBillingInfoValidationRules200ResponseWithDefaults() *GETBillingInfoValidationRules200Response` +`func NewGETNotifications200ResponseWithDefaults() *GETNotifications200Response` -NewGETBillingInfoValidationRules200ResponseWithDefaults instantiates a new GETBillingInfoValidationRules200Response object +NewGETNotifications200ResponseWithDefaults instantiates a new GETNotifications200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetData -`func (o *GETBillingInfoValidationRules200Response) GetData() interface{}` +`func (o *GETNotifications200Response) GetData() interface{}` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *GETBillingInfoValidationRules200Response) GetDataOk() (*interface{}, bool)` +`func (o *GETNotifications200Response) GetDataOk() (*interface{}, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetData -`func (o *GETBillingInfoValidationRules200Response) SetData(v interface{})` +`func (o *GETNotifications200Response) SetData(v interface{})` SetData sets Data field to given value. ### HasData -`func (o *GETBillingInfoValidationRules200Response) HasData() bool` +`func (o *GETNotifications200Response) HasData() bool` HasData returns a boolean if a field has been set. ### SetDataNil -`func (o *GETBillingInfoValidationRules200Response) SetDataNil(b bool)` +`func (o *GETNotifications200Response) SetDataNil(b bool)` SetDataNil sets the value for Data to be an explicit nil ### UnsetData -`func (o *GETBillingInfoValidationRules200Response) UnsetData()` +`func (o *GETNotifications200Response) UnsetData()` UnsetData ensures that no value is present for Data, not even an explicit nil diff --git a/api/docs/GETNotificationsNotificationId200Response.md b/api/docs/GETNotificationsNotificationId200Response.md new file mode 100644 index 000000000..c74afbc9a --- /dev/null +++ b/api/docs/GETNotificationsNotificationId200Response.md @@ -0,0 +1,56 @@ +# GETNotificationsNotificationId200Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Data** | Pointer to [**GETNotificationsNotificationId200ResponseData**](GETNotificationsNotificationId200ResponseData.md) | | [optional] + +## Methods + +### NewGETNotificationsNotificationId200Response + +`func NewGETNotificationsNotificationId200Response() *GETNotificationsNotificationId200Response` + +NewGETNotificationsNotificationId200Response instantiates a new GETNotificationsNotificationId200Response object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGETNotificationsNotificationId200ResponseWithDefaults + +`func NewGETNotificationsNotificationId200ResponseWithDefaults() *GETNotificationsNotificationId200Response` + +NewGETNotificationsNotificationId200ResponseWithDefaults instantiates a new GETNotificationsNotificationId200Response object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetData + +`func (o *GETNotificationsNotificationId200Response) GetData() GETNotificationsNotificationId200ResponseData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *GETNotificationsNotificationId200Response) GetDataOk() (*GETNotificationsNotificationId200ResponseData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *GETNotificationsNotificationId200Response) SetData(v GETNotificationsNotificationId200ResponseData)` + +SetData sets Data field to given value. + +### HasData + +`func (o *GETNotificationsNotificationId200Response) HasData() bool` + +HasData returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/POSTBillingInfoValidationRules201ResponseData.md b/api/docs/GETNotificationsNotificationId200ResponseData.md similarity index 54% rename from api/docs/POSTBillingInfoValidationRules201ResponseData.md rename to api/docs/GETNotificationsNotificationId200ResponseData.md index 3eab1e590..7fac95e8d 100644 --- a/api/docs/POSTBillingInfoValidationRules201ResponseData.md +++ b/api/docs/GETNotificationsNotificationId200ResponseData.md @@ -1,4 +1,4 @@ -# POSTBillingInfoValidationRules201ResponseData +# GETNotificationsNotificationId200ResponseData ## Properties @@ -7,170 +7,170 @@ Name | Type | Description | Notes **Id** | Pointer to **interface{}** | The resource's id | [optional] **Type** | Pointer to **interface{}** | The resource's type | [optional] **Links** | Pointer to [**POSTAddresses201ResponseDataLinks**](POSTAddresses201ResponseDataLinks.md) | | [optional] -**Attributes** | Pointer to [**POSTAdyenPayments201ResponseDataAttributes**](POSTAdyenPayments201ResponseDataAttributes.md) | | [optional] -**Relationships** | Pointer to [**POSTBillingInfoValidationRules201ResponseDataRelationships**](POSTBillingInfoValidationRules201ResponseDataRelationships.md) | | [optional] +**Attributes** | Pointer to [**GETNotificationsNotificationId200ResponseDataAttributes**](GETNotificationsNotificationId200ResponseDataAttributes.md) | | [optional] +**Relationships** | Pointer to [**POSTNotifications201ResponseDataRelationships**](POSTNotifications201ResponseDataRelationships.md) | | [optional] ## Methods -### NewPOSTBillingInfoValidationRules201ResponseData +### NewGETNotificationsNotificationId200ResponseData -`func NewPOSTBillingInfoValidationRules201ResponseData() *POSTBillingInfoValidationRules201ResponseData` +`func NewGETNotificationsNotificationId200ResponseData() *GETNotificationsNotificationId200ResponseData` -NewPOSTBillingInfoValidationRules201ResponseData instantiates a new POSTBillingInfoValidationRules201ResponseData object +NewGETNotificationsNotificationId200ResponseData instantiates a new GETNotificationsNotificationId200ResponseData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed -### NewPOSTBillingInfoValidationRules201ResponseDataWithDefaults +### NewGETNotificationsNotificationId200ResponseDataWithDefaults -`func NewPOSTBillingInfoValidationRules201ResponseDataWithDefaults() *POSTBillingInfoValidationRules201ResponseData` +`func NewGETNotificationsNotificationId200ResponseDataWithDefaults() *GETNotificationsNotificationId200ResponseData` -NewPOSTBillingInfoValidationRules201ResponseDataWithDefaults instantiates a new POSTBillingInfoValidationRules201ResponseData object +NewGETNotificationsNotificationId200ResponseDataWithDefaults instantiates a new GETNotificationsNotificationId200ResponseData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetId -`func (o *POSTBillingInfoValidationRules201ResponseData) GetId() interface{}` +`func (o *GETNotificationsNotificationId200ResponseData) GetId() interface{}` GetId returns the Id field if non-nil, zero value otherwise. ### GetIdOk -`func (o *POSTBillingInfoValidationRules201ResponseData) GetIdOk() (*interface{}, bool)` +`func (o *GETNotificationsNotificationId200ResponseData) GetIdOk() (*interface{}, bool)` GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetId -`func (o *POSTBillingInfoValidationRules201ResponseData) SetId(v interface{})` +`func (o *GETNotificationsNotificationId200ResponseData) SetId(v interface{})` SetId sets Id field to given value. ### HasId -`func (o *POSTBillingInfoValidationRules201ResponseData) HasId() bool` +`func (o *GETNotificationsNotificationId200ResponseData) HasId() bool` HasId returns a boolean if a field has been set. ### SetIdNil -`func (o *POSTBillingInfoValidationRules201ResponseData) SetIdNil(b bool)` +`func (o *GETNotificationsNotificationId200ResponseData) SetIdNil(b bool)` SetIdNil sets the value for Id to be an explicit nil ### UnsetId -`func (o *POSTBillingInfoValidationRules201ResponseData) UnsetId()` +`func (o *GETNotificationsNotificationId200ResponseData) UnsetId()` UnsetId ensures that no value is present for Id, not even an explicit nil ### GetType -`func (o *POSTBillingInfoValidationRules201ResponseData) GetType() interface{}` +`func (o *GETNotificationsNotificationId200ResponseData) GetType() interface{}` GetType returns the Type field if non-nil, zero value otherwise. ### GetTypeOk -`func (o *POSTBillingInfoValidationRules201ResponseData) GetTypeOk() (*interface{}, bool)` +`func (o *GETNotificationsNotificationId200ResponseData) GetTypeOk() (*interface{}, bool)` GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetType -`func (o *POSTBillingInfoValidationRules201ResponseData) SetType(v interface{})` +`func (o *GETNotificationsNotificationId200ResponseData) SetType(v interface{})` SetType sets Type field to given value. ### HasType -`func (o *POSTBillingInfoValidationRules201ResponseData) HasType() bool` +`func (o *GETNotificationsNotificationId200ResponseData) HasType() bool` HasType returns a boolean if a field has been set. ### SetTypeNil -`func (o *POSTBillingInfoValidationRules201ResponseData) SetTypeNil(b bool)` +`func (o *GETNotificationsNotificationId200ResponseData) SetTypeNil(b bool)` SetTypeNil sets the value for Type to be an explicit nil ### UnsetType -`func (o *POSTBillingInfoValidationRules201ResponseData) UnsetType()` +`func (o *GETNotificationsNotificationId200ResponseData) UnsetType()` UnsetType ensures that no value is present for Type, not even an explicit nil ### GetLinks -`func (o *POSTBillingInfoValidationRules201ResponseData) GetLinks() POSTAddresses201ResponseDataLinks` +`func (o *GETNotificationsNotificationId200ResponseData) GetLinks() POSTAddresses201ResponseDataLinks` GetLinks returns the Links field if non-nil, zero value otherwise. ### GetLinksOk -`func (o *POSTBillingInfoValidationRules201ResponseData) GetLinksOk() (*POSTAddresses201ResponseDataLinks, bool)` +`func (o *GETNotificationsNotificationId200ResponseData) GetLinksOk() (*POSTAddresses201ResponseDataLinks, bool)` GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLinks -`func (o *POSTBillingInfoValidationRules201ResponseData) SetLinks(v POSTAddresses201ResponseDataLinks)` +`func (o *GETNotificationsNotificationId200ResponseData) SetLinks(v POSTAddresses201ResponseDataLinks)` SetLinks sets Links field to given value. ### HasLinks -`func (o *POSTBillingInfoValidationRules201ResponseData) HasLinks() bool` +`func (o *GETNotificationsNotificationId200ResponseData) HasLinks() bool` HasLinks returns a boolean if a field has been set. ### GetAttributes -`func (o *POSTBillingInfoValidationRules201ResponseData) GetAttributes() POSTAdyenPayments201ResponseDataAttributes` +`func (o *GETNotificationsNotificationId200ResponseData) GetAttributes() GETNotificationsNotificationId200ResponseDataAttributes` GetAttributes returns the Attributes field if non-nil, zero value otherwise. ### GetAttributesOk -`func (o *POSTBillingInfoValidationRules201ResponseData) GetAttributesOk() (*POSTAdyenPayments201ResponseDataAttributes, bool)` +`func (o *GETNotificationsNotificationId200ResponseData) GetAttributesOk() (*GETNotificationsNotificationId200ResponseDataAttributes, bool)` GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAttributes -`func (o *POSTBillingInfoValidationRules201ResponseData) SetAttributes(v POSTAdyenPayments201ResponseDataAttributes)` +`func (o *GETNotificationsNotificationId200ResponseData) SetAttributes(v GETNotificationsNotificationId200ResponseDataAttributes)` SetAttributes sets Attributes field to given value. ### HasAttributes -`func (o *POSTBillingInfoValidationRules201ResponseData) HasAttributes() bool` +`func (o *GETNotificationsNotificationId200ResponseData) HasAttributes() bool` HasAttributes returns a boolean if a field has been set. ### GetRelationships -`func (o *POSTBillingInfoValidationRules201ResponseData) GetRelationships() POSTBillingInfoValidationRules201ResponseDataRelationships` +`func (o *GETNotificationsNotificationId200ResponseData) GetRelationships() POSTNotifications201ResponseDataRelationships` GetRelationships returns the Relationships field if non-nil, zero value otherwise. ### GetRelationshipsOk -`func (o *POSTBillingInfoValidationRules201ResponseData) GetRelationshipsOk() (*POSTBillingInfoValidationRules201ResponseDataRelationships, bool)` +`func (o *GETNotificationsNotificationId200ResponseData) GetRelationshipsOk() (*POSTNotifications201ResponseDataRelationships, bool)` GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRelationships -`func (o *POSTBillingInfoValidationRules201ResponseData) SetRelationships(v POSTBillingInfoValidationRules201ResponseDataRelationships)` +`func (o *GETNotificationsNotificationId200ResponseData) SetRelationships(v POSTNotifications201ResponseDataRelationships)` SetRelationships sets Relationships field to given value. ### HasRelationships -`func (o *POSTBillingInfoValidationRules201ResponseData) HasRelationships() bool` +`func (o *GETNotificationsNotificationId200ResponseData) HasRelationships() bool` HasRelationships returns a boolean if a field has been set. diff --git a/api/docs/GETNotificationsNotificationId200ResponseDataAttributes.md b/api/docs/GETNotificationsNotificationId200ResponseDataAttributes.md new file mode 100644 index 000000000..fcd9116fb --- /dev/null +++ b/api/docs/GETNotificationsNotificationId200ResponseDataAttributes.md @@ -0,0 +1,318 @@ +# GETNotificationsNotificationId200ResponseDataAttributes + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | Pointer to **interface{}** | The internal name of the notification. | [optional] +**Flash** | Pointer to **interface{}** | Indicates if the notification is temporary, valid for the ones created by external services. | [optional] +**Body** | Pointer to **interface{}** | An internal body of the notification. | [optional] +**CreatedAt** | Pointer to **interface{}** | Time at which the resource was created. | [optional] +**UpdatedAt** | Pointer to **interface{}** | Time at which the resource was last updated. | [optional] +**Reference** | Pointer to **interface{}** | A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. | [optional] +**ReferenceOrigin** | Pointer to **interface{}** | Any identifier of the third party system that defines the reference code. | [optional] +**Metadata** | Pointer to **interface{}** | Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. | [optional] + +## Methods + +### NewGETNotificationsNotificationId200ResponseDataAttributes + +`func NewGETNotificationsNotificationId200ResponseDataAttributes() *GETNotificationsNotificationId200ResponseDataAttributes` + +NewGETNotificationsNotificationId200ResponseDataAttributes instantiates a new GETNotificationsNotificationId200ResponseDataAttributes object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGETNotificationsNotificationId200ResponseDataAttributesWithDefaults + +`func NewGETNotificationsNotificationId200ResponseDataAttributesWithDefaults() *GETNotificationsNotificationId200ResponseDataAttributes` + +NewGETNotificationsNotificationId200ResponseDataAttributesWithDefaults instantiates a new GETNotificationsNotificationId200ResponseDataAttributes object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetName + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetName() interface{}` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetNameOk() (*interface{}, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) SetName(v interface{})` + +SetName sets Name field to given value. + +### HasName + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetFlash + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetFlash() interface{}` + +GetFlash returns the Flash field if non-nil, zero value otherwise. + +### GetFlashOk + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetFlashOk() (*interface{}, bool)` + +GetFlashOk returns a tuple with the Flash field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFlash + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) SetFlash(v interface{})` + +SetFlash sets Flash field to given value. + +### HasFlash + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) HasFlash() bool` + +HasFlash returns a boolean if a field has been set. + +### SetFlashNil + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) SetFlashNil(b bool)` + + SetFlashNil sets the value for Flash to be an explicit nil + +### UnsetFlash +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) UnsetFlash()` + +UnsetFlash ensures that no value is present for Flash, not even an explicit nil +### GetBody + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetBody() interface{}` + +GetBody returns the Body field if non-nil, zero value otherwise. + +### GetBodyOk + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetBodyOk() (*interface{}, bool)` + +GetBodyOk returns a tuple with the Body field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBody + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) SetBody(v interface{})` + +SetBody sets Body field to given value. + +### HasBody + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) HasBody() bool` + +HasBody returns a boolean if a field has been set. + +### SetBodyNil + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) SetBodyNil(b bool)` + + SetBodyNil sets the value for Body to be an explicit nil + +### UnsetBody +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) UnsetBody()` + +UnsetBody ensures that no value is present for Body, not even an explicit nil +### GetCreatedAt + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetCreatedAt() interface{}` + +GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. + +### GetCreatedAtOk + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetCreatedAtOk() (*interface{}, bool)` + +GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCreatedAt + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) SetCreatedAt(v interface{})` + +SetCreatedAt sets CreatedAt field to given value. + +### HasCreatedAt + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) HasCreatedAt() bool` + +HasCreatedAt returns a boolean if a field has been set. + +### SetCreatedAtNil + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) SetCreatedAtNil(b bool)` + + SetCreatedAtNil sets the value for CreatedAt to be an explicit nil + +### UnsetCreatedAt +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) UnsetCreatedAt()` + +UnsetCreatedAt ensures that no value is present for CreatedAt, not even an explicit nil +### GetUpdatedAt + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetUpdatedAt() interface{}` + +GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise. + +### GetUpdatedAtOk + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetUpdatedAtOk() (*interface{}, bool)` + +GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUpdatedAt + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) SetUpdatedAt(v interface{})` + +SetUpdatedAt sets UpdatedAt field to given value. + +### HasUpdatedAt + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) HasUpdatedAt() bool` + +HasUpdatedAt returns a boolean if a field has been set. + +### SetUpdatedAtNil + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) SetUpdatedAtNil(b bool)` + + SetUpdatedAtNil sets the value for UpdatedAt to be an explicit nil + +### UnsetUpdatedAt +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) UnsetUpdatedAt()` + +UnsetUpdatedAt ensures that no value is present for UpdatedAt, not even an explicit nil +### GetReference + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetReference() interface{}` + +GetReference returns the Reference field if non-nil, zero value otherwise. + +### GetReferenceOk + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetReferenceOk() (*interface{}, bool)` + +GetReferenceOk returns a tuple with the Reference field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReference + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) SetReference(v interface{})` + +SetReference sets Reference field to given value. + +### HasReference + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) HasReference() bool` + +HasReference returns a boolean if a field has been set. + +### SetReferenceNil + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) SetReferenceNil(b bool)` + + SetReferenceNil sets the value for Reference to be an explicit nil + +### UnsetReference +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) UnsetReference()` + +UnsetReference ensures that no value is present for Reference, not even an explicit nil +### GetReferenceOrigin + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetReferenceOrigin() interface{}` + +GetReferenceOrigin returns the ReferenceOrigin field if non-nil, zero value otherwise. + +### GetReferenceOriginOk + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetReferenceOriginOk() (*interface{}, bool)` + +GetReferenceOriginOk returns a tuple with the ReferenceOrigin field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReferenceOrigin + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) SetReferenceOrigin(v interface{})` + +SetReferenceOrigin sets ReferenceOrigin field to given value. + +### HasReferenceOrigin + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) HasReferenceOrigin() bool` + +HasReferenceOrigin returns a boolean if a field has been set. + +### SetReferenceOriginNil + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) SetReferenceOriginNil(b bool)` + + SetReferenceOriginNil sets the value for ReferenceOrigin to be an explicit nil + +### UnsetReferenceOrigin +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) UnsetReferenceOrigin()` + +UnsetReferenceOrigin ensures that no value is present for ReferenceOrigin, not even an explicit nil +### GetMetadata + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetMetadata() interface{}` + +GetMetadata returns the Metadata field if non-nil, zero value otherwise. + +### GetMetadataOk + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetMetadataOk() (*interface{}, bool)` + +GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMetadata + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) SetMetadata(v interface{})` + +SetMetadata sets Metadata field to given value. + +### HasMetadata + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) HasMetadata() bool` + +HasMetadata returns a boolean if a field has been set. + +### SetMetadataNil + +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) SetMetadataNil(b bool)` + + SetMetadataNil sets the value for Metadata to be an explicit nil + +### UnsetMetadata +`func (o *GETNotificationsNotificationId200ResponseDataAttributes) UnsetMetadata()` + +UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/GETOrderCopiesOrderCopyId200ResponseDataAttributes.md b/api/docs/GETOrderCopiesOrderCopyId200ResponseDataAttributes.md index c8a7bddd1..97ba23d35 100644 --- a/api/docs/GETOrderCopiesOrderCopyId200ResponseDataAttributes.md +++ b/api/docs/GETOrderCopiesOrderCopyId200ResponseDataAttributes.md @@ -20,6 +20,7 @@ Name | Type | Description | Notes **Metadata** | Pointer to **interface{}** | Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. | [optional] **CancelSourceOrder** | Pointer to **interface{}** | Indicates if the source order must be cancelled upon copy. | [optional] **ApplyPromotions** | Pointer to **interface{}** | Indicates if promotions got applied upon copy. | [optional] +**SkipErrors** | Pointer to **interface{}** | Indicates to ignore any errors during copy. | [optional] **IgnoreInvalidCoupon** | Pointer to **interface{}** | Indicates to ignore invalid coupon code during copy. | [optional] ## Methods @@ -601,6 +602,41 @@ HasApplyPromotions returns a boolean if a field has been set. `func (o *GETOrderCopiesOrderCopyId200ResponseDataAttributes) UnsetApplyPromotions()` UnsetApplyPromotions ensures that no value is present for ApplyPromotions, not even an explicit nil +### GetSkipErrors + +`func (o *GETOrderCopiesOrderCopyId200ResponseDataAttributes) GetSkipErrors() interface{}` + +GetSkipErrors returns the SkipErrors field if non-nil, zero value otherwise. + +### GetSkipErrorsOk + +`func (o *GETOrderCopiesOrderCopyId200ResponseDataAttributes) GetSkipErrorsOk() (*interface{}, bool)` + +GetSkipErrorsOk returns a tuple with the SkipErrors field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSkipErrors + +`func (o *GETOrderCopiesOrderCopyId200ResponseDataAttributes) SetSkipErrors(v interface{})` + +SetSkipErrors sets SkipErrors field to given value. + +### HasSkipErrors + +`func (o *GETOrderCopiesOrderCopyId200ResponseDataAttributes) HasSkipErrors() bool` + +HasSkipErrors returns a boolean if a field has been set. + +### SetSkipErrorsNil + +`func (o *GETOrderCopiesOrderCopyId200ResponseDataAttributes) SetSkipErrorsNil(b bool)` + + SetSkipErrorsNil sets the value for SkipErrors to be an explicit nil + +### UnsetSkipErrors +`func (o *GETOrderCopiesOrderCopyId200ResponseDataAttributes) UnsetSkipErrors()` + +UnsetSkipErrors ensures that no value is present for SkipErrors, not even an explicit nil ### GetIgnoreInvalidCoupon `func (o *GETOrderCopiesOrderCopyId200ResponseDataAttributes) GetIgnoreInvalidCoupon() interface{}` diff --git a/api/docs/GETOrdersOrderId200ResponseDataAttributes.md b/api/docs/GETOrdersOrderId200ResponseDataAttributes.md index a2932ece9..2bd99a63a 100644 --- a/api/docs/GETOrdersOrderId200ResponseDataAttributes.md +++ b/api/docs/GETOrdersOrderId200ResponseDataAttributes.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Number** | Pointer to **interface{}** | The order identifier. Can be specified if unique within the organization (for enterprise plans only), default to numeric ID otherwise. Cannot be passed by sales channels. | [optional] -**AffiliateCode** | Pointer to **interface{}** | The affiliate code, if any, the seller will transfer commission on shop by link transactions. | [optional] +**AffiliateCode** | Pointer to **interface{}** | The affiliate code, if any, to track commissions using any third party services. | [optional] **Autorefresh** | Pointer to **interface{}** | Save this attribute as 'false' if you want prevent the order to be refreshed automatically at each change (much faster). | [optional] **PlaceAsync** | Pointer to **interface{}** | Save this attribute as 'true' if you want perform the place asynchronously. Payment errors, if any, will be collected afterwards. | [optional] **Status** | Pointer to **interface{}** | The order status. One of 'draft' (default), 'pending', 'editing', 'placing', 'placed', 'approved', or 'cancelled'. | [optional] diff --git a/api/docs/GETOrganizationOrganizationId200ResponseDataAttributes.md b/api/docs/GETOrganizationOrganizationId200ResponseDataAttributes.md index a1f56e836..957c62f71 100644 --- a/api/docs/GETOrganizationOrganizationId200ResponseDataAttributes.md +++ b/api/docs/GETOrganizationOrganizationId200ResponseDataAttributes.md @@ -17,6 +17,9 @@ Name | Type | Description | Notes **Config** | Pointer to **interface{}** | The organization's configuration. | [optional] **ApiAuthRedirect** | Pointer to **interface{}** | Enables the redirect on the new Auth API. | [optional] **ApiRulesEngine** | Pointer to **interface{}** | Enables the rules engine for flex promotions and price list rules. | [optional] +**ApiNewAuth** | Pointer to **interface{}** | Forces the usage of the new Authentication API. | [optional] +**ApiPurgeSingleResource** | Pointer to **interface{}** | Enables the purge of cached single resources when list is purged. | [optional] +**ApiMaxRegexLength** | Pointer to **interface{}** | The maximum length for the regular expressions, default is 5000. | [optional] **AddressesPhoneRequired** | Pointer to **interface{}** | Indicates if the phone attribute is required for addresses, default is true. | [optional] **OrdersAutorefreshCutoffTest** | Pointer to **interface{}** | The maximum number line items allowed for a test order before disabling the autorefresh option. | [optional] **OrdersAutorefreshCutoffLive** | Pointer to **interface{}** | The maximum number line items allowed for a live order before disabling the autorefresh option. | [optional] @@ -31,8 +34,13 @@ Name | Type | Description | Notes **CleanupsMaxConcurrentCount** | Pointer to **interface{}** | The maximum number of concurrent cleanups allowed for your organization, default is 10. | [optional] **ExportsMaxConcurrentCount** | Pointer to **interface{}** | The maximum number of concurrent exports allowed for your organization, default is 10. | [optional] **ImportsMaxConcurrentCount** | Pointer to **interface{}** | The maximum number of concurrent imports allowed for your organization, default is 10. | [optional] +**ImportsPurgeCache** | Pointer to **interface{}** | Enables purging of cached resources upon succeeded imports. | [optional] +**ImportsSkipErrors** | Pointer to **interface{}** | Disables the interruption of the import in case its errors exceeds the 10% threshold, default is false. | [optional] **PromotionsMaxConcurrentCount** | Pointer to **interface{}** | The maximum number of active concurrent promotions allowed for your organization, default is 10. | [optional] **ImportsTriggerWebhooks** | Pointer to **interface{}** | Enables triggering of webhooks during imports, default is false. | [optional] +**DiscountEnginesEnabled** | Pointer to **interface{}** | Enables the use of an external discount engine in place of the standard one, default is false. | [optional] +**DiscountEnginesErrors** | Pointer to **interface{}** | Enables raising of API errors in case of discount engine failure, default is false. | [optional] +**TagsMaxNameLength** | Pointer to **interface{}** | The maximum length for the tag name, default is 25. | [optional] **TaxCalculatorsErrors** | Pointer to **interface{}** | Enables raising of API errors in case of tax calculation failure, default is false. | [optional] **ExternalPromotionsErrors** | Pointer to **interface{}** | Enables raising of API errors in case of external promotion failure, default is false. | [optional] **CreatedAt** | Pointer to **interface{}** | Time at which the resource was created. | [optional] @@ -515,6 +523,111 @@ HasApiRulesEngine returns a boolean if a field has been set. `func (o *GETOrganizationOrganizationId200ResponseDataAttributes) UnsetApiRulesEngine()` UnsetApiRulesEngine ensures that no value is present for ApiRulesEngine, not even an explicit nil +### GetApiNewAuth + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetApiNewAuth() interface{}` + +GetApiNewAuth returns the ApiNewAuth field if non-nil, zero value otherwise. + +### GetApiNewAuthOk + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetApiNewAuthOk() (*interface{}, bool)` + +GetApiNewAuthOk returns a tuple with the ApiNewAuth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiNewAuth + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) SetApiNewAuth(v interface{})` + +SetApiNewAuth sets ApiNewAuth field to given value. + +### HasApiNewAuth + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) HasApiNewAuth() bool` + +HasApiNewAuth returns a boolean if a field has been set. + +### SetApiNewAuthNil + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) SetApiNewAuthNil(b bool)` + + SetApiNewAuthNil sets the value for ApiNewAuth to be an explicit nil + +### UnsetApiNewAuth +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) UnsetApiNewAuth()` + +UnsetApiNewAuth ensures that no value is present for ApiNewAuth, not even an explicit nil +### GetApiPurgeSingleResource + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetApiPurgeSingleResource() interface{}` + +GetApiPurgeSingleResource returns the ApiPurgeSingleResource field if non-nil, zero value otherwise. + +### GetApiPurgeSingleResourceOk + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetApiPurgeSingleResourceOk() (*interface{}, bool)` + +GetApiPurgeSingleResourceOk returns a tuple with the ApiPurgeSingleResource field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiPurgeSingleResource + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) SetApiPurgeSingleResource(v interface{})` + +SetApiPurgeSingleResource sets ApiPurgeSingleResource field to given value. + +### HasApiPurgeSingleResource + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) HasApiPurgeSingleResource() bool` + +HasApiPurgeSingleResource returns a boolean if a field has been set. + +### SetApiPurgeSingleResourceNil + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) SetApiPurgeSingleResourceNil(b bool)` + + SetApiPurgeSingleResourceNil sets the value for ApiPurgeSingleResource to be an explicit nil + +### UnsetApiPurgeSingleResource +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) UnsetApiPurgeSingleResource()` + +UnsetApiPurgeSingleResource ensures that no value is present for ApiPurgeSingleResource, not even an explicit nil +### GetApiMaxRegexLength + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetApiMaxRegexLength() interface{}` + +GetApiMaxRegexLength returns the ApiMaxRegexLength field if non-nil, zero value otherwise. + +### GetApiMaxRegexLengthOk + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetApiMaxRegexLengthOk() (*interface{}, bool)` + +GetApiMaxRegexLengthOk returns a tuple with the ApiMaxRegexLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiMaxRegexLength + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) SetApiMaxRegexLength(v interface{})` + +SetApiMaxRegexLength sets ApiMaxRegexLength field to given value. + +### HasApiMaxRegexLength + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) HasApiMaxRegexLength() bool` + +HasApiMaxRegexLength returns a boolean if a field has been set. + +### SetApiMaxRegexLengthNil + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) SetApiMaxRegexLengthNil(b bool)` + + SetApiMaxRegexLengthNil sets the value for ApiMaxRegexLength to be an explicit nil + +### UnsetApiMaxRegexLength +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) UnsetApiMaxRegexLength()` + +UnsetApiMaxRegexLength ensures that no value is present for ApiMaxRegexLength, not even an explicit nil ### GetAddressesPhoneRequired `func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetAddressesPhoneRequired() interface{}` @@ -1005,6 +1118,76 @@ HasImportsMaxConcurrentCount returns a boolean if a field has been set. `func (o *GETOrganizationOrganizationId200ResponseDataAttributes) UnsetImportsMaxConcurrentCount()` UnsetImportsMaxConcurrentCount ensures that no value is present for ImportsMaxConcurrentCount, not even an explicit nil +### GetImportsPurgeCache + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetImportsPurgeCache() interface{}` + +GetImportsPurgeCache returns the ImportsPurgeCache field if non-nil, zero value otherwise. + +### GetImportsPurgeCacheOk + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetImportsPurgeCacheOk() (*interface{}, bool)` + +GetImportsPurgeCacheOk returns a tuple with the ImportsPurgeCache field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetImportsPurgeCache + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) SetImportsPurgeCache(v interface{})` + +SetImportsPurgeCache sets ImportsPurgeCache field to given value. + +### HasImportsPurgeCache + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) HasImportsPurgeCache() bool` + +HasImportsPurgeCache returns a boolean if a field has been set. + +### SetImportsPurgeCacheNil + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) SetImportsPurgeCacheNil(b bool)` + + SetImportsPurgeCacheNil sets the value for ImportsPurgeCache to be an explicit nil + +### UnsetImportsPurgeCache +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) UnsetImportsPurgeCache()` + +UnsetImportsPurgeCache ensures that no value is present for ImportsPurgeCache, not even an explicit nil +### GetImportsSkipErrors + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetImportsSkipErrors() interface{}` + +GetImportsSkipErrors returns the ImportsSkipErrors field if non-nil, zero value otherwise. + +### GetImportsSkipErrorsOk + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetImportsSkipErrorsOk() (*interface{}, bool)` + +GetImportsSkipErrorsOk returns a tuple with the ImportsSkipErrors field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetImportsSkipErrors + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) SetImportsSkipErrors(v interface{})` + +SetImportsSkipErrors sets ImportsSkipErrors field to given value. + +### HasImportsSkipErrors + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) HasImportsSkipErrors() bool` + +HasImportsSkipErrors returns a boolean if a field has been set. + +### SetImportsSkipErrorsNil + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) SetImportsSkipErrorsNil(b bool)` + + SetImportsSkipErrorsNil sets the value for ImportsSkipErrors to be an explicit nil + +### UnsetImportsSkipErrors +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) UnsetImportsSkipErrors()` + +UnsetImportsSkipErrors ensures that no value is present for ImportsSkipErrors, not even an explicit nil ### GetPromotionsMaxConcurrentCount `func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetPromotionsMaxConcurrentCount() interface{}` @@ -1075,6 +1258,111 @@ HasImportsTriggerWebhooks returns a boolean if a field has been set. `func (o *GETOrganizationOrganizationId200ResponseDataAttributes) UnsetImportsTriggerWebhooks()` UnsetImportsTriggerWebhooks ensures that no value is present for ImportsTriggerWebhooks, not even an explicit nil +### GetDiscountEnginesEnabled + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetDiscountEnginesEnabled() interface{}` + +GetDiscountEnginesEnabled returns the DiscountEnginesEnabled field if non-nil, zero value otherwise. + +### GetDiscountEnginesEnabledOk + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetDiscountEnginesEnabledOk() (*interface{}, bool)` + +GetDiscountEnginesEnabledOk returns a tuple with the DiscountEnginesEnabled field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDiscountEnginesEnabled + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) SetDiscountEnginesEnabled(v interface{})` + +SetDiscountEnginesEnabled sets DiscountEnginesEnabled field to given value. + +### HasDiscountEnginesEnabled + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) HasDiscountEnginesEnabled() bool` + +HasDiscountEnginesEnabled returns a boolean if a field has been set. + +### SetDiscountEnginesEnabledNil + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) SetDiscountEnginesEnabledNil(b bool)` + + SetDiscountEnginesEnabledNil sets the value for DiscountEnginesEnabled to be an explicit nil + +### UnsetDiscountEnginesEnabled +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) UnsetDiscountEnginesEnabled()` + +UnsetDiscountEnginesEnabled ensures that no value is present for DiscountEnginesEnabled, not even an explicit nil +### GetDiscountEnginesErrors + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetDiscountEnginesErrors() interface{}` + +GetDiscountEnginesErrors returns the DiscountEnginesErrors field if non-nil, zero value otherwise. + +### GetDiscountEnginesErrorsOk + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetDiscountEnginesErrorsOk() (*interface{}, bool)` + +GetDiscountEnginesErrorsOk returns a tuple with the DiscountEnginesErrors field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDiscountEnginesErrors + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) SetDiscountEnginesErrors(v interface{})` + +SetDiscountEnginesErrors sets DiscountEnginesErrors field to given value. + +### HasDiscountEnginesErrors + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) HasDiscountEnginesErrors() bool` + +HasDiscountEnginesErrors returns a boolean if a field has been set. + +### SetDiscountEnginesErrorsNil + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) SetDiscountEnginesErrorsNil(b bool)` + + SetDiscountEnginesErrorsNil sets the value for DiscountEnginesErrors to be an explicit nil + +### UnsetDiscountEnginesErrors +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) UnsetDiscountEnginesErrors()` + +UnsetDiscountEnginesErrors ensures that no value is present for DiscountEnginesErrors, not even an explicit nil +### GetTagsMaxNameLength + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetTagsMaxNameLength() interface{}` + +GetTagsMaxNameLength returns the TagsMaxNameLength field if non-nil, zero value otherwise. + +### GetTagsMaxNameLengthOk + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetTagsMaxNameLengthOk() (*interface{}, bool)` + +GetTagsMaxNameLengthOk returns a tuple with the TagsMaxNameLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTagsMaxNameLength + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) SetTagsMaxNameLength(v interface{})` + +SetTagsMaxNameLength sets TagsMaxNameLength field to given value. + +### HasTagsMaxNameLength + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) HasTagsMaxNameLength() bool` + +HasTagsMaxNameLength returns a boolean if a field has been set. + +### SetTagsMaxNameLengthNil + +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) SetTagsMaxNameLengthNil(b bool)` + + SetTagsMaxNameLengthNil sets the value for TagsMaxNameLength to be an explicit nil + +### UnsetTagsMaxNameLength +`func (o *GETOrganizationOrganizationId200ResponseDataAttributes) UnsetTagsMaxNameLength()` + +UnsetTagsMaxNameLength ensures that no value is present for TagsMaxNameLength, not even an explicit nil ### GetTaxCalculatorsErrors `func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetTaxCalculatorsErrors() interface{}` diff --git a/api/docs/GETPriceListsPriceListId200ResponseDataAttributes.md b/api/docs/GETPriceListsPriceListId200ResponseDataAttributes.md index d1dba97b3..e496ada7c 100644 --- a/api/docs/GETPriceListsPriceListId200ResponseDataAttributes.md +++ b/api/docs/GETPriceListsPriceListId200ResponseDataAttributes.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **ReferenceOrigin** | Pointer to **interface{}** | Any identifier of the third party system that defines the reference code. | [optional] **Rules** | Pointer to **interface{}** | The rules (using Rules Engine) to be applied. | [optional] **RuleOutcomes** | Pointer to **interface{}** | The rule outcomes. | [optional] +**ResourcePayload** | Pointer to **interface{}** | The payload used to evaluate the rules. | [optional] **Metadata** | Pointer to **interface{}** | Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. | [optional] ## Methods @@ -385,6 +386,41 @@ HasRuleOutcomes returns a boolean if a field has been set. `func (o *GETPriceListsPriceListId200ResponseDataAttributes) UnsetRuleOutcomes()` UnsetRuleOutcomes ensures that no value is present for RuleOutcomes, not even an explicit nil +### GetResourcePayload + +`func (o *GETPriceListsPriceListId200ResponseDataAttributes) GetResourcePayload() interface{}` + +GetResourcePayload returns the ResourcePayload field if non-nil, zero value otherwise. + +### GetResourcePayloadOk + +`func (o *GETPriceListsPriceListId200ResponseDataAttributes) GetResourcePayloadOk() (*interface{}, bool)` + +GetResourcePayloadOk returns a tuple with the ResourcePayload field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetResourcePayload + +`func (o *GETPriceListsPriceListId200ResponseDataAttributes) SetResourcePayload(v interface{})` + +SetResourcePayload sets ResourcePayload field to given value. + +### HasResourcePayload + +`func (o *GETPriceListsPriceListId200ResponseDataAttributes) HasResourcePayload() bool` + +HasResourcePayload returns a boolean if a field has been set. + +### SetResourcePayloadNil + +`func (o *GETPriceListsPriceListId200ResponseDataAttributes) SetResourcePayloadNil(b bool)` + + SetResourcePayloadNil sets the value for ResourcePayload to be an explicit nil + +### UnsetResourcePayload +`func (o *GETPriceListsPriceListId200ResponseDataAttributes) UnsetResourcePayload()` + +UnsetResourcePayload ensures that no value is present for ResourcePayload, not even an explicit nil ### GetMetadata `func (o *GETPriceListsPriceListId200ResponseDataAttributes) GetMetadata() interface{}` diff --git a/api/docs/GETPricesPriceId200ResponseDataAttributes.md b/api/docs/GETPricesPriceId200ResponseDataAttributes.md index 6df2db052..d92ddc589 100644 --- a/api/docs/GETPricesPriceId200ResponseDataAttributes.md +++ b/api/docs/GETPricesPriceId200ResponseDataAttributes.md @@ -20,6 +20,7 @@ Name | Type | Description | Notes **ReferenceOrigin** | Pointer to **interface{}** | Any identifier of the third party system that defines the reference code. | [optional] **Rules** | Pointer to **interface{}** | The rules (using Rules Engine) to be applied. | [optional] **RuleOutcomes** | Pointer to **interface{}** | The rule outcomes. | [optional] +**ResourcePayload** | Pointer to **interface{}** | The payload used to evaluate the rules. | [optional] **JwtCustomClaim** | Pointer to **interface{}** | The custom_claim attached to the current JWT (if any). | [optional] **Metadata** | Pointer to **interface{}** | Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. | [optional] @@ -602,6 +603,41 @@ HasRuleOutcomes returns a boolean if a field has been set. `func (o *GETPricesPriceId200ResponseDataAttributes) UnsetRuleOutcomes()` UnsetRuleOutcomes ensures that no value is present for RuleOutcomes, not even an explicit nil +### GetResourcePayload + +`func (o *GETPricesPriceId200ResponseDataAttributes) GetResourcePayload() interface{}` + +GetResourcePayload returns the ResourcePayload field if non-nil, zero value otherwise. + +### GetResourcePayloadOk + +`func (o *GETPricesPriceId200ResponseDataAttributes) GetResourcePayloadOk() (*interface{}, bool)` + +GetResourcePayloadOk returns a tuple with the ResourcePayload field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetResourcePayload + +`func (o *GETPricesPriceId200ResponseDataAttributes) SetResourcePayload(v interface{})` + +SetResourcePayload sets ResourcePayload field to given value. + +### HasResourcePayload + +`func (o *GETPricesPriceId200ResponseDataAttributes) HasResourcePayload() bool` + +HasResourcePayload returns a boolean if a field has been set. + +### SetResourcePayloadNil + +`func (o *GETPricesPriceId200ResponseDataAttributes) SetResourcePayloadNil(b bool)` + + SetResourcePayloadNil sets the value for ResourcePayload to be an explicit nil + +### UnsetResourcePayload +`func (o *GETPricesPriceId200ResponseDataAttributes) UnsetResourcePayload()` + +UnsetResourcePayload ensures that no value is present for ResourcePayload, not even an explicit nil ### GetJwtCustomClaim `func (o *GETPricesPriceId200ResponseDataAttributes) GetJwtCustomClaim() interface{}` diff --git a/api/docs/GETRefundsRefundId200ResponseDataRelationships.md b/api/docs/GETRefundsRefundId200ResponseDataRelationships.md index 91a0b6b0a..ecb61802f 100644 --- a/api/docs/GETRefundsRefundId200ResponseDataRelationships.md +++ b/api/docs/GETRefundsRefundId200ResponseDataRelationships.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Order** | Pointer to [**POSTAdyenPayments201ResponseDataRelationshipsOrder**](POSTAdyenPayments201ResponseDataRelationshipsOrder.md) | | [optional] +**PaymentSource** | Pointer to [**GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource**](GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource.md) | | [optional] **Attachments** | Pointer to [**GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments**](GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments.md) | | [optional] **Events** | Pointer to [**POSTAddresses201ResponseDataRelationshipsEvents**](POSTAddresses201ResponseDataRelationshipsEvents.md) | | [optional] **Versions** | Pointer to [**POSTAddresses201ResponseDataRelationshipsVersions**](POSTAddresses201ResponseDataRelationshipsVersions.md) | | [optional] @@ -55,6 +56,31 @@ SetOrder sets Order field to given value. HasOrder returns a boolean if a field has been set. +### GetPaymentSource + +`func (o *GETRefundsRefundId200ResponseDataRelationships) GetPaymentSource() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource` + +GetPaymentSource returns the PaymentSource field if non-nil, zero value otherwise. + +### GetPaymentSourceOk + +`func (o *GETRefundsRefundId200ResponseDataRelationships) GetPaymentSourceOk() (*GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource, bool)` + +GetPaymentSourceOk returns a tuple with the PaymentSource field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPaymentSource + +`func (o *GETRefundsRefundId200ResponseDataRelationships) SetPaymentSource(v GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource)` + +SetPaymentSource sets PaymentSource field to given value. + +### HasPaymentSource + +`func (o *GETRefundsRefundId200ResponseDataRelationships) HasPaymentSource() bool` + +HasPaymentSource returns a boolean if a field has been set. + ### GetAttachments `func (o *GETRefundsRefundId200ResponseDataRelationships) GetAttachments() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments` diff --git a/api/docs/GETShippingZonesShippingZoneId200ResponseDataAttributes.md b/api/docs/GETShippingZonesShippingZoneId200ResponseDataAttributes.md index a3094a391..9d0a1fa32 100644 --- a/api/docs/GETShippingZonesShippingZoneId200ResponseDataAttributes.md +++ b/api/docs/GETShippingZonesShippingZoneId200ResponseDataAttributes.md @@ -5,12 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | Pointer to **interface{}** | The shipping zone's internal name. | [optional] -**CountryCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address country code. | [optional] -**NotCountryCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping address country code. | [optional] -**StateCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address state code. | [optional] -**NotStateCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping address state code. | [optional] -**ZipCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address zip code. | [optional] -**NotZipCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping zip country code. | [optional] +**CountryCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address country code, max size is 5000. | [optional] +**NotCountryCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping address country code, max size is 5000. | [optional] +**StateCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address state code, max size is 5000. | [optional] +**NotStateCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping address state code, max size is 5000. | [optional] +**ZipCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address zip code, max size is 5000. | [optional] +**NotZipCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000. | [optional] **CreatedAt** | Pointer to **interface{}** | Time at which the resource was created. | [optional] **UpdatedAt** | Pointer to **interface{}** | Time at which the resource was last updated. | [optional] **Reference** | Pointer to **interface{}** | A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. | [optional] diff --git a/api/docs/GETSkuListsSkuListId200ResponseDataAttributes.md b/api/docs/GETSkuListsSkuListId200ResponseDataAttributes.md index 11c4c1701..cf2577c93 100644 --- a/api/docs/GETSkuListsSkuListId200ResponseDataAttributes.md +++ b/api/docs/GETSkuListsSkuListId200ResponseDataAttributes.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **Description** | Pointer to **interface{}** | An internal description of the SKU list. | [optional] **ImageUrl** | Pointer to **interface{}** | The URL of an image that represents the SKU list. | [optional] **Manual** | Pointer to **interface{}** | Indicates if the SKU list is populated manually. | [optional] -**SkuCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the SKU codes. | [optional] +**SkuCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the SKU codes, max size is 5000. | [optional] **CreatedAt** | Pointer to **interface{}** | Time at which the resource was created. | [optional] **UpdatedAt** | Pointer to **interface{}** | Time at which the resource was last updated. | [optional] **Reference** | Pointer to **interface{}** | A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. | [optional] diff --git a/api/docs/GETSkuOptionsSkuOptionId200ResponseDataAttributes.md b/api/docs/GETSkuOptionsSkuOptionId200ResponseDataAttributes.md index 28f50564a..15dd342e1 100644 --- a/api/docs/GETSkuOptionsSkuOptionId200ResponseDataAttributes.md +++ b/api/docs/GETSkuOptionsSkuOptionId200ResponseDataAttributes.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **FormattedPriceAmount** | Pointer to **interface{}** | The price of this shipping method, formatted. | [optional] **DelayHours** | Pointer to **interface{}** | The delay time (in hours) that should be added to the delivery lead time when this option is purchased. | [optional] **DelayDays** | Pointer to **interface{}** | The delay time, in days (rounded). | [optional] -**SkuCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the SKU codes. | [optional] +**SkuCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the SKU codes, max size is 5000. | [optional] **CreatedAt** | Pointer to **interface{}** | Time at which the resource was created. | [optional] **UpdatedAt** | Pointer to **interface{}** | Time at which the resource was last updated. | [optional] **Reference** | Pointer to **interface{}** | A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. | [optional] diff --git a/api/docs/GETStockTransfersStockTransferId200ResponseDataAttributes.md b/api/docs/GETStockTransfersStockTransferId200ResponseDataAttributes.md index 3cf49dee6..1497d779d 100644 --- a/api/docs/GETStockTransfersStockTransferId200ResponseDataAttributes.md +++ b/api/docs/GETStockTransfersStockTransferId200ResponseDataAttributes.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Number** | Pointer to **interface{}** | Unique identifier for the stock transfer (numeric). | [optional] **SkuCode** | Pointer to **interface{}** | The code of the associated SKU. | [optional] **Status** | Pointer to **interface{}** | The stock transfer status. One of 'draft' (default), 'upcoming', 'on_hold', 'picking', 'in_transit', 'completed', or 'cancelled'. | [optional] -**Quantity** | Pointer to **interface{}** | The stock quantity to be transferred from the origin stock location to destination one. | [optional] +**Quantity** | Pointer to **interface{}** | The stock quantity to be transferred from the origin stock location to destination one. Updatable unless stock transfer is completed or cancelled and depending on origin stock availability. | [optional] **OnHoldAt** | Pointer to **interface{}** | Time at which the stock transfer was put on hold. | [optional] **PickingAt** | Pointer to **interface{}** | Time at which the stock transfer was picking. | [optional] **InTransitAt** | Pointer to **interface{}** | Time at which the stock transfer was in transit. | [optional] diff --git a/api/docs/GETStores200Response.md b/api/docs/GETStores200Response.md new file mode 100644 index 000000000..bacb95880 --- /dev/null +++ b/api/docs/GETStores200Response.md @@ -0,0 +1,66 @@ +# GETStores200Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Data** | Pointer to **interface{}** | | [optional] + +## Methods + +### NewGETStores200Response + +`func NewGETStores200Response() *GETStores200Response` + +NewGETStores200Response instantiates a new GETStores200Response object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGETStores200ResponseWithDefaults + +`func NewGETStores200ResponseWithDefaults() *GETStores200Response` + +NewGETStores200ResponseWithDefaults instantiates a new GETStores200Response object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetData + +`func (o *GETStores200Response) GetData() interface{}` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *GETStores200Response) GetDataOk() (*interface{}, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *GETStores200Response) SetData(v interface{})` + +SetData sets Data field to given value. + +### HasData + +`func (o *GETStores200Response) HasData() bool` + +HasData returns a boolean if a field has been set. + +### SetDataNil + +`func (o *GETStores200Response) SetDataNil(b bool)` + + SetDataNil sets the value for Data to be an explicit nil + +### UnsetData +`func (o *GETStores200Response) UnsetData()` + +UnsetData ensures that no value is present for Data, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/GETStoresStoreId200Response.md b/api/docs/GETStoresStoreId200Response.md new file mode 100644 index 000000000..f1ced8a7d --- /dev/null +++ b/api/docs/GETStoresStoreId200Response.md @@ -0,0 +1,56 @@ +# GETStoresStoreId200Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Data** | Pointer to [**GETStoresStoreId200ResponseData**](GETStoresStoreId200ResponseData.md) | | [optional] + +## Methods + +### NewGETStoresStoreId200Response + +`func NewGETStoresStoreId200Response() *GETStoresStoreId200Response` + +NewGETStoresStoreId200Response instantiates a new GETStoresStoreId200Response object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGETStoresStoreId200ResponseWithDefaults + +`func NewGETStoresStoreId200ResponseWithDefaults() *GETStoresStoreId200Response` + +NewGETStoresStoreId200ResponseWithDefaults instantiates a new GETStoresStoreId200Response object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetData + +`func (o *GETStoresStoreId200Response) GetData() GETStoresStoreId200ResponseData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *GETStoresStoreId200Response) GetDataOk() (*GETStoresStoreId200ResponseData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *GETStoresStoreId200Response) SetData(v GETStoresStoreId200ResponseData)` + +SetData sets Data field to given value. + +### HasData + +`func (o *GETStoresStoreId200Response) HasData() bool` + +HasData returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/GETStoresStoreId200ResponseData.md b/api/docs/GETStoresStoreId200ResponseData.md new file mode 100644 index 000000000..d80ab2cd3 --- /dev/null +++ b/api/docs/GETStoresStoreId200ResponseData.md @@ -0,0 +1,180 @@ +# GETStoresStoreId200ResponseData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **interface{}** | The resource's id | [optional] +**Type** | Pointer to **interface{}** | The resource's type | [optional] +**Links** | Pointer to [**POSTAddresses201ResponseDataLinks**](POSTAddresses201ResponseDataLinks.md) | | [optional] +**Attributes** | Pointer to [**GETStoresStoreId200ResponseDataAttributes**](GETStoresStoreId200ResponseDataAttributes.md) | | [optional] +**Relationships** | Pointer to [**POSTStores201ResponseDataRelationships**](POSTStores201ResponseDataRelationships.md) | | [optional] + +## Methods + +### NewGETStoresStoreId200ResponseData + +`func NewGETStoresStoreId200ResponseData() *GETStoresStoreId200ResponseData` + +NewGETStoresStoreId200ResponseData instantiates a new GETStoresStoreId200ResponseData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGETStoresStoreId200ResponseDataWithDefaults + +`func NewGETStoresStoreId200ResponseDataWithDefaults() *GETStoresStoreId200ResponseData` + +NewGETStoresStoreId200ResponseDataWithDefaults instantiates a new GETStoresStoreId200ResponseData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *GETStoresStoreId200ResponseData) GetId() interface{}` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *GETStoresStoreId200ResponseData) GetIdOk() (*interface{}, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *GETStoresStoreId200ResponseData) SetId(v interface{})` + +SetId sets Id field to given value. + +### HasId + +`func (o *GETStoresStoreId200ResponseData) HasId() bool` + +HasId returns a boolean if a field has been set. + +### SetIdNil + +`func (o *GETStoresStoreId200ResponseData) SetIdNil(b bool)` + + SetIdNil sets the value for Id to be an explicit nil + +### UnsetId +`func (o *GETStoresStoreId200ResponseData) UnsetId()` + +UnsetId ensures that no value is present for Id, not even an explicit nil +### GetType + +`func (o *GETStoresStoreId200ResponseData) GetType() interface{}` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *GETStoresStoreId200ResponseData) GetTypeOk() (*interface{}, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *GETStoresStoreId200ResponseData) SetType(v interface{})` + +SetType sets Type field to given value. + +### HasType + +`func (o *GETStoresStoreId200ResponseData) HasType() bool` + +HasType returns a boolean if a field has been set. + +### SetTypeNil + +`func (o *GETStoresStoreId200ResponseData) SetTypeNil(b bool)` + + SetTypeNil sets the value for Type to be an explicit nil + +### UnsetType +`func (o *GETStoresStoreId200ResponseData) UnsetType()` + +UnsetType ensures that no value is present for Type, not even an explicit nil +### GetLinks + +`func (o *GETStoresStoreId200ResponseData) GetLinks() POSTAddresses201ResponseDataLinks` + +GetLinks returns the Links field if non-nil, zero value otherwise. + +### GetLinksOk + +`func (o *GETStoresStoreId200ResponseData) GetLinksOk() (*POSTAddresses201ResponseDataLinks, bool)` + +GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLinks + +`func (o *GETStoresStoreId200ResponseData) SetLinks(v POSTAddresses201ResponseDataLinks)` + +SetLinks sets Links field to given value. + +### HasLinks + +`func (o *GETStoresStoreId200ResponseData) HasLinks() bool` + +HasLinks returns a boolean if a field has been set. + +### GetAttributes + +`func (o *GETStoresStoreId200ResponseData) GetAttributes() GETStoresStoreId200ResponseDataAttributes` + +GetAttributes returns the Attributes field if non-nil, zero value otherwise. + +### GetAttributesOk + +`func (o *GETStoresStoreId200ResponseData) GetAttributesOk() (*GETStoresStoreId200ResponseDataAttributes, bool)` + +GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAttributes + +`func (o *GETStoresStoreId200ResponseData) SetAttributes(v GETStoresStoreId200ResponseDataAttributes)` + +SetAttributes sets Attributes field to given value. + +### HasAttributes + +`func (o *GETStoresStoreId200ResponseData) HasAttributes() bool` + +HasAttributes returns a boolean if a field has been set. + +### GetRelationships + +`func (o *GETStoresStoreId200ResponseData) GetRelationships() POSTStores201ResponseDataRelationships` + +GetRelationships returns the Relationships field if non-nil, zero value otherwise. + +### GetRelationshipsOk + +`func (o *GETStoresStoreId200ResponseData) GetRelationshipsOk() (*POSTStores201ResponseDataRelationships, bool)` + +GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelationships + +`func (o *GETStoresStoreId200ResponseData) SetRelationships(v POSTStores201ResponseDataRelationships)` + +SetRelationships sets Relationships field to given value. + +### HasRelationships + +`func (o *GETStoresStoreId200ResponseData) HasRelationships() bool` + +HasRelationships returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/GETStoresStoreId200ResponseDataAttributes.md b/api/docs/GETStoresStoreId200ResponseDataAttributes.md new file mode 100644 index 000000000..447c43069 --- /dev/null +++ b/api/docs/GETStoresStoreId200ResponseDataAttributes.md @@ -0,0 +1,282 @@ +# GETStoresStoreId200ResponseDataAttributes + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | Pointer to **interface{}** | The store's internal name. | [optional] +**Code** | Pointer to **interface{}** | A string that you can use to identify the store (must be unique within the environment). | [optional] +**CreatedAt** | Pointer to **interface{}** | Time at which the resource was created. | [optional] +**UpdatedAt** | Pointer to **interface{}** | Time at which the resource was last updated. | [optional] +**Reference** | Pointer to **interface{}** | A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. | [optional] +**ReferenceOrigin** | Pointer to **interface{}** | Any identifier of the third party system that defines the reference code. | [optional] +**Metadata** | Pointer to **interface{}** | Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. | [optional] + +## Methods + +### NewGETStoresStoreId200ResponseDataAttributes + +`func NewGETStoresStoreId200ResponseDataAttributes() *GETStoresStoreId200ResponseDataAttributes` + +NewGETStoresStoreId200ResponseDataAttributes instantiates a new GETStoresStoreId200ResponseDataAttributes object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGETStoresStoreId200ResponseDataAttributesWithDefaults + +`func NewGETStoresStoreId200ResponseDataAttributesWithDefaults() *GETStoresStoreId200ResponseDataAttributes` + +NewGETStoresStoreId200ResponseDataAttributesWithDefaults instantiates a new GETStoresStoreId200ResponseDataAttributes object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetName + +`func (o *GETStoresStoreId200ResponseDataAttributes) GetName() interface{}` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *GETStoresStoreId200ResponseDataAttributes) GetNameOk() (*interface{}, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *GETStoresStoreId200ResponseDataAttributes) SetName(v interface{})` + +SetName sets Name field to given value. + +### HasName + +`func (o *GETStoresStoreId200ResponseDataAttributes) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *GETStoresStoreId200ResponseDataAttributes) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *GETStoresStoreId200ResponseDataAttributes) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetCode + +`func (o *GETStoresStoreId200ResponseDataAttributes) GetCode() interface{}` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GETStoresStoreId200ResponseDataAttributes) GetCodeOk() (*interface{}, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GETStoresStoreId200ResponseDataAttributes) SetCode(v interface{})` + +SetCode sets Code field to given value. + +### HasCode + +`func (o *GETStoresStoreId200ResponseDataAttributes) HasCode() bool` + +HasCode returns a boolean if a field has been set. + +### SetCodeNil + +`func (o *GETStoresStoreId200ResponseDataAttributes) SetCodeNil(b bool)` + + SetCodeNil sets the value for Code to be an explicit nil + +### UnsetCode +`func (o *GETStoresStoreId200ResponseDataAttributes) UnsetCode()` + +UnsetCode ensures that no value is present for Code, not even an explicit nil +### GetCreatedAt + +`func (o *GETStoresStoreId200ResponseDataAttributes) GetCreatedAt() interface{}` + +GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. + +### GetCreatedAtOk + +`func (o *GETStoresStoreId200ResponseDataAttributes) GetCreatedAtOk() (*interface{}, bool)` + +GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCreatedAt + +`func (o *GETStoresStoreId200ResponseDataAttributes) SetCreatedAt(v interface{})` + +SetCreatedAt sets CreatedAt field to given value. + +### HasCreatedAt + +`func (o *GETStoresStoreId200ResponseDataAttributes) HasCreatedAt() bool` + +HasCreatedAt returns a boolean if a field has been set. + +### SetCreatedAtNil + +`func (o *GETStoresStoreId200ResponseDataAttributes) SetCreatedAtNil(b bool)` + + SetCreatedAtNil sets the value for CreatedAt to be an explicit nil + +### UnsetCreatedAt +`func (o *GETStoresStoreId200ResponseDataAttributes) UnsetCreatedAt()` + +UnsetCreatedAt ensures that no value is present for CreatedAt, not even an explicit nil +### GetUpdatedAt + +`func (o *GETStoresStoreId200ResponseDataAttributes) GetUpdatedAt() interface{}` + +GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise. + +### GetUpdatedAtOk + +`func (o *GETStoresStoreId200ResponseDataAttributes) GetUpdatedAtOk() (*interface{}, bool)` + +GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUpdatedAt + +`func (o *GETStoresStoreId200ResponseDataAttributes) SetUpdatedAt(v interface{})` + +SetUpdatedAt sets UpdatedAt field to given value. + +### HasUpdatedAt + +`func (o *GETStoresStoreId200ResponseDataAttributes) HasUpdatedAt() bool` + +HasUpdatedAt returns a boolean if a field has been set. + +### SetUpdatedAtNil + +`func (o *GETStoresStoreId200ResponseDataAttributes) SetUpdatedAtNil(b bool)` + + SetUpdatedAtNil sets the value for UpdatedAt to be an explicit nil + +### UnsetUpdatedAt +`func (o *GETStoresStoreId200ResponseDataAttributes) UnsetUpdatedAt()` + +UnsetUpdatedAt ensures that no value is present for UpdatedAt, not even an explicit nil +### GetReference + +`func (o *GETStoresStoreId200ResponseDataAttributes) GetReference() interface{}` + +GetReference returns the Reference field if non-nil, zero value otherwise. + +### GetReferenceOk + +`func (o *GETStoresStoreId200ResponseDataAttributes) GetReferenceOk() (*interface{}, bool)` + +GetReferenceOk returns a tuple with the Reference field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReference + +`func (o *GETStoresStoreId200ResponseDataAttributes) SetReference(v interface{})` + +SetReference sets Reference field to given value. + +### HasReference + +`func (o *GETStoresStoreId200ResponseDataAttributes) HasReference() bool` + +HasReference returns a boolean if a field has been set. + +### SetReferenceNil + +`func (o *GETStoresStoreId200ResponseDataAttributes) SetReferenceNil(b bool)` + + SetReferenceNil sets the value for Reference to be an explicit nil + +### UnsetReference +`func (o *GETStoresStoreId200ResponseDataAttributes) UnsetReference()` + +UnsetReference ensures that no value is present for Reference, not even an explicit nil +### GetReferenceOrigin + +`func (o *GETStoresStoreId200ResponseDataAttributes) GetReferenceOrigin() interface{}` + +GetReferenceOrigin returns the ReferenceOrigin field if non-nil, zero value otherwise. + +### GetReferenceOriginOk + +`func (o *GETStoresStoreId200ResponseDataAttributes) GetReferenceOriginOk() (*interface{}, bool)` + +GetReferenceOriginOk returns a tuple with the ReferenceOrigin field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReferenceOrigin + +`func (o *GETStoresStoreId200ResponseDataAttributes) SetReferenceOrigin(v interface{})` + +SetReferenceOrigin sets ReferenceOrigin field to given value. + +### HasReferenceOrigin + +`func (o *GETStoresStoreId200ResponseDataAttributes) HasReferenceOrigin() bool` + +HasReferenceOrigin returns a boolean if a field has been set. + +### SetReferenceOriginNil + +`func (o *GETStoresStoreId200ResponseDataAttributes) SetReferenceOriginNil(b bool)` + + SetReferenceOriginNil sets the value for ReferenceOrigin to be an explicit nil + +### UnsetReferenceOrigin +`func (o *GETStoresStoreId200ResponseDataAttributes) UnsetReferenceOrigin()` + +UnsetReferenceOrigin ensures that no value is present for ReferenceOrigin, not even an explicit nil +### GetMetadata + +`func (o *GETStoresStoreId200ResponseDataAttributes) GetMetadata() interface{}` + +GetMetadata returns the Metadata field if non-nil, zero value otherwise. + +### GetMetadataOk + +`func (o *GETStoresStoreId200ResponseDataAttributes) GetMetadataOk() (*interface{}, bool)` + +GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMetadata + +`func (o *GETStoresStoreId200ResponseDataAttributes) SetMetadata(v interface{})` + +SetMetadata sets Metadata field to given value. + +### HasMetadata + +`func (o *GETStoresStoreId200ResponseDataAttributes) HasMetadata() bool` + +HasMetadata returns a boolean if a field has been set. + +### SetMetadataNil + +`func (o *GETStoresStoreId200ResponseDataAttributes) SetMetadataNil(b bool)` + + SetMetadataNil sets the value for Metadata to be an explicit nil + +### UnsetMetadata +`func (o *GETStoresStoreId200ResponseDataAttributes) UnsetMetadata()` + +UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/GETTaxRulesTaxRuleId200ResponseDataAttributes.md b/api/docs/GETTaxRulesTaxRuleId200ResponseDataAttributes.md index ce00a1c41..6c258bb9f 100644 --- a/api/docs/GETTaxRulesTaxRuleId200ResponseDataAttributes.md +++ b/api/docs/GETTaxRulesTaxRuleId200ResponseDataAttributes.md @@ -6,17 +6,17 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | Pointer to **interface{}** | The tax rule internal name. | [optional] **TaxRate** | Pointer to **interface{}** | The tax rate for this rule. | [optional] -**CountryCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address country code. | [optional] -**NotCountryCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping address country code. | [optional] -**StateCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address state code. | [optional] -**NotStateCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping address state code. | [optional] -**ZipCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address zip code. | [optional] -**NotZipCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping zip country code. | [optional] **FreightTaxable** | Pointer to **interface{}** | Indicates if the freight is taxable. | [optional] **PaymentMethodTaxable** | Pointer to **interface{}** | Indicates if the payment method is taxable. | [optional] **GiftCardTaxable** | Pointer to **interface{}** | Indicates if gift cards are taxable. | [optional] **AdjustmentTaxable** | Pointer to **interface{}** | Indicates if adjustemnts are taxable. | [optional] **Breakdown** | Pointer to **interface{}** | The breakdown for this tax rule (if calculated). | [optional] +**CountryCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address country code, max size is 5000. | [optional] +**NotCountryCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping address country code, max size is 5000. | [optional] +**StateCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address state code, max size is 5000. | [optional] +**NotStateCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping address state code, max size is 5000. | [optional] +**ZipCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address zip code, max size is 5000. | [optional] +**NotZipCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000. | [optional] **CreatedAt** | Pointer to **interface{}** | Time at which the resource was created. | [optional] **UpdatedAt** | Pointer to **interface{}** | Time at which the resource was last updated. | [optional] **Reference** | Pointer to **interface{}** | A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. | [optional] @@ -112,6 +112,181 @@ HasTaxRate returns a boolean if a field has been set. `func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) UnsetTaxRate()` UnsetTaxRate ensures that no value is present for TaxRate, not even an explicit nil +### GetFreightTaxable + +`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetFreightTaxable() interface{}` + +GetFreightTaxable returns the FreightTaxable field if non-nil, zero value otherwise. + +### GetFreightTaxableOk + +`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetFreightTaxableOk() (*interface{}, bool)` + +GetFreightTaxableOk returns a tuple with the FreightTaxable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFreightTaxable + +`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetFreightTaxable(v interface{})` + +SetFreightTaxable sets FreightTaxable field to given value. + +### HasFreightTaxable + +`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasFreightTaxable() bool` + +HasFreightTaxable returns a boolean if a field has been set. + +### SetFreightTaxableNil + +`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetFreightTaxableNil(b bool)` + + SetFreightTaxableNil sets the value for FreightTaxable to be an explicit nil + +### UnsetFreightTaxable +`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) UnsetFreightTaxable()` + +UnsetFreightTaxable ensures that no value is present for FreightTaxable, not even an explicit nil +### GetPaymentMethodTaxable + +`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetPaymentMethodTaxable() interface{}` + +GetPaymentMethodTaxable returns the PaymentMethodTaxable field if non-nil, zero value otherwise. + +### GetPaymentMethodTaxableOk + +`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetPaymentMethodTaxableOk() (*interface{}, bool)` + +GetPaymentMethodTaxableOk returns a tuple with the PaymentMethodTaxable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPaymentMethodTaxable + +`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetPaymentMethodTaxable(v interface{})` + +SetPaymentMethodTaxable sets PaymentMethodTaxable field to given value. + +### HasPaymentMethodTaxable + +`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasPaymentMethodTaxable() bool` + +HasPaymentMethodTaxable returns a boolean if a field has been set. + +### SetPaymentMethodTaxableNil + +`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetPaymentMethodTaxableNil(b bool)` + + SetPaymentMethodTaxableNil sets the value for PaymentMethodTaxable to be an explicit nil + +### UnsetPaymentMethodTaxable +`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) UnsetPaymentMethodTaxable()` + +UnsetPaymentMethodTaxable ensures that no value is present for PaymentMethodTaxable, not even an explicit nil +### GetGiftCardTaxable + +`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetGiftCardTaxable() interface{}` + +GetGiftCardTaxable returns the GiftCardTaxable field if non-nil, zero value otherwise. + +### GetGiftCardTaxableOk + +`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetGiftCardTaxableOk() (*interface{}, bool)` + +GetGiftCardTaxableOk returns a tuple with the GiftCardTaxable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGiftCardTaxable + +`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetGiftCardTaxable(v interface{})` + +SetGiftCardTaxable sets GiftCardTaxable field to given value. + +### HasGiftCardTaxable + +`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasGiftCardTaxable() bool` + +HasGiftCardTaxable returns a boolean if a field has been set. + +### SetGiftCardTaxableNil + +`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetGiftCardTaxableNil(b bool)` + + SetGiftCardTaxableNil sets the value for GiftCardTaxable to be an explicit nil + +### UnsetGiftCardTaxable +`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) UnsetGiftCardTaxable()` + +UnsetGiftCardTaxable ensures that no value is present for GiftCardTaxable, not even an explicit nil +### GetAdjustmentTaxable + +`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetAdjustmentTaxable() interface{}` + +GetAdjustmentTaxable returns the AdjustmentTaxable field if non-nil, zero value otherwise. + +### GetAdjustmentTaxableOk + +`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetAdjustmentTaxableOk() (*interface{}, bool)` + +GetAdjustmentTaxableOk returns a tuple with the AdjustmentTaxable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAdjustmentTaxable + +`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetAdjustmentTaxable(v interface{})` + +SetAdjustmentTaxable sets AdjustmentTaxable field to given value. + +### HasAdjustmentTaxable + +`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasAdjustmentTaxable() bool` + +HasAdjustmentTaxable returns a boolean if a field has been set. + +### SetAdjustmentTaxableNil + +`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetAdjustmentTaxableNil(b bool)` + + SetAdjustmentTaxableNil sets the value for AdjustmentTaxable to be an explicit nil + +### UnsetAdjustmentTaxable +`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) UnsetAdjustmentTaxable()` + +UnsetAdjustmentTaxable ensures that no value is present for AdjustmentTaxable, not even an explicit nil +### GetBreakdown + +`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetBreakdown() interface{}` + +GetBreakdown returns the Breakdown field if non-nil, zero value otherwise. + +### GetBreakdownOk + +`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetBreakdownOk() (*interface{}, bool)` + +GetBreakdownOk returns a tuple with the Breakdown field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBreakdown + +`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetBreakdown(v interface{})` + +SetBreakdown sets Breakdown field to given value. + +### HasBreakdown + +`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasBreakdown() bool` + +HasBreakdown returns a boolean if a field has been set. + +### SetBreakdownNil + +`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetBreakdownNil(b bool)` + + SetBreakdownNil sets the value for Breakdown to be an explicit nil + +### UnsetBreakdown +`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) UnsetBreakdown()` + +UnsetBreakdown ensures that no value is present for Breakdown, not even an explicit nil ### GetCountryCodeRegex `func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetCountryCodeRegex() interface{}` @@ -322,181 +497,6 @@ HasNotZipCodeRegex returns a boolean if a field has been set. `func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) UnsetNotZipCodeRegex()` UnsetNotZipCodeRegex ensures that no value is present for NotZipCodeRegex, not even an explicit nil -### GetFreightTaxable - -`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetFreightTaxable() interface{}` - -GetFreightTaxable returns the FreightTaxable field if non-nil, zero value otherwise. - -### GetFreightTaxableOk - -`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetFreightTaxableOk() (*interface{}, bool)` - -GetFreightTaxableOk returns a tuple with the FreightTaxable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFreightTaxable - -`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetFreightTaxable(v interface{})` - -SetFreightTaxable sets FreightTaxable field to given value. - -### HasFreightTaxable - -`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasFreightTaxable() bool` - -HasFreightTaxable returns a boolean if a field has been set. - -### SetFreightTaxableNil - -`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetFreightTaxableNil(b bool)` - - SetFreightTaxableNil sets the value for FreightTaxable to be an explicit nil - -### UnsetFreightTaxable -`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) UnsetFreightTaxable()` - -UnsetFreightTaxable ensures that no value is present for FreightTaxable, not even an explicit nil -### GetPaymentMethodTaxable - -`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetPaymentMethodTaxable() interface{}` - -GetPaymentMethodTaxable returns the PaymentMethodTaxable field if non-nil, zero value otherwise. - -### GetPaymentMethodTaxableOk - -`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetPaymentMethodTaxableOk() (*interface{}, bool)` - -GetPaymentMethodTaxableOk returns a tuple with the PaymentMethodTaxable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPaymentMethodTaxable - -`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetPaymentMethodTaxable(v interface{})` - -SetPaymentMethodTaxable sets PaymentMethodTaxable field to given value. - -### HasPaymentMethodTaxable - -`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasPaymentMethodTaxable() bool` - -HasPaymentMethodTaxable returns a boolean if a field has been set. - -### SetPaymentMethodTaxableNil - -`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetPaymentMethodTaxableNil(b bool)` - - SetPaymentMethodTaxableNil sets the value for PaymentMethodTaxable to be an explicit nil - -### UnsetPaymentMethodTaxable -`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) UnsetPaymentMethodTaxable()` - -UnsetPaymentMethodTaxable ensures that no value is present for PaymentMethodTaxable, not even an explicit nil -### GetGiftCardTaxable - -`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetGiftCardTaxable() interface{}` - -GetGiftCardTaxable returns the GiftCardTaxable field if non-nil, zero value otherwise. - -### GetGiftCardTaxableOk - -`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetGiftCardTaxableOk() (*interface{}, bool)` - -GetGiftCardTaxableOk returns a tuple with the GiftCardTaxable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetGiftCardTaxable - -`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetGiftCardTaxable(v interface{})` - -SetGiftCardTaxable sets GiftCardTaxable field to given value. - -### HasGiftCardTaxable - -`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasGiftCardTaxable() bool` - -HasGiftCardTaxable returns a boolean if a field has been set. - -### SetGiftCardTaxableNil - -`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetGiftCardTaxableNil(b bool)` - - SetGiftCardTaxableNil sets the value for GiftCardTaxable to be an explicit nil - -### UnsetGiftCardTaxable -`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) UnsetGiftCardTaxable()` - -UnsetGiftCardTaxable ensures that no value is present for GiftCardTaxable, not even an explicit nil -### GetAdjustmentTaxable - -`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetAdjustmentTaxable() interface{}` - -GetAdjustmentTaxable returns the AdjustmentTaxable field if non-nil, zero value otherwise. - -### GetAdjustmentTaxableOk - -`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetAdjustmentTaxableOk() (*interface{}, bool)` - -GetAdjustmentTaxableOk returns a tuple with the AdjustmentTaxable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAdjustmentTaxable - -`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetAdjustmentTaxable(v interface{})` - -SetAdjustmentTaxable sets AdjustmentTaxable field to given value. - -### HasAdjustmentTaxable - -`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasAdjustmentTaxable() bool` - -HasAdjustmentTaxable returns a boolean if a field has been set. - -### SetAdjustmentTaxableNil - -`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetAdjustmentTaxableNil(b bool)` - - SetAdjustmentTaxableNil sets the value for AdjustmentTaxable to be an explicit nil - -### UnsetAdjustmentTaxable -`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) UnsetAdjustmentTaxable()` - -UnsetAdjustmentTaxable ensures that no value is present for AdjustmentTaxable, not even an explicit nil -### GetBreakdown - -`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetBreakdown() interface{}` - -GetBreakdown returns the Breakdown field if non-nil, zero value otherwise. - -### GetBreakdownOk - -`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetBreakdownOk() (*interface{}, bool)` - -GetBreakdownOk returns a tuple with the Breakdown field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBreakdown - -`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetBreakdown(v interface{})` - -SetBreakdown sets Breakdown field to given value. - -### HasBreakdown - -`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasBreakdown() bool` - -HasBreakdown returns a boolean if a field has been set. - -### SetBreakdownNil - -`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetBreakdownNil(b bool)` - - SetBreakdownNil sets the value for Breakdown to be an explicit nil - -### UnsetBreakdown -`func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) UnsetBreakdown()` - -UnsetBreakdown ensures that no value is present for Breakdown, not even an explicit nil ### GetCreatedAt `func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetCreatedAt() interface{}` diff --git a/api/docs/GETTransactionsTransactionId200ResponseDataRelationships.md b/api/docs/GETTransactionsTransactionId200ResponseDataRelationships.md index 61cc57990..ed649bad6 100644 --- a/api/docs/GETTransactionsTransactionId200ResponseDataRelationships.md +++ b/api/docs/GETTransactionsTransactionId200ResponseDataRelationships.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Order** | Pointer to [**POSTAdyenPayments201ResponseDataRelationshipsOrder**](POSTAdyenPayments201ResponseDataRelationshipsOrder.md) | | [optional] +**PaymentSource** | Pointer to [**GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource**](GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource.md) | | [optional] **Attachments** | Pointer to [**GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments**](GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments.md) | | [optional] **Events** | Pointer to [**POSTAddresses201ResponseDataRelationshipsEvents**](POSTAddresses201ResponseDataRelationshipsEvents.md) | | [optional] **Versions** | Pointer to [**POSTAddresses201ResponseDataRelationshipsVersions**](POSTAddresses201ResponseDataRelationshipsVersions.md) | | [optional] @@ -53,6 +54,31 @@ SetOrder sets Order field to given value. HasOrder returns a boolean if a field has been set. +### GetPaymentSource + +`func (o *GETTransactionsTransactionId200ResponseDataRelationships) GetPaymentSource() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource` + +GetPaymentSource returns the PaymentSource field if non-nil, zero value otherwise. + +### GetPaymentSourceOk + +`func (o *GETTransactionsTransactionId200ResponseDataRelationships) GetPaymentSourceOk() (*GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource, bool)` + +GetPaymentSourceOk returns a tuple with the PaymentSource field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPaymentSource + +`func (o *GETTransactionsTransactionId200ResponseDataRelationships) SetPaymentSource(v GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource)` + +SetPaymentSource sets PaymentSource field to given value. + +### HasPaymentSource + +`func (o *GETTransactionsTransactionId200ResponseDataRelationships) HasPaymentSource() bool` + +HasPaymentSource returns a boolean if a field has been set. + ### GetAttachments `func (o *GETTransactionsTransactionId200ResponseDataRelationships) GetAttachments() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments` diff --git a/api/docs/GETVoidsVoidId200ResponseDataRelationships.md b/api/docs/GETVoidsVoidId200ResponseDataRelationships.md index 94a84c13b..c800603a7 100644 --- a/api/docs/GETVoidsVoidId200ResponseDataRelationships.md +++ b/api/docs/GETVoidsVoidId200ResponseDataRelationships.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Order** | Pointer to [**POSTAdyenPayments201ResponseDataRelationshipsOrder**](POSTAdyenPayments201ResponseDataRelationshipsOrder.md) | | [optional] +**PaymentSource** | Pointer to [**GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource**](GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource.md) | | [optional] **Attachments** | Pointer to [**GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments**](GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments.md) | | [optional] **Events** | Pointer to [**POSTAddresses201ResponseDataRelationshipsEvents**](POSTAddresses201ResponseDataRelationshipsEvents.md) | | [optional] **Versions** | Pointer to [**POSTAddresses201ResponseDataRelationshipsVersions**](POSTAddresses201ResponseDataRelationshipsVersions.md) | | [optional] @@ -54,6 +55,31 @@ SetOrder sets Order field to given value. HasOrder returns a boolean if a field has been set. +### GetPaymentSource + +`func (o *GETVoidsVoidId200ResponseDataRelationships) GetPaymentSource() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource` + +GetPaymentSource returns the PaymentSource field if non-nil, zero value otherwise. + +### GetPaymentSourceOk + +`func (o *GETVoidsVoidId200ResponseDataRelationships) GetPaymentSourceOk() (*GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource, bool)` + +GetPaymentSourceOk returns a tuple with the PaymentSource field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPaymentSource + +`func (o *GETVoidsVoidId200ResponseDataRelationships) SetPaymentSource(v GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource)` + +SetPaymentSource sets PaymentSource field to given value. + +### HasPaymentSource + +`func (o *GETVoidsVoidId200ResponseDataRelationships) HasPaymentSource() bool` + +HasPaymentSource returns a boolean if a field has been set. + ### GetAttachments `func (o *GETVoidsVoidId200ResponseDataRelationships) GetAttachments() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments` diff --git a/api/docs/GeocodersApi.md b/api/docs/GeocodersApi.md index bda1f12e4..36fdd0706 100644 --- a/api/docs/GeocodersApi.md +++ b/api/docs/GeocodersApi.md @@ -28,7 +28,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -96,7 +96,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -157,7 +157,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -227,7 +227,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/GiftCardCreateDataRelationships.md b/api/docs/GiftCardCreateDataRelationships.md index c9da879e0..dde48f3cc 100644 --- a/api/docs/GiftCardCreateDataRelationships.md +++ b/api/docs/GiftCardCreateDataRelationships.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Market** | Pointer to [**BillingInfoValidationRuleCreateDataRelationshipsMarket**](BillingInfoValidationRuleCreateDataRelationshipsMarket.md) | | [optional] +**Market** | Pointer to [**BundleCreateDataRelationshipsMarket**](BundleCreateDataRelationshipsMarket.md) | | [optional] **GiftCardRecipient** | Pointer to [**GiftCardCreateDataRelationshipsGiftCardRecipient**](GiftCardCreateDataRelationshipsGiftCardRecipient.md) | | [optional] **Tags** | Pointer to [**AddressCreateDataRelationshipsTags**](AddressCreateDataRelationshipsTags.md) | | [optional] @@ -29,20 +29,20 @@ but it doesn't guarantee that properties required by API are set ### GetMarket -`func (o *GiftCardCreateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket` +`func (o *GiftCardCreateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket` GetMarket returns the Market field if non-nil, zero value otherwise. ### GetMarketOk -`func (o *GiftCardCreateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool)` +`func (o *GiftCardCreateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool)` GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMarket -`func (o *GiftCardCreateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket)` +`func (o *GiftCardCreateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket)` SetMarket sets Market field to given value. diff --git a/api/docs/GiftCardRecipientsApi.md b/api/docs/GiftCardRecipientsApi.md index 25e4b32df..8d0af9c4b 100644 --- a/api/docs/GiftCardRecipientsApi.md +++ b/api/docs/GiftCardRecipientsApi.md @@ -30,7 +30,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -98,7 +98,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -166,7 +166,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -227,7 +227,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -297,7 +297,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -369,7 +369,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/GiftCardsApi.md b/api/docs/GiftCardsApi.md index 8d4407ed1..1eaaf7d83 100644 --- a/api/docs/GiftCardsApi.md +++ b/api/docs/GiftCardsApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/GoogleGeocodersApi.md b/api/docs/GoogleGeocodersApi.md index da659fa8f..41b58558a 100644 --- a/api/docs/GoogleGeocodersApi.md +++ b/api/docs/GoogleGeocodersApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/HasManyApi.md b/api/docs/HasManyApi.md index ad9d387d0..672404eb0 100644 --- a/api/docs/HasManyApi.md +++ b/api/docs/HasManyApi.md @@ -26,8 +26,6 @@ Method | HTTP request | Description [**GETAxerveGatewayIdPaymentMethods**](HasManyApi.md#GETAxerveGatewayIdPaymentMethods) | **Get** /axerve_gateways/{axerveGatewayId}/payment_methods | Retrieve the payment methods associated to the axerve gateway [**GETAxerveGatewayIdVersions**](HasManyApi.md#GETAxerveGatewayIdVersions) | **Get** /axerve_gateways/{axerveGatewayId}/versions | Retrieve the versions associated to the axerve gateway [**GETAxervePaymentIdVersions**](HasManyApi.md#GETAxervePaymentIdVersions) | **Get** /axerve_payments/{axervePaymentId}/versions | Retrieve the versions associated to the axerve payment -[**GETBillingInfoValidationRuleIdAttachments**](HasManyApi.md#GETBillingInfoValidationRuleIdAttachments) | **Get** /billing_info_validation_rules/{billingInfoValidationRuleId}/attachments | Retrieve the attachments associated to the billing info validation rule -[**GETBillingInfoValidationRuleIdVersions**](HasManyApi.md#GETBillingInfoValidationRuleIdVersions) | **Get** /billing_info_validation_rules/{billingInfoValidationRuleId}/versions | Retrieve the versions associated to the billing info validation rule [**GETBingGeocoderIdAddresses**](HasManyApi.md#GETBingGeocoderIdAddresses) | **Get** /bing_geocoders/{bingGeocoderId}/addresses | Retrieve the addresses associated to the bing geocoder [**GETBingGeocoderIdAttachments**](HasManyApi.md#GETBingGeocoderIdAttachments) | **Get** /bing_geocoders/{bingGeocoderId}/attachments | Retrieve the attachments associated to the bing geocoder [**GETBingGeocoderIdMarkets**](HasManyApi.md#GETBingGeocoderIdMarkets) | **Get** /bing_geocoders/{bingGeocoderId}/markets | Retrieve the markets associated to the bing geocoder @@ -159,6 +157,7 @@ Method | HTTP request | Description [**GETKlarnaPaymentIdVersions**](HasManyApi.md#GETKlarnaPaymentIdVersions) | **Get** /klarna_payments/{klarnaPaymentId}/versions | Retrieve the versions associated to the klarna payment [**GETLineItemIdEvents**](HasManyApi.md#GETLineItemIdEvents) | **Get** /line_items/{lineItemId}/events | Retrieve the events associated to the line item [**GETLineItemIdLineItemOptions**](HasManyApi.md#GETLineItemIdLineItemOptions) | **Get** /line_items/{lineItemId}/line_item_options | Retrieve the line item options associated to the line item +[**GETLineItemIdNotifications**](HasManyApi.md#GETLineItemIdNotifications) | **Get** /line_items/{lineItemId}/notifications | Retrieve the notifications associated to the line item [**GETLineItemIdReturnLineItems**](HasManyApi.md#GETLineItemIdReturnLineItems) | **Get** /line_items/{lineItemId}/return_line_items | Retrieve the return line items associated to the line item [**GETLineItemIdStockLineItems**](HasManyApi.md#GETLineItemIdStockLineItems) | **Get** /line_items/{lineItemId}/stock_line_items | Retrieve the stock line items associated to the line item [**GETLineItemIdStockReservations**](HasManyApi.md#GETLineItemIdStockReservations) | **Get** /line_items/{lineItemId}/stock_reservations | Retrieve the stock reservations associated to the line item @@ -175,6 +174,7 @@ Method | HTTP request | Description [**GETManualTaxCalculatorIdVersions**](HasManyApi.md#GETManualTaxCalculatorIdVersions) | **Get** /manual_tax_calculators/{manualTaxCalculatorId}/versions | Retrieve the versions associated to the manual tax calculator [**GETMarketIdAttachments**](HasManyApi.md#GETMarketIdAttachments) | **Get** /markets/{marketId}/attachments | Retrieve the attachments associated to the market [**GETMarketIdPriceListSchedulers**](HasManyApi.md#GETMarketIdPriceListSchedulers) | **Get** /markets/{marketId}/price_list_schedulers | Retrieve the price list schedulers associated to the market +[**GETMarketIdStores**](HasManyApi.md#GETMarketIdStores) | **Get** /markets/{marketId}/stores | Retrieve the stores associated to the market [**GETMarketIdVersions**](HasManyApi.md#GETMarketIdVersions) | **Get** /markets/{marketId}/versions | Retrieve the versions associated to the market [**GETMerchantIdAttachments**](HasManyApi.md#GETMerchantIdAttachments) | **Get** /merchants/{merchantId}/attachments | Retrieve the attachments associated to the merchant [**GETMerchantIdVersions**](HasManyApi.md#GETMerchantIdVersions) | **Get** /merchants/{merchantId}/versions | Retrieve the versions associated to the merchant @@ -192,6 +192,7 @@ Method | HTTP request | Description [**GETOrderIdLineItemOptions**](HasManyApi.md#GETOrderIdLineItemOptions) | **Get** /orders/{orderId}/line_item_options | Retrieve the line item options associated to the order [**GETOrderIdLineItems**](HasManyApi.md#GETOrderIdLineItems) | **Get** /orders/{orderId}/line_items | Retrieve the line items associated to the order [**GETOrderIdLinks**](HasManyApi.md#GETOrderIdLinks) | **Get** /orders/{orderId}/links | Retrieve the links associated to the order +[**GETOrderIdNotifications**](HasManyApi.md#GETOrderIdNotifications) | **Get** /orders/{orderId}/notifications | Retrieve the notifications associated to the order [**GETOrderIdOrderCopies**](HasManyApi.md#GETOrderIdOrderCopies) | **Get** /orders/{orderId}/order_copies | Retrieve the order copies associated to the order [**GETOrderIdOrderFactories**](HasManyApi.md#GETOrderIdOrderFactories) | **Get** /orders/{orderId}/order_factories | Retrieve the order factories associated to the order [**GETOrderIdOrderSubscriptions**](HasManyApi.md#GETOrderIdOrderSubscriptions) | **Get** /orders/{orderId}/order_subscriptions | Retrieve the order subscriptions associated to the order @@ -225,6 +226,7 @@ Method | HTTP request | Description [**GETPaymentGatewayIdPaymentMethods**](HasManyApi.md#GETPaymentGatewayIdPaymentMethods) | **Get** /payment_gateways/{paymentGatewayId}/payment_methods | Retrieve the payment methods associated to the payment gateway [**GETPaymentGatewayIdVersions**](HasManyApi.md#GETPaymentGatewayIdVersions) | **Get** /payment_gateways/{paymentGatewayId}/versions | Retrieve the versions associated to the payment gateway [**GETPaymentMethodIdAttachments**](HasManyApi.md#GETPaymentMethodIdAttachments) | **Get** /payment_methods/{paymentMethodId}/attachments | Retrieve the attachments associated to the payment method +[**GETPaymentMethodIdOrders**](HasManyApi.md#GETPaymentMethodIdOrders) | **Get** /payment_methods/{paymentMethodId}/orders | Retrieve the orders associated to the payment method [**GETPaymentMethodIdVersions**](HasManyApi.md#GETPaymentMethodIdVersions) | **Get** /payment_methods/{paymentMethodId}/versions | Retrieve the versions associated to the payment method [**GETPaymentOptionIdAttachments**](HasManyApi.md#GETPaymentOptionIdAttachments) | **Get** /payment_options/{paymentOptionId}/attachments | Retrieve the attachments associated to the payment option [**GETPaypalGatewayIdPaymentMethods**](HasManyApi.md#GETPaypalGatewayIdPaymentMethods) | **Get** /paypal_gateways/{paypalGatewayId}/payment_methods | Retrieve the payment methods associated to the paypal gateway @@ -339,10 +341,15 @@ Method | HTTP request | Description [**GETStockLocationIdInventoryStockLocations**](HasManyApi.md#GETStockLocationIdInventoryStockLocations) | **Get** /stock_locations/{stockLocationId}/inventory_stock_locations | Retrieve the inventory stock locations associated to the stock location [**GETStockLocationIdStockItems**](HasManyApi.md#GETStockLocationIdStockItems) | **Get** /stock_locations/{stockLocationId}/stock_items | Retrieve the stock items associated to the stock location [**GETStockLocationIdStockTransfers**](HasManyApi.md#GETStockLocationIdStockTransfers) | **Get** /stock_locations/{stockLocationId}/stock_transfers | Retrieve the stock transfers associated to the stock location +[**GETStockLocationIdStores**](HasManyApi.md#GETStockLocationIdStores) | **Get** /stock_locations/{stockLocationId}/stores | Retrieve the stores associated to the stock location [**GETStockLocationIdVersions**](HasManyApi.md#GETStockLocationIdVersions) | **Get** /stock_locations/{stockLocationId}/versions | Retrieve the versions associated to the stock location [**GETStockTransferIdAttachments**](HasManyApi.md#GETStockTransferIdAttachments) | **Get** /stock_transfers/{stockTransferId}/attachments | Retrieve the attachments associated to the stock transfer [**GETStockTransferIdEvents**](HasManyApi.md#GETStockTransferIdEvents) | **Get** /stock_transfers/{stockTransferId}/events | Retrieve the events associated to the stock transfer [**GETStockTransferIdVersions**](HasManyApi.md#GETStockTransferIdVersions) | **Get** /stock_transfers/{stockTransferId}/versions | Retrieve the versions associated to the stock transfer +[**GETStoreIdEvents**](HasManyApi.md#GETStoreIdEvents) | **Get** /stores/{storeId}/events | Retrieve the events associated to the store +[**GETStoreIdOrders**](HasManyApi.md#GETStoreIdOrders) | **Get** /stores/{storeId}/orders | Retrieve the orders associated to the store +[**GETStoreIdPaymentMethods**](HasManyApi.md#GETStoreIdPaymentMethods) | **Get** /stores/{storeId}/payment_methods | Retrieve the payment methods associated to the store +[**GETStoreIdVersions**](HasManyApi.md#GETStoreIdVersions) | **Get** /stores/{storeId}/versions | Retrieve the versions associated to the store [**GETStripeGatewayIdPaymentMethods**](HasManyApi.md#GETStripeGatewayIdPaymentMethods) | **Get** /stripe_gateways/{stripeGatewayId}/payment_methods | Retrieve the payment methods associated to the stripe gateway [**GETStripeGatewayIdStripePayments**](HasManyApi.md#GETStripeGatewayIdStripePayments) | **Get** /stripe_gateways/{stripeGatewayId}/stripe_payments | Retrieve the stripe payments associated to the stripe gateway [**GETStripeGatewayIdVersions**](HasManyApi.md#GETStripeGatewayIdVersions) | **Get** /stripe_gateways/{stripeGatewayId}/versions | Retrieve the versions associated to the stripe gateway @@ -389,7 +396,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -457,7 +464,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -525,7 +532,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -593,7 +600,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -661,7 +668,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -729,7 +736,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -797,7 +804,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -865,7 +872,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -933,7 +940,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1001,7 +1008,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1069,7 +1076,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1137,7 +1144,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1205,7 +1212,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1273,7 +1280,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1341,7 +1348,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1409,7 +1416,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1477,7 +1484,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1545,7 +1552,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1613,7 +1620,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1681,7 +1688,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1749,7 +1756,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1817,7 +1824,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1868,142 +1875,6 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## GETBillingInfoValidationRuleIdAttachments - -> GETBillingInfoValidationRuleIdAttachments(ctx, billingInfoValidationRuleId).Execute() - -Retrieve the attachments associated to the billing info validation rule - - - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" -) - -func main() { - billingInfoValidationRuleId := TODO // interface{} | The resource's id - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.HasManyApi.GETBillingInfoValidationRuleIdAttachments(context.Background(), billingInfoValidationRuleId).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `HasManyApi.GETBillingInfoValidationRuleIdAttachments``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } -} -``` - -### Path Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**billingInfoValidationRuleId** | [**interface{}**](.md) | The resource's id | - -### Other Parameters - -Other parameters are passed through a pointer to a apiGETBillingInfoValidationRuleIdAttachmentsRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - -### Return type - - (empty response body) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - -## GETBillingInfoValidationRuleIdVersions - -> GETBillingInfoValidationRuleIdVersions(ctx, billingInfoValidationRuleId).Execute() - -Retrieve the versions associated to the billing info validation rule - - - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" -) - -func main() { - billingInfoValidationRuleId := TODO // interface{} | The resource's id - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.HasManyApi.GETBillingInfoValidationRuleIdVersions(context.Background(), billingInfoValidationRuleId).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `HasManyApi.GETBillingInfoValidationRuleIdVersions``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } -} -``` - -### Path Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**billingInfoValidationRuleId** | [**interface{}**](.md) | The resource's id | - -### Other Parameters - -Other parameters are passed through a pointer to a apiGETBillingInfoValidationRuleIdVersionsRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - -### Return type - - (empty response body) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - ## GETBingGeocoderIdAddresses > GETBingGeocoderIdAddresses(ctx, bingGeocoderId).Execute() @@ -2021,7 +1892,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2089,7 +1960,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2157,7 +2028,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2225,7 +2096,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2293,7 +2164,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2361,7 +2232,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2429,7 +2300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2497,7 +2368,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2565,7 +2436,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2633,7 +2504,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2701,7 +2572,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2769,7 +2640,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2837,7 +2708,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2905,7 +2776,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2973,7 +2844,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3041,7 +2912,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3109,7 +2980,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3177,7 +3048,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3245,7 +3116,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3313,7 +3184,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3381,7 +3252,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3449,7 +3320,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3517,7 +3388,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3585,7 +3456,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3653,7 +3524,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3721,7 +3592,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3789,7 +3660,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3857,7 +3728,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3925,7 +3796,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3993,7 +3864,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4061,7 +3932,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4129,7 +4000,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4197,7 +4068,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4265,7 +4136,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4333,7 +4204,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4401,7 +4272,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4469,7 +4340,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4537,7 +4408,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4605,7 +4476,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4673,7 +4544,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4741,7 +4612,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4809,7 +4680,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4877,7 +4748,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4945,7 +4816,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5013,7 +4884,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5081,7 +4952,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5149,7 +5020,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5217,7 +5088,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5285,7 +5156,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5353,7 +5224,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5421,7 +5292,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5489,7 +5360,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5557,7 +5428,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5625,7 +5496,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5693,7 +5564,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5761,7 +5632,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5829,7 +5700,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5897,7 +5768,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5965,7 +5836,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6033,7 +5904,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6101,7 +5972,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6169,7 +6040,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6237,7 +6108,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6305,7 +6176,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6373,7 +6244,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6441,7 +6312,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6509,7 +6380,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6577,7 +6448,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6645,7 +6516,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6713,7 +6584,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6781,7 +6652,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6849,7 +6720,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6917,7 +6788,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6985,7 +6856,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -7053,7 +6924,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -7121,7 +6992,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -7189,7 +7060,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -7257,7 +7128,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -7325,7 +7196,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -7393,7 +7264,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -7461,7 +7332,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -7529,7 +7400,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -7597,7 +7468,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -7665,7 +7536,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -7733,7 +7604,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -7801,7 +7672,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -7869,7 +7740,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -7937,7 +7808,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -8005,7 +7876,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -8073,7 +7944,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -8141,7 +8012,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -8209,7 +8080,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -8277,7 +8148,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -8345,7 +8216,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -8413,7 +8284,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -8481,7 +8352,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -8549,7 +8420,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -8617,7 +8488,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -8685,7 +8556,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -8753,7 +8624,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -8821,7 +8692,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -8889,7 +8760,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -8957,7 +8828,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -9025,7 +8896,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -9093,7 +8964,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -9161,7 +9032,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -9229,7 +9100,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -9297,7 +9168,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -9365,7 +9236,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -9433,7 +9304,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -9501,7 +9372,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -9569,7 +9440,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -9637,7 +9508,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -9705,7 +9576,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -9773,7 +9644,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -9841,7 +9712,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -9909,7 +9780,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -9977,7 +9848,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -10045,7 +9916,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -10113,7 +9984,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -10181,7 +10052,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -10249,7 +10120,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -10317,7 +10188,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -10385,7 +10256,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -10453,7 +10324,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -10521,7 +10392,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -10589,7 +10460,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -10657,7 +10528,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -10725,7 +10596,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -10793,7 +10664,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -10861,7 +10732,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -10912,6 +10783,74 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## GETLineItemIdNotifications + +> GETLineItemIdNotifications(ctx, lineItemId).Execute() + +Retrieve the notifications associated to the line item + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + lineItemId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.HasManyApi.GETLineItemIdNotifications(context.Background(), lineItemId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `HasManyApi.GETLineItemIdNotifications``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**lineItemId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETLineItemIdNotificationsRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## GETLineItemIdReturnLineItems > GETLineItemIdReturnLineItems(ctx, lineItemId).Execute() @@ -10929,7 +10868,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -10997,7 +10936,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -11065,7 +11004,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -11133,7 +11072,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -11201,7 +11140,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -11269,7 +11208,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -11337,7 +11276,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -11405,7 +11344,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -11473,7 +11412,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -11541,7 +11480,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -11609,7 +11548,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -11677,7 +11616,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -11745,7 +11684,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -11813,7 +11752,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -11881,7 +11820,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -11949,7 +11888,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -12000,6 +11939,74 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## GETMarketIdStores + +> GETMarketIdStores(ctx, marketId).Execute() + +Retrieve the stores associated to the market + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + marketId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.HasManyApi.GETMarketIdStores(context.Background(), marketId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `HasManyApi.GETMarketIdStores``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**marketId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETMarketIdStoresRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## GETMarketIdVersions > GETMarketIdVersions(ctx, marketId).Execute() @@ -12017,7 +12024,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -12085,7 +12092,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -12153,7 +12160,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -12221,7 +12228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -12289,7 +12296,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -12357,7 +12364,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -12425,7 +12432,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -12493,7 +12500,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -12561,7 +12568,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -12629,7 +12636,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -12697,7 +12704,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -12765,7 +12772,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -12833,7 +12840,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -12901,7 +12908,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -12969,7 +12976,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -13037,7 +13044,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -13105,7 +13112,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -13156,11 +13163,11 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## GETOrderIdOrderCopies +## GETOrderIdNotifications -> GETOrderIdOrderCopies(ctx, orderId).Execute() +> GETOrderIdNotifications(ctx, orderId).Execute() -Retrieve the order copies associated to the order +Retrieve the notifications associated to the order @@ -13173,7 +13180,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -13181,9 +13188,9 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.HasManyApi.GETOrderIdOrderCopies(context.Background(), orderId).Execute() + r, err := apiClient.HasManyApi.GETOrderIdNotifications(context.Background(), orderId).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `HasManyApi.GETOrderIdOrderCopies``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `HasManyApi.GETOrderIdNotifications``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -13199,7 +13206,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiGETOrderIdOrderCopiesRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiGETOrderIdNotificationsRequest struct via the builder pattern Name | Type | Description | Notes @@ -13224,11 +13231,11 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## GETOrderIdOrderFactories +## GETOrderIdOrderCopies -> GETOrderIdOrderFactories(ctx, orderId).Execute() +> GETOrderIdOrderCopies(ctx, orderId).Execute() -Retrieve the order factories associated to the order +Retrieve the order copies associated to the order @@ -13241,7 +13248,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -13249,9 +13256,77 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.HasManyApi.GETOrderIdOrderFactories(context.Background(), orderId).Execute() + r, err := apiClient.HasManyApi.GETOrderIdOrderCopies(context.Background(), orderId).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `HasManyApi.GETOrderIdOrderFactories``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `HasManyApi.GETOrderIdOrderCopies``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**orderId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETOrderIdOrderCopiesRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GETOrderIdOrderFactories + +> GETOrderIdOrderFactories(ctx, orderId).Execute() + +Retrieve the order factories associated to the order + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + orderId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.HasManyApi.GETOrderIdOrderFactories(context.Background(), orderId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `HasManyApi.GETOrderIdOrderFactories``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -13309,7 +13384,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -13377,7 +13452,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -13445,7 +13520,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -13513,7 +13588,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -13581,7 +13656,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -13649,7 +13724,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -13717,7 +13792,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -13785,7 +13860,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -13853,7 +13928,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -13921,7 +13996,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -13989,7 +14064,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -14057,7 +14132,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -14125,7 +14200,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -14193,7 +14268,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -14261,7 +14336,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -14329,7 +14404,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -14397,7 +14472,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -14465,7 +14540,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -14533,7 +14608,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -14601,7 +14676,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -14669,7 +14744,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -14737,7 +14812,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -14805,7 +14880,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -14873,7 +14948,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -14941,7 +15016,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -15009,7 +15084,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -15077,7 +15152,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -15145,7 +15220,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -15213,7 +15288,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -15281,7 +15356,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -15349,7 +15424,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -15400,6 +15475,74 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## GETPaymentMethodIdOrders + +> GETPaymentMethodIdOrders(ctx, paymentMethodId).Execute() + +Retrieve the orders associated to the payment method + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + paymentMethodId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.HasManyApi.GETPaymentMethodIdOrders(context.Background(), paymentMethodId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `HasManyApi.GETPaymentMethodIdOrders``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**paymentMethodId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETPaymentMethodIdOrdersRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## GETPaymentMethodIdVersions > GETPaymentMethodIdVersions(ctx, paymentMethodId).Execute() @@ -15417,7 +15560,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -15485,7 +15628,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -15553,7 +15696,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -15621,7 +15764,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -15689,7 +15832,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -15757,7 +15900,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -15825,7 +15968,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -15893,7 +16036,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -15961,7 +16104,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -16029,7 +16172,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -16097,7 +16240,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -16165,7 +16308,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -16233,7 +16376,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -16301,7 +16444,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -16369,7 +16512,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -16437,7 +16580,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -16505,7 +16648,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -16573,7 +16716,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -16641,7 +16784,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -16709,7 +16852,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -16777,7 +16920,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -16845,7 +16988,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -16913,7 +17056,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -16981,7 +17124,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -17049,7 +17192,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -17117,7 +17260,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -17185,7 +17328,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -17253,7 +17396,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -17321,7 +17464,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -17389,7 +17532,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -17457,7 +17600,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -17525,7 +17668,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -17593,7 +17736,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -17661,7 +17804,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -17729,7 +17872,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -17797,7 +17940,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -17865,7 +18008,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -17933,7 +18076,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -18001,7 +18144,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -18069,7 +18212,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -18137,7 +18280,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -18205,7 +18348,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -18273,7 +18416,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -18341,7 +18484,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -18409,7 +18552,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -18477,7 +18620,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -18545,7 +18688,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -18613,7 +18756,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -18681,7 +18824,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -18749,7 +18892,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -18817,7 +18960,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -18885,7 +19028,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -18953,7 +19096,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -19021,7 +19164,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -19089,7 +19232,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -19157,7 +19300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -19225,7 +19368,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -19293,7 +19436,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -19361,7 +19504,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -19429,7 +19572,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -19497,7 +19640,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -19565,7 +19708,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -19633,7 +19776,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -19701,7 +19844,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -19769,7 +19912,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -19837,7 +19980,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -19905,7 +20048,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -19973,7 +20116,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -20041,7 +20184,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -20109,7 +20252,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -20177,7 +20320,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -20245,7 +20388,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -20313,7 +20456,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -20381,7 +20524,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -20449,7 +20592,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -20517,7 +20660,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -20585,7 +20728,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -20653,7 +20796,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -20721,7 +20864,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -20789,7 +20932,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -20857,7 +21000,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -20925,7 +21068,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -20993,7 +21136,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -21061,7 +21204,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -21129,7 +21272,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -21197,7 +21340,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -21265,7 +21408,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -21333,7 +21476,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -21401,7 +21544,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -21469,7 +21612,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -21537,7 +21680,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -21605,7 +21748,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -21673,7 +21816,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -21741,7 +21884,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -21809,7 +21952,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -21877,7 +22020,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -21945,7 +22088,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -22013,7 +22156,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -22081,7 +22224,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -22149,7 +22292,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -22217,7 +22360,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -22285,7 +22428,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -22353,7 +22496,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -22421,7 +22564,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -22489,7 +22632,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -22557,7 +22700,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -22625,7 +22768,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -22693,7 +22836,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -22761,7 +22904,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -22829,7 +22972,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -22897,7 +23040,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -22965,7 +23108,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -23033,7 +23176,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -23101,7 +23244,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -23152,6 +23295,74 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## GETStockLocationIdStores + +> GETStockLocationIdStores(ctx, stockLocationId).Execute() + +Retrieve the stores associated to the stock location + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + stockLocationId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.HasManyApi.GETStockLocationIdStores(context.Background(), stockLocationId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `HasManyApi.GETStockLocationIdStores``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**stockLocationId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETStockLocationIdStoresRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## GETStockLocationIdVersions > GETStockLocationIdVersions(ctx, stockLocationId).Execute() @@ -23169,7 +23380,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -23237,7 +23448,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -23305,7 +23516,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -23373,7 +23584,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -23424,6 +23635,278 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## GETStoreIdEvents + +> GETStoreIdEvents(ctx, storeId).Execute() + +Retrieve the events associated to the store + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + storeId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.HasManyApi.GETStoreIdEvents(context.Background(), storeId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `HasManyApi.GETStoreIdEvents``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**storeId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETStoreIdEventsRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GETStoreIdOrders + +> GETStoreIdOrders(ctx, storeId).Execute() + +Retrieve the orders associated to the store + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + storeId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.HasManyApi.GETStoreIdOrders(context.Background(), storeId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `HasManyApi.GETStoreIdOrders``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**storeId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETStoreIdOrdersRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GETStoreIdPaymentMethods + +> GETStoreIdPaymentMethods(ctx, storeId).Execute() + +Retrieve the payment methods associated to the store + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + storeId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.HasManyApi.GETStoreIdPaymentMethods(context.Background(), storeId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `HasManyApi.GETStoreIdPaymentMethods``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**storeId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETStoreIdPaymentMethodsRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GETStoreIdVersions + +> GETStoreIdVersions(ctx, storeId).Execute() + +Retrieve the versions associated to the store + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + storeId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.HasManyApi.GETStoreIdVersions(context.Background(), storeId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `HasManyApi.GETStoreIdVersions``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**storeId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETStoreIdVersionsRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## GETStripeGatewayIdPaymentMethods > GETStripeGatewayIdPaymentMethods(ctx, stripeGatewayId).Execute() @@ -23441,7 +23924,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -23509,7 +23992,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -23577,7 +24060,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -23645,7 +24128,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -23713,7 +24196,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -23781,7 +24264,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -23849,7 +24332,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -23917,7 +24400,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -23985,7 +24468,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -24053,7 +24536,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -24121,7 +24604,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -24189,7 +24672,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -24257,7 +24740,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -24325,7 +24808,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -24393,7 +24876,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -24461,7 +24944,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -24529,7 +25012,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -24597,7 +25080,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -24665,7 +25148,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -24733,7 +25216,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -24801,7 +25284,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -24869,7 +25352,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -24937,7 +25420,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -25005,7 +25488,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -25073,7 +25556,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -25141,7 +25624,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/HasOneApi.md b/api/docs/HasOneApi.md index cb5d2a7dc..c413e1f01 100644 --- a/api/docs/HasOneApi.md +++ b/api/docs/HasOneApi.md @@ -10,7 +10,6 @@ Method | HTTP request | Description [**GETAuthorizationIdOrder**](HasOneApi.md#GETAuthorizationIdOrder) | **Get** /authorizations/{authorizationId}/order | Retrieve the order associated to the authorization [**GETAxervePaymentIdOrder**](HasOneApi.md#GETAxervePaymentIdOrder) | **Get** /axerve_payments/{axervePaymentId}/order | Retrieve the order associated to the axerve payment [**GETAxervePaymentIdPaymentGateway**](HasOneApi.md#GETAxervePaymentIdPaymentGateway) | **Get** /axerve_payments/{axervePaymentId}/payment_gateway | Retrieve the payment gateway associated to the axerve payment -[**GETBillingInfoValidationRuleIdMarket**](HasOneApi.md#GETBillingInfoValidationRuleIdMarket) | **Get** /billing_info_validation_rules/{billingInfoValidationRuleId}/market | Retrieve the market associated to the billing info validation rule [**GETBraintreePaymentIdOrder**](HasOneApi.md#GETBraintreePaymentIdOrder) | **Get** /braintree_payments/{braintreePaymentId}/order | Retrieve the order associated to the braintree payment [**GETBraintreePaymentIdPaymentGateway**](HasOneApi.md#GETBraintreePaymentIdPaymentGateway) | **Get** /braintree_payments/{braintreePaymentId}/payment_gateway | Retrieve the payment gateway associated to the braintree payment [**GETBundleIdMarket**](HasOneApi.md#GETBundleIdMarket) | **Get** /bundles/{bundleId}/market | Retrieve the market associated to the bundle @@ -109,6 +108,7 @@ Method | HTTP request | Description [**GETOrderIdOrderSubscription**](HasOneApi.md#GETOrderIdOrderSubscription) | **Get** /orders/{orderId}/order_subscription | Retrieve the order subscription associated to the order [**GETOrderIdPaymentMethod**](HasOneApi.md#GETOrderIdPaymentMethod) | **Get** /orders/{orderId}/payment_method | Retrieve the payment method associated to the order [**GETOrderIdShippingAddress**](HasOneApi.md#GETOrderIdShippingAddress) | **Get** /orders/{orderId}/shipping_address | Retrieve the shipping address associated to the order +[**GETOrderIdStore**](HasOneApi.md#GETOrderIdStore) | **Get** /orders/{orderId}/store | Retrieve the store associated to the order [**GETOrderSubscriptionIdCustomer**](HasOneApi.md#GETOrderSubscriptionIdCustomer) | **Get** /order_subscriptions/{orderSubscriptionId}/customer | Retrieve the customer associated to the order subscription [**GETOrderSubscriptionIdCustomerPaymentSource**](HasOneApi.md#GETOrderSubscriptionIdCustomerPaymentSource) | **Get** /order_subscriptions/{orderSubscriptionId}/customer_payment_source | Retrieve the customer payment source associated to the order subscription [**GETOrderSubscriptionIdMarket**](HasOneApi.md#GETOrderSubscriptionIdMarket) | **Get** /order_subscriptions/{orderSubscriptionId}/market | Retrieve the market associated to the order subscription @@ -123,6 +123,7 @@ Method | HTTP request | Description [**GETParcelLineItemIdStockLineItem**](HasOneApi.md#GETParcelLineItemIdStockLineItem) | **Get** /parcel_line_items/{parcelLineItemId}/stock_line_item | Retrieve the stock line item associated to the parcel line item [**GETPaymentMethodIdMarket**](HasOneApi.md#GETPaymentMethodIdMarket) | **Get** /payment_methods/{paymentMethodId}/market | Retrieve the market associated to the payment method [**GETPaymentMethodIdPaymentGateway**](HasOneApi.md#GETPaymentMethodIdPaymentGateway) | **Get** /payment_methods/{paymentMethodId}/payment_gateway | Retrieve the payment gateway associated to the payment method +[**GETPaymentMethodIdStore**](HasOneApi.md#GETPaymentMethodIdStore) | **Get** /payment_methods/{paymentMethodId}/store | Retrieve the store associated to the payment method [**GETPaymentOptionIdOrder**](HasOneApi.md#GETPaymentOptionIdOrder) | **Get** /payment_options/{paymentOptionId}/order | Retrieve the order associated to the payment option [**GETPaypalPaymentIdOrder**](HasOneApi.md#GETPaypalPaymentIdOrder) | **Get** /paypal_payments/{paypalPaymentId}/order | Retrieve the order associated to the paypal payment [**GETPaypalPaymentIdPaymentGateway**](HasOneApi.md#GETPaypalPaymentIdPaymentGateway) | **Get** /paypal_payments/{paypalPaymentId}/payment_gateway | Retrieve the payment gateway associated to the paypal payment @@ -209,6 +210,9 @@ Method | HTTP request | Description [**GETStockTransferIdShipment**](HasOneApi.md#GETStockTransferIdShipment) | **Get** /stock_transfers/{stockTransferId}/shipment | Retrieve the shipment associated to the stock transfer [**GETStockTransferIdSku**](HasOneApi.md#GETStockTransferIdSku) | **Get** /stock_transfers/{stockTransferId}/sku | Retrieve the sku associated to the stock transfer [**GETStockTransferIdStockReservation**](HasOneApi.md#GETStockTransferIdStockReservation) | **Get** /stock_transfers/{stockTransferId}/stock_reservation | Retrieve the stock reservation associated to the stock transfer +[**GETStoreIdMarket**](HasOneApi.md#GETStoreIdMarket) | **Get** /stores/{storeId}/market | Retrieve the market associated to the store +[**GETStoreIdMerchant**](HasOneApi.md#GETStoreIdMerchant) | **Get** /stores/{storeId}/merchant | Retrieve the merchant associated to the store +[**GETStoreIdStockLocation**](HasOneApi.md#GETStoreIdStockLocation) | **Get** /stores/{storeId}/stock_location | Retrieve the stock location associated to the store [**GETStripePaymentIdOrder**](HasOneApi.md#GETStripePaymentIdOrder) | **Get** /stripe_payments/{stripePaymentId}/order | Retrieve the order associated to the stripe payment [**GETStripePaymentIdPaymentGateway**](HasOneApi.md#GETStripePaymentIdPaymentGateway) | **Get** /stripe_payments/{stripePaymentId}/payment_gateway | Retrieve the payment gateway associated to the stripe payment [**GETTaxCategoryIdSku**](HasOneApi.md#GETTaxCategoryIdSku) | **Get** /tax_categories/{taxCategoryId}/sku | Retrieve the sku associated to the tax category @@ -237,7 +241,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -305,7 +309,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -373,7 +377,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -441,7 +445,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -509,7 +513,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -577,7 +581,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -628,74 +632,6 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## GETBillingInfoValidationRuleIdMarket - -> GETBillingInfoValidationRuleIdMarket(ctx, billingInfoValidationRuleId).Execute() - -Retrieve the market associated to the billing info validation rule - - - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" -) - -func main() { - billingInfoValidationRuleId := TODO // interface{} | The resource's id - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.HasOneApi.GETBillingInfoValidationRuleIdMarket(context.Background(), billingInfoValidationRuleId).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `HasOneApi.GETBillingInfoValidationRuleIdMarket``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } -} -``` - -### Path Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**billingInfoValidationRuleId** | [**interface{}**](.md) | The resource's id | - -### Other Parameters - -Other parameters are passed through a pointer to a apiGETBillingInfoValidationRuleIdMarketRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - -### Return type - - (empty response body) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - ## GETBraintreePaymentIdOrder > GETBraintreePaymentIdOrder(ctx, braintreePaymentId).Execute() @@ -713,7 +649,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -781,7 +717,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -849,7 +785,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -917,7 +853,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -985,7 +921,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1053,7 +989,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1121,7 +1057,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1189,7 +1125,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1257,7 +1193,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1325,7 +1261,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1393,7 +1329,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1461,7 +1397,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1529,7 +1465,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1597,7 +1533,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1665,7 +1601,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1733,7 +1669,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1801,7 +1737,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1869,7 +1805,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1937,7 +1873,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2005,7 +1941,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2073,7 +2009,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2141,7 +2077,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2209,7 +2145,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2277,7 +2213,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2345,7 +2281,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2413,7 +2349,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2481,7 +2417,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2549,7 +2485,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2617,7 +2553,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2685,7 +2621,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2753,7 +2689,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2821,7 +2757,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2889,7 +2825,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2957,7 +2893,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3025,7 +2961,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3093,7 +3029,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3161,7 +3097,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3229,7 +3165,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3297,7 +3233,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3365,7 +3301,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3433,7 +3369,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3501,7 +3437,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3569,7 +3505,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3637,7 +3573,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3705,7 +3641,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3773,7 +3709,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3841,7 +3777,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3909,7 +3845,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3977,7 +3913,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4045,7 +3981,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4113,7 +4049,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4181,7 +4117,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4249,7 +4185,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4317,7 +4253,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4385,7 +4321,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4453,7 +4389,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4521,7 +4457,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4589,7 +4525,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4657,7 +4593,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4725,7 +4661,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4793,7 +4729,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4861,7 +4797,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4929,7 +4865,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4997,7 +4933,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5065,7 +5001,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5133,7 +5069,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5201,7 +5137,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5269,7 +5205,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5337,7 +5273,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5405,7 +5341,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5473,7 +5409,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5541,7 +5477,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5609,7 +5545,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5677,7 +5613,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5745,7 +5681,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5813,7 +5749,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5881,7 +5817,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5949,7 +5885,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6017,7 +5953,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6085,7 +6021,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6153,7 +6089,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6221,7 +6157,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6289,7 +6225,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6357,7 +6293,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6425,7 +6361,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6493,7 +6429,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6561,7 +6497,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6629,7 +6565,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6697,7 +6633,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6765,7 +6701,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6833,7 +6769,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6901,7 +6837,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6969,7 +6905,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -7037,7 +6973,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -7105,7 +7041,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -7173,7 +7109,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -7241,7 +7177,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -7309,7 +7245,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -7360,6 +7296,74 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## GETOrderIdStore + +> GETOrderIdStore(ctx, orderId).Execute() + +Retrieve the store associated to the order + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + orderId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.HasOneApi.GETOrderIdStore(context.Background(), orderId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `HasOneApi.GETOrderIdStore``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**orderId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETOrderIdStoreRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## GETOrderSubscriptionIdCustomer > GETOrderSubscriptionIdCustomer(ctx, orderSubscriptionId).Execute() @@ -7377,7 +7381,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -7445,7 +7449,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -7513,7 +7517,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -7581,7 +7585,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -7649,7 +7653,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -7717,7 +7721,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -7785,7 +7789,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -7853,7 +7857,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -7921,7 +7925,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -7989,7 +7993,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -8057,7 +8061,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -8125,7 +8129,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -8193,7 +8197,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -8261,7 +8265,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -8312,6 +8316,74 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## GETPaymentMethodIdStore + +> GETPaymentMethodIdStore(ctx, paymentMethodId).Execute() + +Retrieve the store associated to the payment method + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + paymentMethodId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.HasOneApi.GETPaymentMethodIdStore(context.Background(), paymentMethodId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `HasOneApi.GETPaymentMethodIdStore``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**paymentMethodId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETPaymentMethodIdStoreRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## GETPaymentOptionIdOrder > GETPaymentOptionIdOrder(ctx, paymentOptionId).Execute() @@ -8329,7 +8401,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -8397,7 +8469,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -8465,7 +8537,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -8533,7 +8605,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -8601,7 +8673,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -8669,7 +8741,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -8737,7 +8809,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -8805,7 +8877,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -8873,7 +8945,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -8941,7 +9013,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -9009,7 +9081,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -9077,7 +9149,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -9145,7 +9217,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -9213,7 +9285,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -9281,7 +9353,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -9349,7 +9421,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -9417,7 +9489,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -9485,7 +9557,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -9553,7 +9625,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -9621,7 +9693,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -9689,7 +9761,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -9757,7 +9829,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -9825,7 +9897,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -9893,7 +9965,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -9961,7 +10033,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -10029,7 +10101,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -10097,7 +10169,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -10165,7 +10237,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -10233,7 +10305,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -10301,7 +10373,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -10369,7 +10441,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -10437,7 +10509,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -10505,7 +10577,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -10573,7 +10645,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -10641,7 +10713,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -10709,7 +10781,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -10777,7 +10849,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -10845,7 +10917,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -10913,7 +10985,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -10981,7 +11053,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -11049,7 +11121,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -11117,7 +11189,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -11185,7 +11257,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -11253,7 +11325,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -11321,7 +11393,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -11389,7 +11461,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -11457,7 +11529,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -11525,7 +11597,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -11593,7 +11665,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -11661,7 +11733,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -11729,7 +11801,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -11797,7 +11869,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -11865,7 +11937,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -11933,7 +12005,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -12001,7 +12073,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -12069,7 +12141,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -12137,7 +12209,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -12205,7 +12277,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -12273,7 +12345,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -12341,7 +12413,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -12409,7 +12481,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -12477,7 +12549,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -12545,7 +12617,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -12613,7 +12685,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -12681,7 +12753,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -12749,7 +12821,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -12817,7 +12889,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -12885,7 +12957,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -12953,7 +13025,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -13021,7 +13093,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -13089,7 +13161,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -13157,7 +13229,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -13225,7 +13297,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -13293,7 +13365,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -13361,7 +13433,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -13429,7 +13501,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -13497,7 +13569,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -13565,7 +13637,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -13633,7 +13705,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -13701,7 +13773,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -13769,7 +13841,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -13837,7 +13909,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -13905,7 +13977,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -13973,7 +14045,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -14041,7 +14113,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -14109,7 +14181,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -14160,6 +14232,210 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## GETStoreIdMarket + +> GETStoreIdMarket(ctx, storeId).Execute() + +Retrieve the market associated to the store + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + storeId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.HasOneApi.GETStoreIdMarket(context.Background(), storeId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `HasOneApi.GETStoreIdMarket``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**storeId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETStoreIdMarketRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GETStoreIdMerchant + +> GETStoreIdMerchant(ctx, storeId).Execute() + +Retrieve the merchant associated to the store + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + storeId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.HasOneApi.GETStoreIdMerchant(context.Background(), storeId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `HasOneApi.GETStoreIdMerchant``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**storeId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETStoreIdMerchantRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GETStoreIdStockLocation + +> GETStoreIdStockLocation(ctx, storeId).Execute() + +Retrieve the stock location associated to the store + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + storeId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.HasOneApi.GETStoreIdStockLocation(context.Background(), storeId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `HasOneApi.GETStoreIdStockLocation``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**storeId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETStoreIdStockLocationRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## GETStripePaymentIdOrder > GETStripePaymentIdOrder(ctx, stripePaymentId).Execute() @@ -14177,7 +14453,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -14245,7 +14521,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -14313,7 +14589,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -14381,7 +14657,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -14449,7 +14725,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -14517,7 +14793,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -14585,7 +14861,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -14653,7 +14929,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/ImportUpdateData.md b/api/docs/ImportUpdateData.md index 373dea98e..c7bda20e5 100644 --- a/api/docs/ImportUpdateData.md +++ b/api/docs/ImportUpdateData.md @@ -6,14 +6,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Type** | **interface{}** | The resource's type | **Id** | **interface{}** | The resource's id | -**Attributes** | [**PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes**](PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md) | | +**Attributes** | [**PATCHCleanupsCleanupId200ResponseDataAttributes**](PATCHCleanupsCleanupId200ResponseDataAttributes.md) | | **Relationships** | Pointer to **interface{}** | | [optional] ## Methods ### NewImportUpdateData -`func NewImportUpdateData(type_ interface{}, id interface{}, attributes PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, ) *ImportUpdateData` +`func NewImportUpdateData(type_ interface{}, id interface{}, attributes PATCHCleanupsCleanupId200ResponseDataAttributes, ) *ImportUpdateData` NewImportUpdateData instantiates a new ImportUpdateData object This constructor will assign default values to properties that have it defined, @@ -90,20 +90,20 @@ SetId sets Id field to given value. UnsetId ensures that no value is present for Id, not even an explicit nil ### GetAttributes -`func (o *ImportUpdateData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes` +`func (o *ImportUpdateData) GetAttributes() PATCHCleanupsCleanupId200ResponseDataAttributes` GetAttributes returns the Attributes field if non-nil, zero value otherwise. ### GetAttributesOk -`func (o *ImportUpdateData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool)` +`func (o *ImportUpdateData) GetAttributesOk() (*PATCHCleanupsCleanupId200ResponseDataAttributes, bool)` GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAttributes -`func (o *ImportUpdateData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes)` +`func (o *ImportUpdateData) SetAttributes(v PATCHCleanupsCleanupId200ResponseDataAttributes)` SetAttributes sets Attributes field to given value. diff --git a/api/docs/ImportsApi.md b/api/docs/ImportsApi.md index b23b15b68..b995eefea 100644 --- a/api/docs/ImportsApi.md +++ b/api/docs/ImportsApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,11 +228,11 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { - importUpdate := *openapiclient.NewImportUpdate(*openapiclient.NewImportUpdateData(interface{}(123), interface{}(XGZwpOSrWL), *openapiclient.NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes())) // ImportUpdate | + importUpdate := *openapiclient.NewImportUpdate(*openapiclient.NewImportUpdateData(interface{}(123), interface{}(XGZwpOSrWL), *openapiclient.NewPATCHCleanupsCleanupId200ResponseDataAttributes())) // ImportUpdate | importId := TODO // interface{} | The resource's id configuration := openapiclient.NewConfiguration() @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/InStockSubscriptionCreateDataRelationships.md b/api/docs/InStockSubscriptionCreateDataRelationships.md index 967d13eb6..10a1f33c8 100644 --- a/api/docs/InStockSubscriptionCreateDataRelationships.md +++ b/api/docs/InStockSubscriptionCreateDataRelationships.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Market** | [**BillingInfoValidationRuleCreateDataRelationshipsMarket**](BillingInfoValidationRuleCreateDataRelationshipsMarket.md) | | +**Market** | [**BundleCreateDataRelationshipsMarket**](BundleCreateDataRelationshipsMarket.md) | | **Customer** | [**CouponRecipientCreateDataRelationshipsCustomer**](CouponRecipientCreateDataRelationshipsCustomer.md) | | **Sku** | [**InStockSubscriptionCreateDataRelationshipsSku**](InStockSubscriptionCreateDataRelationshipsSku.md) | | @@ -12,7 +12,7 @@ Name | Type | Description | Notes ### NewInStockSubscriptionCreateDataRelationships -`func NewInStockSubscriptionCreateDataRelationships(market BillingInfoValidationRuleCreateDataRelationshipsMarket, customer CouponRecipientCreateDataRelationshipsCustomer, sku InStockSubscriptionCreateDataRelationshipsSku, ) *InStockSubscriptionCreateDataRelationships` +`func NewInStockSubscriptionCreateDataRelationships(market BundleCreateDataRelationshipsMarket, customer CouponRecipientCreateDataRelationshipsCustomer, sku InStockSubscriptionCreateDataRelationshipsSku, ) *InStockSubscriptionCreateDataRelationships` NewInStockSubscriptionCreateDataRelationships instantiates a new InStockSubscriptionCreateDataRelationships object This constructor will assign default values to properties that have it defined, @@ -29,20 +29,20 @@ but it doesn't guarantee that properties required by API are set ### GetMarket -`func (o *InStockSubscriptionCreateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket` +`func (o *InStockSubscriptionCreateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket` GetMarket returns the Market field if non-nil, zero value otherwise. ### GetMarketOk -`func (o *InStockSubscriptionCreateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool)` +`func (o *InStockSubscriptionCreateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool)` GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMarket -`func (o *InStockSubscriptionCreateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket)` +`func (o *InStockSubscriptionCreateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket)` SetMarket sets Market field to given value. diff --git a/api/docs/InStockSubscriptionUpdateDataRelationships.md b/api/docs/InStockSubscriptionUpdateDataRelationships.md index e3f2f62f8..d0462e602 100644 --- a/api/docs/InStockSubscriptionUpdateDataRelationships.md +++ b/api/docs/InStockSubscriptionUpdateDataRelationships.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Market** | Pointer to [**BillingInfoValidationRuleCreateDataRelationshipsMarket**](BillingInfoValidationRuleCreateDataRelationshipsMarket.md) | | [optional] +**Market** | Pointer to [**BundleCreateDataRelationshipsMarket**](BundleCreateDataRelationshipsMarket.md) | | [optional] **Customer** | Pointer to [**CouponRecipientCreateDataRelationshipsCustomer**](CouponRecipientCreateDataRelationshipsCustomer.md) | | [optional] **Sku** | Pointer to [**InStockSubscriptionCreateDataRelationshipsSku**](InStockSubscriptionCreateDataRelationshipsSku.md) | | [optional] @@ -29,20 +29,20 @@ but it doesn't guarantee that properties required by API are set ### GetMarket -`func (o *InStockSubscriptionUpdateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket` +`func (o *InStockSubscriptionUpdateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket` GetMarket returns the Market field if non-nil, zero value otherwise. ### GetMarketOk -`func (o *InStockSubscriptionUpdateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool)` +`func (o *InStockSubscriptionUpdateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool)` GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMarket -`func (o *InStockSubscriptionUpdateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket)` +`func (o *InStockSubscriptionUpdateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket)` SetMarket sets Market field to given value. diff --git a/api/docs/InStockSubscriptionsApi.md b/api/docs/InStockSubscriptionsApi.md index e2e7dd266..32932f764 100644 --- a/api/docs/InStockSubscriptionsApi.md +++ b/api/docs/InStockSubscriptionsApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/InventoryModelsApi.md b/api/docs/InventoryModelsApi.md index b2f5815dd..93c4601c2 100644 --- a/api/docs/InventoryModelsApi.md +++ b/api/docs/InventoryModelsApi.md @@ -32,7 +32,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -100,7 +100,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -161,7 +161,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -231,7 +231,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -299,7 +299,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -367,7 +367,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -435,7 +435,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -507,7 +507,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/InventoryReturnLocationsApi.md b/api/docs/InventoryReturnLocationsApi.md index a79fe5f5b..04b256f48 100644 --- a/api/docs/InventoryReturnLocationsApi.md +++ b/api/docs/InventoryReturnLocationsApi.md @@ -31,7 +31,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -99,7 +99,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -167,7 +167,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -298,7 +298,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -366,7 +366,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -438,7 +438,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/InventoryStockLocationsApi.md b/api/docs/InventoryStockLocationsApi.md index 7abb0e437..d3a8f78a3 100644 --- a/api/docs/InventoryStockLocationsApi.md +++ b/api/docs/InventoryStockLocationsApi.md @@ -32,7 +32,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -100,7 +100,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -168,7 +168,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -229,7 +229,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -299,7 +299,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -367,7 +367,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -435,7 +435,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -507,7 +507,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/KlarnaGatewaysApi.md b/api/docs/KlarnaGatewaysApi.md index 4c8371d84..83158f6a3 100644 --- a/api/docs/KlarnaGatewaysApi.md +++ b/api/docs/KlarnaGatewaysApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/KlarnaPaymentsApi.md b/api/docs/KlarnaPaymentsApi.md index ad9af0931..9615cad95 100644 --- a/api/docs/KlarnaPaymentsApi.md +++ b/api/docs/KlarnaPaymentsApi.md @@ -30,7 +30,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -98,7 +98,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -166,7 +166,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -227,7 +227,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -297,7 +297,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -369,7 +369,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/LineItemDataRelationships.md b/api/docs/LineItemDataRelationships.md index e57cf649c..385ef98ec 100644 --- a/api/docs/LineItemDataRelationships.md +++ b/api/docs/LineItemDataRelationships.md @@ -17,6 +17,7 @@ Name | Type | Description | Notes **StockReservations** | Pointer to [**LineItemDataRelationshipsStockReservations**](LineItemDataRelationshipsStockReservations.md) | | [optional] **StockLineItems** | Pointer to [**LineItemDataRelationshipsStockLineItems**](LineItemDataRelationshipsStockLineItems.md) | | [optional] **StockTransfers** | Pointer to [**LineItemDataRelationshipsStockTransfers**](LineItemDataRelationshipsStockTransfers.md) | | [optional] +**Notifications** | Pointer to [**LineItemDataRelationshipsNotifications**](LineItemDataRelationshipsNotifications.md) | | [optional] **Events** | Pointer to [**AddressDataRelationshipsEvents**](AddressDataRelationshipsEvents.md) | | [optional] **Tags** | Pointer to [**AddressDataRelationshipsTags**](AddressDataRelationshipsTags.md) | | [optional] @@ -364,6 +365,31 @@ SetStockTransfers sets StockTransfers field to given value. HasStockTransfers returns a boolean if a field has been set. +### GetNotifications + +`func (o *LineItemDataRelationships) GetNotifications() LineItemDataRelationshipsNotifications` + +GetNotifications returns the Notifications field if non-nil, zero value otherwise. + +### GetNotificationsOk + +`func (o *LineItemDataRelationships) GetNotificationsOk() (*LineItemDataRelationshipsNotifications, bool)` + +GetNotificationsOk returns a tuple with the Notifications field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNotifications + +`func (o *LineItemDataRelationships) SetNotifications(v LineItemDataRelationshipsNotifications)` + +SetNotifications sets Notifications field to given value. + +### HasNotifications + +`func (o *LineItemDataRelationships) HasNotifications() bool` + +HasNotifications returns a boolean if a field has been set. + ### GetEvents `func (o *LineItemDataRelationships) GetEvents() AddressDataRelationshipsEvents` diff --git a/api/docs/LineItemDataRelationshipsNotifications.md b/api/docs/LineItemDataRelationshipsNotifications.md new file mode 100644 index 000000000..233a4fbd4 --- /dev/null +++ b/api/docs/LineItemDataRelationshipsNotifications.md @@ -0,0 +1,56 @@ +# LineItemDataRelationshipsNotifications + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Data** | Pointer to [**LineItemDataRelationshipsNotificationsData**](LineItemDataRelationshipsNotificationsData.md) | | [optional] + +## Methods + +### NewLineItemDataRelationshipsNotifications + +`func NewLineItemDataRelationshipsNotifications() *LineItemDataRelationshipsNotifications` + +NewLineItemDataRelationshipsNotifications instantiates a new LineItemDataRelationshipsNotifications object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewLineItemDataRelationshipsNotificationsWithDefaults + +`func NewLineItemDataRelationshipsNotificationsWithDefaults() *LineItemDataRelationshipsNotifications` + +NewLineItemDataRelationshipsNotificationsWithDefaults instantiates a new LineItemDataRelationshipsNotifications object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetData + +`func (o *LineItemDataRelationshipsNotifications) GetData() LineItemDataRelationshipsNotificationsData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *LineItemDataRelationshipsNotifications) GetDataOk() (*LineItemDataRelationshipsNotificationsData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *LineItemDataRelationshipsNotifications) SetData(v LineItemDataRelationshipsNotificationsData)` + +SetData sets Data field to given value. + +### HasData + +`func (o *LineItemDataRelationshipsNotifications) HasData() bool` + +HasData returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/LineItemDataRelationshipsNotificationsData.md b/api/docs/LineItemDataRelationshipsNotificationsData.md new file mode 100644 index 000000000..da5d09e4a --- /dev/null +++ b/api/docs/LineItemDataRelationshipsNotificationsData.md @@ -0,0 +1,102 @@ +# LineItemDataRelationshipsNotificationsData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | Pointer to **interface{}** | The resource's type | [optional] +**Id** | Pointer to **interface{}** | The resource's id | [optional] + +## Methods + +### NewLineItemDataRelationshipsNotificationsData + +`func NewLineItemDataRelationshipsNotificationsData() *LineItemDataRelationshipsNotificationsData` + +NewLineItemDataRelationshipsNotificationsData instantiates a new LineItemDataRelationshipsNotificationsData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewLineItemDataRelationshipsNotificationsDataWithDefaults + +`func NewLineItemDataRelationshipsNotificationsDataWithDefaults() *LineItemDataRelationshipsNotificationsData` + +NewLineItemDataRelationshipsNotificationsDataWithDefaults instantiates a new LineItemDataRelationshipsNotificationsData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetType + +`func (o *LineItemDataRelationshipsNotificationsData) GetType() interface{}` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *LineItemDataRelationshipsNotificationsData) GetTypeOk() (*interface{}, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *LineItemDataRelationshipsNotificationsData) SetType(v interface{})` + +SetType sets Type field to given value. + +### HasType + +`func (o *LineItemDataRelationshipsNotificationsData) HasType() bool` + +HasType returns a boolean if a field has been set. + +### SetTypeNil + +`func (o *LineItemDataRelationshipsNotificationsData) SetTypeNil(b bool)` + + SetTypeNil sets the value for Type to be an explicit nil + +### UnsetType +`func (o *LineItemDataRelationshipsNotificationsData) UnsetType()` + +UnsetType ensures that no value is present for Type, not even an explicit nil +### GetId + +`func (o *LineItemDataRelationshipsNotificationsData) GetId() interface{}` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *LineItemDataRelationshipsNotificationsData) GetIdOk() (*interface{}, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *LineItemDataRelationshipsNotificationsData) SetId(v interface{})` + +SetId sets Id field to given value. + +### HasId + +`func (o *LineItemDataRelationshipsNotificationsData) HasId() bool` + +HasId returns a boolean if a field has been set. + +### SetIdNil + +`func (o *LineItemDataRelationshipsNotificationsData) SetIdNil(b bool)` + + SetIdNil sets the value for Id to be an explicit nil + +### UnsetId +`func (o *LineItemDataRelationshipsNotificationsData) UnsetId()` + +UnsetId ensures that no value is present for Id, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/LineItemOptionsApi.md b/api/docs/LineItemOptionsApi.md index 90de91511..1a3145552 100644 --- a/api/docs/LineItemOptionsApi.md +++ b/api/docs/LineItemOptionsApi.md @@ -31,7 +31,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -99,7 +99,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -167,7 +167,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -298,7 +298,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -366,7 +366,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -438,7 +438,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/LineItemsApi.md b/api/docs/LineItemsApi.md index 67fb004ef..2c80287c9 100644 --- a/api/docs/LineItemsApi.md +++ b/api/docs/LineItemsApi.md @@ -37,7 +37,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -105,7 +105,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -173,7 +173,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -234,7 +234,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -304,7 +304,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -372,7 +372,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -440,7 +440,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -508,7 +508,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -576,7 +576,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -644,7 +644,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -712,7 +712,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -780,7 +780,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -852,7 +852,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/LinksApi.md b/api/docs/LinksApi.md index 028c5d1d4..5aa604ea3 100644 --- a/api/docs/LinksApi.md +++ b/api/docs/LinksApi.md @@ -32,7 +32,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -100,7 +100,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -161,7 +161,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -231,7 +231,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -299,7 +299,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -367,7 +367,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -435,7 +435,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -507,7 +507,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/ManualGatewaysApi.md b/api/docs/ManualGatewaysApi.md index f3b46f667..40f4f9f10 100644 --- a/api/docs/ManualGatewaysApi.md +++ b/api/docs/ManualGatewaysApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/ManualTaxCalculatorsApi.md b/api/docs/ManualTaxCalculatorsApi.md index d899803fb..91cca486c 100644 --- a/api/docs/ManualTaxCalculatorsApi.md +++ b/api/docs/ManualTaxCalculatorsApi.md @@ -30,7 +30,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -98,7 +98,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -159,7 +159,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -229,7 +229,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -297,7 +297,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -369,7 +369,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/MarketDataRelationships.md b/api/docs/MarketDataRelationships.md index 76f6ab4fd..4109d1c5e 100644 --- a/api/docs/MarketDataRelationships.md +++ b/api/docs/MarketDataRelationships.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **TaxCalculator** | Pointer to [**MarketDataRelationshipsTaxCalculator**](MarketDataRelationshipsTaxCalculator.md) | | [optional] **CustomerGroup** | Pointer to [**CustomerDataRelationshipsCustomerGroup**](CustomerDataRelationshipsCustomerGroup.md) | | [optional] **Geocoder** | Pointer to [**AddressDataRelationshipsGeocoder**](AddressDataRelationshipsGeocoder.md) | | [optional] +**Stores** | Pointer to [**MarketDataRelationshipsStores**](MarketDataRelationshipsStores.md) | | [optional] **PriceListSchedulers** | Pointer to [**MarketDataRelationshipsPriceListSchedulers**](MarketDataRelationshipsPriceListSchedulers.md) | | [optional] **Attachments** | Pointer to [**AuthorizationDataRelationshipsAttachments**](AuthorizationDataRelationshipsAttachments.md) | | [optional] **Versions** | Pointer to [**AddressDataRelationshipsVersions**](AddressDataRelationshipsVersions.md) | | [optional] @@ -235,6 +236,31 @@ SetGeocoder sets Geocoder field to given value. HasGeocoder returns a boolean if a field has been set. +### GetStores + +`func (o *MarketDataRelationships) GetStores() MarketDataRelationshipsStores` + +GetStores returns the Stores field if non-nil, zero value otherwise. + +### GetStoresOk + +`func (o *MarketDataRelationships) GetStoresOk() (*MarketDataRelationshipsStores, bool)` + +GetStoresOk returns a tuple with the Stores field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStores + +`func (o *MarketDataRelationships) SetStores(v MarketDataRelationshipsStores)` + +SetStores sets Stores field to given value. + +### HasStores + +`func (o *MarketDataRelationships) HasStores() bool` + +HasStores returns a boolean if a field has been set. + ### GetPriceListSchedulers `func (o *MarketDataRelationships) GetPriceListSchedulers() MarketDataRelationshipsPriceListSchedulers` diff --git a/api/docs/MarketDataRelationshipsStores.md b/api/docs/MarketDataRelationshipsStores.md new file mode 100644 index 000000000..fba55671c --- /dev/null +++ b/api/docs/MarketDataRelationshipsStores.md @@ -0,0 +1,56 @@ +# MarketDataRelationshipsStores + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Data** | Pointer to [**MarketDataRelationshipsStoresData**](MarketDataRelationshipsStoresData.md) | | [optional] + +## Methods + +### NewMarketDataRelationshipsStores + +`func NewMarketDataRelationshipsStores() *MarketDataRelationshipsStores` + +NewMarketDataRelationshipsStores instantiates a new MarketDataRelationshipsStores object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewMarketDataRelationshipsStoresWithDefaults + +`func NewMarketDataRelationshipsStoresWithDefaults() *MarketDataRelationshipsStores` + +NewMarketDataRelationshipsStoresWithDefaults instantiates a new MarketDataRelationshipsStores object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetData + +`func (o *MarketDataRelationshipsStores) GetData() MarketDataRelationshipsStoresData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *MarketDataRelationshipsStores) GetDataOk() (*MarketDataRelationshipsStoresData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *MarketDataRelationshipsStores) SetData(v MarketDataRelationshipsStoresData)` + +SetData sets Data field to given value. + +### HasData + +`func (o *MarketDataRelationshipsStores) HasData() bool` + +HasData returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/MarketDataRelationshipsStoresData.md b/api/docs/MarketDataRelationshipsStoresData.md new file mode 100644 index 000000000..312a94330 --- /dev/null +++ b/api/docs/MarketDataRelationshipsStoresData.md @@ -0,0 +1,102 @@ +# MarketDataRelationshipsStoresData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | Pointer to **interface{}** | The resource's type | [optional] +**Id** | Pointer to **interface{}** | The resource's id | [optional] + +## Methods + +### NewMarketDataRelationshipsStoresData + +`func NewMarketDataRelationshipsStoresData() *MarketDataRelationshipsStoresData` + +NewMarketDataRelationshipsStoresData instantiates a new MarketDataRelationshipsStoresData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewMarketDataRelationshipsStoresDataWithDefaults + +`func NewMarketDataRelationshipsStoresDataWithDefaults() *MarketDataRelationshipsStoresData` + +NewMarketDataRelationshipsStoresDataWithDefaults instantiates a new MarketDataRelationshipsStoresData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetType + +`func (o *MarketDataRelationshipsStoresData) GetType() interface{}` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *MarketDataRelationshipsStoresData) GetTypeOk() (*interface{}, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *MarketDataRelationshipsStoresData) SetType(v interface{})` + +SetType sets Type field to given value. + +### HasType + +`func (o *MarketDataRelationshipsStoresData) HasType() bool` + +HasType returns a boolean if a field has been set. + +### SetTypeNil + +`func (o *MarketDataRelationshipsStoresData) SetTypeNil(b bool)` + + SetTypeNil sets the value for Type to be an explicit nil + +### UnsetType +`func (o *MarketDataRelationshipsStoresData) UnsetType()` + +UnsetType ensures that no value is present for Type, not even an explicit nil +### GetId + +`func (o *MarketDataRelationshipsStoresData) GetId() interface{}` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *MarketDataRelationshipsStoresData) GetIdOk() (*interface{}, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *MarketDataRelationshipsStoresData) SetId(v interface{})` + +SetId sets Id field to given value. + +### HasId + +`func (o *MarketDataRelationshipsStoresData) HasId() bool` + +HasId returns a boolean if a field has been set. + +### SetIdNil + +`func (o *MarketDataRelationshipsStoresData) SetIdNil(b bool)` + + SetIdNil sets the value for Id to be an explicit nil + +### UnsetId +`func (o *MarketDataRelationshipsStoresData) UnsetId()` + +UnsetId ensures that no value is present for Id, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/MarketsApi.md b/api/docs/MarketsApi.md index 43c267a43..fb4fbaa9d 100644 --- a/api/docs/MarketsApi.md +++ b/api/docs/MarketsApi.md @@ -6,7 +6,6 @@ Method | HTTP request | Description ------------- | ------------- | ------------- [**DELETEMarketsMarketId**](MarketsApi.md#DELETEMarketsMarketId) | **Delete** /markets/{marketId} | Delete a market [**GETAvalaraAccountIdMarkets**](MarketsApi.md#GETAvalaraAccountIdMarkets) | **Get** /avalara_accounts/{avalaraAccountId}/markets | Retrieve the markets associated to the avalara account -[**GETBillingInfoValidationRuleIdMarket**](MarketsApi.md#GETBillingInfoValidationRuleIdMarket) | **Get** /billing_info_validation_rules/{billingInfoValidationRuleId}/market | Retrieve the market associated to the billing info validation rule [**GETBingGeocoderIdMarkets**](MarketsApi.md#GETBingGeocoderIdMarkets) | **Get** /bing_geocoders/{bingGeocoderId}/markets | Retrieve the markets associated to the bing geocoder [**GETBundleIdMarket**](MarketsApi.md#GETBundleIdMarket) | **Get** /bundles/{bundleId}/market | Retrieve the market associated to the bundle [**GETBuyXPayYPromotionIdMarket**](MarketsApi.md#GETBuyXPayYPromotionIdMarket) | **Get** /buy_x_pay_y_promotions/{buyXPayYPromotionId}/market | Retrieve the market associated to the buy x pay y promotion @@ -35,6 +34,7 @@ Method | HTTP request | Description [**GETShippingMethodIdMarket**](MarketsApi.md#GETShippingMethodIdMarket) | **Get** /shipping_methods/{shippingMethodId}/market | Retrieve the market associated to the shipping method [**GETSkuIdJwtMarkets**](MarketsApi.md#GETSkuIdJwtMarkets) | **Get** /skus/{skuId}/jwt_markets | Retrieve the jwt markets associated to the SKU [**GETSkuOptionIdMarket**](MarketsApi.md#GETSkuOptionIdMarket) | **Get** /sku_options/{skuOptionId}/market | Retrieve the market associated to the SKU option +[**GETStoreIdMarket**](MarketsApi.md#GETStoreIdMarket) | **Get** /stores/{storeId}/market | Retrieve the market associated to the store [**GETSubscriptionModelIdMarkets**](MarketsApi.md#GETSubscriptionModelIdMarkets) | **Get** /subscription_models/{subscriptionModelId}/markets | Retrieve the markets associated to the subscription model [**GETTaxCalculatorIdMarkets**](MarketsApi.md#GETTaxCalculatorIdMarkets) | **Get** /tax_calculators/{taxCalculatorId}/markets | Retrieve the markets associated to the tax calculator [**GETTaxjarAccountIdMarkets**](MarketsApi.md#GETTaxjarAccountIdMarkets) | **Get** /taxjar_accounts/{taxjarAccountId}/markets | Retrieve the markets associated to the taxjar account @@ -60,7 +60,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -128,7 +128,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -179,74 +179,6 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## GETBillingInfoValidationRuleIdMarket - -> GETBillingInfoValidationRuleIdMarket(ctx, billingInfoValidationRuleId).Execute() - -Retrieve the market associated to the billing info validation rule - - - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" -) - -func main() { - billingInfoValidationRuleId := TODO // interface{} | The resource's id - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.MarketsApi.GETBillingInfoValidationRuleIdMarket(context.Background(), billingInfoValidationRuleId).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `MarketsApi.GETBillingInfoValidationRuleIdMarket``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } -} -``` - -### Path Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**billingInfoValidationRuleId** | [**interface{}**](.md) | The resource's id | - -### Other Parameters - -Other parameters are passed through a pointer to a apiGETBillingInfoValidationRuleIdMarketRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - -### Return type - - (empty response body) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - ## GETBingGeocoderIdMarkets > GETBingGeocoderIdMarkets(ctx, bingGeocoderId).Execute() @@ -264,7 +196,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -332,7 +264,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -400,7 +332,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -468,7 +400,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -536,7 +468,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -604,7 +536,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -672,7 +604,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -740,7 +672,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -808,7 +740,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -876,7 +808,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -944,7 +876,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1012,7 +944,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1080,7 +1012,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1148,7 +1080,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1216,7 +1148,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1284,7 +1216,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1352,7 +1284,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1413,7 +1345,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1483,7 +1415,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1551,7 +1483,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1619,7 +1551,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1687,7 +1619,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1755,7 +1687,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1823,7 +1755,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1891,7 +1823,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1959,7 +1891,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2027,7 +1959,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2095,7 +2027,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2146,6 +2078,74 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## GETStoreIdMarket + +> GETStoreIdMarket(ctx, storeId).Execute() + +Retrieve the market associated to the store + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + storeId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.MarketsApi.GETStoreIdMarket(context.Background(), storeId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `MarketsApi.GETStoreIdMarket``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**storeId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETStoreIdMarketRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## GETSubscriptionModelIdMarkets > GETSubscriptionModelIdMarkets(ctx, subscriptionModelId).Execute() @@ -2163,7 +2163,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2231,7 +2231,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2299,7 +2299,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2367,7 +2367,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2439,7 +2439,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/MerchantsApi.md b/api/docs/MerchantsApi.md index a9cee166e..3b0fd1f8c 100644 --- a/api/docs/MerchantsApi.md +++ b/api/docs/MerchantsApi.md @@ -8,6 +8,7 @@ Method | HTTP request | Description [**GETMarketIdMerchant**](MerchantsApi.md#GETMarketIdMerchant) | **Get** /markets/{marketId}/merchant | Retrieve the merchant associated to the market [**GETMerchants**](MerchantsApi.md#GETMerchants) | **Get** /merchants | List all merchants [**GETMerchantsMerchantId**](MerchantsApi.md#GETMerchantsMerchantId) | **Get** /merchants/{merchantId} | Retrieve a merchant +[**GETStoreIdMerchant**](MerchantsApi.md#GETStoreIdMerchant) | **Get** /stores/{storeId}/merchant | Retrieve the merchant associated to the store [**PATCHMerchantsMerchantId**](MerchantsApi.md#PATCHMerchantsMerchantId) | **Patch** /merchants/{merchantId} | Update a merchant [**POSTMerchants**](MerchantsApi.md#POSTMerchants) | **Post** /merchants | Create a merchant @@ -30,7 +31,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -98,7 +99,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -166,7 +167,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -227,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -280,6 +281,74 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## GETStoreIdMerchant + +> GETStoreIdMerchant(ctx, storeId).Execute() + +Retrieve the merchant associated to the store + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + storeId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.MerchantsApi.GETStoreIdMerchant(context.Background(), storeId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `MerchantsApi.GETStoreIdMerchant``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**storeId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETStoreIdMerchantRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## PATCHMerchantsMerchantId > PATCHMerchantsMerchantId200Response PATCHMerchantsMerchantId(ctx, merchantId).MerchantUpdate(merchantUpdate).Execute() @@ -297,7 +366,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -369,7 +438,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/BillingInfoValidationRule.md b/api/docs/Notification.md similarity index 54% rename from api/docs/BillingInfoValidationRule.md rename to api/docs/Notification.md index 8b6247ea0..2ea7a5c1d 100644 --- a/api/docs/BillingInfoValidationRule.md +++ b/api/docs/Notification.md @@ -1,52 +1,52 @@ -# BillingInfoValidationRule +# Notification ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Data** | Pointer to [**BillingInfoValidationRuleData**](BillingInfoValidationRuleData.md) | | [optional] +**Data** | Pointer to [**NotificationData**](NotificationData.md) | | [optional] ## Methods -### NewBillingInfoValidationRule +### NewNotification -`func NewBillingInfoValidationRule() *BillingInfoValidationRule` +`func NewNotification() *Notification` -NewBillingInfoValidationRule instantiates a new BillingInfoValidationRule object +NewNotification instantiates a new Notification object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed -### NewBillingInfoValidationRuleWithDefaults +### NewNotificationWithDefaults -`func NewBillingInfoValidationRuleWithDefaults() *BillingInfoValidationRule` +`func NewNotificationWithDefaults() *Notification` -NewBillingInfoValidationRuleWithDefaults instantiates a new BillingInfoValidationRule object +NewNotificationWithDefaults instantiates a new Notification object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetData -`func (o *BillingInfoValidationRule) GetData() BillingInfoValidationRuleData` +`func (o *Notification) GetData() NotificationData` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *BillingInfoValidationRule) GetDataOk() (*BillingInfoValidationRuleData, bool)` +`func (o *Notification) GetDataOk() (*NotificationData, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetData -`func (o *BillingInfoValidationRule) SetData(v BillingInfoValidationRuleData)` +`func (o *Notification) SetData(v NotificationData)` SetData sets Data field to given value. ### HasData -`func (o *BillingInfoValidationRule) HasData() bool` +`func (o *Notification) HasData() bool` HasData returns a boolean if a field has been set. diff --git a/api/docs/BillingInfoValidationRuleCreate.md b/api/docs/NotificationCreate.md similarity index 50% rename from api/docs/BillingInfoValidationRuleCreate.md rename to api/docs/NotificationCreate.md index f0fe9ccb9..8c003ab37 100644 --- a/api/docs/BillingInfoValidationRuleCreate.md +++ b/api/docs/NotificationCreate.md @@ -1,46 +1,46 @@ -# BillingInfoValidationRuleCreate +# NotificationCreate ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Data** | [**BillingInfoValidationRuleCreateData**](BillingInfoValidationRuleCreateData.md) | | +**Data** | [**NotificationCreateData**](NotificationCreateData.md) | | ## Methods -### NewBillingInfoValidationRuleCreate +### NewNotificationCreate -`func NewBillingInfoValidationRuleCreate(data BillingInfoValidationRuleCreateData, ) *BillingInfoValidationRuleCreate` +`func NewNotificationCreate(data NotificationCreateData, ) *NotificationCreate` -NewBillingInfoValidationRuleCreate instantiates a new BillingInfoValidationRuleCreate object +NewNotificationCreate instantiates a new NotificationCreate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed -### NewBillingInfoValidationRuleCreateWithDefaults +### NewNotificationCreateWithDefaults -`func NewBillingInfoValidationRuleCreateWithDefaults() *BillingInfoValidationRuleCreate` +`func NewNotificationCreateWithDefaults() *NotificationCreate` -NewBillingInfoValidationRuleCreateWithDefaults instantiates a new BillingInfoValidationRuleCreate object +NewNotificationCreateWithDefaults instantiates a new NotificationCreate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetData -`func (o *BillingInfoValidationRuleCreate) GetData() BillingInfoValidationRuleCreateData` +`func (o *NotificationCreate) GetData() NotificationCreateData` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *BillingInfoValidationRuleCreate) GetDataOk() (*BillingInfoValidationRuleCreateData, bool)` +`func (o *NotificationCreate) GetDataOk() (*NotificationCreateData, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetData -`func (o *BillingInfoValidationRuleCreate) SetData(v BillingInfoValidationRuleCreateData)` +`func (o *NotificationCreate) SetData(v NotificationCreateData)` SetData sets Data field to given value. diff --git a/api/docs/NotificationCreateData.md b/api/docs/NotificationCreateData.md new file mode 100644 index 000000000..5fb1bdfa6 --- /dev/null +++ b/api/docs/NotificationCreateData.md @@ -0,0 +1,108 @@ +# NotificationCreateData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **interface{}** | The resource's type | +**Attributes** | [**POSTNotifications201ResponseDataAttributes**](POSTNotifications201ResponseDataAttributes.md) | | +**Relationships** | Pointer to [**NotificationCreateDataRelationships**](NotificationCreateDataRelationships.md) | | [optional] + +## Methods + +### NewNotificationCreateData + +`func NewNotificationCreateData(type_ interface{}, attributes POSTNotifications201ResponseDataAttributes, ) *NotificationCreateData` + +NewNotificationCreateData instantiates a new NotificationCreateData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewNotificationCreateDataWithDefaults + +`func NewNotificationCreateDataWithDefaults() *NotificationCreateData` + +NewNotificationCreateDataWithDefaults instantiates a new NotificationCreateData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetType + +`func (o *NotificationCreateData) GetType() interface{}` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *NotificationCreateData) GetTypeOk() (*interface{}, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *NotificationCreateData) SetType(v interface{})` + +SetType sets Type field to given value. + + +### SetTypeNil + +`func (o *NotificationCreateData) SetTypeNil(b bool)` + + SetTypeNil sets the value for Type to be an explicit nil + +### UnsetType +`func (o *NotificationCreateData) UnsetType()` + +UnsetType ensures that no value is present for Type, not even an explicit nil +### GetAttributes + +`func (o *NotificationCreateData) GetAttributes() POSTNotifications201ResponseDataAttributes` + +GetAttributes returns the Attributes field if non-nil, zero value otherwise. + +### GetAttributesOk + +`func (o *NotificationCreateData) GetAttributesOk() (*POSTNotifications201ResponseDataAttributes, bool)` + +GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAttributes + +`func (o *NotificationCreateData) SetAttributes(v POSTNotifications201ResponseDataAttributes)` + +SetAttributes sets Attributes field to given value. + + +### GetRelationships + +`func (o *NotificationCreateData) GetRelationships() NotificationCreateDataRelationships` + +GetRelationships returns the Relationships field if non-nil, zero value otherwise. + +### GetRelationshipsOk + +`func (o *NotificationCreateData) GetRelationshipsOk() (*NotificationCreateDataRelationships, bool)` + +GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelationships + +`func (o *NotificationCreateData) SetRelationships(v NotificationCreateDataRelationships)` + +SetRelationships sets Relationships field to given value. + +### HasRelationships + +`func (o *NotificationCreateData) HasRelationships() bool` + +HasRelationships returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/NotificationCreateDataRelationships.md b/api/docs/NotificationCreateDataRelationships.md new file mode 100644 index 000000000..0fd4e2162 --- /dev/null +++ b/api/docs/NotificationCreateDataRelationships.md @@ -0,0 +1,51 @@ +# NotificationCreateDataRelationships + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Notifiable** | [**NotificationCreateDataRelationshipsNotifiable**](NotificationCreateDataRelationshipsNotifiable.md) | | + +## Methods + +### NewNotificationCreateDataRelationships + +`func NewNotificationCreateDataRelationships(notifiable NotificationCreateDataRelationshipsNotifiable, ) *NotificationCreateDataRelationships` + +NewNotificationCreateDataRelationships instantiates a new NotificationCreateDataRelationships object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewNotificationCreateDataRelationshipsWithDefaults + +`func NewNotificationCreateDataRelationshipsWithDefaults() *NotificationCreateDataRelationships` + +NewNotificationCreateDataRelationshipsWithDefaults instantiates a new NotificationCreateDataRelationships object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetNotifiable + +`func (o *NotificationCreateDataRelationships) GetNotifiable() NotificationCreateDataRelationshipsNotifiable` + +GetNotifiable returns the Notifiable field if non-nil, zero value otherwise. + +### GetNotifiableOk + +`func (o *NotificationCreateDataRelationships) GetNotifiableOk() (*NotificationCreateDataRelationshipsNotifiable, bool)` + +GetNotifiableOk returns a tuple with the Notifiable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNotifiable + +`func (o *NotificationCreateDataRelationships) SetNotifiable(v NotificationCreateDataRelationshipsNotifiable)` + +SetNotifiable sets Notifiable field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/NotificationCreateDataRelationshipsNotifiable.md b/api/docs/NotificationCreateDataRelationshipsNotifiable.md new file mode 100644 index 000000000..9e9c20fc9 --- /dev/null +++ b/api/docs/NotificationCreateDataRelationshipsNotifiable.md @@ -0,0 +1,51 @@ +# NotificationCreateDataRelationshipsNotifiable + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Data** | [**NotificationDataRelationshipsNotifiableData**](NotificationDataRelationshipsNotifiableData.md) | | + +## Methods + +### NewNotificationCreateDataRelationshipsNotifiable + +`func NewNotificationCreateDataRelationshipsNotifiable(data NotificationDataRelationshipsNotifiableData, ) *NotificationCreateDataRelationshipsNotifiable` + +NewNotificationCreateDataRelationshipsNotifiable instantiates a new NotificationCreateDataRelationshipsNotifiable object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewNotificationCreateDataRelationshipsNotifiableWithDefaults + +`func NewNotificationCreateDataRelationshipsNotifiableWithDefaults() *NotificationCreateDataRelationshipsNotifiable` + +NewNotificationCreateDataRelationshipsNotifiableWithDefaults instantiates a new NotificationCreateDataRelationshipsNotifiable object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetData + +`func (o *NotificationCreateDataRelationshipsNotifiable) GetData() NotificationDataRelationshipsNotifiableData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *NotificationCreateDataRelationshipsNotifiable) GetDataOk() (*NotificationDataRelationshipsNotifiableData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *NotificationCreateDataRelationshipsNotifiable) SetData(v NotificationDataRelationshipsNotifiableData)` + +SetData sets Data field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/NotificationData.md b/api/docs/NotificationData.md new file mode 100644 index 000000000..69cfaf23f --- /dev/null +++ b/api/docs/NotificationData.md @@ -0,0 +1,108 @@ +# NotificationData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **interface{}** | The resource's type | +**Attributes** | [**GETNotificationsNotificationId200ResponseDataAttributes**](GETNotificationsNotificationId200ResponseDataAttributes.md) | | +**Relationships** | Pointer to [**NotificationDataRelationships**](NotificationDataRelationships.md) | | [optional] + +## Methods + +### NewNotificationData + +`func NewNotificationData(type_ interface{}, attributes GETNotificationsNotificationId200ResponseDataAttributes, ) *NotificationData` + +NewNotificationData instantiates a new NotificationData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewNotificationDataWithDefaults + +`func NewNotificationDataWithDefaults() *NotificationData` + +NewNotificationDataWithDefaults instantiates a new NotificationData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetType + +`func (o *NotificationData) GetType() interface{}` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *NotificationData) GetTypeOk() (*interface{}, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *NotificationData) SetType(v interface{})` + +SetType sets Type field to given value. + + +### SetTypeNil + +`func (o *NotificationData) SetTypeNil(b bool)` + + SetTypeNil sets the value for Type to be an explicit nil + +### UnsetType +`func (o *NotificationData) UnsetType()` + +UnsetType ensures that no value is present for Type, not even an explicit nil +### GetAttributes + +`func (o *NotificationData) GetAttributes() GETNotificationsNotificationId200ResponseDataAttributes` + +GetAttributes returns the Attributes field if non-nil, zero value otherwise. + +### GetAttributesOk + +`func (o *NotificationData) GetAttributesOk() (*GETNotificationsNotificationId200ResponseDataAttributes, bool)` + +GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAttributes + +`func (o *NotificationData) SetAttributes(v GETNotificationsNotificationId200ResponseDataAttributes)` + +SetAttributes sets Attributes field to given value. + + +### GetRelationships + +`func (o *NotificationData) GetRelationships() NotificationDataRelationships` + +GetRelationships returns the Relationships field if non-nil, zero value otherwise. + +### GetRelationshipsOk + +`func (o *NotificationData) GetRelationshipsOk() (*NotificationDataRelationships, bool)` + +GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelationships + +`func (o *NotificationData) SetRelationships(v NotificationDataRelationships)` + +SetRelationships sets Relationships field to given value. + +### HasRelationships + +`func (o *NotificationData) HasRelationships() bool` + +HasRelationships returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/NotificationDataRelationships.md b/api/docs/NotificationDataRelationships.md new file mode 100644 index 000000000..d59a36fba --- /dev/null +++ b/api/docs/NotificationDataRelationships.md @@ -0,0 +1,56 @@ +# NotificationDataRelationships + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Notifiable** | Pointer to [**NotificationDataRelationshipsNotifiable**](NotificationDataRelationshipsNotifiable.md) | | [optional] + +## Methods + +### NewNotificationDataRelationships + +`func NewNotificationDataRelationships() *NotificationDataRelationships` + +NewNotificationDataRelationships instantiates a new NotificationDataRelationships object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewNotificationDataRelationshipsWithDefaults + +`func NewNotificationDataRelationshipsWithDefaults() *NotificationDataRelationships` + +NewNotificationDataRelationshipsWithDefaults instantiates a new NotificationDataRelationships object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetNotifiable + +`func (o *NotificationDataRelationships) GetNotifiable() NotificationDataRelationshipsNotifiable` + +GetNotifiable returns the Notifiable field if non-nil, zero value otherwise. + +### GetNotifiableOk + +`func (o *NotificationDataRelationships) GetNotifiableOk() (*NotificationDataRelationshipsNotifiable, bool)` + +GetNotifiableOk returns a tuple with the Notifiable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNotifiable + +`func (o *NotificationDataRelationships) SetNotifiable(v NotificationDataRelationshipsNotifiable)` + +SetNotifiable sets Notifiable field to given value. + +### HasNotifiable + +`func (o *NotificationDataRelationships) HasNotifiable() bool` + +HasNotifiable returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/NotificationDataRelationshipsNotifiable.md b/api/docs/NotificationDataRelationshipsNotifiable.md new file mode 100644 index 000000000..119faa298 --- /dev/null +++ b/api/docs/NotificationDataRelationshipsNotifiable.md @@ -0,0 +1,56 @@ +# NotificationDataRelationshipsNotifiable + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Data** | Pointer to [**NotificationDataRelationshipsNotifiableData**](NotificationDataRelationshipsNotifiableData.md) | | [optional] + +## Methods + +### NewNotificationDataRelationshipsNotifiable + +`func NewNotificationDataRelationshipsNotifiable() *NotificationDataRelationshipsNotifiable` + +NewNotificationDataRelationshipsNotifiable instantiates a new NotificationDataRelationshipsNotifiable object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewNotificationDataRelationshipsNotifiableWithDefaults + +`func NewNotificationDataRelationshipsNotifiableWithDefaults() *NotificationDataRelationshipsNotifiable` + +NewNotificationDataRelationshipsNotifiableWithDefaults instantiates a new NotificationDataRelationshipsNotifiable object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetData + +`func (o *NotificationDataRelationshipsNotifiable) GetData() NotificationDataRelationshipsNotifiableData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *NotificationDataRelationshipsNotifiable) GetDataOk() (*NotificationDataRelationshipsNotifiableData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *NotificationDataRelationshipsNotifiable) SetData(v NotificationDataRelationshipsNotifiableData)` + +SetData sets Data field to given value. + +### HasData + +`func (o *NotificationDataRelationshipsNotifiable) HasData() bool` + +HasData returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/NotificationDataRelationshipsNotifiableData.md b/api/docs/NotificationDataRelationshipsNotifiableData.md new file mode 100644 index 000000000..ba616bc3e --- /dev/null +++ b/api/docs/NotificationDataRelationshipsNotifiableData.md @@ -0,0 +1,102 @@ +# NotificationDataRelationshipsNotifiableData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | Pointer to **interface{}** | The resource's type | [optional] +**Id** | Pointer to **interface{}** | The resource's id | [optional] + +## Methods + +### NewNotificationDataRelationshipsNotifiableData + +`func NewNotificationDataRelationshipsNotifiableData() *NotificationDataRelationshipsNotifiableData` + +NewNotificationDataRelationshipsNotifiableData instantiates a new NotificationDataRelationshipsNotifiableData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewNotificationDataRelationshipsNotifiableDataWithDefaults + +`func NewNotificationDataRelationshipsNotifiableDataWithDefaults() *NotificationDataRelationshipsNotifiableData` + +NewNotificationDataRelationshipsNotifiableDataWithDefaults instantiates a new NotificationDataRelationshipsNotifiableData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetType + +`func (o *NotificationDataRelationshipsNotifiableData) GetType() interface{}` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *NotificationDataRelationshipsNotifiableData) GetTypeOk() (*interface{}, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *NotificationDataRelationshipsNotifiableData) SetType(v interface{})` + +SetType sets Type field to given value. + +### HasType + +`func (o *NotificationDataRelationshipsNotifiableData) HasType() bool` + +HasType returns a boolean if a field has been set. + +### SetTypeNil + +`func (o *NotificationDataRelationshipsNotifiableData) SetTypeNil(b bool)` + + SetTypeNil sets the value for Type to be an explicit nil + +### UnsetType +`func (o *NotificationDataRelationshipsNotifiableData) UnsetType()` + +UnsetType ensures that no value is present for Type, not even an explicit nil +### GetId + +`func (o *NotificationDataRelationshipsNotifiableData) GetId() interface{}` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *NotificationDataRelationshipsNotifiableData) GetIdOk() (*interface{}, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *NotificationDataRelationshipsNotifiableData) SetId(v interface{})` + +SetId sets Id field to given value. + +### HasId + +`func (o *NotificationDataRelationshipsNotifiableData) HasId() bool` + +HasId returns a boolean if a field has been set. + +### SetIdNil + +`func (o *NotificationDataRelationshipsNotifiableData) SetIdNil(b bool)` + + SetIdNil sets the value for Id to be an explicit nil + +### UnsetId +`func (o *NotificationDataRelationshipsNotifiableData) UnsetId()` + +UnsetId ensures that no value is present for Id, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/BillingInfoValidationRuleUpdate.md b/api/docs/NotificationUpdate.md similarity index 50% rename from api/docs/BillingInfoValidationRuleUpdate.md rename to api/docs/NotificationUpdate.md index cb1f6099b..034cc8c23 100644 --- a/api/docs/BillingInfoValidationRuleUpdate.md +++ b/api/docs/NotificationUpdate.md @@ -1,46 +1,46 @@ -# BillingInfoValidationRuleUpdate +# NotificationUpdate ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Data** | [**BillingInfoValidationRuleUpdateData**](BillingInfoValidationRuleUpdateData.md) | | +**Data** | [**NotificationUpdateData**](NotificationUpdateData.md) | | ## Methods -### NewBillingInfoValidationRuleUpdate +### NewNotificationUpdate -`func NewBillingInfoValidationRuleUpdate(data BillingInfoValidationRuleUpdateData, ) *BillingInfoValidationRuleUpdate` +`func NewNotificationUpdate(data NotificationUpdateData, ) *NotificationUpdate` -NewBillingInfoValidationRuleUpdate instantiates a new BillingInfoValidationRuleUpdate object +NewNotificationUpdate instantiates a new NotificationUpdate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed -### NewBillingInfoValidationRuleUpdateWithDefaults +### NewNotificationUpdateWithDefaults -`func NewBillingInfoValidationRuleUpdateWithDefaults() *BillingInfoValidationRuleUpdate` +`func NewNotificationUpdateWithDefaults() *NotificationUpdate` -NewBillingInfoValidationRuleUpdateWithDefaults instantiates a new BillingInfoValidationRuleUpdate object +NewNotificationUpdateWithDefaults instantiates a new NotificationUpdate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetData -`func (o *BillingInfoValidationRuleUpdate) GetData() BillingInfoValidationRuleUpdateData` +`func (o *NotificationUpdate) GetData() NotificationUpdateData` GetData returns the Data field if non-nil, zero value otherwise. ### GetDataOk -`func (o *BillingInfoValidationRuleUpdate) GetDataOk() (*BillingInfoValidationRuleUpdateData, bool)` +`func (o *NotificationUpdate) GetDataOk() (*NotificationUpdateData, bool)` GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetData -`func (o *BillingInfoValidationRuleUpdate) SetData(v BillingInfoValidationRuleUpdateData)` +`func (o *NotificationUpdate) SetData(v NotificationUpdateData)` SetData sets Data field to given value. diff --git a/api/docs/NotificationUpdateData.md b/api/docs/NotificationUpdateData.md new file mode 100644 index 000000000..efe99a6d6 --- /dev/null +++ b/api/docs/NotificationUpdateData.md @@ -0,0 +1,139 @@ +# NotificationUpdateData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **interface{}** | The resource's type | +**Id** | **interface{}** | The resource's id | +**Attributes** | [**PATCHNotificationsNotificationId200ResponseDataAttributes**](PATCHNotificationsNotificationId200ResponseDataAttributes.md) | | +**Relationships** | Pointer to [**NotificationUpdateDataRelationships**](NotificationUpdateDataRelationships.md) | | [optional] + +## Methods + +### NewNotificationUpdateData + +`func NewNotificationUpdateData(type_ interface{}, id interface{}, attributes PATCHNotificationsNotificationId200ResponseDataAttributes, ) *NotificationUpdateData` + +NewNotificationUpdateData instantiates a new NotificationUpdateData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewNotificationUpdateDataWithDefaults + +`func NewNotificationUpdateDataWithDefaults() *NotificationUpdateData` + +NewNotificationUpdateDataWithDefaults instantiates a new NotificationUpdateData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetType + +`func (o *NotificationUpdateData) GetType() interface{}` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *NotificationUpdateData) GetTypeOk() (*interface{}, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *NotificationUpdateData) SetType(v interface{})` + +SetType sets Type field to given value. + + +### SetTypeNil + +`func (o *NotificationUpdateData) SetTypeNil(b bool)` + + SetTypeNil sets the value for Type to be an explicit nil + +### UnsetType +`func (o *NotificationUpdateData) UnsetType()` + +UnsetType ensures that no value is present for Type, not even an explicit nil +### GetId + +`func (o *NotificationUpdateData) GetId() interface{}` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *NotificationUpdateData) GetIdOk() (*interface{}, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *NotificationUpdateData) SetId(v interface{})` + +SetId sets Id field to given value. + + +### SetIdNil + +`func (o *NotificationUpdateData) SetIdNil(b bool)` + + SetIdNil sets the value for Id to be an explicit nil + +### UnsetId +`func (o *NotificationUpdateData) UnsetId()` + +UnsetId ensures that no value is present for Id, not even an explicit nil +### GetAttributes + +`func (o *NotificationUpdateData) GetAttributes() PATCHNotificationsNotificationId200ResponseDataAttributes` + +GetAttributes returns the Attributes field if non-nil, zero value otherwise. + +### GetAttributesOk + +`func (o *NotificationUpdateData) GetAttributesOk() (*PATCHNotificationsNotificationId200ResponseDataAttributes, bool)` + +GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAttributes + +`func (o *NotificationUpdateData) SetAttributes(v PATCHNotificationsNotificationId200ResponseDataAttributes)` + +SetAttributes sets Attributes field to given value. + + +### GetRelationships + +`func (o *NotificationUpdateData) GetRelationships() NotificationUpdateDataRelationships` + +GetRelationships returns the Relationships field if non-nil, zero value otherwise. + +### GetRelationshipsOk + +`func (o *NotificationUpdateData) GetRelationshipsOk() (*NotificationUpdateDataRelationships, bool)` + +GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelationships + +`func (o *NotificationUpdateData) SetRelationships(v NotificationUpdateDataRelationships)` + +SetRelationships sets Relationships field to given value. + +### HasRelationships + +`func (o *NotificationUpdateData) HasRelationships() bool` + +HasRelationships returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/NotificationUpdateDataRelationships.md b/api/docs/NotificationUpdateDataRelationships.md new file mode 100644 index 000000000..d9005900d --- /dev/null +++ b/api/docs/NotificationUpdateDataRelationships.md @@ -0,0 +1,56 @@ +# NotificationUpdateDataRelationships + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Notifiable** | Pointer to [**NotificationCreateDataRelationshipsNotifiable**](NotificationCreateDataRelationshipsNotifiable.md) | | [optional] + +## Methods + +### NewNotificationUpdateDataRelationships + +`func NewNotificationUpdateDataRelationships() *NotificationUpdateDataRelationships` + +NewNotificationUpdateDataRelationships instantiates a new NotificationUpdateDataRelationships object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewNotificationUpdateDataRelationshipsWithDefaults + +`func NewNotificationUpdateDataRelationshipsWithDefaults() *NotificationUpdateDataRelationships` + +NewNotificationUpdateDataRelationshipsWithDefaults instantiates a new NotificationUpdateDataRelationships object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetNotifiable + +`func (o *NotificationUpdateDataRelationships) GetNotifiable() NotificationCreateDataRelationshipsNotifiable` + +GetNotifiable returns the Notifiable field if non-nil, zero value otherwise. + +### GetNotifiableOk + +`func (o *NotificationUpdateDataRelationships) GetNotifiableOk() (*NotificationCreateDataRelationshipsNotifiable, bool)` + +GetNotifiableOk returns a tuple with the Notifiable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNotifiable + +`func (o *NotificationUpdateDataRelationships) SetNotifiable(v NotificationCreateDataRelationshipsNotifiable)` + +SetNotifiable sets Notifiable field to given value. + +### HasNotifiable + +`func (o *NotificationUpdateDataRelationships) HasNotifiable() bool` + +HasNotifiable returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/NotificationsApi.md b/api/docs/NotificationsApi.md new file mode 100644 index 000000000..ecf6a56c6 --- /dev/null +++ b/api/docs/NotificationsApi.md @@ -0,0 +1,488 @@ +# \NotificationsApi + +All URIs are relative to *https://.commercelayer.io/api* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**DELETENotificationsNotificationId**](NotificationsApi.md#DELETENotificationsNotificationId) | **Delete** /notifications/{notificationId} | Delete a notification +[**GETLineItemIdNotifications**](NotificationsApi.md#GETLineItemIdNotifications) | **Get** /line_items/{lineItemId}/notifications | Retrieve the notifications associated to the line item +[**GETNotifications**](NotificationsApi.md#GETNotifications) | **Get** /notifications | List all notifications +[**GETNotificationsNotificationId**](NotificationsApi.md#GETNotificationsNotificationId) | **Get** /notifications/{notificationId} | Retrieve a notification +[**GETOrderIdNotifications**](NotificationsApi.md#GETOrderIdNotifications) | **Get** /orders/{orderId}/notifications | Retrieve the notifications associated to the order +[**PATCHNotificationsNotificationId**](NotificationsApi.md#PATCHNotificationsNotificationId) | **Patch** /notifications/{notificationId} | Update a notification +[**POSTNotifications**](NotificationsApi.md#POSTNotifications) | **Post** /notifications | Create a notification + + + +## DELETENotificationsNotificationId + +> DELETENotificationsNotificationId(ctx, notificationId).Execute() + +Delete a notification + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + notificationId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.NotificationsApi.DELETENotificationsNotificationId(context.Background(), notificationId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `NotificationsApi.DELETENotificationsNotificationId``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**notificationId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDELETENotificationsNotificationIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GETLineItemIdNotifications + +> GETLineItemIdNotifications(ctx, lineItemId).Execute() + +Retrieve the notifications associated to the line item + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + lineItemId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.NotificationsApi.GETLineItemIdNotifications(context.Background(), lineItemId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `NotificationsApi.GETLineItemIdNotifications``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**lineItemId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETLineItemIdNotificationsRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GETNotifications + +> GETNotifications200Response GETNotifications(ctx).Execute() + +List all notifications + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.NotificationsApi.GETNotifications(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `NotificationsApi.GETNotifications``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GETNotifications`: GETNotifications200Response + fmt.Fprintf(os.Stdout, "Response from `NotificationsApi.GETNotifications`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETNotificationsRequest struct via the builder pattern + + +### Return type + +[**GETNotifications200Response**](GETNotifications200Response.md) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/vnd.api+json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GETNotificationsNotificationId + +> GETNotificationsNotificationId200Response GETNotificationsNotificationId(ctx, notificationId).Execute() + +Retrieve a notification + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + notificationId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.NotificationsApi.GETNotificationsNotificationId(context.Background(), notificationId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `NotificationsApi.GETNotificationsNotificationId``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GETNotificationsNotificationId`: GETNotificationsNotificationId200Response + fmt.Fprintf(os.Stdout, "Response from `NotificationsApi.GETNotificationsNotificationId`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**notificationId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETNotificationsNotificationIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**GETNotificationsNotificationId200Response**](GETNotificationsNotificationId200Response.md) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/vnd.api+json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GETOrderIdNotifications + +> GETOrderIdNotifications(ctx, orderId).Execute() + +Retrieve the notifications associated to the order + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + orderId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.NotificationsApi.GETOrderIdNotifications(context.Background(), orderId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `NotificationsApi.GETOrderIdNotifications``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**orderId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETOrderIdNotificationsRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## PATCHNotificationsNotificationId + +> PATCHNotificationsNotificationId200Response PATCHNotificationsNotificationId(ctx, notificationId).NotificationUpdate(notificationUpdate).Execute() + +Update a notification + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + notificationUpdate := *openapiclient.NewNotificationUpdate(*openapiclient.NewNotificationUpdateData(interface{}(123), interface{}(XGZwpOSrWL), *openapiclient.NewPATCHNotificationsNotificationId200ResponseDataAttributes())) // NotificationUpdate | + notificationId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.NotificationsApi.PATCHNotificationsNotificationId(context.Background(), notificationId).NotificationUpdate(notificationUpdate).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `NotificationsApi.PATCHNotificationsNotificationId``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `PATCHNotificationsNotificationId`: PATCHNotificationsNotificationId200Response + fmt.Fprintf(os.Stdout, "Response from `NotificationsApi.PATCHNotificationsNotificationId`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**notificationId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiPATCHNotificationsNotificationIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **notificationUpdate** | [**NotificationUpdate**](NotificationUpdate.md) | | + + +### Return type + +[**PATCHNotificationsNotificationId200Response**](PATCHNotificationsNotificationId200Response.md) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: application/vnd.api+json +- **Accept**: application/vnd.api+json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## POSTNotifications + +> POSTNotifications201Response POSTNotifications(ctx).NotificationCreate(notificationCreate).Execute() + +Create a notification + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + notificationCreate := *openapiclient.NewNotificationCreate(*openapiclient.NewNotificationCreateData(interface{}(123), *openapiclient.NewPOSTNotifications201ResponseDataAttributes(interface{}(DDT transport document)))) // NotificationCreate | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.NotificationsApi.POSTNotifications(context.Background()).NotificationCreate(notificationCreate).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `NotificationsApi.POSTNotifications``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `POSTNotifications`: POSTNotifications201Response + fmt.Fprintf(os.Stdout, "Response from `NotificationsApi.POSTNotifications`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiPOSTNotificationsRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **notificationCreate** | [**NotificationCreate**](NotificationCreate.md) | | + +### Return type + +[**POSTNotifications201Response**](POSTNotifications201Response.md) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: application/vnd.api+json +- **Accept**: application/vnd.api+json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/api/docs/OrderAmountPromotionRulesApi.md b/api/docs/OrderAmountPromotionRulesApi.md index 7212a9803..29aeef828 100644 --- a/api/docs/OrderAmountPromotionRulesApi.md +++ b/api/docs/OrderAmountPromotionRulesApi.md @@ -37,7 +37,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -105,7 +105,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -173,7 +173,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -241,7 +241,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -309,7 +309,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -377,7 +377,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -445,7 +445,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -513,7 +513,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -574,7 +574,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -644,7 +644,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -712,7 +712,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -780,7 +780,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -852,7 +852,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/OrderCopiesApi.md b/api/docs/OrderCopiesApi.md index 9a6bf20ff..16a5b91f3 100644 --- a/api/docs/OrderCopiesApi.md +++ b/api/docs/OrderCopiesApi.md @@ -30,7 +30,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -98,7 +98,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -159,7 +159,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -229,7 +229,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -297,11 +297,11 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { - orderCopyUpdate := *openapiclient.NewOrderCopyUpdate(*openapiclient.NewOrderCopyUpdateData(interface{}(123), interface{}(XGZwpOSrWL), *openapiclient.NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes())) // OrderCopyUpdate | + orderCopyUpdate := *openapiclient.NewOrderCopyUpdate(*openapiclient.NewOrderCopyUpdateData(interface{}(123), interface{}(XGZwpOSrWL), *openapiclient.NewPATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes())) // OrderCopyUpdate | orderCopyId := TODO // interface{} | The resource's id configuration := openapiclient.NewConfiguration() @@ -369,7 +369,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/OrderCopyUpdateData.md b/api/docs/OrderCopyUpdateData.md index e9e7fb762..b75aa4eb7 100644 --- a/api/docs/OrderCopyUpdateData.md +++ b/api/docs/OrderCopyUpdateData.md @@ -6,14 +6,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Type** | **interface{}** | The resource's type | **Id** | **interface{}** | The resource's id | -**Attributes** | [**PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes**](PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md) | | +**Attributes** | [**PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes**](PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes.md) | | **Relationships** | Pointer to **interface{}** | | [optional] ## Methods ### NewOrderCopyUpdateData -`func NewOrderCopyUpdateData(type_ interface{}, id interface{}, attributes PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, ) *OrderCopyUpdateData` +`func NewOrderCopyUpdateData(type_ interface{}, id interface{}, attributes PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes, ) *OrderCopyUpdateData` NewOrderCopyUpdateData instantiates a new OrderCopyUpdateData object This constructor will assign default values to properties that have it defined, @@ -90,20 +90,20 @@ SetId sets Id field to given value. UnsetId ensures that no value is present for Id, not even an explicit nil ### GetAttributes -`func (o *OrderCopyUpdateData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes` +`func (o *OrderCopyUpdateData) GetAttributes() PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes` GetAttributes returns the Attributes field if non-nil, zero value otherwise. ### GetAttributesOk -`func (o *OrderCopyUpdateData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool)` +`func (o *OrderCopyUpdateData) GetAttributesOk() (*PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes, bool)` GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAttributes -`func (o *OrderCopyUpdateData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes)` +`func (o *OrderCopyUpdateData) SetAttributes(v PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes)` SetAttributes sets Attributes field to given value. diff --git a/api/docs/OrderCreateDataRelationships.md b/api/docs/OrderCreateDataRelationships.md index 840807bbf..d21ddd482 100644 --- a/api/docs/OrderCreateDataRelationships.md +++ b/api/docs/OrderCreateDataRelationships.md @@ -4,10 +4,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Market** | Pointer to [**BillingInfoValidationRuleCreateDataRelationshipsMarket**](BillingInfoValidationRuleCreateDataRelationshipsMarket.md) | | [optional] +**Market** | Pointer to [**BundleCreateDataRelationshipsMarket**](BundleCreateDataRelationshipsMarket.md) | | [optional] **Customer** | Pointer to [**CouponRecipientCreateDataRelationshipsCustomer**](CouponRecipientCreateDataRelationshipsCustomer.md) | | [optional] **ShippingAddress** | Pointer to [**CustomerAddressCreateDataRelationshipsAddress**](CustomerAddressCreateDataRelationshipsAddress.md) | | [optional] **BillingAddress** | Pointer to [**CustomerAddressCreateDataRelationshipsAddress**](CustomerAddressCreateDataRelationshipsAddress.md) | | [optional] +**Store** | Pointer to [**OrderCreateDataRelationshipsStore**](OrderCreateDataRelationshipsStore.md) | | [optional] **PaymentMethod** | Pointer to [**CustomerPaymentSourceCreateDataRelationshipsPaymentMethod**](CustomerPaymentSourceCreateDataRelationshipsPaymentMethod.md) | | [optional] **PaymentSource** | Pointer to [**CustomerPaymentSourceCreateDataRelationshipsPaymentSource**](CustomerPaymentSourceCreateDataRelationshipsPaymentSource.md) | | [optional] **Tags** | Pointer to [**AddressCreateDataRelationshipsTags**](AddressCreateDataRelationshipsTags.md) | | [optional] @@ -33,20 +34,20 @@ but it doesn't guarantee that properties required by API are set ### GetMarket -`func (o *OrderCreateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket` +`func (o *OrderCreateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket` GetMarket returns the Market field if non-nil, zero value otherwise. ### GetMarketOk -`func (o *OrderCreateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool)` +`func (o *OrderCreateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool)` GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMarket -`func (o *OrderCreateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket)` +`func (o *OrderCreateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket)` SetMarket sets Market field to given value. @@ -131,6 +132,31 @@ SetBillingAddress sets BillingAddress field to given value. HasBillingAddress returns a boolean if a field has been set. +### GetStore + +`func (o *OrderCreateDataRelationships) GetStore() OrderCreateDataRelationshipsStore` + +GetStore returns the Store field if non-nil, zero value otherwise. + +### GetStoreOk + +`func (o *OrderCreateDataRelationships) GetStoreOk() (*OrderCreateDataRelationshipsStore, bool)` + +GetStoreOk returns a tuple with the Store field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStore + +`func (o *OrderCreateDataRelationships) SetStore(v OrderCreateDataRelationshipsStore)` + +SetStore sets Store field to given value. + +### HasStore + +`func (o *OrderCreateDataRelationships) HasStore() bool` + +HasStore returns a boolean if a field has been set. + ### GetPaymentMethod `func (o *OrderCreateDataRelationships) GetPaymentMethod() CustomerPaymentSourceCreateDataRelationshipsPaymentMethod` diff --git a/api/docs/OrderCreateDataRelationshipsStore.md b/api/docs/OrderCreateDataRelationshipsStore.md new file mode 100644 index 000000000..8f2110e03 --- /dev/null +++ b/api/docs/OrderCreateDataRelationshipsStore.md @@ -0,0 +1,51 @@ +# OrderCreateDataRelationshipsStore + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Data** | [**MarketDataRelationshipsStoresData**](MarketDataRelationshipsStoresData.md) | | + +## Methods + +### NewOrderCreateDataRelationshipsStore + +`func NewOrderCreateDataRelationshipsStore(data MarketDataRelationshipsStoresData, ) *OrderCreateDataRelationshipsStore` + +NewOrderCreateDataRelationshipsStore instantiates a new OrderCreateDataRelationshipsStore object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewOrderCreateDataRelationshipsStoreWithDefaults + +`func NewOrderCreateDataRelationshipsStoreWithDefaults() *OrderCreateDataRelationshipsStore` + +NewOrderCreateDataRelationshipsStoreWithDefaults instantiates a new OrderCreateDataRelationshipsStore object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetData + +`func (o *OrderCreateDataRelationshipsStore) GetData() MarketDataRelationshipsStoresData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *OrderCreateDataRelationshipsStore) GetDataOk() (*MarketDataRelationshipsStoresData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *OrderCreateDataRelationshipsStore) SetData(v MarketDataRelationshipsStoresData)` + +SetData sets Data field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/OrderDataRelationships.md b/api/docs/OrderDataRelationships.md index 8b21f85ec..645793698 100644 --- a/api/docs/OrderDataRelationships.md +++ b/api/docs/OrderDataRelationships.md @@ -8,12 +8,13 @@ Name | Type | Description | Notes **Customer** | Pointer to [**CouponRecipientDataRelationshipsCustomer**](CouponRecipientDataRelationshipsCustomer.md) | | [optional] **ShippingAddress** | Pointer to [**BingGeocoderDataRelationshipsAddresses**](BingGeocoderDataRelationshipsAddresses.md) | | [optional] **BillingAddress** | Pointer to [**BingGeocoderDataRelationshipsAddresses**](BingGeocoderDataRelationshipsAddresses.md) | | [optional] +**Store** | Pointer to [**MarketDataRelationshipsStores**](MarketDataRelationshipsStores.md) | | [optional] **AvailablePaymentMethods** | Pointer to [**AdyenGatewayDataRelationshipsPaymentMethods**](AdyenGatewayDataRelationshipsPaymentMethods.md) | | [optional] **AvailableCustomerPaymentSources** | Pointer to [**CustomerDataRelationshipsCustomerPaymentSources**](CustomerDataRelationshipsCustomerPaymentSources.md) | | [optional] **AvailableFreeSkus** | Pointer to [**BundleDataRelationshipsSkus**](BundleDataRelationshipsSkus.md) | | [optional] **AvailableFreeBundles** | Pointer to [**LineItemDataRelationshipsBundle**](LineItemDataRelationshipsBundle.md) | | [optional] **PaymentMethod** | Pointer to [**AdyenGatewayDataRelationshipsPaymentMethods**](AdyenGatewayDataRelationshipsPaymentMethods.md) | | [optional] -**PaymentSource** | Pointer to [**CustomerPaymentSourceDataRelationshipsPaymentSource**](CustomerPaymentSourceDataRelationshipsPaymentSource.md) | | [optional] +**PaymentSource** | Pointer to [**AuthorizationDataRelationshipsPaymentSource**](AuthorizationDataRelationshipsPaymentSource.md) | | [optional] **LineItems** | Pointer to [**LineItemOptionDataRelationshipsLineItem**](LineItemOptionDataRelationshipsLineItem.md) | | [optional] **LineItemOptions** | Pointer to [**LineItemDataRelationshipsLineItemOptions**](LineItemDataRelationshipsLineItemOptions.md) | | [optional] **StockReservations** | Pointer to [**LineItemDataRelationshipsStockReservations**](LineItemDataRelationshipsStockReservations.md) | | [optional] @@ -33,6 +34,7 @@ Name | Type | Description | Notes **OrderCopies** | Pointer to [**OrderDataRelationshipsOrderCopies**](OrderDataRelationshipsOrderCopies.md) | | [optional] **RecurringOrderCopies** | Pointer to [**OrderSubscriptionDataRelationshipsRecurringOrderCopies**](OrderSubscriptionDataRelationshipsRecurringOrderCopies.md) | | [optional] **Attachments** | Pointer to [**AuthorizationDataRelationshipsAttachments**](AuthorizationDataRelationshipsAttachments.md) | | [optional] +**Notifications** | Pointer to [**LineItemDataRelationshipsNotifications**](LineItemDataRelationshipsNotifications.md) | | [optional] **Links** | Pointer to [**OrderDataRelationshipsLinks**](OrderDataRelationshipsLinks.md) | | [optional] **ResourceErrors** | Pointer to [**OrderDataRelationshipsResourceErrors**](OrderDataRelationshipsResourceErrors.md) | | [optional] **Events** | Pointer to [**AddressDataRelationshipsEvents**](AddressDataRelationshipsEvents.md) | | [optional] @@ -158,6 +160,31 @@ SetBillingAddress sets BillingAddress field to given value. HasBillingAddress returns a boolean if a field has been set. +### GetStore + +`func (o *OrderDataRelationships) GetStore() MarketDataRelationshipsStores` + +GetStore returns the Store field if non-nil, zero value otherwise. + +### GetStoreOk + +`func (o *OrderDataRelationships) GetStoreOk() (*MarketDataRelationshipsStores, bool)` + +GetStoreOk returns a tuple with the Store field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStore + +`func (o *OrderDataRelationships) SetStore(v MarketDataRelationshipsStores)` + +SetStore sets Store field to given value. + +### HasStore + +`func (o *OrderDataRelationships) HasStore() bool` + +HasStore returns a boolean if a field has been set. + ### GetAvailablePaymentMethods `func (o *OrderDataRelationships) GetAvailablePaymentMethods() AdyenGatewayDataRelationshipsPaymentMethods` @@ -285,20 +312,20 @@ HasPaymentMethod returns a boolean if a field has been set. ### GetPaymentSource -`func (o *OrderDataRelationships) GetPaymentSource() CustomerPaymentSourceDataRelationshipsPaymentSource` +`func (o *OrderDataRelationships) GetPaymentSource() AuthorizationDataRelationshipsPaymentSource` GetPaymentSource returns the PaymentSource field if non-nil, zero value otherwise. ### GetPaymentSourceOk -`func (o *OrderDataRelationships) GetPaymentSourceOk() (*CustomerPaymentSourceDataRelationshipsPaymentSource, bool)` +`func (o *OrderDataRelationships) GetPaymentSourceOk() (*AuthorizationDataRelationshipsPaymentSource, bool)` GetPaymentSourceOk returns a tuple with the PaymentSource field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPaymentSource -`func (o *OrderDataRelationships) SetPaymentSource(v CustomerPaymentSourceDataRelationshipsPaymentSource)` +`func (o *OrderDataRelationships) SetPaymentSource(v AuthorizationDataRelationshipsPaymentSource)` SetPaymentSource sets PaymentSource field to given value. @@ -783,6 +810,31 @@ SetAttachments sets Attachments field to given value. HasAttachments returns a boolean if a field has been set. +### GetNotifications + +`func (o *OrderDataRelationships) GetNotifications() LineItemDataRelationshipsNotifications` + +GetNotifications returns the Notifications field if non-nil, zero value otherwise. + +### GetNotificationsOk + +`func (o *OrderDataRelationships) GetNotificationsOk() (*LineItemDataRelationshipsNotifications, bool)` + +GetNotificationsOk returns a tuple with the Notifications field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNotifications + +`func (o *OrderDataRelationships) SetNotifications(v LineItemDataRelationshipsNotifications)` + +SetNotifications sets Notifications field to given value. + +### HasNotifications + +`func (o *OrderDataRelationships) HasNotifications() bool` + +HasNotifications returns a boolean if a field has been set. + ### GetLinks `func (o *OrderDataRelationships) GetLinks() OrderDataRelationshipsLinks` diff --git a/api/docs/OrderFactoriesApi.md b/api/docs/OrderFactoriesApi.md index 637671456..35e700524 100644 --- a/api/docs/OrderFactoriesApi.md +++ b/api/docs/OrderFactoriesApi.md @@ -28,7 +28,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -89,7 +89,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -159,7 +159,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -227,7 +227,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/OrderSubscriptionCreateDataRelationships.md b/api/docs/OrderSubscriptionCreateDataRelationships.md index a563b62b0..fd9dfd482 100644 --- a/api/docs/OrderSubscriptionCreateDataRelationships.md +++ b/api/docs/OrderSubscriptionCreateDataRelationships.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Market** | Pointer to [**BillingInfoValidationRuleCreateDataRelationshipsMarket**](BillingInfoValidationRuleCreateDataRelationshipsMarket.md) | | [optional] +**Market** | Pointer to [**BundleCreateDataRelationshipsMarket**](BundleCreateDataRelationshipsMarket.md) | | [optional] **SourceOrder** | [**AdyenPaymentCreateDataRelationshipsOrder**](AdyenPaymentCreateDataRelationshipsOrder.md) | | **Tags** | Pointer to [**AddressCreateDataRelationshipsTags**](AddressCreateDataRelationshipsTags.md) | | [optional] @@ -29,20 +29,20 @@ but it doesn't guarantee that properties required by API are set ### GetMarket -`func (o *OrderSubscriptionCreateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket` +`func (o *OrderSubscriptionCreateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket` GetMarket returns the Market field if non-nil, zero value otherwise. ### GetMarketOk -`func (o *OrderSubscriptionCreateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool)` +`func (o *OrderSubscriptionCreateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool)` GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMarket -`func (o *OrderSubscriptionCreateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket)` +`func (o *OrderSubscriptionCreateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket)` SetMarket sets Market field to given value. diff --git a/api/docs/OrderSubscriptionItemsApi.md b/api/docs/OrderSubscriptionItemsApi.md index dcc5c53e2..c869002da 100644 --- a/api/docs/OrderSubscriptionItemsApi.md +++ b/api/docs/OrderSubscriptionItemsApi.md @@ -30,7 +30,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -98,7 +98,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -166,7 +166,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -227,7 +227,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -297,7 +297,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -369,7 +369,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/OrderSubscriptionsApi.md b/api/docs/OrderSubscriptionsApi.md index 865e92c93..40392516a 100644 --- a/api/docs/OrderSubscriptionsApi.md +++ b/api/docs/OrderSubscriptionsApi.md @@ -36,7 +36,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -104,7 +104,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -172,7 +172,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -240,7 +240,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -308,7 +308,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -376,7 +376,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -444,7 +444,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -505,7 +505,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -575,7 +575,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -643,7 +643,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -711,7 +711,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -783,7 +783,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/OrdersApi.md b/api/docs/OrdersApi.md index 8519e011e..d512c88cf 100644 --- a/api/docs/OrdersApi.md +++ b/api/docs/OrdersApi.md @@ -23,6 +23,7 @@ Method | HTTP request | Description [**GETOrderSubscriptionIdSourceOrder**](OrdersApi.md#GETOrderSubscriptionIdSourceOrder) | **Get** /order_subscriptions/{orderSubscriptionId}/source_order | Retrieve the source order associated to the order subscription [**GETOrders**](OrdersApi.md#GETOrders) | **Get** /orders | List all orders [**GETOrdersOrderId**](OrdersApi.md#GETOrdersOrderId) | **Get** /orders/{orderId} | Retrieve an order +[**GETPaymentMethodIdOrders**](OrdersApi.md#GETPaymentMethodIdOrders) | **Get** /payment_methods/{paymentMethodId}/orders | Retrieve the orders associated to the payment method [**GETPaymentOptionIdOrder**](OrdersApi.md#GETPaymentOptionIdOrder) | **Get** /payment_options/{paymentOptionId}/order | Retrieve the order associated to the payment option [**GETPaypalPaymentIdOrder**](OrdersApi.md#GETPaypalPaymentIdOrder) | **Get** /paypal_payments/{paypalPaymentId}/order | Retrieve the order associated to the paypal payment [**GETRecurringOrderCopyIdSourceOrder**](OrdersApi.md#GETRecurringOrderCopyIdSourceOrder) | **Get** /recurring_order_copies/{recurringOrderCopyId}/source_order | Retrieve the source order associated to the recurring order copy @@ -32,6 +33,7 @@ Method | HTTP request | Description [**GETSatispayPaymentIdOrder**](OrdersApi.md#GETSatispayPaymentIdOrder) | **Get** /satispay_payments/{satispayPaymentId}/order | Retrieve the order associated to the satispay payment [**GETShipmentIdOrder**](OrdersApi.md#GETShipmentIdOrder) | **Get** /shipments/{shipmentId}/order | Retrieve the order associated to the shipment [**GETStockReservationIdOrder**](OrdersApi.md#GETStockReservationIdOrder) | **Get** /stock_reservations/{stockReservationId}/order | Retrieve the order associated to the stock reservation +[**GETStoreIdOrders**](OrdersApi.md#GETStoreIdOrders) | **Get** /stores/{storeId}/orders | Retrieve the orders associated to the store [**GETStripePaymentIdOrder**](OrdersApi.md#GETStripePaymentIdOrder) | **Get** /stripe_payments/{stripePaymentId}/order | Retrieve the order associated to the stripe payment [**GETTransactionIdOrder**](OrdersApi.md#GETTransactionIdOrder) | **Get** /transactions/{transactionId}/order | Retrieve the order associated to the transaction [**GETVoidIdOrder**](OrdersApi.md#GETVoidIdOrder) | **Get** /voids/{voidId}/order | Retrieve the order associated to the void @@ -58,7 +60,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -126,7 +128,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -194,7 +196,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -262,7 +264,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -330,7 +332,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -398,7 +400,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -466,7 +468,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -534,7 +536,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -602,7 +604,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -670,7 +672,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -738,7 +740,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -806,7 +808,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -874,7 +876,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -942,7 +944,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1010,7 +1012,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1078,7 +1080,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1146,7 +1148,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1214,7 +1216,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1275,7 +1277,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1328,6 +1330,74 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## GETPaymentMethodIdOrders + +> GETPaymentMethodIdOrders(ctx, paymentMethodId).Execute() + +Retrieve the orders associated to the payment method + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + paymentMethodId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.OrdersApi.GETPaymentMethodIdOrders(context.Background(), paymentMethodId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `OrdersApi.GETPaymentMethodIdOrders``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**paymentMethodId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETPaymentMethodIdOrdersRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## GETPaymentOptionIdOrder > GETPaymentOptionIdOrder(ctx, paymentOptionId).Execute() @@ -1345,7 +1415,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1413,7 +1483,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1481,7 +1551,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1549,7 +1619,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1617,7 +1687,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1685,7 +1755,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1753,7 +1823,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1821,7 +1891,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1889,7 +1959,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1940,6 +2010,74 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## GETStoreIdOrders + +> GETStoreIdOrders(ctx, storeId).Execute() + +Retrieve the orders associated to the store + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + storeId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.OrdersApi.GETStoreIdOrders(context.Background(), storeId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `OrdersApi.GETStoreIdOrders``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**storeId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETStoreIdOrdersRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## GETStripePaymentIdOrder > GETStripePaymentIdOrder(ctx, stripePaymentId).Execute() @@ -1957,7 +2095,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2025,7 +2163,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2093,7 +2231,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2161,7 +2299,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2229,7 +2367,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2301,7 +2439,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/OrganizationApi.md b/api/docs/OrganizationApi.md index b6835218b..decfdff23 100644 --- a/api/docs/OrganizationApi.md +++ b/api/docs/OrganizationApi.md @@ -25,7 +25,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response.md b/api/docs/PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response.md deleted file mode 100644 index 7d4b09ed3..000000000 --- a/api/docs/PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response.md +++ /dev/null @@ -1,56 +0,0 @@ -# PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Data** | Pointer to [**PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData**](PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData.md) | | [optional] - -## Methods - -### NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response - -`func NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response() *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response` - -NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response instantiates a new PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseWithDefaults - -`func NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseWithDefaults() *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response` - -NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseWithDefaults instantiates a new PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetData - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response) GetData() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData` - -GetData returns the Data field if non-nil, zero value otherwise. - -### GetDataOk - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response) GetDataOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData, bool)` - -GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetData - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response) SetData(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData)` - -SetData sets Data field to given value. - -### HasData - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response) HasData() bool` - -HasData returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api/docs/PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData.md b/api/docs/PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData.md deleted file mode 100644 index b8093ff53..000000000 --- a/api/docs/PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData.md +++ /dev/null @@ -1,180 +0,0 @@ -# PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Id** | Pointer to **interface{}** | The resource's id | [optional] -**Type** | Pointer to **interface{}** | The resource's type | [optional] -**Links** | Pointer to [**POSTAddresses201ResponseDataLinks**](POSTAddresses201ResponseDataLinks.md) | | [optional] -**Attributes** | Pointer to [**PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes**](PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md) | | [optional] -**Relationships** | Pointer to [**POSTBillingInfoValidationRules201ResponseDataRelationships**](POSTBillingInfoValidationRules201ResponseDataRelationships.md) | | [optional] - -## Methods - -### NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData - -`func NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData() *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData` - -NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData instantiates a new PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataWithDefaults - -`func NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataWithDefaults() *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData` - -NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataWithDefaults instantiates a new PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetId - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetId() interface{}` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetIdOk() (*interface{}, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) SetId(v interface{})` - -SetId sets Id field to given value. - -### HasId - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) HasId() bool` - -HasId returns a boolean if a field has been set. - -### SetIdNil - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) SetIdNil(b bool)` - - SetIdNil sets the value for Id to be an explicit nil - -### UnsetId -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) UnsetId()` - -UnsetId ensures that no value is present for Id, not even an explicit nil -### GetType - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetType() interface{}` - -GetType returns the Type field if non-nil, zero value otherwise. - -### GetTypeOk - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetTypeOk() (*interface{}, bool)` - -GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetType - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) SetType(v interface{})` - -SetType sets Type field to given value. - -### HasType - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) HasType() bool` - -HasType returns a boolean if a field has been set. - -### SetTypeNil - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) SetTypeNil(b bool)` - - SetTypeNil sets the value for Type to be an explicit nil - -### UnsetType -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) UnsetType()` - -UnsetType ensures that no value is present for Type, not even an explicit nil -### GetLinks - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetLinks() POSTAddresses201ResponseDataLinks` - -GetLinks returns the Links field if non-nil, zero value otherwise. - -### GetLinksOk - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetLinksOk() (*POSTAddresses201ResponseDataLinks, bool)` - -GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLinks - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) SetLinks(v POSTAddresses201ResponseDataLinks)` - -SetLinks sets Links field to given value. - -### HasLinks - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) HasLinks() bool` - -HasLinks returns a boolean if a field has been set. - -### GetAttributes - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes` - -GetAttributes returns the Attributes field if non-nil, zero value otherwise. - -### GetAttributesOk - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool)` - -GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAttributes - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes)` - -SetAttributes sets Attributes field to given value. - -### HasAttributes - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) HasAttributes() bool` - -HasAttributes returns a boolean if a field has been set. - -### GetRelationships - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetRelationships() POSTBillingInfoValidationRules201ResponseDataRelationships` - -GetRelationships returns the Relationships field if non-nil, zero value otherwise. - -### GetRelationshipsOk - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetRelationshipsOk() (*POSTBillingInfoValidationRules201ResponseDataRelationships, bool)` - -GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRelationships - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) SetRelationships(v POSTBillingInfoValidationRules201ResponseDataRelationships)` - -SetRelationships sets Relationships field to given value. - -### HasRelationships - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) HasRelationships() bool` - -HasRelationships returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api/docs/PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md b/api/docs/PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md deleted file mode 100644 index 5fea885a4..000000000 --- a/api/docs/PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md +++ /dev/null @@ -1,138 +0,0 @@ -# PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Reference** | Pointer to **interface{}** | A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. | [optional] -**ReferenceOrigin** | Pointer to **interface{}** | Any identifier of the third party system that defines the reference code. | [optional] -**Metadata** | Pointer to **interface{}** | Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. | [optional] - -## Methods - -### NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes - -`func NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes() *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes` - -NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes instantiates a new PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributesWithDefaults - -`func NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributesWithDefaults() *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes` - -NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributesWithDefaults instantiates a new PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetReference - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetReference() interface{}` - -GetReference returns the Reference field if non-nil, zero value otherwise. - -### GetReferenceOk - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetReferenceOk() (*interface{}, bool)` - -GetReferenceOk returns a tuple with the Reference field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReference - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) SetReference(v interface{})` - -SetReference sets Reference field to given value. - -### HasReference - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) HasReference() bool` - -HasReference returns a boolean if a field has been set. - -### SetReferenceNil - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) SetReferenceNil(b bool)` - - SetReferenceNil sets the value for Reference to be an explicit nil - -### UnsetReference -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) UnsetReference()` - -UnsetReference ensures that no value is present for Reference, not even an explicit nil -### GetReferenceOrigin - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetReferenceOrigin() interface{}` - -GetReferenceOrigin returns the ReferenceOrigin field if non-nil, zero value otherwise. - -### GetReferenceOriginOk - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetReferenceOriginOk() (*interface{}, bool)` - -GetReferenceOriginOk returns a tuple with the ReferenceOrigin field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReferenceOrigin - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) SetReferenceOrigin(v interface{})` - -SetReferenceOrigin sets ReferenceOrigin field to given value. - -### HasReferenceOrigin - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) HasReferenceOrigin() bool` - -HasReferenceOrigin returns a boolean if a field has been set. - -### SetReferenceOriginNil - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) SetReferenceOriginNil(b bool)` - - SetReferenceOriginNil sets the value for ReferenceOrigin to be an explicit nil - -### UnsetReferenceOrigin -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) UnsetReferenceOrigin()` - -UnsetReferenceOrigin ensures that no value is present for ReferenceOrigin, not even an explicit nil -### GetMetadata - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetMetadata() interface{}` - -GetMetadata returns the Metadata field if non-nil, zero value otherwise. - -### GetMetadataOk - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetMetadataOk() (*interface{}, bool)` - -GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMetadata - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) SetMetadata(v interface{})` - -SetMetadata sets Metadata field to given value. - -### HasMetadata - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) HasMetadata() bool` - -HasMetadata returns a boolean if a field has been set. - -### SetMetadataNil - -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) SetMetadataNil(b bool)` - - SetMetadataNil sets the value for Metadata to be an explicit nil - -### UnsetMetadata -`func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) UnsetMetadata()` - -UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api/docs/PATCHCarrierAccountsCarrierAccountId200ResponseData.md b/api/docs/PATCHCarrierAccountsCarrierAccountId200ResponseData.md index b76bc4af2..24d101009 100644 --- a/api/docs/PATCHCarrierAccountsCarrierAccountId200ResponseData.md +++ b/api/docs/PATCHCarrierAccountsCarrierAccountId200ResponseData.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **Type** | Pointer to **interface{}** | The resource's type | [optional] **Links** | Pointer to [**POSTAddresses201ResponseDataLinks**](POSTAddresses201ResponseDataLinks.md) | | [optional] **Attributes** | Pointer to [**PATCHCarrierAccountsCarrierAccountId200ResponseDataAttributes**](PATCHCarrierAccountsCarrierAccountId200ResponseDataAttributes.md) | | [optional] -**Relationships** | Pointer to [**POSTBillingInfoValidationRules201ResponseDataRelationships**](POSTBillingInfoValidationRules201ResponseDataRelationships.md) | | [optional] +**Relationships** | Pointer to [**POSTCarrierAccounts201ResponseDataRelationships**](POSTCarrierAccounts201ResponseDataRelationships.md) | | [optional] ## Methods @@ -151,20 +151,20 @@ HasAttributes returns a boolean if a field has been set. ### GetRelationships -`func (o *PATCHCarrierAccountsCarrierAccountId200ResponseData) GetRelationships() POSTBillingInfoValidationRules201ResponseDataRelationships` +`func (o *PATCHCarrierAccountsCarrierAccountId200ResponseData) GetRelationships() POSTCarrierAccounts201ResponseDataRelationships` GetRelationships returns the Relationships field if non-nil, zero value otherwise. ### GetRelationshipsOk -`func (o *PATCHCarrierAccountsCarrierAccountId200ResponseData) GetRelationshipsOk() (*POSTBillingInfoValidationRules201ResponseDataRelationships, bool)` +`func (o *PATCHCarrierAccountsCarrierAccountId200ResponseData) GetRelationshipsOk() (*POSTCarrierAccounts201ResponseDataRelationships, bool)` GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRelationships -`func (o *PATCHCarrierAccountsCarrierAccountId200ResponseData) SetRelationships(v POSTBillingInfoValidationRules201ResponseDataRelationships)` +`func (o *PATCHCarrierAccountsCarrierAccountId200ResponseData) SetRelationships(v POSTCarrierAccounts201ResponseDataRelationships)` SetRelationships sets Relationships field to given value. diff --git a/api/docs/PATCHCleanupsCleanupId200ResponseData.md b/api/docs/PATCHCleanupsCleanupId200ResponseData.md index 4848d09cc..85813dfd3 100644 --- a/api/docs/PATCHCleanupsCleanupId200ResponseData.md +++ b/api/docs/PATCHCleanupsCleanupId200ResponseData.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Id** | Pointer to **interface{}** | The resource's id | [optional] **Type** | Pointer to **interface{}** | The resource's type | [optional] **Links** | Pointer to [**POSTAddresses201ResponseDataLinks**](POSTAddresses201ResponseDataLinks.md) | | [optional] -**Attributes** | Pointer to [**PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes**](PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md) | | [optional] +**Attributes** | Pointer to [**PATCHCleanupsCleanupId200ResponseDataAttributes**](PATCHCleanupsCleanupId200ResponseDataAttributes.md) | | [optional] **Relationships** | Pointer to [**POSTCleanups201ResponseDataRelationships**](POSTCleanups201ResponseDataRelationships.md) | | [optional] ## Methods @@ -126,20 +126,20 @@ HasLinks returns a boolean if a field has been set. ### GetAttributes -`func (o *PATCHCleanupsCleanupId200ResponseData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes` +`func (o *PATCHCleanupsCleanupId200ResponseData) GetAttributes() PATCHCleanupsCleanupId200ResponseDataAttributes` GetAttributes returns the Attributes field if non-nil, zero value otherwise. ### GetAttributesOk -`func (o *PATCHCleanupsCleanupId200ResponseData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool)` +`func (o *PATCHCleanupsCleanupId200ResponseData) GetAttributesOk() (*PATCHCleanupsCleanupId200ResponseDataAttributes, bool)` GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAttributes -`func (o *PATCHCleanupsCleanupId200ResponseData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes)` +`func (o *PATCHCleanupsCleanupId200ResponseData) SetAttributes(v PATCHCleanupsCleanupId200ResponseDataAttributes)` SetAttributes sets Attributes field to given value. diff --git a/api/docs/PATCHCleanupsCleanupId200ResponseDataAttributes.md b/api/docs/PATCHCleanupsCleanupId200ResponseDataAttributes.md new file mode 100644 index 000000000..3c064f5c9 --- /dev/null +++ b/api/docs/PATCHCleanupsCleanupId200ResponseDataAttributes.md @@ -0,0 +1,174 @@ +# PATCHCleanupsCleanupId200ResponseDataAttributes + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Interrupt** | Pointer to **interface{}** | Send this attribute if you want to mark status as 'interrupted'. | [optional] +**Reference** | Pointer to **interface{}** | A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. | [optional] +**ReferenceOrigin** | Pointer to **interface{}** | Any identifier of the third party system that defines the reference code. | [optional] +**Metadata** | Pointer to **interface{}** | Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. | [optional] + +## Methods + +### NewPATCHCleanupsCleanupId200ResponseDataAttributes + +`func NewPATCHCleanupsCleanupId200ResponseDataAttributes() *PATCHCleanupsCleanupId200ResponseDataAttributes` + +NewPATCHCleanupsCleanupId200ResponseDataAttributes instantiates a new PATCHCleanupsCleanupId200ResponseDataAttributes object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPATCHCleanupsCleanupId200ResponseDataAttributesWithDefaults + +`func NewPATCHCleanupsCleanupId200ResponseDataAttributesWithDefaults() *PATCHCleanupsCleanupId200ResponseDataAttributes` + +NewPATCHCleanupsCleanupId200ResponseDataAttributesWithDefaults instantiates a new PATCHCleanupsCleanupId200ResponseDataAttributes object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetInterrupt + +`func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) GetInterrupt() interface{}` + +GetInterrupt returns the Interrupt field if non-nil, zero value otherwise. + +### GetInterruptOk + +`func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) GetInterruptOk() (*interface{}, bool)` + +GetInterruptOk returns a tuple with the Interrupt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInterrupt + +`func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) SetInterrupt(v interface{})` + +SetInterrupt sets Interrupt field to given value. + +### HasInterrupt + +`func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) HasInterrupt() bool` + +HasInterrupt returns a boolean if a field has been set. + +### SetInterruptNil + +`func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) SetInterruptNil(b bool)` + + SetInterruptNil sets the value for Interrupt to be an explicit nil + +### UnsetInterrupt +`func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) UnsetInterrupt()` + +UnsetInterrupt ensures that no value is present for Interrupt, not even an explicit nil +### GetReference + +`func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) GetReference() interface{}` + +GetReference returns the Reference field if non-nil, zero value otherwise. + +### GetReferenceOk + +`func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) GetReferenceOk() (*interface{}, bool)` + +GetReferenceOk returns a tuple with the Reference field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReference + +`func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) SetReference(v interface{})` + +SetReference sets Reference field to given value. + +### HasReference + +`func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) HasReference() bool` + +HasReference returns a boolean if a field has been set. + +### SetReferenceNil + +`func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) SetReferenceNil(b bool)` + + SetReferenceNil sets the value for Reference to be an explicit nil + +### UnsetReference +`func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) UnsetReference()` + +UnsetReference ensures that no value is present for Reference, not even an explicit nil +### GetReferenceOrigin + +`func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) GetReferenceOrigin() interface{}` + +GetReferenceOrigin returns the ReferenceOrigin field if non-nil, zero value otherwise. + +### GetReferenceOriginOk + +`func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) GetReferenceOriginOk() (*interface{}, bool)` + +GetReferenceOriginOk returns a tuple with the ReferenceOrigin field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReferenceOrigin + +`func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) SetReferenceOrigin(v interface{})` + +SetReferenceOrigin sets ReferenceOrigin field to given value. + +### HasReferenceOrigin + +`func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) HasReferenceOrigin() bool` + +HasReferenceOrigin returns a boolean if a field has been set. + +### SetReferenceOriginNil + +`func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) SetReferenceOriginNil(b bool)` + + SetReferenceOriginNil sets the value for ReferenceOrigin to be an explicit nil + +### UnsetReferenceOrigin +`func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) UnsetReferenceOrigin()` + +UnsetReferenceOrigin ensures that no value is present for ReferenceOrigin, not even an explicit nil +### GetMetadata + +`func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) GetMetadata() interface{}` + +GetMetadata returns the Metadata field if non-nil, zero value otherwise. + +### GetMetadataOk + +`func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) GetMetadataOk() (*interface{}, bool)` + +GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMetadata + +`func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) SetMetadata(v interface{})` + +SetMetadata sets Metadata field to given value. + +### HasMetadata + +`func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) HasMetadata() bool` + +HasMetadata returns a boolean if a field has been set. + +### SetMetadataNil + +`func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) SetMetadataNil(b bool)` + + SetMetadataNil sets the value for Metadata to be an explicit nil + +### UnsetMetadata +`func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) UnsetMetadata()` + +UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseData.md b/api/docs/PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseData.md index cc9859502..fded25521 100644 --- a/api/docs/PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseData.md +++ b/api/docs/PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseData.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Id** | Pointer to **interface{}** | The resource's id | [optional] **Type** | Pointer to **interface{}** | The resource's type | [optional] **Links** | Pointer to [**POSTAddresses201ResponseDataLinks**](POSTAddresses201ResponseDataLinks.md) | | [optional] -**Attributes** | Pointer to [**PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes**](PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md) | | [optional] +**Attributes** | Pointer to [**PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes**](PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes.md) | | [optional] **Relationships** | Pointer to [**POSTCouponCodesPromotionRules201ResponseDataRelationships**](POSTCouponCodesPromotionRules201ResponseDataRelationships.md) | | [optional] ## Methods @@ -126,20 +126,20 @@ HasLinks returns a boolean if a field has been set. ### GetAttributes -`func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes` +`func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseData) GetAttributes() PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes` GetAttributes returns the Attributes field if non-nil, zero value otherwise. ### GetAttributesOk -`func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool)` +`func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseData) GetAttributesOk() (*PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes, bool)` GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAttributes -`func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes)` +`func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseData) SetAttributes(v PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes)` SetAttributes sets Attributes field to given value. diff --git a/api/docs/PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes.md b/api/docs/PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes.md new file mode 100644 index 000000000..89ccd1543 --- /dev/null +++ b/api/docs/PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes.md @@ -0,0 +1,138 @@ +# PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Reference** | Pointer to **interface{}** | A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. | [optional] +**ReferenceOrigin** | Pointer to **interface{}** | Any identifier of the third party system that defines the reference code. | [optional] +**Metadata** | Pointer to **interface{}** | Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. | [optional] + +## Methods + +### NewPATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes + +`func NewPATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes() *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes` + +NewPATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes instantiates a new PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributesWithDefaults + +`func NewPATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributesWithDefaults() *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes` + +NewPATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributesWithDefaults instantiates a new PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetReference + +`func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) GetReference() interface{}` + +GetReference returns the Reference field if non-nil, zero value otherwise. + +### GetReferenceOk + +`func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) GetReferenceOk() (*interface{}, bool)` + +GetReferenceOk returns a tuple with the Reference field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReference + +`func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) SetReference(v interface{})` + +SetReference sets Reference field to given value. + +### HasReference + +`func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) HasReference() bool` + +HasReference returns a boolean if a field has been set. + +### SetReferenceNil + +`func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) SetReferenceNil(b bool)` + + SetReferenceNil sets the value for Reference to be an explicit nil + +### UnsetReference +`func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) UnsetReference()` + +UnsetReference ensures that no value is present for Reference, not even an explicit nil +### GetReferenceOrigin + +`func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) GetReferenceOrigin() interface{}` + +GetReferenceOrigin returns the ReferenceOrigin field if non-nil, zero value otherwise. + +### GetReferenceOriginOk + +`func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) GetReferenceOriginOk() (*interface{}, bool)` + +GetReferenceOriginOk returns a tuple with the ReferenceOrigin field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReferenceOrigin + +`func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) SetReferenceOrigin(v interface{})` + +SetReferenceOrigin sets ReferenceOrigin field to given value. + +### HasReferenceOrigin + +`func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) HasReferenceOrigin() bool` + +HasReferenceOrigin returns a boolean if a field has been set. + +### SetReferenceOriginNil + +`func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) SetReferenceOriginNil(b bool)` + + SetReferenceOriginNil sets the value for ReferenceOrigin to be an explicit nil + +### UnsetReferenceOrigin +`func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) UnsetReferenceOrigin()` + +UnsetReferenceOrigin ensures that no value is present for ReferenceOrigin, not even an explicit nil +### GetMetadata + +`func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) GetMetadata() interface{}` + +GetMetadata returns the Metadata field if non-nil, zero value otherwise. + +### GetMetadataOk + +`func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) GetMetadataOk() (*interface{}, bool)` + +GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMetadata + +`func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) SetMetadata(v interface{})` + +SetMetadata sets Metadata field to given value. + +### HasMetadata + +`func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) HasMetadata() bool` + +HasMetadata returns a boolean if a field has been set. + +### SetMetadataNil + +`func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) SetMetadataNil(b bool)` + + SetMetadataNil sets the value for Metadata to be an explicit nil + +### UnsetMetadata +`func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) UnsetMetadata()` + +UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/PATCHCustomerAddressesCustomerAddressId200ResponseData.md b/api/docs/PATCHCustomerAddressesCustomerAddressId200ResponseData.md index 1984cf454..a1269688a 100644 --- a/api/docs/PATCHCustomerAddressesCustomerAddressId200ResponseData.md +++ b/api/docs/PATCHCustomerAddressesCustomerAddressId200ResponseData.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Id** | Pointer to **interface{}** | The resource's id | [optional] **Type** | Pointer to **interface{}** | The resource's type | [optional] **Links** | Pointer to [**POSTAddresses201ResponseDataLinks**](POSTAddresses201ResponseDataLinks.md) | | [optional] -**Attributes** | Pointer to [**PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes**](PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md) | | [optional] +**Attributes** | Pointer to [**PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes**](PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes.md) | | [optional] **Relationships** | Pointer to [**POSTCustomerAddresses201ResponseDataRelationships**](POSTCustomerAddresses201ResponseDataRelationships.md) | | [optional] ## Methods @@ -126,20 +126,20 @@ HasLinks returns a boolean if a field has been set. ### GetAttributes -`func (o *PATCHCustomerAddressesCustomerAddressId200ResponseData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes` +`func (o *PATCHCustomerAddressesCustomerAddressId200ResponseData) GetAttributes() PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes` GetAttributes returns the Attributes field if non-nil, zero value otherwise. ### GetAttributesOk -`func (o *PATCHCustomerAddressesCustomerAddressId200ResponseData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool)` +`func (o *PATCHCustomerAddressesCustomerAddressId200ResponseData) GetAttributesOk() (*PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes, bool)` GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAttributes -`func (o *PATCHCustomerAddressesCustomerAddressId200ResponseData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes)` +`func (o *PATCHCustomerAddressesCustomerAddressId200ResponseData) SetAttributes(v PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes)` SetAttributes sets Attributes field to given value. diff --git a/api/docs/PATCHCustomersCustomerId200ResponseDataAttributes.md b/api/docs/PATCHCustomersCustomerId200ResponseDataAttributes.md index f37032d12..bf216d5bc 100644 --- a/api/docs/PATCHCustomersCustomerId200ResponseDataAttributes.md +++ b/api/docs/PATCHCustomersCustomerId200ResponseDataAttributes.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **Email** | Pointer to **interface{}** | The customer's email address. | [optional] **Password** | Pointer to **interface{}** | The customer's password. Initiate a customer password reset flow if you need to change it. | [optional] **ShopperReference** | Pointer to **interface{}** | A reference to uniquely identify the shopper during payment sessions. | [optional] +**ProfileId** | Pointer to **interface{}** | A reference to uniquely identify the customer on any connected external services. | [optional] **Reference** | Pointer to **interface{}** | A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. | [optional] **ReferenceOrigin** | Pointer to **interface{}** | Any identifier of the third party system that defines the reference code. | [optional] **Metadata** | Pointer to **interface{}** | Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. | [optional] @@ -135,6 +136,41 @@ HasShopperReference returns a boolean if a field has been set. `func (o *PATCHCustomersCustomerId200ResponseDataAttributes) UnsetShopperReference()` UnsetShopperReference ensures that no value is present for ShopperReference, not even an explicit nil +### GetProfileId + +`func (o *PATCHCustomersCustomerId200ResponseDataAttributes) GetProfileId() interface{}` + +GetProfileId returns the ProfileId field if non-nil, zero value otherwise. + +### GetProfileIdOk + +`func (o *PATCHCustomersCustomerId200ResponseDataAttributes) GetProfileIdOk() (*interface{}, bool)` + +GetProfileIdOk returns a tuple with the ProfileId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProfileId + +`func (o *PATCHCustomersCustomerId200ResponseDataAttributes) SetProfileId(v interface{})` + +SetProfileId sets ProfileId field to given value. + +### HasProfileId + +`func (o *PATCHCustomersCustomerId200ResponseDataAttributes) HasProfileId() bool` + +HasProfileId returns a boolean if a field has been set. + +### SetProfileIdNil + +`func (o *PATCHCustomersCustomerId200ResponseDataAttributes) SetProfileIdNil(b bool)` + + SetProfileIdNil sets the value for ProfileId to be an explicit nil + +### UnsetProfileId +`func (o *PATCHCustomersCustomerId200ResponseDataAttributes) UnsetProfileId()` + +UnsetProfileId ensures that no value is present for ProfileId, not even an explicit nil ### GetReference `func (o *PATCHCustomersCustomerId200ResponseDataAttributes) GetReference() interface{}` diff --git a/api/docs/PATCHExportsExportId200ResponseData.md b/api/docs/PATCHExportsExportId200ResponseData.md index f0e7d7075..8cccd3bd9 100644 --- a/api/docs/PATCHExportsExportId200ResponseData.md +++ b/api/docs/PATCHExportsExportId200ResponseData.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Id** | Pointer to **interface{}** | The resource's id | [optional] **Type** | Pointer to **interface{}** | The resource's type | [optional] **Links** | Pointer to [**POSTAddresses201ResponseDataLinks**](POSTAddresses201ResponseDataLinks.md) | | [optional] -**Attributes** | Pointer to [**PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes**](PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md) | | [optional] +**Attributes** | Pointer to [**PATCHCleanupsCleanupId200ResponseDataAttributes**](PATCHCleanupsCleanupId200ResponseDataAttributes.md) | | [optional] **Relationships** | Pointer to [**POSTExports201ResponseDataRelationships**](POSTExports201ResponseDataRelationships.md) | | [optional] ## Methods @@ -126,20 +126,20 @@ HasLinks returns a boolean if a field has been set. ### GetAttributes -`func (o *PATCHExportsExportId200ResponseData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes` +`func (o *PATCHExportsExportId200ResponseData) GetAttributes() PATCHCleanupsCleanupId200ResponseDataAttributes` GetAttributes returns the Attributes field if non-nil, zero value otherwise. ### GetAttributesOk -`func (o *PATCHExportsExportId200ResponseData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool)` +`func (o *PATCHExportsExportId200ResponseData) GetAttributesOk() (*PATCHCleanupsCleanupId200ResponseDataAttributes, bool)` GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAttributes -`func (o *PATCHExportsExportId200ResponseData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes)` +`func (o *PATCHExportsExportId200ResponseData) SetAttributes(v PATCHCleanupsCleanupId200ResponseDataAttributes)` SetAttributes sets Attributes field to given value. diff --git a/api/docs/PATCHImportsImportId200ResponseData.md b/api/docs/PATCHImportsImportId200ResponseData.md index e2a9756d5..bddbf3c7a 100644 --- a/api/docs/PATCHImportsImportId200ResponseData.md +++ b/api/docs/PATCHImportsImportId200ResponseData.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Id** | Pointer to **interface{}** | The resource's id | [optional] **Type** | Pointer to **interface{}** | The resource's type | [optional] **Links** | Pointer to [**POSTAddresses201ResponseDataLinks**](POSTAddresses201ResponseDataLinks.md) | | [optional] -**Attributes** | Pointer to [**PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes**](PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md) | | [optional] +**Attributes** | Pointer to [**PATCHCleanupsCleanupId200ResponseDataAttributes**](PATCHCleanupsCleanupId200ResponseDataAttributes.md) | | [optional] **Relationships** | Pointer to [**POSTExports201ResponseDataRelationships**](POSTExports201ResponseDataRelationships.md) | | [optional] ## Methods @@ -126,20 +126,20 @@ HasLinks returns a boolean if a field has been set. ### GetAttributes -`func (o *PATCHImportsImportId200ResponseData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes` +`func (o *PATCHImportsImportId200ResponseData) GetAttributes() PATCHCleanupsCleanupId200ResponseDataAttributes` GetAttributes returns the Attributes field if non-nil, zero value otherwise. ### GetAttributesOk -`func (o *PATCHImportsImportId200ResponseData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool)` +`func (o *PATCHImportsImportId200ResponseData) GetAttributesOk() (*PATCHCleanupsCleanupId200ResponseDataAttributes, bool)` GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAttributes -`func (o *PATCHImportsImportId200ResponseData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes)` +`func (o *PATCHImportsImportId200ResponseData) SetAttributes(v PATCHCleanupsCleanupId200ResponseDataAttributes)` SetAttributes sets Attributes field to given value. diff --git a/api/docs/PATCHLineItemsLineItemId200ResponseDataAttributes.md b/api/docs/PATCHLineItemsLineItemId200ResponseDataAttributes.md index 137f2265a..6d00e6bce 100644 --- a/api/docs/PATCHLineItemsLineItemId200ResponseDataAttributes.md +++ b/api/docs/PATCHLineItemsLineItemId200ResponseDataAttributes.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **Quantity** | Pointer to **interface{}** | The line item quantity. | [optional] **ExternalPrice** | Pointer to **interface{}** | When creating or updating a new line item, set this attribute to '1' if you want to inject the unit_amount_cents price from an external source. Any successive price computation will be done externally, until the attribute is reset to '0'. | [optional] **ReserveStock** | Pointer to **interface{}** | Send this attribute if you want to reserve the stock for the line item's SKUs quantity. Stock reservations expiration depends on the inventory model's cutoff. When used on update the existing active stock reservations are renewed. Cannot be passed by sales channels. | [optional] -**UnitAmountCents** | Pointer to **interface{}** | The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. | [optional] +**UnitAmountCents** | Pointer to **interface{}** | The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. Cannot be passed by sales channels. | [optional] **CompareAtAmountCents** | Pointer to **interface{}** | The compared price amount, in cents. Useful to display a percentage discount. | [optional] **OptionsAmountCents** | Pointer to **interface{}** | The options amount of the line item, in cents. Cannot be passed by sales channels. | [optional] **Name** | Pointer to **interface{}** | The name of the line item. When blank, it gets populated with the name of the associated item (if present). | [optional] diff --git a/api/docs/PATCHNotificationsNotificationId200Response.md b/api/docs/PATCHNotificationsNotificationId200Response.md new file mode 100644 index 000000000..ee909a3d9 --- /dev/null +++ b/api/docs/PATCHNotificationsNotificationId200Response.md @@ -0,0 +1,56 @@ +# PATCHNotificationsNotificationId200Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Data** | Pointer to [**PATCHNotificationsNotificationId200ResponseData**](PATCHNotificationsNotificationId200ResponseData.md) | | [optional] + +## Methods + +### NewPATCHNotificationsNotificationId200Response + +`func NewPATCHNotificationsNotificationId200Response() *PATCHNotificationsNotificationId200Response` + +NewPATCHNotificationsNotificationId200Response instantiates a new PATCHNotificationsNotificationId200Response object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPATCHNotificationsNotificationId200ResponseWithDefaults + +`func NewPATCHNotificationsNotificationId200ResponseWithDefaults() *PATCHNotificationsNotificationId200Response` + +NewPATCHNotificationsNotificationId200ResponseWithDefaults instantiates a new PATCHNotificationsNotificationId200Response object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetData + +`func (o *PATCHNotificationsNotificationId200Response) GetData() PATCHNotificationsNotificationId200ResponseData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *PATCHNotificationsNotificationId200Response) GetDataOk() (*PATCHNotificationsNotificationId200ResponseData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *PATCHNotificationsNotificationId200Response) SetData(v PATCHNotificationsNotificationId200ResponseData)` + +SetData sets Data field to given value. + +### HasData + +`func (o *PATCHNotificationsNotificationId200Response) HasData() bool` + +HasData returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/PATCHNotificationsNotificationId200ResponseData.md b/api/docs/PATCHNotificationsNotificationId200ResponseData.md new file mode 100644 index 000000000..76698a497 --- /dev/null +++ b/api/docs/PATCHNotificationsNotificationId200ResponseData.md @@ -0,0 +1,180 @@ +# PATCHNotificationsNotificationId200ResponseData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **interface{}** | The resource's id | [optional] +**Type** | Pointer to **interface{}** | The resource's type | [optional] +**Links** | Pointer to [**POSTAddresses201ResponseDataLinks**](POSTAddresses201ResponseDataLinks.md) | | [optional] +**Attributes** | Pointer to [**PATCHNotificationsNotificationId200ResponseDataAttributes**](PATCHNotificationsNotificationId200ResponseDataAttributes.md) | | [optional] +**Relationships** | Pointer to [**POSTNotifications201ResponseDataRelationships**](POSTNotifications201ResponseDataRelationships.md) | | [optional] + +## Methods + +### NewPATCHNotificationsNotificationId200ResponseData + +`func NewPATCHNotificationsNotificationId200ResponseData() *PATCHNotificationsNotificationId200ResponseData` + +NewPATCHNotificationsNotificationId200ResponseData instantiates a new PATCHNotificationsNotificationId200ResponseData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPATCHNotificationsNotificationId200ResponseDataWithDefaults + +`func NewPATCHNotificationsNotificationId200ResponseDataWithDefaults() *PATCHNotificationsNotificationId200ResponseData` + +NewPATCHNotificationsNotificationId200ResponseDataWithDefaults instantiates a new PATCHNotificationsNotificationId200ResponseData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *PATCHNotificationsNotificationId200ResponseData) GetId() interface{}` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PATCHNotificationsNotificationId200ResponseData) GetIdOk() (*interface{}, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *PATCHNotificationsNotificationId200ResponseData) SetId(v interface{})` + +SetId sets Id field to given value. + +### HasId + +`func (o *PATCHNotificationsNotificationId200ResponseData) HasId() bool` + +HasId returns a boolean if a field has been set. + +### SetIdNil + +`func (o *PATCHNotificationsNotificationId200ResponseData) SetIdNil(b bool)` + + SetIdNil sets the value for Id to be an explicit nil + +### UnsetId +`func (o *PATCHNotificationsNotificationId200ResponseData) UnsetId()` + +UnsetId ensures that no value is present for Id, not even an explicit nil +### GetType + +`func (o *PATCHNotificationsNotificationId200ResponseData) GetType() interface{}` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *PATCHNotificationsNotificationId200ResponseData) GetTypeOk() (*interface{}, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *PATCHNotificationsNotificationId200ResponseData) SetType(v interface{})` + +SetType sets Type field to given value. + +### HasType + +`func (o *PATCHNotificationsNotificationId200ResponseData) HasType() bool` + +HasType returns a boolean if a field has been set. + +### SetTypeNil + +`func (o *PATCHNotificationsNotificationId200ResponseData) SetTypeNil(b bool)` + + SetTypeNil sets the value for Type to be an explicit nil + +### UnsetType +`func (o *PATCHNotificationsNotificationId200ResponseData) UnsetType()` + +UnsetType ensures that no value is present for Type, not even an explicit nil +### GetLinks + +`func (o *PATCHNotificationsNotificationId200ResponseData) GetLinks() POSTAddresses201ResponseDataLinks` + +GetLinks returns the Links field if non-nil, zero value otherwise. + +### GetLinksOk + +`func (o *PATCHNotificationsNotificationId200ResponseData) GetLinksOk() (*POSTAddresses201ResponseDataLinks, bool)` + +GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLinks + +`func (o *PATCHNotificationsNotificationId200ResponseData) SetLinks(v POSTAddresses201ResponseDataLinks)` + +SetLinks sets Links field to given value. + +### HasLinks + +`func (o *PATCHNotificationsNotificationId200ResponseData) HasLinks() bool` + +HasLinks returns a boolean if a field has been set. + +### GetAttributes + +`func (o *PATCHNotificationsNotificationId200ResponseData) GetAttributes() PATCHNotificationsNotificationId200ResponseDataAttributes` + +GetAttributes returns the Attributes field if non-nil, zero value otherwise. + +### GetAttributesOk + +`func (o *PATCHNotificationsNotificationId200ResponseData) GetAttributesOk() (*PATCHNotificationsNotificationId200ResponseDataAttributes, bool)` + +GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAttributes + +`func (o *PATCHNotificationsNotificationId200ResponseData) SetAttributes(v PATCHNotificationsNotificationId200ResponseDataAttributes)` + +SetAttributes sets Attributes field to given value. + +### HasAttributes + +`func (o *PATCHNotificationsNotificationId200ResponseData) HasAttributes() bool` + +HasAttributes returns a boolean if a field has been set. + +### GetRelationships + +`func (o *PATCHNotificationsNotificationId200ResponseData) GetRelationships() POSTNotifications201ResponseDataRelationships` + +GetRelationships returns the Relationships field if non-nil, zero value otherwise. + +### GetRelationshipsOk + +`func (o *PATCHNotificationsNotificationId200ResponseData) GetRelationshipsOk() (*POSTNotifications201ResponseDataRelationships, bool)` + +GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelationships + +`func (o *PATCHNotificationsNotificationId200ResponseData) SetRelationships(v POSTNotifications201ResponseDataRelationships)` + +SetRelationships sets Relationships field to given value. + +### HasRelationships + +`func (o *PATCHNotificationsNotificationId200ResponseData) HasRelationships() bool` + +HasRelationships returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/PATCHNotificationsNotificationId200ResponseDataAttributes.md b/api/docs/PATCHNotificationsNotificationId200ResponseDataAttributes.md new file mode 100644 index 000000000..21d74d6ed --- /dev/null +++ b/api/docs/PATCHNotificationsNotificationId200ResponseDataAttributes.md @@ -0,0 +1,246 @@ +# PATCHNotificationsNotificationId200ResponseDataAttributes + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | Pointer to **interface{}** | The internal name of the notification. | [optional] +**Flash** | Pointer to **interface{}** | Indicates if the notification is temporary, valid for the ones created by external services. | [optional] +**Body** | Pointer to **interface{}** | An internal body of the notification. | [optional] +**Reference** | Pointer to **interface{}** | A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. | [optional] +**ReferenceOrigin** | Pointer to **interface{}** | Any identifier of the third party system that defines the reference code. | [optional] +**Metadata** | Pointer to **interface{}** | Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. | [optional] + +## Methods + +### NewPATCHNotificationsNotificationId200ResponseDataAttributes + +`func NewPATCHNotificationsNotificationId200ResponseDataAttributes() *PATCHNotificationsNotificationId200ResponseDataAttributes` + +NewPATCHNotificationsNotificationId200ResponseDataAttributes instantiates a new PATCHNotificationsNotificationId200ResponseDataAttributes object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPATCHNotificationsNotificationId200ResponseDataAttributesWithDefaults + +`func NewPATCHNotificationsNotificationId200ResponseDataAttributesWithDefaults() *PATCHNotificationsNotificationId200ResponseDataAttributes` + +NewPATCHNotificationsNotificationId200ResponseDataAttributesWithDefaults instantiates a new PATCHNotificationsNotificationId200ResponseDataAttributes object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetName + +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) GetName() interface{}` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) GetNameOk() (*interface{}, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) SetName(v interface{})` + +SetName sets Name field to given value. + +### HasName + +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetFlash + +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) GetFlash() interface{}` + +GetFlash returns the Flash field if non-nil, zero value otherwise. + +### GetFlashOk + +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) GetFlashOk() (*interface{}, bool)` + +GetFlashOk returns a tuple with the Flash field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFlash + +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) SetFlash(v interface{})` + +SetFlash sets Flash field to given value. + +### HasFlash + +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) HasFlash() bool` + +HasFlash returns a boolean if a field has been set. + +### SetFlashNil + +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) SetFlashNil(b bool)` + + SetFlashNil sets the value for Flash to be an explicit nil + +### UnsetFlash +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) UnsetFlash()` + +UnsetFlash ensures that no value is present for Flash, not even an explicit nil +### GetBody + +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) GetBody() interface{}` + +GetBody returns the Body field if non-nil, zero value otherwise. + +### GetBodyOk + +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) GetBodyOk() (*interface{}, bool)` + +GetBodyOk returns a tuple with the Body field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBody + +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) SetBody(v interface{})` + +SetBody sets Body field to given value. + +### HasBody + +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) HasBody() bool` + +HasBody returns a boolean if a field has been set. + +### SetBodyNil + +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) SetBodyNil(b bool)` + + SetBodyNil sets the value for Body to be an explicit nil + +### UnsetBody +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) UnsetBody()` + +UnsetBody ensures that no value is present for Body, not even an explicit nil +### GetReference + +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) GetReference() interface{}` + +GetReference returns the Reference field if non-nil, zero value otherwise. + +### GetReferenceOk + +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) GetReferenceOk() (*interface{}, bool)` + +GetReferenceOk returns a tuple with the Reference field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReference + +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) SetReference(v interface{})` + +SetReference sets Reference field to given value. + +### HasReference + +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) HasReference() bool` + +HasReference returns a boolean if a field has been set. + +### SetReferenceNil + +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) SetReferenceNil(b bool)` + + SetReferenceNil sets the value for Reference to be an explicit nil + +### UnsetReference +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) UnsetReference()` + +UnsetReference ensures that no value is present for Reference, not even an explicit nil +### GetReferenceOrigin + +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) GetReferenceOrigin() interface{}` + +GetReferenceOrigin returns the ReferenceOrigin field if non-nil, zero value otherwise. + +### GetReferenceOriginOk + +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) GetReferenceOriginOk() (*interface{}, bool)` + +GetReferenceOriginOk returns a tuple with the ReferenceOrigin field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReferenceOrigin + +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) SetReferenceOrigin(v interface{})` + +SetReferenceOrigin sets ReferenceOrigin field to given value. + +### HasReferenceOrigin + +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) HasReferenceOrigin() bool` + +HasReferenceOrigin returns a boolean if a field has been set. + +### SetReferenceOriginNil + +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) SetReferenceOriginNil(b bool)` + + SetReferenceOriginNil sets the value for ReferenceOrigin to be an explicit nil + +### UnsetReferenceOrigin +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) UnsetReferenceOrigin()` + +UnsetReferenceOrigin ensures that no value is present for ReferenceOrigin, not even an explicit nil +### GetMetadata + +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) GetMetadata() interface{}` + +GetMetadata returns the Metadata field if non-nil, zero value otherwise. + +### GetMetadataOk + +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) GetMetadataOk() (*interface{}, bool)` + +GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMetadata + +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) SetMetadata(v interface{})` + +SetMetadata sets Metadata field to given value. + +### HasMetadata + +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) HasMetadata() bool` + +HasMetadata returns a boolean if a field has been set. + +### SetMetadataNil + +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) SetMetadataNil(b bool)` + + SetMetadataNil sets the value for Metadata to be an explicit nil + +### UnsetMetadata +`func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) UnsetMetadata()` + +UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/PATCHOrderCopiesOrderCopyId200ResponseData.md b/api/docs/PATCHOrderCopiesOrderCopyId200ResponseData.md index 4765ce56f..180382d93 100644 --- a/api/docs/PATCHOrderCopiesOrderCopyId200ResponseData.md +++ b/api/docs/PATCHOrderCopiesOrderCopyId200ResponseData.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Id** | Pointer to **interface{}** | The resource's id | [optional] **Type** | Pointer to **interface{}** | The resource's type | [optional] **Links** | Pointer to [**POSTAddresses201ResponseDataLinks**](POSTAddresses201ResponseDataLinks.md) | | [optional] -**Attributes** | Pointer to [**PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes**](PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md) | | [optional] +**Attributes** | Pointer to [**PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes**](PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes.md) | | [optional] **Relationships** | Pointer to [**POSTOrderCopies201ResponseDataRelationships**](POSTOrderCopies201ResponseDataRelationships.md) | | [optional] ## Methods @@ -126,20 +126,20 @@ HasLinks returns a boolean if a field has been set. ### GetAttributes -`func (o *PATCHOrderCopiesOrderCopyId200ResponseData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes` +`func (o *PATCHOrderCopiesOrderCopyId200ResponseData) GetAttributes() PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes` GetAttributes returns the Attributes field if non-nil, zero value otherwise. ### GetAttributesOk -`func (o *PATCHOrderCopiesOrderCopyId200ResponseData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool)` +`func (o *PATCHOrderCopiesOrderCopyId200ResponseData) GetAttributesOk() (*PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes, bool)` GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAttributes -`func (o *PATCHOrderCopiesOrderCopyId200ResponseData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes)` +`func (o *PATCHOrderCopiesOrderCopyId200ResponseData) SetAttributes(v PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes)` SetAttributes sets Attributes field to given value. diff --git a/api/docs/PATCHOrdersOrderId200ResponseDataAttributes.md b/api/docs/PATCHOrdersOrderId200ResponseDataAttributes.md index 91126d4be..4ca631e28 100644 --- a/api/docs/PATCHOrdersOrderId200ResponseDataAttributes.md +++ b/api/docs/PATCHOrdersOrderId200ResponseDataAttributes.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Number** | Pointer to **interface{}** | The order identifier. Can be specified if unique within the organization (for enterprise plans only), default to numeric ID otherwise. Cannot be passed by sales channels. | [optional] -**AffiliateCode** | Pointer to **interface{}** | The affiliate code, if any, the seller will transfer commission on shop by link transactions. | [optional] +**AffiliateCode** | Pointer to **interface{}** | The affiliate code, if any, to track commissions using any third party services. | [optional] **Autorefresh** | Pointer to **interface{}** | Save this attribute as 'false' if you want prevent the order to be refreshed automatically at each change (much faster). | [optional] **PlaceAsync** | Pointer to **interface{}** | Save this attribute as 'true' if you want perform the place asynchronously. Payment errors, if any, will be collected afterwards. | [optional] **Guest** | Pointer to **interface{}** | Indicates if the order has been placed as guest. | [optional] @@ -37,6 +37,7 @@ Name | Type | Description | Notes **Fulfill** | Pointer to **interface{}** | Send this attribute if you want to mark as fulfilled the order (shipments must be cancelled, shipped or delivered). Cannot be passed by sales channels. | [optional] **UpdateTaxes** | Pointer to **interface{}** | Send this attribute if you want to force tax calculation for this order (a tax calculator must be associated to the order's market). | [optional] **NullifyPaymentSource** | Pointer to **interface{}** | Send this attribute if you want to nullify the payment source for this order. | [optional] +**FixPaymentSource** | Pointer to **interface{}** | Send this attribute if you want to set the payment source associated with the last succeeded authorization. At the end of the fix the order should be placed and authorized and ready for approval. Cannot be passed by sales channels. | [optional] **BillingAddressCloneId** | Pointer to **interface{}** | The id of the address that you want to clone to create the order's billing address. | [optional] **ShippingAddressCloneId** | Pointer to **interface{}** | The id of the address that you want to clone to create the order's shipping address. | [optional] **CustomerPaymentSourceId** | Pointer to **interface{}** | The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source. | [optional] @@ -1231,6 +1232,41 @@ HasNullifyPaymentSource returns a boolean if a field has been set. `func (o *PATCHOrdersOrderId200ResponseDataAttributes) UnsetNullifyPaymentSource()` UnsetNullifyPaymentSource ensures that no value is present for NullifyPaymentSource, not even an explicit nil +### GetFixPaymentSource + +`func (o *PATCHOrdersOrderId200ResponseDataAttributes) GetFixPaymentSource() interface{}` + +GetFixPaymentSource returns the FixPaymentSource field if non-nil, zero value otherwise. + +### GetFixPaymentSourceOk + +`func (o *PATCHOrdersOrderId200ResponseDataAttributes) GetFixPaymentSourceOk() (*interface{}, bool)` + +GetFixPaymentSourceOk returns a tuple with the FixPaymentSource field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFixPaymentSource + +`func (o *PATCHOrdersOrderId200ResponseDataAttributes) SetFixPaymentSource(v interface{})` + +SetFixPaymentSource sets FixPaymentSource field to given value. + +### HasFixPaymentSource + +`func (o *PATCHOrdersOrderId200ResponseDataAttributes) HasFixPaymentSource() bool` + +HasFixPaymentSource returns a boolean if a field has been set. + +### SetFixPaymentSourceNil + +`func (o *PATCHOrdersOrderId200ResponseDataAttributes) SetFixPaymentSourceNil(b bool)` + + SetFixPaymentSourceNil sets the value for FixPaymentSource to be an explicit nil + +### UnsetFixPaymentSource +`func (o *PATCHOrdersOrderId200ResponseDataAttributes) UnsetFixPaymentSource()` + +UnsetFixPaymentSource ensures that no value is present for FixPaymentSource, not even an explicit nil ### GetBillingAddressCloneId `func (o *PATCHOrdersOrderId200ResponseDataAttributes) GetBillingAddressCloneId() interface{}` diff --git a/api/docs/PATCHParcelLineItemsParcelLineItemId200ResponseData.md b/api/docs/PATCHParcelLineItemsParcelLineItemId200ResponseData.md index 7ff42032a..17a39c429 100644 --- a/api/docs/PATCHParcelLineItemsParcelLineItemId200ResponseData.md +++ b/api/docs/PATCHParcelLineItemsParcelLineItemId200ResponseData.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Id** | Pointer to **interface{}** | The resource's id | [optional] **Type** | Pointer to **interface{}** | The resource's type | [optional] **Links** | Pointer to [**POSTAddresses201ResponseDataLinks**](POSTAddresses201ResponseDataLinks.md) | | [optional] -**Attributes** | Pointer to [**PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes**](PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md) | | [optional] +**Attributes** | Pointer to [**PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes**](PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes.md) | | [optional] **Relationships** | Pointer to [**POSTParcelLineItems201ResponseDataRelationships**](POSTParcelLineItems201ResponseDataRelationships.md) | | [optional] ## Methods @@ -126,20 +126,20 @@ HasLinks returns a boolean if a field has been set. ### GetAttributes -`func (o *PATCHParcelLineItemsParcelLineItemId200ResponseData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes` +`func (o *PATCHParcelLineItemsParcelLineItemId200ResponseData) GetAttributes() PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes` GetAttributes returns the Attributes field if non-nil, zero value otherwise. ### GetAttributesOk -`func (o *PATCHParcelLineItemsParcelLineItemId200ResponseData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool)` +`func (o *PATCHParcelLineItemsParcelLineItemId200ResponseData) GetAttributesOk() (*PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes, bool)` GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAttributes -`func (o *PATCHParcelLineItemsParcelLineItemId200ResponseData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes)` +`func (o *PATCHParcelLineItemsParcelLineItemId200ResponseData) SetAttributes(v PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes)` SetAttributes sets Attributes field to given value. diff --git a/api/docs/PATCHRecurringOrderCopiesRecurringOrderCopyId200ResponseData.md b/api/docs/PATCHRecurringOrderCopiesRecurringOrderCopyId200ResponseData.md index ee1ae4fea..656f31811 100644 --- a/api/docs/PATCHRecurringOrderCopiesRecurringOrderCopyId200ResponseData.md +++ b/api/docs/PATCHRecurringOrderCopiesRecurringOrderCopyId200ResponseData.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Id** | Pointer to **interface{}** | The resource's id | [optional] **Type** | Pointer to **interface{}** | The resource's type | [optional] **Links** | Pointer to [**POSTAddresses201ResponseDataLinks**](POSTAddresses201ResponseDataLinks.md) | | [optional] -**Attributes** | Pointer to [**PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes**](PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md) | | [optional] +**Attributes** | Pointer to [**PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes**](PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes.md) | | [optional] **Relationships** | Pointer to [**POSTOrderCopies201ResponseDataRelationships**](POSTOrderCopies201ResponseDataRelationships.md) | | [optional] ## Methods @@ -126,20 +126,20 @@ HasLinks returns a boolean if a field has been set. ### GetAttributes -`func (o *PATCHRecurringOrderCopiesRecurringOrderCopyId200ResponseData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes` +`func (o *PATCHRecurringOrderCopiesRecurringOrderCopyId200ResponseData) GetAttributes() PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes` GetAttributes returns the Attributes field if non-nil, zero value otherwise. ### GetAttributesOk -`func (o *PATCHRecurringOrderCopiesRecurringOrderCopyId200ResponseData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool)` +`func (o *PATCHRecurringOrderCopiesRecurringOrderCopyId200ResponseData) GetAttributesOk() (*PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes, bool)` GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAttributes -`func (o *PATCHRecurringOrderCopiesRecurringOrderCopyId200ResponseData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes)` +`func (o *PATCHRecurringOrderCopiesRecurringOrderCopyId200ResponseData) SetAttributes(v PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes)` SetAttributes sets Attributes field to given value. diff --git a/api/docs/PATCHShippingZonesShippingZoneId200ResponseDataAttributes.md b/api/docs/PATCHShippingZonesShippingZoneId200ResponseDataAttributes.md index eb9aa3ffc..170d3fea2 100644 --- a/api/docs/PATCHShippingZonesShippingZoneId200ResponseDataAttributes.md +++ b/api/docs/PATCHShippingZonesShippingZoneId200ResponseDataAttributes.md @@ -5,12 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | Pointer to **interface{}** | The shipping zone's internal name. | [optional] -**CountryCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address country code. | [optional] -**NotCountryCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping address country code. | [optional] -**StateCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address state code. | [optional] -**NotStateCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping address state code. | [optional] -**ZipCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address zip code. | [optional] -**NotZipCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping zip country code. | [optional] +**CountryCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address country code, max size is 5000. | [optional] +**NotCountryCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping address country code, max size is 5000. | [optional] +**StateCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address state code, max size is 5000. | [optional] +**NotStateCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping address state code, max size is 5000. | [optional] +**ZipCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address zip code, max size is 5000. | [optional] +**NotZipCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000. | [optional] **Reference** | Pointer to **interface{}** | A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. | [optional] **ReferenceOrigin** | Pointer to **interface{}** | Any identifier of the third party system that defines the reference code. | [optional] **Metadata** | Pointer to **interface{}** | Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. | [optional] diff --git a/api/docs/PATCHSkuListsSkuListId200ResponseDataAttributes.md b/api/docs/PATCHSkuListsSkuListId200ResponseDataAttributes.md index 2a3fc331b..8283ebfbb 100644 --- a/api/docs/PATCHSkuListsSkuListId200ResponseDataAttributes.md +++ b/api/docs/PATCHSkuListsSkuListId200ResponseDataAttributes.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **Description** | Pointer to **interface{}** | An internal description of the SKU list. | [optional] **ImageUrl** | Pointer to **interface{}** | The URL of an image that represents the SKU list. | [optional] **Manual** | Pointer to **interface{}** | Indicates if the SKU list is populated manually. | [optional] -**SkuCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the SKU codes. | [optional] +**SkuCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the SKU codes, max size is 5000. | [optional] **Reference** | Pointer to **interface{}** | A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. | [optional] **ReferenceOrigin** | Pointer to **interface{}** | Any identifier of the third party system that defines the reference code. | [optional] **Metadata** | Pointer to **interface{}** | Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. | [optional] diff --git a/api/docs/PATCHSkuOptionsSkuOptionId200ResponseDataAttributes.md b/api/docs/PATCHSkuOptionsSkuOptionId200ResponseDataAttributes.md index 37415a9ac..43f33414a 100644 --- a/api/docs/PATCHSkuOptionsSkuOptionId200ResponseDataAttributes.md +++ b/api/docs/PATCHSkuOptionsSkuOptionId200ResponseDataAttributes.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **Description** | Pointer to **interface{}** | An internal description of the SKU option. | [optional] **PriceAmountCents** | Pointer to **interface{}** | The price of this shipping method, in cents. | [optional] **DelayHours** | Pointer to **interface{}** | The delay time (in hours) that should be added to the delivery lead time when this option is purchased. | [optional] -**SkuCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the SKU codes. | [optional] +**SkuCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the SKU codes, max size is 5000. | [optional] **Reference** | Pointer to **interface{}** | A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. | [optional] **ReferenceOrigin** | Pointer to **interface{}** | Any identifier of the third party system that defines the reference code. | [optional] **Metadata** | Pointer to **interface{}** | Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. | [optional] diff --git a/api/docs/PATCHStockTransfersStockTransferId200ResponseDataAttributes.md b/api/docs/PATCHStockTransfersStockTransferId200ResponseDataAttributes.md index 4b585b351..01d88c804 100644 --- a/api/docs/PATCHStockTransfersStockTransferId200ResponseDataAttributes.md +++ b/api/docs/PATCHStockTransfersStockTransferId200ResponseDataAttributes.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Number** | Pointer to **interface{}** | Unique identifier for the stock transfer (numeric). | [optional] **SkuCode** | Pointer to **interface{}** | The code of the associated SKU. | [optional] +**Quantity** | Pointer to **interface{}** | The stock quantity to be transferred from the origin stock location to destination one. Updatable unless stock transfer is completed or cancelled and depending on origin stock availability. | [optional] **Upcoming** | Pointer to **interface{}** | Send this attribute if you want to mark this stock transfer as upcoming. | [optional] **OnHold** | Pointer to **interface{}** | Send this attribute if you want to put this stock transfer on hold. | [optional] **Picking** | Pointer to **interface{}** | Send this attribute if you want to start picking this stock transfer. | [optional] @@ -105,6 +106,41 @@ HasSkuCode returns a boolean if a field has been set. `func (o *PATCHStockTransfersStockTransferId200ResponseDataAttributes) UnsetSkuCode()` UnsetSkuCode ensures that no value is present for SkuCode, not even an explicit nil +### GetQuantity + +`func (o *PATCHStockTransfersStockTransferId200ResponseDataAttributes) GetQuantity() interface{}` + +GetQuantity returns the Quantity field if non-nil, zero value otherwise. + +### GetQuantityOk + +`func (o *PATCHStockTransfersStockTransferId200ResponseDataAttributes) GetQuantityOk() (*interface{}, bool)` + +GetQuantityOk returns a tuple with the Quantity field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQuantity + +`func (o *PATCHStockTransfersStockTransferId200ResponseDataAttributes) SetQuantity(v interface{})` + +SetQuantity sets Quantity field to given value. + +### HasQuantity + +`func (o *PATCHStockTransfersStockTransferId200ResponseDataAttributes) HasQuantity() bool` + +HasQuantity returns a boolean if a field has been set. + +### SetQuantityNil + +`func (o *PATCHStockTransfersStockTransferId200ResponseDataAttributes) SetQuantityNil(b bool)` + + SetQuantityNil sets the value for Quantity to be an explicit nil + +### UnsetQuantity +`func (o *PATCHStockTransfersStockTransferId200ResponseDataAttributes) UnsetQuantity()` + +UnsetQuantity ensures that no value is present for Quantity, not even an explicit nil ### GetUpcoming `func (o *PATCHStockTransfersStockTransferId200ResponseDataAttributes) GetUpcoming() interface{}` diff --git a/api/docs/PATCHStoresStoreId200Response.md b/api/docs/PATCHStoresStoreId200Response.md new file mode 100644 index 000000000..39ddc202b --- /dev/null +++ b/api/docs/PATCHStoresStoreId200Response.md @@ -0,0 +1,56 @@ +# PATCHStoresStoreId200Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Data** | Pointer to [**PATCHStoresStoreId200ResponseData**](PATCHStoresStoreId200ResponseData.md) | | [optional] + +## Methods + +### NewPATCHStoresStoreId200Response + +`func NewPATCHStoresStoreId200Response() *PATCHStoresStoreId200Response` + +NewPATCHStoresStoreId200Response instantiates a new PATCHStoresStoreId200Response object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPATCHStoresStoreId200ResponseWithDefaults + +`func NewPATCHStoresStoreId200ResponseWithDefaults() *PATCHStoresStoreId200Response` + +NewPATCHStoresStoreId200ResponseWithDefaults instantiates a new PATCHStoresStoreId200Response object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetData + +`func (o *PATCHStoresStoreId200Response) GetData() PATCHStoresStoreId200ResponseData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *PATCHStoresStoreId200Response) GetDataOk() (*PATCHStoresStoreId200ResponseData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *PATCHStoresStoreId200Response) SetData(v PATCHStoresStoreId200ResponseData)` + +SetData sets Data field to given value. + +### HasData + +`func (o *PATCHStoresStoreId200Response) HasData() bool` + +HasData returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/PATCHStoresStoreId200ResponseData.md b/api/docs/PATCHStoresStoreId200ResponseData.md new file mode 100644 index 000000000..10ae1c5b7 --- /dev/null +++ b/api/docs/PATCHStoresStoreId200ResponseData.md @@ -0,0 +1,180 @@ +# PATCHStoresStoreId200ResponseData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **interface{}** | The resource's id | [optional] +**Type** | Pointer to **interface{}** | The resource's type | [optional] +**Links** | Pointer to [**POSTAddresses201ResponseDataLinks**](POSTAddresses201ResponseDataLinks.md) | | [optional] +**Attributes** | Pointer to [**PATCHStoresStoreId200ResponseDataAttributes**](PATCHStoresStoreId200ResponseDataAttributes.md) | | [optional] +**Relationships** | Pointer to [**POSTStores201ResponseDataRelationships**](POSTStores201ResponseDataRelationships.md) | | [optional] + +## Methods + +### NewPATCHStoresStoreId200ResponseData + +`func NewPATCHStoresStoreId200ResponseData() *PATCHStoresStoreId200ResponseData` + +NewPATCHStoresStoreId200ResponseData instantiates a new PATCHStoresStoreId200ResponseData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPATCHStoresStoreId200ResponseDataWithDefaults + +`func NewPATCHStoresStoreId200ResponseDataWithDefaults() *PATCHStoresStoreId200ResponseData` + +NewPATCHStoresStoreId200ResponseDataWithDefaults instantiates a new PATCHStoresStoreId200ResponseData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *PATCHStoresStoreId200ResponseData) GetId() interface{}` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PATCHStoresStoreId200ResponseData) GetIdOk() (*interface{}, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *PATCHStoresStoreId200ResponseData) SetId(v interface{})` + +SetId sets Id field to given value. + +### HasId + +`func (o *PATCHStoresStoreId200ResponseData) HasId() bool` + +HasId returns a boolean if a field has been set. + +### SetIdNil + +`func (o *PATCHStoresStoreId200ResponseData) SetIdNil(b bool)` + + SetIdNil sets the value for Id to be an explicit nil + +### UnsetId +`func (o *PATCHStoresStoreId200ResponseData) UnsetId()` + +UnsetId ensures that no value is present for Id, not even an explicit nil +### GetType + +`func (o *PATCHStoresStoreId200ResponseData) GetType() interface{}` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *PATCHStoresStoreId200ResponseData) GetTypeOk() (*interface{}, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *PATCHStoresStoreId200ResponseData) SetType(v interface{})` + +SetType sets Type field to given value. + +### HasType + +`func (o *PATCHStoresStoreId200ResponseData) HasType() bool` + +HasType returns a boolean if a field has been set. + +### SetTypeNil + +`func (o *PATCHStoresStoreId200ResponseData) SetTypeNil(b bool)` + + SetTypeNil sets the value for Type to be an explicit nil + +### UnsetType +`func (o *PATCHStoresStoreId200ResponseData) UnsetType()` + +UnsetType ensures that no value is present for Type, not even an explicit nil +### GetLinks + +`func (o *PATCHStoresStoreId200ResponseData) GetLinks() POSTAddresses201ResponseDataLinks` + +GetLinks returns the Links field if non-nil, zero value otherwise. + +### GetLinksOk + +`func (o *PATCHStoresStoreId200ResponseData) GetLinksOk() (*POSTAddresses201ResponseDataLinks, bool)` + +GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLinks + +`func (o *PATCHStoresStoreId200ResponseData) SetLinks(v POSTAddresses201ResponseDataLinks)` + +SetLinks sets Links field to given value. + +### HasLinks + +`func (o *PATCHStoresStoreId200ResponseData) HasLinks() bool` + +HasLinks returns a boolean if a field has been set. + +### GetAttributes + +`func (o *PATCHStoresStoreId200ResponseData) GetAttributes() PATCHStoresStoreId200ResponseDataAttributes` + +GetAttributes returns the Attributes field if non-nil, zero value otherwise. + +### GetAttributesOk + +`func (o *PATCHStoresStoreId200ResponseData) GetAttributesOk() (*PATCHStoresStoreId200ResponseDataAttributes, bool)` + +GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAttributes + +`func (o *PATCHStoresStoreId200ResponseData) SetAttributes(v PATCHStoresStoreId200ResponseDataAttributes)` + +SetAttributes sets Attributes field to given value. + +### HasAttributes + +`func (o *PATCHStoresStoreId200ResponseData) HasAttributes() bool` + +HasAttributes returns a boolean if a field has been set. + +### GetRelationships + +`func (o *PATCHStoresStoreId200ResponseData) GetRelationships() POSTStores201ResponseDataRelationships` + +GetRelationships returns the Relationships field if non-nil, zero value otherwise. + +### GetRelationshipsOk + +`func (o *PATCHStoresStoreId200ResponseData) GetRelationshipsOk() (*POSTStores201ResponseDataRelationships, bool)` + +GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelationships + +`func (o *PATCHStoresStoreId200ResponseData) SetRelationships(v POSTStores201ResponseDataRelationships)` + +SetRelationships sets Relationships field to given value. + +### HasRelationships + +`func (o *PATCHStoresStoreId200ResponseData) HasRelationships() bool` + +HasRelationships returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/PATCHStoresStoreId200ResponseDataAttributes.md b/api/docs/PATCHStoresStoreId200ResponseDataAttributes.md new file mode 100644 index 000000000..b7c996d37 --- /dev/null +++ b/api/docs/PATCHStoresStoreId200ResponseDataAttributes.md @@ -0,0 +1,210 @@ +# PATCHStoresStoreId200ResponseDataAttributes + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | Pointer to **interface{}** | The store's internal name. | [optional] +**Code** | Pointer to **interface{}** | A string that you can use to identify the store (must be unique within the environment). | [optional] +**Reference** | Pointer to **interface{}** | A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. | [optional] +**ReferenceOrigin** | Pointer to **interface{}** | Any identifier of the third party system that defines the reference code. | [optional] +**Metadata** | Pointer to **interface{}** | Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. | [optional] + +## Methods + +### NewPATCHStoresStoreId200ResponseDataAttributes + +`func NewPATCHStoresStoreId200ResponseDataAttributes() *PATCHStoresStoreId200ResponseDataAttributes` + +NewPATCHStoresStoreId200ResponseDataAttributes instantiates a new PATCHStoresStoreId200ResponseDataAttributes object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPATCHStoresStoreId200ResponseDataAttributesWithDefaults + +`func NewPATCHStoresStoreId200ResponseDataAttributesWithDefaults() *PATCHStoresStoreId200ResponseDataAttributes` + +NewPATCHStoresStoreId200ResponseDataAttributesWithDefaults instantiates a new PATCHStoresStoreId200ResponseDataAttributes object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetName + +`func (o *PATCHStoresStoreId200ResponseDataAttributes) GetName() interface{}` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *PATCHStoresStoreId200ResponseDataAttributes) GetNameOk() (*interface{}, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *PATCHStoresStoreId200ResponseDataAttributes) SetName(v interface{})` + +SetName sets Name field to given value. + +### HasName + +`func (o *PATCHStoresStoreId200ResponseDataAttributes) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *PATCHStoresStoreId200ResponseDataAttributes) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *PATCHStoresStoreId200ResponseDataAttributes) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetCode + +`func (o *PATCHStoresStoreId200ResponseDataAttributes) GetCode() interface{}` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *PATCHStoresStoreId200ResponseDataAttributes) GetCodeOk() (*interface{}, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *PATCHStoresStoreId200ResponseDataAttributes) SetCode(v interface{})` + +SetCode sets Code field to given value. + +### HasCode + +`func (o *PATCHStoresStoreId200ResponseDataAttributes) HasCode() bool` + +HasCode returns a boolean if a field has been set. + +### SetCodeNil + +`func (o *PATCHStoresStoreId200ResponseDataAttributes) SetCodeNil(b bool)` + + SetCodeNil sets the value for Code to be an explicit nil + +### UnsetCode +`func (o *PATCHStoresStoreId200ResponseDataAttributes) UnsetCode()` + +UnsetCode ensures that no value is present for Code, not even an explicit nil +### GetReference + +`func (o *PATCHStoresStoreId200ResponseDataAttributes) GetReference() interface{}` + +GetReference returns the Reference field if non-nil, zero value otherwise. + +### GetReferenceOk + +`func (o *PATCHStoresStoreId200ResponseDataAttributes) GetReferenceOk() (*interface{}, bool)` + +GetReferenceOk returns a tuple with the Reference field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReference + +`func (o *PATCHStoresStoreId200ResponseDataAttributes) SetReference(v interface{})` + +SetReference sets Reference field to given value. + +### HasReference + +`func (o *PATCHStoresStoreId200ResponseDataAttributes) HasReference() bool` + +HasReference returns a boolean if a field has been set. + +### SetReferenceNil + +`func (o *PATCHStoresStoreId200ResponseDataAttributes) SetReferenceNil(b bool)` + + SetReferenceNil sets the value for Reference to be an explicit nil + +### UnsetReference +`func (o *PATCHStoresStoreId200ResponseDataAttributes) UnsetReference()` + +UnsetReference ensures that no value is present for Reference, not even an explicit nil +### GetReferenceOrigin + +`func (o *PATCHStoresStoreId200ResponseDataAttributes) GetReferenceOrigin() interface{}` + +GetReferenceOrigin returns the ReferenceOrigin field if non-nil, zero value otherwise. + +### GetReferenceOriginOk + +`func (o *PATCHStoresStoreId200ResponseDataAttributes) GetReferenceOriginOk() (*interface{}, bool)` + +GetReferenceOriginOk returns a tuple with the ReferenceOrigin field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReferenceOrigin + +`func (o *PATCHStoresStoreId200ResponseDataAttributes) SetReferenceOrigin(v interface{})` + +SetReferenceOrigin sets ReferenceOrigin field to given value. + +### HasReferenceOrigin + +`func (o *PATCHStoresStoreId200ResponseDataAttributes) HasReferenceOrigin() bool` + +HasReferenceOrigin returns a boolean if a field has been set. + +### SetReferenceOriginNil + +`func (o *PATCHStoresStoreId200ResponseDataAttributes) SetReferenceOriginNil(b bool)` + + SetReferenceOriginNil sets the value for ReferenceOrigin to be an explicit nil + +### UnsetReferenceOrigin +`func (o *PATCHStoresStoreId200ResponseDataAttributes) UnsetReferenceOrigin()` + +UnsetReferenceOrigin ensures that no value is present for ReferenceOrigin, not even an explicit nil +### GetMetadata + +`func (o *PATCHStoresStoreId200ResponseDataAttributes) GetMetadata() interface{}` + +GetMetadata returns the Metadata field if non-nil, zero value otherwise. + +### GetMetadataOk + +`func (o *PATCHStoresStoreId200ResponseDataAttributes) GetMetadataOk() (*interface{}, bool)` + +GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMetadata + +`func (o *PATCHStoresStoreId200ResponseDataAttributes) SetMetadata(v interface{})` + +SetMetadata sets Metadata field to given value. + +### HasMetadata + +`func (o *PATCHStoresStoreId200ResponseDataAttributes) HasMetadata() bool` + +HasMetadata returns a boolean if a field has been set. + +### SetMetadataNil + +`func (o *PATCHStoresStoreId200ResponseDataAttributes) SetMetadataNil(b bool)` + + SetMetadataNil sets the value for Metadata to be an explicit nil + +### UnsetMetadata +`func (o *PATCHStoresStoreId200ResponseDataAttributes) UnsetMetadata()` + +UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/PATCHTaxRulesTaxRuleId200ResponseDataAttributes.md b/api/docs/PATCHTaxRulesTaxRuleId200ResponseDataAttributes.md index bef029353..8ad1a3507 100644 --- a/api/docs/PATCHTaxRulesTaxRuleId200ResponseDataAttributes.md +++ b/api/docs/PATCHTaxRulesTaxRuleId200ResponseDataAttributes.md @@ -6,16 +6,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | Pointer to **interface{}** | The tax rule internal name. | [optional] **TaxRate** | Pointer to **interface{}** | The tax rate for this rule. | [optional] -**CountryCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address country code. | [optional] -**NotCountryCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping address country code. | [optional] -**StateCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address state code. | [optional] -**NotStateCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping address state code. | [optional] -**ZipCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address zip code. | [optional] -**NotZipCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping zip country code. | [optional] **FreightTaxable** | Pointer to **interface{}** | Indicates if the freight is taxable. | [optional] **PaymentMethodTaxable** | Pointer to **interface{}** | Indicates if the payment method is taxable. | [optional] **GiftCardTaxable** | Pointer to **interface{}** | Indicates if gift cards are taxable. | [optional] **AdjustmentTaxable** | Pointer to **interface{}** | Indicates if adjustemnts are taxable. | [optional] +**CountryCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address country code, max size is 5000. | [optional] +**NotCountryCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping address country code, max size is 5000. | [optional] +**StateCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address state code, max size is 5000. | [optional] +**NotStateCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping address state code, max size is 5000. | [optional] +**ZipCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address zip code, max size is 5000. | [optional] +**NotZipCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000. | [optional] **Reference** | Pointer to **interface{}** | A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. | [optional] **ReferenceOrigin** | Pointer to **interface{}** | Any identifier of the third party system that defines the reference code. | [optional] **Metadata** | Pointer to **interface{}** | Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. | [optional] @@ -109,6 +109,146 @@ HasTaxRate returns a boolean if a field has been set. `func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) UnsetTaxRate()` UnsetTaxRate ensures that no value is present for TaxRate, not even an explicit nil +### GetFreightTaxable + +`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetFreightTaxable() interface{}` + +GetFreightTaxable returns the FreightTaxable field if non-nil, zero value otherwise. + +### GetFreightTaxableOk + +`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetFreightTaxableOk() (*interface{}, bool)` + +GetFreightTaxableOk returns a tuple with the FreightTaxable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFreightTaxable + +`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetFreightTaxable(v interface{})` + +SetFreightTaxable sets FreightTaxable field to given value. + +### HasFreightTaxable + +`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) HasFreightTaxable() bool` + +HasFreightTaxable returns a boolean if a field has been set. + +### SetFreightTaxableNil + +`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetFreightTaxableNil(b bool)` + + SetFreightTaxableNil sets the value for FreightTaxable to be an explicit nil + +### UnsetFreightTaxable +`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) UnsetFreightTaxable()` + +UnsetFreightTaxable ensures that no value is present for FreightTaxable, not even an explicit nil +### GetPaymentMethodTaxable + +`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetPaymentMethodTaxable() interface{}` + +GetPaymentMethodTaxable returns the PaymentMethodTaxable field if non-nil, zero value otherwise. + +### GetPaymentMethodTaxableOk + +`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetPaymentMethodTaxableOk() (*interface{}, bool)` + +GetPaymentMethodTaxableOk returns a tuple with the PaymentMethodTaxable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPaymentMethodTaxable + +`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetPaymentMethodTaxable(v interface{})` + +SetPaymentMethodTaxable sets PaymentMethodTaxable field to given value. + +### HasPaymentMethodTaxable + +`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) HasPaymentMethodTaxable() bool` + +HasPaymentMethodTaxable returns a boolean if a field has been set. + +### SetPaymentMethodTaxableNil + +`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetPaymentMethodTaxableNil(b bool)` + + SetPaymentMethodTaxableNil sets the value for PaymentMethodTaxable to be an explicit nil + +### UnsetPaymentMethodTaxable +`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) UnsetPaymentMethodTaxable()` + +UnsetPaymentMethodTaxable ensures that no value is present for PaymentMethodTaxable, not even an explicit nil +### GetGiftCardTaxable + +`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetGiftCardTaxable() interface{}` + +GetGiftCardTaxable returns the GiftCardTaxable field if non-nil, zero value otherwise. + +### GetGiftCardTaxableOk + +`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetGiftCardTaxableOk() (*interface{}, bool)` + +GetGiftCardTaxableOk returns a tuple with the GiftCardTaxable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGiftCardTaxable + +`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetGiftCardTaxable(v interface{})` + +SetGiftCardTaxable sets GiftCardTaxable field to given value. + +### HasGiftCardTaxable + +`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) HasGiftCardTaxable() bool` + +HasGiftCardTaxable returns a boolean if a field has been set. + +### SetGiftCardTaxableNil + +`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetGiftCardTaxableNil(b bool)` + + SetGiftCardTaxableNil sets the value for GiftCardTaxable to be an explicit nil + +### UnsetGiftCardTaxable +`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) UnsetGiftCardTaxable()` + +UnsetGiftCardTaxable ensures that no value is present for GiftCardTaxable, not even an explicit nil +### GetAdjustmentTaxable + +`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetAdjustmentTaxable() interface{}` + +GetAdjustmentTaxable returns the AdjustmentTaxable field if non-nil, zero value otherwise. + +### GetAdjustmentTaxableOk + +`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetAdjustmentTaxableOk() (*interface{}, bool)` + +GetAdjustmentTaxableOk returns a tuple with the AdjustmentTaxable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAdjustmentTaxable + +`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetAdjustmentTaxable(v interface{})` + +SetAdjustmentTaxable sets AdjustmentTaxable field to given value. + +### HasAdjustmentTaxable + +`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) HasAdjustmentTaxable() bool` + +HasAdjustmentTaxable returns a boolean if a field has been set. + +### SetAdjustmentTaxableNil + +`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetAdjustmentTaxableNil(b bool)` + + SetAdjustmentTaxableNil sets the value for AdjustmentTaxable to be an explicit nil + +### UnsetAdjustmentTaxable +`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) UnsetAdjustmentTaxable()` + +UnsetAdjustmentTaxable ensures that no value is present for AdjustmentTaxable, not even an explicit nil ### GetCountryCodeRegex `func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetCountryCodeRegex() interface{}` @@ -319,146 +459,6 @@ HasNotZipCodeRegex returns a boolean if a field has been set. `func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) UnsetNotZipCodeRegex()` UnsetNotZipCodeRegex ensures that no value is present for NotZipCodeRegex, not even an explicit nil -### GetFreightTaxable - -`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetFreightTaxable() interface{}` - -GetFreightTaxable returns the FreightTaxable field if non-nil, zero value otherwise. - -### GetFreightTaxableOk - -`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetFreightTaxableOk() (*interface{}, bool)` - -GetFreightTaxableOk returns a tuple with the FreightTaxable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFreightTaxable - -`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetFreightTaxable(v interface{})` - -SetFreightTaxable sets FreightTaxable field to given value. - -### HasFreightTaxable - -`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) HasFreightTaxable() bool` - -HasFreightTaxable returns a boolean if a field has been set. - -### SetFreightTaxableNil - -`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetFreightTaxableNil(b bool)` - - SetFreightTaxableNil sets the value for FreightTaxable to be an explicit nil - -### UnsetFreightTaxable -`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) UnsetFreightTaxable()` - -UnsetFreightTaxable ensures that no value is present for FreightTaxable, not even an explicit nil -### GetPaymentMethodTaxable - -`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetPaymentMethodTaxable() interface{}` - -GetPaymentMethodTaxable returns the PaymentMethodTaxable field if non-nil, zero value otherwise. - -### GetPaymentMethodTaxableOk - -`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetPaymentMethodTaxableOk() (*interface{}, bool)` - -GetPaymentMethodTaxableOk returns a tuple with the PaymentMethodTaxable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPaymentMethodTaxable - -`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetPaymentMethodTaxable(v interface{})` - -SetPaymentMethodTaxable sets PaymentMethodTaxable field to given value. - -### HasPaymentMethodTaxable - -`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) HasPaymentMethodTaxable() bool` - -HasPaymentMethodTaxable returns a boolean if a field has been set. - -### SetPaymentMethodTaxableNil - -`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetPaymentMethodTaxableNil(b bool)` - - SetPaymentMethodTaxableNil sets the value for PaymentMethodTaxable to be an explicit nil - -### UnsetPaymentMethodTaxable -`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) UnsetPaymentMethodTaxable()` - -UnsetPaymentMethodTaxable ensures that no value is present for PaymentMethodTaxable, not even an explicit nil -### GetGiftCardTaxable - -`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetGiftCardTaxable() interface{}` - -GetGiftCardTaxable returns the GiftCardTaxable field if non-nil, zero value otherwise. - -### GetGiftCardTaxableOk - -`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetGiftCardTaxableOk() (*interface{}, bool)` - -GetGiftCardTaxableOk returns a tuple with the GiftCardTaxable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetGiftCardTaxable - -`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetGiftCardTaxable(v interface{})` - -SetGiftCardTaxable sets GiftCardTaxable field to given value. - -### HasGiftCardTaxable - -`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) HasGiftCardTaxable() bool` - -HasGiftCardTaxable returns a boolean if a field has been set. - -### SetGiftCardTaxableNil - -`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetGiftCardTaxableNil(b bool)` - - SetGiftCardTaxableNil sets the value for GiftCardTaxable to be an explicit nil - -### UnsetGiftCardTaxable -`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) UnsetGiftCardTaxable()` - -UnsetGiftCardTaxable ensures that no value is present for GiftCardTaxable, not even an explicit nil -### GetAdjustmentTaxable - -`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetAdjustmentTaxable() interface{}` - -GetAdjustmentTaxable returns the AdjustmentTaxable field if non-nil, zero value otherwise. - -### GetAdjustmentTaxableOk - -`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetAdjustmentTaxableOk() (*interface{}, bool)` - -GetAdjustmentTaxableOk returns a tuple with the AdjustmentTaxable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAdjustmentTaxable - -`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetAdjustmentTaxable(v interface{})` - -SetAdjustmentTaxable sets AdjustmentTaxable field to given value. - -### HasAdjustmentTaxable - -`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) HasAdjustmentTaxable() bool` - -HasAdjustmentTaxable returns a boolean if a field has been set. - -### SetAdjustmentTaxableNil - -`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetAdjustmentTaxableNil(b bool)` - - SetAdjustmentTaxableNil sets the value for AdjustmentTaxable to be an explicit nil - -### UnsetAdjustmentTaxable -`func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) UnsetAdjustmentTaxable()` - -UnsetAdjustmentTaxable ensures that no value is present for AdjustmentTaxable, not even an explicit nil ### GetReference `func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetReference() interface{}` diff --git a/api/docs/PATCHWireTransfersWireTransferId200ResponseData.md b/api/docs/PATCHWireTransfersWireTransferId200ResponseData.md index 25e792db3..ffdc44ce2 100644 --- a/api/docs/PATCHWireTransfersWireTransferId200ResponseData.md +++ b/api/docs/PATCHWireTransfersWireTransferId200ResponseData.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Id** | Pointer to **interface{}** | The resource's id | [optional] **Type** | Pointer to **interface{}** | The resource's type | [optional] **Links** | Pointer to [**POSTAddresses201ResponseDataLinks**](POSTAddresses201ResponseDataLinks.md) | | [optional] -**Attributes** | Pointer to [**PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes**](PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md) | | [optional] +**Attributes** | Pointer to [**PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes**](PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes.md) | | [optional] **Relationships** | Pointer to [**POSTWireTransfers201ResponseDataRelationships**](POSTWireTransfers201ResponseDataRelationships.md) | | [optional] ## Methods @@ -126,20 +126,20 @@ HasLinks returns a boolean if a field has been set. ### GetAttributes -`func (o *PATCHWireTransfersWireTransferId200ResponseData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes` +`func (o *PATCHWireTransfersWireTransferId200ResponseData) GetAttributes() PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes` GetAttributes returns the Attributes field if non-nil, zero value otherwise. ### GetAttributesOk -`func (o *PATCHWireTransfersWireTransferId200ResponseData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool)` +`func (o *PATCHWireTransfersWireTransferId200ResponseData) GetAttributesOk() (*PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes, bool)` GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAttributes -`func (o *PATCHWireTransfersWireTransferId200ResponseData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes)` +`func (o *PATCHWireTransfersWireTransferId200ResponseData) SetAttributes(v PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes)` SetAttributes sets Attributes field to given value. diff --git a/api/docs/POSTBillingInfoValidationRules201Response.md b/api/docs/POSTBillingInfoValidationRules201Response.md deleted file mode 100644 index 780cb425c..000000000 --- a/api/docs/POSTBillingInfoValidationRules201Response.md +++ /dev/null @@ -1,56 +0,0 @@ -# POSTBillingInfoValidationRules201Response - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Data** | Pointer to [**POSTBillingInfoValidationRules201ResponseData**](POSTBillingInfoValidationRules201ResponseData.md) | | [optional] - -## Methods - -### NewPOSTBillingInfoValidationRules201Response - -`func NewPOSTBillingInfoValidationRules201Response() *POSTBillingInfoValidationRules201Response` - -NewPOSTBillingInfoValidationRules201Response instantiates a new POSTBillingInfoValidationRules201Response object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPOSTBillingInfoValidationRules201ResponseWithDefaults - -`func NewPOSTBillingInfoValidationRules201ResponseWithDefaults() *POSTBillingInfoValidationRules201Response` - -NewPOSTBillingInfoValidationRules201ResponseWithDefaults instantiates a new POSTBillingInfoValidationRules201Response object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetData - -`func (o *POSTBillingInfoValidationRules201Response) GetData() POSTBillingInfoValidationRules201ResponseData` - -GetData returns the Data field if non-nil, zero value otherwise. - -### GetDataOk - -`func (o *POSTBillingInfoValidationRules201Response) GetDataOk() (*POSTBillingInfoValidationRules201ResponseData, bool)` - -GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetData - -`func (o *POSTBillingInfoValidationRules201Response) SetData(v POSTBillingInfoValidationRules201ResponseData)` - -SetData sets Data field to given value. - -### HasData - -`func (o *POSTBillingInfoValidationRules201Response) HasData() bool` - -HasData returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api/docs/POSTBillingInfoValidationRules201ResponseDataRelationships.md b/api/docs/POSTBillingInfoValidationRules201ResponseDataRelationships.md deleted file mode 100644 index 4383ac7dc..000000000 --- a/api/docs/POSTBillingInfoValidationRules201ResponseDataRelationships.md +++ /dev/null @@ -1,108 +0,0 @@ -# POSTBillingInfoValidationRules201ResponseDataRelationships - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Market** | Pointer to [**POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket**](POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket.md) | | [optional] -**Attachments** | Pointer to [**GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments**](GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments.md) | | [optional] -**Versions** | Pointer to [**POSTAddresses201ResponseDataRelationshipsVersions**](POSTAddresses201ResponseDataRelationshipsVersions.md) | | [optional] - -## Methods - -### NewPOSTBillingInfoValidationRules201ResponseDataRelationships - -`func NewPOSTBillingInfoValidationRules201ResponseDataRelationships() *POSTBillingInfoValidationRules201ResponseDataRelationships` - -NewPOSTBillingInfoValidationRules201ResponseDataRelationships instantiates a new POSTBillingInfoValidationRules201ResponseDataRelationships object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPOSTBillingInfoValidationRules201ResponseDataRelationshipsWithDefaults - -`func NewPOSTBillingInfoValidationRules201ResponseDataRelationshipsWithDefaults() *POSTBillingInfoValidationRules201ResponseDataRelationships` - -NewPOSTBillingInfoValidationRules201ResponseDataRelationshipsWithDefaults instantiates a new POSTBillingInfoValidationRules201ResponseDataRelationships object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetMarket - -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationships) GetMarket() POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket` - -GetMarket returns the Market field if non-nil, zero value otherwise. - -### GetMarketOk - -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationships) GetMarketOk() (*POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket, bool)` - -GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMarket - -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationships) SetMarket(v POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket)` - -SetMarket sets Market field to given value. - -### HasMarket - -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationships) HasMarket() bool` - -HasMarket returns a boolean if a field has been set. - -### GetAttachments - -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationships) GetAttachments() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments` - -GetAttachments returns the Attachments field if non-nil, zero value otherwise. - -### GetAttachmentsOk - -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationships) GetAttachmentsOk() (*GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments, bool)` - -GetAttachmentsOk returns a tuple with the Attachments field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAttachments - -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationships) SetAttachments(v GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments)` - -SetAttachments sets Attachments field to given value. - -### HasAttachments - -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationships) HasAttachments() bool` - -HasAttachments returns a boolean if a field has been set. - -### GetVersions - -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationships) GetVersions() POSTAddresses201ResponseDataRelationshipsVersions` - -GetVersions returns the Versions field if non-nil, zero value otherwise. - -### GetVersionsOk - -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationships) GetVersionsOk() (*POSTAddresses201ResponseDataRelationshipsVersions, bool)` - -GetVersionsOk returns a tuple with the Versions field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersions - -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationships) SetVersions(v POSTAddresses201ResponseDataRelationshipsVersions)` - -SetVersions sets Versions field to given value. - -### HasVersions - -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationships) HasVersions() bool` - -HasVersions returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api/docs/POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket.md b/api/docs/POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket.md deleted file mode 100644 index dd538497b..000000000 --- a/api/docs/POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket.md +++ /dev/null @@ -1,82 +0,0 @@ -# POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Links** | Pointer to [**POSTAddresses201ResponseDataRelationshipsGeocoderLinks**](POSTAddresses201ResponseDataRelationshipsGeocoderLinks.md) | | [optional] -**Data** | Pointer to [**POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData**](POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData.md) | | [optional] - -## Methods - -### NewPOSTBillingInfoValidationRules201ResponseDataRelationshipsMarket - -`func NewPOSTBillingInfoValidationRules201ResponseDataRelationshipsMarket() *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket` - -NewPOSTBillingInfoValidationRules201ResponseDataRelationshipsMarket instantiates a new POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPOSTBillingInfoValidationRules201ResponseDataRelationshipsMarketWithDefaults - -`func NewPOSTBillingInfoValidationRules201ResponseDataRelationshipsMarketWithDefaults() *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket` - -NewPOSTBillingInfoValidationRules201ResponseDataRelationshipsMarketWithDefaults instantiates a new POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetLinks - -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) GetLinks() POSTAddresses201ResponseDataRelationshipsGeocoderLinks` - -GetLinks returns the Links field if non-nil, zero value otherwise. - -### GetLinksOk - -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) GetLinksOk() (*POSTAddresses201ResponseDataRelationshipsGeocoderLinks, bool)` - -GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLinks - -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) SetLinks(v POSTAddresses201ResponseDataRelationshipsGeocoderLinks)` - -SetLinks sets Links field to given value. - -### HasLinks - -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) HasLinks() bool` - -HasLinks returns a boolean if a field has been set. - -### GetData - -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) GetData() POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData` - -GetData returns the Data field if non-nil, zero value otherwise. - -### GetDataOk - -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) GetDataOk() (*POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData, bool)` - -GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetData - -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) SetData(v POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData)` - -SetData sets Data field to given value. - -### HasData - -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) HasData() bool` - -HasData returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api/docs/POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData.md b/api/docs/POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData.md deleted file mode 100644 index 3d5e517f2..000000000 --- a/api/docs/POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData.md +++ /dev/null @@ -1,102 +0,0 @@ -# POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Type** | Pointer to **interface{}** | The resource's type | [optional] -**Id** | Pointer to **interface{}** | The resource ID | [optional] - -## Methods - -### NewPOSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData - -`func NewPOSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData() *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData` - -NewPOSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData instantiates a new POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPOSTBillingInfoValidationRules201ResponseDataRelationshipsMarketDataWithDefaults - -`func NewPOSTBillingInfoValidationRules201ResponseDataRelationshipsMarketDataWithDefaults() *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData` - -NewPOSTBillingInfoValidationRules201ResponseDataRelationshipsMarketDataWithDefaults instantiates a new POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetType - -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) GetType() interface{}` - -GetType returns the Type field if non-nil, zero value otherwise. - -### GetTypeOk - -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) GetTypeOk() (*interface{}, bool)` - -GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetType - -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) SetType(v interface{})` - -SetType sets Type field to given value. - -### HasType - -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) HasType() bool` - -HasType returns a boolean if a field has been set. - -### SetTypeNil - -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) SetTypeNil(b bool)` - - SetTypeNil sets the value for Type to be an explicit nil - -### UnsetType -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) UnsetType()` - -UnsetType ensures that no value is present for Type, not even an explicit nil -### GetId - -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) GetId() interface{}` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) GetIdOk() (*interface{}, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) SetId(v interface{})` - -SetId sets Id field to given value. - -### HasId - -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) HasId() bool` - -HasId returns a boolean if a field has been set. - -### SetIdNil - -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) SetIdNil(b bool)` - - SetIdNil sets the value for Id to be an explicit nil - -### UnsetId -`func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) UnsetId()` - -UnsetId ensures that no value is present for Id, not even an explicit nil - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api/docs/POSTBundles201ResponseDataRelationships.md b/api/docs/POSTBundles201ResponseDataRelationships.md index d5c7f41ae..3974fbd88 100644 --- a/api/docs/POSTBundles201ResponseDataRelationships.md +++ b/api/docs/POSTBundles201ResponseDataRelationships.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Market** | Pointer to [**POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket**](POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket.md) | | [optional] +**Market** | Pointer to [**POSTBundles201ResponseDataRelationshipsMarket**](POSTBundles201ResponseDataRelationshipsMarket.md) | | [optional] **SkuList** | Pointer to [**POSTBundles201ResponseDataRelationshipsSkuList**](POSTBundles201ResponseDataRelationshipsSkuList.md) | | [optional] **Skus** | Pointer to [**POSTBundles201ResponseDataRelationshipsSkus**](POSTBundles201ResponseDataRelationshipsSkus.md) | | [optional] **Attachments** | Pointer to [**GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments**](GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments.md) | | [optional] @@ -33,20 +33,20 @@ but it doesn't guarantee that properties required by API are set ### GetMarket -`func (o *POSTBundles201ResponseDataRelationships) GetMarket() POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket` +`func (o *POSTBundles201ResponseDataRelationships) GetMarket() POSTBundles201ResponseDataRelationshipsMarket` GetMarket returns the Market field if non-nil, zero value otherwise. ### GetMarketOk -`func (o *POSTBundles201ResponseDataRelationships) GetMarketOk() (*POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket, bool)` +`func (o *POSTBundles201ResponseDataRelationships) GetMarketOk() (*POSTBundles201ResponseDataRelationshipsMarket, bool)` GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMarket -`func (o *POSTBundles201ResponseDataRelationships) SetMarket(v POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket)` +`func (o *POSTBundles201ResponseDataRelationships) SetMarket(v POSTBundles201ResponseDataRelationshipsMarket)` SetMarket sets Market field to given value. diff --git a/api/docs/POSTBundles201ResponseDataRelationshipsMarket.md b/api/docs/POSTBundles201ResponseDataRelationshipsMarket.md new file mode 100644 index 000000000..29ebdcd34 --- /dev/null +++ b/api/docs/POSTBundles201ResponseDataRelationshipsMarket.md @@ -0,0 +1,82 @@ +# POSTBundles201ResponseDataRelationshipsMarket + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Links** | Pointer to [**POSTAddresses201ResponseDataRelationshipsGeocoderLinks**](POSTAddresses201ResponseDataRelationshipsGeocoderLinks.md) | | [optional] +**Data** | Pointer to [**POSTBundles201ResponseDataRelationshipsMarketData**](POSTBundles201ResponseDataRelationshipsMarketData.md) | | [optional] + +## Methods + +### NewPOSTBundles201ResponseDataRelationshipsMarket + +`func NewPOSTBundles201ResponseDataRelationshipsMarket() *POSTBundles201ResponseDataRelationshipsMarket` + +NewPOSTBundles201ResponseDataRelationshipsMarket instantiates a new POSTBundles201ResponseDataRelationshipsMarket object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPOSTBundles201ResponseDataRelationshipsMarketWithDefaults + +`func NewPOSTBundles201ResponseDataRelationshipsMarketWithDefaults() *POSTBundles201ResponseDataRelationshipsMarket` + +NewPOSTBundles201ResponseDataRelationshipsMarketWithDefaults instantiates a new POSTBundles201ResponseDataRelationshipsMarket object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetLinks + +`func (o *POSTBundles201ResponseDataRelationshipsMarket) GetLinks() POSTAddresses201ResponseDataRelationshipsGeocoderLinks` + +GetLinks returns the Links field if non-nil, zero value otherwise. + +### GetLinksOk + +`func (o *POSTBundles201ResponseDataRelationshipsMarket) GetLinksOk() (*POSTAddresses201ResponseDataRelationshipsGeocoderLinks, bool)` + +GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLinks + +`func (o *POSTBundles201ResponseDataRelationshipsMarket) SetLinks(v POSTAddresses201ResponseDataRelationshipsGeocoderLinks)` + +SetLinks sets Links field to given value. + +### HasLinks + +`func (o *POSTBundles201ResponseDataRelationshipsMarket) HasLinks() bool` + +HasLinks returns a boolean if a field has been set. + +### GetData + +`func (o *POSTBundles201ResponseDataRelationshipsMarket) GetData() POSTBundles201ResponseDataRelationshipsMarketData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *POSTBundles201ResponseDataRelationshipsMarket) GetDataOk() (*POSTBundles201ResponseDataRelationshipsMarketData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *POSTBundles201ResponseDataRelationshipsMarket) SetData(v POSTBundles201ResponseDataRelationshipsMarketData)` + +SetData sets Data field to given value. + +### HasData + +`func (o *POSTBundles201ResponseDataRelationshipsMarket) HasData() bool` + +HasData returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/POSTBundles201ResponseDataRelationshipsMarketData.md b/api/docs/POSTBundles201ResponseDataRelationshipsMarketData.md new file mode 100644 index 000000000..eef2cfe02 --- /dev/null +++ b/api/docs/POSTBundles201ResponseDataRelationshipsMarketData.md @@ -0,0 +1,102 @@ +# POSTBundles201ResponseDataRelationshipsMarketData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | Pointer to **interface{}** | The resource's type | [optional] +**Id** | Pointer to **interface{}** | The resource ID | [optional] + +## Methods + +### NewPOSTBundles201ResponseDataRelationshipsMarketData + +`func NewPOSTBundles201ResponseDataRelationshipsMarketData() *POSTBundles201ResponseDataRelationshipsMarketData` + +NewPOSTBundles201ResponseDataRelationshipsMarketData instantiates a new POSTBundles201ResponseDataRelationshipsMarketData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPOSTBundles201ResponseDataRelationshipsMarketDataWithDefaults + +`func NewPOSTBundles201ResponseDataRelationshipsMarketDataWithDefaults() *POSTBundles201ResponseDataRelationshipsMarketData` + +NewPOSTBundles201ResponseDataRelationshipsMarketDataWithDefaults instantiates a new POSTBundles201ResponseDataRelationshipsMarketData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetType + +`func (o *POSTBundles201ResponseDataRelationshipsMarketData) GetType() interface{}` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *POSTBundles201ResponseDataRelationshipsMarketData) GetTypeOk() (*interface{}, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *POSTBundles201ResponseDataRelationshipsMarketData) SetType(v interface{})` + +SetType sets Type field to given value. + +### HasType + +`func (o *POSTBundles201ResponseDataRelationshipsMarketData) HasType() bool` + +HasType returns a boolean if a field has been set. + +### SetTypeNil + +`func (o *POSTBundles201ResponseDataRelationshipsMarketData) SetTypeNil(b bool)` + + SetTypeNil sets the value for Type to be an explicit nil + +### UnsetType +`func (o *POSTBundles201ResponseDataRelationshipsMarketData) UnsetType()` + +UnsetType ensures that no value is present for Type, not even an explicit nil +### GetId + +`func (o *POSTBundles201ResponseDataRelationshipsMarketData) GetId() interface{}` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *POSTBundles201ResponseDataRelationshipsMarketData) GetIdOk() (*interface{}, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *POSTBundles201ResponseDataRelationshipsMarketData) SetId(v interface{})` + +SetId sets Id field to given value. + +### HasId + +`func (o *POSTBundles201ResponseDataRelationshipsMarketData) HasId() bool` + +HasId returns a boolean if a field has been set. + +### SetIdNil + +`func (o *POSTBundles201ResponseDataRelationshipsMarketData) SetIdNil(b bool)` + + SetIdNil sets the value for Id to be an explicit nil + +### UnsetId +`func (o *POSTBundles201ResponseDataRelationshipsMarketData) UnsetId()` + +UnsetId ensures that no value is present for Id, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/POSTBuyXPayYPromotions201ResponseDataRelationships.md b/api/docs/POSTBuyXPayYPromotions201ResponseDataRelationships.md index d1420c9c5..f9a49d95c 100644 --- a/api/docs/POSTBuyXPayYPromotions201ResponseDataRelationships.md +++ b/api/docs/POSTBuyXPayYPromotions201ResponseDataRelationships.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Market** | Pointer to [**POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket**](POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket.md) | | [optional] +**Market** | Pointer to [**POSTBundles201ResponseDataRelationshipsMarket**](POSTBundles201ResponseDataRelationshipsMarket.md) | | [optional] **PromotionRules** | Pointer to [**POSTBuyXPayYPromotions201ResponseDataRelationshipsPromotionRules**](POSTBuyXPayYPromotions201ResponseDataRelationshipsPromotionRules.md) | | [optional] **OrderAmountPromotionRule** | Pointer to [**POSTBuyXPayYPromotions201ResponseDataRelationshipsOrderAmountPromotionRule**](POSTBuyXPayYPromotions201ResponseDataRelationshipsOrderAmountPromotionRule.md) | | [optional] **SkuListPromotionRule** | Pointer to [**POSTBuyXPayYPromotions201ResponseDataRelationshipsSkuListPromotionRule**](POSTBuyXPayYPromotions201ResponseDataRelationshipsSkuListPromotionRule.md) | | [optional] @@ -39,20 +39,20 @@ but it doesn't guarantee that properties required by API are set ### GetMarket -`func (o *POSTBuyXPayYPromotions201ResponseDataRelationships) GetMarket() POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket` +`func (o *POSTBuyXPayYPromotions201ResponseDataRelationships) GetMarket() POSTBundles201ResponseDataRelationshipsMarket` GetMarket returns the Market field if non-nil, zero value otherwise. ### GetMarketOk -`func (o *POSTBuyXPayYPromotions201ResponseDataRelationships) GetMarketOk() (*POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket, bool)` +`func (o *POSTBuyXPayYPromotions201ResponseDataRelationships) GetMarketOk() (*POSTBundles201ResponseDataRelationshipsMarket, bool)` GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMarket -`func (o *POSTBuyXPayYPromotions201ResponseDataRelationships) SetMarket(v POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket)` +`func (o *POSTBuyXPayYPromotions201ResponseDataRelationships) SetMarket(v POSTBundles201ResponseDataRelationshipsMarket)` SetMarket sets Market field to given value. diff --git a/api/docs/POSTCarrierAccounts201ResponseData.md b/api/docs/POSTCarrierAccounts201ResponseData.md index a043c2ce6..0bf249ca1 100644 --- a/api/docs/POSTCarrierAccounts201ResponseData.md +++ b/api/docs/POSTCarrierAccounts201ResponseData.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **Type** | Pointer to **interface{}** | The resource's type | [optional] **Links** | Pointer to [**POSTAddresses201ResponseDataLinks**](POSTAddresses201ResponseDataLinks.md) | | [optional] **Attributes** | Pointer to [**POSTCarrierAccounts201ResponseDataAttributes**](POSTCarrierAccounts201ResponseDataAttributes.md) | | [optional] -**Relationships** | Pointer to [**POSTBillingInfoValidationRules201ResponseDataRelationships**](POSTBillingInfoValidationRules201ResponseDataRelationships.md) | | [optional] +**Relationships** | Pointer to [**POSTCarrierAccounts201ResponseDataRelationships**](POSTCarrierAccounts201ResponseDataRelationships.md) | | [optional] ## Methods @@ -151,20 +151,20 @@ HasAttributes returns a boolean if a field has been set. ### GetRelationships -`func (o *POSTCarrierAccounts201ResponseData) GetRelationships() POSTBillingInfoValidationRules201ResponseDataRelationships` +`func (o *POSTCarrierAccounts201ResponseData) GetRelationships() POSTCarrierAccounts201ResponseDataRelationships` GetRelationships returns the Relationships field if non-nil, zero value otherwise. ### GetRelationshipsOk -`func (o *POSTCarrierAccounts201ResponseData) GetRelationshipsOk() (*POSTBillingInfoValidationRules201ResponseDataRelationships, bool)` +`func (o *POSTCarrierAccounts201ResponseData) GetRelationshipsOk() (*POSTCarrierAccounts201ResponseDataRelationships, bool)` GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRelationships -`func (o *POSTCarrierAccounts201ResponseData) SetRelationships(v POSTBillingInfoValidationRules201ResponseDataRelationships)` +`func (o *POSTCarrierAccounts201ResponseData) SetRelationships(v POSTCarrierAccounts201ResponseDataRelationships)` SetRelationships sets Relationships field to given value. diff --git a/api/docs/POSTCarrierAccounts201ResponseDataRelationships.md b/api/docs/POSTCarrierAccounts201ResponseDataRelationships.md new file mode 100644 index 000000000..22bda7a7f --- /dev/null +++ b/api/docs/POSTCarrierAccounts201ResponseDataRelationships.md @@ -0,0 +1,108 @@ +# POSTCarrierAccounts201ResponseDataRelationships + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Market** | Pointer to [**POSTBundles201ResponseDataRelationshipsMarket**](POSTBundles201ResponseDataRelationshipsMarket.md) | | [optional] +**Attachments** | Pointer to [**GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments**](GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments.md) | | [optional] +**Versions** | Pointer to [**POSTAddresses201ResponseDataRelationshipsVersions**](POSTAddresses201ResponseDataRelationshipsVersions.md) | | [optional] + +## Methods + +### NewPOSTCarrierAccounts201ResponseDataRelationships + +`func NewPOSTCarrierAccounts201ResponseDataRelationships() *POSTCarrierAccounts201ResponseDataRelationships` + +NewPOSTCarrierAccounts201ResponseDataRelationships instantiates a new POSTCarrierAccounts201ResponseDataRelationships object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPOSTCarrierAccounts201ResponseDataRelationshipsWithDefaults + +`func NewPOSTCarrierAccounts201ResponseDataRelationshipsWithDefaults() *POSTCarrierAccounts201ResponseDataRelationships` + +NewPOSTCarrierAccounts201ResponseDataRelationshipsWithDefaults instantiates a new POSTCarrierAccounts201ResponseDataRelationships object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetMarket + +`func (o *POSTCarrierAccounts201ResponseDataRelationships) GetMarket() POSTBundles201ResponseDataRelationshipsMarket` + +GetMarket returns the Market field if non-nil, zero value otherwise. + +### GetMarketOk + +`func (o *POSTCarrierAccounts201ResponseDataRelationships) GetMarketOk() (*POSTBundles201ResponseDataRelationshipsMarket, bool)` + +GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMarket + +`func (o *POSTCarrierAccounts201ResponseDataRelationships) SetMarket(v POSTBundles201ResponseDataRelationshipsMarket)` + +SetMarket sets Market field to given value. + +### HasMarket + +`func (o *POSTCarrierAccounts201ResponseDataRelationships) HasMarket() bool` + +HasMarket returns a boolean if a field has been set. + +### GetAttachments + +`func (o *POSTCarrierAccounts201ResponseDataRelationships) GetAttachments() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments` + +GetAttachments returns the Attachments field if non-nil, zero value otherwise. + +### GetAttachmentsOk + +`func (o *POSTCarrierAccounts201ResponseDataRelationships) GetAttachmentsOk() (*GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments, bool)` + +GetAttachmentsOk returns a tuple with the Attachments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAttachments + +`func (o *POSTCarrierAccounts201ResponseDataRelationships) SetAttachments(v GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments)` + +SetAttachments sets Attachments field to given value. + +### HasAttachments + +`func (o *POSTCarrierAccounts201ResponseDataRelationships) HasAttachments() bool` + +HasAttachments returns a boolean if a field has been set. + +### GetVersions + +`func (o *POSTCarrierAccounts201ResponseDataRelationships) GetVersions() POSTAddresses201ResponseDataRelationshipsVersions` + +GetVersions returns the Versions field if non-nil, zero value otherwise. + +### GetVersionsOk + +`func (o *POSTCarrierAccounts201ResponseDataRelationships) GetVersionsOk() (*POSTAddresses201ResponseDataRelationshipsVersions, bool)` + +GetVersionsOk returns a tuple with the Versions field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersions + +`func (o *POSTCarrierAccounts201ResponseDataRelationships) SetVersions(v POSTAddresses201ResponseDataRelationshipsVersions)` + +SetVersions sets Versions field to given value. + +### HasVersions + +`func (o *POSTCarrierAccounts201ResponseDataRelationships) HasVersions() bool` + +HasVersions returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/POSTCustomerPaymentSources201ResponseDataRelationships.md b/api/docs/POSTCustomerPaymentSources201ResponseDataRelationships.md index 330e69bcb..fba5d33ae 100644 --- a/api/docs/POSTCustomerPaymentSources201ResponseDataRelationships.md +++ b/api/docs/POSTCustomerPaymentSources201ResponseDataRelationships.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Customer** | Pointer to [**POSTCouponRecipients201ResponseDataRelationshipsCustomer**](POSTCouponRecipients201ResponseDataRelationshipsCustomer.md) | | [optional] **PaymentMethod** | Pointer to [**POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentMethod**](POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentMethod.md) | | [optional] -**PaymentSource** | Pointer to [**POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource**](POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource.md) | | [optional] +**PaymentSource** | Pointer to [**GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource**](GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource.md) | | [optional] **Versions** | Pointer to [**POSTAddresses201ResponseDataRelationshipsVersions**](POSTAddresses201ResponseDataRelationshipsVersions.md) | | [optional] ## Methods @@ -80,20 +80,20 @@ HasPaymentMethod returns a boolean if a field has been set. ### GetPaymentSource -`func (o *POSTCustomerPaymentSources201ResponseDataRelationships) GetPaymentSource() POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource` +`func (o *POSTCustomerPaymentSources201ResponseDataRelationships) GetPaymentSource() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource` GetPaymentSource returns the PaymentSource field if non-nil, zero value otherwise. ### GetPaymentSourceOk -`func (o *POSTCustomerPaymentSources201ResponseDataRelationships) GetPaymentSourceOk() (*POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource, bool)` +`func (o *POSTCustomerPaymentSources201ResponseDataRelationships) GetPaymentSourceOk() (*GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource, bool)` GetPaymentSourceOk returns a tuple with the PaymentSource field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPaymentSource -`func (o *POSTCustomerPaymentSources201ResponseDataRelationships) SetPaymentSource(v POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource)` +`func (o *POSTCustomerPaymentSources201ResponseDataRelationships) SetPaymentSource(v GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource)` SetPaymentSource sets PaymentSource field to given value. diff --git a/api/docs/POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource.md b/api/docs/POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource.md deleted file mode 100644 index 98584521a..000000000 --- a/api/docs/POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource.md +++ /dev/null @@ -1,82 +0,0 @@ -# POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Links** | Pointer to [**POSTAddresses201ResponseDataRelationshipsGeocoderLinks**](POSTAddresses201ResponseDataRelationshipsGeocoderLinks.md) | | [optional] -**Data** | Pointer to [**POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData**](POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData.md) | | [optional] - -## Methods - -### NewPOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource - -`func NewPOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource() *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource` - -NewPOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource instantiates a new POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceWithDefaults - -`func NewPOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceWithDefaults() *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource` - -NewPOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceWithDefaults instantiates a new POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetLinks - -`func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource) GetLinks() POSTAddresses201ResponseDataRelationshipsGeocoderLinks` - -GetLinks returns the Links field if non-nil, zero value otherwise. - -### GetLinksOk - -`func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource) GetLinksOk() (*POSTAddresses201ResponseDataRelationshipsGeocoderLinks, bool)` - -GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLinks - -`func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource) SetLinks(v POSTAddresses201ResponseDataRelationshipsGeocoderLinks)` - -SetLinks sets Links field to given value. - -### HasLinks - -`func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource) HasLinks() bool` - -HasLinks returns a boolean if a field has been set. - -### GetData - -`func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource) GetData() POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData` - -GetData returns the Data field if non-nil, zero value otherwise. - -### GetDataOk - -`func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource) GetDataOk() (*POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData, bool)` - -GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetData - -`func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource) SetData(v POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData)` - -SetData sets Data field to given value. - -### HasData - -`func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource) HasData() bool` - -HasData returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api/docs/POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData.md b/api/docs/POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData.md deleted file mode 100644 index f2539e0a0..000000000 --- a/api/docs/POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData.md +++ /dev/null @@ -1,102 +0,0 @@ -# POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Type** | Pointer to **interface{}** | The resource's type | [optional] -**Id** | Pointer to **interface{}** | The resource ID | [optional] - -## Methods - -### NewPOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData - -`func NewPOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData() *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData` - -NewPOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData instantiates a new POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceDataWithDefaults - -`func NewPOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceDataWithDefaults() *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData` - -NewPOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceDataWithDefaults instantiates a new POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetType - -`func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) GetType() interface{}` - -GetType returns the Type field if non-nil, zero value otherwise. - -### GetTypeOk - -`func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) GetTypeOk() (*interface{}, bool)` - -GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetType - -`func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) SetType(v interface{})` - -SetType sets Type field to given value. - -### HasType - -`func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) HasType() bool` - -HasType returns a boolean if a field has been set. - -### SetTypeNil - -`func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) SetTypeNil(b bool)` - - SetTypeNil sets the value for Type to be an explicit nil - -### UnsetType -`func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) UnsetType()` - -UnsetType ensures that no value is present for Type, not even an explicit nil -### GetId - -`func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) GetId() interface{}` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) GetIdOk() (*interface{}, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) SetId(v interface{})` - -SetId sets Id field to given value. - -### HasId - -`func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) HasId() bool` - -HasId returns a boolean if a field has been set. - -### SetIdNil - -`func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) SetIdNil(b bool)` - - SetIdNil sets the value for Id to be an explicit nil - -### UnsetId -`func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) UnsetId()` - -UnsetId ensures that no value is present for Id, not even an explicit nil - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/api/docs/POSTCustomers201ResponseDataAttributes.md b/api/docs/POSTCustomers201ResponseDataAttributes.md index 6a85ccb4b..1a32873d5 100644 --- a/api/docs/POSTCustomers201ResponseDataAttributes.md +++ b/api/docs/POSTCustomers201ResponseDataAttributes.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **Email** | **interface{}** | The customer's email address. | **Password** | Pointer to **interface{}** | The customer's password. Initiate a customer password reset flow if you need to change it. | [optional] **ShopperReference** | Pointer to **interface{}** | A reference to uniquely identify the shopper during payment sessions. | [optional] +**ProfileId** | Pointer to **interface{}** | A reference to uniquely identify the customer on any connected external services. | [optional] **Reference** | Pointer to **interface{}** | A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. | [optional] **ReferenceOrigin** | Pointer to **interface{}** | Any identifier of the third party system that defines the reference code. | [optional] **Metadata** | Pointer to **interface{}** | Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. | [optional] @@ -130,6 +131,41 @@ HasShopperReference returns a boolean if a field has been set. `func (o *POSTCustomers201ResponseDataAttributes) UnsetShopperReference()` UnsetShopperReference ensures that no value is present for ShopperReference, not even an explicit nil +### GetProfileId + +`func (o *POSTCustomers201ResponseDataAttributes) GetProfileId() interface{}` + +GetProfileId returns the ProfileId field if non-nil, zero value otherwise. + +### GetProfileIdOk + +`func (o *POSTCustomers201ResponseDataAttributes) GetProfileIdOk() (*interface{}, bool)` + +GetProfileIdOk returns a tuple with the ProfileId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProfileId + +`func (o *POSTCustomers201ResponseDataAttributes) SetProfileId(v interface{})` + +SetProfileId sets ProfileId field to given value. + +### HasProfileId + +`func (o *POSTCustomers201ResponseDataAttributes) HasProfileId() bool` + +HasProfileId returns a boolean if a field has been set. + +### SetProfileIdNil + +`func (o *POSTCustomers201ResponseDataAttributes) SetProfileIdNil(b bool)` + + SetProfileIdNil sets the value for ProfileId to be an explicit nil + +### UnsetProfileId +`func (o *POSTCustomers201ResponseDataAttributes) UnsetProfileId()` + +UnsetProfileId ensures that no value is present for ProfileId, not even an explicit nil ### GetReference `func (o *POSTCustomers201ResponseDataAttributes) GetReference() interface{}` diff --git a/api/docs/POSTExports201ResponseDataAttributes.md b/api/docs/POSTExports201ResponseDataAttributes.md index 34de8e226..f2a368985 100644 --- a/api/docs/POSTExports201ResponseDataAttributes.md +++ b/api/docs/POSTExports201ResponseDataAttributes.md @@ -6,7 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ResourceType** | **interface{}** | The type of resource being exported. | **Format** | Pointer to **interface{}** | The format of the export one of 'json' (default) or 'csv'. | [optional] -**Includes** | Pointer to **interface{}** | List of related resources that should be included in the export. | [optional] +**Includes** | Pointer to **interface{}** | List of related resources that should be included in the export (redundant when 'fields' are specified). | [optional] +**Fields** | Pointer to **interface{}** | List of fields to export for the main and related resources (automatically included). Pass the asterisk '*' to include all exportable fields for the main and related resources. | [optional] **Filters** | Pointer to **interface{}** | The filters used to select the records to be exported. | [optional] **DryData** | Pointer to **interface{}** | Send this attribute if you want to skip exporting redundant attributes (IDs, timestamps, blanks, etc.), useful when combining export and import to duplicate your dataset. | [optional] **Reference** | Pointer to **interface{}** | A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. | [optional] @@ -132,6 +133,41 @@ HasIncludes returns a boolean if a field has been set. `func (o *POSTExports201ResponseDataAttributes) UnsetIncludes()` UnsetIncludes ensures that no value is present for Includes, not even an explicit nil +### GetFields + +`func (o *POSTExports201ResponseDataAttributes) GetFields() interface{}` + +GetFields returns the Fields field if non-nil, zero value otherwise. + +### GetFieldsOk + +`func (o *POSTExports201ResponseDataAttributes) GetFieldsOk() (*interface{}, bool)` + +GetFieldsOk returns a tuple with the Fields field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFields + +`func (o *POSTExports201ResponseDataAttributes) SetFields(v interface{})` + +SetFields sets Fields field to given value. + +### HasFields + +`func (o *POSTExports201ResponseDataAttributes) HasFields() bool` + +HasFields returns a boolean if a field has been set. + +### SetFieldsNil + +`func (o *POSTExports201ResponseDataAttributes) SetFieldsNil(b bool)` + + SetFieldsNil sets the value for Fields to be an explicit nil + +### UnsetFields +`func (o *POSTExports201ResponseDataAttributes) UnsetFields()` + +UnsetFields ensures that no value is present for Fields, not even an explicit nil ### GetFilters `func (o *POSTExports201ResponseDataAttributes) GetFilters() interface{}` diff --git a/api/docs/POSTFreeShippingPromotions201ResponseDataRelationships.md b/api/docs/POSTFreeShippingPromotions201ResponseDataRelationships.md index 9c212058a..048d2068c 100644 --- a/api/docs/POSTFreeShippingPromotions201ResponseDataRelationships.md +++ b/api/docs/POSTFreeShippingPromotions201ResponseDataRelationships.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Market** | Pointer to [**POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket**](POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket.md) | | [optional] +**Market** | Pointer to [**POSTBundles201ResponseDataRelationshipsMarket**](POSTBundles201ResponseDataRelationshipsMarket.md) | | [optional] **PromotionRules** | Pointer to [**POSTBuyXPayYPromotions201ResponseDataRelationshipsPromotionRules**](POSTBuyXPayYPromotions201ResponseDataRelationshipsPromotionRules.md) | | [optional] **OrderAmountPromotionRule** | Pointer to [**POSTBuyXPayYPromotions201ResponseDataRelationshipsOrderAmountPromotionRule**](POSTBuyXPayYPromotions201ResponseDataRelationshipsOrderAmountPromotionRule.md) | | [optional] **SkuListPromotionRule** | Pointer to [**POSTBuyXPayYPromotions201ResponseDataRelationshipsSkuListPromotionRule**](POSTBuyXPayYPromotions201ResponseDataRelationshipsSkuListPromotionRule.md) | | [optional] @@ -38,20 +38,20 @@ but it doesn't guarantee that properties required by API are set ### GetMarket -`func (o *POSTFreeShippingPromotions201ResponseDataRelationships) GetMarket() POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket` +`func (o *POSTFreeShippingPromotions201ResponseDataRelationships) GetMarket() POSTBundles201ResponseDataRelationshipsMarket` GetMarket returns the Market field if non-nil, zero value otherwise. ### GetMarketOk -`func (o *POSTFreeShippingPromotions201ResponseDataRelationships) GetMarketOk() (*POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket, bool)` +`func (o *POSTFreeShippingPromotions201ResponseDataRelationships) GetMarketOk() (*POSTBundles201ResponseDataRelationshipsMarket, bool)` GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMarket -`func (o *POSTFreeShippingPromotions201ResponseDataRelationships) SetMarket(v POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket)` +`func (o *POSTFreeShippingPromotions201ResponseDataRelationships) SetMarket(v POSTBundles201ResponseDataRelationshipsMarket)` SetMarket sets Market field to given value. diff --git a/api/docs/POSTGiftCards201ResponseDataRelationships.md b/api/docs/POSTGiftCards201ResponseDataRelationships.md index 643782104..652b8f3fc 100644 --- a/api/docs/POSTGiftCards201ResponseDataRelationships.md +++ b/api/docs/POSTGiftCards201ResponseDataRelationships.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Market** | Pointer to [**POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket**](POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket.md) | | [optional] +**Market** | Pointer to [**POSTBundles201ResponseDataRelationshipsMarket**](POSTBundles201ResponseDataRelationshipsMarket.md) | | [optional] **GiftCardRecipient** | Pointer to [**POSTGiftCards201ResponseDataRelationshipsGiftCardRecipient**](POSTGiftCards201ResponseDataRelationshipsGiftCardRecipient.md) | | [optional] **Attachments** | Pointer to [**GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments**](GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments.md) | | [optional] **Events** | Pointer to [**POSTAddresses201ResponseDataRelationshipsEvents**](POSTAddresses201ResponseDataRelationshipsEvents.md) | | [optional] @@ -32,20 +32,20 @@ but it doesn't guarantee that properties required by API are set ### GetMarket -`func (o *POSTGiftCards201ResponseDataRelationships) GetMarket() POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket` +`func (o *POSTGiftCards201ResponseDataRelationships) GetMarket() POSTBundles201ResponseDataRelationshipsMarket` GetMarket returns the Market field if non-nil, zero value otherwise. ### GetMarketOk -`func (o *POSTGiftCards201ResponseDataRelationships) GetMarketOk() (*POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket, bool)` +`func (o *POSTGiftCards201ResponseDataRelationships) GetMarketOk() (*POSTBundles201ResponseDataRelationshipsMarket, bool)` GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMarket -`func (o *POSTGiftCards201ResponseDataRelationships) SetMarket(v POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket)` +`func (o *POSTGiftCards201ResponseDataRelationships) SetMarket(v POSTBundles201ResponseDataRelationshipsMarket)` SetMarket sets Market field to given value. diff --git a/api/docs/POSTInStockSubscriptions201ResponseDataRelationships.md b/api/docs/POSTInStockSubscriptions201ResponseDataRelationships.md index cd6da0c23..ee50fadc2 100644 --- a/api/docs/POSTInStockSubscriptions201ResponseDataRelationships.md +++ b/api/docs/POSTInStockSubscriptions201ResponseDataRelationships.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Market** | Pointer to [**POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket**](POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket.md) | | [optional] +**Market** | Pointer to [**POSTBundles201ResponseDataRelationshipsMarket**](POSTBundles201ResponseDataRelationshipsMarket.md) | | [optional] **Customer** | Pointer to [**POSTCouponRecipients201ResponseDataRelationshipsCustomer**](POSTCouponRecipients201ResponseDataRelationshipsCustomer.md) | | [optional] **Sku** | Pointer to [**POSTInStockSubscriptions201ResponseDataRelationshipsSku**](POSTInStockSubscriptions201ResponseDataRelationshipsSku.md) | | [optional] **Events** | Pointer to [**POSTAddresses201ResponseDataRelationshipsEvents**](POSTAddresses201ResponseDataRelationshipsEvents.md) | | [optional] @@ -31,20 +31,20 @@ but it doesn't guarantee that properties required by API are set ### GetMarket -`func (o *POSTInStockSubscriptions201ResponseDataRelationships) GetMarket() POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket` +`func (o *POSTInStockSubscriptions201ResponseDataRelationships) GetMarket() POSTBundles201ResponseDataRelationshipsMarket` GetMarket returns the Market field if non-nil, zero value otherwise. ### GetMarketOk -`func (o *POSTInStockSubscriptions201ResponseDataRelationships) GetMarketOk() (*POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket, bool)` +`func (o *POSTInStockSubscriptions201ResponseDataRelationships) GetMarketOk() (*POSTBundles201ResponseDataRelationshipsMarket, bool)` GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMarket -`func (o *POSTInStockSubscriptions201ResponseDataRelationships) SetMarket(v POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket)` +`func (o *POSTInStockSubscriptions201ResponseDataRelationships) SetMarket(v POSTBundles201ResponseDataRelationshipsMarket)` SetMarket sets Market field to given value. diff --git a/api/docs/POSTLineItems201ResponseDataAttributes.md b/api/docs/POSTLineItems201ResponseDataAttributes.md index 1b3659b75..b161e1111 100644 --- a/api/docs/POSTLineItems201ResponseDataAttributes.md +++ b/api/docs/POSTLineItems201ResponseDataAttributes.md @@ -10,11 +10,11 @@ Name | Type | Description | Notes **ExternalPrice** | Pointer to **interface{}** | When creating or updating a new line item, set this attribute to '1' if you want to inject the unit_amount_cents price from an external source. Any successive price computation will be done externally, until the attribute is reset to '0'. | [optional] **UpdateQuantity** | Pointer to **interface{}** | When creating a new line item, set this attribute to '1' if you want to update the line item quantity (if present) instead of creating a new line item for the same SKU. | [optional] **ReserveStock** | Pointer to **interface{}** | Send this attribute if you want to reserve the stock for the line item's SKUs quantity. Stock reservations expiration depends on the inventory model's cutoff. When used on update the existing active stock reservations are renewed. Cannot be passed by sales channels. | [optional] -**UnitAmountCents** | Pointer to **interface{}** | The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. | [optional] +**UnitAmountCents** | Pointer to **interface{}** | The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. Cannot be passed by sales channels. | [optional] **CompareAtAmountCents** | Pointer to **interface{}** | The compared price amount, in cents. Useful to display a percentage discount. | [optional] **Name** | Pointer to **interface{}** | The name of the line item. When blank, it gets populated with the name of the associated item (if present). | [optional] **ImageUrl** | Pointer to **interface{}** | The image_url of the line item. When blank, it gets populated with the image_url of the associated item (if present, SKU only). | [optional] -**ItemType** | Pointer to **interface{}** | The type of the associated item. One of 'skus', 'bundles', 'gift_cards', 'shipments', 'payment_methods', 'adjustments', 'percentage_discount_promotions', 'free_shipping_promotions', 'buy_x_pay_y_promotions', 'free_gift_promotions', 'fixed_price_promotions', 'external_promotions', 'fixed_amount_promotions', or 'flex_promotions'. | [optional] +**ItemType** | Pointer to **interface{}** | The type of the associated item. One of 'skus', 'bundles', 'gift_cards', 'shipments', 'payment_methods', 'adjustments', 'discount_engine_items', 'percentage_discount_promotions', 'free_shipping_promotions', 'buy_x_pay_y_promotions', 'free_gift_promotions', 'fixed_price_promotions', 'external_promotions', 'fixed_amount_promotions', or 'flex_promotions'. | [optional] **Frequency** | Pointer to **interface{}** | The frequency which generates a subscription. Must be supported by existing associated subscription_model. | [optional] **Reference** | Pointer to **interface{}** | A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. | [optional] **ReferenceOrigin** | Pointer to **interface{}** | Any identifier of the third party system that defines the reference code. | [optional] diff --git a/api/docs/POSTLineItems201ResponseDataRelationships.md b/api/docs/POSTLineItems201ResponseDataRelationships.md index 397305f10..a67e13287 100644 --- a/api/docs/POSTLineItems201ResponseDataRelationships.md +++ b/api/docs/POSTLineItems201ResponseDataRelationships.md @@ -17,6 +17,7 @@ Name | Type | Description | Notes **StockReservations** | Pointer to [**POSTLineItems201ResponseDataRelationshipsStockReservations**](POSTLineItems201ResponseDataRelationshipsStockReservations.md) | | [optional] **StockLineItems** | Pointer to [**POSTLineItems201ResponseDataRelationshipsStockLineItems**](POSTLineItems201ResponseDataRelationshipsStockLineItems.md) | | [optional] **StockTransfers** | Pointer to [**POSTLineItems201ResponseDataRelationshipsStockTransfers**](POSTLineItems201ResponseDataRelationshipsStockTransfers.md) | | [optional] +**Notifications** | Pointer to [**POSTLineItems201ResponseDataRelationshipsNotifications**](POSTLineItems201ResponseDataRelationshipsNotifications.md) | | [optional] **Events** | Pointer to [**POSTAddresses201ResponseDataRelationshipsEvents**](POSTAddresses201ResponseDataRelationshipsEvents.md) | | [optional] **Tags** | Pointer to [**POSTAddresses201ResponseDataRelationshipsTags**](POSTAddresses201ResponseDataRelationshipsTags.md) | | [optional] @@ -364,6 +365,31 @@ SetStockTransfers sets StockTransfers field to given value. HasStockTransfers returns a boolean if a field has been set. +### GetNotifications + +`func (o *POSTLineItems201ResponseDataRelationships) GetNotifications() POSTLineItems201ResponseDataRelationshipsNotifications` + +GetNotifications returns the Notifications field if non-nil, zero value otherwise. + +### GetNotificationsOk + +`func (o *POSTLineItems201ResponseDataRelationships) GetNotificationsOk() (*POSTLineItems201ResponseDataRelationshipsNotifications, bool)` + +GetNotificationsOk returns a tuple with the Notifications field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNotifications + +`func (o *POSTLineItems201ResponseDataRelationships) SetNotifications(v POSTLineItems201ResponseDataRelationshipsNotifications)` + +SetNotifications sets Notifications field to given value. + +### HasNotifications + +`func (o *POSTLineItems201ResponseDataRelationships) HasNotifications() bool` + +HasNotifications returns a boolean if a field has been set. + ### GetEvents `func (o *POSTLineItems201ResponseDataRelationships) GetEvents() POSTAddresses201ResponseDataRelationshipsEvents` diff --git a/api/docs/POSTLineItems201ResponseDataRelationshipsNotifications.md b/api/docs/POSTLineItems201ResponseDataRelationshipsNotifications.md new file mode 100644 index 000000000..d48e64986 --- /dev/null +++ b/api/docs/POSTLineItems201ResponseDataRelationshipsNotifications.md @@ -0,0 +1,82 @@ +# POSTLineItems201ResponseDataRelationshipsNotifications + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Links** | Pointer to [**POSTAddresses201ResponseDataRelationshipsGeocoderLinks**](POSTAddresses201ResponseDataRelationshipsGeocoderLinks.md) | | [optional] +**Data** | Pointer to [**POSTLineItems201ResponseDataRelationshipsNotificationsData**](POSTLineItems201ResponseDataRelationshipsNotificationsData.md) | | [optional] + +## Methods + +### NewPOSTLineItems201ResponseDataRelationshipsNotifications + +`func NewPOSTLineItems201ResponseDataRelationshipsNotifications() *POSTLineItems201ResponseDataRelationshipsNotifications` + +NewPOSTLineItems201ResponseDataRelationshipsNotifications instantiates a new POSTLineItems201ResponseDataRelationshipsNotifications object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPOSTLineItems201ResponseDataRelationshipsNotificationsWithDefaults + +`func NewPOSTLineItems201ResponseDataRelationshipsNotificationsWithDefaults() *POSTLineItems201ResponseDataRelationshipsNotifications` + +NewPOSTLineItems201ResponseDataRelationshipsNotificationsWithDefaults instantiates a new POSTLineItems201ResponseDataRelationshipsNotifications object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetLinks + +`func (o *POSTLineItems201ResponseDataRelationshipsNotifications) GetLinks() POSTAddresses201ResponseDataRelationshipsGeocoderLinks` + +GetLinks returns the Links field if non-nil, zero value otherwise. + +### GetLinksOk + +`func (o *POSTLineItems201ResponseDataRelationshipsNotifications) GetLinksOk() (*POSTAddresses201ResponseDataRelationshipsGeocoderLinks, bool)` + +GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLinks + +`func (o *POSTLineItems201ResponseDataRelationshipsNotifications) SetLinks(v POSTAddresses201ResponseDataRelationshipsGeocoderLinks)` + +SetLinks sets Links field to given value. + +### HasLinks + +`func (o *POSTLineItems201ResponseDataRelationshipsNotifications) HasLinks() bool` + +HasLinks returns a boolean if a field has been set. + +### GetData + +`func (o *POSTLineItems201ResponseDataRelationshipsNotifications) GetData() POSTLineItems201ResponseDataRelationshipsNotificationsData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *POSTLineItems201ResponseDataRelationshipsNotifications) GetDataOk() (*POSTLineItems201ResponseDataRelationshipsNotificationsData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *POSTLineItems201ResponseDataRelationshipsNotifications) SetData(v POSTLineItems201ResponseDataRelationshipsNotificationsData)` + +SetData sets Data field to given value. + +### HasData + +`func (o *POSTLineItems201ResponseDataRelationshipsNotifications) HasData() bool` + +HasData returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/POSTLineItems201ResponseDataRelationshipsNotificationsData.md b/api/docs/POSTLineItems201ResponseDataRelationshipsNotificationsData.md new file mode 100644 index 000000000..0c7263e42 --- /dev/null +++ b/api/docs/POSTLineItems201ResponseDataRelationshipsNotificationsData.md @@ -0,0 +1,102 @@ +# POSTLineItems201ResponseDataRelationshipsNotificationsData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | Pointer to **interface{}** | The resource's type | [optional] +**Id** | Pointer to **interface{}** | The resource ID | [optional] + +## Methods + +### NewPOSTLineItems201ResponseDataRelationshipsNotificationsData + +`func NewPOSTLineItems201ResponseDataRelationshipsNotificationsData() *POSTLineItems201ResponseDataRelationshipsNotificationsData` + +NewPOSTLineItems201ResponseDataRelationshipsNotificationsData instantiates a new POSTLineItems201ResponseDataRelationshipsNotificationsData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPOSTLineItems201ResponseDataRelationshipsNotificationsDataWithDefaults + +`func NewPOSTLineItems201ResponseDataRelationshipsNotificationsDataWithDefaults() *POSTLineItems201ResponseDataRelationshipsNotificationsData` + +NewPOSTLineItems201ResponseDataRelationshipsNotificationsDataWithDefaults instantiates a new POSTLineItems201ResponseDataRelationshipsNotificationsData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetType + +`func (o *POSTLineItems201ResponseDataRelationshipsNotificationsData) GetType() interface{}` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *POSTLineItems201ResponseDataRelationshipsNotificationsData) GetTypeOk() (*interface{}, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *POSTLineItems201ResponseDataRelationshipsNotificationsData) SetType(v interface{})` + +SetType sets Type field to given value. + +### HasType + +`func (o *POSTLineItems201ResponseDataRelationshipsNotificationsData) HasType() bool` + +HasType returns a boolean if a field has been set. + +### SetTypeNil + +`func (o *POSTLineItems201ResponseDataRelationshipsNotificationsData) SetTypeNil(b bool)` + + SetTypeNil sets the value for Type to be an explicit nil + +### UnsetType +`func (o *POSTLineItems201ResponseDataRelationshipsNotificationsData) UnsetType()` + +UnsetType ensures that no value is present for Type, not even an explicit nil +### GetId + +`func (o *POSTLineItems201ResponseDataRelationshipsNotificationsData) GetId() interface{}` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *POSTLineItems201ResponseDataRelationshipsNotificationsData) GetIdOk() (*interface{}, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *POSTLineItems201ResponseDataRelationshipsNotificationsData) SetId(v interface{})` + +SetId sets Id field to given value. + +### HasId + +`func (o *POSTLineItems201ResponseDataRelationshipsNotificationsData) HasId() bool` + +HasId returns a boolean if a field has been set. + +### SetIdNil + +`func (o *POSTLineItems201ResponseDataRelationshipsNotificationsData) SetIdNil(b bool)` + + SetIdNil sets the value for Id to be an explicit nil + +### UnsetId +`func (o *POSTLineItems201ResponseDataRelationshipsNotificationsData) UnsetId()` + +UnsetId ensures that no value is present for Id, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/POSTMarkets201ResponseDataRelationships.md b/api/docs/POSTMarkets201ResponseDataRelationships.md index b7b7c3fe3..73cc66570 100644 --- a/api/docs/POSTMarkets201ResponseDataRelationships.md +++ b/api/docs/POSTMarkets201ResponseDataRelationships.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **TaxCalculator** | Pointer to [**POSTMarkets201ResponseDataRelationshipsTaxCalculator**](POSTMarkets201ResponseDataRelationshipsTaxCalculator.md) | | [optional] **CustomerGroup** | Pointer to [**POSTCustomers201ResponseDataRelationshipsCustomerGroup**](POSTCustomers201ResponseDataRelationshipsCustomerGroup.md) | | [optional] **Geocoder** | Pointer to [**POSTAddresses201ResponseDataRelationshipsGeocoder**](POSTAddresses201ResponseDataRelationshipsGeocoder.md) | | [optional] +**Stores** | Pointer to [**POSTMarkets201ResponseDataRelationshipsStores**](POSTMarkets201ResponseDataRelationshipsStores.md) | | [optional] **PriceListSchedulers** | Pointer to [**POSTMarkets201ResponseDataRelationshipsPriceListSchedulers**](POSTMarkets201ResponseDataRelationshipsPriceListSchedulers.md) | | [optional] **Attachments** | Pointer to [**GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments**](GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments.md) | | [optional] **Versions** | Pointer to [**POSTAddresses201ResponseDataRelationshipsVersions**](POSTAddresses201ResponseDataRelationshipsVersions.md) | | [optional] @@ -235,6 +236,31 @@ SetGeocoder sets Geocoder field to given value. HasGeocoder returns a boolean if a field has been set. +### GetStores + +`func (o *POSTMarkets201ResponseDataRelationships) GetStores() POSTMarkets201ResponseDataRelationshipsStores` + +GetStores returns the Stores field if non-nil, zero value otherwise. + +### GetStoresOk + +`func (o *POSTMarkets201ResponseDataRelationships) GetStoresOk() (*POSTMarkets201ResponseDataRelationshipsStores, bool)` + +GetStoresOk returns a tuple with the Stores field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStores + +`func (o *POSTMarkets201ResponseDataRelationships) SetStores(v POSTMarkets201ResponseDataRelationshipsStores)` + +SetStores sets Stores field to given value. + +### HasStores + +`func (o *POSTMarkets201ResponseDataRelationships) HasStores() bool` + +HasStores returns a boolean if a field has been set. + ### GetPriceListSchedulers `func (o *POSTMarkets201ResponseDataRelationships) GetPriceListSchedulers() POSTMarkets201ResponseDataRelationshipsPriceListSchedulers` diff --git a/api/docs/POSTMarkets201ResponseDataRelationshipsStores.md b/api/docs/POSTMarkets201ResponseDataRelationshipsStores.md new file mode 100644 index 000000000..09fa35ffd --- /dev/null +++ b/api/docs/POSTMarkets201ResponseDataRelationshipsStores.md @@ -0,0 +1,82 @@ +# POSTMarkets201ResponseDataRelationshipsStores + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Links** | Pointer to [**POSTAddresses201ResponseDataRelationshipsGeocoderLinks**](POSTAddresses201ResponseDataRelationshipsGeocoderLinks.md) | | [optional] +**Data** | Pointer to [**POSTMarkets201ResponseDataRelationshipsStoresData**](POSTMarkets201ResponseDataRelationshipsStoresData.md) | | [optional] + +## Methods + +### NewPOSTMarkets201ResponseDataRelationshipsStores + +`func NewPOSTMarkets201ResponseDataRelationshipsStores() *POSTMarkets201ResponseDataRelationshipsStores` + +NewPOSTMarkets201ResponseDataRelationshipsStores instantiates a new POSTMarkets201ResponseDataRelationshipsStores object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPOSTMarkets201ResponseDataRelationshipsStoresWithDefaults + +`func NewPOSTMarkets201ResponseDataRelationshipsStoresWithDefaults() *POSTMarkets201ResponseDataRelationshipsStores` + +NewPOSTMarkets201ResponseDataRelationshipsStoresWithDefaults instantiates a new POSTMarkets201ResponseDataRelationshipsStores object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetLinks + +`func (o *POSTMarkets201ResponseDataRelationshipsStores) GetLinks() POSTAddresses201ResponseDataRelationshipsGeocoderLinks` + +GetLinks returns the Links field if non-nil, zero value otherwise. + +### GetLinksOk + +`func (o *POSTMarkets201ResponseDataRelationshipsStores) GetLinksOk() (*POSTAddresses201ResponseDataRelationshipsGeocoderLinks, bool)` + +GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLinks + +`func (o *POSTMarkets201ResponseDataRelationshipsStores) SetLinks(v POSTAddresses201ResponseDataRelationshipsGeocoderLinks)` + +SetLinks sets Links field to given value. + +### HasLinks + +`func (o *POSTMarkets201ResponseDataRelationshipsStores) HasLinks() bool` + +HasLinks returns a boolean if a field has been set. + +### GetData + +`func (o *POSTMarkets201ResponseDataRelationshipsStores) GetData() POSTMarkets201ResponseDataRelationshipsStoresData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *POSTMarkets201ResponseDataRelationshipsStores) GetDataOk() (*POSTMarkets201ResponseDataRelationshipsStoresData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *POSTMarkets201ResponseDataRelationshipsStores) SetData(v POSTMarkets201ResponseDataRelationshipsStoresData)` + +SetData sets Data field to given value. + +### HasData + +`func (o *POSTMarkets201ResponseDataRelationshipsStores) HasData() bool` + +HasData returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/POSTMarkets201ResponseDataRelationshipsStoresData.md b/api/docs/POSTMarkets201ResponseDataRelationshipsStoresData.md new file mode 100644 index 000000000..9face295e --- /dev/null +++ b/api/docs/POSTMarkets201ResponseDataRelationshipsStoresData.md @@ -0,0 +1,102 @@ +# POSTMarkets201ResponseDataRelationshipsStoresData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | Pointer to **interface{}** | The resource's type | [optional] +**Id** | Pointer to **interface{}** | The resource ID | [optional] + +## Methods + +### NewPOSTMarkets201ResponseDataRelationshipsStoresData + +`func NewPOSTMarkets201ResponseDataRelationshipsStoresData() *POSTMarkets201ResponseDataRelationshipsStoresData` + +NewPOSTMarkets201ResponseDataRelationshipsStoresData instantiates a new POSTMarkets201ResponseDataRelationshipsStoresData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPOSTMarkets201ResponseDataRelationshipsStoresDataWithDefaults + +`func NewPOSTMarkets201ResponseDataRelationshipsStoresDataWithDefaults() *POSTMarkets201ResponseDataRelationshipsStoresData` + +NewPOSTMarkets201ResponseDataRelationshipsStoresDataWithDefaults instantiates a new POSTMarkets201ResponseDataRelationshipsStoresData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetType + +`func (o *POSTMarkets201ResponseDataRelationshipsStoresData) GetType() interface{}` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *POSTMarkets201ResponseDataRelationshipsStoresData) GetTypeOk() (*interface{}, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *POSTMarkets201ResponseDataRelationshipsStoresData) SetType(v interface{})` + +SetType sets Type field to given value. + +### HasType + +`func (o *POSTMarkets201ResponseDataRelationshipsStoresData) HasType() bool` + +HasType returns a boolean if a field has been set. + +### SetTypeNil + +`func (o *POSTMarkets201ResponseDataRelationshipsStoresData) SetTypeNil(b bool)` + + SetTypeNil sets the value for Type to be an explicit nil + +### UnsetType +`func (o *POSTMarkets201ResponseDataRelationshipsStoresData) UnsetType()` + +UnsetType ensures that no value is present for Type, not even an explicit nil +### GetId + +`func (o *POSTMarkets201ResponseDataRelationshipsStoresData) GetId() interface{}` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *POSTMarkets201ResponseDataRelationshipsStoresData) GetIdOk() (*interface{}, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *POSTMarkets201ResponseDataRelationshipsStoresData) SetId(v interface{})` + +SetId sets Id field to given value. + +### HasId + +`func (o *POSTMarkets201ResponseDataRelationshipsStoresData) HasId() bool` + +HasId returns a boolean if a field has been set. + +### SetIdNil + +`func (o *POSTMarkets201ResponseDataRelationshipsStoresData) SetIdNil(b bool)` + + SetIdNil sets the value for Id to be an explicit nil + +### UnsetId +`func (o *POSTMarkets201ResponseDataRelationshipsStoresData) UnsetId()` + +UnsetId ensures that no value is present for Id, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/POSTNotifications201Response.md b/api/docs/POSTNotifications201Response.md new file mode 100644 index 000000000..f8a60678b --- /dev/null +++ b/api/docs/POSTNotifications201Response.md @@ -0,0 +1,56 @@ +# POSTNotifications201Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Data** | Pointer to [**POSTNotifications201ResponseData**](POSTNotifications201ResponseData.md) | | [optional] + +## Methods + +### NewPOSTNotifications201Response + +`func NewPOSTNotifications201Response() *POSTNotifications201Response` + +NewPOSTNotifications201Response instantiates a new POSTNotifications201Response object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPOSTNotifications201ResponseWithDefaults + +`func NewPOSTNotifications201ResponseWithDefaults() *POSTNotifications201Response` + +NewPOSTNotifications201ResponseWithDefaults instantiates a new POSTNotifications201Response object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetData + +`func (o *POSTNotifications201Response) GetData() POSTNotifications201ResponseData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *POSTNotifications201Response) GetDataOk() (*POSTNotifications201ResponseData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *POSTNotifications201Response) SetData(v POSTNotifications201ResponseData)` + +SetData sets Data field to given value. + +### HasData + +`func (o *POSTNotifications201Response) HasData() bool` + +HasData returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/POSTNotifications201ResponseData.md b/api/docs/POSTNotifications201ResponseData.md new file mode 100644 index 000000000..98a86f231 --- /dev/null +++ b/api/docs/POSTNotifications201ResponseData.md @@ -0,0 +1,180 @@ +# POSTNotifications201ResponseData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **interface{}** | The resource's id | [optional] +**Type** | Pointer to **interface{}** | The resource's type | [optional] +**Links** | Pointer to [**POSTAddresses201ResponseDataLinks**](POSTAddresses201ResponseDataLinks.md) | | [optional] +**Attributes** | Pointer to [**POSTNotifications201ResponseDataAttributes**](POSTNotifications201ResponseDataAttributes.md) | | [optional] +**Relationships** | Pointer to [**POSTNotifications201ResponseDataRelationships**](POSTNotifications201ResponseDataRelationships.md) | | [optional] + +## Methods + +### NewPOSTNotifications201ResponseData + +`func NewPOSTNotifications201ResponseData() *POSTNotifications201ResponseData` + +NewPOSTNotifications201ResponseData instantiates a new POSTNotifications201ResponseData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPOSTNotifications201ResponseDataWithDefaults + +`func NewPOSTNotifications201ResponseDataWithDefaults() *POSTNotifications201ResponseData` + +NewPOSTNotifications201ResponseDataWithDefaults instantiates a new POSTNotifications201ResponseData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *POSTNotifications201ResponseData) GetId() interface{}` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *POSTNotifications201ResponseData) GetIdOk() (*interface{}, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *POSTNotifications201ResponseData) SetId(v interface{})` + +SetId sets Id field to given value. + +### HasId + +`func (o *POSTNotifications201ResponseData) HasId() bool` + +HasId returns a boolean if a field has been set. + +### SetIdNil + +`func (o *POSTNotifications201ResponseData) SetIdNil(b bool)` + + SetIdNil sets the value for Id to be an explicit nil + +### UnsetId +`func (o *POSTNotifications201ResponseData) UnsetId()` + +UnsetId ensures that no value is present for Id, not even an explicit nil +### GetType + +`func (o *POSTNotifications201ResponseData) GetType() interface{}` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *POSTNotifications201ResponseData) GetTypeOk() (*interface{}, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *POSTNotifications201ResponseData) SetType(v interface{})` + +SetType sets Type field to given value. + +### HasType + +`func (o *POSTNotifications201ResponseData) HasType() bool` + +HasType returns a boolean if a field has been set. + +### SetTypeNil + +`func (o *POSTNotifications201ResponseData) SetTypeNil(b bool)` + + SetTypeNil sets the value for Type to be an explicit nil + +### UnsetType +`func (o *POSTNotifications201ResponseData) UnsetType()` + +UnsetType ensures that no value is present for Type, not even an explicit nil +### GetLinks + +`func (o *POSTNotifications201ResponseData) GetLinks() POSTAddresses201ResponseDataLinks` + +GetLinks returns the Links field if non-nil, zero value otherwise. + +### GetLinksOk + +`func (o *POSTNotifications201ResponseData) GetLinksOk() (*POSTAddresses201ResponseDataLinks, bool)` + +GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLinks + +`func (o *POSTNotifications201ResponseData) SetLinks(v POSTAddresses201ResponseDataLinks)` + +SetLinks sets Links field to given value. + +### HasLinks + +`func (o *POSTNotifications201ResponseData) HasLinks() bool` + +HasLinks returns a boolean if a field has been set. + +### GetAttributes + +`func (o *POSTNotifications201ResponseData) GetAttributes() POSTNotifications201ResponseDataAttributes` + +GetAttributes returns the Attributes field if non-nil, zero value otherwise. + +### GetAttributesOk + +`func (o *POSTNotifications201ResponseData) GetAttributesOk() (*POSTNotifications201ResponseDataAttributes, bool)` + +GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAttributes + +`func (o *POSTNotifications201ResponseData) SetAttributes(v POSTNotifications201ResponseDataAttributes)` + +SetAttributes sets Attributes field to given value. + +### HasAttributes + +`func (o *POSTNotifications201ResponseData) HasAttributes() bool` + +HasAttributes returns a boolean if a field has been set. + +### GetRelationships + +`func (o *POSTNotifications201ResponseData) GetRelationships() POSTNotifications201ResponseDataRelationships` + +GetRelationships returns the Relationships field if non-nil, zero value otherwise. + +### GetRelationshipsOk + +`func (o *POSTNotifications201ResponseData) GetRelationshipsOk() (*POSTNotifications201ResponseDataRelationships, bool)` + +GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelationships + +`func (o *POSTNotifications201ResponseData) SetRelationships(v POSTNotifications201ResponseDataRelationships)` + +SetRelationships sets Relationships field to given value. + +### HasRelationships + +`func (o *POSTNotifications201ResponseData) HasRelationships() bool` + +HasRelationships returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/POSTNotifications201ResponseDataAttributes.md b/api/docs/POSTNotifications201ResponseDataAttributes.md new file mode 100644 index 000000000..adb7d9747 --- /dev/null +++ b/api/docs/POSTNotifications201ResponseDataAttributes.md @@ -0,0 +1,241 @@ +# POSTNotifications201ResponseDataAttributes + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **interface{}** | The internal name of the notification. | +**Flash** | Pointer to **interface{}** | Indicates if the notification is temporary, valid for the ones created by external services. | [optional] +**Body** | Pointer to **interface{}** | An internal body of the notification. | [optional] +**Reference** | Pointer to **interface{}** | A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. | [optional] +**ReferenceOrigin** | Pointer to **interface{}** | Any identifier of the third party system that defines the reference code. | [optional] +**Metadata** | Pointer to **interface{}** | Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. | [optional] + +## Methods + +### NewPOSTNotifications201ResponseDataAttributes + +`func NewPOSTNotifications201ResponseDataAttributes(name interface{}, ) *POSTNotifications201ResponseDataAttributes` + +NewPOSTNotifications201ResponseDataAttributes instantiates a new POSTNotifications201ResponseDataAttributes object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPOSTNotifications201ResponseDataAttributesWithDefaults + +`func NewPOSTNotifications201ResponseDataAttributesWithDefaults() *POSTNotifications201ResponseDataAttributes` + +NewPOSTNotifications201ResponseDataAttributesWithDefaults instantiates a new POSTNotifications201ResponseDataAttributes object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetName + +`func (o *POSTNotifications201ResponseDataAttributes) GetName() interface{}` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *POSTNotifications201ResponseDataAttributes) GetNameOk() (*interface{}, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *POSTNotifications201ResponseDataAttributes) SetName(v interface{})` + +SetName sets Name field to given value. + + +### SetNameNil + +`func (o *POSTNotifications201ResponseDataAttributes) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *POSTNotifications201ResponseDataAttributes) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetFlash + +`func (o *POSTNotifications201ResponseDataAttributes) GetFlash() interface{}` + +GetFlash returns the Flash field if non-nil, zero value otherwise. + +### GetFlashOk + +`func (o *POSTNotifications201ResponseDataAttributes) GetFlashOk() (*interface{}, bool)` + +GetFlashOk returns a tuple with the Flash field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFlash + +`func (o *POSTNotifications201ResponseDataAttributes) SetFlash(v interface{})` + +SetFlash sets Flash field to given value. + +### HasFlash + +`func (o *POSTNotifications201ResponseDataAttributes) HasFlash() bool` + +HasFlash returns a boolean if a field has been set. + +### SetFlashNil + +`func (o *POSTNotifications201ResponseDataAttributes) SetFlashNil(b bool)` + + SetFlashNil sets the value for Flash to be an explicit nil + +### UnsetFlash +`func (o *POSTNotifications201ResponseDataAttributes) UnsetFlash()` + +UnsetFlash ensures that no value is present for Flash, not even an explicit nil +### GetBody + +`func (o *POSTNotifications201ResponseDataAttributes) GetBody() interface{}` + +GetBody returns the Body field if non-nil, zero value otherwise. + +### GetBodyOk + +`func (o *POSTNotifications201ResponseDataAttributes) GetBodyOk() (*interface{}, bool)` + +GetBodyOk returns a tuple with the Body field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBody + +`func (o *POSTNotifications201ResponseDataAttributes) SetBody(v interface{})` + +SetBody sets Body field to given value. + +### HasBody + +`func (o *POSTNotifications201ResponseDataAttributes) HasBody() bool` + +HasBody returns a boolean if a field has been set. + +### SetBodyNil + +`func (o *POSTNotifications201ResponseDataAttributes) SetBodyNil(b bool)` + + SetBodyNil sets the value for Body to be an explicit nil + +### UnsetBody +`func (o *POSTNotifications201ResponseDataAttributes) UnsetBody()` + +UnsetBody ensures that no value is present for Body, not even an explicit nil +### GetReference + +`func (o *POSTNotifications201ResponseDataAttributes) GetReference() interface{}` + +GetReference returns the Reference field if non-nil, zero value otherwise. + +### GetReferenceOk + +`func (o *POSTNotifications201ResponseDataAttributes) GetReferenceOk() (*interface{}, bool)` + +GetReferenceOk returns a tuple with the Reference field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReference + +`func (o *POSTNotifications201ResponseDataAttributes) SetReference(v interface{})` + +SetReference sets Reference field to given value. + +### HasReference + +`func (o *POSTNotifications201ResponseDataAttributes) HasReference() bool` + +HasReference returns a boolean if a field has been set. + +### SetReferenceNil + +`func (o *POSTNotifications201ResponseDataAttributes) SetReferenceNil(b bool)` + + SetReferenceNil sets the value for Reference to be an explicit nil + +### UnsetReference +`func (o *POSTNotifications201ResponseDataAttributes) UnsetReference()` + +UnsetReference ensures that no value is present for Reference, not even an explicit nil +### GetReferenceOrigin + +`func (o *POSTNotifications201ResponseDataAttributes) GetReferenceOrigin() interface{}` + +GetReferenceOrigin returns the ReferenceOrigin field if non-nil, zero value otherwise. + +### GetReferenceOriginOk + +`func (o *POSTNotifications201ResponseDataAttributes) GetReferenceOriginOk() (*interface{}, bool)` + +GetReferenceOriginOk returns a tuple with the ReferenceOrigin field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReferenceOrigin + +`func (o *POSTNotifications201ResponseDataAttributes) SetReferenceOrigin(v interface{})` + +SetReferenceOrigin sets ReferenceOrigin field to given value. + +### HasReferenceOrigin + +`func (o *POSTNotifications201ResponseDataAttributes) HasReferenceOrigin() bool` + +HasReferenceOrigin returns a boolean if a field has been set. + +### SetReferenceOriginNil + +`func (o *POSTNotifications201ResponseDataAttributes) SetReferenceOriginNil(b bool)` + + SetReferenceOriginNil sets the value for ReferenceOrigin to be an explicit nil + +### UnsetReferenceOrigin +`func (o *POSTNotifications201ResponseDataAttributes) UnsetReferenceOrigin()` + +UnsetReferenceOrigin ensures that no value is present for ReferenceOrigin, not even an explicit nil +### GetMetadata + +`func (o *POSTNotifications201ResponseDataAttributes) GetMetadata() interface{}` + +GetMetadata returns the Metadata field if non-nil, zero value otherwise. + +### GetMetadataOk + +`func (o *POSTNotifications201ResponseDataAttributes) GetMetadataOk() (*interface{}, bool)` + +GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMetadata + +`func (o *POSTNotifications201ResponseDataAttributes) SetMetadata(v interface{})` + +SetMetadata sets Metadata field to given value. + +### HasMetadata + +`func (o *POSTNotifications201ResponseDataAttributes) HasMetadata() bool` + +HasMetadata returns a boolean if a field has been set. + +### SetMetadataNil + +`func (o *POSTNotifications201ResponseDataAttributes) SetMetadataNil(b bool)` + + SetMetadataNil sets the value for Metadata to be an explicit nil + +### UnsetMetadata +`func (o *POSTNotifications201ResponseDataAttributes) UnsetMetadata()` + +UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/POSTNotifications201ResponseDataRelationships.md b/api/docs/POSTNotifications201ResponseDataRelationships.md new file mode 100644 index 000000000..aff0b42c2 --- /dev/null +++ b/api/docs/POSTNotifications201ResponseDataRelationships.md @@ -0,0 +1,56 @@ +# POSTNotifications201ResponseDataRelationships + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Notifiable** | Pointer to [**POSTNotifications201ResponseDataRelationshipsNotifiable**](POSTNotifications201ResponseDataRelationshipsNotifiable.md) | | [optional] + +## Methods + +### NewPOSTNotifications201ResponseDataRelationships + +`func NewPOSTNotifications201ResponseDataRelationships() *POSTNotifications201ResponseDataRelationships` + +NewPOSTNotifications201ResponseDataRelationships instantiates a new POSTNotifications201ResponseDataRelationships object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPOSTNotifications201ResponseDataRelationshipsWithDefaults + +`func NewPOSTNotifications201ResponseDataRelationshipsWithDefaults() *POSTNotifications201ResponseDataRelationships` + +NewPOSTNotifications201ResponseDataRelationshipsWithDefaults instantiates a new POSTNotifications201ResponseDataRelationships object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetNotifiable + +`func (o *POSTNotifications201ResponseDataRelationships) GetNotifiable() POSTNotifications201ResponseDataRelationshipsNotifiable` + +GetNotifiable returns the Notifiable field if non-nil, zero value otherwise. + +### GetNotifiableOk + +`func (o *POSTNotifications201ResponseDataRelationships) GetNotifiableOk() (*POSTNotifications201ResponseDataRelationshipsNotifiable, bool)` + +GetNotifiableOk returns a tuple with the Notifiable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNotifiable + +`func (o *POSTNotifications201ResponseDataRelationships) SetNotifiable(v POSTNotifications201ResponseDataRelationshipsNotifiable)` + +SetNotifiable sets Notifiable field to given value. + +### HasNotifiable + +`func (o *POSTNotifications201ResponseDataRelationships) HasNotifiable() bool` + +HasNotifiable returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/POSTNotifications201ResponseDataRelationshipsNotifiable.md b/api/docs/POSTNotifications201ResponseDataRelationshipsNotifiable.md new file mode 100644 index 000000000..18d7da8c9 --- /dev/null +++ b/api/docs/POSTNotifications201ResponseDataRelationshipsNotifiable.md @@ -0,0 +1,82 @@ +# POSTNotifications201ResponseDataRelationshipsNotifiable + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Links** | Pointer to [**POSTAddresses201ResponseDataRelationshipsGeocoderLinks**](POSTAddresses201ResponseDataRelationshipsGeocoderLinks.md) | | [optional] +**Data** | Pointer to [**POSTNotifications201ResponseDataRelationshipsNotifiableData**](POSTNotifications201ResponseDataRelationshipsNotifiableData.md) | | [optional] + +## Methods + +### NewPOSTNotifications201ResponseDataRelationshipsNotifiable + +`func NewPOSTNotifications201ResponseDataRelationshipsNotifiable() *POSTNotifications201ResponseDataRelationshipsNotifiable` + +NewPOSTNotifications201ResponseDataRelationshipsNotifiable instantiates a new POSTNotifications201ResponseDataRelationshipsNotifiable object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPOSTNotifications201ResponseDataRelationshipsNotifiableWithDefaults + +`func NewPOSTNotifications201ResponseDataRelationshipsNotifiableWithDefaults() *POSTNotifications201ResponseDataRelationshipsNotifiable` + +NewPOSTNotifications201ResponseDataRelationshipsNotifiableWithDefaults instantiates a new POSTNotifications201ResponseDataRelationshipsNotifiable object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetLinks + +`func (o *POSTNotifications201ResponseDataRelationshipsNotifiable) GetLinks() POSTAddresses201ResponseDataRelationshipsGeocoderLinks` + +GetLinks returns the Links field if non-nil, zero value otherwise. + +### GetLinksOk + +`func (o *POSTNotifications201ResponseDataRelationshipsNotifiable) GetLinksOk() (*POSTAddresses201ResponseDataRelationshipsGeocoderLinks, bool)` + +GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLinks + +`func (o *POSTNotifications201ResponseDataRelationshipsNotifiable) SetLinks(v POSTAddresses201ResponseDataRelationshipsGeocoderLinks)` + +SetLinks sets Links field to given value. + +### HasLinks + +`func (o *POSTNotifications201ResponseDataRelationshipsNotifiable) HasLinks() bool` + +HasLinks returns a boolean if a field has been set. + +### GetData + +`func (o *POSTNotifications201ResponseDataRelationshipsNotifiable) GetData() POSTNotifications201ResponseDataRelationshipsNotifiableData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *POSTNotifications201ResponseDataRelationshipsNotifiable) GetDataOk() (*POSTNotifications201ResponseDataRelationshipsNotifiableData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *POSTNotifications201ResponseDataRelationshipsNotifiable) SetData(v POSTNotifications201ResponseDataRelationshipsNotifiableData)` + +SetData sets Data field to given value. + +### HasData + +`func (o *POSTNotifications201ResponseDataRelationshipsNotifiable) HasData() bool` + +HasData returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/POSTNotifications201ResponseDataRelationshipsNotifiableData.md b/api/docs/POSTNotifications201ResponseDataRelationshipsNotifiableData.md new file mode 100644 index 000000000..b67be107b --- /dev/null +++ b/api/docs/POSTNotifications201ResponseDataRelationshipsNotifiableData.md @@ -0,0 +1,102 @@ +# POSTNotifications201ResponseDataRelationshipsNotifiableData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | Pointer to **interface{}** | The resource's type | [optional] +**Id** | Pointer to **interface{}** | The resource ID | [optional] + +## Methods + +### NewPOSTNotifications201ResponseDataRelationshipsNotifiableData + +`func NewPOSTNotifications201ResponseDataRelationshipsNotifiableData() *POSTNotifications201ResponseDataRelationshipsNotifiableData` + +NewPOSTNotifications201ResponseDataRelationshipsNotifiableData instantiates a new POSTNotifications201ResponseDataRelationshipsNotifiableData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPOSTNotifications201ResponseDataRelationshipsNotifiableDataWithDefaults + +`func NewPOSTNotifications201ResponseDataRelationshipsNotifiableDataWithDefaults() *POSTNotifications201ResponseDataRelationshipsNotifiableData` + +NewPOSTNotifications201ResponseDataRelationshipsNotifiableDataWithDefaults instantiates a new POSTNotifications201ResponseDataRelationshipsNotifiableData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetType + +`func (o *POSTNotifications201ResponseDataRelationshipsNotifiableData) GetType() interface{}` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *POSTNotifications201ResponseDataRelationshipsNotifiableData) GetTypeOk() (*interface{}, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *POSTNotifications201ResponseDataRelationshipsNotifiableData) SetType(v interface{})` + +SetType sets Type field to given value. + +### HasType + +`func (o *POSTNotifications201ResponseDataRelationshipsNotifiableData) HasType() bool` + +HasType returns a boolean if a field has been set. + +### SetTypeNil + +`func (o *POSTNotifications201ResponseDataRelationshipsNotifiableData) SetTypeNil(b bool)` + + SetTypeNil sets the value for Type to be an explicit nil + +### UnsetType +`func (o *POSTNotifications201ResponseDataRelationshipsNotifiableData) UnsetType()` + +UnsetType ensures that no value is present for Type, not even an explicit nil +### GetId + +`func (o *POSTNotifications201ResponseDataRelationshipsNotifiableData) GetId() interface{}` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *POSTNotifications201ResponseDataRelationshipsNotifiableData) GetIdOk() (*interface{}, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *POSTNotifications201ResponseDataRelationshipsNotifiableData) SetId(v interface{})` + +SetId sets Id field to given value. + +### HasId + +`func (o *POSTNotifications201ResponseDataRelationshipsNotifiableData) HasId() bool` + +HasId returns a boolean if a field has been set. + +### SetIdNil + +`func (o *POSTNotifications201ResponseDataRelationshipsNotifiableData) SetIdNil(b bool)` + + SetIdNil sets the value for Id to be an explicit nil + +### UnsetId +`func (o *POSTNotifications201ResponseDataRelationshipsNotifiableData) UnsetId()` + +UnsetId ensures that no value is present for Id, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/POSTOrderCopies201ResponseDataAttributes.md b/api/docs/POSTOrderCopies201ResponseDataAttributes.md index d756668d0..dd677d32c 100644 --- a/api/docs/POSTOrderCopies201ResponseDataAttributes.md +++ b/api/docs/POSTOrderCopies201ResponseDataAttributes.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **Metadata** | Pointer to **interface{}** | Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. | [optional] **CancelSourceOrder** | Pointer to **interface{}** | Indicates if the source order must be cancelled upon copy. | [optional] **ApplyPromotions** | Pointer to **interface{}** | Indicates if promotions got applied upon copy. | [optional] +**SkipErrors** | Pointer to **interface{}** | Indicates to ignore any errors during copy. | [optional] **IgnoreInvalidCoupon** | Pointer to **interface{}** | Indicates to ignore invalid coupon code during copy. | [optional] ## Methods @@ -277,6 +278,41 @@ HasApplyPromotions returns a boolean if a field has been set. `func (o *POSTOrderCopies201ResponseDataAttributes) UnsetApplyPromotions()` UnsetApplyPromotions ensures that no value is present for ApplyPromotions, not even an explicit nil +### GetSkipErrors + +`func (o *POSTOrderCopies201ResponseDataAttributes) GetSkipErrors() interface{}` + +GetSkipErrors returns the SkipErrors field if non-nil, zero value otherwise. + +### GetSkipErrorsOk + +`func (o *POSTOrderCopies201ResponseDataAttributes) GetSkipErrorsOk() (*interface{}, bool)` + +GetSkipErrorsOk returns a tuple with the SkipErrors field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSkipErrors + +`func (o *POSTOrderCopies201ResponseDataAttributes) SetSkipErrors(v interface{})` + +SetSkipErrors sets SkipErrors field to given value. + +### HasSkipErrors + +`func (o *POSTOrderCopies201ResponseDataAttributes) HasSkipErrors() bool` + +HasSkipErrors returns a boolean if a field has been set. + +### SetSkipErrorsNil + +`func (o *POSTOrderCopies201ResponseDataAttributes) SetSkipErrorsNil(b bool)` + + SetSkipErrorsNil sets the value for SkipErrors to be an explicit nil + +### UnsetSkipErrors +`func (o *POSTOrderCopies201ResponseDataAttributes) UnsetSkipErrors()` + +UnsetSkipErrors ensures that no value is present for SkipErrors, not even an explicit nil ### GetIgnoreInvalidCoupon `func (o *POSTOrderCopies201ResponseDataAttributes) GetIgnoreInvalidCoupon() interface{}` diff --git a/api/docs/POSTOrderSubscriptions201ResponseDataRelationships.md b/api/docs/POSTOrderSubscriptions201ResponseDataRelationships.md index aa46fe569..2f8405531 100644 --- a/api/docs/POSTOrderSubscriptions201ResponseDataRelationships.md +++ b/api/docs/POSTOrderSubscriptions201ResponseDataRelationships.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Market** | Pointer to [**POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket**](POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket.md) | | [optional] +**Market** | Pointer to [**POSTBundles201ResponseDataRelationshipsMarket**](POSTBundles201ResponseDataRelationshipsMarket.md) | | [optional] **SubscriptionModel** | Pointer to [**POSTMarkets201ResponseDataRelationshipsSubscriptionModel**](POSTMarkets201ResponseDataRelationshipsSubscriptionModel.md) | | [optional] **SourceOrder** | Pointer to [**POSTOrderCopies201ResponseDataRelationshipsSourceOrder**](POSTOrderCopies201ResponseDataRelationshipsSourceOrder.md) | | [optional] **Customer** | Pointer to [**POSTCouponRecipients201ResponseDataRelationshipsCustomer**](POSTCouponRecipients201ResponseDataRelationshipsCustomer.md) | | [optional] @@ -38,20 +38,20 @@ but it doesn't guarantee that properties required by API are set ### GetMarket -`func (o *POSTOrderSubscriptions201ResponseDataRelationships) GetMarket() POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket` +`func (o *POSTOrderSubscriptions201ResponseDataRelationships) GetMarket() POSTBundles201ResponseDataRelationshipsMarket` GetMarket returns the Market field if non-nil, zero value otherwise. ### GetMarketOk -`func (o *POSTOrderSubscriptions201ResponseDataRelationships) GetMarketOk() (*POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket, bool)` +`func (o *POSTOrderSubscriptions201ResponseDataRelationships) GetMarketOk() (*POSTBundles201ResponseDataRelationshipsMarket, bool)` GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMarket -`func (o *POSTOrderSubscriptions201ResponseDataRelationships) SetMarket(v POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket)` +`func (o *POSTOrderSubscriptions201ResponseDataRelationships) SetMarket(v POSTBundles201ResponseDataRelationshipsMarket)` SetMarket sets Market field to given value. diff --git a/api/docs/POSTOrders201ResponseDataAttributes.md b/api/docs/POSTOrders201ResponseDataAttributes.md index ce932a444..fa676e711 100644 --- a/api/docs/POSTOrders201ResponseDataAttributes.md +++ b/api/docs/POSTOrders201ResponseDataAttributes.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Number** | Pointer to **interface{}** | The order identifier. Can be specified if unique within the organization (for enterprise plans only), default to numeric ID otherwise. Cannot be passed by sales channels. | [optional] -**AffiliateCode** | Pointer to **interface{}** | The affiliate code, if any, the seller will transfer commission on shop by link transactions. | [optional] +**AffiliateCode** | Pointer to **interface{}** | The affiliate code, if any, to track commissions using any third party services. | [optional] **Autorefresh** | Pointer to **interface{}** | Save this attribute as 'false' if you want prevent the order to be refreshed automatically at each change (much faster). | [optional] **PlaceAsync** | Pointer to **interface{}** | Save this attribute as 'true' if you want perform the place asynchronously. Payment errors, if any, will be collected afterwards. | [optional] **Guest** | Pointer to **interface{}** | Indicates if the order has been placed as guest. | [optional] diff --git a/api/docs/POSTOrders201ResponseDataRelationships.md b/api/docs/POSTOrders201ResponseDataRelationships.md index 6286d44c3..56b1f3984 100644 --- a/api/docs/POSTOrders201ResponseDataRelationships.md +++ b/api/docs/POSTOrders201ResponseDataRelationships.md @@ -4,16 +4,17 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Market** | Pointer to [**POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket**](POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket.md) | | [optional] +**Market** | Pointer to [**POSTBundles201ResponseDataRelationshipsMarket**](POSTBundles201ResponseDataRelationshipsMarket.md) | | [optional] **Customer** | Pointer to [**POSTCouponRecipients201ResponseDataRelationshipsCustomer**](POSTCouponRecipients201ResponseDataRelationshipsCustomer.md) | | [optional] **ShippingAddress** | Pointer to [**POSTOrders201ResponseDataRelationshipsShippingAddress**](POSTOrders201ResponseDataRelationshipsShippingAddress.md) | | [optional] **BillingAddress** | Pointer to [**POSTOrders201ResponseDataRelationshipsBillingAddress**](POSTOrders201ResponseDataRelationshipsBillingAddress.md) | | [optional] +**Store** | Pointer to [**POSTOrders201ResponseDataRelationshipsStore**](POSTOrders201ResponseDataRelationshipsStore.md) | | [optional] **AvailablePaymentMethods** | Pointer to [**POSTOrders201ResponseDataRelationshipsAvailablePaymentMethods**](POSTOrders201ResponseDataRelationshipsAvailablePaymentMethods.md) | | [optional] **AvailableCustomerPaymentSources** | Pointer to [**POSTOrders201ResponseDataRelationshipsAvailableCustomerPaymentSources**](POSTOrders201ResponseDataRelationshipsAvailableCustomerPaymentSources.md) | | [optional] **AvailableFreeSkus** | Pointer to [**POSTOrders201ResponseDataRelationshipsAvailableFreeSkus**](POSTOrders201ResponseDataRelationshipsAvailableFreeSkus.md) | | [optional] **AvailableFreeBundles** | Pointer to [**POSTOrders201ResponseDataRelationshipsAvailableFreeBundles**](POSTOrders201ResponseDataRelationshipsAvailableFreeBundles.md) | | [optional] **PaymentMethod** | Pointer to [**POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentMethod**](POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentMethod.md) | | [optional] -**PaymentSource** | Pointer to [**POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource**](POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource.md) | | [optional] +**PaymentSource** | Pointer to [**GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource**](GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource.md) | | [optional] **LineItems** | Pointer to [**POSTOrders201ResponseDataRelationshipsLineItems**](POSTOrders201ResponseDataRelationshipsLineItems.md) | | [optional] **LineItemOptions** | Pointer to [**POSTLineItems201ResponseDataRelationshipsLineItemOptions**](POSTLineItems201ResponseDataRelationshipsLineItemOptions.md) | | [optional] **StockReservations** | Pointer to [**POSTLineItems201ResponseDataRelationshipsStockReservations**](POSTLineItems201ResponseDataRelationshipsStockReservations.md) | | [optional] @@ -33,6 +34,7 @@ Name | Type | Description | Notes **OrderCopies** | Pointer to [**POSTOrders201ResponseDataRelationshipsOrderCopies**](POSTOrders201ResponseDataRelationshipsOrderCopies.md) | | [optional] **RecurringOrderCopies** | Pointer to [**POSTOrderSubscriptions201ResponseDataRelationshipsRecurringOrderCopies**](POSTOrderSubscriptions201ResponseDataRelationshipsRecurringOrderCopies.md) | | [optional] **Attachments** | Pointer to [**GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments**](GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments.md) | | [optional] +**Notifications** | Pointer to [**POSTLineItems201ResponseDataRelationshipsNotifications**](POSTLineItems201ResponseDataRelationshipsNotifications.md) | | [optional] **Links** | Pointer to [**POSTOrders201ResponseDataRelationshipsLinks**](POSTOrders201ResponseDataRelationshipsLinks.md) | | [optional] **ResourceErrors** | Pointer to [**POSTOrders201ResponseDataRelationshipsResourceErrors**](POSTOrders201ResponseDataRelationshipsResourceErrors.md) | | [optional] **Events** | Pointer to [**POSTAddresses201ResponseDataRelationshipsEvents**](POSTAddresses201ResponseDataRelationshipsEvents.md) | | [optional] @@ -60,20 +62,20 @@ but it doesn't guarantee that properties required by API are set ### GetMarket -`func (o *POSTOrders201ResponseDataRelationships) GetMarket() POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket` +`func (o *POSTOrders201ResponseDataRelationships) GetMarket() POSTBundles201ResponseDataRelationshipsMarket` GetMarket returns the Market field if non-nil, zero value otherwise. ### GetMarketOk -`func (o *POSTOrders201ResponseDataRelationships) GetMarketOk() (*POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket, bool)` +`func (o *POSTOrders201ResponseDataRelationships) GetMarketOk() (*POSTBundles201ResponseDataRelationshipsMarket, bool)` GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMarket -`func (o *POSTOrders201ResponseDataRelationships) SetMarket(v POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket)` +`func (o *POSTOrders201ResponseDataRelationships) SetMarket(v POSTBundles201ResponseDataRelationshipsMarket)` SetMarket sets Market field to given value. @@ -158,6 +160,31 @@ SetBillingAddress sets BillingAddress field to given value. HasBillingAddress returns a boolean if a field has been set. +### GetStore + +`func (o *POSTOrders201ResponseDataRelationships) GetStore() POSTOrders201ResponseDataRelationshipsStore` + +GetStore returns the Store field if non-nil, zero value otherwise. + +### GetStoreOk + +`func (o *POSTOrders201ResponseDataRelationships) GetStoreOk() (*POSTOrders201ResponseDataRelationshipsStore, bool)` + +GetStoreOk returns a tuple with the Store field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStore + +`func (o *POSTOrders201ResponseDataRelationships) SetStore(v POSTOrders201ResponseDataRelationshipsStore)` + +SetStore sets Store field to given value. + +### HasStore + +`func (o *POSTOrders201ResponseDataRelationships) HasStore() bool` + +HasStore returns a boolean if a field has been set. + ### GetAvailablePaymentMethods `func (o *POSTOrders201ResponseDataRelationships) GetAvailablePaymentMethods() POSTOrders201ResponseDataRelationshipsAvailablePaymentMethods` @@ -285,20 +312,20 @@ HasPaymentMethod returns a boolean if a field has been set. ### GetPaymentSource -`func (o *POSTOrders201ResponseDataRelationships) GetPaymentSource() POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource` +`func (o *POSTOrders201ResponseDataRelationships) GetPaymentSource() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource` GetPaymentSource returns the PaymentSource field if non-nil, zero value otherwise. ### GetPaymentSourceOk -`func (o *POSTOrders201ResponseDataRelationships) GetPaymentSourceOk() (*POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource, bool)` +`func (o *POSTOrders201ResponseDataRelationships) GetPaymentSourceOk() (*GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource, bool)` GetPaymentSourceOk returns a tuple with the PaymentSource field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPaymentSource -`func (o *POSTOrders201ResponseDataRelationships) SetPaymentSource(v POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource)` +`func (o *POSTOrders201ResponseDataRelationships) SetPaymentSource(v GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource)` SetPaymentSource sets PaymentSource field to given value. @@ -783,6 +810,31 @@ SetAttachments sets Attachments field to given value. HasAttachments returns a boolean if a field has been set. +### GetNotifications + +`func (o *POSTOrders201ResponseDataRelationships) GetNotifications() POSTLineItems201ResponseDataRelationshipsNotifications` + +GetNotifications returns the Notifications field if non-nil, zero value otherwise. + +### GetNotificationsOk + +`func (o *POSTOrders201ResponseDataRelationships) GetNotificationsOk() (*POSTLineItems201ResponseDataRelationshipsNotifications, bool)` + +GetNotificationsOk returns a tuple with the Notifications field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNotifications + +`func (o *POSTOrders201ResponseDataRelationships) SetNotifications(v POSTLineItems201ResponseDataRelationshipsNotifications)` + +SetNotifications sets Notifications field to given value. + +### HasNotifications + +`func (o *POSTOrders201ResponseDataRelationships) HasNotifications() bool` + +HasNotifications returns a boolean if a field has been set. + ### GetLinks `func (o *POSTOrders201ResponseDataRelationships) GetLinks() POSTOrders201ResponseDataRelationshipsLinks` diff --git a/api/docs/POSTOrders201ResponseDataRelationshipsStore.md b/api/docs/POSTOrders201ResponseDataRelationshipsStore.md new file mode 100644 index 000000000..2117eb731 --- /dev/null +++ b/api/docs/POSTOrders201ResponseDataRelationshipsStore.md @@ -0,0 +1,82 @@ +# POSTOrders201ResponseDataRelationshipsStore + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Links** | Pointer to [**POSTAddresses201ResponseDataRelationshipsGeocoderLinks**](POSTAddresses201ResponseDataRelationshipsGeocoderLinks.md) | | [optional] +**Data** | Pointer to [**POSTOrders201ResponseDataRelationshipsStoreData**](POSTOrders201ResponseDataRelationshipsStoreData.md) | | [optional] + +## Methods + +### NewPOSTOrders201ResponseDataRelationshipsStore + +`func NewPOSTOrders201ResponseDataRelationshipsStore() *POSTOrders201ResponseDataRelationshipsStore` + +NewPOSTOrders201ResponseDataRelationshipsStore instantiates a new POSTOrders201ResponseDataRelationshipsStore object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPOSTOrders201ResponseDataRelationshipsStoreWithDefaults + +`func NewPOSTOrders201ResponseDataRelationshipsStoreWithDefaults() *POSTOrders201ResponseDataRelationshipsStore` + +NewPOSTOrders201ResponseDataRelationshipsStoreWithDefaults instantiates a new POSTOrders201ResponseDataRelationshipsStore object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetLinks + +`func (o *POSTOrders201ResponseDataRelationshipsStore) GetLinks() POSTAddresses201ResponseDataRelationshipsGeocoderLinks` + +GetLinks returns the Links field if non-nil, zero value otherwise. + +### GetLinksOk + +`func (o *POSTOrders201ResponseDataRelationshipsStore) GetLinksOk() (*POSTAddresses201ResponseDataRelationshipsGeocoderLinks, bool)` + +GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLinks + +`func (o *POSTOrders201ResponseDataRelationshipsStore) SetLinks(v POSTAddresses201ResponseDataRelationshipsGeocoderLinks)` + +SetLinks sets Links field to given value. + +### HasLinks + +`func (o *POSTOrders201ResponseDataRelationshipsStore) HasLinks() bool` + +HasLinks returns a boolean if a field has been set. + +### GetData + +`func (o *POSTOrders201ResponseDataRelationshipsStore) GetData() POSTOrders201ResponseDataRelationshipsStoreData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *POSTOrders201ResponseDataRelationshipsStore) GetDataOk() (*POSTOrders201ResponseDataRelationshipsStoreData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *POSTOrders201ResponseDataRelationshipsStore) SetData(v POSTOrders201ResponseDataRelationshipsStoreData)` + +SetData sets Data field to given value. + +### HasData + +`func (o *POSTOrders201ResponseDataRelationshipsStore) HasData() bool` + +HasData returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/POSTOrders201ResponseDataRelationshipsStoreData.md b/api/docs/POSTOrders201ResponseDataRelationshipsStoreData.md new file mode 100644 index 000000000..121cadeca --- /dev/null +++ b/api/docs/POSTOrders201ResponseDataRelationshipsStoreData.md @@ -0,0 +1,102 @@ +# POSTOrders201ResponseDataRelationshipsStoreData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | Pointer to **interface{}** | The resource's type | [optional] +**Id** | Pointer to **interface{}** | The resource ID | [optional] + +## Methods + +### NewPOSTOrders201ResponseDataRelationshipsStoreData + +`func NewPOSTOrders201ResponseDataRelationshipsStoreData() *POSTOrders201ResponseDataRelationshipsStoreData` + +NewPOSTOrders201ResponseDataRelationshipsStoreData instantiates a new POSTOrders201ResponseDataRelationshipsStoreData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPOSTOrders201ResponseDataRelationshipsStoreDataWithDefaults + +`func NewPOSTOrders201ResponseDataRelationshipsStoreDataWithDefaults() *POSTOrders201ResponseDataRelationshipsStoreData` + +NewPOSTOrders201ResponseDataRelationshipsStoreDataWithDefaults instantiates a new POSTOrders201ResponseDataRelationshipsStoreData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetType + +`func (o *POSTOrders201ResponseDataRelationshipsStoreData) GetType() interface{}` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *POSTOrders201ResponseDataRelationshipsStoreData) GetTypeOk() (*interface{}, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *POSTOrders201ResponseDataRelationshipsStoreData) SetType(v interface{})` + +SetType sets Type field to given value. + +### HasType + +`func (o *POSTOrders201ResponseDataRelationshipsStoreData) HasType() bool` + +HasType returns a boolean if a field has been set. + +### SetTypeNil + +`func (o *POSTOrders201ResponseDataRelationshipsStoreData) SetTypeNil(b bool)` + + SetTypeNil sets the value for Type to be an explicit nil + +### UnsetType +`func (o *POSTOrders201ResponseDataRelationshipsStoreData) UnsetType()` + +UnsetType ensures that no value is present for Type, not even an explicit nil +### GetId + +`func (o *POSTOrders201ResponseDataRelationshipsStoreData) GetId() interface{}` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *POSTOrders201ResponseDataRelationshipsStoreData) GetIdOk() (*interface{}, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *POSTOrders201ResponseDataRelationshipsStoreData) SetId(v interface{})` + +SetId sets Id field to given value. + +### HasId + +`func (o *POSTOrders201ResponseDataRelationshipsStoreData) HasId() bool` + +HasId returns a boolean if a field has been set. + +### SetIdNil + +`func (o *POSTOrders201ResponseDataRelationshipsStoreData) SetIdNil(b bool)` + + SetIdNil sets the value for Id to be an explicit nil + +### UnsetId +`func (o *POSTOrders201ResponseDataRelationshipsStoreData) UnsetId()` + +UnsetId ensures that no value is present for Id, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/POSTPaymentMethods201ResponseDataRelationships.md b/api/docs/POSTPaymentMethods201ResponseDataRelationships.md index 87ad9a2aa..251bbe5a1 100644 --- a/api/docs/POSTPaymentMethods201ResponseDataRelationships.md +++ b/api/docs/POSTPaymentMethods201ResponseDataRelationships.md @@ -4,8 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Market** | Pointer to [**POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket**](POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket.md) | | [optional] +**Market** | Pointer to [**POSTBundles201ResponseDataRelationshipsMarket**](POSTBundles201ResponseDataRelationshipsMarket.md) | | [optional] **PaymentGateway** | Pointer to [**POSTAdyenPayments201ResponseDataRelationshipsPaymentGateway**](POSTAdyenPayments201ResponseDataRelationshipsPaymentGateway.md) | | [optional] +**Store** | Pointer to [**POSTOrders201ResponseDataRelationshipsStore**](POSTOrders201ResponseDataRelationshipsStore.md) | | [optional] +**Orders** | Pointer to [**POSTCustomers201ResponseDataRelationshipsOrders**](POSTCustomers201ResponseDataRelationshipsOrders.md) | | [optional] **Attachments** | Pointer to [**GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments**](GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments.md) | | [optional] **Versions** | Pointer to [**POSTAddresses201ResponseDataRelationshipsVersions**](POSTAddresses201ResponseDataRelationshipsVersions.md) | | [optional] @@ -30,20 +32,20 @@ but it doesn't guarantee that properties required by API are set ### GetMarket -`func (o *POSTPaymentMethods201ResponseDataRelationships) GetMarket() POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket` +`func (o *POSTPaymentMethods201ResponseDataRelationships) GetMarket() POSTBundles201ResponseDataRelationshipsMarket` GetMarket returns the Market field if non-nil, zero value otherwise. ### GetMarketOk -`func (o *POSTPaymentMethods201ResponseDataRelationships) GetMarketOk() (*POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket, bool)` +`func (o *POSTPaymentMethods201ResponseDataRelationships) GetMarketOk() (*POSTBundles201ResponseDataRelationshipsMarket, bool)` GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMarket -`func (o *POSTPaymentMethods201ResponseDataRelationships) SetMarket(v POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket)` +`func (o *POSTPaymentMethods201ResponseDataRelationships) SetMarket(v POSTBundles201ResponseDataRelationshipsMarket)` SetMarket sets Market field to given value. @@ -78,6 +80,56 @@ SetPaymentGateway sets PaymentGateway field to given value. HasPaymentGateway returns a boolean if a field has been set. +### GetStore + +`func (o *POSTPaymentMethods201ResponseDataRelationships) GetStore() POSTOrders201ResponseDataRelationshipsStore` + +GetStore returns the Store field if non-nil, zero value otherwise. + +### GetStoreOk + +`func (o *POSTPaymentMethods201ResponseDataRelationships) GetStoreOk() (*POSTOrders201ResponseDataRelationshipsStore, bool)` + +GetStoreOk returns a tuple with the Store field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStore + +`func (o *POSTPaymentMethods201ResponseDataRelationships) SetStore(v POSTOrders201ResponseDataRelationshipsStore)` + +SetStore sets Store field to given value. + +### HasStore + +`func (o *POSTPaymentMethods201ResponseDataRelationships) HasStore() bool` + +HasStore returns a boolean if a field has been set. + +### GetOrders + +`func (o *POSTPaymentMethods201ResponseDataRelationships) GetOrders() POSTCustomers201ResponseDataRelationshipsOrders` + +GetOrders returns the Orders field if non-nil, zero value otherwise. + +### GetOrdersOk + +`func (o *POSTPaymentMethods201ResponseDataRelationships) GetOrdersOk() (*POSTCustomers201ResponseDataRelationshipsOrders, bool)` + +GetOrdersOk returns a tuple with the Orders field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOrders + +`func (o *POSTPaymentMethods201ResponseDataRelationships) SetOrders(v POSTCustomers201ResponseDataRelationshipsOrders)` + +SetOrders sets Orders field to given value. + +### HasOrders + +`func (o *POSTPaymentMethods201ResponseDataRelationships) HasOrders() bool` + +HasOrders returns a boolean if a field has been set. + ### GetAttachments `func (o *POSTPaymentMethods201ResponseDataRelationships) GetAttachments() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments` diff --git a/api/docs/POSTPriceListSchedulers201ResponseDataRelationships.md b/api/docs/POSTPriceListSchedulers201ResponseDataRelationships.md index 0168974a0..13006519a 100644 --- a/api/docs/POSTPriceListSchedulers201ResponseDataRelationships.md +++ b/api/docs/POSTPriceListSchedulers201ResponseDataRelationships.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Market** | Pointer to [**POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket**](POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket.md) | | [optional] +**Market** | Pointer to [**POSTBundles201ResponseDataRelationshipsMarket**](POSTBundles201ResponseDataRelationshipsMarket.md) | | [optional] **PriceList** | Pointer to [**POSTMarkets201ResponseDataRelationshipsPriceList**](POSTMarkets201ResponseDataRelationshipsPriceList.md) | | [optional] **Events** | Pointer to [**POSTAddresses201ResponseDataRelationshipsEvents**](POSTAddresses201ResponseDataRelationshipsEvents.md) | | [optional] **Versions** | Pointer to [**POSTAddresses201ResponseDataRelationshipsVersions**](POSTAddresses201ResponseDataRelationshipsVersions.md) | | [optional] @@ -30,20 +30,20 @@ but it doesn't guarantee that properties required by API are set ### GetMarket -`func (o *POSTPriceListSchedulers201ResponseDataRelationships) GetMarket() POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket` +`func (o *POSTPriceListSchedulers201ResponseDataRelationships) GetMarket() POSTBundles201ResponseDataRelationshipsMarket` GetMarket returns the Market field if non-nil, zero value otherwise. ### GetMarketOk -`func (o *POSTPriceListSchedulers201ResponseDataRelationships) GetMarketOk() (*POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket, bool)` +`func (o *POSTPriceListSchedulers201ResponseDataRelationships) GetMarketOk() (*POSTBundles201ResponseDataRelationshipsMarket, bool)` GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMarket -`func (o *POSTPriceListSchedulers201ResponseDataRelationships) SetMarket(v POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket)` +`func (o *POSTPriceListSchedulers201ResponseDataRelationships) SetMarket(v POSTBundles201ResponseDataRelationshipsMarket)` SetMarket sets Market field to given value. diff --git a/api/docs/POSTShippingMethods201ResponseDataRelationships.md b/api/docs/POSTShippingMethods201ResponseDataRelationships.md index 3fd2ec44c..5910fcfdc 100644 --- a/api/docs/POSTShippingMethods201ResponseDataRelationships.md +++ b/api/docs/POSTShippingMethods201ResponseDataRelationships.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Market** | Pointer to [**POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket**](POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket.md) | | [optional] +**Market** | Pointer to [**POSTBundles201ResponseDataRelationshipsMarket**](POSTBundles201ResponseDataRelationshipsMarket.md) | | [optional] **ShippingZone** | Pointer to [**POSTShippingMethods201ResponseDataRelationshipsShippingZone**](POSTShippingMethods201ResponseDataRelationshipsShippingZone.md) | | [optional] **ShippingCategory** | Pointer to [**POSTShipments201ResponseDataRelationshipsShippingCategory**](POSTShipments201ResponseDataRelationshipsShippingCategory.md) | | [optional] **StockLocation** | Pointer to [**POSTDeliveryLeadTimes201ResponseDataRelationshipsStockLocation**](POSTDeliveryLeadTimes201ResponseDataRelationshipsStockLocation.md) | | [optional] @@ -35,20 +35,20 @@ but it doesn't guarantee that properties required by API are set ### GetMarket -`func (o *POSTShippingMethods201ResponseDataRelationships) GetMarket() POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket` +`func (o *POSTShippingMethods201ResponseDataRelationships) GetMarket() POSTBundles201ResponseDataRelationshipsMarket` GetMarket returns the Market field if non-nil, zero value otherwise. ### GetMarketOk -`func (o *POSTShippingMethods201ResponseDataRelationships) GetMarketOk() (*POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket, bool)` +`func (o *POSTShippingMethods201ResponseDataRelationships) GetMarketOk() (*POSTBundles201ResponseDataRelationshipsMarket, bool)` GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMarket -`func (o *POSTShippingMethods201ResponseDataRelationships) SetMarket(v POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket)` +`func (o *POSTShippingMethods201ResponseDataRelationships) SetMarket(v POSTBundles201ResponseDataRelationshipsMarket)` SetMarket sets Market field to given value. diff --git a/api/docs/POSTShippingZones201ResponseDataAttributes.md b/api/docs/POSTShippingZones201ResponseDataAttributes.md index 4a2e8b5f1..41f6b1595 100644 --- a/api/docs/POSTShippingZones201ResponseDataAttributes.md +++ b/api/docs/POSTShippingZones201ResponseDataAttributes.md @@ -5,12 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **interface{}** | The shipping zone's internal name. | -**CountryCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address country code. | [optional] -**NotCountryCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping address country code. | [optional] -**StateCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address state code. | [optional] -**NotStateCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping address state code. | [optional] -**ZipCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address zip code. | [optional] -**NotZipCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping zip country code. | [optional] +**CountryCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address country code, max size is 5000. | [optional] +**NotCountryCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping address country code, max size is 5000. | [optional] +**StateCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address state code, max size is 5000. | [optional] +**NotStateCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping address state code, max size is 5000. | [optional] +**ZipCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address zip code, max size is 5000. | [optional] +**NotZipCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000. | [optional] **Reference** | Pointer to **interface{}** | A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. | [optional] **ReferenceOrigin** | Pointer to **interface{}** | Any identifier of the third party system that defines the reference code. | [optional] **Metadata** | Pointer to **interface{}** | Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. | [optional] diff --git a/api/docs/POSTSkuLists201ResponseDataAttributes.md b/api/docs/POSTSkuLists201ResponseDataAttributes.md index 024c18b6b..392fcae8e 100644 --- a/api/docs/POSTSkuLists201ResponseDataAttributes.md +++ b/api/docs/POSTSkuLists201ResponseDataAttributes.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **Description** | Pointer to **interface{}** | An internal description of the SKU list. | [optional] **ImageUrl** | Pointer to **interface{}** | The URL of an image that represents the SKU list. | [optional] **Manual** | Pointer to **interface{}** | Indicates if the SKU list is populated manually. | [optional] -**SkuCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the SKU codes. | [optional] +**SkuCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the SKU codes, max size is 5000. | [optional] **Reference** | Pointer to **interface{}** | A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. | [optional] **ReferenceOrigin** | Pointer to **interface{}** | Any identifier of the third party system that defines the reference code. | [optional] **Metadata** | Pointer to **interface{}** | Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. | [optional] diff --git a/api/docs/POSTSkuOptions201ResponseDataAttributes.md b/api/docs/POSTSkuOptions201ResponseDataAttributes.md index 0d2bc1c5a..8dd572a8f 100644 --- a/api/docs/POSTSkuOptions201ResponseDataAttributes.md +++ b/api/docs/POSTSkuOptions201ResponseDataAttributes.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **Description** | Pointer to **interface{}** | An internal description of the SKU option. | [optional] **PriceAmountCents** | Pointer to **interface{}** | The price of this shipping method, in cents. | [optional] **DelayHours** | Pointer to **interface{}** | The delay time (in hours) that should be added to the delivery lead time when this option is purchased. | [optional] -**SkuCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the SKU codes. | [optional] +**SkuCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the SKU codes, max size is 5000. | [optional] **Reference** | Pointer to **interface{}** | A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. | [optional] **ReferenceOrigin** | Pointer to **interface{}** | Any identifier of the third party system that defines the reference code. | [optional] **Metadata** | Pointer to **interface{}** | Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. | [optional] diff --git a/api/docs/POSTSkuOptions201ResponseDataRelationships.md b/api/docs/POSTSkuOptions201ResponseDataRelationships.md index b03c26ab9..de297d30d 100644 --- a/api/docs/POSTSkuOptions201ResponseDataRelationships.md +++ b/api/docs/POSTSkuOptions201ResponseDataRelationships.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Market** | Pointer to [**POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket**](POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket.md) | | [optional] +**Market** | Pointer to [**POSTBundles201ResponseDataRelationshipsMarket**](POSTBundles201ResponseDataRelationshipsMarket.md) | | [optional] **Attachments** | Pointer to [**GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments**](GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments.md) | | [optional] **Events** | Pointer to [**POSTAddresses201ResponseDataRelationshipsEvents**](POSTAddresses201ResponseDataRelationshipsEvents.md) | | [optional] **Tags** | Pointer to [**POSTAddresses201ResponseDataRelationshipsTags**](POSTAddresses201ResponseDataRelationshipsTags.md) | | [optional] @@ -31,20 +31,20 @@ but it doesn't guarantee that properties required by API are set ### GetMarket -`func (o *POSTSkuOptions201ResponseDataRelationships) GetMarket() POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket` +`func (o *POSTSkuOptions201ResponseDataRelationships) GetMarket() POSTBundles201ResponseDataRelationshipsMarket` GetMarket returns the Market field if non-nil, zero value otherwise. ### GetMarketOk -`func (o *POSTSkuOptions201ResponseDataRelationships) GetMarketOk() (*POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket, bool)` +`func (o *POSTSkuOptions201ResponseDataRelationships) GetMarketOk() (*POSTBundles201ResponseDataRelationshipsMarket, bool)` GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMarket -`func (o *POSTSkuOptions201ResponseDataRelationships) SetMarket(v POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket)` +`func (o *POSTSkuOptions201ResponseDataRelationships) SetMarket(v POSTBundles201ResponseDataRelationshipsMarket)` SetMarket sets Market field to given value. diff --git a/api/docs/POSTStockLocations201ResponseDataRelationships.md b/api/docs/POSTStockLocations201ResponseDataRelationships.md index af3248457..59c950aa6 100644 --- a/api/docs/POSTStockLocations201ResponseDataRelationships.md +++ b/api/docs/POSTStockLocations201ResponseDataRelationships.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **InventoryReturnLocations** | Pointer to [**POSTInventoryModels201ResponseDataRelationshipsInventoryReturnLocations**](POSTInventoryModels201ResponseDataRelationshipsInventoryReturnLocations.md) | | [optional] **StockItems** | Pointer to [**POSTSkus201ResponseDataRelationshipsStockItems**](POSTSkus201ResponseDataRelationshipsStockItems.md) | | [optional] **StockTransfers** | Pointer to [**POSTLineItems201ResponseDataRelationshipsStockTransfers**](POSTLineItems201ResponseDataRelationshipsStockTransfers.md) | | [optional] +**Stores** | Pointer to [**POSTMarkets201ResponseDataRelationshipsStores**](POSTMarkets201ResponseDataRelationshipsStores.md) | | [optional] **Attachments** | Pointer to [**GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments**](GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments.md) | | [optional] **Versions** | Pointer to [**POSTAddresses201ResponseDataRelationshipsVersions**](POSTAddresses201ResponseDataRelationshipsVersions.md) | | [optional] @@ -156,6 +157,31 @@ SetStockTransfers sets StockTransfers field to given value. HasStockTransfers returns a boolean if a field has been set. +### GetStores + +`func (o *POSTStockLocations201ResponseDataRelationships) GetStores() POSTMarkets201ResponseDataRelationshipsStores` + +GetStores returns the Stores field if non-nil, zero value otherwise. + +### GetStoresOk + +`func (o *POSTStockLocations201ResponseDataRelationships) GetStoresOk() (*POSTMarkets201ResponseDataRelationshipsStores, bool)` + +GetStoresOk returns a tuple with the Stores field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStores + +`func (o *POSTStockLocations201ResponseDataRelationships) SetStores(v POSTMarkets201ResponseDataRelationshipsStores)` + +SetStores sets Stores field to given value. + +### HasStores + +`func (o *POSTStockLocations201ResponseDataRelationships) HasStores() bool` + +HasStores returns a boolean if a field has been set. + ### GetAttachments `func (o *POSTStockLocations201ResponseDataRelationships) GetAttachments() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments` diff --git a/api/docs/POSTStockTransfers201ResponseDataAttributes.md b/api/docs/POSTStockTransfers201ResponseDataAttributes.md index cdfa6d8df..ac1e29550 100644 --- a/api/docs/POSTStockTransfers201ResponseDataAttributes.md +++ b/api/docs/POSTStockTransfers201ResponseDataAttributes.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Number** | Pointer to **interface{}** | Unique identifier for the stock transfer (numeric). | [optional] **SkuCode** | Pointer to **interface{}** | The code of the associated SKU. | [optional] -**Quantity** | **interface{}** | The stock quantity to be transferred from the origin stock location to destination one. | +**Quantity** | **interface{}** | The stock quantity to be transferred from the origin stock location to destination one. Updatable unless stock transfer is completed or cancelled and depending on origin stock availability. | **Reference** | Pointer to **interface{}** | A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. | [optional] **ReferenceOrigin** | Pointer to **interface{}** | Any identifier of the third party system that defines the reference code. | [optional] **Metadata** | Pointer to **interface{}** | Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. | [optional] diff --git a/api/docs/POSTStores201Response.md b/api/docs/POSTStores201Response.md new file mode 100644 index 000000000..139f46bcf --- /dev/null +++ b/api/docs/POSTStores201Response.md @@ -0,0 +1,56 @@ +# POSTStores201Response + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Data** | Pointer to [**POSTStores201ResponseData**](POSTStores201ResponseData.md) | | [optional] + +## Methods + +### NewPOSTStores201Response + +`func NewPOSTStores201Response() *POSTStores201Response` + +NewPOSTStores201Response instantiates a new POSTStores201Response object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPOSTStores201ResponseWithDefaults + +`func NewPOSTStores201ResponseWithDefaults() *POSTStores201Response` + +NewPOSTStores201ResponseWithDefaults instantiates a new POSTStores201Response object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetData + +`func (o *POSTStores201Response) GetData() POSTStores201ResponseData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *POSTStores201Response) GetDataOk() (*POSTStores201ResponseData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *POSTStores201Response) SetData(v POSTStores201ResponseData)` + +SetData sets Data field to given value. + +### HasData + +`func (o *POSTStores201Response) HasData() bool` + +HasData returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/POSTStores201ResponseData.md b/api/docs/POSTStores201ResponseData.md new file mode 100644 index 000000000..fe4015018 --- /dev/null +++ b/api/docs/POSTStores201ResponseData.md @@ -0,0 +1,180 @@ +# POSTStores201ResponseData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **interface{}** | The resource's id | [optional] +**Type** | Pointer to **interface{}** | The resource's type | [optional] +**Links** | Pointer to [**POSTAddresses201ResponseDataLinks**](POSTAddresses201ResponseDataLinks.md) | | [optional] +**Attributes** | Pointer to [**POSTStores201ResponseDataAttributes**](POSTStores201ResponseDataAttributes.md) | | [optional] +**Relationships** | Pointer to [**POSTStores201ResponseDataRelationships**](POSTStores201ResponseDataRelationships.md) | | [optional] + +## Methods + +### NewPOSTStores201ResponseData + +`func NewPOSTStores201ResponseData() *POSTStores201ResponseData` + +NewPOSTStores201ResponseData instantiates a new POSTStores201ResponseData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPOSTStores201ResponseDataWithDefaults + +`func NewPOSTStores201ResponseDataWithDefaults() *POSTStores201ResponseData` + +NewPOSTStores201ResponseDataWithDefaults instantiates a new POSTStores201ResponseData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *POSTStores201ResponseData) GetId() interface{}` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *POSTStores201ResponseData) GetIdOk() (*interface{}, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *POSTStores201ResponseData) SetId(v interface{})` + +SetId sets Id field to given value. + +### HasId + +`func (o *POSTStores201ResponseData) HasId() bool` + +HasId returns a boolean if a field has been set. + +### SetIdNil + +`func (o *POSTStores201ResponseData) SetIdNil(b bool)` + + SetIdNil sets the value for Id to be an explicit nil + +### UnsetId +`func (o *POSTStores201ResponseData) UnsetId()` + +UnsetId ensures that no value is present for Id, not even an explicit nil +### GetType + +`func (o *POSTStores201ResponseData) GetType() interface{}` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *POSTStores201ResponseData) GetTypeOk() (*interface{}, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *POSTStores201ResponseData) SetType(v interface{})` + +SetType sets Type field to given value. + +### HasType + +`func (o *POSTStores201ResponseData) HasType() bool` + +HasType returns a boolean if a field has been set. + +### SetTypeNil + +`func (o *POSTStores201ResponseData) SetTypeNil(b bool)` + + SetTypeNil sets the value for Type to be an explicit nil + +### UnsetType +`func (o *POSTStores201ResponseData) UnsetType()` + +UnsetType ensures that no value is present for Type, not even an explicit nil +### GetLinks + +`func (o *POSTStores201ResponseData) GetLinks() POSTAddresses201ResponseDataLinks` + +GetLinks returns the Links field if non-nil, zero value otherwise. + +### GetLinksOk + +`func (o *POSTStores201ResponseData) GetLinksOk() (*POSTAddresses201ResponseDataLinks, bool)` + +GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLinks + +`func (o *POSTStores201ResponseData) SetLinks(v POSTAddresses201ResponseDataLinks)` + +SetLinks sets Links field to given value. + +### HasLinks + +`func (o *POSTStores201ResponseData) HasLinks() bool` + +HasLinks returns a boolean if a field has been set. + +### GetAttributes + +`func (o *POSTStores201ResponseData) GetAttributes() POSTStores201ResponseDataAttributes` + +GetAttributes returns the Attributes field if non-nil, zero value otherwise. + +### GetAttributesOk + +`func (o *POSTStores201ResponseData) GetAttributesOk() (*POSTStores201ResponseDataAttributes, bool)` + +GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAttributes + +`func (o *POSTStores201ResponseData) SetAttributes(v POSTStores201ResponseDataAttributes)` + +SetAttributes sets Attributes field to given value. + +### HasAttributes + +`func (o *POSTStores201ResponseData) HasAttributes() bool` + +HasAttributes returns a boolean if a field has been set. + +### GetRelationships + +`func (o *POSTStores201ResponseData) GetRelationships() POSTStores201ResponseDataRelationships` + +GetRelationships returns the Relationships field if non-nil, zero value otherwise. + +### GetRelationshipsOk + +`func (o *POSTStores201ResponseData) GetRelationshipsOk() (*POSTStores201ResponseDataRelationships, bool)` + +GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelationships + +`func (o *POSTStores201ResponseData) SetRelationships(v POSTStores201ResponseDataRelationships)` + +SetRelationships sets Relationships field to given value. + +### HasRelationships + +`func (o *POSTStores201ResponseData) HasRelationships() bool` + +HasRelationships returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/POSTStores201ResponseDataAttributes.md b/api/docs/POSTStores201ResponseDataAttributes.md new file mode 100644 index 000000000..a04bbf99c --- /dev/null +++ b/api/docs/POSTStores201ResponseDataAttributes.md @@ -0,0 +1,205 @@ +# POSTStores201ResponseDataAttributes + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **interface{}** | The store's internal name. | +**Code** | Pointer to **interface{}** | A string that you can use to identify the store (must be unique within the environment). | [optional] +**Reference** | Pointer to **interface{}** | A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. | [optional] +**ReferenceOrigin** | Pointer to **interface{}** | Any identifier of the third party system that defines the reference code. | [optional] +**Metadata** | Pointer to **interface{}** | Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. | [optional] + +## Methods + +### NewPOSTStores201ResponseDataAttributes + +`func NewPOSTStores201ResponseDataAttributes(name interface{}, ) *POSTStores201ResponseDataAttributes` + +NewPOSTStores201ResponseDataAttributes instantiates a new POSTStores201ResponseDataAttributes object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPOSTStores201ResponseDataAttributesWithDefaults + +`func NewPOSTStores201ResponseDataAttributesWithDefaults() *POSTStores201ResponseDataAttributes` + +NewPOSTStores201ResponseDataAttributesWithDefaults instantiates a new POSTStores201ResponseDataAttributes object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetName + +`func (o *POSTStores201ResponseDataAttributes) GetName() interface{}` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *POSTStores201ResponseDataAttributes) GetNameOk() (*interface{}, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *POSTStores201ResponseDataAttributes) SetName(v interface{})` + +SetName sets Name field to given value. + + +### SetNameNil + +`func (o *POSTStores201ResponseDataAttributes) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *POSTStores201ResponseDataAttributes) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetCode + +`func (o *POSTStores201ResponseDataAttributes) GetCode() interface{}` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *POSTStores201ResponseDataAttributes) GetCodeOk() (*interface{}, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *POSTStores201ResponseDataAttributes) SetCode(v interface{})` + +SetCode sets Code field to given value. + +### HasCode + +`func (o *POSTStores201ResponseDataAttributes) HasCode() bool` + +HasCode returns a boolean if a field has been set. + +### SetCodeNil + +`func (o *POSTStores201ResponseDataAttributes) SetCodeNil(b bool)` + + SetCodeNil sets the value for Code to be an explicit nil + +### UnsetCode +`func (o *POSTStores201ResponseDataAttributes) UnsetCode()` + +UnsetCode ensures that no value is present for Code, not even an explicit nil +### GetReference + +`func (o *POSTStores201ResponseDataAttributes) GetReference() interface{}` + +GetReference returns the Reference field if non-nil, zero value otherwise. + +### GetReferenceOk + +`func (o *POSTStores201ResponseDataAttributes) GetReferenceOk() (*interface{}, bool)` + +GetReferenceOk returns a tuple with the Reference field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReference + +`func (o *POSTStores201ResponseDataAttributes) SetReference(v interface{})` + +SetReference sets Reference field to given value. + +### HasReference + +`func (o *POSTStores201ResponseDataAttributes) HasReference() bool` + +HasReference returns a boolean if a field has been set. + +### SetReferenceNil + +`func (o *POSTStores201ResponseDataAttributes) SetReferenceNil(b bool)` + + SetReferenceNil sets the value for Reference to be an explicit nil + +### UnsetReference +`func (o *POSTStores201ResponseDataAttributes) UnsetReference()` + +UnsetReference ensures that no value is present for Reference, not even an explicit nil +### GetReferenceOrigin + +`func (o *POSTStores201ResponseDataAttributes) GetReferenceOrigin() interface{}` + +GetReferenceOrigin returns the ReferenceOrigin field if non-nil, zero value otherwise. + +### GetReferenceOriginOk + +`func (o *POSTStores201ResponseDataAttributes) GetReferenceOriginOk() (*interface{}, bool)` + +GetReferenceOriginOk returns a tuple with the ReferenceOrigin field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReferenceOrigin + +`func (o *POSTStores201ResponseDataAttributes) SetReferenceOrigin(v interface{})` + +SetReferenceOrigin sets ReferenceOrigin field to given value. + +### HasReferenceOrigin + +`func (o *POSTStores201ResponseDataAttributes) HasReferenceOrigin() bool` + +HasReferenceOrigin returns a boolean if a field has been set. + +### SetReferenceOriginNil + +`func (o *POSTStores201ResponseDataAttributes) SetReferenceOriginNil(b bool)` + + SetReferenceOriginNil sets the value for ReferenceOrigin to be an explicit nil + +### UnsetReferenceOrigin +`func (o *POSTStores201ResponseDataAttributes) UnsetReferenceOrigin()` + +UnsetReferenceOrigin ensures that no value is present for ReferenceOrigin, not even an explicit nil +### GetMetadata + +`func (o *POSTStores201ResponseDataAttributes) GetMetadata() interface{}` + +GetMetadata returns the Metadata field if non-nil, zero value otherwise. + +### GetMetadataOk + +`func (o *POSTStores201ResponseDataAttributes) GetMetadataOk() (*interface{}, bool)` + +GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMetadata + +`func (o *POSTStores201ResponseDataAttributes) SetMetadata(v interface{})` + +SetMetadata sets Metadata field to given value. + +### HasMetadata + +`func (o *POSTStores201ResponseDataAttributes) HasMetadata() bool` + +HasMetadata returns a boolean if a field has been set. + +### SetMetadataNil + +`func (o *POSTStores201ResponseDataAttributes) SetMetadataNil(b bool)` + + SetMetadataNil sets the value for Metadata to be an explicit nil + +### UnsetMetadata +`func (o *POSTStores201ResponseDataAttributes) UnsetMetadata()` + +UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/POSTStores201ResponseDataRelationships.md b/api/docs/POSTStores201ResponseDataRelationships.md new file mode 100644 index 000000000..790ced328 --- /dev/null +++ b/api/docs/POSTStores201ResponseDataRelationships.md @@ -0,0 +1,212 @@ +# POSTStores201ResponseDataRelationships + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Market** | Pointer to [**POSTBundles201ResponseDataRelationshipsMarket**](POSTBundles201ResponseDataRelationshipsMarket.md) | | [optional] +**Merchant** | Pointer to [**POSTMarkets201ResponseDataRelationshipsMerchant**](POSTMarkets201ResponseDataRelationshipsMerchant.md) | | [optional] +**StockLocation** | Pointer to [**POSTDeliveryLeadTimes201ResponseDataRelationshipsStockLocation**](POSTDeliveryLeadTimes201ResponseDataRelationshipsStockLocation.md) | | [optional] +**Orders** | Pointer to [**POSTCustomers201ResponseDataRelationshipsOrders**](POSTCustomers201ResponseDataRelationshipsOrders.md) | | [optional] +**PaymentMethods** | Pointer to [**POSTAdyenGateways201ResponseDataRelationshipsPaymentMethods**](POSTAdyenGateways201ResponseDataRelationshipsPaymentMethods.md) | | [optional] +**Events** | Pointer to [**POSTAddresses201ResponseDataRelationshipsEvents**](POSTAddresses201ResponseDataRelationshipsEvents.md) | | [optional] +**Versions** | Pointer to [**POSTAddresses201ResponseDataRelationshipsVersions**](POSTAddresses201ResponseDataRelationshipsVersions.md) | | [optional] + +## Methods + +### NewPOSTStores201ResponseDataRelationships + +`func NewPOSTStores201ResponseDataRelationships() *POSTStores201ResponseDataRelationships` + +NewPOSTStores201ResponseDataRelationships instantiates a new POSTStores201ResponseDataRelationships object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPOSTStores201ResponseDataRelationshipsWithDefaults + +`func NewPOSTStores201ResponseDataRelationshipsWithDefaults() *POSTStores201ResponseDataRelationships` + +NewPOSTStores201ResponseDataRelationshipsWithDefaults instantiates a new POSTStores201ResponseDataRelationships object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetMarket + +`func (o *POSTStores201ResponseDataRelationships) GetMarket() POSTBundles201ResponseDataRelationshipsMarket` + +GetMarket returns the Market field if non-nil, zero value otherwise. + +### GetMarketOk + +`func (o *POSTStores201ResponseDataRelationships) GetMarketOk() (*POSTBundles201ResponseDataRelationshipsMarket, bool)` + +GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMarket + +`func (o *POSTStores201ResponseDataRelationships) SetMarket(v POSTBundles201ResponseDataRelationshipsMarket)` + +SetMarket sets Market field to given value. + +### HasMarket + +`func (o *POSTStores201ResponseDataRelationships) HasMarket() bool` + +HasMarket returns a boolean if a field has been set. + +### GetMerchant + +`func (o *POSTStores201ResponseDataRelationships) GetMerchant() POSTMarkets201ResponseDataRelationshipsMerchant` + +GetMerchant returns the Merchant field if non-nil, zero value otherwise. + +### GetMerchantOk + +`func (o *POSTStores201ResponseDataRelationships) GetMerchantOk() (*POSTMarkets201ResponseDataRelationshipsMerchant, bool)` + +GetMerchantOk returns a tuple with the Merchant field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMerchant + +`func (o *POSTStores201ResponseDataRelationships) SetMerchant(v POSTMarkets201ResponseDataRelationshipsMerchant)` + +SetMerchant sets Merchant field to given value. + +### HasMerchant + +`func (o *POSTStores201ResponseDataRelationships) HasMerchant() bool` + +HasMerchant returns a boolean if a field has been set. + +### GetStockLocation + +`func (o *POSTStores201ResponseDataRelationships) GetStockLocation() POSTDeliveryLeadTimes201ResponseDataRelationshipsStockLocation` + +GetStockLocation returns the StockLocation field if non-nil, zero value otherwise. + +### GetStockLocationOk + +`func (o *POSTStores201ResponseDataRelationships) GetStockLocationOk() (*POSTDeliveryLeadTimes201ResponseDataRelationshipsStockLocation, bool)` + +GetStockLocationOk returns a tuple with the StockLocation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStockLocation + +`func (o *POSTStores201ResponseDataRelationships) SetStockLocation(v POSTDeliveryLeadTimes201ResponseDataRelationshipsStockLocation)` + +SetStockLocation sets StockLocation field to given value. + +### HasStockLocation + +`func (o *POSTStores201ResponseDataRelationships) HasStockLocation() bool` + +HasStockLocation returns a boolean if a field has been set. + +### GetOrders + +`func (o *POSTStores201ResponseDataRelationships) GetOrders() POSTCustomers201ResponseDataRelationshipsOrders` + +GetOrders returns the Orders field if non-nil, zero value otherwise. + +### GetOrdersOk + +`func (o *POSTStores201ResponseDataRelationships) GetOrdersOk() (*POSTCustomers201ResponseDataRelationshipsOrders, bool)` + +GetOrdersOk returns a tuple with the Orders field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOrders + +`func (o *POSTStores201ResponseDataRelationships) SetOrders(v POSTCustomers201ResponseDataRelationshipsOrders)` + +SetOrders sets Orders field to given value. + +### HasOrders + +`func (o *POSTStores201ResponseDataRelationships) HasOrders() bool` + +HasOrders returns a boolean if a field has been set. + +### GetPaymentMethods + +`func (o *POSTStores201ResponseDataRelationships) GetPaymentMethods() POSTAdyenGateways201ResponseDataRelationshipsPaymentMethods` + +GetPaymentMethods returns the PaymentMethods field if non-nil, zero value otherwise. + +### GetPaymentMethodsOk + +`func (o *POSTStores201ResponseDataRelationships) GetPaymentMethodsOk() (*POSTAdyenGateways201ResponseDataRelationshipsPaymentMethods, bool)` + +GetPaymentMethodsOk returns a tuple with the PaymentMethods field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPaymentMethods + +`func (o *POSTStores201ResponseDataRelationships) SetPaymentMethods(v POSTAdyenGateways201ResponseDataRelationshipsPaymentMethods)` + +SetPaymentMethods sets PaymentMethods field to given value. + +### HasPaymentMethods + +`func (o *POSTStores201ResponseDataRelationships) HasPaymentMethods() bool` + +HasPaymentMethods returns a boolean if a field has been set. + +### GetEvents + +`func (o *POSTStores201ResponseDataRelationships) GetEvents() POSTAddresses201ResponseDataRelationshipsEvents` + +GetEvents returns the Events field if non-nil, zero value otherwise. + +### GetEventsOk + +`func (o *POSTStores201ResponseDataRelationships) GetEventsOk() (*POSTAddresses201ResponseDataRelationshipsEvents, bool)` + +GetEventsOk returns a tuple with the Events field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEvents + +`func (o *POSTStores201ResponseDataRelationships) SetEvents(v POSTAddresses201ResponseDataRelationshipsEvents)` + +SetEvents sets Events field to given value. + +### HasEvents + +`func (o *POSTStores201ResponseDataRelationships) HasEvents() bool` + +HasEvents returns a boolean if a field has been set. + +### GetVersions + +`func (o *POSTStores201ResponseDataRelationships) GetVersions() POSTAddresses201ResponseDataRelationshipsVersions` + +GetVersions returns the Versions field if non-nil, zero value otherwise. + +### GetVersionsOk + +`func (o *POSTStores201ResponseDataRelationships) GetVersionsOk() (*POSTAddresses201ResponseDataRelationshipsVersions, bool)` + +GetVersionsOk returns a tuple with the Versions field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersions + +`func (o *POSTStores201ResponseDataRelationships) SetVersions(v POSTAddresses201ResponseDataRelationshipsVersions)` + +SetVersions sets Versions field to given value. + +### HasVersions + +`func (o *POSTStores201ResponseDataRelationships) HasVersions() bool` + +HasVersions returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/POSTTaxRules201ResponseDataAttributes.md b/api/docs/POSTTaxRules201ResponseDataAttributes.md index a76cfe847..ac0f251d6 100644 --- a/api/docs/POSTTaxRules201ResponseDataAttributes.md +++ b/api/docs/POSTTaxRules201ResponseDataAttributes.md @@ -6,16 +6,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **interface{}** | The tax rule internal name. | **TaxRate** | Pointer to **interface{}** | The tax rate for this rule. | [optional] -**CountryCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address country code. | [optional] -**NotCountryCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping address country code. | [optional] -**StateCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address state code. | [optional] -**NotStateCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping address state code. | [optional] -**ZipCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address zip code. | [optional] -**NotZipCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping zip country code. | [optional] **FreightTaxable** | Pointer to **interface{}** | Indicates if the freight is taxable. | [optional] **PaymentMethodTaxable** | Pointer to **interface{}** | Indicates if the payment method is taxable. | [optional] **GiftCardTaxable** | Pointer to **interface{}** | Indicates if gift cards are taxable. | [optional] **AdjustmentTaxable** | Pointer to **interface{}** | Indicates if adjustemnts are taxable. | [optional] +**CountryCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address country code, max size is 5000. | [optional] +**NotCountryCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping address country code, max size is 5000. | [optional] +**StateCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address state code, max size is 5000. | [optional] +**NotStateCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping address state code, max size is 5000. | [optional] +**ZipCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated to match the shipping address zip code, max size is 5000. | [optional] +**NotZipCodeRegex** | Pointer to **interface{}** | The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000. | [optional] **Reference** | Pointer to **interface{}** | A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. | [optional] **ReferenceOrigin** | Pointer to **interface{}** | Any identifier of the third party system that defines the reference code. | [optional] **Metadata** | Pointer to **interface{}** | Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. | [optional] @@ -104,6 +104,146 @@ HasTaxRate returns a boolean if a field has been set. `func (o *POSTTaxRules201ResponseDataAttributes) UnsetTaxRate()` UnsetTaxRate ensures that no value is present for TaxRate, not even an explicit nil +### GetFreightTaxable + +`func (o *POSTTaxRules201ResponseDataAttributes) GetFreightTaxable() interface{}` + +GetFreightTaxable returns the FreightTaxable field if non-nil, zero value otherwise. + +### GetFreightTaxableOk + +`func (o *POSTTaxRules201ResponseDataAttributes) GetFreightTaxableOk() (*interface{}, bool)` + +GetFreightTaxableOk returns a tuple with the FreightTaxable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFreightTaxable + +`func (o *POSTTaxRules201ResponseDataAttributes) SetFreightTaxable(v interface{})` + +SetFreightTaxable sets FreightTaxable field to given value. + +### HasFreightTaxable + +`func (o *POSTTaxRules201ResponseDataAttributes) HasFreightTaxable() bool` + +HasFreightTaxable returns a boolean if a field has been set. + +### SetFreightTaxableNil + +`func (o *POSTTaxRules201ResponseDataAttributes) SetFreightTaxableNil(b bool)` + + SetFreightTaxableNil sets the value for FreightTaxable to be an explicit nil + +### UnsetFreightTaxable +`func (o *POSTTaxRules201ResponseDataAttributes) UnsetFreightTaxable()` + +UnsetFreightTaxable ensures that no value is present for FreightTaxable, not even an explicit nil +### GetPaymentMethodTaxable + +`func (o *POSTTaxRules201ResponseDataAttributes) GetPaymentMethodTaxable() interface{}` + +GetPaymentMethodTaxable returns the PaymentMethodTaxable field if non-nil, zero value otherwise. + +### GetPaymentMethodTaxableOk + +`func (o *POSTTaxRules201ResponseDataAttributes) GetPaymentMethodTaxableOk() (*interface{}, bool)` + +GetPaymentMethodTaxableOk returns a tuple with the PaymentMethodTaxable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPaymentMethodTaxable + +`func (o *POSTTaxRules201ResponseDataAttributes) SetPaymentMethodTaxable(v interface{})` + +SetPaymentMethodTaxable sets PaymentMethodTaxable field to given value. + +### HasPaymentMethodTaxable + +`func (o *POSTTaxRules201ResponseDataAttributes) HasPaymentMethodTaxable() bool` + +HasPaymentMethodTaxable returns a boolean if a field has been set. + +### SetPaymentMethodTaxableNil + +`func (o *POSTTaxRules201ResponseDataAttributes) SetPaymentMethodTaxableNil(b bool)` + + SetPaymentMethodTaxableNil sets the value for PaymentMethodTaxable to be an explicit nil + +### UnsetPaymentMethodTaxable +`func (o *POSTTaxRules201ResponseDataAttributes) UnsetPaymentMethodTaxable()` + +UnsetPaymentMethodTaxable ensures that no value is present for PaymentMethodTaxable, not even an explicit nil +### GetGiftCardTaxable + +`func (o *POSTTaxRules201ResponseDataAttributes) GetGiftCardTaxable() interface{}` + +GetGiftCardTaxable returns the GiftCardTaxable field if non-nil, zero value otherwise. + +### GetGiftCardTaxableOk + +`func (o *POSTTaxRules201ResponseDataAttributes) GetGiftCardTaxableOk() (*interface{}, bool)` + +GetGiftCardTaxableOk returns a tuple with the GiftCardTaxable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGiftCardTaxable + +`func (o *POSTTaxRules201ResponseDataAttributes) SetGiftCardTaxable(v interface{})` + +SetGiftCardTaxable sets GiftCardTaxable field to given value. + +### HasGiftCardTaxable + +`func (o *POSTTaxRules201ResponseDataAttributes) HasGiftCardTaxable() bool` + +HasGiftCardTaxable returns a boolean if a field has been set. + +### SetGiftCardTaxableNil + +`func (o *POSTTaxRules201ResponseDataAttributes) SetGiftCardTaxableNil(b bool)` + + SetGiftCardTaxableNil sets the value for GiftCardTaxable to be an explicit nil + +### UnsetGiftCardTaxable +`func (o *POSTTaxRules201ResponseDataAttributes) UnsetGiftCardTaxable()` + +UnsetGiftCardTaxable ensures that no value is present for GiftCardTaxable, not even an explicit nil +### GetAdjustmentTaxable + +`func (o *POSTTaxRules201ResponseDataAttributes) GetAdjustmentTaxable() interface{}` + +GetAdjustmentTaxable returns the AdjustmentTaxable field if non-nil, zero value otherwise. + +### GetAdjustmentTaxableOk + +`func (o *POSTTaxRules201ResponseDataAttributes) GetAdjustmentTaxableOk() (*interface{}, bool)` + +GetAdjustmentTaxableOk returns a tuple with the AdjustmentTaxable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAdjustmentTaxable + +`func (o *POSTTaxRules201ResponseDataAttributes) SetAdjustmentTaxable(v interface{})` + +SetAdjustmentTaxable sets AdjustmentTaxable field to given value. + +### HasAdjustmentTaxable + +`func (o *POSTTaxRules201ResponseDataAttributes) HasAdjustmentTaxable() bool` + +HasAdjustmentTaxable returns a boolean if a field has been set. + +### SetAdjustmentTaxableNil + +`func (o *POSTTaxRules201ResponseDataAttributes) SetAdjustmentTaxableNil(b bool)` + + SetAdjustmentTaxableNil sets the value for AdjustmentTaxable to be an explicit nil + +### UnsetAdjustmentTaxable +`func (o *POSTTaxRules201ResponseDataAttributes) UnsetAdjustmentTaxable()` + +UnsetAdjustmentTaxable ensures that no value is present for AdjustmentTaxable, not even an explicit nil ### GetCountryCodeRegex `func (o *POSTTaxRules201ResponseDataAttributes) GetCountryCodeRegex() interface{}` @@ -314,146 +454,6 @@ HasNotZipCodeRegex returns a boolean if a field has been set. `func (o *POSTTaxRules201ResponseDataAttributes) UnsetNotZipCodeRegex()` UnsetNotZipCodeRegex ensures that no value is present for NotZipCodeRegex, not even an explicit nil -### GetFreightTaxable - -`func (o *POSTTaxRules201ResponseDataAttributes) GetFreightTaxable() interface{}` - -GetFreightTaxable returns the FreightTaxable field if non-nil, zero value otherwise. - -### GetFreightTaxableOk - -`func (o *POSTTaxRules201ResponseDataAttributes) GetFreightTaxableOk() (*interface{}, bool)` - -GetFreightTaxableOk returns a tuple with the FreightTaxable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFreightTaxable - -`func (o *POSTTaxRules201ResponseDataAttributes) SetFreightTaxable(v interface{})` - -SetFreightTaxable sets FreightTaxable field to given value. - -### HasFreightTaxable - -`func (o *POSTTaxRules201ResponseDataAttributes) HasFreightTaxable() bool` - -HasFreightTaxable returns a boolean if a field has been set. - -### SetFreightTaxableNil - -`func (o *POSTTaxRules201ResponseDataAttributes) SetFreightTaxableNil(b bool)` - - SetFreightTaxableNil sets the value for FreightTaxable to be an explicit nil - -### UnsetFreightTaxable -`func (o *POSTTaxRules201ResponseDataAttributes) UnsetFreightTaxable()` - -UnsetFreightTaxable ensures that no value is present for FreightTaxable, not even an explicit nil -### GetPaymentMethodTaxable - -`func (o *POSTTaxRules201ResponseDataAttributes) GetPaymentMethodTaxable() interface{}` - -GetPaymentMethodTaxable returns the PaymentMethodTaxable field if non-nil, zero value otherwise. - -### GetPaymentMethodTaxableOk - -`func (o *POSTTaxRules201ResponseDataAttributes) GetPaymentMethodTaxableOk() (*interface{}, bool)` - -GetPaymentMethodTaxableOk returns a tuple with the PaymentMethodTaxable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPaymentMethodTaxable - -`func (o *POSTTaxRules201ResponseDataAttributes) SetPaymentMethodTaxable(v interface{})` - -SetPaymentMethodTaxable sets PaymentMethodTaxable field to given value. - -### HasPaymentMethodTaxable - -`func (o *POSTTaxRules201ResponseDataAttributes) HasPaymentMethodTaxable() bool` - -HasPaymentMethodTaxable returns a boolean if a field has been set. - -### SetPaymentMethodTaxableNil - -`func (o *POSTTaxRules201ResponseDataAttributes) SetPaymentMethodTaxableNil(b bool)` - - SetPaymentMethodTaxableNil sets the value for PaymentMethodTaxable to be an explicit nil - -### UnsetPaymentMethodTaxable -`func (o *POSTTaxRules201ResponseDataAttributes) UnsetPaymentMethodTaxable()` - -UnsetPaymentMethodTaxable ensures that no value is present for PaymentMethodTaxable, not even an explicit nil -### GetGiftCardTaxable - -`func (o *POSTTaxRules201ResponseDataAttributes) GetGiftCardTaxable() interface{}` - -GetGiftCardTaxable returns the GiftCardTaxable field if non-nil, zero value otherwise. - -### GetGiftCardTaxableOk - -`func (o *POSTTaxRules201ResponseDataAttributes) GetGiftCardTaxableOk() (*interface{}, bool)` - -GetGiftCardTaxableOk returns a tuple with the GiftCardTaxable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetGiftCardTaxable - -`func (o *POSTTaxRules201ResponseDataAttributes) SetGiftCardTaxable(v interface{})` - -SetGiftCardTaxable sets GiftCardTaxable field to given value. - -### HasGiftCardTaxable - -`func (o *POSTTaxRules201ResponseDataAttributes) HasGiftCardTaxable() bool` - -HasGiftCardTaxable returns a boolean if a field has been set. - -### SetGiftCardTaxableNil - -`func (o *POSTTaxRules201ResponseDataAttributes) SetGiftCardTaxableNil(b bool)` - - SetGiftCardTaxableNil sets the value for GiftCardTaxable to be an explicit nil - -### UnsetGiftCardTaxable -`func (o *POSTTaxRules201ResponseDataAttributes) UnsetGiftCardTaxable()` - -UnsetGiftCardTaxable ensures that no value is present for GiftCardTaxable, not even an explicit nil -### GetAdjustmentTaxable - -`func (o *POSTTaxRules201ResponseDataAttributes) GetAdjustmentTaxable() interface{}` - -GetAdjustmentTaxable returns the AdjustmentTaxable field if non-nil, zero value otherwise. - -### GetAdjustmentTaxableOk - -`func (o *POSTTaxRules201ResponseDataAttributes) GetAdjustmentTaxableOk() (*interface{}, bool)` - -GetAdjustmentTaxableOk returns a tuple with the AdjustmentTaxable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAdjustmentTaxable - -`func (o *POSTTaxRules201ResponseDataAttributes) SetAdjustmentTaxable(v interface{})` - -SetAdjustmentTaxable sets AdjustmentTaxable field to given value. - -### HasAdjustmentTaxable - -`func (o *POSTTaxRules201ResponseDataAttributes) HasAdjustmentTaxable() bool` - -HasAdjustmentTaxable returns a boolean if a field has been set. - -### SetAdjustmentTaxableNil - -`func (o *POSTTaxRules201ResponseDataAttributes) SetAdjustmentTaxableNil(b bool)` - - SetAdjustmentTaxableNil sets the value for AdjustmentTaxable to be an explicit nil - -### UnsetAdjustmentTaxable -`func (o *POSTTaxRules201ResponseDataAttributes) UnsetAdjustmentTaxable()` - -UnsetAdjustmentTaxable ensures that no value is present for AdjustmentTaxable, not even an explicit nil ### GetReference `func (o *POSTTaxRules201ResponseDataAttributes) GetReference() interface{}` diff --git a/api/docs/PackagesApi.md b/api/docs/PackagesApi.md index 73bf8ef6b..224572fc5 100644 --- a/api/docs/PackagesApi.md +++ b/api/docs/PackagesApi.md @@ -30,7 +30,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -98,7 +98,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -159,7 +159,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -229,7 +229,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -297,7 +297,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -369,7 +369,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/ParcelLineItemUpdateData.md b/api/docs/ParcelLineItemUpdateData.md index 494693f88..144fc7655 100644 --- a/api/docs/ParcelLineItemUpdateData.md +++ b/api/docs/ParcelLineItemUpdateData.md @@ -6,14 +6,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Type** | **interface{}** | The resource's type | **Id** | **interface{}** | The resource's id | -**Attributes** | [**PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes**](PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md) | | +**Attributes** | [**PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes**](PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes.md) | | **Relationships** | Pointer to **interface{}** | | [optional] ## Methods ### NewParcelLineItemUpdateData -`func NewParcelLineItemUpdateData(type_ interface{}, id interface{}, attributes PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, ) *ParcelLineItemUpdateData` +`func NewParcelLineItemUpdateData(type_ interface{}, id interface{}, attributes PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes, ) *ParcelLineItemUpdateData` NewParcelLineItemUpdateData instantiates a new ParcelLineItemUpdateData object This constructor will assign default values to properties that have it defined, @@ -90,20 +90,20 @@ SetId sets Id field to given value. UnsetId ensures that no value is present for Id, not even an explicit nil ### GetAttributes -`func (o *ParcelLineItemUpdateData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes` +`func (o *ParcelLineItemUpdateData) GetAttributes() PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes` GetAttributes returns the Attributes field if non-nil, zero value otherwise. ### GetAttributesOk -`func (o *ParcelLineItemUpdateData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool)` +`func (o *ParcelLineItemUpdateData) GetAttributesOk() (*PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes, bool)` GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAttributes -`func (o *ParcelLineItemUpdateData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes)` +`func (o *ParcelLineItemUpdateData) SetAttributes(v PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes)` SetAttributes sets Attributes field to given value. diff --git a/api/docs/ParcelLineItemsApi.md b/api/docs/ParcelLineItemsApi.md index 1f6d86203..7fd69446b 100644 --- a/api/docs/ParcelLineItemsApi.md +++ b/api/docs/ParcelLineItemsApi.md @@ -30,7 +30,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -98,7 +98,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -166,7 +166,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -227,7 +227,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -297,11 +297,11 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { - parcelLineItemUpdate := *openapiclient.NewParcelLineItemUpdate(*openapiclient.NewParcelLineItemUpdateData(interface{}(123), interface{}(XGZwpOSrWL), *openapiclient.NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes())) // ParcelLineItemUpdate | + parcelLineItemUpdate := *openapiclient.NewParcelLineItemUpdate(*openapiclient.NewParcelLineItemUpdateData(interface{}(123), interface{}(XGZwpOSrWL), *openapiclient.NewPATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes())) // ParcelLineItemUpdate | parcelLineItemId := TODO // interface{} | The resource's id configuration := openapiclient.NewConfiguration() @@ -369,7 +369,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/ParcelsApi.md b/api/docs/ParcelsApi.md index 3e05bf30e..13c3dec6d 100644 --- a/api/docs/ParcelsApi.md +++ b/api/docs/ParcelsApi.md @@ -32,7 +32,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -100,7 +100,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -168,7 +168,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -236,7 +236,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -297,7 +297,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -367,7 +367,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -435,7 +435,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -507,7 +507,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/PaymentGatewaysApi.md b/api/docs/PaymentGatewaysApi.md index e35093b8f..4376640f2 100644 --- a/api/docs/PaymentGatewaysApi.md +++ b/api/docs/PaymentGatewaysApi.md @@ -36,7 +36,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -104,7 +104,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -172,7 +172,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -240,7 +240,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -308,7 +308,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -376,7 +376,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -444,7 +444,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -505,7 +505,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -575,7 +575,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -643,7 +643,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -711,7 +711,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -779,7 +779,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/PaymentMethodCreateDataRelationships.md b/api/docs/PaymentMethodCreateDataRelationships.md index 754b24940..bd871455e 100644 --- a/api/docs/PaymentMethodCreateDataRelationships.md +++ b/api/docs/PaymentMethodCreateDataRelationships.md @@ -4,8 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Market** | Pointer to [**BillingInfoValidationRuleCreateDataRelationshipsMarket**](BillingInfoValidationRuleCreateDataRelationshipsMarket.md) | | [optional] +**Market** | Pointer to [**BundleCreateDataRelationshipsMarket**](BundleCreateDataRelationshipsMarket.md) | | [optional] **PaymentGateway** | [**PaymentMethodCreateDataRelationshipsPaymentGateway**](PaymentMethodCreateDataRelationshipsPaymentGateway.md) | | +**Store** | Pointer to [**OrderCreateDataRelationshipsStore**](OrderCreateDataRelationshipsStore.md) | | [optional] ## Methods @@ -28,20 +29,20 @@ but it doesn't guarantee that properties required by API are set ### GetMarket -`func (o *PaymentMethodCreateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket` +`func (o *PaymentMethodCreateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket` GetMarket returns the Market field if non-nil, zero value otherwise. ### GetMarketOk -`func (o *PaymentMethodCreateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool)` +`func (o *PaymentMethodCreateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool)` GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMarket -`func (o *PaymentMethodCreateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket)` +`func (o *PaymentMethodCreateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket)` SetMarket sets Market field to given value. @@ -71,6 +72,31 @@ and a boolean to check if the value has been set. SetPaymentGateway sets PaymentGateway field to given value. +### GetStore + +`func (o *PaymentMethodCreateDataRelationships) GetStore() OrderCreateDataRelationshipsStore` + +GetStore returns the Store field if non-nil, zero value otherwise. + +### GetStoreOk + +`func (o *PaymentMethodCreateDataRelationships) GetStoreOk() (*OrderCreateDataRelationshipsStore, bool)` + +GetStoreOk returns a tuple with the Store field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStore + +`func (o *PaymentMethodCreateDataRelationships) SetStore(v OrderCreateDataRelationshipsStore)` + +SetStore sets Store field to given value. + +### HasStore + +`func (o *PaymentMethodCreateDataRelationships) HasStore() bool` + +HasStore returns a boolean if a field has been set. + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/api/docs/PaymentMethodDataRelationships.md b/api/docs/PaymentMethodDataRelationships.md index f43b04ff0..2ac0184ee 100644 --- a/api/docs/PaymentMethodDataRelationships.md +++ b/api/docs/PaymentMethodDataRelationships.md @@ -6,6 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Market** | Pointer to [**AvalaraAccountDataRelationshipsMarkets**](AvalaraAccountDataRelationshipsMarkets.md) | | [optional] **PaymentGateway** | Pointer to [**AdyenPaymentDataRelationshipsPaymentGateway**](AdyenPaymentDataRelationshipsPaymentGateway.md) | | [optional] +**Store** | Pointer to [**MarketDataRelationshipsStores**](MarketDataRelationshipsStores.md) | | [optional] +**Orders** | Pointer to [**AdyenPaymentDataRelationshipsOrder**](AdyenPaymentDataRelationshipsOrder.md) | | [optional] **Attachments** | Pointer to [**AuthorizationDataRelationshipsAttachments**](AuthorizationDataRelationshipsAttachments.md) | | [optional] **Versions** | Pointer to [**AddressDataRelationshipsVersions**](AddressDataRelationshipsVersions.md) | | [optional] @@ -78,6 +80,56 @@ SetPaymentGateway sets PaymentGateway field to given value. HasPaymentGateway returns a boolean if a field has been set. +### GetStore + +`func (o *PaymentMethodDataRelationships) GetStore() MarketDataRelationshipsStores` + +GetStore returns the Store field if non-nil, zero value otherwise. + +### GetStoreOk + +`func (o *PaymentMethodDataRelationships) GetStoreOk() (*MarketDataRelationshipsStores, bool)` + +GetStoreOk returns a tuple with the Store field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStore + +`func (o *PaymentMethodDataRelationships) SetStore(v MarketDataRelationshipsStores)` + +SetStore sets Store field to given value. + +### HasStore + +`func (o *PaymentMethodDataRelationships) HasStore() bool` + +HasStore returns a boolean if a field has been set. + +### GetOrders + +`func (o *PaymentMethodDataRelationships) GetOrders() AdyenPaymentDataRelationshipsOrder` + +GetOrders returns the Orders field if non-nil, zero value otherwise. + +### GetOrdersOk + +`func (o *PaymentMethodDataRelationships) GetOrdersOk() (*AdyenPaymentDataRelationshipsOrder, bool)` + +GetOrdersOk returns a tuple with the Orders field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOrders + +`func (o *PaymentMethodDataRelationships) SetOrders(v AdyenPaymentDataRelationshipsOrder)` + +SetOrders sets Orders field to given value. + +### HasOrders + +`func (o *PaymentMethodDataRelationships) HasOrders() bool` + +HasOrders returns a boolean if a field has been set. + ### GetAttachments `func (o *PaymentMethodDataRelationships) GetAttachments() AuthorizationDataRelationshipsAttachments` diff --git a/api/docs/PaymentMethodUpdateDataRelationships.md b/api/docs/PaymentMethodUpdateDataRelationships.md index 901beece9..71a56e2e5 100644 --- a/api/docs/PaymentMethodUpdateDataRelationships.md +++ b/api/docs/PaymentMethodUpdateDataRelationships.md @@ -4,8 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Market** | Pointer to [**BillingInfoValidationRuleCreateDataRelationshipsMarket**](BillingInfoValidationRuleCreateDataRelationshipsMarket.md) | | [optional] +**Market** | Pointer to [**BundleCreateDataRelationshipsMarket**](BundleCreateDataRelationshipsMarket.md) | | [optional] **PaymentGateway** | Pointer to [**PaymentMethodCreateDataRelationshipsPaymentGateway**](PaymentMethodCreateDataRelationshipsPaymentGateway.md) | | [optional] +**Store** | Pointer to [**OrderCreateDataRelationshipsStore**](OrderCreateDataRelationshipsStore.md) | | [optional] ## Methods @@ -28,20 +29,20 @@ but it doesn't guarantee that properties required by API are set ### GetMarket -`func (o *PaymentMethodUpdateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket` +`func (o *PaymentMethodUpdateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket` GetMarket returns the Market field if non-nil, zero value otherwise. ### GetMarketOk -`func (o *PaymentMethodUpdateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool)` +`func (o *PaymentMethodUpdateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool)` GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMarket -`func (o *PaymentMethodUpdateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket)` +`func (o *PaymentMethodUpdateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket)` SetMarket sets Market field to given value. @@ -76,6 +77,31 @@ SetPaymentGateway sets PaymentGateway field to given value. HasPaymentGateway returns a boolean if a field has been set. +### GetStore + +`func (o *PaymentMethodUpdateDataRelationships) GetStore() OrderCreateDataRelationshipsStore` + +GetStore returns the Store field if non-nil, zero value otherwise. + +### GetStoreOk + +`func (o *PaymentMethodUpdateDataRelationships) GetStoreOk() (*OrderCreateDataRelationshipsStore, bool)` + +GetStoreOk returns a tuple with the Store field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStore + +`func (o *PaymentMethodUpdateDataRelationships) SetStore(v OrderCreateDataRelationshipsStore)` + +SetStore sets Store field to given value. + +### HasStore + +`func (o *PaymentMethodUpdateDataRelationships) HasStore() bool` + +HasStore returns a boolean if a field has been set. + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/api/docs/PaymentMethodsApi.md b/api/docs/PaymentMethodsApi.md index 5aa6471e8..5fc60806a 100644 --- a/api/docs/PaymentMethodsApi.md +++ b/api/docs/PaymentMethodsApi.md @@ -20,6 +20,7 @@ Method | HTTP request | Description [**GETPaymentMethodsPaymentMethodId**](PaymentMethodsApi.md#GETPaymentMethodsPaymentMethodId) | **Get** /payment_methods/{paymentMethodId} | Retrieve a payment method [**GETPaypalGatewayIdPaymentMethods**](PaymentMethodsApi.md#GETPaypalGatewayIdPaymentMethods) | **Get** /paypal_gateways/{paypalGatewayId}/payment_methods | Retrieve the payment methods associated to the paypal gateway [**GETSatispayGatewayIdPaymentMethods**](PaymentMethodsApi.md#GETSatispayGatewayIdPaymentMethods) | **Get** /satispay_gateways/{satispayGatewayId}/payment_methods | Retrieve the payment methods associated to the satispay gateway +[**GETStoreIdPaymentMethods**](PaymentMethodsApi.md#GETStoreIdPaymentMethods) | **Get** /stores/{storeId}/payment_methods | Retrieve the payment methods associated to the store [**GETStripeGatewayIdPaymentMethods**](PaymentMethodsApi.md#GETStripeGatewayIdPaymentMethods) | **Get** /stripe_gateways/{stripeGatewayId}/payment_methods | Retrieve the payment methods associated to the stripe gateway [**PATCHPaymentMethodsPaymentMethodId**](PaymentMethodsApi.md#PATCHPaymentMethodsPaymentMethodId) | **Patch** /payment_methods/{paymentMethodId} | Update a payment method [**POSTPaymentMethods**](PaymentMethodsApi.md#POSTPaymentMethods) | **Post** /payment_methods | Create a payment method @@ -43,7 +44,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -111,7 +112,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -179,7 +180,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -247,7 +248,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -315,7 +316,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -383,7 +384,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -451,7 +452,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -519,7 +520,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -587,7 +588,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -655,7 +656,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -723,7 +724,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -791,7 +792,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -859,7 +860,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -920,7 +921,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -990,7 +991,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1058,7 +1059,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1109,6 +1110,74 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## GETStoreIdPaymentMethods + +> GETStoreIdPaymentMethods(ctx, storeId).Execute() + +Retrieve the payment methods associated to the store + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + storeId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.PaymentMethodsApi.GETStoreIdPaymentMethods(context.Background(), storeId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `PaymentMethodsApi.GETStoreIdPaymentMethods``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**storeId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETStoreIdPaymentMethodsRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## GETStripeGatewayIdPaymentMethods > GETStripeGatewayIdPaymentMethods(ctx, stripeGatewayId).Execute() @@ -1126,7 +1195,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1194,7 +1263,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1266,7 +1335,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/PaymentOptionsApi.md b/api/docs/PaymentOptionsApi.md index 6987a6004..a68a0f116 100644 --- a/api/docs/PaymentOptionsApi.md +++ b/api/docs/PaymentOptionsApi.md @@ -30,7 +30,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -98,7 +98,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -166,7 +166,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -227,7 +227,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -297,7 +297,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -369,7 +369,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/PaypalGatewaysApi.md b/api/docs/PaypalGatewaysApi.md index 20ac504ba..4944753a4 100644 --- a/api/docs/PaypalGatewaysApi.md +++ b/api/docs/PaypalGatewaysApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/PaypalPaymentsApi.md b/api/docs/PaypalPaymentsApi.md index 750c8e838..950d0afcf 100644 --- a/api/docs/PaypalPaymentsApi.md +++ b/api/docs/PaypalPaymentsApi.md @@ -30,7 +30,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -98,7 +98,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -166,7 +166,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -227,7 +227,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -297,7 +297,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -369,7 +369,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/PercentageDiscountPromotionsApi.md b/api/docs/PercentageDiscountPromotionsApi.md index ca177c612..08c1ab2df 100644 --- a/api/docs/PercentageDiscountPromotionsApi.md +++ b/api/docs/PercentageDiscountPromotionsApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/PriceFrequencyTiersApi.md b/api/docs/PriceFrequencyTiersApi.md index a049b9e2d..d8211b0d5 100644 --- a/api/docs/PriceFrequencyTiersApi.md +++ b/api/docs/PriceFrequencyTiersApi.md @@ -30,7 +30,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -98,7 +98,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -159,7 +159,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -229,7 +229,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -297,7 +297,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -369,7 +369,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/PriceListSchedulerCreateDataRelationships.md b/api/docs/PriceListSchedulerCreateDataRelationships.md index 6e09b580f..9f92186ec 100644 --- a/api/docs/PriceListSchedulerCreateDataRelationships.md +++ b/api/docs/PriceListSchedulerCreateDataRelationships.md @@ -4,14 +4,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Market** | [**BillingInfoValidationRuleCreateDataRelationshipsMarket**](BillingInfoValidationRuleCreateDataRelationshipsMarket.md) | | +**Market** | [**BundleCreateDataRelationshipsMarket**](BundleCreateDataRelationshipsMarket.md) | | **PriceList** | [**MarketCreateDataRelationshipsPriceList**](MarketCreateDataRelationshipsPriceList.md) | | ## Methods ### NewPriceListSchedulerCreateDataRelationships -`func NewPriceListSchedulerCreateDataRelationships(market BillingInfoValidationRuleCreateDataRelationshipsMarket, priceList MarketCreateDataRelationshipsPriceList, ) *PriceListSchedulerCreateDataRelationships` +`func NewPriceListSchedulerCreateDataRelationships(market BundleCreateDataRelationshipsMarket, priceList MarketCreateDataRelationshipsPriceList, ) *PriceListSchedulerCreateDataRelationships` NewPriceListSchedulerCreateDataRelationships instantiates a new PriceListSchedulerCreateDataRelationships object This constructor will assign default values to properties that have it defined, @@ -28,20 +28,20 @@ but it doesn't guarantee that properties required by API are set ### GetMarket -`func (o *PriceListSchedulerCreateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket` +`func (o *PriceListSchedulerCreateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket` GetMarket returns the Market field if non-nil, zero value otherwise. ### GetMarketOk -`func (o *PriceListSchedulerCreateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool)` +`func (o *PriceListSchedulerCreateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool)` GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMarket -`func (o *PriceListSchedulerCreateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket)` +`func (o *PriceListSchedulerCreateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket)` SetMarket sets Market field to given value. diff --git a/api/docs/PriceListSchedulerUpdateDataRelationships.md b/api/docs/PriceListSchedulerUpdateDataRelationships.md index 53a1aef7e..9ba39e7b0 100644 --- a/api/docs/PriceListSchedulerUpdateDataRelationships.md +++ b/api/docs/PriceListSchedulerUpdateDataRelationships.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Market** | Pointer to [**BillingInfoValidationRuleCreateDataRelationshipsMarket**](BillingInfoValidationRuleCreateDataRelationshipsMarket.md) | | [optional] +**Market** | Pointer to [**BundleCreateDataRelationshipsMarket**](BundleCreateDataRelationshipsMarket.md) | | [optional] **PriceList** | Pointer to [**MarketCreateDataRelationshipsPriceList**](MarketCreateDataRelationshipsPriceList.md) | | [optional] ## Methods @@ -28,20 +28,20 @@ but it doesn't guarantee that properties required by API are set ### GetMarket -`func (o *PriceListSchedulerUpdateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket` +`func (o *PriceListSchedulerUpdateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket` GetMarket returns the Market field if non-nil, zero value otherwise. ### GetMarketOk -`func (o *PriceListSchedulerUpdateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool)` +`func (o *PriceListSchedulerUpdateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool)` GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMarket -`func (o *PriceListSchedulerUpdateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket)` +`func (o *PriceListSchedulerUpdateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket)` SetMarket sets Market field to given value. diff --git a/api/docs/PriceListSchedulersApi.md b/api/docs/PriceListSchedulersApi.md index d29e061e9..63bb75482 100644 --- a/api/docs/PriceListSchedulersApi.md +++ b/api/docs/PriceListSchedulersApi.md @@ -31,7 +31,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -99,7 +99,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -167,7 +167,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -235,7 +235,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -296,7 +296,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -366,7 +366,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -438,7 +438,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/PriceListsApi.md b/api/docs/PriceListsApi.md index 9e74a5f79..d0d3009e6 100644 --- a/api/docs/PriceListsApi.md +++ b/api/docs/PriceListsApi.md @@ -33,7 +33,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -101,7 +101,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -169,7 +169,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -237,7 +237,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -305,7 +305,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -373,7 +373,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -434,7 +434,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -504,7 +504,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -576,7 +576,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/PriceTiersApi.md b/api/docs/PriceTiersApi.md index 30372a9ec..a8b808ca9 100644 --- a/api/docs/PriceTiersApi.md +++ b/api/docs/PriceTiersApi.md @@ -27,7 +27,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -95,7 +95,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -156,7 +156,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/PriceVolumeTiersApi.md b/api/docs/PriceVolumeTiersApi.md index 65357802a..f5fb06e21 100644 --- a/api/docs/PriceVolumeTiersApi.md +++ b/api/docs/PriceVolumeTiersApi.md @@ -30,7 +30,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -98,7 +98,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -166,7 +166,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -227,7 +227,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -297,7 +297,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -369,7 +369,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/PricesApi.md b/api/docs/PricesApi.md index e4d06f741..4de767b65 100644 --- a/api/docs/PricesApi.md +++ b/api/docs/PricesApi.md @@ -34,7 +34,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -102,7 +102,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -170,7 +170,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -238,7 +238,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -306,7 +306,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -374,7 +374,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -435,7 +435,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -505,7 +505,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -573,7 +573,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -645,7 +645,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/PromotionRulesApi.md b/api/docs/PromotionRulesApi.md index 92a602e0c..4365f2056 100644 --- a/api/docs/PromotionRulesApi.md +++ b/api/docs/PromotionRulesApi.md @@ -26,7 +26,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -87,7 +87,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/PromotionsApi.md b/api/docs/PromotionsApi.md index 0f6aa4f34..3ca547829 100644 --- a/api/docs/PromotionsApi.md +++ b/api/docs/PromotionsApi.md @@ -26,7 +26,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -87,7 +87,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/RecurringOrderCopiesApi.md b/api/docs/RecurringOrderCopiesApi.md index 31234cc66..f6ac62309 100644 --- a/api/docs/RecurringOrderCopiesApi.md +++ b/api/docs/RecurringOrderCopiesApi.md @@ -31,7 +31,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -99,7 +99,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -167,7 +167,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -235,7 +235,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -296,7 +296,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -366,11 +366,11 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { - recurringOrderCopyUpdate := *openapiclient.NewRecurringOrderCopyUpdate(*openapiclient.NewRecurringOrderCopyUpdateData(interface{}(123), interface{}(XGZwpOSrWL), *openapiclient.NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes())) // RecurringOrderCopyUpdate | + recurringOrderCopyUpdate := *openapiclient.NewRecurringOrderCopyUpdate(*openapiclient.NewRecurringOrderCopyUpdateData(interface{}(123), interface{}(XGZwpOSrWL), *openapiclient.NewPATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes())) // RecurringOrderCopyUpdate | recurringOrderCopyId := TODO // interface{} | The resource's id configuration := openapiclient.NewConfiguration() @@ -438,7 +438,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/RecurringOrderCopyUpdateData.md b/api/docs/RecurringOrderCopyUpdateData.md index e952b0ecb..15c8fd0e1 100644 --- a/api/docs/RecurringOrderCopyUpdateData.md +++ b/api/docs/RecurringOrderCopyUpdateData.md @@ -6,14 +6,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Type** | **interface{}** | The resource's type | **Id** | **interface{}** | The resource's id | -**Attributes** | [**PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes**](PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md) | | +**Attributes** | [**PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes**](PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes.md) | | **Relationships** | Pointer to **interface{}** | | [optional] ## Methods ### NewRecurringOrderCopyUpdateData -`func NewRecurringOrderCopyUpdateData(type_ interface{}, id interface{}, attributes PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, ) *RecurringOrderCopyUpdateData` +`func NewRecurringOrderCopyUpdateData(type_ interface{}, id interface{}, attributes PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes, ) *RecurringOrderCopyUpdateData` NewRecurringOrderCopyUpdateData instantiates a new RecurringOrderCopyUpdateData object This constructor will assign default values to properties that have it defined, @@ -90,20 +90,20 @@ SetId sets Id field to given value. UnsetId ensures that no value is present for Id, not even an explicit nil ### GetAttributes -`func (o *RecurringOrderCopyUpdateData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes` +`func (o *RecurringOrderCopyUpdateData) GetAttributes() PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes` GetAttributes returns the Attributes field if non-nil, zero value otherwise. ### GetAttributesOk -`func (o *RecurringOrderCopyUpdateData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool)` +`func (o *RecurringOrderCopyUpdateData) GetAttributesOk() (*PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes, bool)` GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAttributes -`func (o *RecurringOrderCopyUpdateData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes)` +`func (o *RecurringOrderCopyUpdateData) SetAttributes(v PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes)` SetAttributes sets Attributes field to given value. diff --git a/api/docs/RefundDataRelationships.md b/api/docs/RefundDataRelationships.md index e601f0a5e..411eb1cb2 100644 --- a/api/docs/RefundDataRelationships.md +++ b/api/docs/RefundDataRelationships.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Order** | Pointer to [**AdyenPaymentDataRelationshipsOrder**](AdyenPaymentDataRelationshipsOrder.md) | | [optional] +**PaymentSource** | Pointer to [**AuthorizationDataRelationshipsPaymentSource**](AuthorizationDataRelationshipsPaymentSource.md) | | [optional] **Attachments** | Pointer to [**AuthorizationDataRelationshipsAttachments**](AuthorizationDataRelationshipsAttachments.md) | | [optional] **Events** | Pointer to [**AddressDataRelationshipsEvents**](AddressDataRelationshipsEvents.md) | | [optional] **Versions** | Pointer to [**AddressDataRelationshipsVersions**](AddressDataRelationshipsVersions.md) | | [optional] @@ -55,6 +56,31 @@ SetOrder sets Order field to given value. HasOrder returns a boolean if a field has been set. +### GetPaymentSource + +`func (o *RefundDataRelationships) GetPaymentSource() AuthorizationDataRelationshipsPaymentSource` + +GetPaymentSource returns the PaymentSource field if non-nil, zero value otherwise. + +### GetPaymentSourceOk + +`func (o *RefundDataRelationships) GetPaymentSourceOk() (*AuthorizationDataRelationshipsPaymentSource, bool)` + +GetPaymentSourceOk returns a tuple with the PaymentSource field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPaymentSource + +`func (o *RefundDataRelationships) SetPaymentSource(v AuthorizationDataRelationshipsPaymentSource)` + +SetPaymentSource sets PaymentSource field to given value. + +### HasPaymentSource + +`func (o *RefundDataRelationships) HasPaymentSource() bool` + +HasPaymentSource returns a boolean if a field has been set. + ### GetAttachments `func (o *RefundDataRelationships) GetAttachments() AuthorizationDataRelationshipsAttachments` diff --git a/api/docs/RefundsApi.md b/api/docs/RefundsApi.md index 6587f203d..67cfeb602 100644 --- a/api/docs/RefundsApi.md +++ b/api/docs/RefundsApi.md @@ -30,7 +30,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -98,7 +98,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -166,7 +166,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -227,7 +227,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -297,7 +297,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -365,7 +365,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/ReservedStocksApi.md b/api/docs/ReservedStocksApi.md index 8eecf9b6e..dc5580d66 100644 --- a/api/docs/ReservedStocksApi.md +++ b/api/docs/ReservedStocksApi.md @@ -28,7 +28,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -89,7 +89,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -159,7 +159,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -227,7 +227,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/ResourceErrorsApi.md b/api/docs/ResourceErrorsApi.md index 273685f95..9c87c2555 100644 --- a/api/docs/ResourceErrorsApi.md +++ b/api/docs/ResourceErrorsApi.md @@ -28,7 +28,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -96,7 +96,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -157,7 +157,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -227,7 +227,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/ReturnLineItemsApi.md b/api/docs/ReturnLineItemsApi.md index 42654a327..c452d280e 100644 --- a/api/docs/ReturnLineItemsApi.md +++ b/api/docs/ReturnLineItemsApi.md @@ -31,7 +31,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -99,7 +99,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -167,7 +167,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -235,7 +235,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -296,7 +296,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -366,7 +366,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -438,7 +438,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/ReturnsApi.md b/api/docs/ReturnsApi.md index 9ab25cd9d..1cb05b6e4 100644 --- a/api/docs/ReturnsApi.md +++ b/api/docs/ReturnsApi.md @@ -34,7 +34,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -102,7 +102,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -170,7 +170,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -238,7 +238,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -306,7 +306,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -374,7 +374,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -442,7 +442,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -503,7 +503,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -573,7 +573,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -645,7 +645,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/SatispayGatewaysApi.md b/api/docs/SatispayGatewaysApi.md index b3eaf3ffc..a1e33b077 100644 --- a/api/docs/SatispayGatewaysApi.md +++ b/api/docs/SatispayGatewaysApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/SatispayPaymentsApi.md b/api/docs/SatispayPaymentsApi.md index 49d37cfa2..b8145f695 100644 --- a/api/docs/SatispayPaymentsApi.md +++ b/api/docs/SatispayPaymentsApi.md @@ -30,7 +30,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -98,7 +98,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -166,7 +166,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -227,7 +227,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -297,7 +297,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -369,7 +369,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/ShipmentsApi.md b/api/docs/ShipmentsApi.md index be57e7258..3fb6c12e0 100644 --- a/api/docs/ShipmentsApi.md +++ b/api/docs/ShipmentsApi.md @@ -33,7 +33,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -101,7 +101,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -169,7 +169,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -237,7 +237,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -298,7 +298,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -368,7 +368,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -436,7 +436,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -504,7 +504,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -576,7 +576,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/ShippingCategoriesApi.md b/api/docs/ShippingCategoriesApi.md index fae1ea8fe..3cd0bcd72 100644 --- a/api/docs/ShippingCategoriesApi.md +++ b/api/docs/ShippingCategoriesApi.md @@ -32,7 +32,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -100,7 +100,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -168,7 +168,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -229,7 +229,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -299,7 +299,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -367,7 +367,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -435,7 +435,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -507,7 +507,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/ShippingMethodCreateDataRelationships.md b/api/docs/ShippingMethodCreateDataRelationships.md index a5714c128..5075b1b87 100644 --- a/api/docs/ShippingMethodCreateDataRelationships.md +++ b/api/docs/ShippingMethodCreateDataRelationships.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Market** | Pointer to [**BillingInfoValidationRuleCreateDataRelationshipsMarket**](BillingInfoValidationRuleCreateDataRelationshipsMarket.md) | | [optional] +**Market** | Pointer to [**BundleCreateDataRelationshipsMarket**](BundleCreateDataRelationshipsMarket.md) | | [optional] **ShippingZone** | Pointer to [**ShippingMethodCreateDataRelationshipsShippingZone**](ShippingMethodCreateDataRelationshipsShippingZone.md) | | [optional] **ShippingCategory** | Pointer to [**ShipmentCreateDataRelationshipsShippingCategory**](ShipmentCreateDataRelationshipsShippingCategory.md) | | [optional] **StockLocation** | Pointer to [**DeliveryLeadTimeCreateDataRelationshipsStockLocation**](DeliveryLeadTimeCreateDataRelationshipsStockLocation.md) | | [optional] @@ -31,20 +31,20 @@ but it doesn't guarantee that properties required by API are set ### GetMarket -`func (o *ShippingMethodCreateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket` +`func (o *ShippingMethodCreateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket` GetMarket returns the Market field if non-nil, zero value otherwise. ### GetMarketOk -`func (o *ShippingMethodCreateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool)` +`func (o *ShippingMethodCreateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool)` GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMarket -`func (o *ShippingMethodCreateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket)` +`func (o *ShippingMethodCreateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket)` SetMarket sets Market field to given value. diff --git a/api/docs/ShippingMethodTiersApi.md b/api/docs/ShippingMethodTiersApi.md index 2fbdc884e..3f06f8f10 100644 --- a/api/docs/ShippingMethodTiersApi.md +++ b/api/docs/ShippingMethodTiersApi.md @@ -27,7 +27,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -95,7 +95,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -156,7 +156,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/ShippingMethodsApi.md b/api/docs/ShippingMethodsApi.md index 5115d00fb..df12499ec 100644 --- a/api/docs/ShippingMethodsApi.md +++ b/api/docs/ShippingMethodsApi.md @@ -34,7 +34,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -102,7 +102,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -170,7 +170,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -238,7 +238,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -306,7 +306,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -374,7 +374,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -435,7 +435,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -505,7 +505,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -573,7 +573,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -645,7 +645,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/ShippingWeightTiersApi.md b/api/docs/ShippingWeightTiersApi.md index e896af33c..bac8b2bbc 100644 --- a/api/docs/ShippingWeightTiersApi.md +++ b/api/docs/ShippingWeightTiersApi.md @@ -30,7 +30,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -98,7 +98,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -166,7 +166,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -227,7 +227,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -297,7 +297,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -369,7 +369,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/ShippingZonesApi.md b/api/docs/ShippingZonesApi.md index 12ada1c11..6885a5bb8 100644 --- a/api/docs/ShippingZonesApi.md +++ b/api/docs/ShippingZonesApi.md @@ -30,7 +30,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -98,7 +98,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -166,7 +166,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -227,7 +227,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -297,7 +297,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -369,7 +369,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/SingletonApi.md b/api/docs/SingletonApi.md index de9a78383..d6e30966c 100644 --- a/api/docs/SingletonApi.md +++ b/api/docs/SingletonApi.md @@ -26,7 +26,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -87,7 +87,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/SkuListItemsApi.md b/api/docs/SkuListItemsApi.md index f644d69b8..cb86089ce 100644 --- a/api/docs/SkuListItemsApi.md +++ b/api/docs/SkuListItemsApi.md @@ -31,7 +31,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -99,7 +99,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -167,7 +167,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -235,7 +235,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -296,7 +296,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -366,7 +366,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -438,7 +438,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/SkuListPromotionRulesApi.md b/api/docs/SkuListPromotionRulesApi.md index 9cb84130a..a9788154c 100644 --- a/api/docs/SkuListPromotionRulesApi.md +++ b/api/docs/SkuListPromotionRulesApi.md @@ -37,7 +37,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -105,7 +105,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -173,7 +173,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -241,7 +241,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -309,7 +309,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -377,7 +377,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -445,7 +445,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -513,7 +513,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -581,7 +581,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -649,7 +649,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -710,7 +710,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -780,7 +780,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -852,7 +852,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/SkuListsApi.md b/api/docs/SkuListsApi.md index 1f874b362..a7ca19440 100644 --- a/api/docs/SkuListsApi.md +++ b/api/docs/SkuListsApi.md @@ -42,7 +42,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -110,7 +110,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -178,7 +178,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -246,7 +246,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -314,7 +314,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -382,7 +382,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -450,7 +450,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -518,7 +518,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -586,7 +586,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -654,7 +654,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -722,7 +722,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -790,7 +790,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -858,7 +858,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -926,7 +926,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -994,7 +994,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1055,7 +1055,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1125,7 +1125,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1197,7 +1197,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/SkuOptionCreateDataRelationships.md b/api/docs/SkuOptionCreateDataRelationships.md index fe26aeb30..82ac52954 100644 --- a/api/docs/SkuOptionCreateDataRelationships.md +++ b/api/docs/SkuOptionCreateDataRelationships.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Market** | Pointer to [**BillingInfoValidationRuleCreateDataRelationshipsMarket**](BillingInfoValidationRuleCreateDataRelationshipsMarket.md) | | [optional] +**Market** | Pointer to [**BundleCreateDataRelationshipsMarket**](BundleCreateDataRelationshipsMarket.md) | | [optional] **Tags** | Pointer to [**AddressCreateDataRelationshipsTags**](AddressCreateDataRelationshipsTags.md) | | [optional] ## Methods @@ -28,20 +28,20 @@ but it doesn't guarantee that properties required by API are set ### GetMarket -`func (o *SkuOptionCreateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket` +`func (o *SkuOptionCreateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket` GetMarket returns the Market field if non-nil, zero value otherwise. ### GetMarketOk -`func (o *SkuOptionCreateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool)` +`func (o *SkuOptionCreateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool)` GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMarket -`func (o *SkuOptionCreateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket)` +`func (o *SkuOptionCreateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket)` SetMarket sets Market field to given value. diff --git a/api/docs/SkuOptionsApi.md b/api/docs/SkuOptionsApi.md index e58dc2528..25e18a7f1 100644 --- a/api/docs/SkuOptionsApi.md +++ b/api/docs/SkuOptionsApi.md @@ -31,7 +31,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -99,7 +99,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -167,7 +167,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -235,7 +235,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -296,7 +296,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -366,7 +366,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -438,7 +438,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/SkusApi.md b/api/docs/SkusApi.md index 46363918f..869745f5d 100644 --- a/api/docs/SkusApi.md +++ b/api/docs/SkusApi.md @@ -49,7 +49,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -117,7 +117,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -185,7 +185,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -253,7 +253,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -321,7 +321,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -389,7 +389,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -457,7 +457,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -525,7 +525,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -593,7 +593,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -661,7 +661,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -729,7 +729,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -797,7 +797,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -865,7 +865,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -933,7 +933,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1001,7 +1001,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1069,7 +1069,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1137,7 +1137,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1198,7 +1198,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1268,7 +1268,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1336,7 +1336,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1404,7 +1404,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1472,7 +1472,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1540,7 +1540,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1608,7 +1608,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1680,7 +1680,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/StockItemsApi.md b/api/docs/StockItemsApi.md index f5a0a4f9d..c68ebdd38 100644 --- a/api/docs/StockItemsApi.md +++ b/api/docs/StockItemsApi.md @@ -34,7 +34,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -102,7 +102,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -170,7 +170,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -238,7 +238,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -299,7 +299,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -369,7 +369,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -437,7 +437,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -505,7 +505,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -573,7 +573,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -645,7 +645,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/StockLineItemsApi.md b/api/docs/StockLineItemsApi.md index 2e63f6961..52e0ec78b 100644 --- a/api/docs/StockLineItemsApi.md +++ b/api/docs/StockLineItemsApi.md @@ -34,7 +34,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -102,7 +102,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -170,7 +170,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -238,7 +238,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -306,7 +306,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -374,7 +374,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -435,7 +435,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -505,7 +505,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -573,7 +573,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -645,7 +645,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/StockLocationDataRelationships.md b/api/docs/StockLocationDataRelationships.md index af5a2d5c1..58c0f3ba9 100644 --- a/api/docs/StockLocationDataRelationships.md +++ b/api/docs/StockLocationDataRelationships.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **InventoryReturnLocations** | Pointer to [**InventoryModelDataRelationshipsInventoryReturnLocations**](InventoryModelDataRelationshipsInventoryReturnLocations.md) | | [optional] **StockItems** | Pointer to [**ReservedStockDataRelationshipsStockItem**](ReservedStockDataRelationshipsStockItem.md) | | [optional] **StockTransfers** | Pointer to [**LineItemDataRelationshipsStockTransfers**](LineItemDataRelationshipsStockTransfers.md) | | [optional] +**Stores** | Pointer to [**MarketDataRelationshipsStores**](MarketDataRelationshipsStores.md) | | [optional] **Attachments** | Pointer to [**AuthorizationDataRelationshipsAttachments**](AuthorizationDataRelationshipsAttachments.md) | | [optional] **Versions** | Pointer to [**AddressDataRelationshipsVersions**](AddressDataRelationshipsVersions.md) | | [optional] @@ -156,6 +157,31 @@ SetStockTransfers sets StockTransfers field to given value. HasStockTransfers returns a boolean if a field has been set. +### GetStores + +`func (o *StockLocationDataRelationships) GetStores() MarketDataRelationshipsStores` + +GetStores returns the Stores field if non-nil, zero value otherwise. + +### GetStoresOk + +`func (o *StockLocationDataRelationships) GetStoresOk() (*MarketDataRelationshipsStores, bool)` + +GetStoresOk returns a tuple with the Stores field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStores + +`func (o *StockLocationDataRelationships) SetStores(v MarketDataRelationshipsStores)` + +SetStores sets Stores field to given value. + +### HasStores + +`func (o *StockLocationDataRelationships) HasStores() bool` + +HasStores returns a boolean if a field has been set. + ### GetAttachments `func (o *StockLocationDataRelationships) GetAttachments() AuthorizationDataRelationshipsAttachments` diff --git a/api/docs/StockLocationsApi.md b/api/docs/StockLocationsApi.md index f47afcf0e..4bfc24a4f 100644 --- a/api/docs/StockLocationsApi.md +++ b/api/docs/StockLocationsApi.md @@ -19,6 +19,7 @@ Method | HTTP request | Description [**GETStockLocationsStockLocationId**](StockLocationsApi.md#GETStockLocationsStockLocationId) | **Get** /stock_locations/{stockLocationId} | Retrieve a stock location [**GETStockTransferIdDestinationStockLocation**](StockLocationsApi.md#GETStockTransferIdDestinationStockLocation) | **Get** /stock_transfers/{stockTransferId}/destination_stock_location | Retrieve the destination stock location associated to the stock transfer [**GETStockTransferIdOriginStockLocation**](StockLocationsApi.md#GETStockTransferIdOriginStockLocation) | **Get** /stock_transfers/{stockTransferId}/origin_stock_location | Retrieve the origin stock location associated to the stock transfer +[**GETStoreIdStockLocation**](StockLocationsApi.md#GETStoreIdStockLocation) | **Get** /stores/{storeId}/stock_location | Retrieve the stock location associated to the store [**PATCHStockLocationsStockLocationId**](StockLocationsApi.md#PATCHStockLocationsStockLocationId) | **Patch** /stock_locations/{stockLocationId} | Update a stock location [**POSTStockLocations**](StockLocationsApi.md#POSTStockLocations) | **Post** /stock_locations | Create a stock location @@ -41,7 +42,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -109,7 +110,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -177,7 +178,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -245,7 +246,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -313,7 +314,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -381,7 +382,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -449,7 +450,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -517,7 +518,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -585,7 +586,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -653,7 +654,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -721,7 +722,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -789,7 +790,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -850,7 +851,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -920,7 +921,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -988,7 +989,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1039,6 +1040,74 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## GETStoreIdStockLocation + +> GETStoreIdStockLocation(ctx, storeId).Execute() + +Retrieve the stock location associated to the store + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + storeId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.StockLocationsApi.GETStoreIdStockLocation(context.Background(), storeId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `StockLocationsApi.GETStoreIdStockLocation``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**storeId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETStoreIdStockLocationRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## PATCHStockLocationsStockLocationId > PATCHStockLocationsStockLocationId200Response PATCHStockLocationsStockLocationId(ctx, stockLocationId).StockLocationUpdate(stockLocationUpdate).Execute() @@ -1056,7 +1125,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1128,7 +1197,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/StockReservationsApi.md b/api/docs/StockReservationsApi.md index b5205b44b..1eb6d1e2d 100644 --- a/api/docs/StockReservationsApi.md +++ b/api/docs/StockReservationsApi.md @@ -36,7 +36,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -104,7 +104,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -172,7 +172,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -240,7 +240,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -308,7 +308,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -376,7 +376,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -444,7 +444,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -512,7 +512,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -573,7 +573,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -643,7 +643,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -711,7 +711,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -783,7 +783,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/StockTransfersApi.md b/api/docs/StockTransfersApi.md index 2a221348d..8eacda146 100644 --- a/api/docs/StockTransfersApi.md +++ b/api/docs/StockTransfersApi.md @@ -34,7 +34,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -102,7 +102,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -170,7 +170,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -238,7 +238,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -306,7 +306,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -374,7 +374,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -442,7 +442,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -503,7 +503,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -573,7 +573,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -645,7 +645,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/Store.md b/api/docs/Store.md new file mode 100644 index 000000000..1593bd51d --- /dev/null +++ b/api/docs/Store.md @@ -0,0 +1,56 @@ +# Store + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Data** | Pointer to [**StoreData**](StoreData.md) | | [optional] + +## Methods + +### NewStore + +`func NewStore() *Store` + +NewStore instantiates a new Store object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewStoreWithDefaults + +`func NewStoreWithDefaults() *Store` + +NewStoreWithDefaults instantiates a new Store object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetData + +`func (o *Store) GetData() StoreData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *Store) GetDataOk() (*StoreData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *Store) SetData(v StoreData)` + +SetData sets Data field to given value. + +### HasData + +`func (o *Store) HasData() bool` + +HasData returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/StoreCreate.md b/api/docs/StoreCreate.md new file mode 100644 index 000000000..b5d5fc565 --- /dev/null +++ b/api/docs/StoreCreate.md @@ -0,0 +1,51 @@ +# StoreCreate + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Data** | [**StoreCreateData**](StoreCreateData.md) | | + +## Methods + +### NewStoreCreate + +`func NewStoreCreate(data StoreCreateData, ) *StoreCreate` + +NewStoreCreate instantiates a new StoreCreate object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewStoreCreateWithDefaults + +`func NewStoreCreateWithDefaults() *StoreCreate` + +NewStoreCreateWithDefaults instantiates a new StoreCreate object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetData + +`func (o *StoreCreate) GetData() StoreCreateData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *StoreCreate) GetDataOk() (*StoreCreateData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *StoreCreate) SetData(v StoreCreateData)` + +SetData sets Data field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/StoreCreateData.md b/api/docs/StoreCreateData.md new file mode 100644 index 000000000..6249906b1 --- /dev/null +++ b/api/docs/StoreCreateData.md @@ -0,0 +1,108 @@ +# StoreCreateData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **interface{}** | The resource's type | +**Attributes** | [**POSTStores201ResponseDataAttributes**](POSTStores201ResponseDataAttributes.md) | | +**Relationships** | Pointer to [**StoreCreateDataRelationships**](StoreCreateDataRelationships.md) | | [optional] + +## Methods + +### NewStoreCreateData + +`func NewStoreCreateData(type_ interface{}, attributes POSTStores201ResponseDataAttributes, ) *StoreCreateData` + +NewStoreCreateData instantiates a new StoreCreateData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewStoreCreateDataWithDefaults + +`func NewStoreCreateDataWithDefaults() *StoreCreateData` + +NewStoreCreateDataWithDefaults instantiates a new StoreCreateData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetType + +`func (o *StoreCreateData) GetType() interface{}` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *StoreCreateData) GetTypeOk() (*interface{}, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *StoreCreateData) SetType(v interface{})` + +SetType sets Type field to given value. + + +### SetTypeNil + +`func (o *StoreCreateData) SetTypeNil(b bool)` + + SetTypeNil sets the value for Type to be an explicit nil + +### UnsetType +`func (o *StoreCreateData) UnsetType()` + +UnsetType ensures that no value is present for Type, not even an explicit nil +### GetAttributes + +`func (o *StoreCreateData) GetAttributes() POSTStores201ResponseDataAttributes` + +GetAttributes returns the Attributes field if non-nil, zero value otherwise. + +### GetAttributesOk + +`func (o *StoreCreateData) GetAttributesOk() (*POSTStores201ResponseDataAttributes, bool)` + +GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAttributes + +`func (o *StoreCreateData) SetAttributes(v POSTStores201ResponseDataAttributes)` + +SetAttributes sets Attributes field to given value. + + +### GetRelationships + +`func (o *StoreCreateData) GetRelationships() StoreCreateDataRelationships` + +GetRelationships returns the Relationships field if non-nil, zero value otherwise. + +### GetRelationshipsOk + +`func (o *StoreCreateData) GetRelationshipsOk() (*StoreCreateDataRelationships, bool)` + +GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelationships + +`func (o *StoreCreateData) SetRelationships(v StoreCreateDataRelationships)` + +SetRelationships sets Relationships field to given value. + +### HasRelationships + +`func (o *StoreCreateData) HasRelationships() bool` + +HasRelationships returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/StoreCreateDataRelationships.md b/api/docs/StoreCreateDataRelationships.md new file mode 100644 index 000000000..722e8e961 --- /dev/null +++ b/api/docs/StoreCreateDataRelationships.md @@ -0,0 +1,103 @@ +# StoreCreateDataRelationships + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Market** | [**BundleCreateDataRelationshipsMarket**](BundleCreateDataRelationshipsMarket.md) | | +**Merchant** | Pointer to [**MarketCreateDataRelationshipsMerchant**](MarketCreateDataRelationshipsMerchant.md) | | [optional] +**StockLocation** | Pointer to [**DeliveryLeadTimeCreateDataRelationshipsStockLocation**](DeliveryLeadTimeCreateDataRelationshipsStockLocation.md) | | [optional] + +## Methods + +### NewStoreCreateDataRelationships + +`func NewStoreCreateDataRelationships(market BundleCreateDataRelationshipsMarket, ) *StoreCreateDataRelationships` + +NewStoreCreateDataRelationships instantiates a new StoreCreateDataRelationships object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewStoreCreateDataRelationshipsWithDefaults + +`func NewStoreCreateDataRelationshipsWithDefaults() *StoreCreateDataRelationships` + +NewStoreCreateDataRelationshipsWithDefaults instantiates a new StoreCreateDataRelationships object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetMarket + +`func (o *StoreCreateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket` + +GetMarket returns the Market field if non-nil, zero value otherwise. + +### GetMarketOk + +`func (o *StoreCreateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool)` + +GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMarket + +`func (o *StoreCreateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket)` + +SetMarket sets Market field to given value. + + +### GetMerchant + +`func (o *StoreCreateDataRelationships) GetMerchant() MarketCreateDataRelationshipsMerchant` + +GetMerchant returns the Merchant field if non-nil, zero value otherwise. + +### GetMerchantOk + +`func (o *StoreCreateDataRelationships) GetMerchantOk() (*MarketCreateDataRelationshipsMerchant, bool)` + +GetMerchantOk returns a tuple with the Merchant field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMerchant + +`func (o *StoreCreateDataRelationships) SetMerchant(v MarketCreateDataRelationshipsMerchant)` + +SetMerchant sets Merchant field to given value. + +### HasMerchant + +`func (o *StoreCreateDataRelationships) HasMerchant() bool` + +HasMerchant returns a boolean if a field has been set. + +### GetStockLocation + +`func (o *StoreCreateDataRelationships) GetStockLocation() DeliveryLeadTimeCreateDataRelationshipsStockLocation` + +GetStockLocation returns the StockLocation field if non-nil, zero value otherwise. + +### GetStockLocationOk + +`func (o *StoreCreateDataRelationships) GetStockLocationOk() (*DeliveryLeadTimeCreateDataRelationshipsStockLocation, bool)` + +GetStockLocationOk returns a tuple with the StockLocation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStockLocation + +`func (o *StoreCreateDataRelationships) SetStockLocation(v DeliveryLeadTimeCreateDataRelationshipsStockLocation)` + +SetStockLocation sets StockLocation field to given value. + +### HasStockLocation + +`func (o *StoreCreateDataRelationships) HasStockLocation() bool` + +HasStockLocation returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/StoreData.md b/api/docs/StoreData.md new file mode 100644 index 000000000..6c531a56b --- /dev/null +++ b/api/docs/StoreData.md @@ -0,0 +1,108 @@ +# StoreData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **interface{}** | The resource's type | +**Attributes** | [**GETStoresStoreId200ResponseDataAttributes**](GETStoresStoreId200ResponseDataAttributes.md) | | +**Relationships** | Pointer to [**StoreDataRelationships**](StoreDataRelationships.md) | | [optional] + +## Methods + +### NewStoreData + +`func NewStoreData(type_ interface{}, attributes GETStoresStoreId200ResponseDataAttributes, ) *StoreData` + +NewStoreData instantiates a new StoreData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewStoreDataWithDefaults + +`func NewStoreDataWithDefaults() *StoreData` + +NewStoreDataWithDefaults instantiates a new StoreData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetType + +`func (o *StoreData) GetType() interface{}` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *StoreData) GetTypeOk() (*interface{}, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *StoreData) SetType(v interface{})` + +SetType sets Type field to given value. + + +### SetTypeNil + +`func (o *StoreData) SetTypeNil(b bool)` + + SetTypeNil sets the value for Type to be an explicit nil + +### UnsetType +`func (o *StoreData) UnsetType()` + +UnsetType ensures that no value is present for Type, not even an explicit nil +### GetAttributes + +`func (o *StoreData) GetAttributes() GETStoresStoreId200ResponseDataAttributes` + +GetAttributes returns the Attributes field if non-nil, zero value otherwise. + +### GetAttributesOk + +`func (o *StoreData) GetAttributesOk() (*GETStoresStoreId200ResponseDataAttributes, bool)` + +GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAttributes + +`func (o *StoreData) SetAttributes(v GETStoresStoreId200ResponseDataAttributes)` + +SetAttributes sets Attributes field to given value. + + +### GetRelationships + +`func (o *StoreData) GetRelationships() StoreDataRelationships` + +GetRelationships returns the Relationships field if non-nil, zero value otherwise. + +### GetRelationshipsOk + +`func (o *StoreData) GetRelationshipsOk() (*StoreDataRelationships, bool)` + +GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelationships + +`func (o *StoreData) SetRelationships(v StoreDataRelationships)` + +SetRelationships sets Relationships field to given value. + +### HasRelationships + +`func (o *StoreData) HasRelationships() bool` + +HasRelationships returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/StoreDataRelationships.md b/api/docs/StoreDataRelationships.md new file mode 100644 index 000000000..a63766df1 --- /dev/null +++ b/api/docs/StoreDataRelationships.md @@ -0,0 +1,212 @@ +# StoreDataRelationships + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Market** | Pointer to [**AvalaraAccountDataRelationshipsMarkets**](AvalaraAccountDataRelationshipsMarkets.md) | | [optional] +**Merchant** | Pointer to [**MarketDataRelationshipsMerchant**](MarketDataRelationshipsMerchant.md) | | [optional] +**StockLocation** | Pointer to [**DeliveryLeadTimeDataRelationshipsStockLocation**](DeliveryLeadTimeDataRelationshipsStockLocation.md) | | [optional] +**Orders** | Pointer to [**AdyenPaymentDataRelationshipsOrder**](AdyenPaymentDataRelationshipsOrder.md) | | [optional] +**PaymentMethods** | Pointer to [**AdyenGatewayDataRelationshipsPaymentMethods**](AdyenGatewayDataRelationshipsPaymentMethods.md) | | [optional] +**Events** | Pointer to [**AddressDataRelationshipsEvents**](AddressDataRelationshipsEvents.md) | | [optional] +**Versions** | Pointer to [**AddressDataRelationshipsVersions**](AddressDataRelationshipsVersions.md) | | [optional] + +## Methods + +### NewStoreDataRelationships + +`func NewStoreDataRelationships() *StoreDataRelationships` + +NewStoreDataRelationships instantiates a new StoreDataRelationships object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewStoreDataRelationshipsWithDefaults + +`func NewStoreDataRelationshipsWithDefaults() *StoreDataRelationships` + +NewStoreDataRelationshipsWithDefaults instantiates a new StoreDataRelationships object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetMarket + +`func (o *StoreDataRelationships) GetMarket() AvalaraAccountDataRelationshipsMarkets` + +GetMarket returns the Market field if non-nil, zero value otherwise. + +### GetMarketOk + +`func (o *StoreDataRelationships) GetMarketOk() (*AvalaraAccountDataRelationshipsMarkets, bool)` + +GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMarket + +`func (o *StoreDataRelationships) SetMarket(v AvalaraAccountDataRelationshipsMarkets)` + +SetMarket sets Market field to given value. + +### HasMarket + +`func (o *StoreDataRelationships) HasMarket() bool` + +HasMarket returns a boolean if a field has been set. + +### GetMerchant + +`func (o *StoreDataRelationships) GetMerchant() MarketDataRelationshipsMerchant` + +GetMerchant returns the Merchant field if non-nil, zero value otherwise. + +### GetMerchantOk + +`func (o *StoreDataRelationships) GetMerchantOk() (*MarketDataRelationshipsMerchant, bool)` + +GetMerchantOk returns a tuple with the Merchant field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMerchant + +`func (o *StoreDataRelationships) SetMerchant(v MarketDataRelationshipsMerchant)` + +SetMerchant sets Merchant field to given value. + +### HasMerchant + +`func (o *StoreDataRelationships) HasMerchant() bool` + +HasMerchant returns a boolean if a field has been set. + +### GetStockLocation + +`func (o *StoreDataRelationships) GetStockLocation() DeliveryLeadTimeDataRelationshipsStockLocation` + +GetStockLocation returns the StockLocation field if non-nil, zero value otherwise. + +### GetStockLocationOk + +`func (o *StoreDataRelationships) GetStockLocationOk() (*DeliveryLeadTimeDataRelationshipsStockLocation, bool)` + +GetStockLocationOk returns a tuple with the StockLocation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStockLocation + +`func (o *StoreDataRelationships) SetStockLocation(v DeliveryLeadTimeDataRelationshipsStockLocation)` + +SetStockLocation sets StockLocation field to given value. + +### HasStockLocation + +`func (o *StoreDataRelationships) HasStockLocation() bool` + +HasStockLocation returns a boolean if a field has been set. + +### GetOrders + +`func (o *StoreDataRelationships) GetOrders() AdyenPaymentDataRelationshipsOrder` + +GetOrders returns the Orders field if non-nil, zero value otherwise. + +### GetOrdersOk + +`func (o *StoreDataRelationships) GetOrdersOk() (*AdyenPaymentDataRelationshipsOrder, bool)` + +GetOrdersOk returns a tuple with the Orders field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOrders + +`func (o *StoreDataRelationships) SetOrders(v AdyenPaymentDataRelationshipsOrder)` + +SetOrders sets Orders field to given value. + +### HasOrders + +`func (o *StoreDataRelationships) HasOrders() bool` + +HasOrders returns a boolean if a field has been set. + +### GetPaymentMethods + +`func (o *StoreDataRelationships) GetPaymentMethods() AdyenGatewayDataRelationshipsPaymentMethods` + +GetPaymentMethods returns the PaymentMethods field if non-nil, zero value otherwise. + +### GetPaymentMethodsOk + +`func (o *StoreDataRelationships) GetPaymentMethodsOk() (*AdyenGatewayDataRelationshipsPaymentMethods, bool)` + +GetPaymentMethodsOk returns a tuple with the PaymentMethods field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPaymentMethods + +`func (o *StoreDataRelationships) SetPaymentMethods(v AdyenGatewayDataRelationshipsPaymentMethods)` + +SetPaymentMethods sets PaymentMethods field to given value. + +### HasPaymentMethods + +`func (o *StoreDataRelationships) HasPaymentMethods() bool` + +HasPaymentMethods returns a boolean if a field has been set. + +### GetEvents + +`func (o *StoreDataRelationships) GetEvents() AddressDataRelationshipsEvents` + +GetEvents returns the Events field if non-nil, zero value otherwise. + +### GetEventsOk + +`func (o *StoreDataRelationships) GetEventsOk() (*AddressDataRelationshipsEvents, bool)` + +GetEventsOk returns a tuple with the Events field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEvents + +`func (o *StoreDataRelationships) SetEvents(v AddressDataRelationshipsEvents)` + +SetEvents sets Events field to given value. + +### HasEvents + +`func (o *StoreDataRelationships) HasEvents() bool` + +HasEvents returns a boolean if a field has been set. + +### GetVersions + +`func (o *StoreDataRelationships) GetVersions() AddressDataRelationshipsVersions` + +GetVersions returns the Versions field if non-nil, zero value otherwise. + +### GetVersionsOk + +`func (o *StoreDataRelationships) GetVersionsOk() (*AddressDataRelationshipsVersions, bool)` + +GetVersionsOk returns a tuple with the Versions field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersions + +`func (o *StoreDataRelationships) SetVersions(v AddressDataRelationshipsVersions)` + +SetVersions sets Versions field to given value. + +### HasVersions + +`func (o *StoreDataRelationships) HasVersions() bool` + +HasVersions returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/StoreUpdate.md b/api/docs/StoreUpdate.md new file mode 100644 index 000000000..0d61f6885 --- /dev/null +++ b/api/docs/StoreUpdate.md @@ -0,0 +1,51 @@ +# StoreUpdate + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Data** | [**StoreUpdateData**](StoreUpdateData.md) | | + +## Methods + +### NewStoreUpdate + +`func NewStoreUpdate(data StoreUpdateData, ) *StoreUpdate` + +NewStoreUpdate instantiates a new StoreUpdate object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewStoreUpdateWithDefaults + +`func NewStoreUpdateWithDefaults() *StoreUpdate` + +NewStoreUpdateWithDefaults instantiates a new StoreUpdate object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetData + +`func (o *StoreUpdate) GetData() StoreUpdateData` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *StoreUpdate) GetDataOk() (*StoreUpdateData, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *StoreUpdate) SetData(v StoreUpdateData)` + +SetData sets Data field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/StoreUpdateData.md b/api/docs/StoreUpdateData.md new file mode 100644 index 000000000..9815933fb --- /dev/null +++ b/api/docs/StoreUpdateData.md @@ -0,0 +1,139 @@ +# StoreUpdateData + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Type** | **interface{}** | The resource's type | +**Id** | **interface{}** | The resource's id | +**Attributes** | [**PATCHStoresStoreId200ResponseDataAttributes**](PATCHStoresStoreId200ResponseDataAttributes.md) | | +**Relationships** | Pointer to [**StoreUpdateDataRelationships**](StoreUpdateDataRelationships.md) | | [optional] + +## Methods + +### NewStoreUpdateData + +`func NewStoreUpdateData(type_ interface{}, id interface{}, attributes PATCHStoresStoreId200ResponseDataAttributes, ) *StoreUpdateData` + +NewStoreUpdateData instantiates a new StoreUpdateData object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewStoreUpdateDataWithDefaults + +`func NewStoreUpdateDataWithDefaults() *StoreUpdateData` + +NewStoreUpdateDataWithDefaults instantiates a new StoreUpdateData object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetType + +`func (o *StoreUpdateData) GetType() interface{}` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *StoreUpdateData) GetTypeOk() (*interface{}, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *StoreUpdateData) SetType(v interface{})` + +SetType sets Type field to given value. + + +### SetTypeNil + +`func (o *StoreUpdateData) SetTypeNil(b bool)` + + SetTypeNil sets the value for Type to be an explicit nil + +### UnsetType +`func (o *StoreUpdateData) UnsetType()` + +UnsetType ensures that no value is present for Type, not even an explicit nil +### GetId + +`func (o *StoreUpdateData) GetId() interface{}` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *StoreUpdateData) GetIdOk() (*interface{}, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *StoreUpdateData) SetId(v interface{})` + +SetId sets Id field to given value. + + +### SetIdNil + +`func (o *StoreUpdateData) SetIdNil(b bool)` + + SetIdNil sets the value for Id to be an explicit nil + +### UnsetId +`func (o *StoreUpdateData) UnsetId()` + +UnsetId ensures that no value is present for Id, not even an explicit nil +### GetAttributes + +`func (o *StoreUpdateData) GetAttributes() PATCHStoresStoreId200ResponseDataAttributes` + +GetAttributes returns the Attributes field if non-nil, zero value otherwise. + +### GetAttributesOk + +`func (o *StoreUpdateData) GetAttributesOk() (*PATCHStoresStoreId200ResponseDataAttributes, bool)` + +GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAttributes + +`func (o *StoreUpdateData) SetAttributes(v PATCHStoresStoreId200ResponseDataAttributes)` + +SetAttributes sets Attributes field to given value. + + +### GetRelationships + +`func (o *StoreUpdateData) GetRelationships() StoreUpdateDataRelationships` + +GetRelationships returns the Relationships field if non-nil, zero value otherwise. + +### GetRelationshipsOk + +`func (o *StoreUpdateData) GetRelationshipsOk() (*StoreUpdateDataRelationships, bool)` + +GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelationships + +`func (o *StoreUpdateData) SetRelationships(v StoreUpdateDataRelationships)` + +SetRelationships sets Relationships field to given value. + +### HasRelationships + +`func (o *StoreUpdateData) HasRelationships() bool` + +HasRelationships returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/StoreUpdateDataRelationships.md b/api/docs/StoreUpdateDataRelationships.md new file mode 100644 index 000000000..7e877bb61 --- /dev/null +++ b/api/docs/StoreUpdateDataRelationships.md @@ -0,0 +1,108 @@ +# StoreUpdateDataRelationships + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Market** | Pointer to [**BundleCreateDataRelationshipsMarket**](BundleCreateDataRelationshipsMarket.md) | | [optional] +**Merchant** | Pointer to [**MarketCreateDataRelationshipsMerchant**](MarketCreateDataRelationshipsMerchant.md) | | [optional] +**StockLocation** | Pointer to [**DeliveryLeadTimeCreateDataRelationshipsStockLocation**](DeliveryLeadTimeCreateDataRelationshipsStockLocation.md) | | [optional] + +## Methods + +### NewStoreUpdateDataRelationships + +`func NewStoreUpdateDataRelationships() *StoreUpdateDataRelationships` + +NewStoreUpdateDataRelationships instantiates a new StoreUpdateDataRelationships object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewStoreUpdateDataRelationshipsWithDefaults + +`func NewStoreUpdateDataRelationshipsWithDefaults() *StoreUpdateDataRelationships` + +NewStoreUpdateDataRelationshipsWithDefaults instantiates a new StoreUpdateDataRelationships object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetMarket + +`func (o *StoreUpdateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket` + +GetMarket returns the Market field if non-nil, zero value otherwise. + +### GetMarketOk + +`func (o *StoreUpdateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool)` + +GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMarket + +`func (o *StoreUpdateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket)` + +SetMarket sets Market field to given value. + +### HasMarket + +`func (o *StoreUpdateDataRelationships) HasMarket() bool` + +HasMarket returns a boolean if a field has been set. + +### GetMerchant + +`func (o *StoreUpdateDataRelationships) GetMerchant() MarketCreateDataRelationshipsMerchant` + +GetMerchant returns the Merchant field if non-nil, zero value otherwise. + +### GetMerchantOk + +`func (o *StoreUpdateDataRelationships) GetMerchantOk() (*MarketCreateDataRelationshipsMerchant, bool)` + +GetMerchantOk returns a tuple with the Merchant field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMerchant + +`func (o *StoreUpdateDataRelationships) SetMerchant(v MarketCreateDataRelationshipsMerchant)` + +SetMerchant sets Merchant field to given value. + +### HasMerchant + +`func (o *StoreUpdateDataRelationships) HasMerchant() bool` + +HasMerchant returns a boolean if a field has been set. + +### GetStockLocation + +`func (o *StoreUpdateDataRelationships) GetStockLocation() DeliveryLeadTimeCreateDataRelationshipsStockLocation` + +GetStockLocation returns the StockLocation field if non-nil, zero value otherwise. + +### GetStockLocationOk + +`func (o *StoreUpdateDataRelationships) GetStockLocationOk() (*DeliveryLeadTimeCreateDataRelationshipsStockLocation, bool)` + +GetStockLocationOk returns a tuple with the StockLocation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStockLocation + +`func (o *StoreUpdateDataRelationships) SetStockLocation(v DeliveryLeadTimeCreateDataRelationshipsStockLocation)` + +SetStockLocation sets StockLocation field to given value. + +### HasStockLocation + +`func (o *StoreUpdateDataRelationships) HasStockLocation() bool` + +HasStockLocation returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api/docs/StoresApi.md b/api/docs/StoresApi.md new file mode 100644 index 000000000..dcb658092 --- /dev/null +++ b/api/docs/StoresApi.md @@ -0,0 +1,626 @@ +# \StoresApi + +All URIs are relative to *https://.commercelayer.io/api* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**DELETEStoresStoreId**](StoresApi.md#DELETEStoresStoreId) | **Delete** /stores/{storeId} | Delete a store +[**GETMarketIdStores**](StoresApi.md#GETMarketIdStores) | **Get** /markets/{marketId}/stores | Retrieve the stores associated to the market +[**GETOrderIdStore**](StoresApi.md#GETOrderIdStore) | **Get** /orders/{orderId}/store | Retrieve the store associated to the order +[**GETPaymentMethodIdStore**](StoresApi.md#GETPaymentMethodIdStore) | **Get** /payment_methods/{paymentMethodId}/store | Retrieve the store associated to the payment method +[**GETStockLocationIdStores**](StoresApi.md#GETStockLocationIdStores) | **Get** /stock_locations/{stockLocationId}/stores | Retrieve the stores associated to the stock location +[**GETStores**](StoresApi.md#GETStores) | **Get** /stores | List all stores +[**GETStoresStoreId**](StoresApi.md#GETStoresStoreId) | **Get** /stores/{storeId} | Retrieve a store +[**PATCHStoresStoreId**](StoresApi.md#PATCHStoresStoreId) | **Patch** /stores/{storeId} | Update a store +[**POSTStores**](StoresApi.md#POSTStores) | **Post** /stores | Create a store + + + +## DELETEStoresStoreId + +> DELETEStoresStoreId(ctx, storeId).Execute() + +Delete a store + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + storeId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.StoresApi.DELETEStoresStoreId(context.Background(), storeId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `StoresApi.DELETEStoresStoreId``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**storeId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDELETEStoresStoreIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GETMarketIdStores + +> GETMarketIdStores(ctx, marketId).Execute() + +Retrieve the stores associated to the market + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + marketId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.StoresApi.GETMarketIdStores(context.Background(), marketId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `StoresApi.GETMarketIdStores``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**marketId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETMarketIdStoresRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GETOrderIdStore + +> GETOrderIdStore(ctx, orderId).Execute() + +Retrieve the store associated to the order + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + orderId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.StoresApi.GETOrderIdStore(context.Background(), orderId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `StoresApi.GETOrderIdStore``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**orderId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETOrderIdStoreRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GETPaymentMethodIdStore + +> GETPaymentMethodIdStore(ctx, paymentMethodId).Execute() + +Retrieve the store associated to the payment method + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + paymentMethodId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.StoresApi.GETPaymentMethodIdStore(context.Background(), paymentMethodId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `StoresApi.GETPaymentMethodIdStore``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**paymentMethodId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETPaymentMethodIdStoreRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GETStockLocationIdStores + +> GETStockLocationIdStores(ctx, stockLocationId).Execute() + +Retrieve the stores associated to the stock location + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + stockLocationId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.StoresApi.GETStockLocationIdStores(context.Background(), stockLocationId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `StoresApi.GETStockLocationIdStores``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**stockLocationId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETStockLocationIdStoresRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GETStores + +> GETStores200Response GETStores(ctx).Execute() + +List all stores + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.StoresApi.GETStores(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `StoresApi.GETStores``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GETStores`: GETStores200Response + fmt.Fprintf(os.Stdout, "Response from `StoresApi.GETStores`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETStoresRequest struct via the builder pattern + + +### Return type + +[**GETStores200Response**](GETStores200Response.md) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/vnd.api+json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GETStoresStoreId + +> GETStoresStoreId200Response GETStoresStoreId(ctx, storeId).Execute() + +Retrieve a store + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + storeId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.StoresApi.GETStoresStoreId(context.Background(), storeId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `StoresApi.GETStoresStoreId``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GETStoresStoreId`: GETStoresStoreId200Response + fmt.Fprintf(os.Stdout, "Response from `StoresApi.GETStoresStoreId`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**storeId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETStoresStoreIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**GETStoresStoreId200Response**](GETStoresStoreId200Response.md) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/vnd.api+json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## PATCHStoresStoreId + +> PATCHStoresStoreId200Response PATCHStoresStoreId(ctx, storeId).StoreUpdate(storeUpdate).Execute() + +Update a store + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + storeUpdate := *openapiclient.NewStoreUpdate(*openapiclient.NewStoreUpdateData(interface{}(123), interface{}(XGZwpOSrWL), *openapiclient.NewPATCHStoresStoreId200ResponseDataAttributes())) // StoreUpdate | + storeId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.StoresApi.PATCHStoresStoreId(context.Background(), storeId).StoreUpdate(storeUpdate).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `StoresApi.PATCHStoresStoreId``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `PATCHStoresStoreId`: PATCHStoresStoreId200Response + fmt.Fprintf(os.Stdout, "Response from `StoresApi.PATCHStoresStoreId`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**storeId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiPATCHStoresStoreIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **storeUpdate** | [**StoreUpdate**](StoreUpdate.md) | | + + +### Return type + +[**PATCHStoresStoreId200Response**](PATCHStoresStoreId200Response.md) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: application/vnd.api+json +- **Accept**: application/vnd.api+json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## POSTStores + +> POSTStores201Response POSTStores(ctx).StoreCreate(storeCreate).Execute() + +Create a store + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + storeCreate := *openapiclient.NewStoreCreate(*openapiclient.NewStoreCreateData(interface{}(123), *openapiclient.NewPOSTStores201ResponseDataAttributes(interface{}(Rome Shop)))) // StoreCreate | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.StoresApi.POSTStores(context.Background()).StoreCreate(storeCreate).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `StoresApi.POSTStores``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `POSTStores`: POSTStores201Response + fmt.Fprintf(os.Stdout, "Response from `StoresApi.POSTStores`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiPOSTStoresRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **storeCreate** | [**StoreCreate**](StoreCreate.md) | | + +### Return type + +[**POSTStores201Response**](POSTStores201Response.md) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: application/vnd.api+json +- **Accept**: application/vnd.api+json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/api/docs/StripeGatewaysApi.md b/api/docs/StripeGatewaysApi.md index 52420ef9f..2a42dc383 100644 --- a/api/docs/StripeGatewaysApi.md +++ b/api/docs/StripeGatewaysApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/StripePaymentsApi.md b/api/docs/StripePaymentsApi.md index f96bd77fc..145bc0ec9 100644 --- a/api/docs/StripePaymentsApi.md +++ b/api/docs/StripePaymentsApi.md @@ -30,7 +30,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -98,7 +98,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -166,7 +166,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -227,7 +227,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -297,7 +297,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -369,7 +369,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/SubscriptionModelsApi.md b/api/docs/SubscriptionModelsApi.md index b35224f18..761f4e2f3 100644 --- a/api/docs/SubscriptionModelsApi.md +++ b/api/docs/SubscriptionModelsApi.md @@ -31,7 +31,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -99,7 +99,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -167,7 +167,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -235,7 +235,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -296,7 +296,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -366,7 +366,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -438,7 +438,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/TagsApi.md b/api/docs/TagsApi.md index 97d22d125..81096c6f2 100644 --- a/api/docs/TagsApi.md +++ b/api/docs/TagsApi.md @@ -51,7 +51,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -119,7 +119,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -187,7 +187,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -255,7 +255,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -323,7 +323,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -391,7 +391,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -459,7 +459,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -527,7 +527,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -595,7 +595,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -663,7 +663,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -731,7 +731,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -799,7 +799,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -867,7 +867,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -935,7 +935,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1003,7 +1003,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1071,7 +1071,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1139,7 +1139,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1207,7 +1207,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1275,7 +1275,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1343,7 +1343,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1411,7 +1411,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1479,7 +1479,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1547,7 +1547,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1615,7 +1615,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1676,7 +1676,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1746,7 +1746,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1818,7 +1818,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/TaxCalculatorsApi.md b/api/docs/TaxCalculatorsApi.md index b5082c8f4..e4927dbc3 100644 --- a/api/docs/TaxCalculatorsApi.md +++ b/api/docs/TaxCalculatorsApi.md @@ -27,7 +27,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -95,7 +95,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -156,7 +156,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/TaxCategoriesApi.md b/api/docs/TaxCategoriesApi.md index 35f11d501..f363f342a 100644 --- a/api/docs/TaxCategoriesApi.md +++ b/api/docs/TaxCategoriesApi.md @@ -31,7 +31,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -99,7 +99,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -167,7 +167,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -298,7 +298,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -366,7 +366,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -438,7 +438,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/TaxRulesApi.md b/api/docs/TaxRulesApi.md index d85a87eb3..4f91a6d8a 100644 --- a/api/docs/TaxRulesApi.md +++ b/api/docs/TaxRulesApi.md @@ -30,7 +30,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -98,7 +98,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -166,7 +166,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -227,7 +227,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -297,7 +297,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -369,7 +369,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/TaxjarAccountsApi.md b/api/docs/TaxjarAccountsApi.md index aa5a9c8e6..f62ecafd1 100644 --- a/api/docs/TaxjarAccountsApi.md +++ b/api/docs/TaxjarAccountsApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,7 +228,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/TransactionDataRelationships.md b/api/docs/TransactionDataRelationships.md index e1ae26111..64a5f3963 100644 --- a/api/docs/TransactionDataRelationships.md +++ b/api/docs/TransactionDataRelationships.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Order** | Pointer to [**AdyenPaymentDataRelationshipsOrder**](AdyenPaymentDataRelationshipsOrder.md) | | [optional] +**PaymentSource** | Pointer to [**AuthorizationDataRelationshipsPaymentSource**](AuthorizationDataRelationshipsPaymentSource.md) | | [optional] **Attachments** | Pointer to [**AuthorizationDataRelationshipsAttachments**](AuthorizationDataRelationshipsAttachments.md) | | [optional] **Events** | Pointer to [**AddressDataRelationshipsEvents**](AddressDataRelationshipsEvents.md) | | [optional] **Versions** | Pointer to [**AddressDataRelationshipsVersions**](AddressDataRelationshipsVersions.md) | | [optional] @@ -53,6 +54,31 @@ SetOrder sets Order field to given value. HasOrder returns a boolean if a field has been set. +### GetPaymentSource + +`func (o *TransactionDataRelationships) GetPaymentSource() AuthorizationDataRelationshipsPaymentSource` + +GetPaymentSource returns the PaymentSource field if non-nil, zero value otherwise. + +### GetPaymentSourceOk + +`func (o *TransactionDataRelationships) GetPaymentSourceOk() (*AuthorizationDataRelationshipsPaymentSource, bool)` + +GetPaymentSourceOk returns a tuple with the PaymentSource field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPaymentSource + +`func (o *TransactionDataRelationships) SetPaymentSource(v AuthorizationDataRelationshipsPaymentSource)` + +SetPaymentSource sets PaymentSource field to given value. + +### HasPaymentSource + +`func (o *TransactionDataRelationships) HasPaymentSource() bool` + +HasPaymentSource returns a boolean if a field has been set. + ### GetAttachments `func (o *TransactionDataRelationships) GetAttachments() AuthorizationDataRelationshipsAttachments` diff --git a/api/docs/TransactionsApi.md b/api/docs/TransactionsApi.md index fb7a72780..05af08600 100644 --- a/api/docs/TransactionsApi.md +++ b/api/docs/TransactionsApi.md @@ -26,7 +26,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -87,7 +87,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/VersionsApi.md b/api/docs/VersionsApi.md index eb5db4951..ad2c8c604 100644 --- a/api/docs/VersionsApi.md +++ b/api/docs/VersionsApi.md @@ -12,7 +12,6 @@ Method | HTTP request | Description [**GETAvalaraAccountIdVersions**](VersionsApi.md#GETAvalaraAccountIdVersions) | **Get** /avalara_accounts/{avalaraAccountId}/versions | Retrieve the versions associated to the avalara account [**GETAxerveGatewayIdVersions**](VersionsApi.md#GETAxerveGatewayIdVersions) | **Get** /axerve_gateways/{axerveGatewayId}/versions | Retrieve the versions associated to the axerve gateway [**GETAxervePaymentIdVersions**](VersionsApi.md#GETAxervePaymentIdVersions) | **Get** /axerve_payments/{axervePaymentId}/versions | Retrieve the versions associated to the axerve payment -[**GETBillingInfoValidationRuleIdVersions**](VersionsApi.md#GETBillingInfoValidationRuleIdVersions) | **Get** /billing_info_validation_rules/{billingInfoValidationRuleId}/versions | Retrieve the versions associated to the billing info validation rule [**GETBraintreeGatewayIdVersions**](VersionsApi.md#GETBraintreeGatewayIdVersions) | **Get** /braintree_gateways/{braintreeGatewayId}/versions | Retrieve the versions associated to the braintree gateway [**GETBraintreePaymentIdVersions**](VersionsApi.md#GETBraintreePaymentIdVersions) | **Get** /braintree_payments/{braintreePaymentId}/versions | Retrieve the versions associated to the braintree payment [**GETBundleIdVersions**](VersionsApi.md#GETBundleIdVersions) | **Get** /bundles/{bundleId}/versions | Retrieve the versions associated to the bundle @@ -91,6 +90,7 @@ Method | HTTP request | Description [**GETStockLineItemIdVersions**](VersionsApi.md#GETStockLineItemIdVersions) | **Get** /stock_line_items/{stockLineItemId}/versions | Retrieve the versions associated to the stock line item [**GETStockLocationIdVersions**](VersionsApi.md#GETStockLocationIdVersions) | **Get** /stock_locations/{stockLocationId}/versions | Retrieve the versions associated to the stock location [**GETStockTransferIdVersions**](VersionsApi.md#GETStockTransferIdVersions) | **Get** /stock_transfers/{stockTransferId}/versions | Retrieve the versions associated to the stock transfer +[**GETStoreIdVersions**](VersionsApi.md#GETStoreIdVersions) | **Get** /stores/{storeId}/versions | Retrieve the versions associated to the store [**GETStripeGatewayIdVersions**](VersionsApi.md#GETStripeGatewayIdVersions) | **Get** /stripe_gateways/{stripeGatewayId}/versions | Retrieve the versions associated to the stripe gateway [**GETStripePaymentIdVersions**](VersionsApi.md#GETStripePaymentIdVersions) | **Get** /stripe_payments/{stripePaymentId}/versions | Retrieve the versions associated to the stripe payment [**GETTaxCalculatorIdVersions**](VersionsApi.md#GETTaxCalculatorIdVersions) | **Get** /tax_calculators/{taxCalculatorId}/versions | Retrieve the versions associated to the tax calculator @@ -123,7 +123,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -191,7 +191,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -259,7 +259,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -327,7 +327,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -395,7 +395,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -463,7 +463,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -531,7 +531,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -599,7 +599,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -650,74 +650,6 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## GETBillingInfoValidationRuleIdVersions - -> GETBillingInfoValidationRuleIdVersions(ctx, billingInfoValidationRuleId).Execute() - -Retrieve the versions associated to the billing info validation rule - - - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" -) - -func main() { - billingInfoValidationRuleId := TODO // interface{} | The resource's id - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - r, err := apiClient.VersionsApi.GETBillingInfoValidationRuleIdVersions(context.Background(), billingInfoValidationRuleId).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `VersionsApi.GETBillingInfoValidationRuleIdVersions``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } -} -``` - -### Path Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**billingInfoValidationRuleId** | [**interface{}**](.md) | The resource's id | - -### Other Parameters - -Other parameters are passed through a pointer to a apiGETBillingInfoValidationRuleIdVersionsRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - -### Return type - - (empty response body) - -### Authorization - -[bearerAuth](../README.md#bearerAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - ## GETBraintreeGatewayIdVersions > GETBraintreeGatewayIdVersions(ctx, braintreeGatewayId).Execute() @@ -735,7 +667,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -803,7 +735,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -871,7 +803,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -939,7 +871,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1007,7 +939,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1075,7 +1007,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1143,7 +1075,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1211,7 +1143,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1279,7 +1211,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1347,7 +1279,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1415,7 +1347,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1483,7 +1415,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1551,7 +1483,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1619,7 +1551,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1687,7 +1619,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1755,7 +1687,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1823,7 +1755,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1891,7 +1823,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -1959,7 +1891,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2027,7 +1959,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2095,7 +2027,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2163,7 +2095,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2231,7 +2163,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2299,7 +2231,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2367,7 +2299,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2435,7 +2367,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2503,7 +2435,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2571,7 +2503,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2639,7 +2571,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2707,7 +2639,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2775,7 +2707,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2843,7 +2775,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2911,7 +2843,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -2979,7 +2911,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3047,7 +2979,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3115,7 +3047,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3183,7 +3115,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3251,7 +3183,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3319,7 +3251,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3387,7 +3319,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3455,7 +3387,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3523,7 +3455,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3591,7 +3523,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3659,7 +3591,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3727,7 +3659,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3795,7 +3727,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3863,7 +3795,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3931,7 +3863,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -3999,7 +3931,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4067,7 +3999,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4135,7 +4067,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4203,7 +4135,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4271,7 +4203,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4339,7 +4271,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4407,7 +4339,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4475,7 +4407,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4543,7 +4475,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4611,7 +4543,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4679,7 +4611,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4747,7 +4679,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4815,7 +4747,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4883,7 +4815,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -4951,7 +4883,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5019,7 +4951,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5087,7 +5019,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5155,7 +5087,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5223,7 +5155,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5291,7 +5223,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5359,7 +5291,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5427,7 +5359,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5495,7 +5427,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5563,7 +5495,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5631,7 +5563,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5699,7 +5631,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5767,7 +5699,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5835,7 +5767,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5903,7 +5835,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -5971,7 +5903,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6022,6 +5954,74 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## GETStoreIdVersions + +> GETStoreIdVersions(ctx, storeId).Execute() + +Retrieve the versions associated to the store + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/labd/go-commercelayer-sdk/api" +) + +func main() { + storeId := TODO // interface{} | The resource's id + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.VersionsApi.GETStoreIdVersions(context.Background(), storeId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `VersionsApi.GETStoreIdVersions``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**storeId** | [**interface{}**](.md) | The resource's id | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGETStoreIdVersionsRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[bearerAuth](../README.md#bearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## GETStripeGatewayIdVersions > GETStripeGatewayIdVersions(ctx, stripeGatewayId).Execute() @@ -6039,7 +6039,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6107,7 +6107,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6175,7 +6175,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6243,7 +6243,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6311,7 +6311,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6379,7 +6379,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6447,7 +6447,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6515,7 +6515,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6576,7 +6576,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6646,7 +6646,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6714,7 +6714,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -6782,7 +6782,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/VoidDataRelationships.md b/api/docs/VoidDataRelationships.md index 5da944b47..25a4a391a 100644 --- a/api/docs/VoidDataRelationships.md +++ b/api/docs/VoidDataRelationships.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Order** | Pointer to [**AdyenPaymentDataRelationshipsOrder**](AdyenPaymentDataRelationshipsOrder.md) | | [optional] +**PaymentSource** | Pointer to [**AuthorizationDataRelationshipsPaymentSource**](AuthorizationDataRelationshipsPaymentSource.md) | | [optional] **Attachments** | Pointer to [**AuthorizationDataRelationshipsAttachments**](AuthorizationDataRelationshipsAttachments.md) | | [optional] **Events** | Pointer to [**AddressDataRelationshipsEvents**](AddressDataRelationshipsEvents.md) | | [optional] **Versions** | Pointer to [**AddressDataRelationshipsVersions**](AddressDataRelationshipsVersions.md) | | [optional] @@ -54,6 +55,31 @@ SetOrder sets Order field to given value. HasOrder returns a boolean if a field has been set. +### GetPaymentSource + +`func (o *VoidDataRelationships) GetPaymentSource() AuthorizationDataRelationshipsPaymentSource` + +GetPaymentSource returns the PaymentSource field if non-nil, zero value otherwise. + +### GetPaymentSourceOk + +`func (o *VoidDataRelationships) GetPaymentSourceOk() (*AuthorizationDataRelationshipsPaymentSource, bool)` + +GetPaymentSourceOk returns a tuple with the PaymentSource field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPaymentSource + +`func (o *VoidDataRelationships) SetPaymentSource(v AuthorizationDataRelationshipsPaymentSource)` + +SetPaymentSource sets PaymentSource field to given value. + +### HasPaymentSource + +`func (o *VoidDataRelationships) HasPaymentSource() bool` + +HasPaymentSource returns a boolean if a field has been set. + ### GetAttachments `func (o *VoidDataRelationships) GetAttachments() AuthorizationDataRelationshipsAttachments` diff --git a/api/docs/VoidsApi.md b/api/docs/VoidsApi.md index e547d80aa..8c3f5f221 100644 --- a/api/docs/VoidsApi.md +++ b/api/docs/VoidsApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -165,7 +165,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -226,7 +226,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -296,7 +296,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/WebhooksApi.md b/api/docs/WebhooksApi.md index e0b150808..32e75ea40 100644 --- a/api/docs/WebhooksApi.md +++ b/api/docs/WebhooksApi.md @@ -31,7 +31,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -99,7 +99,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -167,7 +167,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -235,7 +235,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -296,7 +296,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -366,7 +366,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -438,7 +438,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/docs/WireTransferUpdateData.md b/api/docs/WireTransferUpdateData.md index a8f2ff5b8..40ec2f928 100644 --- a/api/docs/WireTransferUpdateData.md +++ b/api/docs/WireTransferUpdateData.md @@ -6,14 +6,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Type** | **interface{}** | The resource's type | **Id** | **interface{}** | The resource's id | -**Attributes** | [**PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes**](PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes.md) | | +**Attributes** | [**PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes**](PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes.md) | | **Relationships** | Pointer to [**AdyenPaymentUpdateDataRelationships**](AdyenPaymentUpdateDataRelationships.md) | | [optional] ## Methods ### NewWireTransferUpdateData -`func NewWireTransferUpdateData(type_ interface{}, id interface{}, attributes PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, ) *WireTransferUpdateData` +`func NewWireTransferUpdateData(type_ interface{}, id interface{}, attributes PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes, ) *WireTransferUpdateData` NewWireTransferUpdateData instantiates a new WireTransferUpdateData object This constructor will assign default values to properties that have it defined, @@ -90,20 +90,20 @@ SetId sets Id field to given value. UnsetId ensures that no value is present for Id, not even an explicit nil ### GetAttributes -`func (o *WireTransferUpdateData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes` +`func (o *WireTransferUpdateData) GetAttributes() PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes` GetAttributes returns the Attributes field if non-nil, zero value otherwise. ### GetAttributesOk -`func (o *WireTransferUpdateData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool)` +`func (o *WireTransferUpdateData) GetAttributesOk() (*PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes, bool)` GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAttributes -`func (o *WireTransferUpdateData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes)` +`func (o *WireTransferUpdateData) SetAttributes(v PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes)` SetAttributes sets Attributes field to given value. diff --git a/api/docs/WireTransfersApi.md b/api/docs/WireTransfersApi.md index 4c6072fcb..7e6129327 100644 --- a/api/docs/WireTransfersApi.md +++ b/api/docs/WireTransfersApi.md @@ -29,7 +29,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -97,7 +97,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -158,7 +158,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { @@ -228,11 +228,11 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { - wireTransferUpdate := *openapiclient.NewWireTransferUpdate(*openapiclient.NewWireTransferUpdateData(interface{}(123), interface{}(XGZwpOSrWL), *openapiclient.NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes())) // WireTransferUpdate | + wireTransferUpdate := *openapiclient.NewWireTransferUpdate(*openapiclient.NewWireTransferUpdateData(interface{}(123), interface{}(XGZwpOSrWL), *openapiclient.NewPATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes())) // WireTransferUpdate | wireTransferId := TODO // interface{} | The resource's id configuration := openapiclient.NewConfiguration() @@ -300,7 +300,7 @@ import ( "context" "fmt" "os" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" + openapiclient "github.com/labd/go-commercelayer-sdk/api" ) func main() { diff --git a/api/model_address.go b/api/model_address.go index 4581c6ef6..d7a73212f 100644 --- a/api/model_address.go +++ b/api/model_address.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_address_create.go b/api/model_address_create.go index 2f9e82ebb..a625cee16 100644 --- a/api/model_address_create.go +++ b/api/model_address_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_address_create_data.go b/api/model_address_create_data.go index 9afa87e51..37c89c781 100644 --- a/api/model_address_create_data.go +++ b/api/model_address_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_address_create_data_relationships.go b/api/model_address_create_data_relationships.go index f3339abf1..6732265d4 100644 --- a/api/model_address_create_data_relationships.go +++ b/api/model_address_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_address_create_data_relationships_geocoder.go b/api/model_address_create_data_relationships_geocoder.go index e7b3dbd3e..9cff202c2 100644 --- a/api/model_address_create_data_relationships_geocoder.go +++ b/api/model_address_create_data_relationships_geocoder.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_address_create_data_relationships_tags.go b/api/model_address_create_data_relationships_tags.go index 6ec5ffb7c..a1f07342c 100644 --- a/api/model_address_create_data_relationships_tags.go +++ b/api/model_address_create_data_relationships_tags.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_address_data.go b/api/model_address_data.go index 368ab6c1f..dc24bd378 100644 --- a/api/model_address_data.go +++ b/api/model_address_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_address_data_relationships.go b/api/model_address_data_relationships.go index fafe5eb4e..1c0850301 100644 --- a/api/model_address_data_relationships.go +++ b/api/model_address_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_address_data_relationships_events.go b/api/model_address_data_relationships_events.go index d8abc91e7..e3e5207ee 100644 --- a/api/model_address_data_relationships_events.go +++ b/api/model_address_data_relationships_events.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_address_data_relationships_events_data.go b/api/model_address_data_relationships_events_data.go index e79feb941..9b0bbeb6c 100644 --- a/api/model_address_data_relationships_events_data.go +++ b/api/model_address_data_relationships_events_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_address_data_relationships_geocoder.go b/api/model_address_data_relationships_geocoder.go index 9b8551930..3403186b0 100644 --- a/api/model_address_data_relationships_geocoder.go +++ b/api/model_address_data_relationships_geocoder.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_address_data_relationships_geocoder_data.go b/api/model_address_data_relationships_geocoder_data.go index e05dd302e..d62e39c1c 100644 --- a/api/model_address_data_relationships_geocoder_data.go +++ b/api/model_address_data_relationships_geocoder_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_address_data_relationships_tags.go b/api/model_address_data_relationships_tags.go index 4db83c1b1..abeb03256 100644 --- a/api/model_address_data_relationships_tags.go +++ b/api/model_address_data_relationships_tags.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_address_data_relationships_tags_data.go b/api/model_address_data_relationships_tags_data.go index cc93fc786..9ee348545 100644 --- a/api/model_address_data_relationships_tags_data.go +++ b/api/model_address_data_relationships_tags_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_address_data_relationships_versions.go b/api/model_address_data_relationships_versions.go index 8287d6bbb..f9838b44f 100644 --- a/api/model_address_data_relationships_versions.go +++ b/api/model_address_data_relationships_versions.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_address_data_relationships_versions_data.go b/api/model_address_data_relationships_versions_data.go index 38186b876..7cecb356e 100644 --- a/api/model_address_data_relationships_versions_data.go +++ b/api/model_address_data_relationships_versions_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_address_update.go b/api/model_address_update.go index 91dada301..3f7784dfe 100644 --- a/api/model_address_update.go +++ b/api/model_address_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_address_update_data.go b/api/model_address_update_data.go index 78a7fd650..6743f9343 100644 --- a/api/model_address_update_data.go +++ b/api/model_address_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adjustment.go b/api/model_adjustment.go index 2a5aabd8f..89a05c880 100644 --- a/api/model_adjustment.go +++ b/api/model_adjustment.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adjustment_create.go b/api/model_adjustment_create.go index a003ac536..f46816029 100644 --- a/api/model_adjustment_create.go +++ b/api/model_adjustment_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adjustment_create_data.go b/api/model_adjustment_create_data.go index 95a469ac3..f49a13ab8 100644 --- a/api/model_adjustment_create_data.go +++ b/api/model_adjustment_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adjustment_data.go b/api/model_adjustment_data.go index a4152c2a7..69f02b114 100644 --- a/api/model_adjustment_data.go +++ b/api/model_adjustment_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adjustment_data_relationships.go b/api/model_adjustment_data_relationships.go index 065f4a835..6c19896e5 100644 --- a/api/model_adjustment_data_relationships.go +++ b/api/model_adjustment_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adjustment_update.go b/api/model_adjustment_update.go index 9f05ab212..f186563f2 100644 --- a/api/model_adjustment_update.go +++ b/api/model_adjustment_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adjustment_update_data.go b/api/model_adjustment_update_data.go index 91d4c57ee..ad80a1f47 100644 --- a/api/model_adjustment_update_data.go +++ b/api/model_adjustment_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adyen_gateway.go b/api/model_adyen_gateway.go index 1dc75c5e9..f6045e8fb 100644 --- a/api/model_adyen_gateway.go +++ b/api/model_adyen_gateway.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adyen_gateway_create.go b/api/model_adyen_gateway_create.go index f4f5fec4b..c3330988c 100644 --- a/api/model_adyen_gateway_create.go +++ b/api/model_adyen_gateway_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adyen_gateway_create_data.go b/api/model_adyen_gateway_create_data.go index f66466931..52d8a48af 100644 --- a/api/model_adyen_gateway_create_data.go +++ b/api/model_adyen_gateway_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adyen_gateway_create_data_relationships.go b/api/model_adyen_gateway_create_data_relationships.go index 14b56ef65..6797c4290 100644 --- a/api/model_adyen_gateway_create_data_relationships.go +++ b/api/model_adyen_gateway_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adyen_gateway_create_data_relationships_adyen_payments.go b/api/model_adyen_gateway_create_data_relationships_adyen_payments.go index 38c8995bd..39d9ff278 100644 --- a/api/model_adyen_gateway_create_data_relationships_adyen_payments.go +++ b/api/model_adyen_gateway_create_data_relationships_adyen_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adyen_gateway_data.go b/api/model_adyen_gateway_data.go index 1e06254e9..cc42b1d5a 100644 --- a/api/model_adyen_gateway_data.go +++ b/api/model_adyen_gateway_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adyen_gateway_data_relationships.go b/api/model_adyen_gateway_data_relationships.go index 619e98621..fa05692dc 100644 --- a/api/model_adyen_gateway_data_relationships.go +++ b/api/model_adyen_gateway_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adyen_gateway_data_relationships_adyen_payments.go b/api/model_adyen_gateway_data_relationships_adyen_payments.go index 2cc7c80a7..3d57f5fe4 100644 --- a/api/model_adyen_gateway_data_relationships_adyen_payments.go +++ b/api/model_adyen_gateway_data_relationships_adyen_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adyen_gateway_data_relationships_adyen_payments_data.go b/api/model_adyen_gateway_data_relationships_adyen_payments_data.go index 3615df8f5..e11d495f4 100644 --- a/api/model_adyen_gateway_data_relationships_adyen_payments_data.go +++ b/api/model_adyen_gateway_data_relationships_adyen_payments_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adyen_gateway_data_relationships_payment_methods.go b/api/model_adyen_gateway_data_relationships_payment_methods.go index 832c1cfc3..ec70dde9c 100644 --- a/api/model_adyen_gateway_data_relationships_payment_methods.go +++ b/api/model_adyen_gateway_data_relationships_payment_methods.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adyen_gateway_data_relationships_payment_methods_data.go b/api/model_adyen_gateway_data_relationships_payment_methods_data.go index 9d42ba8fd..195a1b6c5 100644 --- a/api/model_adyen_gateway_data_relationships_payment_methods_data.go +++ b/api/model_adyen_gateway_data_relationships_payment_methods_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adyen_gateway_update.go b/api/model_adyen_gateway_update.go index 9786767c5..c7c3efe0d 100644 --- a/api/model_adyen_gateway_update.go +++ b/api/model_adyen_gateway_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adyen_gateway_update_data.go b/api/model_adyen_gateway_update_data.go index e86b53f85..61a4d35e9 100644 --- a/api/model_adyen_gateway_update_data.go +++ b/api/model_adyen_gateway_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adyen_payment.go b/api/model_adyen_payment.go index 0d88a3a66..582efb110 100644 --- a/api/model_adyen_payment.go +++ b/api/model_adyen_payment.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adyen_payment_create.go b/api/model_adyen_payment_create.go index baba1f47c..a48c9aa00 100644 --- a/api/model_adyen_payment_create.go +++ b/api/model_adyen_payment_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adyen_payment_create_data.go b/api/model_adyen_payment_create_data.go index 3addac2ae..4d95b4089 100644 --- a/api/model_adyen_payment_create_data.go +++ b/api/model_adyen_payment_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adyen_payment_create_data_relationships.go b/api/model_adyen_payment_create_data_relationships.go index 196816c09..4b0d20f73 100644 --- a/api/model_adyen_payment_create_data_relationships.go +++ b/api/model_adyen_payment_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adyen_payment_create_data_relationships_order.go b/api/model_adyen_payment_create_data_relationships_order.go index 00954b3e9..800cba2fe 100644 --- a/api/model_adyen_payment_create_data_relationships_order.go +++ b/api/model_adyen_payment_create_data_relationships_order.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adyen_payment_data.go b/api/model_adyen_payment_data.go index 98b3cd9c4..89058842d 100644 --- a/api/model_adyen_payment_data.go +++ b/api/model_adyen_payment_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adyen_payment_data_relationships.go b/api/model_adyen_payment_data_relationships.go index 1486e2248..a69a9f9ff 100644 --- a/api/model_adyen_payment_data_relationships.go +++ b/api/model_adyen_payment_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adyen_payment_data_relationships_order.go b/api/model_adyen_payment_data_relationships_order.go index eb577b737..be8114fd1 100644 --- a/api/model_adyen_payment_data_relationships_order.go +++ b/api/model_adyen_payment_data_relationships_order.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adyen_payment_data_relationships_order_data.go b/api/model_adyen_payment_data_relationships_order_data.go index ce2fc6996..38e0a9c82 100644 --- a/api/model_adyen_payment_data_relationships_order_data.go +++ b/api/model_adyen_payment_data_relationships_order_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adyen_payment_data_relationships_payment_gateway.go b/api/model_adyen_payment_data_relationships_payment_gateway.go index ca55d71d3..eb67cf878 100644 --- a/api/model_adyen_payment_data_relationships_payment_gateway.go +++ b/api/model_adyen_payment_data_relationships_payment_gateway.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adyen_payment_data_relationships_payment_gateway_data.go b/api/model_adyen_payment_data_relationships_payment_gateway_data.go index bb9f26241..65354ec02 100644 --- a/api/model_adyen_payment_data_relationships_payment_gateway_data.go +++ b/api/model_adyen_payment_data_relationships_payment_gateway_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adyen_payment_update.go b/api/model_adyen_payment_update.go index 0939c603c..feb96a97b 100644 --- a/api/model_adyen_payment_update.go +++ b/api/model_adyen_payment_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adyen_payment_update_data.go b/api/model_adyen_payment_update_data.go index 60dde0365..0a39de88b 100644 --- a/api/model_adyen_payment_update_data.go +++ b/api/model_adyen_payment_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_adyen_payment_update_data_relationships.go b/api/model_adyen_payment_update_data_relationships.go index 126931d21..e9d05dbb5 100644 --- a/api/model_adyen_payment_update_data_relationships.go +++ b/api/model_adyen_payment_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_application.go b/api/model_application.go index 231039eea..34768eaae 100644 --- a/api/model_application.go +++ b/api/model_application.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_application_data.go b/api/model_application_data.go index bb3e5e164..3461c4cb8 100644 --- a/api/model_application_data.go +++ b/api/model_application_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_attachment.go b/api/model_attachment.go index 35790536e..0c80d5e44 100644 --- a/api/model_attachment.go +++ b/api/model_attachment.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_attachment_create.go b/api/model_attachment_create.go index 8504b7f3a..e3ef2d623 100644 --- a/api/model_attachment_create.go +++ b/api/model_attachment_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_attachment_create_data.go b/api/model_attachment_create_data.go index 6bae71961..1cfe05b44 100644 --- a/api/model_attachment_create_data.go +++ b/api/model_attachment_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_attachment_create_data_relationships.go b/api/model_attachment_create_data_relationships.go index a7d8b9c05..ab1f80f5d 100644 --- a/api/model_attachment_create_data_relationships.go +++ b/api/model_attachment_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_attachment_create_data_relationships_attachable.go b/api/model_attachment_create_data_relationships_attachable.go index b60293747..9618ec086 100644 --- a/api/model_attachment_create_data_relationships_attachable.go +++ b/api/model_attachment_create_data_relationships_attachable.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_attachment_data.go b/api/model_attachment_data.go index 026abbd3f..4cb431721 100644 --- a/api/model_attachment_data.go +++ b/api/model_attachment_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_attachment_data_relationships.go b/api/model_attachment_data_relationships.go index 6e203e028..95b68656b 100644 --- a/api/model_attachment_data_relationships.go +++ b/api/model_attachment_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_attachment_data_relationships_attachable.go b/api/model_attachment_data_relationships_attachable.go index 62af65041..0e37e63d5 100644 --- a/api/model_attachment_data_relationships_attachable.go +++ b/api/model_attachment_data_relationships_attachable.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_attachment_data_relationships_attachable_data.go b/api/model_attachment_data_relationships_attachable_data.go index 8cf7ff1d7..3d0e6fb2d 100644 --- a/api/model_attachment_data_relationships_attachable_data.go +++ b/api/model_attachment_data_relationships_attachable_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_attachment_update.go b/api/model_attachment_update.go index c5d7174ef..6e6e3f919 100644 --- a/api/model_attachment_update.go +++ b/api/model_attachment_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_attachment_update_data.go b/api/model_attachment_update_data.go index c16607433..262f55209 100644 --- a/api/model_attachment_update_data.go +++ b/api/model_attachment_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_attachment_update_data_relationships.go b/api/model_attachment_update_data_relationships.go index 90bf39664..139d5724a 100644 --- a/api/model_attachment_update_data_relationships.go +++ b/api/model_attachment_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_authorization.go b/api/model_authorization.go index b134865f0..8f1096db4 100644 --- a/api/model_authorization.go +++ b/api/model_authorization.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_authorization_data.go b/api/model_authorization_data.go index ae04bd3b8..edf01cffc 100644 --- a/api/model_authorization_data.go +++ b/api/model_authorization_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_authorization_data_relationships.go b/api/model_authorization_data_relationships.go index 68354972a..29a40f172 100644 --- a/api/model_authorization_data_relationships.go +++ b/api/model_authorization_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,12 +20,13 @@ var _ MappedNullable = &AuthorizationDataRelationships{} // AuthorizationDataRelationships struct for AuthorizationDataRelationships type AuthorizationDataRelationships struct { - Order *AdyenPaymentDataRelationshipsOrder `json:"order,omitempty"` - Attachments *AuthorizationDataRelationshipsAttachments `json:"attachments,omitempty"` - Events *AddressDataRelationshipsEvents `json:"events,omitempty"` - Versions *AddressDataRelationshipsVersions `json:"versions,omitempty"` - Captures *AuthorizationDataRelationshipsCaptures `json:"captures,omitempty"` - Voids *AuthorizationDataRelationshipsVoids `json:"voids,omitempty"` + Order *AdyenPaymentDataRelationshipsOrder `json:"order,omitempty"` + PaymentSource *AuthorizationDataRelationshipsPaymentSource `json:"payment_source,omitempty"` + Attachments *AuthorizationDataRelationshipsAttachments `json:"attachments,omitempty"` + Events *AddressDataRelationshipsEvents `json:"events,omitempty"` + Versions *AddressDataRelationshipsVersions `json:"versions,omitempty"` + Captures *AuthorizationDataRelationshipsCaptures `json:"captures,omitempty"` + Voids *AuthorizationDataRelationshipsVoids `json:"voids,omitempty"` } // NewAuthorizationDataRelationships instantiates a new AuthorizationDataRelationships object @@ -77,6 +78,38 @@ func (o *AuthorizationDataRelationships) SetOrder(v AdyenPaymentDataRelationship o.Order = &v } +// GetPaymentSource returns the PaymentSource field value if set, zero value otherwise. +func (o *AuthorizationDataRelationships) GetPaymentSource() AuthorizationDataRelationshipsPaymentSource { + if o == nil || IsNil(o.PaymentSource) { + var ret AuthorizationDataRelationshipsPaymentSource + return ret + } + return *o.PaymentSource +} + +// GetPaymentSourceOk returns a tuple with the PaymentSource field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AuthorizationDataRelationships) GetPaymentSourceOk() (*AuthorizationDataRelationshipsPaymentSource, bool) { + if o == nil || IsNil(o.PaymentSource) { + return nil, false + } + return o.PaymentSource, true +} + +// HasPaymentSource returns a boolean if a field has been set. +func (o *AuthorizationDataRelationships) HasPaymentSource() bool { + if o != nil && !IsNil(o.PaymentSource) { + return true + } + + return false +} + +// SetPaymentSource gets a reference to the given AuthorizationDataRelationshipsPaymentSource and assigns it to the PaymentSource field. +func (o *AuthorizationDataRelationships) SetPaymentSource(v AuthorizationDataRelationshipsPaymentSource) { + o.PaymentSource = &v +} + // GetAttachments returns the Attachments field value if set, zero value otherwise. func (o *AuthorizationDataRelationships) GetAttachments() AuthorizationDataRelationshipsAttachments { if o == nil || IsNil(o.Attachments) { @@ -250,6 +283,9 @@ func (o AuthorizationDataRelationships) ToMap() (map[string]interface{}, error) if !IsNil(o.Order) { toSerialize["order"] = o.Order } + if !IsNil(o.PaymentSource) { + toSerialize["payment_source"] = o.PaymentSource + } if !IsNil(o.Attachments) { toSerialize["attachments"] = o.Attachments } diff --git a/api/model_authorization_data_relationships_attachments.go b/api/model_authorization_data_relationships_attachments.go index b9c498f8c..aaff47313 100644 --- a/api/model_authorization_data_relationships_attachments.go +++ b/api/model_authorization_data_relationships_attachments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_authorization_data_relationships_attachments_data.go b/api/model_authorization_data_relationships_attachments_data.go index 2f9113898..4e711663f 100644 --- a/api/model_authorization_data_relationships_attachments_data.go +++ b/api/model_authorization_data_relationships_attachments_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_authorization_data_relationships_captures.go b/api/model_authorization_data_relationships_captures.go index 722dd7f7b..741c5afb6 100644 --- a/api/model_authorization_data_relationships_captures.go +++ b/api/model_authorization_data_relationships_captures.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_authorization_data_relationships_captures_data.go b/api/model_authorization_data_relationships_captures_data.go index c4c788c4f..fc3f52cda 100644 --- a/api/model_authorization_data_relationships_captures_data.go +++ b/api/model_authorization_data_relationships_captures_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_authorization_data_relationships_payment_source.go b/api/model_authorization_data_relationships_payment_source.go new file mode 100644 index 000000000..89d90701e --- /dev/null +++ b/api/model_authorization_data_relationships_payment_source.go @@ -0,0 +1,125 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the AuthorizationDataRelationshipsPaymentSource type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AuthorizationDataRelationshipsPaymentSource{} + +// AuthorizationDataRelationshipsPaymentSource struct for AuthorizationDataRelationshipsPaymentSource +type AuthorizationDataRelationshipsPaymentSource struct { + Data *AuthorizationDataRelationshipsPaymentSourceData `json:"data,omitempty"` +} + +// NewAuthorizationDataRelationshipsPaymentSource instantiates a new AuthorizationDataRelationshipsPaymentSource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAuthorizationDataRelationshipsPaymentSource() *AuthorizationDataRelationshipsPaymentSource { + this := AuthorizationDataRelationshipsPaymentSource{} + return &this +} + +// NewAuthorizationDataRelationshipsPaymentSourceWithDefaults instantiates a new AuthorizationDataRelationshipsPaymentSource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAuthorizationDataRelationshipsPaymentSourceWithDefaults() *AuthorizationDataRelationshipsPaymentSource { + this := AuthorizationDataRelationshipsPaymentSource{} + return &this +} + +// GetData returns the Data field value if set, zero value otherwise. +func (o *AuthorizationDataRelationshipsPaymentSource) GetData() AuthorizationDataRelationshipsPaymentSourceData { + if o == nil || IsNil(o.Data) { + var ret AuthorizationDataRelationshipsPaymentSourceData + return ret + } + return *o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AuthorizationDataRelationshipsPaymentSource) GetDataOk() (*AuthorizationDataRelationshipsPaymentSourceData, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *AuthorizationDataRelationshipsPaymentSource) HasData() bool { + if o != nil && !IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given AuthorizationDataRelationshipsPaymentSourceData and assigns it to the Data field. +func (o *AuthorizationDataRelationshipsPaymentSource) SetData(v AuthorizationDataRelationshipsPaymentSourceData) { + o.Data = &v +} + +func (o AuthorizationDataRelationshipsPaymentSource) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AuthorizationDataRelationshipsPaymentSource) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Data) { + toSerialize["data"] = o.Data + } + return toSerialize, nil +} + +type NullableAuthorizationDataRelationshipsPaymentSource struct { + value *AuthorizationDataRelationshipsPaymentSource + isSet bool +} + +func (v NullableAuthorizationDataRelationshipsPaymentSource) Get() *AuthorizationDataRelationshipsPaymentSource { + return v.value +} + +func (v *NullableAuthorizationDataRelationshipsPaymentSource) Set(val *AuthorizationDataRelationshipsPaymentSource) { + v.value = val + v.isSet = true +} + +func (v NullableAuthorizationDataRelationshipsPaymentSource) IsSet() bool { + return v.isSet +} + +func (v *NullableAuthorizationDataRelationshipsPaymentSource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAuthorizationDataRelationshipsPaymentSource(val *AuthorizationDataRelationshipsPaymentSource) *NullableAuthorizationDataRelationshipsPaymentSource { + return &NullableAuthorizationDataRelationshipsPaymentSource{value: val, isSet: true} +} + +func (v NullableAuthorizationDataRelationshipsPaymentSource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAuthorizationDataRelationshipsPaymentSource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_authorization_data_relationships_payment_source_data.go b/api/model_authorization_data_relationships_payment_source_data.go new file mode 100644 index 000000000..7b5de70dd --- /dev/null +++ b/api/model_authorization_data_relationships_payment_source_data.go @@ -0,0 +1,165 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the AuthorizationDataRelationshipsPaymentSourceData type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AuthorizationDataRelationshipsPaymentSourceData{} + +// AuthorizationDataRelationshipsPaymentSourceData struct for AuthorizationDataRelationshipsPaymentSourceData +type AuthorizationDataRelationshipsPaymentSourceData struct { + // The resource's type + Type interface{} `json:"type,omitempty"` + // The resource's id + Id interface{} `json:"id,omitempty"` +} + +// NewAuthorizationDataRelationshipsPaymentSourceData instantiates a new AuthorizationDataRelationshipsPaymentSourceData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAuthorizationDataRelationshipsPaymentSourceData() *AuthorizationDataRelationshipsPaymentSourceData { + this := AuthorizationDataRelationshipsPaymentSourceData{} + return &this +} + +// NewAuthorizationDataRelationshipsPaymentSourceDataWithDefaults instantiates a new AuthorizationDataRelationshipsPaymentSourceData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAuthorizationDataRelationshipsPaymentSourceDataWithDefaults() *AuthorizationDataRelationshipsPaymentSourceData { + this := AuthorizationDataRelationshipsPaymentSourceData{} + return &this +} + +// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AuthorizationDataRelationshipsPaymentSourceData) GetType() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AuthorizationDataRelationshipsPaymentSourceData) GetTypeOk() (*interface{}, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return &o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *AuthorizationDataRelationshipsPaymentSourceData) HasType() bool { + if o != nil && IsNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given interface{} and assigns it to the Type field. +func (o *AuthorizationDataRelationshipsPaymentSourceData) SetType(v interface{}) { + o.Type = v +} + +// GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AuthorizationDataRelationshipsPaymentSourceData) GetId() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AuthorizationDataRelationshipsPaymentSourceData) GetIdOk() (*interface{}, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return &o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *AuthorizationDataRelationshipsPaymentSourceData) HasId() bool { + if o != nil && IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given interface{} and assigns it to the Id field. +func (o *AuthorizationDataRelationshipsPaymentSourceData) SetId(v interface{}) { + o.Id = v +} + +func (o AuthorizationDataRelationshipsPaymentSourceData) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AuthorizationDataRelationshipsPaymentSourceData) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Type != nil { + toSerialize["type"] = o.Type + } + if o.Id != nil { + toSerialize["id"] = o.Id + } + return toSerialize, nil +} + +type NullableAuthorizationDataRelationshipsPaymentSourceData struct { + value *AuthorizationDataRelationshipsPaymentSourceData + isSet bool +} + +func (v NullableAuthorizationDataRelationshipsPaymentSourceData) Get() *AuthorizationDataRelationshipsPaymentSourceData { + return v.value +} + +func (v *NullableAuthorizationDataRelationshipsPaymentSourceData) Set(val *AuthorizationDataRelationshipsPaymentSourceData) { + v.value = val + v.isSet = true +} + +func (v NullableAuthorizationDataRelationshipsPaymentSourceData) IsSet() bool { + return v.isSet +} + +func (v *NullableAuthorizationDataRelationshipsPaymentSourceData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAuthorizationDataRelationshipsPaymentSourceData(val *AuthorizationDataRelationshipsPaymentSourceData) *NullableAuthorizationDataRelationshipsPaymentSourceData { + return &NullableAuthorizationDataRelationshipsPaymentSourceData{value: val, isSet: true} +} + +func (v NullableAuthorizationDataRelationshipsPaymentSourceData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAuthorizationDataRelationshipsPaymentSourceData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_authorization_data_relationships_voids.go b/api/model_authorization_data_relationships_voids.go index 644a6bb17..2719f6028 100644 --- a/api/model_authorization_data_relationships_voids.go +++ b/api/model_authorization_data_relationships_voids.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_authorization_data_relationships_voids_data.go b/api/model_authorization_data_relationships_voids_data.go index 3cc8c3222..deb5d3788 100644 --- a/api/model_authorization_data_relationships_voids_data.go +++ b/api/model_authorization_data_relationships_voids_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_authorization_update.go b/api/model_authorization_update.go index 598286d42..3ca0e65cf 100644 --- a/api/model_authorization_update.go +++ b/api/model_authorization_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_authorization_update_data.go b/api/model_authorization_update_data.go index 586327eb5..ef34a1f1e 100644 --- a/api/model_authorization_update_data.go +++ b/api/model_authorization_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_avalara_account.go b/api/model_avalara_account.go index 4890297bf..32f87caef 100644 --- a/api/model_avalara_account.go +++ b/api/model_avalara_account.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_avalara_account_create.go b/api/model_avalara_account_create.go index bbe2c330e..211e514d7 100644 --- a/api/model_avalara_account_create.go +++ b/api/model_avalara_account_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_avalara_account_create_data.go b/api/model_avalara_account_create_data.go index faaacf79d..d2d1b04ce 100644 --- a/api/model_avalara_account_create_data.go +++ b/api/model_avalara_account_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_avalara_account_create_data_relationships.go b/api/model_avalara_account_create_data_relationships.go index db4139528..3dc9b6ef1 100644 --- a/api/model_avalara_account_create_data_relationships.go +++ b/api/model_avalara_account_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_avalara_account_create_data_relationships_tax_categories.go b/api/model_avalara_account_create_data_relationships_tax_categories.go index b9ca4555a..1c98937e2 100644 --- a/api/model_avalara_account_create_data_relationships_tax_categories.go +++ b/api/model_avalara_account_create_data_relationships_tax_categories.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_avalara_account_data.go b/api/model_avalara_account_data.go index 297a4f32c..1a739f78a 100644 --- a/api/model_avalara_account_data.go +++ b/api/model_avalara_account_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_avalara_account_data_relationships.go b/api/model_avalara_account_data_relationships.go index a5a0d1e59..42c829859 100644 --- a/api/model_avalara_account_data_relationships.go +++ b/api/model_avalara_account_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_avalara_account_data_relationships_markets.go b/api/model_avalara_account_data_relationships_markets.go index c87bea80f..461974e85 100644 --- a/api/model_avalara_account_data_relationships_markets.go +++ b/api/model_avalara_account_data_relationships_markets.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_avalara_account_data_relationships_markets_data.go b/api/model_avalara_account_data_relationships_markets_data.go index 828725519..b01258e4f 100644 --- a/api/model_avalara_account_data_relationships_markets_data.go +++ b/api/model_avalara_account_data_relationships_markets_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_avalara_account_data_relationships_tax_categories.go b/api/model_avalara_account_data_relationships_tax_categories.go index 4b0cd5da6..538afdbe9 100644 --- a/api/model_avalara_account_data_relationships_tax_categories.go +++ b/api/model_avalara_account_data_relationships_tax_categories.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_avalara_account_data_relationships_tax_categories_data.go b/api/model_avalara_account_data_relationships_tax_categories_data.go index 4844dc12c..64c526af1 100644 --- a/api/model_avalara_account_data_relationships_tax_categories_data.go +++ b/api/model_avalara_account_data_relationships_tax_categories_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_avalara_account_update.go b/api/model_avalara_account_update.go index 94cc00853..81ae0365b 100644 --- a/api/model_avalara_account_update.go +++ b/api/model_avalara_account_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_avalara_account_update_data.go b/api/model_avalara_account_update_data.go index 826ded863..a50847714 100644 --- a/api/model_avalara_account_update_data.go +++ b/api/model_avalara_account_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_axerve_gateway.go b/api/model_axerve_gateway.go index d11fbcd80..91a6e33dd 100644 --- a/api/model_axerve_gateway.go +++ b/api/model_axerve_gateway.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_axerve_gateway_create.go b/api/model_axerve_gateway_create.go index 4724ce5ba..451135c7e 100644 --- a/api/model_axerve_gateway_create.go +++ b/api/model_axerve_gateway_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_axerve_gateway_create_data.go b/api/model_axerve_gateway_create_data.go index 99d989d1d..6da2582c1 100644 --- a/api/model_axerve_gateway_create_data.go +++ b/api/model_axerve_gateway_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_axerve_gateway_create_data_relationships.go b/api/model_axerve_gateway_create_data_relationships.go index 169206eed..14e855b5c 100644 --- a/api/model_axerve_gateway_create_data_relationships.go +++ b/api/model_axerve_gateway_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_axerve_gateway_create_data_relationships_axerve_payments.go b/api/model_axerve_gateway_create_data_relationships_axerve_payments.go index 279d6ee9d..603bbb6cf 100644 --- a/api/model_axerve_gateway_create_data_relationships_axerve_payments.go +++ b/api/model_axerve_gateway_create_data_relationships_axerve_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_axerve_gateway_data.go b/api/model_axerve_gateway_data.go index b8e824d96..138095725 100644 --- a/api/model_axerve_gateway_data.go +++ b/api/model_axerve_gateway_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_axerve_gateway_data_relationships.go b/api/model_axerve_gateway_data_relationships.go index c54d079d2..5d3d03ed3 100644 --- a/api/model_axerve_gateway_data_relationships.go +++ b/api/model_axerve_gateway_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_axerve_gateway_data_relationships_axerve_payments.go b/api/model_axerve_gateway_data_relationships_axerve_payments.go index 19d4de140..d87dadec5 100644 --- a/api/model_axerve_gateway_data_relationships_axerve_payments.go +++ b/api/model_axerve_gateway_data_relationships_axerve_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_axerve_gateway_data_relationships_axerve_payments_data.go b/api/model_axerve_gateway_data_relationships_axerve_payments_data.go index 06e92897d..3dcacc995 100644 --- a/api/model_axerve_gateway_data_relationships_axerve_payments_data.go +++ b/api/model_axerve_gateway_data_relationships_axerve_payments_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_axerve_gateway_update.go b/api/model_axerve_gateway_update.go index 7d63e5a71..94d705938 100644 --- a/api/model_axerve_gateway_update.go +++ b/api/model_axerve_gateway_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_axerve_gateway_update_data.go b/api/model_axerve_gateway_update_data.go index 88871339d..2ee069cb3 100644 --- a/api/model_axerve_gateway_update_data.go +++ b/api/model_axerve_gateway_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_axerve_payment.go b/api/model_axerve_payment.go index 675a716f9..661bfd913 100644 --- a/api/model_axerve_payment.go +++ b/api/model_axerve_payment.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_axerve_payment_create.go b/api/model_axerve_payment_create.go index f4c45770e..43cee3619 100644 --- a/api/model_axerve_payment_create.go +++ b/api/model_axerve_payment_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_axerve_payment_create_data.go b/api/model_axerve_payment_create_data.go index a11b781e3..b2492d890 100644 --- a/api/model_axerve_payment_create_data.go +++ b/api/model_axerve_payment_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_axerve_payment_data.go b/api/model_axerve_payment_data.go index 979a29208..0f49cd393 100644 --- a/api/model_axerve_payment_data.go +++ b/api/model_axerve_payment_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_axerve_payment_update.go b/api/model_axerve_payment_update.go index e4a221180..7f631474f 100644 --- a/api/model_axerve_payment_update.go +++ b/api/model_axerve_payment_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_axerve_payment_update_data.go b/api/model_axerve_payment_update_data.go index bc0cfad06..0144f1795 100644 --- a/api/model_axerve_payment_update_data.go +++ b/api/model_axerve_payment_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_billing_info_validation_rule.go b/api/model_billing_info_validation_rule.go deleted file mode 100644 index ef4a05c63..000000000 --- a/api/model_billing_info_validation_rule.go +++ /dev/null @@ -1,125 +0,0 @@ -/* -Commerce Layer API - -Headless Commerce for Global Brands. - -API version: 7.3.1 -Contact: support@commercelayer.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api - -import ( - "encoding/json" -) - -// checks if the BillingInfoValidationRule type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &BillingInfoValidationRule{} - -// BillingInfoValidationRule struct for BillingInfoValidationRule -type BillingInfoValidationRule struct { - Data *BillingInfoValidationRuleData `json:"data,omitempty"` -} - -// NewBillingInfoValidationRule instantiates a new BillingInfoValidationRule object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewBillingInfoValidationRule() *BillingInfoValidationRule { - this := BillingInfoValidationRule{} - return &this -} - -// NewBillingInfoValidationRuleWithDefaults instantiates a new BillingInfoValidationRule object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewBillingInfoValidationRuleWithDefaults() *BillingInfoValidationRule { - this := BillingInfoValidationRule{} - return &this -} - -// GetData returns the Data field value if set, zero value otherwise. -func (o *BillingInfoValidationRule) GetData() BillingInfoValidationRuleData { - if o == nil || IsNil(o.Data) { - var ret BillingInfoValidationRuleData - return ret - } - return *o.Data -} - -// GetDataOk returns a tuple with the Data field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *BillingInfoValidationRule) GetDataOk() (*BillingInfoValidationRuleData, bool) { - if o == nil || IsNil(o.Data) { - return nil, false - } - return o.Data, true -} - -// HasData returns a boolean if a field has been set. -func (o *BillingInfoValidationRule) HasData() bool { - if o != nil && !IsNil(o.Data) { - return true - } - - return false -} - -// SetData gets a reference to the given BillingInfoValidationRuleData and assigns it to the Data field. -func (o *BillingInfoValidationRule) SetData(v BillingInfoValidationRuleData) { - o.Data = &v -} - -func (o BillingInfoValidationRule) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o BillingInfoValidationRule) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !IsNil(o.Data) { - toSerialize["data"] = o.Data - } - return toSerialize, nil -} - -type NullableBillingInfoValidationRule struct { - value *BillingInfoValidationRule - isSet bool -} - -func (v NullableBillingInfoValidationRule) Get() *BillingInfoValidationRule { - return v.value -} - -func (v *NullableBillingInfoValidationRule) Set(val *BillingInfoValidationRule) { - v.value = val - v.isSet = true -} - -func (v NullableBillingInfoValidationRule) IsSet() bool { - return v.isSet -} - -func (v *NullableBillingInfoValidationRule) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableBillingInfoValidationRule(val *BillingInfoValidationRule) *NullableBillingInfoValidationRule { - return &NullableBillingInfoValidationRule{value: val, isSet: true} -} - -func (v NullableBillingInfoValidationRule) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableBillingInfoValidationRule) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/api/model_billing_info_validation_rule_create.go b/api/model_billing_info_validation_rule_create.go deleted file mode 100644 index 69ce7480f..000000000 --- a/api/model_billing_info_validation_rule_create.go +++ /dev/null @@ -1,116 +0,0 @@ -/* -Commerce Layer API - -Headless Commerce for Global Brands. - -API version: 7.3.1 -Contact: support@commercelayer.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api - -import ( - "encoding/json" -) - -// checks if the BillingInfoValidationRuleCreate type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &BillingInfoValidationRuleCreate{} - -// BillingInfoValidationRuleCreate struct for BillingInfoValidationRuleCreate -type BillingInfoValidationRuleCreate struct { - Data BillingInfoValidationRuleCreateData `json:"data"` -} - -// NewBillingInfoValidationRuleCreate instantiates a new BillingInfoValidationRuleCreate object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewBillingInfoValidationRuleCreate(data BillingInfoValidationRuleCreateData) *BillingInfoValidationRuleCreate { - this := BillingInfoValidationRuleCreate{} - this.Data = data - return &this -} - -// NewBillingInfoValidationRuleCreateWithDefaults instantiates a new BillingInfoValidationRuleCreate object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewBillingInfoValidationRuleCreateWithDefaults() *BillingInfoValidationRuleCreate { - this := BillingInfoValidationRuleCreate{} - return &this -} - -// GetData returns the Data field value -func (o *BillingInfoValidationRuleCreate) GetData() BillingInfoValidationRuleCreateData { - if o == nil { - var ret BillingInfoValidationRuleCreateData - return ret - } - - return o.Data -} - -// GetDataOk returns a tuple with the Data field value -// and a boolean to check if the value has been set. -func (o *BillingInfoValidationRuleCreate) GetDataOk() (*BillingInfoValidationRuleCreateData, bool) { - if o == nil { - return nil, false - } - return &o.Data, true -} - -// SetData sets field value -func (o *BillingInfoValidationRuleCreate) SetData(v BillingInfoValidationRuleCreateData) { - o.Data = v -} - -func (o BillingInfoValidationRuleCreate) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o BillingInfoValidationRuleCreate) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - toSerialize["data"] = o.Data - return toSerialize, nil -} - -type NullableBillingInfoValidationRuleCreate struct { - value *BillingInfoValidationRuleCreate - isSet bool -} - -func (v NullableBillingInfoValidationRuleCreate) Get() *BillingInfoValidationRuleCreate { - return v.value -} - -func (v *NullableBillingInfoValidationRuleCreate) Set(val *BillingInfoValidationRuleCreate) { - v.value = val - v.isSet = true -} - -func (v NullableBillingInfoValidationRuleCreate) IsSet() bool { - return v.isSet -} - -func (v *NullableBillingInfoValidationRuleCreate) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableBillingInfoValidationRuleCreate(val *BillingInfoValidationRuleCreate) *NullableBillingInfoValidationRuleCreate { - return &NullableBillingInfoValidationRuleCreate{value: val, isSet: true} -} - -func (v NullableBillingInfoValidationRuleCreate) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableBillingInfoValidationRuleCreate) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/api/model_billing_info_validation_rule_create_data.go b/api/model_billing_info_validation_rule_create_data.go deleted file mode 100644 index 03be97398..000000000 --- a/api/model_billing_info_validation_rule_create_data.go +++ /dev/null @@ -1,184 +0,0 @@ -/* -Commerce Layer API - -Headless Commerce for Global Brands. - -API version: 7.3.1 -Contact: support@commercelayer.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api - -import ( - "encoding/json" -) - -// checks if the BillingInfoValidationRuleCreateData type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &BillingInfoValidationRuleCreateData{} - -// BillingInfoValidationRuleCreateData struct for BillingInfoValidationRuleCreateData -type BillingInfoValidationRuleCreateData struct { - // The resource's type - Type interface{} `json:"type"` - Attributes POSTAdyenPayments201ResponseDataAttributes `json:"attributes"` - Relationships *BillingInfoValidationRuleCreateDataRelationships `json:"relationships,omitempty"` -} - -// NewBillingInfoValidationRuleCreateData instantiates a new BillingInfoValidationRuleCreateData object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewBillingInfoValidationRuleCreateData(type_ interface{}, attributes POSTAdyenPayments201ResponseDataAttributes) *BillingInfoValidationRuleCreateData { - this := BillingInfoValidationRuleCreateData{} - this.Type = type_ - this.Attributes = attributes - return &this -} - -// NewBillingInfoValidationRuleCreateDataWithDefaults instantiates a new BillingInfoValidationRuleCreateData object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewBillingInfoValidationRuleCreateDataWithDefaults() *BillingInfoValidationRuleCreateData { - this := BillingInfoValidationRuleCreateData{} - return &this -} - -// GetType returns the Type field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *BillingInfoValidationRuleCreateData) GetType() interface{} { - if o == nil { - var ret interface{} - return ret - } - - return o.Type -} - -// GetTypeOk returns a tuple with the Type field value -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *BillingInfoValidationRuleCreateData) GetTypeOk() (*interface{}, bool) { - if o == nil || IsNil(o.Type) { - return nil, false - } - return &o.Type, true -} - -// SetType sets field value -func (o *BillingInfoValidationRuleCreateData) SetType(v interface{}) { - o.Type = v -} - -// GetAttributes returns the Attributes field value -func (o *BillingInfoValidationRuleCreateData) GetAttributes() POSTAdyenPayments201ResponseDataAttributes { - if o == nil { - var ret POSTAdyenPayments201ResponseDataAttributes - return ret - } - - return o.Attributes -} - -// GetAttributesOk returns a tuple with the Attributes field value -// and a boolean to check if the value has been set. -func (o *BillingInfoValidationRuleCreateData) GetAttributesOk() (*POSTAdyenPayments201ResponseDataAttributes, bool) { - if o == nil { - return nil, false - } - return &o.Attributes, true -} - -// SetAttributes sets field value -func (o *BillingInfoValidationRuleCreateData) SetAttributes(v POSTAdyenPayments201ResponseDataAttributes) { - o.Attributes = v -} - -// GetRelationships returns the Relationships field value if set, zero value otherwise. -func (o *BillingInfoValidationRuleCreateData) GetRelationships() BillingInfoValidationRuleCreateDataRelationships { - if o == nil || IsNil(o.Relationships) { - var ret BillingInfoValidationRuleCreateDataRelationships - return ret - } - return *o.Relationships -} - -// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *BillingInfoValidationRuleCreateData) GetRelationshipsOk() (*BillingInfoValidationRuleCreateDataRelationships, bool) { - if o == nil || IsNil(o.Relationships) { - return nil, false - } - return o.Relationships, true -} - -// HasRelationships returns a boolean if a field has been set. -func (o *BillingInfoValidationRuleCreateData) HasRelationships() bool { - if o != nil && !IsNil(o.Relationships) { - return true - } - - return false -} - -// SetRelationships gets a reference to the given BillingInfoValidationRuleCreateDataRelationships and assigns it to the Relationships field. -func (o *BillingInfoValidationRuleCreateData) SetRelationships(v BillingInfoValidationRuleCreateDataRelationships) { - o.Relationships = &v -} - -func (o BillingInfoValidationRuleCreateData) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o BillingInfoValidationRuleCreateData) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if o.Type != nil { - toSerialize["type"] = o.Type - } - toSerialize["attributes"] = o.Attributes - if !IsNil(o.Relationships) { - toSerialize["relationships"] = o.Relationships - } - return toSerialize, nil -} - -type NullableBillingInfoValidationRuleCreateData struct { - value *BillingInfoValidationRuleCreateData - isSet bool -} - -func (v NullableBillingInfoValidationRuleCreateData) Get() *BillingInfoValidationRuleCreateData { - return v.value -} - -func (v *NullableBillingInfoValidationRuleCreateData) Set(val *BillingInfoValidationRuleCreateData) { - v.value = val - v.isSet = true -} - -func (v NullableBillingInfoValidationRuleCreateData) IsSet() bool { - return v.isSet -} - -func (v *NullableBillingInfoValidationRuleCreateData) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableBillingInfoValidationRuleCreateData(val *BillingInfoValidationRuleCreateData) *NullableBillingInfoValidationRuleCreateData { - return &NullableBillingInfoValidationRuleCreateData{value: val, isSet: true} -} - -func (v NullableBillingInfoValidationRuleCreateData) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableBillingInfoValidationRuleCreateData) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/api/model_billing_info_validation_rule_create_data_relationships.go b/api/model_billing_info_validation_rule_create_data_relationships.go deleted file mode 100644 index 5413efd0a..000000000 --- a/api/model_billing_info_validation_rule_create_data_relationships.go +++ /dev/null @@ -1,116 +0,0 @@ -/* -Commerce Layer API - -Headless Commerce for Global Brands. - -API version: 7.3.1 -Contact: support@commercelayer.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api - -import ( - "encoding/json" -) - -// checks if the BillingInfoValidationRuleCreateDataRelationships type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &BillingInfoValidationRuleCreateDataRelationships{} - -// BillingInfoValidationRuleCreateDataRelationships struct for BillingInfoValidationRuleCreateDataRelationships -type BillingInfoValidationRuleCreateDataRelationships struct { - Market BillingInfoValidationRuleCreateDataRelationshipsMarket `json:"market"` -} - -// NewBillingInfoValidationRuleCreateDataRelationships instantiates a new BillingInfoValidationRuleCreateDataRelationships object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewBillingInfoValidationRuleCreateDataRelationships(market BillingInfoValidationRuleCreateDataRelationshipsMarket) *BillingInfoValidationRuleCreateDataRelationships { - this := BillingInfoValidationRuleCreateDataRelationships{} - this.Market = market - return &this -} - -// NewBillingInfoValidationRuleCreateDataRelationshipsWithDefaults instantiates a new BillingInfoValidationRuleCreateDataRelationships object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewBillingInfoValidationRuleCreateDataRelationshipsWithDefaults() *BillingInfoValidationRuleCreateDataRelationships { - this := BillingInfoValidationRuleCreateDataRelationships{} - return &this -} - -// GetMarket returns the Market field value -func (o *BillingInfoValidationRuleCreateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket { - if o == nil { - var ret BillingInfoValidationRuleCreateDataRelationshipsMarket - return ret - } - - return o.Market -} - -// GetMarketOk returns a tuple with the Market field value -// and a boolean to check if the value has been set. -func (o *BillingInfoValidationRuleCreateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool) { - if o == nil { - return nil, false - } - return &o.Market, true -} - -// SetMarket sets field value -func (o *BillingInfoValidationRuleCreateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket) { - o.Market = v -} - -func (o BillingInfoValidationRuleCreateDataRelationships) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o BillingInfoValidationRuleCreateDataRelationships) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - toSerialize["market"] = o.Market - return toSerialize, nil -} - -type NullableBillingInfoValidationRuleCreateDataRelationships struct { - value *BillingInfoValidationRuleCreateDataRelationships - isSet bool -} - -func (v NullableBillingInfoValidationRuleCreateDataRelationships) Get() *BillingInfoValidationRuleCreateDataRelationships { - return v.value -} - -func (v *NullableBillingInfoValidationRuleCreateDataRelationships) Set(val *BillingInfoValidationRuleCreateDataRelationships) { - v.value = val - v.isSet = true -} - -func (v NullableBillingInfoValidationRuleCreateDataRelationships) IsSet() bool { - return v.isSet -} - -func (v *NullableBillingInfoValidationRuleCreateDataRelationships) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableBillingInfoValidationRuleCreateDataRelationships(val *BillingInfoValidationRuleCreateDataRelationships) *NullableBillingInfoValidationRuleCreateDataRelationships { - return &NullableBillingInfoValidationRuleCreateDataRelationships{value: val, isSet: true} -} - -func (v NullableBillingInfoValidationRuleCreateDataRelationships) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableBillingInfoValidationRuleCreateDataRelationships) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/api/model_billing_info_validation_rule_create_data_relationships_market.go b/api/model_billing_info_validation_rule_create_data_relationships_market.go deleted file mode 100644 index 186b53033..000000000 --- a/api/model_billing_info_validation_rule_create_data_relationships_market.go +++ /dev/null @@ -1,116 +0,0 @@ -/* -Commerce Layer API - -Headless Commerce for Global Brands. - -API version: 7.3.1 -Contact: support@commercelayer.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api - -import ( - "encoding/json" -) - -// checks if the BillingInfoValidationRuleCreateDataRelationshipsMarket type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &BillingInfoValidationRuleCreateDataRelationshipsMarket{} - -// BillingInfoValidationRuleCreateDataRelationshipsMarket struct for BillingInfoValidationRuleCreateDataRelationshipsMarket -type BillingInfoValidationRuleCreateDataRelationshipsMarket struct { - Data AvalaraAccountDataRelationshipsMarketsData `json:"data"` -} - -// NewBillingInfoValidationRuleCreateDataRelationshipsMarket instantiates a new BillingInfoValidationRuleCreateDataRelationshipsMarket object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewBillingInfoValidationRuleCreateDataRelationshipsMarket(data AvalaraAccountDataRelationshipsMarketsData) *BillingInfoValidationRuleCreateDataRelationshipsMarket { - this := BillingInfoValidationRuleCreateDataRelationshipsMarket{} - this.Data = data - return &this -} - -// NewBillingInfoValidationRuleCreateDataRelationshipsMarketWithDefaults instantiates a new BillingInfoValidationRuleCreateDataRelationshipsMarket object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewBillingInfoValidationRuleCreateDataRelationshipsMarketWithDefaults() *BillingInfoValidationRuleCreateDataRelationshipsMarket { - this := BillingInfoValidationRuleCreateDataRelationshipsMarket{} - return &this -} - -// GetData returns the Data field value -func (o *BillingInfoValidationRuleCreateDataRelationshipsMarket) GetData() AvalaraAccountDataRelationshipsMarketsData { - if o == nil { - var ret AvalaraAccountDataRelationshipsMarketsData - return ret - } - - return o.Data -} - -// GetDataOk returns a tuple with the Data field value -// and a boolean to check if the value has been set. -func (o *BillingInfoValidationRuleCreateDataRelationshipsMarket) GetDataOk() (*AvalaraAccountDataRelationshipsMarketsData, bool) { - if o == nil { - return nil, false - } - return &o.Data, true -} - -// SetData sets field value -func (o *BillingInfoValidationRuleCreateDataRelationshipsMarket) SetData(v AvalaraAccountDataRelationshipsMarketsData) { - o.Data = v -} - -func (o BillingInfoValidationRuleCreateDataRelationshipsMarket) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o BillingInfoValidationRuleCreateDataRelationshipsMarket) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - toSerialize["data"] = o.Data - return toSerialize, nil -} - -type NullableBillingInfoValidationRuleCreateDataRelationshipsMarket struct { - value *BillingInfoValidationRuleCreateDataRelationshipsMarket - isSet bool -} - -func (v NullableBillingInfoValidationRuleCreateDataRelationshipsMarket) Get() *BillingInfoValidationRuleCreateDataRelationshipsMarket { - return v.value -} - -func (v *NullableBillingInfoValidationRuleCreateDataRelationshipsMarket) Set(val *BillingInfoValidationRuleCreateDataRelationshipsMarket) { - v.value = val - v.isSet = true -} - -func (v NullableBillingInfoValidationRuleCreateDataRelationshipsMarket) IsSet() bool { - return v.isSet -} - -func (v *NullableBillingInfoValidationRuleCreateDataRelationshipsMarket) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableBillingInfoValidationRuleCreateDataRelationshipsMarket(val *BillingInfoValidationRuleCreateDataRelationshipsMarket) *NullableBillingInfoValidationRuleCreateDataRelationshipsMarket { - return &NullableBillingInfoValidationRuleCreateDataRelationshipsMarket{value: val, isSet: true} -} - -func (v NullableBillingInfoValidationRuleCreateDataRelationshipsMarket) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableBillingInfoValidationRuleCreateDataRelationshipsMarket) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/api/model_billing_info_validation_rule_data.go b/api/model_billing_info_validation_rule_data.go deleted file mode 100644 index 9217b8abd..000000000 --- a/api/model_billing_info_validation_rule_data.go +++ /dev/null @@ -1,184 +0,0 @@ -/* -Commerce Layer API - -Headless Commerce for Global Brands. - -API version: 7.3.1 -Contact: support@commercelayer.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api - -import ( - "encoding/json" -) - -// checks if the BillingInfoValidationRuleData type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &BillingInfoValidationRuleData{} - -// BillingInfoValidationRuleData struct for BillingInfoValidationRuleData -type BillingInfoValidationRuleData struct { - // The resource's type - Type interface{} `json:"type"` - Attributes GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes `json:"attributes"` - Relationships *BillingInfoValidationRuleDataRelationships `json:"relationships,omitempty"` -} - -// NewBillingInfoValidationRuleData instantiates a new BillingInfoValidationRuleData object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewBillingInfoValidationRuleData(type_ interface{}, attributes GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) *BillingInfoValidationRuleData { - this := BillingInfoValidationRuleData{} - this.Type = type_ - this.Attributes = attributes - return &this -} - -// NewBillingInfoValidationRuleDataWithDefaults instantiates a new BillingInfoValidationRuleData object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewBillingInfoValidationRuleDataWithDefaults() *BillingInfoValidationRuleData { - this := BillingInfoValidationRuleData{} - return &this -} - -// GetType returns the Type field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *BillingInfoValidationRuleData) GetType() interface{} { - if o == nil { - var ret interface{} - return ret - } - - return o.Type -} - -// GetTypeOk returns a tuple with the Type field value -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *BillingInfoValidationRuleData) GetTypeOk() (*interface{}, bool) { - if o == nil || IsNil(o.Type) { - return nil, false - } - return &o.Type, true -} - -// SetType sets field value -func (o *BillingInfoValidationRuleData) SetType(v interface{}) { - o.Type = v -} - -// GetAttributes returns the Attributes field value -func (o *BillingInfoValidationRuleData) GetAttributes() GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes { - if o == nil { - var ret GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes - return ret - } - - return o.Attributes -} - -// GetAttributesOk returns a tuple with the Attributes field value -// and a boolean to check if the value has been set. -func (o *BillingInfoValidationRuleData) GetAttributesOk() (*GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool) { - if o == nil { - return nil, false - } - return &o.Attributes, true -} - -// SetAttributes sets field value -func (o *BillingInfoValidationRuleData) SetAttributes(v GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) { - o.Attributes = v -} - -// GetRelationships returns the Relationships field value if set, zero value otherwise. -func (o *BillingInfoValidationRuleData) GetRelationships() BillingInfoValidationRuleDataRelationships { - if o == nil || IsNil(o.Relationships) { - var ret BillingInfoValidationRuleDataRelationships - return ret - } - return *o.Relationships -} - -// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *BillingInfoValidationRuleData) GetRelationshipsOk() (*BillingInfoValidationRuleDataRelationships, bool) { - if o == nil || IsNil(o.Relationships) { - return nil, false - } - return o.Relationships, true -} - -// HasRelationships returns a boolean if a field has been set. -func (o *BillingInfoValidationRuleData) HasRelationships() bool { - if o != nil && !IsNil(o.Relationships) { - return true - } - - return false -} - -// SetRelationships gets a reference to the given BillingInfoValidationRuleDataRelationships and assigns it to the Relationships field. -func (o *BillingInfoValidationRuleData) SetRelationships(v BillingInfoValidationRuleDataRelationships) { - o.Relationships = &v -} - -func (o BillingInfoValidationRuleData) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o BillingInfoValidationRuleData) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if o.Type != nil { - toSerialize["type"] = o.Type - } - toSerialize["attributes"] = o.Attributes - if !IsNil(o.Relationships) { - toSerialize["relationships"] = o.Relationships - } - return toSerialize, nil -} - -type NullableBillingInfoValidationRuleData struct { - value *BillingInfoValidationRuleData - isSet bool -} - -func (v NullableBillingInfoValidationRuleData) Get() *BillingInfoValidationRuleData { - return v.value -} - -func (v *NullableBillingInfoValidationRuleData) Set(val *BillingInfoValidationRuleData) { - v.value = val - v.isSet = true -} - -func (v NullableBillingInfoValidationRuleData) IsSet() bool { - return v.isSet -} - -func (v *NullableBillingInfoValidationRuleData) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableBillingInfoValidationRuleData(val *BillingInfoValidationRuleData) *NullableBillingInfoValidationRuleData { - return &NullableBillingInfoValidationRuleData{value: val, isSet: true} -} - -func (v NullableBillingInfoValidationRuleData) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableBillingInfoValidationRuleData) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/api/model_billing_info_validation_rule_update.go b/api/model_billing_info_validation_rule_update.go deleted file mode 100644 index 224dbdba6..000000000 --- a/api/model_billing_info_validation_rule_update.go +++ /dev/null @@ -1,116 +0,0 @@ -/* -Commerce Layer API - -Headless Commerce for Global Brands. - -API version: 7.3.1 -Contact: support@commercelayer.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api - -import ( - "encoding/json" -) - -// checks if the BillingInfoValidationRuleUpdate type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &BillingInfoValidationRuleUpdate{} - -// BillingInfoValidationRuleUpdate struct for BillingInfoValidationRuleUpdate -type BillingInfoValidationRuleUpdate struct { - Data BillingInfoValidationRuleUpdateData `json:"data"` -} - -// NewBillingInfoValidationRuleUpdate instantiates a new BillingInfoValidationRuleUpdate object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewBillingInfoValidationRuleUpdate(data BillingInfoValidationRuleUpdateData) *BillingInfoValidationRuleUpdate { - this := BillingInfoValidationRuleUpdate{} - this.Data = data - return &this -} - -// NewBillingInfoValidationRuleUpdateWithDefaults instantiates a new BillingInfoValidationRuleUpdate object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewBillingInfoValidationRuleUpdateWithDefaults() *BillingInfoValidationRuleUpdate { - this := BillingInfoValidationRuleUpdate{} - return &this -} - -// GetData returns the Data field value -func (o *BillingInfoValidationRuleUpdate) GetData() BillingInfoValidationRuleUpdateData { - if o == nil { - var ret BillingInfoValidationRuleUpdateData - return ret - } - - return o.Data -} - -// GetDataOk returns a tuple with the Data field value -// and a boolean to check if the value has been set. -func (o *BillingInfoValidationRuleUpdate) GetDataOk() (*BillingInfoValidationRuleUpdateData, bool) { - if o == nil { - return nil, false - } - return &o.Data, true -} - -// SetData sets field value -func (o *BillingInfoValidationRuleUpdate) SetData(v BillingInfoValidationRuleUpdateData) { - o.Data = v -} - -func (o BillingInfoValidationRuleUpdate) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o BillingInfoValidationRuleUpdate) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - toSerialize["data"] = o.Data - return toSerialize, nil -} - -type NullableBillingInfoValidationRuleUpdate struct { - value *BillingInfoValidationRuleUpdate - isSet bool -} - -func (v NullableBillingInfoValidationRuleUpdate) Get() *BillingInfoValidationRuleUpdate { - return v.value -} - -func (v *NullableBillingInfoValidationRuleUpdate) Set(val *BillingInfoValidationRuleUpdate) { - v.value = val - v.isSet = true -} - -func (v NullableBillingInfoValidationRuleUpdate) IsSet() bool { - return v.isSet -} - -func (v *NullableBillingInfoValidationRuleUpdate) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableBillingInfoValidationRuleUpdate(val *BillingInfoValidationRuleUpdate) *NullableBillingInfoValidationRuleUpdate { - return &NullableBillingInfoValidationRuleUpdate{value: val, isSet: true} -} - -func (v NullableBillingInfoValidationRuleUpdate) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableBillingInfoValidationRuleUpdate) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/api/model_billing_info_validation_rule_update_data.go b/api/model_billing_info_validation_rule_update_data.go deleted file mode 100644 index 02b7a9388..000000000 --- a/api/model_billing_info_validation_rule_update_data.go +++ /dev/null @@ -1,216 +0,0 @@ -/* -Commerce Layer API - -Headless Commerce for Global Brands. - -API version: 7.3.1 -Contact: support@commercelayer.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api - -import ( - "encoding/json" -) - -// checks if the BillingInfoValidationRuleUpdateData type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &BillingInfoValidationRuleUpdateData{} - -// BillingInfoValidationRuleUpdateData struct for BillingInfoValidationRuleUpdateData -type BillingInfoValidationRuleUpdateData struct { - // The resource's type - Type interface{} `json:"type"` - // The resource's id - Id interface{} `json:"id"` - Attributes PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes `json:"attributes"` - Relationships *BillingInfoValidationRuleUpdateDataRelationships `json:"relationships,omitempty"` -} - -// NewBillingInfoValidationRuleUpdateData instantiates a new BillingInfoValidationRuleUpdateData object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewBillingInfoValidationRuleUpdateData(type_ interface{}, id interface{}, attributes PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) *BillingInfoValidationRuleUpdateData { - this := BillingInfoValidationRuleUpdateData{} - this.Type = type_ - this.Id = id - this.Attributes = attributes - return &this -} - -// NewBillingInfoValidationRuleUpdateDataWithDefaults instantiates a new BillingInfoValidationRuleUpdateData object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewBillingInfoValidationRuleUpdateDataWithDefaults() *BillingInfoValidationRuleUpdateData { - this := BillingInfoValidationRuleUpdateData{} - return &this -} - -// GetType returns the Type field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *BillingInfoValidationRuleUpdateData) GetType() interface{} { - if o == nil { - var ret interface{} - return ret - } - - return o.Type -} - -// GetTypeOk returns a tuple with the Type field value -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *BillingInfoValidationRuleUpdateData) GetTypeOk() (*interface{}, bool) { - if o == nil || IsNil(o.Type) { - return nil, false - } - return &o.Type, true -} - -// SetType sets field value -func (o *BillingInfoValidationRuleUpdateData) SetType(v interface{}) { - o.Type = v -} - -// GetId returns the Id field value -// If the value is explicit nil, the zero value for interface{} will be returned -func (o *BillingInfoValidationRuleUpdateData) GetId() interface{} { - if o == nil { - var ret interface{} - return ret - } - - return o.Id -} - -// GetIdOk returns a tuple with the Id field value -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *BillingInfoValidationRuleUpdateData) GetIdOk() (*interface{}, bool) { - if o == nil || IsNil(o.Id) { - return nil, false - } - return &o.Id, true -} - -// SetId sets field value -func (o *BillingInfoValidationRuleUpdateData) SetId(v interface{}) { - o.Id = v -} - -// GetAttributes returns the Attributes field value -func (o *BillingInfoValidationRuleUpdateData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes { - if o == nil { - var ret PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes - return ret - } - - return o.Attributes -} - -// GetAttributesOk returns a tuple with the Attributes field value -// and a boolean to check if the value has been set. -func (o *BillingInfoValidationRuleUpdateData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool) { - if o == nil { - return nil, false - } - return &o.Attributes, true -} - -// SetAttributes sets field value -func (o *BillingInfoValidationRuleUpdateData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) { - o.Attributes = v -} - -// GetRelationships returns the Relationships field value if set, zero value otherwise. -func (o *BillingInfoValidationRuleUpdateData) GetRelationships() BillingInfoValidationRuleUpdateDataRelationships { - if o == nil || IsNil(o.Relationships) { - var ret BillingInfoValidationRuleUpdateDataRelationships - return ret - } - return *o.Relationships -} - -// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *BillingInfoValidationRuleUpdateData) GetRelationshipsOk() (*BillingInfoValidationRuleUpdateDataRelationships, bool) { - if o == nil || IsNil(o.Relationships) { - return nil, false - } - return o.Relationships, true -} - -// HasRelationships returns a boolean if a field has been set. -func (o *BillingInfoValidationRuleUpdateData) HasRelationships() bool { - if o != nil && !IsNil(o.Relationships) { - return true - } - - return false -} - -// SetRelationships gets a reference to the given BillingInfoValidationRuleUpdateDataRelationships and assigns it to the Relationships field. -func (o *BillingInfoValidationRuleUpdateData) SetRelationships(v BillingInfoValidationRuleUpdateDataRelationships) { - o.Relationships = &v -} - -func (o BillingInfoValidationRuleUpdateData) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o BillingInfoValidationRuleUpdateData) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if o.Type != nil { - toSerialize["type"] = o.Type - } - if o.Id != nil { - toSerialize["id"] = o.Id - } - toSerialize["attributes"] = o.Attributes - if !IsNil(o.Relationships) { - toSerialize["relationships"] = o.Relationships - } - return toSerialize, nil -} - -type NullableBillingInfoValidationRuleUpdateData struct { - value *BillingInfoValidationRuleUpdateData - isSet bool -} - -func (v NullableBillingInfoValidationRuleUpdateData) Get() *BillingInfoValidationRuleUpdateData { - return v.value -} - -func (v *NullableBillingInfoValidationRuleUpdateData) Set(val *BillingInfoValidationRuleUpdateData) { - v.value = val - v.isSet = true -} - -func (v NullableBillingInfoValidationRuleUpdateData) IsSet() bool { - return v.isSet -} - -func (v *NullableBillingInfoValidationRuleUpdateData) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableBillingInfoValidationRuleUpdateData(val *BillingInfoValidationRuleUpdateData) *NullableBillingInfoValidationRuleUpdateData { - return &NullableBillingInfoValidationRuleUpdateData{value: val, isSet: true} -} - -func (v NullableBillingInfoValidationRuleUpdateData) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableBillingInfoValidationRuleUpdateData) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/api/model_billing_info_validation_rule_update_data_relationships.go b/api/model_billing_info_validation_rule_update_data_relationships.go deleted file mode 100644 index 2e277078d..000000000 --- a/api/model_billing_info_validation_rule_update_data_relationships.go +++ /dev/null @@ -1,125 +0,0 @@ -/* -Commerce Layer API - -Headless Commerce for Global Brands. - -API version: 7.3.1 -Contact: support@commercelayer.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api - -import ( - "encoding/json" -) - -// checks if the BillingInfoValidationRuleUpdateDataRelationships type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &BillingInfoValidationRuleUpdateDataRelationships{} - -// BillingInfoValidationRuleUpdateDataRelationships struct for BillingInfoValidationRuleUpdateDataRelationships -type BillingInfoValidationRuleUpdateDataRelationships struct { - Market *BillingInfoValidationRuleCreateDataRelationshipsMarket `json:"market,omitempty"` -} - -// NewBillingInfoValidationRuleUpdateDataRelationships instantiates a new BillingInfoValidationRuleUpdateDataRelationships object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewBillingInfoValidationRuleUpdateDataRelationships() *BillingInfoValidationRuleUpdateDataRelationships { - this := BillingInfoValidationRuleUpdateDataRelationships{} - return &this -} - -// NewBillingInfoValidationRuleUpdateDataRelationshipsWithDefaults instantiates a new BillingInfoValidationRuleUpdateDataRelationships object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewBillingInfoValidationRuleUpdateDataRelationshipsWithDefaults() *BillingInfoValidationRuleUpdateDataRelationships { - this := BillingInfoValidationRuleUpdateDataRelationships{} - return &this -} - -// GetMarket returns the Market field value if set, zero value otherwise. -func (o *BillingInfoValidationRuleUpdateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket { - if o == nil || IsNil(o.Market) { - var ret BillingInfoValidationRuleCreateDataRelationshipsMarket - return ret - } - return *o.Market -} - -// GetMarketOk returns a tuple with the Market field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *BillingInfoValidationRuleUpdateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool) { - if o == nil || IsNil(o.Market) { - return nil, false - } - return o.Market, true -} - -// HasMarket returns a boolean if a field has been set. -func (o *BillingInfoValidationRuleUpdateDataRelationships) HasMarket() bool { - if o != nil && !IsNil(o.Market) { - return true - } - - return false -} - -// SetMarket gets a reference to the given BillingInfoValidationRuleCreateDataRelationshipsMarket and assigns it to the Market field. -func (o *BillingInfoValidationRuleUpdateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket) { - o.Market = &v -} - -func (o BillingInfoValidationRuleUpdateDataRelationships) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o BillingInfoValidationRuleUpdateDataRelationships) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !IsNil(o.Market) { - toSerialize["market"] = o.Market - } - return toSerialize, nil -} - -type NullableBillingInfoValidationRuleUpdateDataRelationships struct { - value *BillingInfoValidationRuleUpdateDataRelationships - isSet bool -} - -func (v NullableBillingInfoValidationRuleUpdateDataRelationships) Get() *BillingInfoValidationRuleUpdateDataRelationships { - return v.value -} - -func (v *NullableBillingInfoValidationRuleUpdateDataRelationships) Set(val *BillingInfoValidationRuleUpdateDataRelationships) { - v.value = val - v.isSet = true -} - -func (v NullableBillingInfoValidationRuleUpdateDataRelationships) IsSet() bool { - return v.isSet -} - -func (v *NullableBillingInfoValidationRuleUpdateDataRelationships) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableBillingInfoValidationRuleUpdateDataRelationships(val *BillingInfoValidationRuleUpdateDataRelationships) *NullableBillingInfoValidationRuleUpdateDataRelationships { - return &NullableBillingInfoValidationRuleUpdateDataRelationships{value: val, isSet: true} -} - -func (v NullableBillingInfoValidationRuleUpdateDataRelationships) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableBillingInfoValidationRuleUpdateDataRelationships) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/api/model_bing_geocoder.go b/api/model_bing_geocoder.go index 329c52ba1..e6879487b 100644 --- a/api/model_bing_geocoder.go +++ b/api/model_bing_geocoder.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_bing_geocoder_create.go b/api/model_bing_geocoder_create.go index 1b2156e42..56eb56f9c 100644 --- a/api/model_bing_geocoder_create.go +++ b/api/model_bing_geocoder_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_bing_geocoder_create_data.go b/api/model_bing_geocoder_create_data.go index 02ef397ad..f70f7140f 100644 --- a/api/model_bing_geocoder_create_data.go +++ b/api/model_bing_geocoder_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_bing_geocoder_data.go b/api/model_bing_geocoder_data.go index 9d66a81f2..068610ddb 100644 --- a/api/model_bing_geocoder_data.go +++ b/api/model_bing_geocoder_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_bing_geocoder_data_relationships.go b/api/model_bing_geocoder_data_relationships.go index f24be5ed9..e687f7dd6 100644 --- a/api/model_bing_geocoder_data_relationships.go +++ b/api/model_bing_geocoder_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_bing_geocoder_data_relationships_addresses.go b/api/model_bing_geocoder_data_relationships_addresses.go index b56120d8b..374e0776e 100644 --- a/api/model_bing_geocoder_data_relationships_addresses.go +++ b/api/model_bing_geocoder_data_relationships_addresses.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_bing_geocoder_data_relationships_addresses_data.go b/api/model_bing_geocoder_data_relationships_addresses_data.go index b3e876ce7..20a49f61e 100644 --- a/api/model_bing_geocoder_data_relationships_addresses_data.go +++ b/api/model_bing_geocoder_data_relationships_addresses_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_bing_geocoder_update.go b/api/model_bing_geocoder_update.go index 0914a4f20..517523849 100644 --- a/api/model_bing_geocoder_update.go +++ b/api/model_bing_geocoder_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_bing_geocoder_update_data.go b/api/model_bing_geocoder_update_data.go index e1f2ddab3..c7cdad81f 100644 --- a/api/model_bing_geocoder_update_data.go +++ b/api/model_bing_geocoder_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_braintree_gateway.go b/api/model_braintree_gateway.go index 78bfe034a..ba4919d7f 100644 --- a/api/model_braintree_gateway.go +++ b/api/model_braintree_gateway.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_braintree_gateway_create.go b/api/model_braintree_gateway_create.go index b50ace246..b92c2954e 100644 --- a/api/model_braintree_gateway_create.go +++ b/api/model_braintree_gateway_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_braintree_gateway_create_data.go b/api/model_braintree_gateway_create_data.go index 9e1497f70..11dee2ca0 100644 --- a/api/model_braintree_gateway_create_data.go +++ b/api/model_braintree_gateway_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_braintree_gateway_create_data_relationships.go b/api/model_braintree_gateway_create_data_relationships.go index 479a1cdbd..3ff4ab030 100644 --- a/api/model_braintree_gateway_create_data_relationships.go +++ b/api/model_braintree_gateway_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_braintree_gateway_create_data_relationships_braintree_payments.go b/api/model_braintree_gateway_create_data_relationships_braintree_payments.go index 37387d3bb..c860470fd 100644 --- a/api/model_braintree_gateway_create_data_relationships_braintree_payments.go +++ b/api/model_braintree_gateway_create_data_relationships_braintree_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_braintree_gateway_data.go b/api/model_braintree_gateway_data.go index 26257a504..871560560 100644 --- a/api/model_braintree_gateway_data.go +++ b/api/model_braintree_gateway_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_braintree_gateway_data_relationships.go b/api/model_braintree_gateway_data_relationships.go index 5a900f68e..93feae729 100644 --- a/api/model_braintree_gateway_data_relationships.go +++ b/api/model_braintree_gateway_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_braintree_gateway_data_relationships_braintree_payments.go b/api/model_braintree_gateway_data_relationships_braintree_payments.go index b64219031..6e9c3a80e 100644 --- a/api/model_braintree_gateway_data_relationships_braintree_payments.go +++ b/api/model_braintree_gateway_data_relationships_braintree_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_braintree_gateway_data_relationships_braintree_payments_data.go b/api/model_braintree_gateway_data_relationships_braintree_payments_data.go index 4a80d7428..f808865aa 100644 --- a/api/model_braintree_gateway_data_relationships_braintree_payments_data.go +++ b/api/model_braintree_gateway_data_relationships_braintree_payments_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_braintree_gateway_update.go b/api/model_braintree_gateway_update.go index 28cf3f68b..9078fde7c 100644 --- a/api/model_braintree_gateway_update.go +++ b/api/model_braintree_gateway_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_braintree_gateway_update_data.go b/api/model_braintree_gateway_update_data.go index c23b90f8d..0055258cf 100644 --- a/api/model_braintree_gateway_update_data.go +++ b/api/model_braintree_gateway_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_braintree_payment.go b/api/model_braintree_payment.go index f82da7ba8..8ee4da1de 100644 --- a/api/model_braintree_payment.go +++ b/api/model_braintree_payment.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_braintree_payment_create.go b/api/model_braintree_payment_create.go index b756f0327..f614fbb90 100644 --- a/api/model_braintree_payment_create.go +++ b/api/model_braintree_payment_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_braintree_payment_create_data.go b/api/model_braintree_payment_create_data.go index 9ab72aec2..7aad77c1b 100644 --- a/api/model_braintree_payment_create_data.go +++ b/api/model_braintree_payment_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_braintree_payment_data.go b/api/model_braintree_payment_data.go index 6ff43fd1b..1b1e62b91 100644 --- a/api/model_braintree_payment_data.go +++ b/api/model_braintree_payment_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_braintree_payment_update.go b/api/model_braintree_payment_update.go index 3964cc7cd..4895e91c4 100644 --- a/api/model_braintree_payment_update.go +++ b/api/model_braintree_payment_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_braintree_payment_update_data.go b/api/model_braintree_payment_update_data.go index 7bcb2a274..68c3b7aa6 100644 --- a/api/model_braintree_payment_update_data.go +++ b/api/model_braintree_payment_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_bundle.go b/api/model_bundle.go index 934e2683b..d011d3d67 100644 --- a/api/model_bundle.go +++ b/api/model_bundle.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_bundle_create.go b/api/model_bundle_create.go index d363c0096..5563ef107 100644 --- a/api/model_bundle_create.go +++ b/api/model_bundle_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_bundle_create_data.go b/api/model_bundle_create_data.go index c1a07c57c..18a5af531 100644 --- a/api/model_bundle_create_data.go +++ b/api/model_bundle_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_bundle_create_data_relationships.go b/api/model_bundle_create_data_relationships.go index c4620354b..d34784bc4 100644 --- a/api/model_bundle_create_data_relationships.go +++ b/api/model_bundle_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,9 +20,9 @@ var _ MappedNullable = &BundleCreateDataRelationships{} // BundleCreateDataRelationships struct for BundleCreateDataRelationships type BundleCreateDataRelationships struct { - Market *BillingInfoValidationRuleCreateDataRelationshipsMarket `json:"market,omitempty"` - SkuList BundleCreateDataRelationshipsSkuList `json:"sku_list"` - Tags *AddressCreateDataRelationshipsTags `json:"tags,omitempty"` + Market *BundleCreateDataRelationshipsMarket `json:"market,omitempty"` + SkuList BundleCreateDataRelationshipsSkuList `json:"sku_list"` + Tags *AddressCreateDataRelationshipsTags `json:"tags,omitempty"` } // NewBundleCreateDataRelationships instantiates a new BundleCreateDataRelationships object @@ -44,9 +44,9 @@ func NewBundleCreateDataRelationshipsWithDefaults() *BundleCreateDataRelationshi } // GetMarket returns the Market field value if set, zero value otherwise. -func (o *BundleCreateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket { +func (o *BundleCreateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket { if o == nil || IsNil(o.Market) { - var ret BillingInfoValidationRuleCreateDataRelationshipsMarket + var ret BundleCreateDataRelationshipsMarket return ret } return *o.Market @@ -54,7 +54,7 @@ func (o *BundleCreateDataRelationships) GetMarket() BillingInfoValidationRuleCre // GetMarketOk returns a tuple with the Market field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *BundleCreateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool) { +func (o *BundleCreateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool) { if o == nil || IsNil(o.Market) { return nil, false } @@ -70,8 +70,8 @@ func (o *BundleCreateDataRelationships) HasMarket() bool { return false } -// SetMarket gets a reference to the given BillingInfoValidationRuleCreateDataRelationshipsMarket and assigns it to the Market field. -func (o *BundleCreateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket) { +// SetMarket gets a reference to the given BundleCreateDataRelationshipsMarket and assigns it to the Market field. +func (o *BundleCreateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket) { o.Market = &v } diff --git a/api/model_bundle_create_data_relationships_market.go b/api/model_bundle_create_data_relationships_market.go new file mode 100644 index 000000000..3c8a671be --- /dev/null +++ b/api/model_bundle_create_data_relationships_market.go @@ -0,0 +1,116 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the BundleCreateDataRelationshipsMarket type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &BundleCreateDataRelationshipsMarket{} + +// BundleCreateDataRelationshipsMarket struct for BundleCreateDataRelationshipsMarket +type BundleCreateDataRelationshipsMarket struct { + Data AvalaraAccountDataRelationshipsMarketsData `json:"data"` +} + +// NewBundleCreateDataRelationshipsMarket instantiates a new BundleCreateDataRelationshipsMarket object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBundleCreateDataRelationshipsMarket(data AvalaraAccountDataRelationshipsMarketsData) *BundleCreateDataRelationshipsMarket { + this := BundleCreateDataRelationshipsMarket{} + this.Data = data + return &this +} + +// NewBundleCreateDataRelationshipsMarketWithDefaults instantiates a new BundleCreateDataRelationshipsMarket object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewBundleCreateDataRelationshipsMarketWithDefaults() *BundleCreateDataRelationshipsMarket { + this := BundleCreateDataRelationshipsMarket{} + return &this +} + +// GetData returns the Data field value +func (o *BundleCreateDataRelationshipsMarket) GetData() AvalaraAccountDataRelationshipsMarketsData { + if o == nil { + var ret AvalaraAccountDataRelationshipsMarketsData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *BundleCreateDataRelationshipsMarket) GetDataOk() (*AvalaraAccountDataRelationshipsMarketsData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *BundleCreateDataRelationshipsMarket) SetData(v AvalaraAccountDataRelationshipsMarketsData) { + o.Data = v +} + +func (o BundleCreateDataRelationshipsMarket) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o BundleCreateDataRelationshipsMarket) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["data"] = o.Data + return toSerialize, nil +} + +type NullableBundleCreateDataRelationshipsMarket struct { + value *BundleCreateDataRelationshipsMarket + isSet bool +} + +func (v NullableBundleCreateDataRelationshipsMarket) Get() *BundleCreateDataRelationshipsMarket { + return v.value +} + +func (v *NullableBundleCreateDataRelationshipsMarket) Set(val *BundleCreateDataRelationshipsMarket) { + v.value = val + v.isSet = true +} + +func (v NullableBundleCreateDataRelationshipsMarket) IsSet() bool { + return v.isSet +} + +func (v *NullableBundleCreateDataRelationshipsMarket) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBundleCreateDataRelationshipsMarket(val *BundleCreateDataRelationshipsMarket) *NullableBundleCreateDataRelationshipsMarket { + return &NullableBundleCreateDataRelationshipsMarket{value: val, isSet: true} +} + +func (v NullableBundleCreateDataRelationshipsMarket) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBundleCreateDataRelationshipsMarket) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_bundle_create_data_relationships_sku_list.go b/api/model_bundle_create_data_relationships_sku_list.go index 9d5ece6a3..a32710528 100644 --- a/api/model_bundle_create_data_relationships_sku_list.go +++ b/api/model_bundle_create_data_relationships_sku_list.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_bundle_data.go b/api/model_bundle_data.go index dbf87691b..e39d97592 100644 --- a/api/model_bundle_data.go +++ b/api/model_bundle_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_bundle_data_relationships.go b/api/model_bundle_data_relationships.go index 727bdd900..07cc63ca6 100644 --- a/api/model_bundle_data_relationships.go +++ b/api/model_bundle_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_bundle_data_relationships_sku_list.go b/api/model_bundle_data_relationships_sku_list.go index 9fb440207..a7e47edba 100644 --- a/api/model_bundle_data_relationships_sku_list.go +++ b/api/model_bundle_data_relationships_sku_list.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_bundle_data_relationships_sku_list_data.go b/api/model_bundle_data_relationships_sku_list_data.go index 5180f5e58..61d007010 100644 --- a/api/model_bundle_data_relationships_sku_list_data.go +++ b/api/model_bundle_data_relationships_sku_list_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_bundle_data_relationships_skus.go b/api/model_bundle_data_relationships_skus.go index 2dc3060a1..91952650a 100644 --- a/api/model_bundle_data_relationships_skus.go +++ b/api/model_bundle_data_relationships_skus.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_bundle_data_relationships_skus_data.go b/api/model_bundle_data_relationships_skus_data.go index 5c4a3fb74..d0a3c887d 100644 --- a/api/model_bundle_data_relationships_skus_data.go +++ b/api/model_bundle_data_relationships_skus_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_bundle_update.go b/api/model_bundle_update.go index cba0d85fd..ac457ea7b 100644 --- a/api/model_bundle_update.go +++ b/api/model_bundle_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_bundle_update_data.go b/api/model_bundle_update_data.go index a3445272e..ff92160db 100644 --- a/api/model_bundle_update_data.go +++ b/api/model_bundle_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_bundle_update_data_relationships.go b/api/model_bundle_update_data_relationships.go index da7190c4e..e7a7c0b6e 100644 --- a/api/model_bundle_update_data_relationships.go +++ b/api/model_bundle_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_buy_x_pay_y_promotion.go b/api/model_buy_x_pay_y_promotion.go index 9d8dab330..1f4700024 100644 --- a/api/model_buy_x_pay_y_promotion.go +++ b/api/model_buy_x_pay_y_promotion.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_buy_x_pay_y_promotion_create.go b/api/model_buy_x_pay_y_promotion_create.go index 4d3a6ba82..25f226f35 100644 --- a/api/model_buy_x_pay_y_promotion_create.go +++ b/api/model_buy_x_pay_y_promotion_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_buy_x_pay_y_promotion_create_data.go b/api/model_buy_x_pay_y_promotion_create_data.go index c8092a0ee..1ae043474 100644 --- a/api/model_buy_x_pay_y_promotion_create_data.go +++ b/api/model_buy_x_pay_y_promotion_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_buy_x_pay_y_promotion_create_data_relationships.go b/api/model_buy_x_pay_y_promotion_create_data_relationships.go index dfb753dbe..fdfd6062b 100644 --- a/api/model_buy_x_pay_y_promotion_create_data_relationships.go +++ b/api/model_buy_x_pay_y_promotion_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,7 +20,7 @@ var _ MappedNullable = &BuyXPayYPromotionCreateDataRelationships{} // BuyXPayYPromotionCreateDataRelationships struct for BuyXPayYPromotionCreateDataRelationships type BuyXPayYPromotionCreateDataRelationships struct { - Market *BillingInfoValidationRuleCreateDataRelationshipsMarket `json:"market,omitempty"` + Market *BundleCreateDataRelationshipsMarket `json:"market,omitempty"` OrderAmountPromotionRule *BuyXPayYPromotionCreateDataRelationshipsOrderAmountPromotionRule `json:"order_amount_promotion_rule,omitempty"` SkuListPromotionRule *BuyXPayYPromotionCreateDataRelationshipsSkuListPromotionRule `json:"sku_list_promotion_rule,omitempty"` CouponCodesPromotionRule *BuyXPayYPromotionCreateDataRelationshipsCouponCodesPromotionRule `json:"coupon_codes_promotion_rule,omitempty"` @@ -48,9 +48,9 @@ func NewBuyXPayYPromotionCreateDataRelationshipsWithDefaults() *BuyXPayYPromotio } // GetMarket returns the Market field value if set, zero value otherwise. -func (o *BuyXPayYPromotionCreateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket { +func (o *BuyXPayYPromotionCreateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket { if o == nil || IsNil(o.Market) { - var ret BillingInfoValidationRuleCreateDataRelationshipsMarket + var ret BundleCreateDataRelationshipsMarket return ret } return *o.Market @@ -58,7 +58,7 @@ func (o *BuyXPayYPromotionCreateDataRelationships) GetMarket() BillingInfoValida // GetMarketOk returns a tuple with the Market field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *BuyXPayYPromotionCreateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool) { +func (o *BuyXPayYPromotionCreateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool) { if o == nil || IsNil(o.Market) { return nil, false } @@ -74,8 +74,8 @@ func (o *BuyXPayYPromotionCreateDataRelationships) HasMarket() bool { return false } -// SetMarket gets a reference to the given BillingInfoValidationRuleCreateDataRelationshipsMarket and assigns it to the Market field. -func (o *BuyXPayYPromotionCreateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket) { +// SetMarket gets a reference to the given BundleCreateDataRelationshipsMarket and assigns it to the Market field. +func (o *BuyXPayYPromotionCreateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket) { o.Market = &v } diff --git a/api/model_buy_x_pay_y_promotion_create_data_relationships_coupon_codes_promotion_rule.go b/api/model_buy_x_pay_y_promotion_create_data_relationships_coupon_codes_promotion_rule.go index fda7ac1d9..8f54c0bd0 100644 --- a/api/model_buy_x_pay_y_promotion_create_data_relationships_coupon_codes_promotion_rule.go +++ b/api/model_buy_x_pay_y_promotion_create_data_relationships_coupon_codes_promotion_rule.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_buy_x_pay_y_promotion_create_data_relationships_custom_promotion_rule.go b/api/model_buy_x_pay_y_promotion_create_data_relationships_custom_promotion_rule.go index 5e17d4494..9eb81762e 100644 --- a/api/model_buy_x_pay_y_promotion_create_data_relationships_custom_promotion_rule.go +++ b/api/model_buy_x_pay_y_promotion_create_data_relationships_custom_promotion_rule.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_buy_x_pay_y_promotion_create_data_relationships_order_amount_promotion_rule.go b/api/model_buy_x_pay_y_promotion_create_data_relationships_order_amount_promotion_rule.go index d2225bcf3..2eac6a326 100644 --- a/api/model_buy_x_pay_y_promotion_create_data_relationships_order_amount_promotion_rule.go +++ b/api/model_buy_x_pay_y_promotion_create_data_relationships_order_amount_promotion_rule.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_buy_x_pay_y_promotion_create_data_relationships_sku_list_promotion_rule.go b/api/model_buy_x_pay_y_promotion_create_data_relationships_sku_list_promotion_rule.go index 08574986a..b08606997 100644 --- a/api/model_buy_x_pay_y_promotion_create_data_relationships_sku_list_promotion_rule.go +++ b/api/model_buy_x_pay_y_promotion_create_data_relationships_sku_list_promotion_rule.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_buy_x_pay_y_promotion_data.go b/api/model_buy_x_pay_y_promotion_data.go index 55eeaa514..08b37efaf 100644 --- a/api/model_buy_x_pay_y_promotion_data.go +++ b/api/model_buy_x_pay_y_promotion_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_buy_x_pay_y_promotion_data_relationships.go b/api/model_buy_x_pay_y_promotion_data_relationships.go index 7d1244c36..b4f6a094d 100644 --- a/api/model_buy_x_pay_y_promotion_data_relationships.go +++ b/api/model_buy_x_pay_y_promotion_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_buy_x_pay_y_promotion_data_relationships_coupon_codes_promotion_rule.go b/api/model_buy_x_pay_y_promotion_data_relationships_coupon_codes_promotion_rule.go index 5fad70c17..1c4c8a2d5 100644 --- a/api/model_buy_x_pay_y_promotion_data_relationships_coupon_codes_promotion_rule.go +++ b/api/model_buy_x_pay_y_promotion_data_relationships_coupon_codes_promotion_rule.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_buy_x_pay_y_promotion_data_relationships_coupon_codes_promotion_rule_data.go b/api/model_buy_x_pay_y_promotion_data_relationships_coupon_codes_promotion_rule_data.go index 04e56748d..a0a683639 100644 --- a/api/model_buy_x_pay_y_promotion_data_relationships_coupon_codes_promotion_rule_data.go +++ b/api/model_buy_x_pay_y_promotion_data_relationships_coupon_codes_promotion_rule_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_buy_x_pay_y_promotion_data_relationships_coupons.go b/api/model_buy_x_pay_y_promotion_data_relationships_coupons.go index b2d7041d3..f7843456c 100644 --- a/api/model_buy_x_pay_y_promotion_data_relationships_coupons.go +++ b/api/model_buy_x_pay_y_promotion_data_relationships_coupons.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_buy_x_pay_y_promotion_data_relationships_coupons_data.go b/api/model_buy_x_pay_y_promotion_data_relationships_coupons_data.go index 5a2674930..5656d169d 100644 --- a/api/model_buy_x_pay_y_promotion_data_relationships_coupons_data.go +++ b/api/model_buy_x_pay_y_promotion_data_relationships_coupons_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_buy_x_pay_y_promotion_data_relationships_custom_promotion_rule.go b/api/model_buy_x_pay_y_promotion_data_relationships_custom_promotion_rule.go index 414c8b5bc..193522895 100644 --- a/api/model_buy_x_pay_y_promotion_data_relationships_custom_promotion_rule.go +++ b/api/model_buy_x_pay_y_promotion_data_relationships_custom_promotion_rule.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_buy_x_pay_y_promotion_data_relationships_custom_promotion_rule_data.go b/api/model_buy_x_pay_y_promotion_data_relationships_custom_promotion_rule_data.go index 2a65c9b34..33bdf8a83 100644 --- a/api/model_buy_x_pay_y_promotion_data_relationships_custom_promotion_rule_data.go +++ b/api/model_buy_x_pay_y_promotion_data_relationships_custom_promotion_rule_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_buy_x_pay_y_promotion_data_relationships_order_amount_promotion_rule.go b/api/model_buy_x_pay_y_promotion_data_relationships_order_amount_promotion_rule.go index 7186b1e68..e53891b2f 100644 --- a/api/model_buy_x_pay_y_promotion_data_relationships_order_amount_promotion_rule.go +++ b/api/model_buy_x_pay_y_promotion_data_relationships_order_amount_promotion_rule.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_buy_x_pay_y_promotion_data_relationships_order_amount_promotion_rule_data.go b/api/model_buy_x_pay_y_promotion_data_relationships_order_amount_promotion_rule_data.go index 59c64934e..1cead8597 100644 --- a/api/model_buy_x_pay_y_promotion_data_relationships_order_amount_promotion_rule_data.go +++ b/api/model_buy_x_pay_y_promotion_data_relationships_order_amount_promotion_rule_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_buy_x_pay_y_promotion_data_relationships_promotion_rules.go b/api/model_buy_x_pay_y_promotion_data_relationships_promotion_rules.go index 389a6bf94..7ec98c8b4 100644 --- a/api/model_buy_x_pay_y_promotion_data_relationships_promotion_rules.go +++ b/api/model_buy_x_pay_y_promotion_data_relationships_promotion_rules.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_buy_x_pay_y_promotion_data_relationships_promotion_rules_data.go b/api/model_buy_x_pay_y_promotion_data_relationships_promotion_rules_data.go index 85e403392..42f8a3ff6 100644 --- a/api/model_buy_x_pay_y_promotion_data_relationships_promotion_rules_data.go +++ b/api/model_buy_x_pay_y_promotion_data_relationships_promotion_rules_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_buy_x_pay_y_promotion_data_relationships_sku_list_promotion_rule.go b/api/model_buy_x_pay_y_promotion_data_relationships_sku_list_promotion_rule.go index d13027874..6e9672eb0 100644 --- a/api/model_buy_x_pay_y_promotion_data_relationships_sku_list_promotion_rule.go +++ b/api/model_buy_x_pay_y_promotion_data_relationships_sku_list_promotion_rule.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_buy_x_pay_y_promotion_data_relationships_sku_list_promotion_rule_data.go b/api/model_buy_x_pay_y_promotion_data_relationships_sku_list_promotion_rule_data.go index 94d4f6308..e63454904 100644 --- a/api/model_buy_x_pay_y_promotion_data_relationships_sku_list_promotion_rule_data.go +++ b/api/model_buy_x_pay_y_promotion_data_relationships_sku_list_promotion_rule_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_buy_x_pay_y_promotion_update.go b/api/model_buy_x_pay_y_promotion_update.go index fe70a81c3..abae9fca9 100644 --- a/api/model_buy_x_pay_y_promotion_update.go +++ b/api/model_buy_x_pay_y_promotion_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_buy_x_pay_y_promotion_update_data.go b/api/model_buy_x_pay_y_promotion_update_data.go index fca820f8d..0316fb83e 100644 --- a/api/model_buy_x_pay_y_promotion_update_data.go +++ b/api/model_buy_x_pay_y_promotion_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_buy_x_pay_y_promotion_update_data_relationships.go b/api/model_buy_x_pay_y_promotion_update_data_relationships.go index b0c54a4d4..1a9a67277 100644 --- a/api/model_buy_x_pay_y_promotion_update_data_relationships.go +++ b/api/model_buy_x_pay_y_promotion_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,7 +20,7 @@ var _ MappedNullable = &BuyXPayYPromotionUpdateDataRelationships{} // BuyXPayYPromotionUpdateDataRelationships struct for BuyXPayYPromotionUpdateDataRelationships type BuyXPayYPromotionUpdateDataRelationships struct { - Market *BillingInfoValidationRuleCreateDataRelationshipsMarket `json:"market,omitempty"` + Market *BundleCreateDataRelationshipsMarket `json:"market,omitempty"` OrderAmountPromotionRule *BuyXPayYPromotionCreateDataRelationshipsOrderAmountPromotionRule `json:"order_amount_promotion_rule,omitempty"` SkuListPromotionRule *BuyXPayYPromotionCreateDataRelationshipsSkuListPromotionRule `json:"sku_list_promotion_rule,omitempty"` CouponCodesPromotionRule *BuyXPayYPromotionCreateDataRelationshipsCouponCodesPromotionRule `json:"coupon_codes_promotion_rule,omitempty"` @@ -47,9 +47,9 @@ func NewBuyXPayYPromotionUpdateDataRelationshipsWithDefaults() *BuyXPayYPromotio } // GetMarket returns the Market field value if set, zero value otherwise. -func (o *BuyXPayYPromotionUpdateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket { +func (o *BuyXPayYPromotionUpdateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket { if o == nil || IsNil(o.Market) { - var ret BillingInfoValidationRuleCreateDataRelationshipsMarket + var ret BundleCreateDataRelationshipsMarket return ret } return *o.Market @@ -57,7 +57,7 @@ func (o *BuyXPayYPromotionUpdateDataRelationships) GetMarket() BillingInfoValida // GetMarketOk returns a tuple with the Market field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *BuyXPayYPromotionUpdateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool) { +func (o *BuyXPayYPromotionUpdateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool) { if o == nil || IsNil(o.Market) { return nil, false } @@ -73,8 +73,8 @@ func (o *BuyXPayYPromotionUpdateDataRelationships) HasMarket() bool { return false } -// SetMarket gets a reference to the given BillingInfoValidationRuleCreateDataRelationshipsMarket and assigns it to the Market field. -func (o *BuyXPayYPromotionUpdateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket) { +// SetMarket gets a reference to the given BundleCreateDataRelationshipsMarket and assigns it to the Market field. +func (o *BuyXPayYPromotionUpdateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket) { o.Market = &v } diff --git a/api/model_capture.go b/api/model_capture.go index 876b0db36..d0141e6cb 100644 --- a/api/model_capture.go +++ b/api/model_capture.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_capture_data.go b/api/model_capture_data.go index c71122c28..71de15785 100644 --- a/api/model_capture_data.go +++ b/api/model_capture_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_capture_data_relationships.go b/api/model_capture_data_relationships.go index 7f33a98df..222aae709 100644 --- a/api/model_capture_data_relationships.go +++ b/api/model_capture_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -21,6 +21,7 @@ var _ MappedNullable = &CaptureDataRelationships{} // CaptureDataRelationships struct for CaptureDataRelationships type CaptureDataRelationships struct { Order *AdyenPaymentDataRelationshipsOrder `json:"order,omitempty"` + PaymentSource *AuthorizationDataRelationshipsPaymentSource `json:"payment_source,omitempty"` Attachments *AuthorizationDataRelationshipsAttachments `json:"attachments,omitempty"` Events *AddressDataRelationshipsEvents `json:"events,omitempty"` Versions *AddressDataRelationshipsVersions `json:"versions,omitempty"` @@ -78,6 +79,38 @@ func (o *CaptureDataRelationships) SetOrder(v AdyenPaymentDataRelationshipsOrder o.Order = &v } +// GetPaymentSource returns the PaymentSource field value if set, zero value otherwise. +func (o *CaptureDataRelationships) GetPaymentSource() AuthorizationDataRelationshipsPaymentSource { + if o == nil || IsNil(o.PaymentSource) { + var ret AuthorizationDataRelationshipsPaymentSource + return ret + } + return *o.PaymentSource +} + +// GetPaymentSourceOk returns a tuple with the PaymentSource field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CaptureDataRelationships) GetPaymentSourceOk() (*AuthorizationDataRelationshipsPaymentSource, bool) { + if o == nil || IsNil(o.PaymentSource) { + return nil, false + } + return o.PaymentSource, true +} + +// HasPaymentSource returns a boolean if a field has been set. +func (o *CaptureDataRelationships) HasPaymentSource() bool { + if o != nil && !IsNil(o.PaymentSource) { + return true + } + + return false +} + +// SetPaymentSource gets a reference to the given AuthorizationDataRelationshipsPaymentSource and assigns it to the PaymentSource field. +func (o *CaptureDataRelationships) SetPaymentSource(v AuthorizationDataRelationshipsPaymentSource) { + o.PaymentSource = &v +} + // GetAttachments returns the Attachments field value if set, zero value otherwise. func (o *CaptureDataRelationships) GetAttachments() AuthorizationDataRelationshipsAttachments { if o == nil || IsNil(o.Attachments) { @@ -283,6 +316,9 @@ func (o CaptureDataRelationships) ToMap() (map[string]interface{}, error) { if !IsNil(o.Order) { toSerialize["order"] = o.Order } + if !IsNil(o.PaymentSource) { + toSerialize["payment_source"] = o.PaymentSource + } if !IsNil(o.Attachments) { toSerialize["attachments"] = o.Attachments } diff --git a/api/model_capture_data_relationships_reference_authorization.go b/api/model_capture_data_relationships_reference_authorization.go index d41c36ecc..74b493f6d 100644 --- a/api/model_capture_data_relationships_reference_authorization.go +++ b/api/model_capture_data_relationships_reference_authorization.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_capture_data_relationships_reference_authorization_data.go b/api/model_capture_data_relationships_reference_authorization_data.go index 2d8e07c26..cbe949150 100644 --- a/api/model_capture_data_relationships_reference_authorization_data.go +++ b/api/model_capture_data_relationships_reference_authorization_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_capture_data_relationships_refunds.go b/api/model_capture_data_relationships_refunds.go index 0392aeafe..1084a6221 100644 --- a/api/model_capture_data_relationships_refunds.go +++ b/api/model_capture_data_relationships_refunds.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_capture_data_relationships_refunds_data.go b/api/model_capture_data_relationships_refunds_data.go index d55e3c655..c005a7f88 100644 --- a/api/model_capture_data_relationships_refunds_data.go +++ b/api/model_capture_data_relationships_refunds_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_capture_data_relationships_return.go b/api/model_capture_data_relationships_return.go index 2ed7e6e80..aa3614f8d 100644 --- a/api/model_capture_data_relationships_return.go +++ b/api/model_capture_data_relationships_return.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_capture_data_relationships_return_data.go b/api/model_capture_data_relationships_return_data.go index 947f29dbf..0a8b78b79 100644 --- a/api/model_capture_data_relationships_return_data.go +++ b/api/model_capture_data_relationships_return_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_capture_update.go b/api/model_capture_update.go index d3ff82f49..85cf5f5ef 100644 --- a/api/model_capture_update.go +++ b/api/model_capture_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_capture_update_data.go b/api/model_capture_update_data.go index fdbfa4c75..98209a423 100644 --- a/api/model_capture_update_data.go +++ b/api/model_capture_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_carrier_account.go b/api/model_carrier_account.go index c67b48461..90246c32d 100644 --- a/api/model_carrier_account.go +++ b/api/model_carrier_account.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_carrier_account_create.go b/api/model_carrier_account_create.go index c939850c6..df393f83f 100644 --- a/api/model_carrier_account_create.go +++ b/api/model_carrier_account_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_carrier_account_create_data.go b/api/model_carrier_account_create_data.go index b8dcea638..3396b631e 100644 --- a/api/model_carrier_account_create_data.go +++ b/api/model_carrier_account_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -21,9 +21,9 @@ var _ MappedNullable = &CarrierAccountCreateData{} // CarrierAccountCreateData struct for CarrierAccountCreateData type CarrierAccountCreateData struct { // The resource's type - Type interface{} `json:"type"` - Attributes POSTCarrierAccounts201ResponseDataAttributes `json:"attributes"` - Relationships *BillingInfoValidationRuleUpdateDataRelationships `json:"relationships,omitempty"` + Type interface{} `json:"type"` + Attributes POSTCarrierAccounts201ResponseDataAttributes `json:"attributes"` + Relationships *CarrierAccountCreateDataRelationships `json:"relationships,omitempty"` } // NewCarrierAccountCreateData instantiates a new CarrierAccountCreateData object @@ -96,9 +96,9 @@ func (o *CarrierAccountCreateData) SetAttributes(v POSTCarrierAccounts201Respons } // GetRelationships returns the Relationships field value if set, zero value otherwise. -func (o *CarrierAccountCreateData) GetRelationships() BillingInfoValidationRuleUpdateDataRelationships { +func (o *CarrierAccountCreateData) GetRelationships() CarrierAccountCreateDataRelationships { if o == nil || IsNil(o.Relationships) { - var ret BillingInfoValidationRuleUpdateDataRelationships + var ret CarrierAccountCreateDataRelationships return ret } return *o.Relationships @@ -106,7 +106,7 @@ func (o *CarrierAccountCreateData) GetRelationships() BillingInfoValidationRuleU // GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CarrierAccountCreateData) GetRelationshipsOk() (*BillingInfoValidationRuleUpdateDataRelationships, bool) { +func (o *CarrierAccountCreateData) GetRelationshipsOk() (*CarrierAccountCreateDataRelationships, bool) { if o == nil || IsNil(o.Relationships) { return nil, false } @@ -122,8 +122,8 @@ func (o *CarrierAccountCreateData) HasRelationships() bool { return false } -// SetRelationships gets a reference to the given BillingInfoValidationRuleUpdateDataRelationships and assigns it to the Relationships field. -func (o *CarrierAccountCreateData) SetRelationships(v BillingInfoValidationRuleUpdateDataRelationships) { +// SetRelationships gets a reference to the given CarrierAccountCreateDataRelationships and assigns it to the Relationships field. +func (o *CarrierAccountCreateData) SetRelationships(v CarrierAccountCreateDataRelationships) { o.Relationships = &v } diff --git a/api/model_carrier_account_create_data_relationships.go b/api/model_carrier_account_create_data_relationships.go new file mode 100644 index 000000000..f79a822e5 --- /dev/null +++ b/api/model_carrier_account_create_data_relationships.go @@ -0,0 +1,125 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the CarrierAccountCreateDataRelationships type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CarrierAccountCreateDataRelationships{} + +// CarrierAccountCreateDataRelationships struct for CarrierAccountCreateDataRelationships +type CarrierAccountCreateDataRelationships struct { + Market *BundleCreateDataRelationshipsMarket `json:"market,omitempty"` +} + +// NewCarrierAccountCreateDataRelationships instantiates a new CarrierAccountCreateDataRelationships object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCarrierAccountCreateDataRelationships() *CarrierAccountCreateDataRelationships { + this := CarrierAccountCreateDataRelationships{} + return &this +} + +// NewCarrierAccountCreateDataRelationshipsWithDefaults instantiates a new CarrierAccountCreateDataRelationships object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCarrierAccountCreateDataRelationshipsWithDefaults() *CarrierAccountCreateDataRelationships { + this := CarrierAccountCreateDataRelationships{} + return &this +} + +// GetMarket returns the Market field value if set, zero value otherwise. +func (o *CarrierAccountCreateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket { + if o == nil || IsNil(o.Market) { + var ret BundleCreateDataRelationshipsMarket + return ret + } + return *o.Market +} + +// GetMarketOk returns a tuple with the Market field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CarrierAccountCreateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool) { + if o == nil || IsNil(o.Market) { + return nil, false + } + return o.Market, true +} + +// HasMarket returns a boolean if a field has been set. +func (o *CarrierAccountCreateDataRelationships) HasMarket() bool { + if o != nil && !IsNil(o.Market) { + return true + } + + return false +} + +// SetMarket gets a reference to the given BundleCreateDataRelationshipsMarket and assigns it to the Market field. +func (o *CarrierAccountCreateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket) { + o.Market = &v +} + +func (o CarrierAccountCreateDataRelationships) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CarrierAccountCreateDataRelationships) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Market) { + toSerialize["market"] = o.Market + } + return toSerialize, nil +} + +type NullableCarrierAccountCreateDataRelationships struct { + value *CarrierAccountCreateDataRelationships + isSet bool +} + +func (v NullableCarrierAccountCreateDataRelationships) Get() *CarrierAccountCreateDataRelationships { + return v.value +} + +func (v *NullableCarrierAccountCreateDataRelationships) Set(val *CarrierAccountCreateDataRelationships) { + v.value = val + v.isSet = true +} + +func (v NullableCarrierAccountCreateDataRelationships) IsSet() bool { + return v.isSet +} + +func (v *NullableCarrierAccountCreateDataRelationships) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCarrierAccountCreateDataRelationships(val *CarrierAccountCreateDataRelationships) *NullableCarrierAccountCreateDataRelationships { + return &NullableCarrierAccountCreateDataRelationships{value: val, isSet: true} +} + +func (v NullableCarrierAccountCreateDataRelationships) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCarrierAccountCreateDataRelationships) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_carrier_account_data.go b/api/model_carrier_account_data.go index 2f138edb6..a6a36dd9f 100644 --- a/api/model_carrier_account_data.go +++ b/api/model_carrier_account_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -23,7 +23,7 @@ type CarrierAccountData struct { // The resource's type Type interface{} `json:"type"` Attributes GETCarrierAccountsCarrierAccountId200ResponseDataAttributes `json:"attributes"` - Relationships *BillingInfoValidationRuleDataRelationships `json:"relationships,omitempty"` + Relationships *CarrierAccountDataRelationships `json:"relationships,omitempty"` } // NewCarrierAccountData instantiates a new CarrierAccountData object @@ -96,9 +96,9 @@ func (o *CarrierAccountData) SetAttributes(v GETCarrierAccountsCarrierAccountId2 } // GetRelationships returns the Relationships field value if set, zero value otherwise. -func (o *CarrierAccountData) GetRelationships() BillingInfoValidationRuleDataRelationships { +func (o *CarrierAccountData) GetRelationships() CarrierAccountDataRelationships { if o == nil || IsNil(o.Relationships) { - var ret BillingInfoValidationRuleDataRelationships + var ret CarrierAccountDataRelationships return ret } return *o.Relationships @@ -106,7 +106,7 @@ func (o *CarrierAccountData) GetRelationships() BillingInfoValidationRuleDataRel // GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CarrierAccountData) GetRelationshipsOk() (*BillingInfoValidationRuleDataRelationships, bool) { +func (o *CarrierAccountData) GetRelationshipsOk() (*CarrierAccountDataRelationships, bool) { if o == nil || IsNil(o.Relationships) { return nil, false } @@ -122,8 +122,8 @@ func (o *CarrierAccountData) HasRelationships() bool { return false } -// SetRelationships gets a reference to the given BillingInfoValidationRuleDataRelationships and assigns it to the Relationships field. -func (o *CarrierAccountData) SetRelationships(v BillingInfoValidationRuleDataRelationships) { +// SetRelationships gets a reference to the given CarrierAccountDataRelationships and assigns it to the Relationships field. +func (o *CarrierAccountData) SetRelationships(v CarrierAccountDataRelationships) { o.Relationships = &v } diff --git a/api/model_billing_info_validation_rule_data_relationships.go b/api/model_carrier_account_data_relationships.go similarity index 52% rename from api/model_billing_info_validation_rule_data_relationships.go rename to api/model_carrier_account_data_relationships.go index d4f45023a..1de5ea22e 100644 --- a/api/model_billing_info_validation_rule_data_relationships.go +++ b/api/model_carrier_account_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -15,35 +15,35 @@ import ( "encoding/json" ) -// checks if the BillingInfoValidationRuleDataRelationships type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &BillingInfoValidationRuleDataRelationships{} +// checks if the CarrierAccountDataRelationships type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CarrierAccountDataRelationships{} -// BillingInfoValidationRuleDataRelationships struct for BillingInfoValidationRuleDataRelationships -type BillingInfoValidationRuleDataRelationships struct { +// CarrierAccountDataRelationships struct for CarrierAccountDataRelationships +type CarrierAccountDataRelationships struct { Market *AvalaraAccountDataRelationshipsMarkets `json:"market,omitempty"` Attachments *AuthorizationDataRelationshipsAttachments `json:"attachments,omitempty"` Versions *AddressDataRelationshipsVersions `json:"versions,omitempty"` } -// NewBillingInfoValidationRuleDataRelationships instantiates a new BillingInfoValidationRuleDataRelationships object +// NewCarrierAccountDataRelationships instantiates a new CarrierAccountDataRelationships object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewBillingInfoValidationRuleDataRelationships() *BillingInfoValidationRuleDataRelationships { - this := BillingInfoValidationRuleDataRelationships{} +func NewCarrierAccountDataRelationships() *CarrierAccountDataRelationships { + this := CarrierAccountDataRelationships{} return &this } -// NewBillingInfoValidationRuleDataRelationshipsWithDefaults instantiates a new BillingInfoValidationRuleDataRelationships object +// NewCarrierAccountDataRelationshipsWithDefaults instantiates a new CarrierAccountDataRelationships object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewBillingInfoValidationRuleDataRelationshipsWithDefaults() *BillingInfoValidationRuleDataRelationships { - this := BillingInfoValidationRuleDataRelationships{} +func NewCarrierAccountDataRelationshipsWithDefaults() *CarrierAccountDataRelationships { + this := CarrierAccountDataRelationships{} return &this } // GetMarket returns the Market field value if set, zero value otherwise. -func (o *BillingInfoValidationRuleDataRelationships) GetMarket() AvalaraAccountDataRelationshipsMarkets { +func (o *CarrierAccountDataRelationships) GetMarket() AvalaraAccountDataRelationshipsMarkets { if o == nil || IsNil(o.Market) { var ret AvalaraAccountDataRelationshipsMarkets return ret @@ -53,7 +53,7 @@ func (o *BillingInfoValidationRuleDataRelationships) GetMarket() AvalaraAccountD // GetMarketOk returns a tuple with the Market field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *BillingInfoValidationRuleDataRelationships) GetMarketOk() (*AvalaraAccountDataRelationshipsMarkets, bool) { +func (o *CarrierAccountDataRelationships) GetMarketOk() (*AvalaraAccountDataRelationshipsMarkets, bool) { if o == nil || IsNil(o.Market) { return nil, false } @@ -61,7 +61,7 @@ func (o *BillingInfoValidationRuleDataRelationships) GetMarketOk() (*AvalaraAcco } // HasMarket returns a boolean if a field has been set. -func (o *BillingInfoValidationRuleDataRelationships) HasMarket() bool { +func (o *CarrierAccountDataRelationships) HasMarket() bool { if o != nil && !IsNil(o.Market) { return true } @@ -70,12 +70,12 @@ func (o *BillingInfoValidationRuleDataRelationships) HasMarket() bool { } // SetMarket gets a reference to the given AvalaraAccountDataRelationshipsMarkets and assigns it to the Market field. -func (o *BillingInfoValidationRuleDataRelationships) SetMarket(v AvalaraAccountDataRelationshipsMarkets) { +func (o *CarrierAccountDataRelationships) SetMarket(v AvalaraAccountDataRelationshipsMarkets) { o.Market = &v } // GetAttachments returns the Attachments field value if set, zero value otherwise. -func (o *BillingInfoValidationRuleDataRelationships) GetAttachments() AuthorizationDataRelationshipsAttachments { +func (o *CarrierAccountDataRelationships) GetAttachments() AuthorizationDataRelationshipsAttachments { if o == nil || IsNil(o.Attachments) { var ret AuthorizationDataRelationshipsAttachments return ret @@ -85,7 +85,7 @@ func (o *BillingInfoValidationRuleDataRelationships) GetAttachments() Authorizat // GetAttachmentsOk returns a tuple with the Attachments field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *BillingInfoValidationRuleDataRelationships) GetAttachmentsOk() (*AuthorizationDataRelationshipsAttachments, bool) { +func (o *CarrierAccountDataRelationships) GetAttachmentsOk() (*AuthorizationDataRelationshipsAttachments, bool) { if o == nil || IsNil(o.Attachments) { return nil, false } @@ -93,7 +93,7 @@ func (o *BillingInfoValidationRuleDataRelationships) GetAttachmentsOk() (*Author } // HasAttachments returns a boolean if a field has been set. -func (o *BillingInfoValidationRuleDataRelationships) HasAttachments() bool { +func (o *CarrierAccountDataRelationships) HasAttachments() bool { if o != nil && !IsNil(o.Attachments) { return true } @@ -102,12 +102,12 @@ func (o *BillingInfoValidationRuleDataRelationships) HasAttachments() bool { } // SetAttachments gets a reference to the given AuthorizationDataRelationshipsAttachments and assigns it to the Attachments field. -func (o *BillingInfoValidationRuleDataRelationships) SetAttachments(v AuthorizationDataRelationshipsAttachments) { +func (o *CarrierAccountDataRelationships) SetAttachments(v AuthorizationDataRelationshipsAttachments) { o.Attachments = &v } // GetVersions returns the Versions field value if set, zero value otherwise. -func (o *BillingInfoValidationRuleDataRelationships) GetVersions() AddressDataRelationshipsVersions { +func (o *CarrierAccountDataRelationships) GetVersions() AddressDataRelationshipsVersions { if o == nil || IsNil(o.Versions) { var ret AddressDataRelationshipsVersions return ret @@ -117,7 +117,7 @@ func (o *BillingInfoValidationRuleDataRelationships) GetVersions() AddressDataRe // GetVersionsOk returns a tuple with the Versions field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *BillingInfoValidationRuleDataRelationships) GetVersionsOk() (*AddressDataRelationshipsVersions, bool) { +func (o *CarrierAccountDataRelationships) GetVersionsOk() (*AddressDataRelationshipsVersions, bool) { if o == nil || IsNil(o.Versions) { return nil, false } @@ -125,7 +125,7 @@ func (o *BillingInfoValidationRuleDataRelationships) GetVersionsOk() (*AddressDa } // HasVersions returns a boolean if a field has been set. -func (o *BillingInfoValidationRuleDataRelationships) HasVersions() bool { +func (o *CarrierAccountDataRelationships) HasVersions() bool { if o != nil && !IsNil(o.Versions) { return true } @@ -134,11 +134,11 @@ func (o *BillingInfoValidationRuleDataRelationships) HasVersions() bool { } // SetVersions gets a reference to the given AddressDataRelationshipsVersions and assigns it to the Versions field. -func (o *BillingInfoValidationRuleDataRelationships) SetVersions(v AddressDataRelationshipsVersions) { +func (o *CarrierAccountDataRelationships) SetVersions(v AddressDataRelationshipsVersions) { o.Versions = &v } -func (o BillingInfoValidationRuleDataRelationships) MarshalJSON() ([]byte, error) { +func (o CarrierAccountDataRelationships) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { return []byte{}, err @@ -146,7 +146,7 @@ func (o BillingInfoValidationRuleDataRelationships) MarshalJSON() ([]byte, error return json.Marshal(toSerialize) } -func (o BillingInfoValidationRuleDataRelationships) ToMap() (map[string]interface{}, error) { +func (o CarrierAccountDataRelationships) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} if !IsNil(o.Market) { toSerialize["market"] = o.Market @@ -160,38 +160,38 @@ func (o BillingInfoValidationRuleDataRelationships) ToMap() (map[string]interfac return toSerialize, nil } -type NullableBillingInfoValidationRuleDataRelationships struct { - value *BillingInfoValidationRuleDataRelationships +type NullableCarrierAccountDataRelationships struct { + value *CarrierAccountDataRelationships isSet bool } -func (v NullableBillingInfoValidationRuleDataRelationships) Get() *BillingInfoValidationRuleDataRelationships { +func (v NullableCarrierAccountDataRelationships) Get() *CarrierAccountDataRelationships { return v.value } -func (v *NullableBillingInfoValidationRuleDataRelationships) Set(val *BillingInfoValidationRuleDataRelationships) { +func (v *NullableCarrierAccountDataRelationships) Set(val *CarrierAccountDataRelationships) { v.value = val v.isSet = true } -func (v NullableBillingInfoValidationRuleDataRelationships) IsSet() bool { +func (v NullableCarrierAccountDataRelationships) IsSet() bool { return v.isSet } -func (v *NullableBillingInfoValidationRuleDataRelationships) Unset() { +func (v *NullableCarrierAccountDataRelationships) Unset() { v.value = nil v.isSet = false } -func NewNullableBillingInfoValidationRuleDataRelationships(val *BillingInfoValidationRuleDataRelationships) *NullableBillingInfoValidationRuleDataRelationships { - return &NullableBillingInfoValidationRuleDataRelationships{value: val, isSet: true} +func NewNullableCarrierAccountDataRelationships(val *CarrierAccountDataRelationships) *NullableCarrierAccountDataRelationships { + return &NullableCarrierAccountDataRelationships{value: val, isSet: true} } -func (v NullableBillingInfoValidationRuleDataRelationships) MarshalJSON() ([]byte, error) { +func (v NullableCarrierAccountDataRelationships) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableBillingInfoValidationRuleDataRelationships) UnmarshalJSON(src []byte) error { +func (v *NullableCarrierAccountDataRelationships) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/api/model_carrier_account_update.go b/api/model_carrier_account_update.go index fc37afbaa..f2a46eca1 100644 --- a/api/model_carrier_account_update.go +++ b/api/model_carrier_account_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_carrier_account_update_data.go b/api/model_carrier_account_update_data.go index c96eea984..926c68cb4 100644 --- a/api/model_carrier_account_update_data.go +++ b/api/model_carrier_account_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -25,7 +25,7 @@ type CarrierAccountUpdateData struct { // The resource's id Id interface{} `json:"id"` Attributes PATCHCarrierAccountsCarrierAccountId200ResponseDataAttributes `json:"attributes"` - Relationships *BillingInfoValidationRuleUpdateDataRelationships `json:"relationships,omitempty"` + Relationships *CarrierAccountCreateDataRelationships `json:"relationships,omitempty"` } // NewCarrierAccountUpdateData instantiates a new CarrierAccountUpdateData object @@ -125,9 +125,9 @@ func (o *CarrierAccountUpdateData) SetAttributes(v PATCHCarrierAccountsCarrierAc } // GetRelationships returns the Relationships field value if set, zero value otherwise. -func (o *CarrierAccountUpdateData) GetRelationships() BillingInfoValidationRuleUpdateDataRelationships { +func (o *CarrierAccountUpdateData) GetRelationships() CarrierAccountCreateDataRelationships { if o == nil || IsNil(o.Relationships) { - var ret BillingInfoValidationRuleUpdateDataRelationships + var ret CarrierAccountCreateDataRelationships return ret } return *o.Relationships @@ -135,7 +135,7 @@ func (o *CarrierAccountUpdateData) GetRelationships() BillingInfoValidationRuleU // GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CarrierAccountUpdateData) GetRelationshipsOk() (*BillingInfoValidationRuleUpdateDataRelationships, bool) { +func (o *CarrierAccountUpdateData) GetRelationshipsOk() (*CarrierAccountCreateDataRelationships, bool) { if o == nil || IsNil(o.Relationships) { return nil, false } @@ -151,8 +151,8 @@ func (o *CarrierAccountUpdateData) HasRelationships() bool { return false } -// SetRelationships gets a reference to the given BillingInfoValidationRuleUpdateDataRelationships and assigns it to the Relationships field. -func (o *CarrierAccountUpdateData) SetRelationships(v BillingInfoValidationRuleUpdateDataRelationships) { +// SetRelationships gets a reference to the given CarrierAccountCreateDataRelationships and assigns it to the Relationships field. +func (o *CarrierAccountUpdateData) SetRelationships(v CarrierAccountCreateDataRelationships) { o.Relationships = &v } diff --git a/api/model_checkout_com_gateway.go b/api/model_checkout_com_gateway.go index 468a49321..29aef99a0 100644 --- a/api/model_checkout_com_gateway.go +++ b/api/model_checkout_com_gateway.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_checkout_com_gateway_create.go b/api/model_checkout_com_gateway_create.go index f984831d9..62031650f 100644 --- a/api/model_checkout_com_gateway_create.go +++ b/api/model_checkout_com_gateway_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_checkout_com_gateway_create_data.go b/api/model_checkout_com_gateway_create_data.go index e93db979c..b80ddb400 100644 --- a/api/model_checkout_com_gateway_create_data.go +++ b/api/model_checkout_com_gateway_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_checkout_com_gateway_create_data_relationships.go b/api/model_checkout_com_gateway_create_data_relationships.go index 2a04c5916..cecbebe67 100644 --- a/api/model_checkout_com_gateway_create_data_relationships.go +++ b/api/model_checkout_com_gateway_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_checkout_com_gateway_create_data_relationships_checkout_com_payments.go b/api/model_checkout_com_gateway_create_data_relationships_checkout_com_payments.go index c5f5adead..6735db4ee 100644 --- a/api/model_checkout_com_gateway_create_data_relationships_checkout_com_payments.go +++ b/api/model_checkout_com_gateway_create_data_relationships_checkout_com_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_checkout_com_gateway_data.go b/api/model_checkout_com_gateway_data.go index a1af0829f..1136d51d0 100644 --- a/api/model_checkout_com_gateway_data.go +++ b/api/model_checkout_com_gateway_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_checkout_com_gateway_data_relationships.go b/api/model_checkout_com_gateway_data_relationships.go index d47b81497..22a428d9c 100644 --- a/api/model_checkout_com_gateway_data_relationships.go +++ b/api/model_checkout_com_gateway_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_checkout_com_gateway_data_relationships_checkout_com_payments.go b/api/model_checkout_com_gateway_data_relationships_checkout_com_payments.go index 87a445f1e..cff6662b5 100644 --- a/api/model_checkout_com_gateway_data_relationships_checkout_com_payments.go +++ b/api/model_checkout_com_gateway_data_relationships_checkout_com_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_checkout_com_gateway_data_relationships_checkout_com_payments_data.go b/api/model_checkout_com_gateway_data_relationships_checkout_com_payments_data.go index 4d8101903..92b7b964e 100644 --- a/api/model_checkout_com_gateway_data_relationships_checkout_com_payments_data.go +++ b/api/model_checkout_com_gateway_data_relationships_checkout_com_payments_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_checkout_com_gateway_update.go b/api/model_checkout_com_gateway_update.go index c23d26534..8fec56b66 100644 --- a/api/model_checkout_com_gateway_update.go +++ b/api/model_checkout_com_gateway_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_checkout_com_gateway_update_data.go b/api/model_checkout_com_gateway_update_data.go index 91064a3d9..6c2749583 100644 --- a/api/model_checkout_com_gateway_update_data.go +++ b/api/model_checkout_com_gateway_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_checkout_com_payment.go b/api/model_checkout_com_payment.go index f31554ccd..960fe513a 100644 --- a/api/model_checkout_com_payment.go +++ b/api/model_checkout_com_payment.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_checkout_com_payment_create.go b/api/model_checkout_com_payment_create.go index 9b10710e9..4e8d73a3d 100644 --- a/api/model_checkout_com_payment_create.go +++ b/api/model_checkout_com_payment_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_checkout_com_payment_create_data.go b/api/model_checkout_com_payment_create_data.go index 3480781ed..bc5ee40d3 100644 --- a/api/model_checkout_com_payment_create_data.go +++ b/api/model_checkout_com_payment_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_checkout_com_payment_data.go b/api/model_checkout_com_payment_data.go index 434deae90..473b8aa04 100644 --- a/api/model_checkout_com_payment_data.go +++ b/api/model_checkout_com_payment_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_checkout_com_payment_update.go b/api/model_checkout_com_payment_update.go index f9cac570c..27a0dc3f4 100644 --- a/api/model_checkout_com_payment_update.go +++ b/api/model_checkout_com_payment_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_checkout_com_payment_update_data.go b/api/model_checkout_com_payment_update_data.go index 158b8d497..1a5bffe6e 100644 --- a/api/model_checkout_com_payment_update_data.go +++ b/api/model_checkout_com_payment_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_cleanup.go b/api/model_cleanup.go index 69ee2477a..3ed456664 100644 --- a/api/model_cleanup.go +++ b/api/model_cleanup.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_cleanup_create.go b/api/model_cleanup_create.go index df5da9479..d61ce4556 100644 --- a/api/model_cleanup_create.go +++ b/api/model_cleanup_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_cleanup_create_data.go b/api/model_cleanup_create_data.go index 71f5aa061..1ef93cb13 100644 --- a/api/model_cleanup_create_data.go +++ b/api/model_cleanup_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_cleanup_data.go b/api/model_cleanup_data.go index 05a0dcaa2..cb6ee2a1f 100644 --- a/api/model_cleanup_data.go +++ b/api/model_cleanup_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_cleanup_data_relationships.go b/api/model_cleanup_data_relationships.go index 78d5e9c00..5ec057a39 100644 --- a/api/model_cleanup_data_relationships.go +++ b/api/model_cleanup_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_cleanup_update.go b/api/model_cleanup_update.go index bc5164764..668a7b3b3 100644 --- a/api/model_cleanup_update.go +++ b/api/model_cleanup_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_cleanup_update_data.go b/api/model_cleanup_update_data.go index 938e4ea59..9aa5a9230 100644 --- a/api/model_cleanup_update_data.go +++ b/api/model_cleanup_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -23,16 +23,16 @@ type CleanupUpdateData struct { // The resource's type Type interface{} `json:"type"` // The resource's id - Id interface{} `json:"id"` - Attributes PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes `json:"attributes"` - Relationships interface{} `json:"relationships,omitempty"` + Id interface{} `json:"id"` + Attributes PATCHCleanupsCleanupId200ResponseDataAttributes `json:"attributes"` + Relationships interface{} `json:"relationships,omitempty"` } // NewCleanupUpdateData instantiates a new CleanupUpdateData object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewCleanupUpdateData(type_ interface{}, id interface{}, attributes PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) *CleanupUpdateData { +func NewCleanupUpdateData(type_ interface{}, id interface{}, attributes PATCHCleanupsCleanupId200ResponseDataAttributes) *CleanupUpdateData { this := CleanupUpdateData{} this.Type = type_ this.Id = id @@ -101,9 +101,9 @@ func (o *CleanupUpdateData) SetId(v interface{}) { } // GetAttributes returns the Attributes field value -func (o *CleanupUpdateData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes { +func (o *CleanupUpdateData) GetAttributes() PATCHCleanupsCleanupId200ResponseDataAttributes { if o == nil { - var ret PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes + var ret PATCHCleanupsCleanupId200ResponseDataAttributes return ret } @@ -112,7 +112,7 @@ func (o *CleanupUpdateData) GetAttributes() PATCHBillingInfoValidationRulesBilli // GetAttributesOk returns a tuple with the Attributes field value // and a boolean to check if the value has been set. -func (o *CleanupUpdateData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool) { +func (o *CleanupUpdateData) GetAttributesOk() (*PATCHCleanupsCleanupId200ResponseDataAttributes, bool) { if o == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *CleanupUpdateData) GetAttributesOk() (*PATCHBillingInfoValidationRulesB } // SetAttributes sets field value -func (o *CleanupUpdateData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) { +func (o *CleanupUpdateData) SetAttributes(v PATCHCleanupsCleanupId200ResponseDataAttributes) { o.Attributes = v } diff --git a/api/model_coupon.go b/api/model_coupon.go index 6de4d1de9..622e80dce 100644 --- a/api/model_coupon.go +++ b/api/model_coupon.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_codes_promotion_rule.go b/api/model_coupon_codes_promotion_rule.go index ad81fad8c..8be025526 100644 --- a/api/model_coupon_codes_promotion_rule.go +++ b/api/model_coupon_codes_promotion_rule.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_codes_promotion_rule_create.go b/api/model_coupon_codes_promotion_rule_create.go index cde02bc1b..874cc5800 100644 --- a/api/model_coupon_codes_promotion_rule_create.go +++ b/api/model_coupon_codes_promotion_rule_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_codes_promotion_rule_create_data.go b/api/model_coupon_codes_promotion_rule_create_data.go index b1f4a3d54..ca62e6d0e 100644 --- a/api/model_coupon_codes_promotion_rule_create_data.go +++ b/api/model_coupon_codes_promotion_rule_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_codes_promotion_rule_create_data_relationships.go b/api/model_coupon_codes_promotion_rule_create_data_relationships.go index 3c93e06c2..6110f7d47 100644 --- a/api/model_coupon_codes_promotion_rule_create_data_relationships.go +++ b/api/model_coupon_codes_promotion_rule_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_codes_promotion_rule_create_data_relationships_coupons.go b/api/model_coupon_codes_promotion_rule_create_data_relationships_coupons.go index 2b21f8975..49d6a6a4d 100644 --- a/api/model_coupon_codes_promotion_rule_create_data_relationships_coupons.go +++ b/api/model_coupon_codes_promotion_rule_create_data_relationships_coupons.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_codes_promotion_rule_create_data_relationships_promotion.go b/api/model_coupon_codes_promotion_rule_create_data_relationships_promotion.go index b9d6127e8..07533bb61 100644 --- a/api/model_coupon_codes_promotion_rule_create_data_relationships_promotion.go +++ b/api/model_coupon_codes_promotion_rule_create_data_relationships_promotion.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_codes_promotion_rule_data.go b/api/model_coupon_codes_promotion_rule_data.go index 8af2edda3..c1c03ed24 100644 --- a/api/model_coupon_codes_promotion_rule_data.go +++ b/api/model_coupon_codes_promotion_rule_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_codes_promotion_rule_data_relationships.go b/api/model_coupon_codes_promotion_rule_data_relationships.go index 4be162886..e0e4b09d1 100644 --- a/api/model_coupon_codes_promotion_rule_data_relationships.go +++ b/api/model_coupon_codes_promotion_rule_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_codes_promotion_rule_data_relationships_promotion.go b/api/model_coupon_codes_promotion_rule_data_relationships_promotion.go index d7ccb51b1..3626265ba 100644 --- a/api/model_coupon_codes_promotion_rule_data_relationships_promotion.go +++ b/api/model_coupon_codes_promotion_rule_data_relationships_promotion.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_codes_promotion_rule_data_relationships_promotion_data.go b/api/model_coupon_codes_promotion_rule_data_relationships_promotion_data.go index 27cdd9668..b1128c830 100644 --- a/api/model_coupon_codes_promotion_rule_data_relationships_promotion_data.go +++ b/api/model_coupon_codes_promotion_rule_data_relationships_promotion_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_codes_promotion_rule_update.go b/api/model_coupon_codes_promotion_rule_update.go index 8c6a65cce..f14934fd8 100644 --- a/api/model_coupon_codes_promotion_rule_update.go +++ b/api/model_coupon_codes_promotion_rule_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_codes_promotion_rule_update_data.go b/api/model_coupon_codes_promotion_rule_update_data.go index cd746266f..d567bf4b6 100644 --- a/api/model_coupon_codes_promotion_rule_update_data.go +++ b/api/model_coupon_codes_promotion_rule_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -23,16 +23,16 @@ type CouponCodesPromotionRuleUpdateData struct { // The resource's type Type interface{} `json:"type"` // The resource's id - Id interface{} `json:"id"` - Attributes PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes `json:"attributes"` - Relationships *CouponCodesPromotionRuleUpdateDataRelationships `json:"relationships,omitempty"` + Id interface{} `json:"id"` + Attributes PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes `json:"attributes"` + Relationships *CouponCodesPromotionRuleUpdateDataRelationships `json:"relationships,omitempty"` } // NewCouponCodesPromotionRuleUpdateData instantiates a new CouponCodesPromotionRuleUpdateData object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewCouponCodesPromotionRuleUpdateData(type_ interface{}, id interface{}, attributes PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) *CouponCodesPromotionRuleUpdateData { +func NewCouponCodesPromotionRuleUpdateData(type_ interface{}, id interface{}, attributes PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) *CouponCodesPromotionRuleUpdateData { this := CouponCodesPromotionRuleUpdateData{} this.Type = type_ this.Id = id @@ -101,9 +101,9 @@ func (o *CouponCodesPromotionRuleUpdateData) SetId(v interface{}) { } // GetAttributes returns the Attributes field value -func (o *CouponCodesPromotionRuleUpdateData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes { +func (o *CouponCodesPromotionRuleUpdateData) GetAttributes() PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes { if o == nil { - var ret PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes + var ret PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes return ret } @@ -112,7 +112,7 @@ func (o *CouponCodesPromotionRuleUpdateData) GetAttributes() PATCHBillingInfoVal // GetAttributesOk returns a tuple with the Attributes field value // and a boolean to check if the value has been set. -func (o *CouponCodesPromotionRuleUpdateData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool) { +func (o *CouponCodesPromotionRuleUpdateData) GetAttributesOk() (*PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes, bool) { if o == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *CouponCodesPromotionRuleUpdateData) GetAttributesOk() (*PATCHBillingInf } // SetAttributes sets field value -func (o *CouponCodesPromotionRuleUpdateData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) { +func (o *CouponCodesPromotionRuleUpdateData) SetAttributes(v PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) { o.Attributes = v } diff --git a/api/model_coupon_codes_promotion_rule_update_data_relationships.go b/api/model_coupon_codes_promotion_rule_update_data_relationships.go index 2a14ed1b8..8f1825450 100644 --- a/api/model_coupon_codes_promotion_rule_update_data_relationships.go +++ b/api/model_coupon_codes_promotion_rule_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_create.go b/api/model_coupon_create.go index 8340c132b..5030e2ce5 100644 --- a/api/model_coupon_create.go +++ b/api/model_coupon_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_create_data.go b/api/model_coupon_create_data.go index 3a9d72051..ef3a5a103 100644 --- a/api/model_coupon_create_data.go +++ b/api/model_coupon_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_create_data_relationships.go b/api/model_coupon_create_data_relationships.go index c67ef7ad6..9a1e6a031 100644 --- a/api/model_coupon_create_data_relationships.go +++ b/api/model_coupon_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_create_data_relationships_coupon_recipient.go b/api/model_coupon_create_data_relationships_coupon_recipient.go index 218ccb7e8..a5b981619 100644 --- a/api/model_coupon_create_data_relationships_coupon_recipient.go +++ b/api/model_coupon_create_data_relationships_coupon_recipient.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_data.go b/api/model_coupon_data.go index 56bb94261..7b05a640f 100644 --- a/api/model_coupon_data.go +++ b/api/model_coupon_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_data_relationships.go b/api/model_coupon_data_relationships.go index 9d7eef79c..8eab6e574 100644 --- a/api/model_coupon_data_relationships.go +++ b/api/model_coupon_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_data_relationships_coupon_recipient.go b/api/model_coupon_data_relationships_coupon_recipient.go index af02e4178..bcd496494 100644 --- a/api/model_coupon_data_relationships_coupon_recipient.go +++ b/api/model_coupon_data_relationships_coupon_recipient.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_data_relationships_coupon_recipient_data.go b/api/model_coupon_data_relationships_coupon_recipient_data.go index d7dfb290b..e8280f5c0 100644 --- a/api/model_coupon_data_relationships_coupon_recipient_data.go +++ b/api/model_coupon_data_relationships_coupon_recipient_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_recipient.go b/api/model_coupon_recipient.go index 9b04f493d..f9e6e5e9f 100644 --- a/api/model_coupon_recipient.go +++ b/api/model_coupon_recipient.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_recipient_create.go b/api/model_coupon_recipient_create.go index c34ca875b..22d1ef58d 100644 --- a/api/model_coupon_recipient_create.go +++ b/api/model_coupon_recipient_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_recipient_create_data.go b/api/model_coupon_recipient_create_data.go index a88dc6c28..2b992b2cb 100644 --- a/api/model_coupon_recipient_create_data.go +++ b/api/model_coupon_recipient_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_recipient_create_data_relationships.go b/api/model_coupon_recipient_create_data_relationships.go index 1e3e7ecce..57b80e890 100644 --- a/api/model_coupon_recipient_create_data_relationships.go +++ b/api/model_coupon_recipient_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_recipient_create_data_relationships_customer.go b/api/model_coupon_recipient_create_data_relationships_customer.go index 6616c4b5a..3be4b91c9 100644 --- a/api/model_coupon_recipient_create_data_relationships_customer.go +++ b/api/model_coupon_recipient_create_data_relationships_customer.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_recipient_data.go b/api/model_coupon_recipient_data.go index 773e6bd3f..e2fbd2ad9 100644 --- a/api/model_coupon_recipient_data.go +++ b/api/model_coupon_recipient_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_recipient_data_relationships.go b/api/model_coupon_recipient_data_relationships.go index ff9042d27..8a6341636 100644 --- a/api/model_coupon_recipient_data_relationships.go +++ b/api/model_coupon_recipient_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_recipient_data_relationships_customer.go b/api/model_coupon_recipient_data_relationships_customer.go index 2dfa81c21..a881e9983 100644 --- a/api/model_coupon_recipient_data_relationships_customer.go +++ b/api/model_coupon_recipient_data_relationships_customer.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_recipient_data_relationships_customer_data.go b/api/model_coupon_recipient_data_relationships_customer_data.go index 61e5b916c..09de17e1e 100644 --- a/api/model_coupon_recipient_data_relationships_customer_data.go +++ b/api/model_coupon_recipient_data_relationships_customer_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_recipient_update.go b/api/model_coupon_recipient_update.go index 2380420c9..7ef743c96 100644 --- a/api/model_coupon_recipient_update.go +++ b/api/model_coupon_recipient_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_recipient_update_data.go b/api/model_coupon_recipient_update_data.go index 04407f185..6a7a9fd9d 100644 --- a/api/model_coupon_recipient_update_data.go +++ b/api/model_coupon_recipient_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_update.go b/api/model_coupon_update.go index 83f3923c2..4de0e7800 100644 --- a/api/model_coupon_update.go +++ b/api/model_coupon_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_update_data.go b/api/model_coupon_update_data.go index 775774900..de0a57e43 100644 --- a/api/model_coupon_update_data.go +++ b/api/model_coupon_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_coupon_update_data_relationships.go b/api/model_coupon_update_data_relationships.go index d742c0e7f..60e4bee53 100644 --- a/api/model_coupon_update_data_relationships.go +++ b/api/model_coupon_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_custom_promotion_rule.go b/api/model_custom_promotion_rule.go index bd01d4523..505e1d756 100644 --- a/api/model_custom_promotion_rule.go +++ b/api/model_custom_promotion_rule.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_custom_promotion_rule_create.go b/api/model_custom_promotion_rule_create.go index 4a711b4b3..d26f401cc 100644 --- a/api/model_custom_promotion_rule_create.go +++ b/api/model_custom_promotion_rule_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_custom_promotion_rule_create_data.go b/api/model_custom_promotion_rule_create_data.go index 69f245f3b..15a4a8090 100644 --- a/api/model_custom_promotion_rule_create_data.go +++ b/api/model_custom_promotion_rule_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_custom_promotion_rule_create_data_relationships.go b/api/model_custom_promotion_rule_create_data_relationships.go index 08aae7ac1..2d979a3b6 100644 --- a/api/model_custom_promotion_rule_create_data_relationships.go +++ b/api/model_custom_promotion_rule_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_custom_promotion_rule_data.go b/api/model_custom_promotion_rule_data.go index 467d1237a..809017c77 100644 --- a/api/model_custom_promotion_rule_data.go +++ b/api/model_custom_promotion_rule_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_custom_promotion_rule_data_relationships.go b/api/model_custom_promotion_rule_data_relationships.go index 2bb618292..4cc3c0758 100644 --- a/api/model_custom_promotion_rule_data_relationships.go +++ b/api/model_custom_promotion_rule_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_custom_promotion_rule_update.go b/api/model_custom_promotion_rule_update.go index 49d856e12..56fbabc10 100644 --- a/api/model_custom_promotion_rule_update.go +++ b/api/model_custom_promotion_rule_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_custom_promotion_rule_update_data.go b/api/model_custom_promotion_rule_update_data.go index 66f17c092..9743a0ad9 100644 --- a/api/model_custom_promotion_rule_update_data.go +++ b/api/model_custom_promotion_rule_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_custom_promotion_rule_update_data_relationships.go b/api/model_custom_promotion_rule_update_data_relationships.go index 12a9ef007..bfb918f42 100644 --- a/api/model_custom_promotion_rule_update_data_relationships.go +++ b/api/model_custom_promotion_rule_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer.go b/api/model_customer.go index 5aae16111..8838a0618 100644 --- a/api/model_customer.go +++ b/api/model_customer.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_address.go b/api/model_customer_address.go index 2e81e3640..8dae41379 100644 --- a/api/model_customer_address.go +++ b/api/model_customer_address.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_address_create.go b/api/model_customer_address_create.go index 5e1ec1668..e72c4386e 100644 --- a/api/model_customer_address_create.go +++ b/api/model_customer_address_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_address_create_data.go b/api/model_customer_address_create_data.go index d3d8d5a91..420b614f1 100644 --- a/api/model_customer_address_create_data.go +++ b/api/model_customer_address_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_address_create_data_relationships.go b/api/model_customer_address_create_data_relationships.go index 9e1a49bb5..98859d8b4 100644 --- a/api/model_customer_address_create_data_relationships.go +++ b/api/model_customer_address_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_address_create_data_relationships_address.go b/api/model_customer_address_create_data_relationships_address.go index a6d718850..027ec0e05 100644 --- a/api/model_customer_address_create_data_relationships_address.go +++ b/api/model_customer_address_create_data_relationships_address.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_address_data.go b/api/model_customer_address_data.go index e9a5c0aa8..435606612 100644 --- a/api/model_customer_address_data.go +++ b/api/model_customer_address_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_address_data_relationships.go b/api/model_customer_address_data_relationships.go index debac9f7b..0b5605efc 100644 --- a/api/model_customer_address_data_relationships.go +++ b/api/model_customer_address_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_address_update.go b/api/model_customer_address_update.go index 64c87f153..9a9554a3f 100644 --- a/api/model_customer_address_update.go +++ b/api/model_customer_address_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_address_update_data.go b/api/model_customer_address_update_data.go index 485e97c0f..fc2264466 100644 --- a/api/model_customer_address_update_data.go +++ b/api/model_customer_address_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -23,16 +23,16 @@ type CustomerAddressUpdateData struct { // The resource's type Type interface{} `json:"type"` // The resource's id - Id interface{} `json:"id"` - Attributes PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes `json:"attributes"` - Relationships *CustomerAddressUpdateDataRelationships `json:"relationships,omitempty"` + Id interface{} `json:"id"` + Attributes PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes `json:"attributes"` + Relationships *CustomerAddressUpdateDataRelationships `json:"relationships,omitempty"` } // NewCustomerAddressUpdateData instantiates a new CustomerAddressUpdateData object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewCustomerAddressUpdateData(type_ interface{}, id interface{}, attributes PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) *CustomerAddressUpdateData { +func NewCustomerAddressUpdateData(type_ interface{}, id interface{}, attributes PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) *CustomerAddressUpdateData { this := CustomerAddressUpdateData{} this.Type = type_ this.Id = id @@ -101,9 +101,9 @@ func (o *CustomerAddressUpdateData) SetId(v interface{}) { } // GetAttributes returns the Attributes field value -func (o *CustomerAddressUpdateData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes { +func (o *CustomerAddressUpdateData) GetAttributes() PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes { if o == nil { - var ret PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes + var ret PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes return ret } @@ -112,7 +112,7 @@ func (o *CustomerAddressUpdateData) GetAttributes() PATCHBillingInfoValidationRu // GetAttributesOk returns a tuple with the Attributes field value // and a boolean to check if the value has been set. -func (o *CustomerAddressUpdateData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool) { +func (o *CustomerAddressUpdateData) GetAttributesOk() (*PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes, bool) { if o == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *CustomerAddressUpdateData) GetAttributesOk() (*PATCHBillingInfoValidati } // SetAttributes sets field value -func (o *CustomerAddressUpdateData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) { +func (o *CustomerAddressUpdateData) SetAttributes(v PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) { o.Attributes = v } diff --git a/api/model_customer_address_update_data_relationships.go b/api/model_customer_address_update_data_relationships.go index c966b87b0..02c7519ea 100644 --- a/api/model_customer_address_update_data_relationships.go +++ b/api/model_customer_address_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_create.go b/api/model_customer_create.go index dada38449..9bf686048 100644 --- a/api/model_customer_create.go +++ b/api/model_customer_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_create_data.go b/api/model_customer_create_data.go index 1651d0c20..715d04d01 100644 --- a/api/model_customer_create_data.go +++ b/api/model_customer_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_create_data_relationships.go b/api/model_customer_create_data_relationships.go index eb8a17f68..abca29786 100644 --- a/api/model_customer_create_data_relationships.go +++ b/api/model_customer_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_create_data_relationships_customer_group.go b/api/model_customer_create_data_relationships_customer_group.go index 7a9c02223..ab163eee4 100644 --- a/api/model_customer_create_data_relationships_customer_group.go +++ b/api/model_customer_create_data_relationships_customer_group.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_data.go b/api/model_customer_data.go index f04e306c0..7984a73da 100644 --- a/api/model_customer_data.go +++ b/api/model_customer_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_data_relationships.go b/api/model_customer_data_relationships.go index 2bc64cd3b..3229becb1 100644 --- a/api/model_customer_data_relationships.go +++ b/api/model_customer_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_data_relationships_customer_addresses.go b/api/model_customer_data_relationships_customer_addresses.go index 68ac4df4a..de81f5220 100644 --- a/api/model_customer_data_relationships_customer_addresses.go +++ b/api/model_customer_data_relationships_customer_addresses.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_data_relationships_customer_addresses_data.go b/api/model_customer_data_relationships_customer_addresses_data.go index 7f1ce3695..45c4503f6 100644 --- a/api/model_customer_data_relationships_customer_addresses_data.go +++ b/api/model_customer_data_relationships_customer_addresses_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_data_relationships_customer_group.go b/api/model_customer_data_relationships_customer_group.go index 3cf461125..49a13a270 100644 --- a/api/model_customer_data_relationships_customer_group.go +++ b/api/model_customer_data_relationships_customer_group.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_data_relationships_customer_group_data.go b/api/model_customer_data_relationships_customer_group_data.go index acd4d43f3..b7096f7ed 100644 --- a/api/model_customer_data_relationships_customer_group_data.go +++ b/api/model_customer_data_relationships_customer_group_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_data_relationships_customer_payment_sources.go b/api/model_customer_data_relationships_customer_payment_sources.go index f3ccac96c..3e0ce6059 100644 --- a/api/model_customer_data_relationships_customer_payment_sources.go +++ b/api/model_customer_data_relationships_customer_payment_sources.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_data_relationships_customer_payment_sources_data.go b/api/model_customer_data_relationships_customer_payment_sources_data.go index b0dc56fab..b68fe510c 100644 --- a/api/model_customer_data_relationships_customer_payment_sources_data.go +++ b/api/model_customer_data_relationships_customer_payment_sources_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_data_relationships_customer_subscriptions.go b/api/model_customer_data_relationships_customer_subscriptions.go index 6fd0ee8c1..bd4af9871 100644 --- a/api/model_customer_data_relationships_customer_subscriptions.go +++ b/api/model_customer_data_relationships_customer_subscriptions.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_data_relationships_customer_subscriptions_data.go b/api/model_customer_data_relationships_customer_subscriptions_data.go index bf66a371a..5402db5ee 100644 --- a/api/model_customer_data_relationships_customer_subscriptions_data.go +++ b/api/model_customer_data_relationships_customer_subscriptions_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_data_relationships_order_subscriptions.go b/api/model_customer_data_relationships_order_subscriptions.go index f6a975985..2c9f4604c 100644 --- a/api/model_customer_data_relationships_order_subscriptions.go +++ b/api/model_customer_data_relationships_order_subscriptions.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_data_relationships_order_subscriptions_data.go b/api/model_customer_data_relationships_order_subscriptions_data.go index 0d57af6a0..36a7e6e3b 100644 --- a/api/model_customer_data_relationships_order_subscriptions_data.go +++ b/api/model_customer_data_relationships_order_subscriptions_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_group.go b/api/model_customer_group.go index c4ee176cb..be9203b8e 100644 --- a/api/model_customer_group.go +++ b/api/model_customer_group.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_group_create.go b/api/model_customer_group_create.go index f6c079e77..a1f9090a9 100644 --- a/api/model_customer_group_create.go +++ b/api/model_customer_group_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_group_create_data.go b/api/model_customer_group_create_data.go index 3e49d3061..381b61e8f 100644 --- a/api/model_customer_group_create_data.go +++ b/api/model_customer_group_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_group_data.go b/api/model_customer_group_data.go index f11367788..b518d2d65 100644 --- a/api/model_customer_group_data.go +++ b/api/model_customer_group_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_group_data_relationships.go b/api/model_customer_group_data_relationships.go index 6890303cb..e8e022b67 100644 --- a/api/model_customer_group_data_relationships.go +++ b/api/model_customer_group_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_group_update.go b/api/model_customer_group_update.go index 0a004d507..a45833707 100644 --- a/api/model_customer_group_update.go +++ b/api/model_customer_group_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_group_update_data.go b/api/model_customer_group_update_data.go index e2a431b82..3385f4c8e 100644 --- a/api/model_customer_group_update_data.go +++ b/api/model_customer_group_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_password_reset.go b/api/model_customer_password_reset.go index 903279516..45390ae6b 100644 --- a/api/model_customer_password_reset.go +++ b/api/model_customer_password_reset.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_password_reset_create.go b/api/model_customer_password_reset_create.go index c380ccdb0..a3e0f0dd1 100644 --- a/api/model_customer_password_reset_create.go +++ b/api/model_customer_password_reset_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_password_reset_create_data.go b/api/model_customer_password_reset_create_data.go index 771df07ae..595d5ae1c 100644 --- a/api/model_customer_password_reset_create_data.go +++ b/api/model_customer_password_reset_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_password_reset_data.go b/api/model_customer_password_reset_data.go index eab4677e4..32d14a255 100644 --- a/api/model_customer_password_reset_data.go +++ b/api/model_customer_password_reset_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_password_reset_data_relationships.go b/api/model_customer_password_reset_data_relationships.go index b08ffbced..9543933c1 100644 --- a/api/model_customer_password_reset_data_relationships.go +++ b/api/model_customer_password_reset_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_password_reset_update.go b/api/model_customer_password_reset_update.go index ccf2f8f42..568f96240 100644 --- a/api/model_customer_password_reset_update.go +++ b/api/model_customer_password_reset_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_password_reset_update_data.go b/api/model_customer_password_reset_update_data.go index 119ec0dd4..64b10b5b3 100644 --- a/api/model_customer_password_reset_update_data.go +++ b/api/model_customer_password_reset_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_payment_source.go b/api/model_customer_payment_source.go index e7206fc3c..8cb960630 100644 --- a/api/model_customer_payment_source.go +++ b/api/model_customer_payment_source.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_payment_source_create.go b/api/model_customer_payment_source_create.go index 81d6e32f0..818ee977a 100644 --- a/api/model_customer_payment_source_create.go +++ b/api/model_customer_payment_source_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_payment_source_create_data.go b/api/model_customer_payment_source_create_data.go index 13cd8085c..99b594b24 100644 --- a/api/model_customer_payment_source_create_data.go +++ b/api/model_customer_payment_source_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_payment_source_create_data_relationships.go b/api/model_customer_payment_source_create_data_relationships.go index cf2a38774..34e64e3fd 100644 --- a/api/model_customer_payment_source_create_data_relationships.go +++ b/api/model_customer_payment_source_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_payment_source_create_data_relationships_payment_method.go b/api/model_customer_payment_source_create_data_relationships_payment_method.go index 09e770c63..374a482fe 100644 --- a/api/model_customer_payment_source_create_data_relationships_payment_method.go +++ b/api/model_customer_payment_source_create_data_relationships_payment_method.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_payment_source_create_data_relationships_payment_source.go b/api/model_customer_payment_source_create_data_relationships_payment_source.go index 5afc1ba6c..058921524 100644 --- a/api/model_customer_payment_source_create_data_relationships_payment_source.go +++ b/api/model_customer_payment_source_create_data_relationships_payment_source.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,14 +20,14 @@ var _ MappedNullable = &CustomerPaymentSourceCreateDataRelationshipsPaymentSourc // CustomerPaymentSourceCreateDataRelationshipsPaymentSource struct for CustomerPaymentSourceCreateDataRelationshipsPaymentSource type CustomerPaymentSourceCreateDataRelationshipsPaymentSource struct { - Data CustomerPaymentSourceDataRelationshipsPaymentSourceData `json:"data"` + Data AuthorizationDataRelationshipsPaymentSourceData `json:"data"` } // NewCustomerPaymentSourceCreateDataRelationshipsPaymentSource instantiates a new CustomerPaymentSourceCreateDataRelationshipsPaymentSource object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewCustomerPaymentSourceCreateDataRelationshipsPaymentSource(data CustomerPaymentSourceDataRelationshipsPaymentSourceData) *CustomerPaymentSourceCreateDataRelationshipsPaymentSource { +func NewCustomerPaymentSourceCreateDataRelationshipsPaymentSource(data AuthorizationDataRelationshipsPaymentSourceData) *CustomerPaymentSourceCreateDataRelationshipsPaymentSource { this := CustomerPaymentSourceCreateDataRelationshipsPaymentSource{} this.Data = data return &this @@ -42,9 +42,9 @@ func NewCustomerPaymentSourceCreateDataRelationshipsPaymentSourceWithDefaults() } // GetData returns the Data field value -func (o *CustomerPaymentSourceCreateDataRelationshipsPaymentSource) GetData() CustomerPaymentSourceDataRelationshipsPaymentSourceData { +func (o *CustomerPaymentSourceCreateDataRelationshipsPaymentSource) GetData() AuthorizationDataRelationshipsPaymentSourceData { if o == nil { - var ret CustomerPaymentSourceDataRelationshipsPaymentSourceData + var ret AuthorizationDataRelationshipsPaymentSourceData return ret } @@ -53,7 +53,7 @@ func (o *CustomerPaymentSourceCreateDataRelationshipsPaymentSource) GetData() Cu // GetDataOk returns a tuple with the Data field value // and a boolean to check if the value has been set. -func (o *CustomerPaymentSourceCreateDataRelationshipsPaymentSource) GetDataOk() (*CustomerPaymentSourceDataRelationshipsPaymentSourceData, bool) { +func (o *CustomerPaymentSourceCreateDataRelationshipsPaymentSource) GetDataOk() (*AuthorizationDataRelationshipsPaymentSourceData, bool) { if o == nil { return nil, false } @@ -61,7 +61,7 @@ func (o *CustomerPaymentSourceCreateDataRelationshipsPaymentSource) GetDataOk() } // SetData sets field value -func (o *CustomerPaymentSourceCreateDataRelationshipsPaymentSource) SetData(v CustomerPaymentSourceDataRelationshipsPaymentSourceData) { +func (o *CustomerPaymentSourceCreateDataRelationshipsPaymentSource) SetData(v AuthorizationDataRelationshipsPaymentSourceData) { o.Data = v } diff --git a/api/model_customer_payment_source_data.go b/api/model_customer_payment_source_data.go index 81345eba9..84d385837 100644 --- a/api/model_customer_payment_source_data.go +++ b/api/model_customer_payment_source_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_payment_source_data_relationships.go b/api/model_customer_payment_source_data_relationships.go index cecdc0f2d..07b2081f0 100644 --- a/api/model_customer_payment_source_data_relationships.go +++ b/api/model_customer_payment_source_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,10 +20,10 @@ var _ MappedNullable = &CustomerPaymentSourceDataRelationships{} // CustomerPaymentSourceDataRelationships struct for CustomerPaymentSourceDataRelationships type CustomerPaymentSourceDataRelationships struct { - Customer *CouponRecipientDataRelationshipsCustomer `json:"customer,omitempty"` - PaymentMethod *AdyenGatewayDataRelationshipsPaymentMethods `json:"payment_method,omitempty"` - PaymentSource *CustomerPaymentSourceDataRelationshipsPaymentSource `json:"payment_source,omitempty"` - Versions *AddressDataRelationshipsVersions `json:"versions,omitempty"` + Customer *CouponRecipientDataRelationshipsCustomer `json:"customer,omitempty"` + PaymentMethod *AdyenGatewayDataRelationshipsPaymentMethods `json:"payment_method,omitempty"` + PaymentSource *AuthorizationDataRelationshipsPaymentSource `json:"payment_source,omitempty"` + Versions *AddressDataRelationshipsVersions `json:"versions,omitempty"` } // NewCustomerPaymentSourceDataRelationships instantiates a new CustomerPaymentSourceDataRelationships object @@ -108,9 +108,9 @@ func (o *CustomerPaymentSourceDataRelationships) SetPaymentMethod(v AdyenGateway } // GetPaymentSource returns the PaymentSource field value if set, zero value otherwise. -func (o *CustomerPaymentSourceDataRelationships) GetPaymentSource() CustomerPaymentSourceDataRelationshipsPaymentSource { +func (o *CustomerPaymentSourceDataRelationships) GetPaymentSource() AuthorizationDataRelationshipsPaymentSource { if o == nil || IsNil(o.PaymentSource) { - var ret CustomerPaymentSourceDataRelationshipsPaymentSource + var ret AuthorizationDataRelationshipsPaymentSource return ret } return *o.PaymentSource @@ -118,7 +118,7 @@ func (o *CustomerPaymentSourceDataRelationships) GetPaymentSource() CustomerPaym // GetPaymentSourceOk returns a tuple with the PaymentSource field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CustomerPaymentSourceDataRelationships) GetPaymentSourceOk() (*CustomerPaymentSourceDataRelationshipsPaymentSource, bool) { +func (o *CustomerPaymentSourceDataRelationships) GetPaymentSourceOk() (*AuthorizationDataRelationshipsPaymentSource, bool) { if o == nil || IsNil(o.PaymentSource) { return nil, false } @@ -134,8 +134,8 @@ func (o *CustomerPaymentSourceDataRelationships) HasPaymentSource() bool { return false } -// SetPaymentSource gets a reference to the given CustomerPaymentSourceDataRelationshipsPaymentSource and assigns it to the PaymentSource field. -func (o *CustomerPaymentSourceDataRelationships) SetPaymentSource(v CustomerPaymentSourceDataRelationshipsPaymentSource) { +// SetPaymentSource gets a reference to the given AuthorizationDataRelationshipsPaymentSource and assigns it to the PaymentSource field. +func (o *CustomerPaymentSourceDataRelationships) SetPaymentSource(v AuthorizationDataRelationshipsPaymentSource) { o.PaymentSource = &v } diff --git a/api/model_customer_payment_source_data_relationships_payment_source.go b/api/model_customer_payment_source_data_relationships_payment_source.go deleted file mode 100644 index 4110d8c13..000000000 --- a/api/model_customer_payment_source_data_relationships_payment_source.go +++ /dev/null @@ -1,125 +0,0 @@ -/* -Commerce Layer API - -Headless Commerce for Global Brands. - -API version: 7.3.1 -Contact: support@commercelayer.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api - -import ( - "encoding/json" -) - -// checks if the CustomerPaymentSourceDataRelationshipsPaymentSource type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &CustomerPaymentSourceDataRelationshipsPaymentSource{} - -// CustomerPaymentSourceDataRelationshipsPaymentSource struct for CustomerPaymentSourceDataRelationshipsPaymentSource -type CustomerPaymentSourceDataRelationshipsPaymentSource struct { - Data *CustomerPaymentSourceDataRelationshipsPaymentSourceData `json:"data,omitempty"` -} - -// NewCustomerPaymentSourceDataRelationshipsPaymentSource instantiates a new CustomerPaymentSourceDataRelationshipsPaymentSource object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewCustomerPaymentSourceDataRelationshipsPaymentSource() *CustomerPaymentSourceDataRelationshipsPaymentSource { - this := CustomerPaymentSourceDataRelationshipsPaymentSource{} - return &this -} - -// NewCustomerPaymentSourceDataRelationshipsPaymentSourceWithDefaults instantiates a new CustomerPaymentSourceDataRelationshipsPaymentSource object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewCustomerPaymentSourceDataRelationshipsPaymentSourceWithDefaults() *CustomerPaymentSourceDataRelationshipsPaymentSource { - this := CustomerPaymentSourceDataRelationshipsPaymentSource{} - return &this -} - -// GetData returns the Data field value if set, zero value otherwise. -func (o *CustomerPaymentSourceDataRelationshipsPaymentSource) GetData() CustomerPaymentSourceDataRelationshipsPaymentSourceData { - if o == nil || IsNil(o.Data) { - var ret CustomerPaymentSourceDataRelationshipsPaymentSourceData - return ret - } - return *o.Data -} - -// GetDataOk returns a tuple with the Data field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CustomerPaymentSourceDataRelationshipsPaymentSource) GetDataOk() (*CustomerPaymentSourceDataRelationshipsPaymentSourceData, bool) { - if o == nil || IsNil(o.Data) { - return nil, false - } - return o.Data, true -} - -// HasData returns a boolean if a field has been set. -func (o *CustomerPaymentSourceDataRelationshipsPaymentSource) HasData() bool { - if o != nil && !IsNil(o.Data) { - return true - } - - return false -} - -// SetData gets a reference to the given CustomerPaymentSourceDataRelationshipsPaymentSourceData and assigns it to the Data field. -func (o *CustomerPaymentSourceDataRelationshipsPaymentSource) SetData(v CustomerPaymentSourceDataRelationshipsPaymentSourceData) { - o.Data = &v -} - -func (o CustomerPaymentSourceDataRelationshipsPaymentSource) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o CustomerPaymentSourceDataRelationshipsPaymentSource) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !IsNil(o.Data) { - toSerialize["data"] = o.Data - } - return toSerialize, nil -} - -type NullableCustomerPaymentSourceDataRelationshipsPaymentSource struct { - value *CustomerPaymentSourceDataRelationshipsPaymentSource - isSet bool -} - -func (v NullableCustomerPaymentSourceDataRelationshipsPaymentSource) Get() *CustomerPaymentSourceDataRelationshipsPaymentSource { - return v.value -} - -func (v *NullableCustomerPaymentSourceDataRelationshipsPaymentSource) Set(val *CustomerPaymentSourceDataRelationshipsPaymentSource) { - v.value = val - v.isSet = true -} - -func (v NullableCustomerPaymentSourceDataRelationshipsPaymentSource) IsSet() bool { - return v.isSet -} - -func (v *NullableCustomerPaymentSourceDataRelationshipsPaymentSource) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableCustomerPaymentSourceDataRelationshipsPaymentSource(val *CustomerPaymentSourceDataRelationshipsPaymentSource) *NullableCustomerPaymentSourceDataRelationshipsPaymentSource { - return &NullableCustomerPaymentSourceDataRelationshipsPaymentSource{value: val, isSet: true} -} - -func (v NullableCustomerPaymentSourceDataRelationshipsPaymentSource) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableCustomerPaymentSourceDataRelationshipsPaymentSource) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/api/model_customer_payment_source_data_relationships_payment_source_data.go b/api/model_customer_payment_source_data_relationships_payment_source_data.go deleted file mode 100644 index a7a57ba5f..000000000 --- a/api/model_customer_payment_source_data_relationships_payment_source_data.go +++ /dev/null @@ -1,165 +0,0 @@ -/* -Commerce Layer API - -Headless Commerce for Global Brands. - -API version: 7.3.1 -Contact: support@commercelayer.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api - -import ( - "encoding/json" -) - -// checks if the CustomerPaymentSourceDataRelationshipsPaymentSourceData type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &CustomerPaymentSourceDataRelationshipsPaymentSourceData{} - -// CustomerPaymentSourceDataRelationshipsPaymentSourceData struct for CustomerPaymentSourceDataRelationshipsPaymentSourceData -type CustomerPaymentSourceDataRelationshipsPaymentSourceData struct { - // The resource's type - Type interface{} `json:"type,omitempty"` - // The resource's id - Id interface{} `json:"id,omitempty"` -} - -// NewCustomerPaymentSourceDataRelationshipsPaymentSourceData instantiates a new CustomerPaymentSourceDataRelationshipsPaymentSourceData object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewCustomerPaymentSourceDataRelationshipsPaymentSourceData() *CustomerPaymentSourceDataRelationshipsPaymentSourceData { - this := CustomerPaymentSourceDataRelationshipsPaymentSourceData{} - return &this -} - -// NewCustomerPaymentSourceDataRelationshipsPaymentSourceDataWithDefaults instantiates a new CustomerPaymentSourceDataRelationshipsPaymentSourceData object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewCustomerPaymentSourceDataRelationshipsPaymentSourceDataWithDefaults() *CustomerPaymentSourceDataRelationshipsPaymentSourceData { - this := CustomerPaymentSourceDataRelationshipsPaymentSourceData{} - return &this -} - -// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *CustomerPaymentSourceDataRelationshipsPaymentSourceData) GetType() interface{} { - if o == nil { - var ret interface{} - return ret - } - return o.Type -} - -// GetTypeOk returns a tuple with the Type field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *CustomerPaymentSourceDataRelationshipsPaymentSourceData) GetTypeOk() (*interface{}, bool) { - if o == nil || IsNil(o.Type) { - return nil, false - } - return &o.Type, true -} - -// HasType returns a boolean if a field has been set. -func (o *CustomerPaymentSourceDataRelationshipsPaymentSourceData) HasType() bool { - if o != nil && IsNil(o.Type) { - return true - } - - return false -} - -// SetType gets a reference to the given interface{} and assigns it to the Type field. -func (o *CustomerPaymentSourceDataRelationshipsPaymentSourceData) SetType(v interface{}) { - o.Type = v -} - -// GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *CustomerPaymentSourceDataRelationshipsPaymentSourceData) GetId() interface{} { - if o == nil { - var ret interface{} - return ret - } - return o.Id -} - -// GetIdOk returns a tuple with the Id field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *CustomerPaymentSourceDataRelationshipsPaymentSourceData) GetIdOk() (*interface{}, bool) { - if o == nil || IsNil(o.Id) { - return nil, false - } - return &o.Id, true -} - -// HasId returns a boolean if a field has been set. -func (o *CustomerPaymentSourceDataRelationshipsPaymentSourceData) HasId() bool { - if o != nil && IsNil(o.Id) { - return true - } - - return false -} - -// SetId gets a reference to the given interface{} and assigns it to the Id field. -func (o *CustomerPaymentSourceDataRelationshipsPaymentSourceData) SetId(v interface{}) { - o.Id = v -} - -func (o CustomerPaymentSourceDataRelationshipsPaymentSourceData) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o CustomerPaymentSourceDataRelationshipsPaymentSourceData) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if o.Type != nil { - toSerialize["type"] = o.Type - } - if o.Id != nil { - toSerialize["id"] = o.Id - } - return toSerialize, nil -} - -type NullableCustomerPaymentSourceDataRelationshipsPaymentSourceData struct { - value *CustomerPaymentSourceDataRelationshipsPaymentSourceData - isSet bool -} - -func (v NullableCustomerPaymentSourceDataRelationshipsPaymentSourceData) Get() *CustomerPaymentSourceDataRelationshipsPaymentSourceData { - return v.value -} - -func (v *NullableCustomerPaymentSourceDataRelationshipsPaymentSourceData) Set(val *CustomerPaymentSourceDataRelationshipsPaymentSourceData) { - v.value = val - v.isSet = true -} - -func (v NullableCustomerPaymentSourceDataRelationshipsPaymentSourceData) IsSet() bool { - return v.isSet -} - -func (v *NullableCustomerPaymentSourceDataRelationshipsPaymentSourceData) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableCustomerPaymentSourceDataRelationshipsPaymentSourceData(val *CustomerPaymentSourceDataRelationshipsPaymentSourceData) *NullableCustomerPaymentSourceDataRelationshipsPaymentSourceData { - return &NullableCustomerPaymentSourceDataRelationshipsPaymentSourceData{value: val, isSet: true} -} - -func (v NullableCustomerPaymentSourceDataRelationshipsPaymentSourceData) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableCustomerPaymentSourceDataRelationshipsPaymentSourceData) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/api/model_customer_payment_source_update.go b/api/model_customer_payment_source_update.go index 84946b840..824701303 100644 --- a/api/model_customer_payment_source_update.go +++ b/api/model_customer_payment_source_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_payment_source_update_data.go b/api/model_customer_payment_source_update_data.go index 2a93abfff..d4eab215a 100644 --- a/api/model_customer_payment_source_update_data.go +++ b/api/model_customer_payment_source_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_payment_source_update_data_relationships.go b/api/model_customer_payment_source_update_data_relationships.go index af6eec205..574dc6aa8 100644 --- a/api/model_customer_payment_source_update_data_relationships.go +++ b/api/model_customer_payment_source_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_subscription.go b/api/model_customer_subscription.go index 0db916a56..17a268731 100644 --- a/api/model_customer_subscription.go +++ b/api/model_customer_subscription.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_subscription_create.go b/api/model_customer_subscription_create.go index 161d06e0b..84ce4afe6 100644 --- a/api/model_customer_subscription_create.go +++ b/api/model_customer_subscription_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_subscription_create_data.go b/api/model_customer_subscription_create_data.go index f08008383..06e49174f 100644 --- a/api/model_customer_subscription_create_data.go +++ b/api/model_customer_subscription_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_subscription_data.go b/api/model_customer_subscription_data.go index 7ef77fdf0..8d23f503d 100644 --- a/api/model_customer_subscription_data.go +++ b/api/model_customer_subscription_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_subscription_data_relationships.go b/api/model_customer_subscription_data_relationships.go index a70d8c9d2..71ff68b94 100644 --- a/api/model_customer_subscription_data_relationships.go +++ b/api/model_customer_subscription_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_subscription_update.go b/api/model_customer_subscription_update.go index b0edbca1a..1779fbc97 100644 --- a/api/model_customer_subscription_update.go +++ b/api/model_customer_subscription_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_subscription_update_data.go b/api/model_customer_subscription_update_data.go index 906afb116..e08c52137 100644 --- a/api/model_customer_subscription_update_data.go +++ b/api/model_customer_subscription_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_update.go b/api/model_customer_update.go index 9aa4fa6c3..b69a1220c 100644 --- a/api/model_customer_update.go +++ b/api/model_customer_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_customer_update_data.go b/api/model_customer_update_data.go index bd28ab226..a0f5f2ea4 100644 --- a/api/model_customer_update_data.go +++ b/api/model_customer_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_delivery_lead_time.go b/api/model_delivery_lead_time.go index 2ccccc4ac..7d1cf086d 100644 --- a/api/model_delivery_lead_time.go +++ b/api/model_delivery_lead_time.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_delivery_lead_time_create.go b/api/model_delivery_lead_time_create.go index b7aa74926..92aeec8be 100644 --- a/api/model_delivery_lead_time_create.go +++ b/api/model_delivery_lead_time_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_delivery_lead_time_create_data.go b/api/model_delivery_lead_time_create_data.go index e5a71e84d..7b0861a53 100644 --- a/api/model_delivery_lead_time_create_data.go +++ b/api/model_delivery_lead_time_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_delivery_lead_time_create_data_relationships.go b/api/model_delivery_lead_time_create_data_relationships.go index 63e3ab866..57c3e16c6 100644 --- a/api/model_delivery_lead_time_create_data_relationships.go +++ b/api/model_delivery_lead_time_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_delivery_lead_time_create_data_relationships_shipping_method.go b/api/model_delivery_lead_time_create_data_relationships_shipping_method.go index e2808f591..dc701460d 100644 --- a/api/model_delivery_lead_time_create_data_relationships_shipping_method.go +++ b/api/model_delivery_lead_time_create_data_relationships_shipping_method.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_delivery_lead_time_create_data_relationships_stock_location.go b/api/model_delivery_lead_time_create_data_relationships_stock_location.go index 9de18ab38..709b29cec 100644 --- a/api/model_delivery_lead_time_create_data_relationships_stock_location.go +++ b/api/model_delivery_lead_time_create_data_relationships_stock_location.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_delivery_lead_time_data.go b/api/model_delivery_lead_time_data.go index 1e7ad7a7a..c4201c70a 100644 --- a/api/model_delivery_lead_time_data.go +++ b/api/model_delivery_lead_time_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_delivery_lead_time_data_relationships.go b/api/model_delivery_lead_time_data_relationships.go index 96bc75fa3..47a3afdc6 100644 --- a/api/model_delivery_lead_time_data_relationships.go +++ b/api/model_delivery_lead_time_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_delivery_lead_time_data_relationships_shipping_method.go b/api/model_delivery_lead_time_data_relationships_shipping_method.go index 6d4dcb7dc..7bfcb76b6 100644 --- a/api/model_delivery_lead_time_data_relationships_shipping_method.go +++ b/api/model_delivery_lead_time_data_relationships_shipping_method.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_delivery_lead_time_data_relationships_shipping_method_data.go b/api/model_delivery_lead_time_data_relationships_shipping_method_data.go index 912ad00a6..9ce437990 100644 --- a/api/model_delivery_lead_time_data_relationships_shipping_method_data.go +++ b/api/model_delivery_lead_time_data_relationships_shipping_method_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_delivery_lead_time_data_relationships_stock_location.go b/api/model_delivery_lead_time_data_relationships_stock_location.go index b27a3f893..95e9eedb1 100644 --- a/api/model_delivery_lead_time_data_relationships_stock_location.go +++ b/api/model_delivery_lead_time_data_relationships_stock_location.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_delivery_lead_time_data_relationships_stock_location_data.go b/api/model_delivery_lead_time_data_relationships_stock_location_data.go index 235a0baf2..f2c42206e 100644 --- a/api/model_delivery_lead_time_data_relationships_stock_location_data.go +++ b/api/model_delivery_lead_time_data_relationships_stock_location_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_delivery_lead_time_update.go b/api/model_delivery_lead_time_update.go index 943617f35..5d6ac0eea 100644 --- a/api/model_delivery_lead_time_update.go +++ b/api/model_delivery_lead_time_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_delivery_lead_time_update_data.go b/api/model_delivery_lead_time_update_data.go index 09fabf2fc..cd7f4701c 100644 --- a/api/model_delivery_lead_time_update_data.go +++ b/api/model_delivery_lead_time_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_delivery_lead_time_update_data_relationships.go b/api/model_delivery_lead_time_update_data_relationships.go index 8b9396d3c..dc885d78e 100644 --- a/api/model_delivery_lead_time_update_data_relationships.go +++ b/api/model_delivery_lead_time_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_event.go b/api/model_event.go index 01d42fdc4..81b709bfc 100644 --- a/api/model_event.go +++ b/api/model_event.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_event_callback.go b/api/model_event_callback.go index 1391c53af..da5d96bb1 100644 --- a/api/model_event_callback.go +++ b/api/model_event_callback.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_event_callback_data.go b/api/model_event_callback_data.go index 96a4d5325..622f3d976 100644 --- a/api/model_event_callback_data.go +++ b/api/model_event_callback_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_event_callback_data_relationships.go b/api/model_event_callback_data_relationships.go index 90871ba3d..29415f306 100644 --- a/api/model_event_callback_data_relationships.go +++ b/api/model_event_callback_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_event_callback_data_relationships_webhook.go b/api/model_event_callback_data_relationships_webhook.go index 6edba09b0..183b3eabe 100644 --- a/api/model_event_callback_data_relationships_webhook.go +++ b/api/model_event_callback_data_relationships_webhook.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_event_callback_data_relationships_webhook_data.go b/api/model_event_callback_data_relationships_webhook_data.go index 03ab76de9..3f547fcc8 100644 --- a/api/model_event_callback_data_relationships_webhook_data.go +++ b/api/model_event_callback_data_relationships_webhook_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_event_data.go b/api/model_event_data.go index 8b87cc4ac..fdf5cefa6 100644 --- a/api/model_event_data.go +++ b/api/model_event_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_event_data_relationships.go b/api/model_event_data_relationships.go index 973876350..1d693f177 100644 --- a/api/model_event_data_relationships.go +++ b/api/model_event_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_event_data_relationships_last_event_callbacks.go b/api/model_event_data_relationships_last_event_callbacks.go index 678a366e9..79166b5ae 100644 --- a/api/model_event_data_relationships_last_event_callbacks.go +++ b/api/model_event_data_relationships_last_event_callbacks.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_event_data_relationships_last_event_callbacks_data.go b/api/model_event_data_relationships_last_event_callbacks_data.go index 5c4ce47d7..373d20edd 100644 --- a/api/model_event_data_relationships_last_event_callbacks_data.go +++ b/api/model_event_data_relationships_last_event_callbacks_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_event_update.go b/api/model_event_update.go index eca7223bd..13bd27140 100644 --- a/api/model_event_update.go +++ b/api/model_event_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_event_update_data.go b/api/model_event_update_data.go index 5a7c21da1..a99277d05 100644 --- a/api/model_event_update_data.go +++ b/api/model_event_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_export.go b/api/model_export.go index 4b94dacf8..677fc8af9 100644 --- a/api/model_export.go +++ b/api/model_export.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_export_create.go b/api/model_export_create.go index ff71f64bf..11df4fd60 100644 --- a/api/model_export_create.go +++ b/api/model_export_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_export_create_data.go b/api/model_export_create_data.go index 7cbdcee06..1ea962cfc 100644 --- a/api/model_export_create_data.go +++ b/api/model_export_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_export_data.go b/api/model_export_data.go index 157cf7634..7bb0b6b34 100644 --- a/api/model_export_data.go +++ b/api/model_export_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_export_data_relationships.go b/api/model_export_data_relationships.go index 662961e5f..b1297fd7d 100644 --- a/api/model_export_data_relationships.go +++ b/api/model_export_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_export_update.go b/api/model_export_update.go index 334b5c9df..87cb25097 100644 --- a/api/model_export_update.go +++ b/api/model_export_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_export_update_data.go b/api/model_export_update_data.go index d9b4131be..b5d2cdd78 100644 --- a/api/model_export_update_data.go +++ b/api/model_export_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -23,16 +23,16 @@ type ExportUpdateData struct { // The resource's type Type interface{} `json:"type"` // The resource's id - Id interface{} `json:"id"` - Attributes PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes `json:"attributes"` - Relationships interface{} `json:"relationships,omitempty"` + Id interface{} `json:"id"` + Attributes PATCHCleanupsCleanupId200ResponseDataAttributes `json:"attributes"` + Relationships interface{} `json:"relationships,omitempty"` } // NewExportUpdateData instantiates a new ExportUpdateData object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewExportUpdateData(type_ interface{}, id interface{}, attributes PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) *ExportUpdateData { +func NewExportUpdateData(type_ interface{}, id interface{}, attributes PATCHCleanupsCleanupId200ResponseDataAttributes) *ExportUpdateData { this := ExportUpdateData{} this.Type = type_ this.Id = id @@ -101,9 +101,9 @@ func (o *ExportUpdateData) SetId(v interface{}) { } // GetAttributes returns the Attributes field value -func (o *ExportUpdateData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes { +func (o *ExportUpdateData) GetAttributes() PATCHCleanupsCleanupId200ResponseDataAttributes { if o == nil { - var ret PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes + var ret PATCHCleanupsCleanupId200ResponseDataAttributes return ret } @@ -112,7 +112,7 @@ func (o *ExportUpdateData) GetAttributes() PATCHBillingInfoValidationRulesBillin // GetAttributesOk returns a tuple with the Attributes field value // and a boolean to check if the value has been set. -func (o *ExportUpdateData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool) { +func (o *ExportUpdateData) GetAttributesOk() (*PATCHCleanupsCleanupId200ResponseDataAttributes, bool) { if o == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *ExportUpdateData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBi } // SetAttributes sets field value -func (o *ExportUpdateData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) { +func (o *ExportUpdateData) SetAttributes(v PATCHCleanupsCleanupId200ResponseDataAttributes) { o.Attributes = v } diff --git a/api/model_external_gateway.go b/api/model_external_gateway.go index c32889278..c6d3686c8 100644 --- a/api/model_external_gateway.go +++ b/api/model_external_gateway.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_external_gateway_create.go b/api/model_external_gateway_create.go index 437ca7e0e..efda32dbf 100644 --- a/api/model_external_gateway_create.go +++ b/api/model_external_gateway_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_external_gateway_create_data.go b/api/model_external_gateway_create_data.go index fef49beba..4b0798912 100644 --- a/api/model_external_gateway_create_data.go +++ b/api/model_external_gateway_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_external_gateway_data.go b/api/model_external_gateway_data.go index 09a8911b3..11bb699b7 100644 --- a/api/model_external_gateway_data.go +++ b/api/model_external_gateway_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_external_gateway_data_relationships.go b/api/model_external_gateway_data_relationships.go index 8b674bc4a..30ff07132 100644 --- a/api/model_external_gateway_data_relationships.go +++ b/api/model_external_gateway_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_external_gateway_data_relationships_external_payments.go b/api/model_external_gateway_data_relationships_external_payments.go index 52e04f3af..6f24ceed8 100644 --- a/api/model_external_gateway_data_relationships_external_payments.go +++ b/api/model_external_gateway_data_relationships_external_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_external_gateway_data_relationships_external_payments_data.go b/api/model_external_gateway_data_relationships_external_payments_data.go index ccd1bfa57..4cd135474 100644 --- a/api/model_external_gateway_data_relationships_external_payments_data.go +++ b/api/model_external_gateway_data_relationships_external_payments_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_external_gateway_update.go b/api/model_external_gateway_update.go index 2919011a3..45ce42a8d 100644 --- a/api/model_external_gateway_update.go +++ b/api/model_external_gateway_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_external_gateway_update_data.go b/api/model_external_gateway_update_data.go index 3427392a0..5f888ef0a 100644 --- a/api/model_external_gateway_update_data.go +++ b/api/model_external_gateway_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_external_payment.go b/api/model_external_payment.go index f9c9cfe68..2883819b8 100644 --- a/api/model_external_payment.go +++ b/api/model_external_payment.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_external_payment_create.go b/api/model_external_payment_create.go index 5e11fd82a..1ac69fc67 100644 --- a/api/model_external_payment_create.go +++ b/api/model_external_payment_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_external_payment_create_data.go b/api/model_external_payment_create_data.go index 7bf317649..489b7ff76 100644 --- a/api/model_external_payment_create_data.go +++ b/api/model_external_payment_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_external_payment_data.go b/api/model_external_payment_data.go index 100bd4158..d7bd3393c 100644 --- a/api/model_external_payment_data.go +++ b/api/model_external_payment_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_external_payment_data_relationships.go b/api/model_external_payment_data_relationships.go index b06e86c56..d529238e4 100644 --- a/api/model_external_payment_data_relationships.go +++ b/api/model_external_payment_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_external_payment_update.go b/api/model_external_payment_update.go index 756c49c2a..4786a49c9 100644 --- a/api/model_external_payment_update.go +++ b/api/model_external_payment_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_external_payment_update_data.go b/api/model_external_payment_update_data.go index 6a9d9e680..196f6ac10 100644 --- a/api/model_external_payment_update_data.go +++ b/api/model_external_payment_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_external_promotion.go b/api/model_external_promotion.go index 0d2957bc2..62645c4ec 100644 --- a/api/model_external_promotion.go +++ b/api/model_external_promotion.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_external_promotion_create.go b/api/model_external_promotion_create.go index 2db33e4b9..4e6d1d262 100644 --- a/api/model_external_promotion_create.go +++ b/api/model_external_promotion_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_external_promotion_create_data.go b/api/model_external_promotion_create_data.go index cce98505d..39da5ee5f 100644 --- a/api/model_external_promotion_create_data.go +++ b/api/model_external_promotion_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_external_promotion_data.go b/api/model_external_promotion_data.go index 7f3224f36..f6b9bd03c 100644 --- a/api/model_external_promotion_data.go +++ b/api/model_external_promotion_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_external_promotion_update.go b/api/model_external_promotion_update.go index 60df72588..e374773d6 100644 --- a/api/model_external_promotion_update.go +++ b/api/model_external_promotion_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_external_promotion_update_data.go b/api/model_external_promotion_update_data.go index 34791d8f4..8577f7298 100644 --- a/api/model_external_promotion_update_data.go +++ b/api/model_external_promotion_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_external_tax_calculator.go b/api/model_external_tax_calculator.go index 94974403f..9c497acbd 100644 --- a/api/model_external_tax_calculator.go +++ b/api/model_external_tax_calculator.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_external_tax_calculator_create.go b/api/model_external_tax_calculator_create.go index 2ff993114..b2918e114 100644 --- a/api/model_external_tax_calculator_create.go +++ b/api/model_external_tax_calculator_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_external_tax_calculator_create_data.go b/api/model_external_tax_calculator_create_data.go index fe3561c44..b21bdf560 100644 --- a/api/model_external_tax_calculator_create_data.go +++ b/api/model_external_tax_calculator_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_external_tax_calculator_data.go b/api/model_external_tax_calculator_data.go index 2ae98dbc6..b7cfaf7db 100644 --- a/api/model_external_tax_calculator_data.go +++ b/api/model_external_tax_calculator_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_external_tax_calculator_data_relationships.go b/api/model_external_tax_calculator_data_relationships.go index 6cc6962fd..65e8bad2b 100644 --- a/api/model_external_tax_calculator_data_relationships.go +++ b/api/model_external_tax_calculator_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_external_tax_calculator_update.go b/api/model_external_tax_calculator_update.go index 1e1df06e7..c91a38971 100644 --- a/api/model_external_tax_calculator_update.go +++ b/api/model_external_tax_calculator_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_external_tax_calculator_update_data.go b/api/model_external_tax_calculator_update_data.go index 046cfa91c..f865048af 100644 --- a/api/model_external_tax_calculator_update_data.go +++ b/api/model_external_tax_calculator_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_fixed_amount_promotion.go b/api/model_fixed_amount_promotion.go index c41c9de48..e17014003 100644 --- a/api/model_fixed_amount_promotion.go +++ b/api/model_fixed_amount_promotion.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_fixed_amount_promotion_create.go b/api/model_fixed_amount_promotion_create.go index d09bcc482..eb4cfedcc 100644 --- a/api/model_fixed_amount_promotion_create.go +++ b/api/model_fixed_amount_promotion_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_fixed_amount_promotion_create_data.go b/api/model_fixed_amount_promotion_create_data.go index cab854f8d..efb84fbbb 100644 --- a/api/model_fixed_amount_promotion_create_data.go +++ b/api/model_fixed_amount_promotion_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_fixed_amount_promotion_data.go b/api/model_fixed_amount_promotion_data.go index 809268178..fa302b60e 100644 --- a/api/model_fixed_amount_promotion_data.go +++ b/api/model_fixed_amount_promotion_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_fixed_amount_promotion_update.go b/api/model_fixed_amount_promotion_update.go index 53895547a..a3ce15eac 100644 --- a/api/model_fixed_amount_promotion_update.go +++ b/api/model_fixed_amount_promotion_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_fixed_amount_promotion_update_data.go b/api/model_fixed_amount_promotion_update_data.go index 3e3ba6816..2a054a867 100644 --- a/api/model_fixed_amount_promotion_update_data.go +++ b/api/model_fixed_amount_promotion_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_fixed_price_promotion.go b/api/model_fixed_price_promotion.go index 01d02bd63..7d27372cd 100644 --- a/api/model_fixed_price_promotion.go +++ b/api/model_fixed_price_promotion.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_fixed_price_promotion_create.go b/api/model_fixed_price_promotion_create.go index 6b22c06a4..e51ae3e13 100644 --- a/api/model_fixed_price_promotion_create.go +++ b/api/model_fixed_price_promotion_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_fixed_price_promotion_create_data.go b/api/model_fixed_price_promotion_create_data.go index 918103bae..ab0e0653c 100644 --- a/api/model_fixed_price_promotion_create_data.go +++ b/api/model_fixed_price_promotion_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_fixed_price_promotion_data.go b/api/model_fixed_price_promotion_data.go index 90467a40e..8938d1379 100644 --- a/api/model_fixed_price_promotion_data.go +++ b/api/model_fixed_price_promotion_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_fixed_price_promotion_update.go b/api/model_fixed_price_promotion_update.go index f7691e9b8..fc58863b6 100644 --- a/api/model_fixed_price_promotion_update.go +++ b/api/model_fixed_price_promotion_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_fixed_price_promotion_update_data.go b/api/model_fixed_price_promotion_update_data.go index 6184e213b..85d0912db 100644 --- a/api/model_fixed_price_promotion_update_data.go +++ b/api/model_fixed_price_promotion_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_flex_promotion.go b/api/model_flex_promotion.go index b96911416..ef20dae35 100644 --- a/api/model_flex_promotion.go +++ b/api/model_flex_promotion.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_flex_promotion_create.go b/api/model_flex_promotion_create.go index 1f62b7807..815489598 100644 --- a/api/model_flex_promotion_create.go +++ b/api/model_flex_promotion_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_flex_promotion_create_data.go b/api/model_flex_promotion_create_data.go index 765990ef8..282dd8059 100644 --- a/api/model_flex_promotion_create_data.go +++ b/api/model_flex_promotion_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_flex_promotion_create_data_relationships.go b/api/model_flex_promotion_create_data_relationships.go index 04c144c59..ecd95124c 100644 --- a/api/model_flex_promotion_create_data_relationships.go +++ b/api/model_flex_promotion_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_flex_promotion_data.go b/api/model_flex_promotion_data.go index 8e6dc04db..8107c6b4c 100644 --- a/api/model_flex_promotion_data.go +++ b/api/model_flex_promotion_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_flex_promotion_data_relationships.go b/api/model_flex_promotion_data_relationships.go index 77f9aaea8..bdf53a914 100644 --- a/api/model_flex_promotion_data_relationships.go +++ b/api/model_flex_promotion_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_flex_promotion_update.go b/api/model_flex_promotion_update.go index 927259b6a..8badcb43d 100644 --- a/api/model_flex_promotion_update.go +++ b/api/model_flex_promotion_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_flex_promotion_update_data.go b/api/model_flex_promotion_update_data.go index f4d836206..b1549aed6 100644 --- a/api/model_flex_promotion_update_data.go +++ b/api/model_flex_promotion_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_free_gift_promotion.go b/api/model_free_gift_promotion.go index 1d332a436..a57d98e3b 100644 --- a/api/model_free_gift_promotion.go +++ b/api/model_free_gift_promotion.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_free_gift_promotion_create.go b/api/model_free_gift_promotion_create.go index 4e5be350a..272107ebd 100644 --- a/api/model_free_gift_promotion_create.go +++ b/api/model_free_gift_promotion_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_free_gift_promotion_create_data.go b/api/model_free_gift_promotion_create_data.go index 362e56ef0..b8c8abdcb 100644 --- a/api/model_free_gift_promotion_create_data.go +++ b/api/model_free_gift_promotion_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_free_gift_promotion_data.go b/api/model_free_gift_promotion_data.go index bad45c511..51a49fa86 100644 --- a/api/model_free_gift_promotion_data.go +++ b/api/model_free_gift_promotion_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_free_gift_promotion_update.go b/api/model_free_gift_promotion_update.go index 6dd2c6359..2c8f56d9a 100644 --- a/api/model_free_gift_promotion_update.go +++ b/api/model_free_gift_promotion_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_free_gift_promotion_update_data.go b/api/model_free_gift_promotion_update_data.go index 3f79c2820..56a9cce43 100644 --- a/api/model_free_gift_promotion_update_data.go +++ b/api/model_free_gift_promotion_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_free_shipping_promotion.go b/api/model_free_shipping_promotion.go index 2aaddf152..1aaafa5fc 100644 --- a/api/model_free_shipping_promotion.go +++ b/api/model_free_shipping_promotion.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_free_shipping_promotion_create.go b/api/model_free_shipping_promotion_create.go index dbb2d370a..efca3534f 100644 --- a/api/model_free_shipping_promotion_create.go +++ b/api/model_free_shipping_promotion_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_free_shipping_promotion_create_data.go b/api/model_free_shipping_promotion_create_data.go index be23691d2..0bccdf9a2 100644 --- a/api/model_free_shipping_promotion_create_data.go +++ b/api/model_free_shipping_promotion_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_free_shipping_promotion_data.go b/api/model_free_shipping_promotion_data.go index 8998bbafc..42749402f 100644 --- a/api/model_free_shipping_promotion_data.go +++ b/api/model_free_shipping_promotion_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_free_shipping_promotion_data_relationships.go b/api/model_free_shipping_promotion_data_relationships.go index a0f54c47f..00ba4d92e 100644 --- a/api/model_free_shipping_promotion_data_relationships.go +++ b/api/model_free_shipping_promotion_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_free_shipping_promotion_update.go b/api/model_free_shipping_promotion_update.go index 667832922..a7c8fe377 100644 --- a/api/model_free_shipping_promotion_update.go +++ b/api/model_free_shipping_promotion_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_free_shipping_promotion_update_data.go b/api/model_free_shipping_promotion_update_data.go index 1138e939f..f63753aaa 100644 --- a/api/model_free_shipping_promotion_update_data.go +++ b/api/model_free_shipping_promotion_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_geocoder.go b/api/model_geocoder.go index 21b61bfcd..08407f43d 100644 --- a/api/model_geocoder.go +++ b/api/model_geocoder.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_geocoder_data.go b/api/model_geocoder_data.go index 66763d26e..54bd794d0 100644 --- a/api/model_geocoder_data.go +++ b/api/model_geocoder_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_addresses_200_response.go b/api/model_get_addresses_200_response.go index e1bfc869e..8b556ab5f 100644 --- a/api/model_get_addresses_200_response.go +++ b/api/model_get_addresses_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_addresses_address_id_200_response.go b/api/model_get_addresses_address_id_200_response.go index 7f58bd158..306b0eadb 100644 --- a/api/model_get_addresses_address_id_200_response.go +++ b/api/model_get_addresses_address_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_addresses_address_id_200_response_data.go b/api/model_get_addresses_address_id_200_response_data.go index 85aa83518..a93b62c43 100644 --- a/api/model_get_addresses_address_id_200_response_data.go +++ b/api/model_get_addresses_address_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_addresses_address_id_200_response_data_attributes.go b/api/model_get_addresses_address_id_200_response_data_attributes.go index 8e0eec8f4..ae1d08074 100644 --- a/api/model_get_addresses_address_id_200_response_data_attributes.go +++ b/api/model_get_addresses_address_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_adjustments_200_response.go b/api/model_get_adjustments_200_response.go index ce9d9f37e..7a4d51653 100644 --- a/api/model_get_adjustments_200_response.go +++ b/api/model_get_adjustments_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_adjustments_adjustment_id_200_response.go b/api/model_get_adjustments_adjustment_id_200_response.go index 652b4acab..a138156d0 100644 --- a/api/model_get_adjustments_adjustment_id_200_response.go +++ b/api/model_get_adjustments_adjustment_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_adjustments_adjustment_id_200_response_data.go b/api/model_get_adjustments_adjustment_id_200_response_data.go index 4a9e8afaa..5caa8a1fa 100644 --- a/api/model_get_adjustments_adjustment_id_200_response_data.go +++ b/api/model_get_adjustments_adjustment_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_adjustments_adjustment_id_200_response_data_attributes.go b/api/model_get_adjustments_adjustment_id_200_response_data_attributes.go index 562b87d17..218bf53dc 100644 --- a/api/model_get_adjustments_adjustment_id_200_response_data_attributes.go +++ b/api/model_get_adjustments_adjustment_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_adyen_gateways_200_response.go b/api/model_get_adyen_gateways_200_response.go index 855fb2058..dd98b7115 100644 --- a/api/model_get_adyen_gateways_200_response.go +++ b/api/model_get_adyen_gateways_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_adyen_gateways_adyen_gateway_id_200_response.go b/api/model_get_adyen_gateways_adyen_gateway_id_200_response.go index fb83dad92..71efcbb7c 100644 --- a/api/model_get_adyen_gateways_adyen_gateway_id_200_response.go +++ b/api/model_get_adyen_gateways_adyen_gateway_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_adyen_gateways_adyen_gateway_id_200_response_data.go b/api/model_get_adyen_gateways_adyen_gateway_id_200_response_data.go index 9f60378dc..4fa4457b9 100644 --- a/api/model_get_adyen_gateways_adyen_gateway_id_200_response_data.go +++ b/api/model_get_adyen_gateways_adyen_gateway_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_adyen_gateways_adyen_gateway_id_200_response_data_attributes.go b/api/model_get_adyen_gateways_adyen_gateway_id_200_response_data_attributes.go index 794bc4bc7..890077cc5 100644 --- a/api/model_get_adyen_gateways_adyen_gateway_id_200_response_data_attributes.go +++ b/api/model_get_adyen_gateways_adyen_gateway_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_adyen_payments_200_response.go b/api/model_get_adyen_payments_200_response.go index e84bcb8d8..bd4f06336 100644 --- a/api/model_get_adyen_payments_200_response.go +++ b/api/model_get_adyen_payments_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_adyen_payments_adyen_payment_id_200_response.go b/api/model_get_adyen_payments_adyen_payment_id_200_response.go index fd4fbf9e9..76c6dcb2a 100644 --- a/api/model_get_adyen_payments_adyen_payment_id_200_response.go +++ b/api/model_get_adyen_payments_adyen_payment_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_adyen_payments_adyen_payment_id_200_response_data.go b/api/model_get_adyen_payments_adyen_payment_id_200_response_data.go index 86deac18f..53995c841 100644 --- a/api/model_get_adyen_payments_adyen_payment_id_200_response_data.go +++ b/api/model_get_adyen_payments_adyen_payment_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_adyen_payments_adyen_payment_id_200_response_data_attributes.go b/api/model_get_adyen_payments_adyen_payment_id_200_response_data_attributes.go index 6c3ddad05..c80972183 100644 --- a/api/model_get_adyen_payments_adyen_payment_id_200_response_data_attributes.go +++ b/api/model_get_adyen_payments_adyen_payment_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_application_application_id_200_response.go b/api/model_get_application_application_id_200_response.go index 30113d647..7293cd31b 100644 --- a/api/model_get_application_application_id_200_response.go +++ b/api/model_get_application_application_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_application_application_id_200_response_data.go b/api/model_get_application_application_id_200_response_data.go index 59316e91a..ac3e213ef 100644 --- a/api/model_get_application_application_id_200_response_data.go +++ b/api/model_get_application_application_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_application_application_id_200_response_data_attributes.go b/api/model_get_application_application_id_200_response_data_attributes.go index f3a33a05e..6b9bdbf28 100644 --- a/api/model_get_application_application_id_200_response_data_attributes.go +++ b/api/model_get_application_application_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_attachments_200_response.go b/api/model_get_attachments_200_response.go index 3790e5f04..d7c9603a5 100644 --- a/api/model_get_attachments_200_response.go +++ b/api/model_get_attachments_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_attachments_attachment_id_200_response.go b/api/model_get_attachments_attachment_id_200_response.go index aababd901..5f1fe2895 100644 --- a/api/model_get_attachments_attachment_id_200_response.go +++ b/api/model_get_attachments_attachment_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_attachments_attachment_id_200_response_data.go b/api/model_get_attachments_attachment_id_200_response_data.go index 0917176a9..310a8d777 100644 --- a/api/model_get_attachments_attachment_id_200_response_data.go +++ b/api/model_get_attachments_attachment_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_attachments_attachment_id_200_response_data_attributes.go b/api/model_get_attachments_attachment_id_200_response_data_attributes.go index f2ed216ee..18bbd9d45 100644 --- a/api/model_get_attachments_attachment_id_200_response_data_attributes.go +++ b/api/model_get_attachments_attachment_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_authorizations_200_response.go b/api/model_get_authorizations_200_response.go index 727812e8d..a89d428ee 100644 --- a/api/model_get_authorizations_200_response.go +++ b/api/model_get_authorizations_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_authorizations_authorization_id_200_response.go b/api/model_get_authorizations_authorization_id_200_response.go index 1e0352c51..00616e07f 100644 --- a/api/model_get_authorizations_authorization_id_200_response.go +++ b/api/model_get_authorizations_authorization_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_authorizations_authorization_id_200_response_data.go b/api/model_get_authorizations_authorization_id_200_response_data.go index 6f8a850c6..332015027 100644 --- a/api/model_get_authorizations_authorization_id_200_response_data.go +++ b/api/model_get_authorizations_authorization_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_authorizations_authorization_id_200_response_data_attributes.go b/api/model_get_authorizations_authorization_id_200_response_data_attributes.go index fc7aa7035..422ad4336 100644 --- a/api/model_get_authorizations_authorization_id_200_response_data_attributes.go +++ b/api/model_get_authorizations_authorization_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_authorizations_authorization_id_200_response_data_relationships.go b/api/model_get_authorizations_authorization_id_200_response_data_relationships.go index 9bee1e44b..167dbad9d 100644 --- a/api/model_get_authorizations_authorization_id_200_response_data_relationships.go +++ b/api/model_get_authorizations_authorization_id_200_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,12 +20,13 @@ var _ MappedNullable = &GETAuthorizationsAuthorizationId200ResponseDataRelations // GETAuthorizationsAuthorizationId200ResponseDataRelationships struct for GETAuthorizationsAuthorizationId200ResponseDataRelationships type GETAuthorizationsAuthorizationId200ResponseDataRelationships struct { - Order *POSTAdyenPayments201ResponseDataRelationshipsOrder `json:"order,omitempty"` - Attachments *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments `json:"attachments,omitempty"` - Events *POSTAddresses201ResponseDataRelationshipsEvents `json:"events,omitempty"` - Versions *POSTAddresses201ResponseDataRelationshipsVersions `json:"versions,omitempty"` - Captures *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsCaptures `json:"captures,omitempty"` - Voids *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsVoids `json:"voids,omitempty"` + Order *POSTAdyenPayments201ResponseDataRelationshipsOrder `json:"order,omitempty"` + PaymentSource *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource `json:"payment_source,omitempty"` + Attachments *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments `json:"attachments,omitempty"` + Events *POSTAddresses201ResponseDataRelationshipsEvents `json:"events,omitempty"` + Versions *POSTAddresses201ResponseDataRelationshipsVersions `json:"versions,omitempty"` + Captures *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsCaptures `json:"captures,omitempty"` + Voids *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsVoids `json:"voids,omitempty"` } // NewGETAuthorizationsAuthorizationId200ResponseDataRelationships instantiates a new GETAuthorizationsAuthorizationId200ResponseDataRelationships object @@ -77,6 +78,38 @@ func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationships) SetOrder( o.Order = &v } +// GetPaymentSource returns the PaymentSource field value if set, zero value otherwise. +func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationships) GetPaymentSource() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource { + if o == nil || IsNil(o.PaymentSource) { + var ret GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource + return ret + } + return *o.PaymentSource +} + +// GetPaymentSourceOk returns a tuple with the PaymentSource field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationships) GetPaymentSourceOk() (*GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource, bool) { + if o == nil || IsNil(o.PaymentSource) { + return nil, false + } + return o.PaymentSource, true +} + +// HasPaymentSource returns a boolean if a field has been set. +func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationships) HasPaymentSource() bool { + if o != nil && !IsNil(o.PaymentSource) { + return true + } + + return false +} + +// SetPaymentSource gets a reference to the given GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource and assigns it to the PaymentSource field. +func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationships) SetPaymentSource(v GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) { + o.PaymentSource = &v +} + // GetAttachments returns the Attachments field value if set, zero value otherwise. func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationships) GetAttachments() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments { if o == nil || IsNil(o.Attachments) { @@ -250,6 +283,9 @@ func (o GETAuthorizationsAuthorizationId200ResponseDataRelationships) ToMap() (m if !IsNil(o.Order) { toSerialize["order"] = o.Order } + if !IsNil(o.PaymentSource) { + toSerialize["payment_source"] = o.PaymentSource + } if !IsNil(o.Attachments) { toSerialize["attachments"] = o.Attachments } diff --git a/api/model_get_authorizations_authorization_id_200_response_data_relationships_attachments.go b/api/model_get_authorizations_authorization_id_200_response_data_relationships_attachments.go index 13568b96d..5afffe94f 100644 --- a/api/model_get_authorizations_authorization_id_200_response_data_relationships_attachments.go +++ b/api/model_get_authorizations_authorization_id_200_response_data_relationships_attachments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_authorizations_authorization_id_200_response_data_relationships_attachments_data.go b/api/model_get_authorizations_authorization_id_200_response_data_relationships_attachments_data.go index f047b96bc..2260a1713 100644 --- a/api/model_get_authorizations_authorization_id_200_response_data_relationships_attachments_data.go +++ b/api/model_get_authorizations_authorization_id_200_response_data_relationships_attachments_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_authorizations_authorization_id_200_response_data_relationships_captures.go b/api/model_get_authorizations_authorization_id_200_response_data_relationships_captures.go index 8f4e22878..760654ee1 100644 --- a/api/model_get_authorizations_authorization_id_200_response_data_relationships_captures.go +++ b/api/model_get_authorizations_authorization_id_200_response_data_relationships_captures.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_authorizations_authorization_id_200_response_data_relationships_captures_data.go b/api/model_get_authorizations_authorization_id_200_response_data_relationships_captures_data.go index dbb8361a6..c1ebaf352 100644 --- a/api/model_get_authorizations_authorization_id_200_response_data_relationships_captures_data.go +++ b/api/model_get_authorizations_authorization_id_200_response_data_relationships_captures_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_authorizations_authorization_id_200_response_data_relationships_payment_source.go b/api/model_get_authorizations_authorization_id_200_response_data_relationships_payment_source.go new file mode 100644 index 000000000..50b24cb03 --- /dev/null +++ b/api/model_get_authorizations_authorization_id_200_response_data_relationships_payment_source.go @@ -0,0 +1,161 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource{} + +// GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource struct for GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource +type GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource struct { + Links *POSTAddresses201ResponseDataRelationshipsGeocoderLinks `json:"links,omitempty"` + Data *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData `json:"data,omitempty"` +} + +// NewGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource instantiates a new GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource() *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource { + this := GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource{} + return &this +} + +// NewGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceWithDefaults instantiates a new GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceWithDefaults() *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource { + this := GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource{} + return &this +} + +// GetLinks returns the Links field value if set, zero value otherwise. +func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) GetLinks() POSTAddresses201ResponseDataRelationshipsGeocoderLinks { + if o == nil || IsNil(o.Links) { + var ret POSTAddresses201ResponseDataRelationshipsGeocoderLinks + return ret + } + return *o.Links +} + +// GetLinksOk returns a tuple with the Links field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) GetLinksOk() (*POSTAddresses201ResponseDataRelationshipsGeocoderLinks, bool) { + if o == nil || IsNil(o.Links) { + return nil, false + } + return o.Links, true +} + +// HasLinks returns a boolean if a field has been set. +func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) HasLinks() bool { + if o != nil && !IsNil(o.Links) { + return true + } + + return false +} + +// SetLinks gets a reference to the given POSTAddresses201ResponseDataRelationshipsGeocoderLinks and assigns it to the Links field. +func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) SetLinks(v POSTAddresses201ResponseDataRelationshipsGeocoderLinks) { + o.Links = &v +} + +// GetData returns the Data field value if set, zero value otherwise. +func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) GetData() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData { + if o == nil || IsNil(o.Data) { + var ret GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData + return ret + } + return *o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) GetDataOk() (*GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) HasData() bool { + if o != nil && !IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData and assigns it to the Data field. +func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) SetData(v GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) { + o.Data = &v +} + +func (o GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Links) { + toSerialize["links"] = o.Links + } + if !IsNil(o.Data) { + toSerialize["data"] = o.Data + } + return toSerialize, nil +} + +type NullableGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource struct { + value *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource + isSet bool +} + +func (v NullableGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) Get() *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource { + return v.value +} + +func (v *NullableGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) Set(val *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) { + v.value = val + v.isSet = true +} + +func (v NullableGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) IsSet() bool { + return v.isSet +} + +func (v *NullableGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource(val *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) *NullableGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource { + return &NullableGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource{value: val, isSet: true} +} + +func (v NullableGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_get_authorizations_authorization_id_200_response_data_relationships_payment_source_data.go b/api/model_get_authorizations_authorization_id_200_response_data_relationships_payment_source_data.go new file mode 100644 index 000000000..7d6818ecd --- /dev/null +++ b/api/model_get_authorizations_authorization_id_200_response_data_relationships_payment_source_data.go @@ -0,0 +1,165 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData{} + +// GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData struct for GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData +type GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData struct { + // The resource's type + Type interface{} `json:"type,omitempty"` + // The resource ID + Id interface{} `json:"id,omitempty"` +} + +// NewGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData instantiates a new GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData() *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData { + this := GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData{} + return &this +} + +// NewGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceDataWithDefaults instantiates a new GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceDataWithDefaults() *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData { + this := GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData{} + return &this +} + +// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) GetType() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) GetTypeOk() (*interface{}, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return &o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) HasType() bool { + if o != nil && IsNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given interface{} and assigns it to the Type field. +func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) SetType(v interface{}) { + o.Type = v +} + +// GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) GetId() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) GetIdOk() (*interface{}, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return &o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) HasId() bool { + if o != nil && IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given interface{} and assigns it to the Id field. +func (o *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) SetId(v interface{}) { + o.Id = v +} + +func (o GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Type != nil { + toSerialize["type"] = o.Type + } + if o.Id != nil { + toSerialize["id"] = o.Id + } + return toSerialize, nil +} + +type NullableGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData struct { + value *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData + isSet bool +} + +func (v NullableGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) Get() *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData { + return v.value +} + +func (v *NullableGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) Set(val *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) { + v.value = val + v.isSet = true +} + +func (v NullableGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) IsSet() bool { + return v.isSet +} + +func (v *NullableGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData(val *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) *NullableGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData { + return &NullableGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData{value: val, isSet: true} +} + +func (v NullableGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSourceData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_get_authorizations_authorization_id_200_response_data_relationships_voids.go b/api/model_get_authorizations_authorization_id_200_response_data_relationships_voids.go index 091ab900b..2901a66bf 100644 --- a/api/model_get_authorizations_authorization_id_200_response_data_relationships_voids.go +++ b/api/model_get_authorizations_authorization_id_200_response_data_relationships_voids.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_authorizations_authorization_id_200_response_data_relationships_voids_data.go b/api/model_get_authorizations_authorization_id_200_response_data_relationships_voids_data.go index ebbed21d0..f14ae9759 100644 --- a/api/model_get_authorizations_authorization_id_200_response_data_relationships_voids_data.go +++ b/api/model_get_authorizations_authorization_id_200_response_data_relationships_voids_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_avalara_accounts_200_response.go b/api/model_get_avalara_accounts_200_response.go index a36289643..1ac8b7575 100644 --- a/api/model_get_avalara_accounts_200_response.go +++ b/api/model_get_avalara_accounts_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_avalara_accounts_avalara_account_id_200_response.go b/api/model_get_avalara_accounts_avalara_account_id_200_response.go index 6ffee4aa3..dbbf265b2 100644 --- a/api/model_get_avalara_accounts_avalara_account_id_200_response.go +++ b/api/model_get_avalara_accounts_avalara_account_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_avalara_accounts_avalara_account_id_200_response_data.go b/api/model_get_avalara_accounts_avalara_account_id_200_response_data.go index e49ca9ef4..4ea9e3760 100644 --- a/api/model_get_avalara_accounts_avalara_account_id_200_response_data.go +++ b/api/model_get_avalara_accounts_avalara_account_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_avalara_accounts_avalara_account_id_200_response_data_attributes.go b/api/model_get_avalara_accounts_avalara_account_id_200_response_data_attributes.go index d1b6b6a81..241e2e7e9 100644 --- a/api/model_get_avalara_accounts_avalara_account_id_200_response_data_attributes.go +++ b/api/model_get_avalara_accounts_avalara_account_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_axerve_gateways_200_response.go b/api/model_get_axerve_gateways_200_response.go index 22127303d..55f42a7cf 100644 --- a/api/model_get_axerve_gateways_200_response.go +++ b/api/model_get_axerve_gateways_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_axerve_gateways_axerve_gateway_id_200_response.go b/api/model_get_axerve_gateways_axerve_gateway_id_200_response.go index d820af00a..199d94f36 100644 --- a/api/model_get_axerve_gateways_axerve_gateway_id_200_response.go +++ b/api/model_get_axerve_gateways_axerve_gateway_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_axerve_gateways_axerve_gateway_id_200_response_data.go b/api/model_get_axerve_gateways_axerve_gateway_id_200_response_data.go index 894cb500d..764a7880a 100644 --- a/api/model_get_axerve_gateways_axerve_gateway_id_200_response_data.go +++ b/api/model_get_axerve_gateways_axerve_gateway_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_axerve_gateways_axerve_gateway_id_200_response_data_attributes.go b/api/model_get_axerve_gateways_axerve_gateway_id_200_response_data_attributes.go index 9ad86eca8..78155e521 100644 --- a/api/model_get_axerve_gateways_axerve_gateway_id_200_response_data_attributes.go +++ b/api/model_get_axerve_gateways_axerve_gateway_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_axerve_payments_200_response.go b/api/model_get_axerve_payments_200_response.go index 72ac27f55..c95a8613d 100644 --- a/api/model_get_axerve_payments_200_response.go +++ b/api/model_get_axerve_payments_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_axerve_payments_axerve_payment_id_200_response.go b/api/model_get_axerve_payments_axerve_payment_id_200_response.go index ef9b215b6..a349ad503 100644 --- a/api/model_get_axerve_payments_axerve_payment_id_200_response.go +++ b/api/model_get_axerve_payments_axerve_payment_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_axerve_payments_axerve_payment_id_200_response_data.go b/api/model_get_axerve_payments_axerve_payment_id_200_response_data.go index 45489dcc2..b5f6a773d 100644 --- a/api/model_get_axerve_payments_axerve_payment_id_200_response_data.go +++ b/api/model_get_axerve_payments_axerve_payment_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_axerve_payments_axerve_payment_id_200_response_data_attributes.go b/api/model_get_axerve_payments_axerve_payment_id_200_response_data_attributes.go index 11538e910..d0d8aee1a 100644 --- a/api/model_get_axerve_payments_axerve_payment_id_200_response_data_attributes.go +++ b/api/model_get_axerve_payments_axerve_payment_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_billing_info_validation_rules_200_response.go b/api/model_get_billing_info_validation_rules_200_response.go deleted file mode 100644 index 0eb3a4b0b..000000000 --- a/api/model_get_billing_info_validation_rules_200_response.go +++ /dev/null @@ -1,126 +0,0 @@ -/* -Commerce Layer API - -Headless Commerce for Global Brands. - -API version: 7.3.1 -Contact: support@commercelayer.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api - -import ( - "encoding/json" -) - -// checks if the GETBillingInfoValidationRules200Response type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &GETBillingInfoValidationRules200Response{} - -// GETBillingInfoValidationRules200Response struct for GETBillingInfoValidationRules200Response -type GETBillingInfoValidationRules200Response struct { - Data interface{} `json:"data,omitempty"` -} - -// NewGETBillingInfoValidationRules200Response instantiates a new GETBillingInfoValidationRules200Response object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewGETBillingInfoValidationRules200Response() *GETBillingInfoValidationRules200Response { - this := GETBillingInfoValidationRules200Response{} - return &this -} - -// NewGETBillingInfoValidationRules200ResponseWithDefaults instantiates a new GETBillingInfoValidationRules200Response object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewGETBillingInfoValidationRules200ResponseWithDefaults() *GETBillingInfoValidationRules200Response { - this := GETBillingInfoValidationRules200Response{} - return &this -} - -// GetData returns the Data field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *GETBillingInfoValidationRules200Response) GetData() interface{} { - if o == nil { - var ret interface{} - return ret - } - return o.Data -} - -// GetDataOk returns a tuple with the Data field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *GETBillingInfoValidationRules200Response) GetDataOk() (*interface{}, bool) { - if o == nil || IsNil(o.Data) { - return nil, false - } - return &o.Data, true -} - -// HasData returns a boolean if a field has been set. -func (o *GETBillingInfoValidationRules200Response) HasData() bool { - if o != nil && IsNil(o.Data) { - return true - } - - return false -} - -// SetData gets a reference to the given interface{} and assigns it to the Data field. -func (o *GETBillingInfoValidationRules200Response) SetData(v interface{}) { - o.Data = v -} - -func (o GETBillingInfoValidationRules200Response) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o GETBillingInfoValidationRules200Response) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if o.Data != nil { - toSerialize["data"] = o.Data - } - return toSerialize, nil -} - -type NullableGETBillingInfoValidationRules200Response struct { - value *GETBillingInfoValidationRules200Response - isSet bool -} - -func (v NullableGETBillingInfoValidationRules200Response) Get() *GETBillingInfoValidationRules200Response { - return v.value -} - -func (v *NullableGETBillingInfoValidationRules200Response) Set(val *GETBillingInfoValidationRules200Response) { - v.value = val - v.isSet = true -} - -func (v NullableGETBillingInfoValidationRules200Response) IsSet() bool { - return v.isSet -} - -func (v *NullableGETBillingInfoValidationRules200Response) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGETBillingInfoValidationRules200Response(val *GETBillingInfoValidationRules200Response) *NullableGETBillingInfoValidationRules200Response { - return &NullableGETBillingInfoValidationRules200Response{value: val, isSet: true} -} - -func (v NullableGETBillingInfoValidationRules200Response) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGETBillingInfoValidationRules200Response) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/api/model_get_billing_info_validation_rules_billing_info_validation_rule_id_200_response.go b/api/model_get_billing_info_validation_rules_billing_info_validation_rule_id_200_response.go deleted file mode 100644 index 15f69966d..000000000 --- a/api/model_get_billing_info_validation_rules_billing_info_validation_rule_id_200_response.go +++ /dev/null @@ -1,125 +0,0 @@ -/* -Commerce Layer API - -Headless Commerce for Global Brands. - -API version: 7.3.1 -Contact: support@commercelayer.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api - -import ( - "encoding/json" -) - -// checks if the GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response{} - -// GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response struct for GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response -type GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response struct { - Data *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData `json:"data,omitempty"` -} - -// NewGETBillingInfoValidationRulesBillingInfoValidationRuleId200Response instantiates a new GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewGETBillingInfoValidationRulesBillingInfoValidationRuleId200Response() *GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response { - this := GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response{} - return &this -} - -// NewGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseWithDefaults instantiates a new GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseWithDefaults() *GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response { - this := GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response{} - return &this -} - -// GetData returns the Data field value if set, zero value otherwise. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response) GetData() GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData { - if o == nil || IsNil(o.Data) { - var ret GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData - return ret - } - return *o.Data -} - -// GetDataOk returns a tuple with the Data field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response) GetDataOk() (*GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData, bool) { - if o == nil || IsNil(o.Data) { - return nil, false - } - return o.Data, true -} - -// HasData returns a boolean if a field has been set. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response) HasData() bool { - if o != nil && !IsNil(o.Data) { - return true - } - - return false -} - -// SetData gets a reference to the given GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData and assigns it to the Data field. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response) SetData(v GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) { - o.Data = &v -} - -func (o GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !IsNil(o.Data) { - toSerialize["data"] = o.Data - } - return toSerialize, nil -} - -type NullableGETBillingInfoValidationRulesBillingInfoValidationRuleId200Response struct { - value *GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response - isSet bool -} - -func (v NullableGETBillingInfoValidationRulesBillingInfoValidationRuleId200Response) Get() *GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response { - return v.value -} - -func (v *NullableGETBillingInfoValidationRulesBillingInfoValidationRuleId200Response) Set(val *GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response) { - v.value = val - v.isSet = true -} - -func (v NullableGETBillingInfoValidationRulesBillingInfoValidationRuleId200Response) IsSet() bool { - return v.isSet -} - -func (v *NullableGETBillingInfoValidationRulesBillingInfoValidationRuleId200Response) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGETBillingInfoValidationRulesBillingInfoValidationRuleId200Response(val *GETBillingInfoValidationRulesBillingInfoValidationRuleId200Response) *NullableGETBillingInfoValidationRulesBillingInfoValidationRuleId200Response { - return &NullableGETBillingInfoValidationRulesBillingInfoValidationRuleId200Response{value: val, isSet: true} -} - -func (v NullableGETBillingInfoValidationRulesBillingInfoValidationRuleId200Response) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGETBillingInfoValidationRulesBillingInfoValidationRuleId200Response) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/api/model_get_billing_info_validation_rules_billing_info_validation_rule_id_200_response_data.go b/api/model_get_billing_info_validation_rules_billing_info_validation_rule_id_200_response_data.go deleted file mode 100644 index 9a3c16870..000000000 --- a/api/model_get_billing_info_validation_rules_billing_info_validation_rule_id_200_response_data.go +++ /dev/null @@ -1,273 +0,0 @@ -/* -Commerce Layer API - -Headless Commerce for Global Brands. - -API version: 7.3.1 -Contact: support@commercelayer.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api - -import ( - "encoding/json" -) - -// checks if the GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData{} - -// GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData struct for GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData -type GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData struct { - // The resource's id - Id interface{} `json:"id,omitempty"` - // The resource's type - Type interface{} `json:"type,omitempty"` - Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` - Attributes *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes `json:"attributes,omitempty"` - Relationships *POSTBillingInfoValidationRules201ResponseDataRelationships `json:"relationships,omitempty"` -} - -// NewGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData instantiates a new GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData() *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData { - this := GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData{} - return &this -} - -// NewGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataWithDefaults instantiates a new GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataWithDefaults() *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData { - this := GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData{} - return &this -} - -// GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetId() interface{} { - if o == nil { - var ret interface{} - return ret - } - return o.Id -} - -// GetIdOk returns a tuple with the Id field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetIdOk() (*interface{}, bool) { - if o == nil || IsNil(o.Id) { - return nil, false - } - return &o.Id, true -} - -// HasId returns a boolean if a field has been set. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) HasId() bool { - if o != nil && IsNil(o.Id) { - return true - } - - return false -} - -// SetId gets a reference to the given interface{} and assigns it to the Id field. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) SetId(v interface{}) { - o.Id = v -} - -// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetType() interface{} { - if o == nil { - var ret interface{} - return ret - } - return o.Type -} - -// GetTypeOk returns a tuple with the Type field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetTypeOk() (*interface{}, bool) { - if o == nil || IsNil(o.Type) { - return nil, false - } - return &o.Type, true -} - -// HasType returns a boolean if a field has been set. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) HasType() bool { - if o != nil && IsNil(o.Type) { - return true - } - - return false -} - -// SetType gets a reference to the given interface{} and assigns it to the Type field. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) SetType(v interface{}) { - o.Type = v -} - -// GetLinks returns the Links field value if set, zero value otherwise. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetLinks() POSTAddresses201ResponseDataLinks { - if o == nil || IsNil(o.Links) { - var ret POSTAddresses201ResponseDataLinks - return ret - } - return *o.Links -} - -// GetLinksOk returns a tuple with the Links field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetLinksOk() (*POSTAddresses201ResponseDataLinks, bool) { - if o == nil || IsNil(o.Links) { - return nil, false - } - return o.Links, true -} - -// HasLinks returns a boolean if a field has been set. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) HasLinks() bool { - if o != nil && !IsNil(o.Links) { - return true - } - - return false -} - -// SetLinks gets a reference to the given POSTAddresses201ResponseDataLinks and assigns it to the Links field. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) SetLinks(v POSTAddresses201ResponseDataLinks) { - o.Links = &v -} - -// GetAttributes returns the Attributes field value if set, zero value otherwise. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetAttributes() GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes { - if o == nil || IsNil(o.Attributes) { - var ret GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes - return ret - } - return *o.Attributes -} - -// GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetAttributesOk() (*GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool) { - if o == nil || IsNil(o.Attributes) { - return nil, false - } - return o.Attributes, true -} - -// HasAttributes returns a boolean if a field has been set. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) HasAttributes() bool { - if o != nil && !IsNil(o.Attributes) { - return true - } - - return false -} - -// SetAttributes gets a reference to the given GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes and assigns it to the Attributes field. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) SetAttributes(v GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) { - o.Attributes = &v -} - -// GetRelationships returns the Relationships field value if set, zero value otherwise. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetRelationships() POSTBillingInfoValidationRules201ResponseDataRelationships { - if o == nil || IsNil(o.Relationships) { - var ret POSTBillingInfoValidationRules201ResponseDataRelationships - return ret - } - return *o.Relationships -} - -// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetRelationshipsOk() (*POSTBillingInfoValidationRules201ResponseDataRelationships, bool) { - if o == nil || IsNil(o.Relationships) { - return nil, false - } - return o.Relationships, true -} - -// HasRelationships returns a boolean if a field has been set. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) HasRelationships() bool { - if o != nil && !IsNil(o.Relationships) { - return true - } - - return false -} - -// SetRelationships gets a reference to the given POSTBillingInfoValidationRules201ResponseDataRelationships and assigns it to the Relationships field. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) SetRelationships(v POSTBillingInfoValidationRules201ResponseDataRelationships) { - o.Relationships = &v -} - -func (o GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if o.Id != nil { - toSerialize["id"] = o.Id - } - if o.Type != nil { - toSerialize["type"] = o.Type - } - if !IsNil(o.Links) { - toSerialize["links"] = o.Links - } - if !IsNil(o.Attributes) { - toSerialize["attributes"] = o.Attributes - } - if !IsNil(o.Relationships) { - toSerialize["relationships"] = o.Relationships - } - return toSerialize, nil -} - -type NullableGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData struct { - value *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData - isSet bool -} - -func (v NullableGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) Get() *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData { - return v.value -} - -func (v *NullableGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) Set(val *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) { - v.value = val - v.isSet = true -} - -func (v NullableGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) IsSet() bool { - return v.isSet -} - -func (v *NullableGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData(val *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) *NullableGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData { - return &NullableGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData{value: val, isSet: true} -} - -func (v NullableGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/api/model_get_billing_info_validation_rules_billing_info_validation_rule_id_200_response_data_attributes.go b/api/model_get_billing_info_validation_rules_billing_info_validation_rule_id_200_response_data_attributes.go deleted file mode 100644 index 117b92786..000000000 --- a/api/model_get_billing_info_validation_rules_billing_info_validation_rule_id_200_response_data_attributes.go +++ /dev/null @@ -1,317 +0,0 @@ -/* -Commerce Layer API - -Headless Commerce for Global Brands. - -API version: 7.3.1 -Contact: support@commercelayer.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api - -import ( - "encoding/json" -) - -// checks if the GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes{} - -// GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes struct for GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes -type GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes struct { - // The order validation rule's type. - Type interface{} `json:"type,omitempty"` - // Time at which the resource was created. - CreatedAt interface{} `json:"created_at,omitempty"` - // Time at which the resource was last updated. - UpdatedAt interface{} `json:"updated_at,omitempty"` - // A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. - Reference interface{} `json:"reference,omitempty"` - // Any identifier of the third party system that defines the reference code. - ReferenceOrigin interface{} `json:"reference_origin,omitempty"` - // Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. - Metadata interface{} `json:"metadata,omitempty"` -} - -// NewGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes instantiates a new GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes() *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes { - this := GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes{} - return &this -} - -// NewGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributesWithDefaults instantiates a new GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributesWithDefaults() *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes { - this := GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes{} - return &this -} - -// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetType() interface{} { - if o == nil { - var ret interface{} - return ret - } - return o.Type -} - -// GetTypeOk returns a tuple with the Type field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetTypeOk() (*interface{}, bool) { - if o == nil || IsNil(o.Type) { - return nil, false - } - return &o.Type, true -} - -// HasType returns a boolean if a field has been set. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) HasType() bool { - if o != nil && IsNil(o.Type) { - return true - } - - return false -} - -// SetType gets a reference to the given interface{} and assigns it to the Type field. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) SetType(v interface{}) { - o.Type = v -} - -// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetCreatedAt() interface{} { - if o == nil { - var ret interface{} - return ret - } - return o.CreatedAt -} - -// GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetCreatedAtOk() (*interface{}, bool) { - if o == nil || IsNil(o.CreatedAt) { - return nil, false - } - return &o.CreatedAt, true -} - -// HasCreatedAt returns a boolean if a field has been set. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) HasCreatedAt() bool { - if o != nil && IsNil(o.CreatedAt) { - return true - } - - return false -} - -// SetCreatedAt gets a reference to the given interface{} and assigns it to the CreatedAt field. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) SetCreatedAt(v interface{}) { - o.CreatedAt = v -} - -// GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetUpdatedAt() interface{} { - if o == nil { - var ret interface{} - return ret - } - return o.UpdatedAt -} - -// GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetUpdatedAtOk() (*interface{}, bool) { - if o == nil || IsNil(o.UpdatedAt) { - return nil, false - } - return &o.UpdatedAt, true -} - -// HasUpdatedAt returns a boolean if a field has been set. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) HasUpdatedAt() bool { - if o != nil && IsNil(o.UpdatedAt) { - return true - } - - return false -} - -// SetUpdatedAt gets a reference to the given interface{} and assigns it to the UpdatedAt field. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) SetUpdatedAt(v interface{}) { - o.UpdatedAt = v -} - -// GetReference returns the Reference field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetReference() interface{} { - if o == nil { - var ret interface{} - return ret - } - return o.Reference -} - -// GetReferenceOk returns a tuple with the Reference field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetReferenceOk() (*interface{}, bool) { - if o == nil || IsNil(o.Reference) { - return nil, false - } - return &o.Reference, true -} - -// HasReference returns a boolean if a field has been set. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) HasReference() bool { - if o != nil && IsNil(o.Reference) { - return true - } - - return false -} - -// SetReference gets a reference to the given interface{} and assigns it to the Reference field. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) SetReference(v interface{}) { - o.Reference = v -} - -// GetReferenceOrigin returns the ReferenceOrigin field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetReferenceOrigin() interface{} { - if o == nil { - var ret interface{} - return ret - } - return o.ReferenceOrigin -} - -// GetReferenceOriginOk returns a tuple with the ReferenceOrigin field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetReferenceOriginOk() (*interface{}, bool) { - if o == nil || IsNil(o.ReferenceOrigin) { - return nil, false - } - return &o.ReferenceOrigin, true -} - -// HasReferenceOrigin returns a boolean if a field has been set. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) HasReferenceOrigin() bool { - if o != nil && IsNil(o.ReferenceOrigin) { - return true - } - - return false -} - -// SetReferenceOrigin gets a reference to the given interface{} and assigns it to the ReferenceOrigin field. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) SetReferenceOrigin(v interface{}) { - o.ReferenceOrigin = v -} - -// GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetMetadata() interface{} { - if o == nil { - var ret interface{} - return ret - } - return o.Metadata -} - -// GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetMetadataOk() (*interface{}, bool) { - if o == nil || IsNil(o.Metadata) { - return nil, false - } - return &o.Metadata, true -} - -// HasMetadata returns a boolean if a field has been set. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) HasMetadata() bool { - if o != nil && IsNil(o.Metadata) { - return true - } - - return false -} - -// SetMetadata gets a reference to the given interface{} and assigns it to the Metadata field. -func (o *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) SetMetadata(v interface{}) { - o.Metadata = v -} - -func (o GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if o.Type != nil { - toSerialize["type"] = o.Type - } - if o.CreatedAt != nil { - toSerialize["created_at"] = o.CreatedAt - } - if o.UpdatedAt != nil { - toSerialize["updated_at"] = o.UpdatedAt - } - if o.Reference != nil { - toSerialize["reference"] = o.Reference - } - if o.ReferenceOrigin != nil { - toSerialize["reference_origin"] = o.ReferenceOrigin - } - if o.Metadata != nil { - toSerialize["metadata"] = o.Metadata - } - return toSerialize, nil -} - -type NullableGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes struct { - value *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes - isSet bool -} - -func (v NullableGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) Get() *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes { - return v.value -} - -func (v *NullableGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) Set(val *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) { - v.value = val - v.isSet = true -} - -func (v NullableGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) IsSet() bool { - return v.isSet -} - -func (v *NullableGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes(val *GETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) *NullableGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes { - return &NullableGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes{value: val, isSet: true} -} - -func (v NullableGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGETBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/api/model_get_bing_geocoders_200_response.go b/api/model_get_bing_geocoders_200_response.go index 1544f80c1..4f377adf8 100644 --- a/api/model_get_bing_geocoders_200_response.go +++ b/api/model_get_bing_geocoders_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_bing_geocoders_bing_geocoder_id_200_response.go b/api/model_get_bing_geocoders_bing_geocoder_id_200_response.go index a6d7233e6..6f80b43ff 100644 --- a/api/model_get_bing_geocoders_bing_geocoder_id_200_response.go +++ b/api/model_get_bing_geocoders_bing_geocoder_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_bing_geocoders_bing_geocoder_id_200_response_data.go b/api/model_get_bing_geocoders_bing_geocoder_id_200_response_data.go index cca932986..d36f0aee4 100644 --- a/api/model_get_bing_geocoders_bing_geocoder_id_200_response_data.go +++ b/api/model_get_bing_geocoders_bing_geocoder_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_bing_geocoders_bing_geocoder_id_200_response_data_attributes.go b/api/model_get_bing_geocoders_bing_geocoder_id_200_response_data_attributes.go index a17902bad..e323ddfee 100644 --- a/api/model_get_bing_geocoders_bing_geocoder_id_200_response_data_attributes.go +++ b/api/model_get_bing_geocoders_bing_geocoder_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_braintree_gateways_200_response.go b/api/model_get_braintree_gateways_200_response.go index a3501136b..57277d730 100644 --- a/api/model_get_braintree_gateways_200_response.go +++ b/api/model_get_braintree_gateways_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_braintree_gateways_braintree_gateway_id_200_response.go b/api/model_get_braintree_gateways_braintree_gateway_id_200_response.go index 385702228..e4ce59e31 100644 --- a/api/model_get_braintree_gateways_braintree_gateway_id_200_response.go +++ b/api/model_get_braintree_gateways_braintree_gateway_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_braintree_gateways_braintree_gateway_id_200_response_data.go b/api/model_get_braintree_gateways_braintree_gateway_id_200_response_data.go index 4fe8fe898..6d151383b 100644 --- a/api/model_get_braintree_gateways_braintree_gateway_id_200_response_data.go +++ b/api/model_get_braintree_gateways_braintree_gateway_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_braintree_gateways_braintree_gateway_id_200_response_data_attributes.go b/api/model_get_braintree_gateways_braintree_gateway_id_200_response_data_attributes.go index f9066f7df..9300d746c 100644 --- a/api/model_get_braintree_gateways_braintree_gateway_id_200_response_data_attributes.go +++ b/api/model_get_braintree_gateways_braintree_gateway_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_braintree_payments_200_response.go b/api/model_get_braintree_payments_200_response.go index 618b7cc8e..aed7a1bfa 100644 --- a/api/model_get_braintree_payments_200_response.go +++ b/api/model_get_braintree_payments_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_braintree_payments_braintree_payment_id_200_response.go b/api/model_get_braintree_payments_braintree_payment_id_200_response.go index 2acabeba0..1686082b4 100644 --- a/api/model_get_braintree_payments_braintree_payment_id_200_response.go +++ b/api/model_get_braintree_payments_braintree_payment_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_braintree_payments_braintree_payment_id_200_response_data.go b/api/model_get_braintree_payments_braintree_payment_id_200_response_data.go index bc292b499..eb1c1bdf8 100644 --- a/api/model_get_braintree_payments_braintree_payment_id_200_response_data.go +++ b/api/model_get_braintree_payments_braintree_payment_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_braintree_payments_braintree_payment_id_200_response_data_attributes.go b/api/model_get_braintree_payments_braintree_payment_id_200_response_data_attributes.go index d8ac938fa..adbe2d18b 100644 --- a/api/model_get_braintree_payments_braintree_payment_id_200_response_data_attributes.go +++ b/api/model_get_braintree_payments_braintree_payment_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_bundles_200_response.go b/api/model_get_bundles_200_response.go index 59197a831..6acca62be 100644 --- a/api/model_get_bundles_200_response.go +++ b/api/model_get_bundles_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_bundles_bundle_id_200_response.go b/api/model_get_bundles_bundle_id_200_response.go index 244eb5a03..ca38f4cbf 100644 --- a/api/model_get_bundles_bundle_id_200_response.go +++ b/api/model_get_bundles_bundle_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_bundles_bundle_id_200_response_data.go b/api/model_get_bundles_bundle_id_200_response_data.go index d1c4d6694..1020e1a10 100644 --- a/api/model_get_bundles_bundle_id_200_response_data.go +++ b/api/model_get_bundles_bundle_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_bundles_bundle_id_200_response_data_attributes.go b/api/model_get_bundles_bundle_id_200_response_data_attributes.go index 4e82a0d27..0bb92286f 100644 --- a/api/model_get_bundles_bundle_id_200_response_data_attributes.go +++ b/api/model_get_bundles_bundle_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_buy_x_pay_y_promotions_200_response.go b/api/model_get_buy_x_pay_y_promotions_200_response.go index b7ba4ba51..f67f7d050 100644 --- a/api/model_get_buy_x_pay_y_promotions_200_response.go +++ b/api/model_get_buy_x_pay_y_promotions_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_buy_x_pay_y_promotions_buy_x_pay_y_promotion_id_200_response.go b/api/model_get_buy_x_pay_y_promotions_buy_x_pay_y_promotion_id_200_response.go index 9227cfc94..d71de96f4 100644 --- a/api/model_get_buy_x_pay_y_promotions_buy_x_pay_y_promotion_id_200_response.go +++ b/api/model_get_buy_x_pay_y_promotions_buy_x_pay_y_promotion_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_buy_x_pay_y_promotions_buy_x_pay_y_promotion_id_200_response_data.go b/api/model_get_buy_x_pay_y_promotions_buy_x_pay_y_promotion_id_200_response_data.go index 911d1aa13..ae8c972a5 100644 --- a/api/model_get_buy_x_pay_y_promotions_buy_x_pay_y_promotion_id_200_response_data.go +++ b/api/model_get_buy_x_pay_y_promotions_buy_x_pay_y_promotion_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_buy_x_pay_y_promotions_buy_x_pay_y_promotion_id_200_response_data_attributes.go b/api/model_get_buy_x_pay_y_promotions_buy_x_pay_y_promotion_id_200_response_data_attributes.go index 1a3aeb18c..d107dcb34 100644 --- a/api/model_get_buy_x_pay_y_promotions_buy_x_pay_y_promotion_id_200_response_data_attributes.go +++ b/api/model_get_buy_x_pay_y_promotions_buy_x_pay_y_promotion_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_captures_200_response.go b/api/model_get_captures_200_response.go index 42a0f1696..5f62b7a33 100644 --- a/api/model_get_captures_200_response.go +++ b/api/model_get_captures_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_captures_capture_id_200_response.go b/api/model_get_captures_capture_id_200_response.go index 341f7cb0d..328e173ea 100644 --- a/api/model_get_captures_capture_id_200_response.go +++ b/api/model_get_captures_capture_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_captures_capture_id_200_response_data.go b/api/model_get_captures_capture_id_200_response_data.go index 55508fe5a..4876629ab 100644 --- a/api/model_get_captures_capture_id_200_response_data.go +++ b/api/model_get_captures_capture_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_captures_capture_id_200_response_data_attributes.go b/api/model_get_captures_capture_id_200_response_data_attributes.go index 7b69913b4..8257f0f8f 100644 --- a/api/model_get_captures_capture_id_200_response_data_attributes.go +++ b/api/model_get_captures_capture_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_captures_capture_id_200_response_data_relationships.go b/api/model_get_captures_capture_id_200_response_data_relationships.go index 5040f5c46..d990c21c8 100644 --- a/api/model_get_captures_capture_id_200_response_data_relationships.go +++ b/api/model_get_captures_capture_id_200_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,13 +20,14 @@ var _ MappedNullable = &GETCapturesCaptureId200ResponseDataRelationships{} // GETCapturesCaptureId200ResponseDataRelationships struct for GETCapturesCaptureId200ResponseDataRelationships type GETCapturesCaptureId200ResponseDataRelationships struct { - Order *POSTAdyenPayments201ResponseDataRelationshipsOrder `json:"order,omitempty"` - Attachments *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments `json:"attachments,omitempty"` - Events *POSTAddresses201ResponseDataRelationshipsEvents `json:"events,omitempty"` - Versions *POSTAddresses201ResponseDataRelationshipsVersions `json:"versions,omitempty"` - ReferenceAuthorization *GETCapturesCaptureId200ResponseDataRelationshipsReferenceAuthorization `json:"reference_authorization,omitempty"` - Refunds *GETCapturesCaptureId200ResponseDataRelationshipsRefunds `json:"refunds,omitempty"` - Return *GETCapturesCaptureId200ResponseDataRelationshipsReturn `json:"return,omitempty"` + Order *POSTAdyenPayments201ResponseDataRelationshipsOrder `json:"order,omitempty"` + PaymentSource *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource `json:"payment_source,omitempty"` + Attachments *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments `json:"attachments,omitempty"` + Events *POSTAddresses201ResponseDataRelationshipsEvents `json:"events,omitempty"` + Versions *POSTAddresses201ResponseDataRelationshipsVersions `json:"versions,omitempty"` + ReferenceAuthorization *GETCapturesCaptureId200ResponseDataRelationshipsReferenceAuthorization `json:"reference_authorization,omitempty"` + Refunds *GETCapturesCaptureId200ResponseDataRelationshipsRefunds `json:"refunds,omitempty"` + Return *GETCapturesCaptureId200ResponseDataRelationshipsReturn `json:"return,omitempty"` } // NewGETCapturesCaptureId200ResponseDataRelationships instantiates a new GETCapturesCaptureId200ResponseDataRelationships object @@ -78,6 +79,38 @@ func (o *GETCapturesCaptureId200ResponseDataRelationships) SetOrder(v POSTAdyenP o.Order = &v } +// GetPaymentSource returns the PaymentSource field value if set, zero value otherwise. +func (o *GETCapturesCaptureId200ResponseDataRelationships) GetPaymentSource() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource { + if o == nil || IsNil(o.PaymentSource) { + var ret GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource + return ret + } + return *o.PaymentSource +} + +// GetPaymentSourceOk returns a tuple with the PaymentSource field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GETCapturesCaptureId200ResponseDataRelationships) GetPaymentSourceOk() (*GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource, bool) { + if o == nil || IsNil(o.PaymentSource) { + return nil, false + } + return o.PaymentSource, true +} + +// HasPaymentSource returns a boolean if a field has been set. +func (o *GETCapturesCaptureId200ResponseDataRelationships) HasPaymentSource() bool { + if o != nil && !IsNil(o.PaymentSource) { + return true + } + + return false +} + +// SetPaymentSource gets a reference to the given GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource and assigns it to the PaymentSource field. +func (o *GETCapturesCaptureId200ResponseDataRelationships) SetPaymentSource(v GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) { + o.PaymentSource = &v +} + // GetAttachments returns the Attachments field value if set, zero value otherwise. func (o *GETCapturesCaptureId200ResponseDataRelationships) GetAttachments() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments { if o == nil || IsNil(o.Attachments) { @@ -283,6 +316,9 @@ func (o GETCapturesCaptureId200ResponseDataRelationships) ToMap() (map[string]in if !IsNil(o.Order) { toSerialize["order"] = o.Order } + if !IsNil(o.PaymentSource) { + toSerialize["payment_source"] = o.PaymentSource + } if !IsNil(o.Attachments) { toSerialize["attachments"] = o.Attachments } diff --git a/api/model_get_captures_capture_id_200_response_data_relationships_reference_authorization.go b/api/model_get_captures_capture_id_200_response_data_relationships_reference_authorization.go index caa999841..0038c1868 100644 --- a/api/model_get_captures_capture_id_200_response_data_relationships_reference_authorization.go +++ b/api/model_get_captures_capture_id_200_response_data_relationships_reference_authorization.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_captures_capture_id_200_response_data_relationships_reference_authorization_data.go b/api/model_get_captures_capture_id_200_response_data_relationships_reference_authorization_data.go index d4f34a22f..6cfb7c546 100644 --- a/api/model_get_captures_capture_id_200_response_data_relationships_reference_authorization_data.go +++ b/api/model_get_captures_capture_id_200_response_data_relationships_reference_authorization_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_captures_capture_id_200_response_data_relationships_refunds.go b/api/model_get_captures_capture_id_200_response_data_relationships_refunds.go index 0ea965d33..1be3ab7f6 100644 --- a/api/model_get_captures_capture_id_200_response_data_relationships_refunds.go +++ b/api/model_get_captures_capture_id_200_response_data_relationships_refunds.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_captures_capture_id_200_response_data_relationships_refunds_data.go b/api/model_get_captures_capture_id_200_response_data_relationships_refunds_data.go index 41774a8f9..8a6794841 100644 --- a/api/model_get_captures_capture_id_200_response_data_relationships_refunds_data.go +++ b/api/model_get_captures_capture_id_200_response_data_relationships_refunds_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_captures_capture_id_200_response_data_relationships_return.go b/api/model_get_captures_capture_id_200_response_data_relationships_return.go index e197f7811..7b564080b 100644 --- a/api/model_get_captures_capture_id_200_response_data_relationships_return.go +++ b/api/model_get_captures_capture_id_200_response_data_relationships_return.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_captures_capture_id_200_response_data_relationships_return_data.go b/api/model_get_captures_capture_id_200_response_data_relationships_return_data.go index f25aac99c..c49bcf007 100644 --- a/api/model_get_captures_capture_id_200_response_data_relationships_return_data.go +++ b/api/model_get_captures_capture_id_200_response_data_relationships_return_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_carrier_accounts_200_response.go b/api/model_get_carrier_accounts_200_response.go index 225073659..ea8ba093a 100644 --- a/api/model_get_carrier_accounts_200_response.go +++ b/api/model_get_carrier_accounts_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_carrier_accounts_carrier_account_id_200_response.go b/api/model_get_carrier_accounts_carrier_account_id_200_response.go index 6e3215af4..c03b2988b 100644 --- a/api/model_get_carrier_accounts_carrier_account_id_200_response.go +++ b/api/model_get_carrier_accounts_carrier_account_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_carrier_accounts_carrier_account_id_200_response_data.go b/api/model_get_carrier_accounts_carrier_account_id_200_response_data.go index 53518ca27..d77823e0d 100644 --- a/api/model_get_carrier_accounts_carrier_account_id_200_response_data.go +++ b/api/model_get_carrier_accounts_carrier_account_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -26,7 +26,7 @@ type GETCarrierAccountsCarrierAccountId200ResponseData struct { Type interface{} `json:"type,omitempty"` Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` Attributes *GETCarrierAccountsCarrierAccountId200ResponseDataAttributes `json:"attributes,omitempty"` - Relationships *POSTBillingInfoValidationRules201ResponseDataRelationships `json:"relationships,omitempty"` + Relationships *POSTCarrierAccounts201ResponseDataRelationships `json:"relationships,omitempty"` } // NewGETCarrierAccountsCarrierAccountId200ResponseData instantiates a new GETCarrierAccountsCarrierAccountId200ResponseData object @@ -177,9 +177,9 @@ func (o *GETCarrierAccountsCarrierAccountId200ResponseData) SetAttributes(v GETC } // GetRelationships returns the Relationships field value if set, zero value otherwise. -func (o *GETCarrierAccountsCarrierAccountId200ResponseData) GetRelationships() POSTBillingInfoValidationRules201ResponseDataRelationships { +func (o *GETCarrierAccountsCarrierAccountId200ResponseData) GetRelationships() POSTCarrierAccounts201ResponseDataRelationships { if o == nil || IsNil(o.Relationships) { - var ret POSTBillingInfoValidationRules201ResponseDataRelationships + var ret POSTCarrierAccounts201ResponseDataRelationships return ret } return *o.Relationships @@ -187,7 +187,7 @@ func (o *GETCarrierAccountsCarrierAccountId200ResponseData) GetRelationships() P // GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *GETCarrierAccountsCarrierAccountId200ResponseData) GetRelationshipsOk() (*POSTBillingInfoValidationRules201ResponseDataRelationships, bool) { +func (o *GETCarrierAccountsCarrierAccountId200ResponseData) GetRelationshipsOk() (*POSTCarrierAccounts201ResponseDataRelationships, bool) { if o == nil || IsNil(o.Relationships) { return nil, false } @@ -203,8 +203,8 @@ func (o *GETCarrierAccountsCarrierAccountId200ResponseData) HasRelationships() b return false } -// SetRelationships gets a reference to the given POSTBillingInfoValidationRules201ResponseDataRelationships and assigns it to the Relationships field. -func (o *GETCarrierAccountsCarrierAccountId200ResponseData) SetRelationships(v POSTBillingInfoValidationRules201ResponseDataRelationships) { +// SetRelationships gets a reference to the given POSTCarrierAccounts201ResponseDataRelationships and assigns it to the Relationships field. +func (o *GETCarrierAccountsCarrierAccountId200ResponseData) SetRelationships(v POSTCarrierAccounts201ResponseDataRelationships) { o.Relationships = &v } diff --git a/api/model_get_carrier_accounts_carrier_account_id_200_response_data_attributes.go b/api/model_get_carrier_accounts_carrier_account_id_200_response_data_attributes.go index 4ca1b1463..dbe8fa5ee 100644 --- a/api/model_get_carrier_accounts_carrier_account_id_200_response_data_attributes.go +++ b/api/model_get_carrier_accounts_carrier_account_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_checkout_com_gateways_200_response.go b/api/model_get_checkout_com_gateways_200_response.go index 5cb589035..f1abffaa1 100644 --- a/api/model_get_checkout_com_gateways_200_response.go +++ b/api/model_get_checkout_com_gateways_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_checkout_com_gateways_checkout_com_gateway_id_200_response.go b/api/model_get_checkout_com_gateways_checkout_com_gateway_id_200_response.go index 767a745c5..4e02b05cf 100644 --- a/api/model_get_checkout_com_gateways_checkout_com_gateway_id_200_response.go +++ b/api/model_get_checkout_com_gateways_checkout_com_gateway_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_checkout_com_gateways_checkout_com_gateway_id_200_response_data.go b/api/model_get_checkout_com_gateways_checkout_com_gateway_id_200_response_data.go index eebb9bbe0..17cc4e579 100644 --- a/api/model_get_checkout_com_gateways_checkout_com_gateway_id_200_response_data.go +++ b/api/model_get_checkout_com_gateways_checkout_com_gateway_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_checkout_com_gateways_checkout_com_gateway_id_200_response_data_attributes.go b/api/model_get_checkout_com_gateways_checkout_com_gateway_id_200_response_data_attributes.go index 7514dae13..c26eed78c 100644 --- a/api/model_get_checkout_com_gateways_checkout_com_gateway_id_200_response_data_attributes.go +++ b/api/model_get_checkout_com_gateways_checkout_com_gateway_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_checkout_com_payments_200_response.go b/api/model_get_checkout_com_payments_200_response.go index b8069cf82..967c7d4cb 100644 --- a/api/model_get_checkout_com_payments_200_response.go +++ b/api/model_get_checkout_com_payments_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_checkout_com_payments_checkout_com_payment_id_200_response.go b/api/model_get_checkout_com_payments_checkout_com_payment_id_200_response.go index 2afa24b37..2b1eaae80 100644 --- a/api/model_get_checkout_com_payments_checkout_com_payment_id_200_response.go +++ b/api/model_get_checkout_com_payments_checkout_com_payment_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_checkout_com_payments_checkout_com_payment_id_200_response_data.go b/api/model_get_checkout_com_payments_checkout_com_payment_id_200_response_data.go index 24a0e2e92..8f4cb4e7e 100644 --- a/api/model_get_checkout_com_payments_checkout_com_payment_id_200_response_data.go +++ b/api/model_get_checkout_com_payments_checkout_com_payment_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_checkout_com_payments_checkout_com_payment_id_200_response_data_attributes.go b/api/model_get_checkout_com_payments_checkout_com_payment_id_200_response_data_attributes.go index 8777937cb..ee4cf59fa 100644 --- a/api/model_get_checkout_com_payments_checkout_com_payment_id_200_response_data_attributes.go +++ b/api/model_get_checkout_com_payments_checkout_com_payment_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_cleanups_200_response.go b/api/model_get_cleanups_200_response.go index 1c3afe4fb..ea31a139c 100644 --- a/api/model_get_cleanups_200_response.go +++ b/api/model_get_cleanups_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_cleanups_cleanup_id_200_response.go b/api/model_get_cleanups_cleanup_id_200_response.go index fa2ccbb6c..93508b05b 100644 --- a/api/model_get_cleanups_cleanup_id_200_response.go +++ b/api/model_get_cleanups_cleanup_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_cleanups_cleanup_id_200_response_data.go b/api/model_get_cleanups_cleanup_id_200_response_data.go index 7b660c263..b33aae2d0 100644 --- a/api/model_get_cleanups_cleanup_id_200_response_data.go +++ b/api/model_get_cleanups_cleanup_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_cleanups_cleanup_id_200_response_data_attributes.go b/api/model_get_cleanups_cleanup_id_200_response_data_attributes.go index 04a7cb757..1f490e206 100644 --- a/api/model_get_cleanups_cleanup_id_200_response_data_attributes.go +++ b/api/model_get_cleanups_cleanup_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_coupon_codes_promotion_rules_200_response.go b/api/model_get_coupon_codes_promotion_rules_200_response.go index 9acc77974..5670c8821 100644 --- a/api/model_get_coupon_codes_promotion_rules_200_response.go +++ b/api/model_get_coupon_codes_promotion_rules_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_coupon_codes_promotion_rules_coupon_codes_promotion_rule_id_200_response.go b/api/model_get_coupon_codes_promotion_rules_coupon_codes_promotion_rule_id_200_response.go index 3223acaf6..f99a8a21a 100644 --- a/api/model_get_coupon_codes_promotion_rules_coupon_codes_promotion_rule_id_200_response.go +++ b/api/model_get_coupon_codes_promotion_rules_coupon_codes_promotion_rule_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_coupon_codes_promotion_rules_coupon_codes_promotion_rule_id_200_response_data.go b/api/model_get_coupon_codes_promotion_rules_coupon_codes_promotion_rule_id_200_response_data.go index 645e9df8d..86010f01b 100644 --- a/api/model_get_coupon_codes_promotion_rules_coupon_codes_promotion_rule_id_200_response_data.go +++ b/api/model_get_coupon_codes_promotion_rules_coupon_codes_promotion_rule_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_coupon_codes_promotion_rules_coupon_codes_promotion_rule_id_200_response_data_attributes.go b/api/model_get_coupon_codes_promotion_rules_coupon_codes_promotion_rule_id_200_response_data_attributes.go index 5740fdd8b..07ed48c53 100644 --- a/api/model_get_coupon_codes_promotion_rules_coupon_codes_promotion_rule_id_200_response_data_attributes.go +++ b/api/model_get_coupon_codes_promotion_rules_coupon_codes_promotion_rule_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_coupon_recipients_200_response.go b/api/model_get_coupon_recipients_200_response.go index 551161a71..73bd6c39b 100644 --- a/api/model_get_coupon_recipients_200_response.go +++ b/api/model_get_coupon_recipients_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_coupon_recipients_coupon_recipient_id_200_response.go b/api/model_get_coupon_recipients_coupon_recipient_id_200_response.go index b7e02a4cb..06ed64eae 100644 --- a/api/model_get_coupon_recipients_coupon_recipient_id_200_response.go +++ b/api/model_get_coupon_recipients_coupon_recipient_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_coupon_recipients_coupon_recipient_id_200_response_data.go b/api/model_get_coupon_recipients_coupon_recipient_id_200_response_data.go index 322cded19..5be9025fe 100644 --- a/api/model_get_coupon_recipients_coupon_recipient_id_200_response_data.go +++ b/api/model_get_coupon_recipients_coupon_recipient_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_coupon_recipients_coupon_recipient_id_200_response_data_attributes.go b/api/model_get_coupon_recipients_coupon_recipient_id_200_response_data_attributes.go index 3c51479e1..66c100aa6 100644 --- a/api/model_get_coupon_recipients_coupon_recipient_id_200_response_data_attributes.go +++ b/api/model_get_coupon_recipients_coupon_recipient_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_coupons_200_response.go b/api/model_get_coupons_200_response.go index 108d57779..ef854f401 100644 --- a/api/model_get_coupons_200_response.go +++ b/api/model_get_coupons_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_coupons_coupon_id_200_response.go b/api/model_get_coupons_coupon_id_200_response.go index 286b5b3ea..a399b8fb1 100644 --- a/api/model_get_coupons_coupon_id_200_response.go +++ b/api/model_get_coupons_coupon_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_coupons_coupon_id_200_response_data.go b/api/model_get_coupons_coupon_id_200_response_data.go index d747a4aa3..9b8f74a49 100644 --- a/api/model_get_coupons_coupon_id_200_response_data.go +++ b/api/model_get_coupons_coupon_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_coupons_coupon_id_200_response_data_attributes.go b/api/model_get_coupons_coupon_id_200_response_data_attributes.go index 9a44a0014..62c9fbe49 100644 --- a/api/model_get_coupons_coupon_id_200_response_data_attributes.go +++ b/api/model_get_coupons_coupon_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_custom_promotion_rules_200_response.go b/api/model_get_custom_promotion_rules_200_response.go index 44afd076e..5b14ebb12 100644 --- a/api/model_get_custom_promotion_rules_200_response.go +++ b/api/model_get_custom_promotion_rules_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_custom_promotion_rules_custom_promotion_rule_id_200_response.go b/api/model_get_custom_promotion_rules_custom_promotion_rule_id_200_response.go index 9bfa058fa..9a9890b09 100644 --- a/api/model_get_custom_promotion_rules_custom_promotion_rule_id_200_response.go +++ b/api/model_get_custom_promotion_rules_custom_promotion_rule_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_custom_promotion_rules_custom_promotion_rule_id_200_response_data.go b/api/model_get_custom_promotion_rules_custom_promotion_rule_id_200_response_data.go index b56459775..ef1139aac 100644 --- a/api/model_get_custom_promotion_rules_custom_promotion_rule_id_200_response_data.go +++ b/api/model_get_custom_promotion_rules_custom_promotion_rule_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_custom_promotion_rules_custom_promotion_rule_id_200_response_data_attributes.go b/api/model_get_custom_promotion_rules_custom_promotion_rule_id_200_response_data_attributes.go index 637cd42f2..49d98f71c 100644 --- a/api/model_get_custom_promotion_rules_custom_promotion_rule_id_200_response_data_attributes.go +++ b/api/model_get_custom_promotion_rules_custom_promotion_rule_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_customer_addresses_200_response.go b/api/model_get_customer_addresses_200_response.go index 21660e129..f14ba27cb 100644 --- a/api/model_get_customer_addresses_200_response.go +++ b/api/model_get_customer_addresses_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_customer_addresses_customer_address_id_200_response.go b/api/model_get_customer_addresses_customer_address_id_200_response.go index 495cac149..1e27c2109 100644 --- a/api/model_get_customer_addresses_customer_address_id_200_response.go +++ b/api/model_get_customer_addresses_customer_address_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_customer_addresses_customer_address_id_200_response_data.go b/api/model_get_customer_addresses_customer_address_id_200_response_data.go index e01d4eb25..cf8a0cf88 100644 --- a/api/model_get_customer_addresses_customer_address_id_200_response_data.go +++ b/api/model_get_customer_addresses_customer_address_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_customer_addresses_customer_address_id_200_response_data_attributes.go b/api/model_get_customer_addresses_customer_address_id_200_response_data_attributes.go index 1a67f2e7f..2c0793f2d 100644 --- a/api/model_get_customer_addresses_customer_address_id_200_response_data_attributes.go +++ b/api/model_get_customer_addresses_customer_address_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_customer_groups_200_response.go b/api/model_get_customer_groups_200_response.go index ce2436d4a..9948cf613 100644 --- a/api/model_get_customer_groups_200_response.go +++ b/api/model_get_customer_groups_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_customer_groups_customer_group_id_200_response.go b/api/model_get_customer_groups_customer_group_id_200_response.go index 162826741..1a683497b 100644 --- a/api/model_get_customer_groups_customer_group_id_200_response.go +++ b/api/model_get_customer_groups_customer_group_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_customer_groups_customer_group_id_200_response_data.go b/api/model_get_customer_groups_customer_group_id_200_response_data.go index 2b970275b..694b693be 100644 --- a/api/model_get_customer_groups_customer_group_id_200_response_data.go +++ b/api/model_get_customer_groups_customer_group_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_customer_groups_customer_group_id_200_response_data_attributes.go b/api/model_get_customer_groups_customer_group_id_200_response_data_attributes.go index f9adb8f69..5cb085358 100644 --- a/api/model_get_customer_groups_customer_group_id_200_response_data_attributes.go +++ b/api/model_get_customer_groups_customer_group_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_customer_password_resets_200_response.go b/api/model_get_customer_password_resets_200_response.go index 3c552b230..de317bde6 100644 --- a/api/model_get_customer_password_resets_200_response.go +++ b/api/model_get_customer_password_resets_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_customer_password_resets_customer_password_reset_id_200_response.go b/api/model_get_customer_password_resets_customer_password_reset_id_200_response.go index 9e3e5c759..5639f48f1 100644 --- a/api/model_get_customer_password_resets_customer_password_reset_id_200_response.go +++ b/api/model_get_customer_password_resets_customer_password_reset_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_customer_password_resets_customer_password_reset_id_200_response_data.go b/api/model_get_customer_password_resets_customer_password_reset_id_200_response_data.go index 01b4e937b..4e1bd54a2 100644 --- a/api/model_get_customer_password_resets_customer_password_reset_id_200_response_data.go +++ b/api/model_get_customer_password_resets_customer_password_reset_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_customer_password_resets_customer_password_reset_id_200_response_data_attributes.go b/api/model_get_customer_password_resets_customer_password_reset_id_200_response_data_attributes.go index b1f49fbbf..1e72796b7 100644 --- a/api/model_get_customer_password_resets_customer_password_reset_id_200_response_data_attributes.go +++ b/api/model_get_customer_password_resets_customer_password_reset_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_customer_payment_sources_200_response.go b/api/model_get_customer_payment_sources_200_response.go index 698942954..40abfaf30 100644 --- a/api/model_get_customer_payment_sources_200_response.go +++ b/api/model_get_customer_payment_sources_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_customer_payment_sources_customer_payment_source_id_200_response.go b/api/model_get_customer_payment_sources_customer_payment_source_id_200_response.go index e432320c1..186c74dd2 100644 --- a/api/model_get_customer_payment_sources_customer_payment_source_id_200_response.go +++ b/api/model_get_customer_payment_sources_customer_payment_source_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_customer_payment_sources_customer_payment_source_id_200_response_data.go b/api/model_get_customer_payment_sources_customer_payment_source_id_200_response_data.go index c9308214d..71889ead4 100644 --- a/api/model_get_customer_payment_sources_customer_payment_source_id_200_response_data.go +++ b/api/model_get_customer_payment_sources_customer_payment_source_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_customer_payment_sources_customer_payment_source_id_200_response_data_attributes.go b/api/model_get_customer_payment_sources_customer_payment_source_id_200_response_data_attributes.go index fecbf7ee9..063b336c1 100644 --- a/api/model_get_customer_payment_sources_customer_payment_source_id_200_response_data_attributes.go +++ b/api/model_get_customer_payment_sources_customer_payment_source_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_customer_subscriptions_200_response.go b/api/model_get_customer_subscriptions_200_response.go index 9c366eb70..10a47efc8 100644 --- a/api/model_get_customer_subscriptions_200_response.go +++ b/api/model_get_customer_subscriptions_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_customer_subscriptions_customer_subscription_id_200_response.go b/api/model_get_customer_subscriptions_customer_subscription_id_200_response.go index 0a1b42e38..040bb6f2f 100644 --- a/api/model_get_customer_subscriptions_customer_subscription_id_200_response.go +++ b/api/model_get_customer_subscriptions_customer_subscription_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_customer_subscriptions_customer_subscription_id_200_response_data.go b/api/model_get_customer_subscriptions_customer_subscription_id_200_response_data.go index 64c626114..3baca220d 100644 --- a/api/model_get_customer_subscriptions_customer_subscription_id_200_response_data.go +++ b/api/model_get_customer_subscriptions_customer_subscription_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_customer_subscriptions_customer_subscription_id_200_response_data_attributes.go b/api/model_get_customer_subscriptions_customer_subscription_id_200_response_data_attributes.go index 896bfd2a7..790a0e743 100644 --- a/api/model_get_customer_subscriptions_customer_subscription_id_200_response_data_attributes.go +++ b/api/model_get_customer_subscriptions_customer_subscription_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_customers_200_response.go b/api/model_get_customers_200_response.go index 14ade78df..4a112af17 100644 --- a/api/model_get_customers_200_response.go +++ b/api/model_get_customers_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_customers_customer_id_200_response.go b/api/model_get_customers_customer_id_200_response.go index 716f078fb..b2f71fe1c 100644 --- a/api/model_get_customers_customer_id_200_response.go +++ b/api/model_get_customers_customer_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_customers_customer_id_200_response_data.go b/api/model_get_customers_customer_id_200_response_data.go index f50a80b75..c55d366b4 100644 --- a/api/model_get_customers_customer_id_200_response_data.go +++ b/api/model_get_customers_customer_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_customers_customer_id_200_response_data_attributes.go b/api/model_get_customers_customer_id_200_response_data_attributes.go index 3cefaa22c..06b88e1c6 100644 --- a/api/model_get_customers_customer_id_200_response_data_attributes.go +++ b/api/model_get_customers_customer_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -30,6 +30,8 @@ type GETCustomersCustomerId200ResponseDataAttributes struct { TotalOrdersCount interface{} `json:"total_orders_count,omitempty"` // A reference to uniquely identify the shopper during payment sessions. ShopperReference interface{} `json:"shopper_reference,omitempty"` + // A reference to uniquely identify the customer on any connected external services. + ProfileId interface{} `json:"profile_id,omitempty"` // Time at which the resource was created. CreatedAt interface{} `json:"created_at,omitempty"` // Time at which the resource was last updated. @@ -224,6 +226,39 @@ func (o *GETCustomersCustomerId200ResponseDataAttributes) SetShopperReference(v o.ShopperReference = v } +// GetProfileId returns the ProfileId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETCustomersCustomerId200ResponseDataAttributes) GetProfileId() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.ProfileId +} + +// GetProfileIdOk returns a tuple with the ProfileId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETCustomersCustomerId200ResponseDataAttributes) GetProfileIdOk() (*interface{}, bool) { + if o == nil || IsNil(o.ProfileId) { + return nil, false + } + return &o.ProfileId, true +} + +// HasProfileId returns a boolean if a field has been set. +func (o *GETCustomersCustomerId200ResponseDataAttributes) HasProfileId() bool { + if o != nil && IsNil(o.ProfileId) { + return true + } + + return false +} + +// SetProfileId gets a reference to the given interface{} and assigns it to the ProfileId field. +func (o *GETCustomersCustomerId200ResponseDataAttributes) SetProfileId(v interface{}) { + o.ProfileId = v +} + // GetCreatedAt returns the CreatedAt field value if set, zero value otherwise (both if not set or set to explicit null). func (o *GETCustomersCustomerId200ResponseDataAttributes) GetCreatedAt() interface{} { if o == nil { @@ -414,6 +449,9 @@ func (o GETCustomersCustomerId200ResponseDataAttributes) ToMap() (map[string]int if o.ShopperReference != nil { toSerialize["shopper_reference"] = o.ShopperReference } + if o.ProfileId != nil { + toSerialize["profile_id"] = o.ProfileId + } if o.CreatedAt != nil { toSerialize["created_at"] = o.CreatedAt } diff --git a/api/model_get_delivery_lead_times_200_response.go b/api/model_get_delivery_lead_times_200_response.go index 1c8adcdb0..f8389a667 100644 --- a/api/model_get_delivery_lead_times_200_response.go +++ b/api/model_get_delivery_lead_times_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_delivery_lead_times_delivery_lead_time_id_200_response.go b/api/model_get_delivery_lead_times_delivery_lead_time_id_200_response.go index 6e80f1d19..ae869f10e 100644 --- a/api/model_get_delivery_lead_times_delivery_lead_time_id_200_response.go +++ b/api/model_get_delivery_lead_times_delivery_lead_time_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_delivery_lead_times_delivery_lead_time_id_200_response_data.go b/api/model_get_delivery_lead_times_delivery_lead_time_id_200_response_data.go index ca21f67fa..7f62ab9eb 100644 --- a/api/model_get_delivery_lead_times_delivery_lead_time_id_200_response_data.go +++ b/api/model_get_delivery_lead_times_delivery_lead_time_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_delivery_lead_times_delivery_lead_time_id_200_response_data_attributes.go b/api/model_get_delivery_lead_times_delivery_lead_time_id_200_response_data_attributes.go index dde466f8b..d790bc802 100644 --- a/api/model_get_delivery_lead_times_delivery_lead_time_id_200_response_data_attributes.go +++ b/api/model_get_delivery_lead_times_delivery_lead_time_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_event_callbacks_200_response.go b/api/model_get_event_callbacks_200_response.go index 78afe6041..a24ba1add 100644 --- a/api/model_get_event_callbacks_200_response.go +++ b/api/model_get_event_callbacks_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_event_callbacks_event_callback_id_200_response.go b/api/model_get_event_callbacks_event_callback_id_200_response.go index d7e067487..6c624b2c8 100644 --- a/api/model_get_event_callbacks_event_callback_id_200_response.go +++ b/api/model_get_event_callbacks_event_callback_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_event_callbacks_event_callback_id_200_response_data.go b/api/model_get_event_callbacks_event_callback_id_200_response_data.go index bb79cc842..fdf3b8a6d 100644 --- a/api/model_get_event_callbacks_event_callback_id_200_response_data.go +++ b/api/model_get_event_callbacks_event_callback_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_event_callbacks_event_callback_id_200_response_data_attributes.go b/api/model_get_event_callbacks_event_callback_id_200_response_data_attributes.go index 447a1bc1a..27ca4cafd 100644 --- a/api/model_get_event_callbacks_event_callback_id_200_response_data_attributes.go +++ b/api/model_get_event_callbacks_event_callback_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_event_callbacks_event_callback_id_200_response_data_relationships.go b/api/model_get_event_callbacks_event_callback_id_200_response_data_relationships.go index 94a86dc51..555d6e8b9 100644 --- a/api/model_get_event_callbacks_event_callback_id_200_response_data_relationships.go +++ b/api/model_get_event_callbacks_event_callback_id_200_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_event_callbacks_event_callback_id_200_response_data_relationships_webhook.go b/api/model_get_event_callbacks_event_callback_id_200_response_data_relationships_webhook.go index 942f3f937..672890d4d 100644 --- a/api/model_get_event_callbacks_event_callback_id_200_response_data_relationships_webhook.go +++ b/api/model_get_event_callbacks_event_callback_id_200_response_data_relationships_webhook.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_event_callbacks_event_callback_id_200_response_data_relationships_webhook_data.go b/api/model_get_event_callbacks_event_callback_id_200_response_data_relationships_webhook_data.go index 0658708fc..471bbdfb9 100644 --- a/api/model_get_event_callbacks_event_callback_id_200_response_data_relationships_webhook_data.go +++ b/api/model_get_event_callbacks_event_callback_id_200_response_data_relationships_webhook_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_events_200_response.go b/api/model_get_events_200_response.go index b1c28db27..cec968616 100644 --- a/api/model_get_events_200_response.go +++ b/api/model_get_events_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_events_event_id_200_response.go b/api/model_get_events_event_id_200_response.go index 964a4d160..20cfc5d5a 100644 --- a/api/model_get_events_event_id_200_response.go +++ b/api/model_get_events_event_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_events_event_id_200_response_data.go b/api/model_get_events_event_id_200_response_data.go index f2e085880..63eff5bdf 100644 --- a/api/model_get_events_event_id_200_response_data.go +++ b/api/model_get_events_event_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_events_event_id_200_response_data_attributes.go b/api/model_get_events_event_id_200_response_data_attributes.go index b845b2c00..047693837 100644 --- a/api/model_get_events_event_id_200_response_data_attributes.go +++ b/api/model_get_events_event_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_events_event_id_200_response_data_relationships.go b/api/model_get_events_event_id_200_response_data_relationships.go index 034b7f696..5fb8dc9bd 100644 --- a/api/model_get_events_event_id_200_response_data_relationships.go +++ b/api/model_get_events_event_id_200_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_events_event_id_200_response_data_relationships_last_event_callbacks.go b/api/model_get_events_event_id_200_response_data_relationships_last_event_callbacks.go index 42e269ecd..d07b3c1b4 100644 --- a/api/model_get_events_event_id_200_response_data_relationships_last_event_callbacks.go +++ b/api/model_get_events_event_id_200_response_data_relationships_last_event_callbacks.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_events_event_id_200_response_data_relationships_last_event_callbacks_data.go b/api/model_get_events_event_id_200_response_data_relationships_last_event_callbacks_data.go index e075a2276..be84e07c5 100644 --- a/api/model_get_events_event_id_200_response_data_relationships_last_event_callbacks_data.go +++ b/api/model_get_events_event_id_200_response_data_relationships_last_event_callbacks_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_events_event_id_200_response_data_relationships_webhooks.go b/api/model_get_events_event_id_200_response_data_relationships_webhooks.go index 03942e991..185967026 100644 --- a/api/model_get_events_event_id_200_response_data_relationships_webhooks.go +++ b/api/model_get_events_event_id_200_response_data_relationships_webhooks.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_events_event_id_200_response_data_relationships_webhooks_data.go b/api/model_get_events_event_id_200_response_data_relationships_webhooks_data.go index 52fa152c1..df985920c 100644 --- a/api/model_get_events_event_id_200_response_data_relationships_webhooks_data.go +++ b/api/model_get_events_event_id_200_response_data_relationships_webhooks_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_exports_200_response.go b/api/model_get_exports_200_response.go index 03c81eac5..638cfb637 100644 --- a/api/model_get_exports_200_response.go +++ b/api/model_get_exports_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_exports_export_id_200_response.go b/api/model_get_exports_export_id_200_response.go index 02e3be65b..055b8d6fa 100644 --- a/api/model_get_exports_export_id_200_response.go +++ b/api/model_get_exports_export_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_exports_export_id_200_response_data.go b/api/model_get_exports_export_id_200_response_data.go index 684f42d8c..cfbc1cb2d 100644 --- a/api/model_get_exports_export_id_200_response_data.go +++ b/api/model_get_exports_export_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_exports_export_id_200_response_data_attributes.go b/api/model_get_exports_export_id_200_response_data_attributes.go index 23202f9e6..2d89bf97b 100644 --- a/api/model_get_exports_export_id_200_response_data_attributes.go +++ b/api/model_get_exports_export_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -26,8 +26,10 @@ type GETExportsExportId200ResponseDataAttributes struct { Format interface{} `json:"format,omitempty"` // The export job status. One of 'pending' (default), 'in_progress', 'interrupted', or 'completed'. Status interface{} `json:"status,omitempty"` - // List of related resources that should be included in the export. + // List of related resources that should be included in the export (redundant when 'fields' are specified). Includes interface{} `json:"includes,omitempty"` + // List of fields to export for the main and related resources (automatically included). Pass the asterisk '*' to include all exportable fields for the main and related resources. + Fields interface{} `json:"fields,omitempty"` // The filters used to select the records to be exported. Filters interface{} `json:"filters,omitempty"` // Send this attribute if you want to skip exporting redundant attributes (IDs, timestamps, blanks, etc.), useful when combining export and import to duplicate your dataset. @@ -42,6 +44,8 @@ type GETExportsExportId200ResponseDataAttributes struct { RecordsCount interface{} `json:"records_count,omitempty"` // The URL to the output file, which will be generated upon export completion. AttachmentUrl interface{} `json:"attachment_url,omitempty"` + // Contains the exports errors, if any. + ErrorsLog interface{} `json:"errors_log,omitempty"` // Time at which the resource was created. CreatedAt interface{} `json:"created_at,omitempty"` // Time at which the resource was last updated. @@ -203,6 +207,39 @@ func (o *GETExportsExportId200ResponseDataAttributes) SetIncludes(v interface{}) o.Includes = v } +// GetFields returns the Fields field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETExportsExportId200ResponseDataAttributes) GetFields() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Fields +} + +// GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETExportsExportId200ResponseDataAttributes) GetFieldsOk() (*interface{}, bool) { + if o == nil || IsNil(o.Fields) { + return nil, false + } + return &o.Fields, true +} + +// HasFields returns a boolean if a field has been set. +func (o *GETExportsExportId200ResponseDataAttributes) HasFields() bool { + if o != nil && IsNil(o.Fields) { + return true + } + + return false +} + +// SetFields gets a reference to the given interface{} and assigns it to the Fields field. +func (o *GETExportsExportId200ResponseDataAttributes) SetFields(v interface{}) { + o.Fields = v +} + // GetFilters returns the Filters field value if set, zero value otherwise (both if not set or set to explicit null). func (o *GETExportsExportId200ResponseDataAttributes) GetFilters() interface{} { if o == nil { @@ -434,6 +471,39 @@ func (o *GETExportsExportId200ResponseDataAttributes) SetAttachmentUrl(v interfa o.AttachmentUrl = v } +// GetErrorsLog returns the ErrorsLog field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETExportsExportId200ResponseDataAttributes) GetErrorsLog() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.ErrorsLog +} + +// GetErrorsLogOk returns a tuple with the ErrorsLog field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETExportsExportId200ResponseDataAttributes) GetErrorsLogOk() (*interface{}, bool) { + if o == nil || IsNil(o.ErrorsLog) { + return nil, false + } + return &o.ErrorsLog, true +} + +// HasErrorsLog returns a boolean if a field has been set. +func (o *GETExportsExportId200ResponseDataAttributes) HasErrorsLog() bool { + if o != nil && IsNil(o.ErrorsLog) { + return true + } + + return false +} + +// SetErrorsLog gets a reference to the given interface{} and assigns it to the ErrorsLog field. +func (o *GETExportsExportId200ResponseDataAttributes) SetErrorsLog(v interface{}) { + o.ErrorsLog = v +} + // GetCreatedAt returns the CreatedAt field value if set, zero value otherwise (both if not set or set to explicit null). func (o *GETExportsExportId200ResponseDataAttributes) GetCreatedAt() interface{} { if o == nil { @@ -621,6 +691,9 @@ func (o GETExportsExportId200ResponseDataAttributes) ToMap() (map[string]interfa if o.Includes != nil { toSerialize["includes"] = o.Includes } + if o.Fields != nil { + toSerialize["fields"] = o.Fields + } if o.Filters != nil { toSerialize["filters"] = o.Filters } @@ -642,6 +715,9 @@ func (o GETExportsExportId200ResponseDataAttributes) ToMap() (map[string]interfa if o.AttachmentUrl != nil { toSerialize["attachment_url"] = o.AttachmentUrl } + if o.ErrorsLog != nil { + toSerialize["errors_log"] = o.ErrorsLog + } if o.CreatedAt != nil { toSerialize["created_at"] = o.CreatedAt } diff --git a/api/model_get_external_gateways_200_response.go b/api/model_get_external_gateways_200_response.go index 6375272a7..80b0fe07e 100644 --- a/api/model_get_external_gateways_200_response.go +++ b/api/model_get_external_gateways_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_external_gateways_external_gateway_id_200_response.go b/api/model_get_external_gateways_external_gateway_id_200_response.go index 3e94e5c33..83626d342 100644 --- a/api/model_get_external_gateways_external_gateway_id_200_response.go +++ b/api/model_get_external_gateways_external_gateway_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_external_gateways_external_gateway_id_200_response_data.go b/api/model_get_external_gateways_external_gateway_id_200_response_data.go index d7f7048e7..18b8f5986 100644 --- a/api/model_get_external_gateways_external_gateway_id_200_response_data.go +++ b/api/model_get_external_gateways_external_gateway_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_external_gateways_external_gateway_id_200_response_data_attributes.go b/api/model_get_external_gateways_external_gateway_id_200_response_data_attributes.go index ac6cd700c..cbb7ad5f8 100644 --- a/api/model_get_external_gateways_external_gateway_id_200_response_data_attributes.go +++ b/api/model_get_external_gateways_external_gateway_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_external_payments_200_response.go b/api/model_get_external_payments_200_response.go index 0d2e7452c..e09d3b6c3 100644 --- a/api/model_get_external_payments_200_response.go +++ b/api/model_get_external_payments_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_external_payments_external_payment_id_200_response.go b/api/model_get_external_payments_external_payment_id_200_response.go index 6ee9ad441..52d33e255 100644 --- a/api/model_get_external_payments_external_payment_id_200_response.go +++ b/api/model_get_external_payments_external_payment_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_external_payments_external_payment_id_200_response_data.go b/api/model_get_external_payments_external_payment_id_200_response_data.go index 6bfffac8c..2eda8172f 100644 --- a/api/model_get_external_payments_external_payment_id_200_response_data.go +++ b/api/model_get_external_payments_external_payment_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_external_payments_external_payment_id_200_response_data_attributes.go b/api/model_get_external_payments_external_payment_id_200_response_data_attributes.go index 1584c7671..3a264d69d 100644 --- a/api/model_get_external_payments_external_payment_id_200_response_data_attributes.go +++ b/api/model_get_external_payments_external_payment_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_external_promotions_200_response.go b/api/model_get_external_promotions_200_response.go index 9613f5aca..f3d46a7a9 100644 --- a/api/model_get_external_promotions_200_response.go +++ b/api/model_get_external_promotions_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_external_promotions_external_promotion_id_200_response.go b/api/model_get_external_promotions_external_promotion_id_200_response.go index 3fd675158..8557b3280 100644 --- a/api/model_get_external_promotions_external_promotion_id_200_response.go +++ b/api/model_get_external_promotions_external_promotion_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_external_promotions_external_promotion_id_200_response_data.go b/api/model_get_external_promotions_external_promotion_id_200_response_data.go index 4ef220c35..6907eb8d6 100644 --- a/api/model_get_external_promotions_external_promotion_id_200_response_data.go +++ b/api/model_get_external_promotions_external_promotion_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_external_promotions_external_promotion_id_200_response_data_attributes.go b/api/model_get_external_promotions_external_promotion_id_200_response_data_attributes.go index 43977e00e..b9562b1df 100644 --- a/api/model_get_external_promotions_external_promotion_id_200_response_data_attributes.go +++ b/api/model_get_external_promotions_external_promotion_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_external_tax_calculators_200_response.go b/api/model_get_external_tax_calculators_200_response.go index c87e30a96..ceb9f4f1b 100644 --- a/api/model_get_external_tax_calculators_200_response.go +++ b/api/model_get_external_tax_calculators_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_external_tax_calculators_external_tax_calculator_id_200_response.go b/api/model_get_external_tax_calculators_external_tax_calculator_id_200_response.go index 12bdb72c0..5bf31dfbb 100644 --- a/api/model_get_external_tax_calculators_external_tax_calculator_id_200_response.go +++ b/api/model_get_external_tax_calculators_external_tax_calculator_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_external_tax_calculators_external_tax_calculator_id_200_response_data.go b/api/model_get_external_tax_calculators_external_tax_calculator_id_200_response_data.go index ef2d746a2..9b37a779b 100644 --- a/api/model_get_external_tax_calculators_external_tax_calculator_id_200_response_data.go +++ b/api/model_get_external_tax_calculators_external_tax_calculator_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_external_tax_calculators_external_tax_calculator_id_200_response_data_attributes.go b/api/model_get_external_tax_calculators_external_tax_calculator_id_200_response_data_attributes.go index 06637b1b3..ffb76be19 100644 --- a/api/model_get_external_tax_calculators_external_tax_calculator_id_200_response_data_attributes.go +++ b/api/model_get_external_tax_calculators_external_tax_calculator_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_fixed_amount_promotions_200_response.go b/api/model_get_fixed_amount_promotions_200_response.go index 0f4ede787..c21163b9b 100644 --- a/api/model_get_fixed_amount_promotions_200_response.go +++ b/api/model_get_fixed_amount_promotions_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_fixed_amount_promotions_fixed_amount_promotion_id_200_response.go b/api/model_get_fixed_amount_promotions_fixed_amount_promotion_id_200_response.go index c1fc41588..3af94c5de 100644 --- a/api/model_get_fixed_amount_promotions_fixed_amount_promotion_id_200_response.go +++ b/api/model_get_fixed_amount_promotions_fixed_amount_promotion_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_fixed_amount_promotions_fixed_amount_promotion_id_200_response_data.go b/api/model_get_fixed_amount_promotions_fixed_amount_promotion_id_200_response_data.go index c6eb63d1b..244e79a51 100644 --- a/api/model_get_fixed_amount_promotions_fixed_amount_promotion_id_200_response_data.go +++ b/api/model_get_fixed_amount_promotions_fixed_amount_promotion_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_fixed_amount_promotions_fixed_amount_promotion_id_200_response_data_attributes.go b/api/model_get_fixed_amount_promotions_fixed_amount_promotion_id_200_response_data_attributes.go index 1b96569ba..25d869220 100644 --- a/api/model_get_fixed_amount_promotions_fixed_amount_promotion_id_200_response_data_attributes.go +++ b/api/model_get_fixed_amount_promotions_fixed_amount_promotion_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_fixed_price_promotions_200_response.go b/api/model_get_fixed_price_promotions_200_response.go index 47c8c2792..5ed72892f 100644 --- a/api/model_get_fixed_price_promotions_200_response.go +++ b/api/model_get_fixed_price_promotions_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_fixed_price_promotions_fixed_price_promotion_id_200_response.go b/api/model_get_fixed_price_promotions_fixed_price_promotion_id_200_response.go index 0d14a633f..9f6d197a7 100644 --- a/api/model_get_fixed_price_promotions_fixed_price_promotion_id_200_response.go +++ b/api/model_get_fixed_price_promotions_fixed_price_promotion_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_fixed_price_promotions_fixed_price_promotion_id_200_response_data.go b/api/model_get_fixed_price_promotions_fixed_price_promotion_id_200_response_data.go index d8b093c81..c0d30818c 100644 --- a/api/model_get_fixed_price_promotions_fixed_price_promotion_id_200_response_data.go +++ b/api/model_get_fixed_price_promotions_fixed_price_promotion_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_fixed_price_promotions_fixed_price_promotion_id_200_response_data_attributes.go b/api/model_get_fixed_price_promotions_fixed_price_promotion_id_200_response_data_attributes.go index 98bb09eda..a57a04f86 100644 --- a/api/model_get_fixed_price_promotions_fixed_price_promotion_id_200_response_data_attributes.go +++ b/api/model_get_fixed_price_promotions_fixed_price_promotion_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_flex_promotions_200_response.go b/api/model_get_flex_promotions_200_response.go index df209c48b..234212995 100644 --- a/api/model_get_flex_promotions_200_response.go +++ b/api/model_get_flex_promotions_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_flex_promotions_flex_promotion_id_200_response.go b/api/model_get_flex_promotions_flex_promotion_id_200_response.go index 56ac1a3e8..b901272a7 100644 --- a/api/model_get_flex_promotions_flex_promotion_id_200_response.go +++ b/api/model_get_flex_promotions_flex_promotion_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_flex_promotions_flex_promotion_id_200_response_data.go b/api/model_get_flex_promotions_flex_promotion_id_200_response_data.go index 3bf7df94d..6c73d6e0a 100644 --- a/api/model_get_flex_promotions_flex_promotion_id_200_response_data.go +++ b/api/model_get_flex_promotions_flex_promotion_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_flex_promotions_flex_promotion_id_200_response_data_attributes.go b/api/model_get_flex_promotions_flex_promotion_id_200_response_data_attributes.go index 3cde7a3c1..d66f8b112 100644 --- a/api/model_get_flex_promotions_flex_promotion_id_200_response_data_attributes.go +++ b/api/model_get_flex_promotions_flex_promotion_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -54,6 +54,8 @@ type GETFlexPromotionsFlexPromotionId200ResponseDataAttributes struct { ReferenceOrigin interface{} `json:"reference_origin,omitempty"` // The rule outcomes. RuleOutcomes interface{} `json:"rule_outcomes,omitempty"` + // The payload used to evaluate the rules. + ResourcePayload interface{} `json:"resource_payload,omitempty"` // Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. Metadata interface{} `json:"metadata,omitempty"` } @@ -636,6 +638,39 @@ func (o *GETFlexPromotionsFlexPromotionId200ResponseDataAttributes) SetRuleOutco o.RuleOutcomes = v } +// GetResourcePayload returns the ResourcePayload field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETFlexPromotionsFlexPromotionId200ResponseDataAttributes) GetResourcePayload() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.ResourcePayload +} + +// GetResourcePayloadOk returns a tuple with the ResourcePayload field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETFlexPromotionsFlexPromotionId200ResponseDataAttributes) GetResourcePayloadOk() (*interface{}, bool) { + if o == nil || IsNil(o.ResourcePayload) { + return nil, false + } + return &o.ResourcePayload, true +} + +// HasResourcePayload returns a boolean if a field has been set. +func (o *GETFlexPromotionsFlexPromotionId200ResponseDataAttributes) HasResourcePayload() bool { + if o != nil && IsNil(o.ResourcePayload) { + return true + } + + return false +} + +// SetResourcePayload gets a reference to the given interface{} and assigns it to the ResourcePayload field. +func (o *GETFlexPromotionsFlexPromotionId200ResponseDataAttributes) SetResourcePayload(v interface{}) { + o.ResourcePayload = v +} + // GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null). func (o *GETFlexPromotionsFlexPromotionId200ResponseDataAttributes) GetMetadata() interface{} { if o == nil { @@ -730,6 +765,9 @@ func (o GETFlexPromotionsFlexPromotionId200ResponseDataAttributes) ToMap() (map[ if o.RuleOutcomes != nil { toSerialize["rule_outcomes"] = o.RuleOutcomes } + if o.ResourcePayload != nil { + toSerialize["resource_payload"] = o.ResourcePayload + } if o.Metadata != nil { toSerialize["metadata"] = o.Metadata } diff --git a/api/model_get_free_gift_promotions_200_response.go b/api/model_get_free_gift_promotions_200_response.go index 3aedccf6b..71ed997a4 100644 --- a/api/model_get_free_gift_promotions_200_response.go +++ b/api/model_get_free_gift_promotions_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_free_gift_promotions_free_gift_promotion_id_200_response.go b/api/model_get_free_gift_promotions_free_gift_promotion_id_200_response.go index 6503f80e2..cbab9784b 100644 --- a/api/model_get_free_gift_promotions_free_gift_promotion_id_200_response.go +++ b/api/model_get_free_gift_promotions_free_gift_promotion_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_free_gift_promotions_free_gift_promotion_id_200_response_data.go b/api/model_get_free_gift_promotions_free_gift_promotion_id_200_response_data.go index a357a993a..ae03d8ea5 100644 --- a/api/model_get_free_gift_promotions_free_gift_promotion_id_200_response_data.go +++ b/api/model_get_free_gift_promotions_free_gift_promotion_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_free_gift_promotions_free_gift_promotion_id_200_response_data_attributes.go b/api/model_get_free_gift_promotions_free_gift_promotion_id_200_response_data_attributes.go index 972bf51be..39a8459a5 100644 --- a/api/model_get_free_gift_promotions_free_gift_promotion_id_200_response_data_attributes.go +++ b/api/model_get_free_gift_promotions_free_gift_promotion_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_free_shipping_promotions_200_response.go b/api/model_get_free_shipping_promotions_200_response.go index b6631df38..ca4bf1569 100644 --- a/api/model_get_free_shipping_promotions_200_response.go +++ b/api/model_get_free_shipping_promotions_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_free_shipping_promotions_free_shipping_promotion_id_200_response.go b/api/model_get_free_shipping_promotions_free_shipping_promotion_id_200_response.go index 5cb20c77f..019b08dbd 100644 --- a/api/model_get_free_shipping_promotions_free_shipping_promotion_id_200_response.go +++ b/api/model_get_free_shipping_promotions_free_shipping_promotion_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_free_shipping_promotions_free_shipping_promotion_id_200_response_data.go b/api/model_get_free_shipping_promotions_free_shipping_promotion_id_200_response_data.go index 1d235283d..3845967fd 100644 --- a/api/model_get_free_shipping_promotions_free_shipping_promotion_id_200_response_data.go +++ b/api/model_get_free_shipping_promotions_free_shipping_promotion_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_free_shipping_promotions_free_shipping_promotion_id_200_response_data_attributes.go b/api/model_get_free_shipping_promotions_free_shipping_promotion_id_200_response_data_attributes.go index 27abfc8bb..3b9ecc010 100644 --- a/api/model_get_free_shipping_promotions_free_shipping_promotion_id_200_response_data_attributes.go +++ b/api/model_get_free_shipping_promotions_free_shipping_promotion_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_geocoders_200_response.go b/api/model_get_geocoders_200_response.go index 63a50a0e5..f84ec331a 100644 --- a/api/model_get_geocoders_200_response.go +++ b/api/model_get_geocoders_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_geocoders_geocoder_id_200_response.go b/api/model_get_geocoders_geocoder_id_200_response.go index 30eed5567..7d81aa03a 100644 --- a/api/model_get_geocoders_geocoder_id_200_response.go +++ b/api/model_get_geocoders_geocoder_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_geocoders_geocoder_id_200_response_data.go b/api/model_get_geocoders_geocoder_id_200_response_data.go index eaadb48e4..773cdbb1d 100644 --- a/api/model_get_geocoders_geocoder_id_200_response_data.go +++ b/api/model_get_geocoders_geocoder_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_gift_card_recipients_200_response.go b/api/model_get_gift_card_recipients_200_response.go index 72f3f8813..d2d0d8d73 100644 --- a/api/model_get_gift_card_recipients_200_response.go +++ b/api/model_get_gift_card_recipients_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_gift_card_recipients_gift_card_recipient_id_200_response.go b/api/model_get_gift_card_recipients_gift_card_recipient_id_200_response.go index 96ae78f53..6396b87e0 100644 --- a/api/model_get_gift_card_recipients_gift_card_recipient_id_200_response.go +++ b/api/model_get_gift_card_recipients_gift_card_recipient_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_gift_card_recipients_gift_card_recipient_id_200_response_data.go b/api/model_get_gift_card_recipients_gift_card_recipient_id_200_response_data.go index 05f514841..9f176b184 100644 --- a/api/model_get_gift_card_recipients_gift_card_recipient_id_200_response_data.go +++ b/api/model_get_gift_card_recipients_gift_card_recipient_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_gift_cards_200_response.go b/api/model_get_gift_cards_200_response.go index 57b4c39c7..3de152cc2 100644 --- a/api/model_get_gift_cards_200_response.go +++ b/api/model_get_gift_cards_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_gift_cards_gift_card_id_200_response.go b/api/model_get_gift_cards_gift_card_id_200_response.go index d9ad02803..2e19942f9 100644 --- a/api/model_get_gift_cards_gift_card_id_200_response.go +++ b/api/model_get_gift_cards_gift_card_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_gift_cards_gift_card_id_200_response_data.go b/api/model_get_gift_cards_gift_card_id_200_response_data.go index 15d7e1389..1c914aef8 100644 --- a/api/model_get_gift_cards_gift_card_id_200_response_data.go +++ b/api/model_get_gift_cards_gift_card_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_gift_cards_gift_card_id_200_response_data_attributes.go b/api/model_get_gift_cards_gift_card_id_200_response_data_attributes.go index 2208e458d..ea109aec1 100644 --- a/api/model_get_gift_cards_gift_card_id_200_response_data_attributes.go +++ b/api/model_get_gift_cards_gift_card_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_google_geocoders_200_response.go b/api/model_get_google_geocoders_200_response.go index aed538ebd..db1d8331a 100644 --- a/api/model_get_google_geocoders_200_response.go +++ b/api/model_get_google_geocoders_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_google_geocoders_google_geocoder_id_200_response.go b/api/model_get_google_geocoders_google_geocoder_id_200_response.go index 8eaa07832..6c5dd5bfe 100644 --- a/api/model_get_google_geocoders_google_geocoder_id_200_response.go +++ b/api/model_get_google_geocoders_google_geocoder_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_google_geocoders_google_geocoder_id_200_response_data.go b/api/model_get_google_geocoders_google_geocoder_id_200_response_data.go index 772bbb028..088d01060 100644 --- a/api/model_get_google_geocoders_google_geocoder_id_200_response_data.go +++ b/api/model_get_google_geocoders_google_geocoder_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_imports_200_response.go b/api/model_get_imports_200_response.go index 9f15bba9c..d7982cb35 100644 --- a/api/model_get_imports_200_response.go +++ b/api/model_get_imports_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_imports_import_id_200_response.go b/api/model_get_imports_import_id_200_response.go index a6014b2aa..e474eac9d 100644 --- a/api/model_get_imports_import_id_200_response.go +++ b/api/model_get_imports_import_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_imports_import_id_200_response_data.go b/api/model_get_imports_import_id_200_response_data.go index 35521e40f..176e47970 100644 --- a/api/model_get_imports_import_id_200_response_data.go +++ b/api/model_get_imports_import_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_imports_import_id_200_response_data_attributes.go b/api/model_get_imports_import_id_200_response_data_attributes.go index fddd96527..0ed5c5a28 100644 --- a/api/model_get_imports_import_id_200_response_data_attributes.go +++ b/api/model_get_imports_import_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_in_stock_subscriptions_200_response.go b/api/model_get_in_stock_subscriptions_200_response.go index def91165f..d656fb43f 100644 --- a/api/model_get_in_stock_subscriptions_200_response.go +++ b/api/model_get_in_stock_subscriptions_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_in_stock_subscriptions_in_stock_subscription_id_200_response.go b/api/model_get_in_stock_subscriptions_in_stock_subscription_id_200_response.go index 23479594d..cb0f32b1b 100644 --- a/api/model_get_in_stock_subscriptions_in_stock_subscription_id_200_response.go +++ b/api/model_get_in_stock_subscriptions_in_stock_subscription_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_in_stock_subscriptions_in_stock_subscription_id_200_response_data.go b/api/model_get_in_stock_subscriptions_in_stock_subscription_id_200_response_data.go index 0b38611ca..6f929429e 100644 --- a/api/model_get_in_stock_subscriptions_in_stock_subscription_id_200_response_data.go +++ b/api/model_get_in_stock_subscriptions_in_stock_subscription_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_in_stock_subscriptions_in_stock_subscription_id_200_response_data_attributes.go b/api/model_get_in_stock_subscriptions_in_stock_subscription_id_200_response_data_attributes.go index 5832e1c4e..622b30186 100644 --- a/api/model_get_in_stock_subscriptions_in_stock_subscription_id_200_response_data_attributes.go +++ b/api/model_get_in_stock_subscriptions_in_stock_subscription_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_inventory_models_200_response.go b/api/model_get_inventory_models_200_response.go index 67df3d33a..87779c903 100644 --- a/api/model_get_inventory_models_200_response.go +++ b/api/model_get_inventory_models_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_inventory_models_inventory_model_id_200_response.go b/api/model_get_inventory_models_inventory_model_id_200_response.go index 03a1cb479..ce8025cf6 100644 --- a/api/model_get_inventory_models_inventory_model_id_200_response.go +++ b/api/model_get_inventory_models_inventory_model_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_inventory_models_inventory_model_id_200_response_data.go b/api/model_get_inventory_models_inventory_model_id_200_response_data.go index c60523586..42b6942bf 100644 --- a/api/model_get_inventory_models_inventory_model_id_200_response_data.go +++ b/api/model_get_inventory_models_inventory_model_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_inventory_models_inventory_model_id_200_response_data_attributes.go b/api/model_get_inventory_models_inventory_model_id_200_response_data_attributes.go index 505a9bffb..045ad9d32 100644 --- a/api/model_get_inventory_models_inventory_model_id_200_response_data_attributes.go +++ b/api/model_get_inventory_models_inventory_model_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_inventory_return_locations_200_response.go b/api/model_get_inventory_return_locations_200_response.go index b35d82fb7..fa04eafe3 100644 --- a/api/model_get_inventory_return_locations_200_response.go +++ b/api/model_get_inventory_return_locations_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_inventory_return_locations_inventory_return_location_id_200_response.go b/api/model_get_inventory_return_locations_inventory_return_location_id_200_response.go index 27c10bb27..9868a595a 100644 --- a/api/model_get_inventory_return_locations_inventory_return_location_id_200_response.go +++ b/api/model_get_inventory_return_locations_inventory_return_location_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_inventory_return_locations_inventory_return_location_id_200_response_data.go b/api/model_get_inventory_return_locations_inventory_return_location_id_200_response_data.go index 80ce3aecb..34a9ad0fe 100644 --- a/api/model_get_inventory_return_locations_inventory_return_location_id_200_response_data.go +++ b/api/model_get_inventory_return_locations_inventory_return_location_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_inventory_return_locations_inventory_return_location_id_200_response_data_attributes.go b/api/model_get_inventory_return_locations_inventory_return_location_id_200_response_data_attributes.go index 1210e7d88..314f0a06a 100644 --- a/api/model_get_inventory_return_locations_inventory_return_location_id_200_response_data_attributes.go +++ b/api/model_get_inventory_return_locations_inventory_return_location_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_inventory_stock_locations_200_response.go b/api/model_get_inventory_stock_locations_200_response.go index f2cda5c7a..3a211372e 100644 --- a/api/model_get_inventory_stock_locations_200_response.go +++ b/api/model_get_inventory_stock_locations_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_inventory_stock_locations_inventory_stock_location_id_200_response.go b/api/model_get_inventory_stock_locations_inventory_stock_location_id_200_response.go index 51c426725..0625e83e5 100644 --- a/api/model_get_inventory_stock_locations_inventory_stock_location_id_200_response.go +++ b/api/model_get_inventory_stock_locations_inventory_stock_location_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_inventory_stock_locations_inventory_stock_location_id_200_response_data.go b/api/model_get_inventory_stock_locations_inventory_stock_location_id_200_response_data.go index 52ef3153a..b05a5052b 100644 --- a/api/model_get_inventory_stock_locations_inventory_stock_location_id_200_response_data.go +++ b/api/model_get_inventory_stock_locations_inventory_stock_location_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_inventory_stock_locations_inventory_stock_location_id_200_response_data_attributes.go b/api/model_get_inventory_stock_locations_inventory_stock_location_id_200_response_data_attributes.go index 7295ce1a3..7ed005c71 100644 --- a/api/model_get_inventory_stock_locations_inventory_stock_location_id_200_response_data_attributes.go +++ b/api/model_get_inventory_stock_locations_inventory_stock_location_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_klarna_gateways_200_response.go b/api/model_get_klarna_gateways_200_response.go index 1f0a9687e..c88963c2b 100644 --- a/api/model_get_klarna_gateways_200_response.go +++ b/api/model_get_klarna_gateways_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_klarna_gateways_klarna_gateway_id_200_response.go b/api/model_get_klarna_gateways_klarna_gateway_id_200_response.go index d3cbca8d0..bdd7204db 100644 --- a/api/model_get_klarna_gateways_klarna_gateway_id_200_response.go +++ b/api/model_get_klarna_gateways_klarna_gateway_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_klarna_gateways_klarna_gateway_id_200_response_data.go b/api/model_get_klarna_gateways_klarna_gateway_id_200_response_data.go index d6a33c938..30dd1ac45 100644 --- a/api/model_get_klarna_gateways_klarna_gateway_id_200_response_data.go +++ b/api/model_get_klarna_gateways_klarna_gateway_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_klarna_gateways_klarna_gateway_id_200_response_data_attributes.go b/api/model_get_klarna_gateways_klarna_gateway_id_200_response_data_attributes.go index 167750410..8a74f0f97 100644 --- a/api/model_get_klarna_gateways_klarna_gateway_id_200_response_data_attributes.go +++ b/api/model_get_klarna_gateways_klarna_gateway_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_klarna_payments_200_response.go b/api/model_get_klarna_payments_200_response.go index a0db8b4a0..7ad0ed64e 100644 --- a/api/model_get_klarna_payments_200_response.go +++ b/api/model_get_klarna_payments_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_klarna_payments_klarna_payment_id_200_response.go b/api/model_get_klarna_payments_klarna_payment_id_200_response.go index 0f6b450a8..ff4582da9 100644 --- a/api/model_get_klarna_payments_klarna_payment_id_200_response.go +++ b/api/model_get_klarna_payments_klarna_payment_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_klarna_payments_klarna_payment_id_200_response_data.go b/api/model_get_klarna_payments_klarna_payment_id_200_response_data.go index 404e6b832..2856c888e 100644 --- a/api/model_get_klarna_payments_klarna_payment_id_200_response_data.go +++ b/api/model_get_klarna_payments_klarna_payment_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_klarna_payments_klarna_payment_id_200_response_data_attributes.go b/api/model_get_klarna_payments_klarna_payment_id_200_response_data_attributes.go index 48f3be7db..9fb640d35 100644 --- a/api/model_get_klarna_payments_klarna_payment_id_200_response_data_attributes.go +++ b/api/model_get_klarna_payments_klarna_payment_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_line_item_options_200_response.go b/api/model_get_line_item_options_200_response.go index 352acffd6..bbd34260a 100644 --- a/api/model_get_line_item_options_200_response.go +++ b/api/model_get_line_item_options_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_line_item_options_line_item_option_id_200_response.go b/api/model_get_line_item_options_line_item_option_id_200_response.go index fe1a494e8..72dfe0a72 100644 --- a/api/model_get_line_item_options_line_item_option_id_200_response.go +++ b/api/model_get_line_item_options_line_item_option_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_line_item_options_line_item_option_id_200_response_data.go b/api/model_get_line_item_options_line_item_option_id_200_response_data.go index 7122f644e..f53e1a929 100644 --- a/api/model_get_line_item_options_line_item_option_id_200_response_data.go +++ b/api/model_get_line_item_options_line_item_option_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_line_item_options_line_item_option_id_200_response_data_attributes.go b/api/model_get_line_item_options_line_item_option_id_200_response_data_attributes.go index d0c57c563..370350c8e 100644 --- a/api/model_get_line_item_options_line_item_option_id_200_response_data_attributes.go +++ b/api/model_get_line_item_options_line_item_option_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_line_items_200_response.go b/api/model_get_line_items_200_response.go index 701b50906..202cf2252 100644 --- a/api/model_get_line_items_200_response.go +++ b/api/model_get_line_items_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_line_items_line_item_id_200_response.go b/api/model_get_line_items_line_item_id_200_response.go index 035c93d86..7246a2771 100644 --- a/api/model_get_line_items_line_item_id_200_response.go +++ b/api/model_get_line_items_line_item_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_line_items_line_item_id_200_response_data.go b/api/model_get_line_items_line_item_id_200_response_data.go index e84061266..1684bdc55 100644 --- a/api/model_get_line_items_line_item_id_200_response_data.go +++ b/api/model_get_line_items_line_item_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_line_items_line_item_id_200_response_data_attributes.go b/api/model_get_line_items_line_item_id_200_response_data_attributes.go index 0d0540df7..35239b089 100644 --- a/api/model_get_line_items_line_item_id_200_response_data_attributes.go +++ b/api/model_get_line_items_line_item_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -30,7 +30,7 @@ type GETLineItemsLineItemId200ResponseDataAttributes struct { ExternalPrice interface{} `json:"_external_price,omitempty"` // The international 3-letter currency code as defined by the ISO 4217 standard, automatically inherited from the order's market. CurrencyCode interface{} `json:"currency_code,omitempty"` - // The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. + // The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. Cannot be passed by sales channels. UnitAmountCents interface{} `json:"unit_amount_cents,omitempty"` // The unit amount of the line item, float. This can be useful to track the purchase on thrid party systems, e.g Google Analyitcs Enhanced Ecommerce. UnitAmountFloat interface{} `json:"unit_amount_float,omitempty"` @@ -76,7 +76,7 @@ type GETLineItemsLineItemId200ResponseDataAttributes struct { TaxRate interface{} `json:"tax_rate,omitempty"` // The tax breakdown for this line item (if calculated). TaxBreakdown interface{} `json:"tax_breakdown,omitempty"` - // The type of the associated item. One of 'skus', 'bundles', 'gift_cards', 'shipments', 'payment_methods', 'adjustments', 'percentage_discount_promotions', 'free_shipping_promotions', 'buy_x_pay_y_promotions', 'free_gift_promotions', 'fixed_price_promotions', 'external_promotions', 'fixed_amount_promotions', or 'flex_promotions'. + // The type of the associated item. One of 'skus', 'bundles', 'gift_cards', 'shipments', 'payment_methods', 'adjustments', 'discount_engine_items', 'percentage_discount_promotions', 'free_shipping_promotions', 'buy_x_pay_y_promotions', 'free_gift_promotions', 'fixed_price_promotions', 'external_promotions', 'fixed_amount_promotions', or 'flex_promotions'. ItemType interface{} `json:"item_type,omitempty"` // The frequency which generates a subscription. Must be supported by existing associated subscription_model. Frequency interface{} `json:"frequency,omitempty"` diff --git a/api/model_get_links_200_response.go b/api/model_get_links_200_response.go index cc795cfe1..8d9044fad 100644 --- a/api/model_get_links_200_response.go +++ b/api/model_get_links_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_links_link_id_200_response.go b/api/model_get_links_link_id_200_response.go index 0138bcce4..4314f1ede 100644 --- a/api/model_get_links_link_id_200_response.go +++ b/api/model_get_links_link_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_links_link_id_200_response_data.go b/api/model_get_links_link_id_200_response_data.go index b98fcc799..729484297 100644 --- a/api/model_get_links_link_id_200_response_data.go +++ b/api/model_get_links_link_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_links_link_id_200_response_data_attributes.go b/api/model_get_links_link_id_200_response_data_attributes.go index e8f46393e..80dcf8199 100644 --- a/api/model_get_links_link_id_200_response_data_attributes.go +++ b/api/model_get_links_link_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_manual_gateways_200_response.go b/api/model_get_manual_gateways_200_response.go index 06f1814db..6f7bbc7a8 100644 --- a/api/model_get_manual_gateways_200_response.go +++ b/api/model_get_manual_gateways_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_manual_gateways_manual_gateway_id_200_response.go b/api/model_get_manual_gateways_manual_gateway_id_200_response.go index 79ad280c2..3119580ec 100644 --- a/api/model_get_manual_gateways_manual_gateway_id_200_response.go +++ b/api/model_get_manual_gateways_manual_gateway_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_manual_gateways_manual_gateway_id_200_response_data.go b/api/model_get_manual_gateways_manual_gateway_id_200_response_data.go index 3bcfc4960..ac73c3d94 100644 --- a/api/model_get_manual_gateways_manual_gateway_id_200_response_data.go +++ b/api/model_get_manual_gateways_manual_gateway_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_manual_tax_calculators_200_response.go b/api/model_get_manual_tax_calculators_200_response.go index db7541cdd..b30d5125a 100644 --- a/api/model_get_manual_tax_calculators_200_response.go +++ b/api/model_get_manual_tax_calculators_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_manual_tax_calculators_manual_tax_calculator_id_200_response.go b/api/model_get_manual_tax_calculators_manual_tax_calculator_id_200_response.go index 22d3bcf55..726dbe5aa 100644 --- a/api/model_get_manual_tax_calculators_manual_tax_calculator_id_200_response.go +++ b/api/model_get_manual_tax_calculators_manual_tax_calculator_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_manual_tax_calculators_manual_tax_calculator_id_200_response_data.go b/api/model_get_manual_tax_calculators_manual_tax_calculator_id_200_response_data.go index e5a2c35e1..1d510d08c 100644 --- a/api/model_get_manual_tax_calculators_manual_tax_calculator_id_200_response_data.go +++ b/api/model_get_manual_tax_calculators_manual_tax_calculator_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_manual_tax_calculators_manual_tax_calculator_id_200_response_data_attributes.go b/api/model_get_manual_tax_calculators_manual_tax_calculator_id_200_response_data_attributes.go index e4c9097a7..ce596f74c 100644 --- a/api/model_get_manual_tax_calculators_manual_tax_calculator_id_200_response_data_attributes.go +++ b/api/model_get_manual_tax_calculators_manual_tax_calculator_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_markets_200_response.go b/api/model_get_markets_200_response.go index 5b9afa7e4..cc45dbd12 100644 --- a/api/model_get_markets_200_response.go +++ b/api/model_get_markets_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_markets_market_id_200_response.go b/api/model_get_markets_market_id_200_response.go index 52364979e..dd4c9d341 100644 --- a/api/model_get_markets_market_id_200_response.go +++ b/api/model_get_markets_market_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_markets_market_id_200_response_data.go b/api/model_get_markets_market_id_200_response_data.go index 649f93ed2..f97749232 100644 --- a/api/model_get_markets_market_id_200_response_data.go +++ b/api/model_get_markets_market_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_markets_market_id_200_response_data_attributes.go b/api/model_get_markets_market_id_200_response_data_attributes.go index c18732c0d..6f864ab43 100644 --- a/api/model_get_markets_market_id_200_response_data_attributes.go +++ b/api/model_get_markets_market_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_merchants_200_response.go b/api/model_get_merchants_200_response.go index ee689bf2a..9e8565d98 100644 --- a/api/model_get_merchants_200_response.go +++ b/api/model_get_merchants_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_merchants_merchant_id_200_response.go b/api/model_get_merchants_merchant_id_200_response.go index f0d0abdc6..95a702544 100644 --- a/api/model_get_merchants_merchant_id_200_response.go +++ b/api/model_get_merchants_merchant_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_merchants_merchant_id_200_response_data.go b/api/model_get_merchants_merchant_id_200_response_data.go index d90f69bc9..6d13b2733 100644 --- a/api/model_get_merchants_merchant_id_200_response_data.go +++ b/api/model_get_merchants_merchant_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_merchants_merchant_id_200_response_data_attributes.go b/api/model_get_merchants_merchant_id_200_response_data_attributes.go index 5e2719f8c..315b435b8 100644 --- a/api/model_get_merchants_merchant_id_200_response_data_attributes.go +++ b/api/model_get_merchants_merchant_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_notifications_200_response.go b/api/model_get_notifications_200_response.go new file mode 100644 index 000000000..1ae8be818 --- /dev/null +++ b/api/model_get_notifications_200_response.go @@ -0,0 +1,126 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the GETNotifications200Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GETNotifications200Response{} + +// GETNotifications200Response struct for GETNotifications200Response +type GETNotifications200Response struct { + Data interface{} `json:"data,omitempty"` +} + +// NewGETNotifications200Response instantiates a new GETNotifications200Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGETNotifications200Response() *GETNotifications200Response { + this := GETNotifications200Response{} + return &this +} + +// NewGETNotifications200ResponseWithDefaults instantiates a new GETNotifications200Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGETNotifications200ResponseWithDefaults() *GETNotifications200Response { + this := GETNotifications200Response{} + return &this +} + +// GetData returns the Data field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETNotifications200Response) GetData() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETNotifications200Response) GetDataOk() (*interface{}, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return &o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *GETNotifications200Response) HasData() bool { + if o != nil && IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given interface{} and assigns it to the Data field. +func (o *GETNotifications200Response) SetData(v interface{}) { + o.Data = v +} + +func (o GETNotifications200Response) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GETNotifications200Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Data != nil { + toSerialize["data"] = o.Data + } + return toSerialize, nil +} + +type NullableGETNotifications200Response struct { + value *GETNotifications200Response + isSet bool +} + +func (v NullableGETNotifications200Response) Get() *GETNotifications200Response { + return v.value +} + +func (v *NullableGETNotifications200Response) Set(val *GETNotifications200Response) { + v.value = val + v.isSet = true +} + +func (v NullableGETNotifications200Response) IsSet() bool { + return v.isSet +} + +func (v *NullableGETNotifications200Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGETNotifications200Response(val *GETNotifications200Response) *NullableGETNotifications200Response { + return &NullableGETNotifications200Response{value: val, isSet: true} +} + +func (v NullableGETNotifications200Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGETNotifications200Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_get_notifications_notification_id_200_response.go b/api/model_get_notifications_notification_id_200_response.go new file mode 100644 index 000000000..1108a0a7c --- /dev/null +++ b/api/model_get_notifications_notification_id_200_response.go @@ -0,0 +1,125 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the GETNotificationsNotificationId200Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GETNotificationsNotificationId200Response{} + +// GETNotificationsNotificationId200Response struct for GETNotificationsNotificationId200Response +type GETNotificationsNotificationId200Response struct { + Data *GETNotificationsNotificationId200ResponseData `json:"data,omitempty"` +} + +// NewGETNotificationsNotificationId200Response instantiates a new GETNotificationsNotificationId200Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGETNotificationsNotificationId200Response() *GETNotificationsNotificationId200Response { + this := GETNotificationsNotificationId200Response{} + return &this +} + +// NewGETNotificationsNotificationId200ResponseWithDefaults instantiates a new GETNotificationsNotificationId200Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGETNotificationsNotificationId200ResponseWithDefaults() *GETNotificationsNotificationId200Response { + this := GETNotificationsNotificationId200Response{} + return &this +} + +// GetData returns the Data field value if set, zero value otherwise. +func (o *GETNotificationsNotificationId200Response) GetData() GETNotificationsNotificationId200ResponseData { + if o == nil || IsNil(o.Data) { + var ret GETNotificationsNotificationId200ResponseData + return ret + } + return *o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GETNotificationsNotificationId200Response) GetDataOk() (*GETNotificationsNotificationId200ResponseData, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *GETNotificationsNotificationId200Response) HasData() bool { + if o != nil && !IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given GETNotificationsNotificationId200ResponseData and assigns it to the Data field. +func (o *GETNotificationsNotificationId200Response) SetData(v GETNotificationsNotificationId200ResponseData) { + o.Data = &v +} + +func (o GETNotificationsNotificationId200Response) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GETNotificationsNotificationId200Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Data) { + toSerialize["data"] = o.Data + } + return toSerialize, nil +} + +type NullableGETNotificationsNotificationId200Response struct { + value *GETNotificationsNotificationId200Response + isSet bool +} + +func (v NullableGETNotificationsNotificationId200Response) Get() *GETNotificationsNotificationId200Response { + return v.value +} + +func (v *NullableGETNotificationsNotificationId200Response) Set(val *GETNotificationsNotificationId200Response) { + v.value = val + v.isSet = true +} + +func (v NullableGETNotificationsNotificationId200Response) IsSet() bool { + return v.isSet +} + +func (v *NullableGETNotificationsNotificationId200Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGETNotificationsNotificationId200Response(val *GETNotificationsNotificationId200Response) *NullableGETNotificationsNotificationId200Response { + return &NullableGETNotificationsNotificationId200Response{value: val, isSet: true} +} + +func (v NullableGETNotificationsNotificationId200Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGETNotificationsNotificationId200Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_post_billing_info_validation_rules_201_response_data.go b/api/model_get_notifications_notification_id_200_response_data.go similarity index 55% rename from api/model_post_billing_info_validation_rules_201_response_data.go rename to api/model_get_notifications_notification_id_200_response_data.go index e2e020249..a99ae49a9 100644 --- a/api/model_post_billing_info_validation_rules_201_response_data.go +++ b/api/model_get_notifications_notification_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -15,39 +15,39 @@ import ( "encoding/json" ) -// checks if the POSTBillingInfoValidationRules201ResponseData type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &POSTBillingInfoValidationRules201ResponseData{} +// checks if the GETNotificationsNotificationId200ResponseData type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GETNotificationsNotificationId200ResponseData{} -// POSTBillingInfoValidationRules201ResponseData struct for POSTBillingInfoValidationRules201ResponseData -type POSTBillingInfoValidationRules201ResponseData struct { +// GETNotificationsNotificationId200ResponseData struct for GETNotificationsNotificationId200ResponseData +type GETNotificationsNotificationId200ResponseData struct { // The resource's id Id interface{} `json:"id,omitempty"` // The resource's type - Type interface{} `json:"type,omitempty"` - Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` - Attributes *POSTAdyenPayments201ResponseDataAttributes `json:"attributes,omitempty"` - Relationships *POSTBillingInfoValidationRules201ResponseDataRelationships `json:"relationships,omitempty"` + Type interface{} `json:"type,omitempty"` + Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` + Attributes *GETNotificationsNotificationId200ResponseDataAttributes `json:"attributes,omitempty"` + Relationships *POSTNotifications201ResponseDataRelationships `json:"relationships,omitempty"` } -// NewPOSTBillingInfoValidationRules201ResponseData instantiates a new POSTBillingInfoValidationRules201ResponseData object +// NewGETNotificationsNotificationId200ResponseData instantiates a new GETNotificationsNotificationId200ResponseData object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewPOSTBillingInfoValidationRules201ResponseData() *POSTBillingInfoValidationRules201ResponseData { - this := POSTBillingInfoValidationRules201ResponseData{} +func NewGETNotificationsNotificationId200ResponseData() *GETNotificationsNotificationId200ResponseData { + this := GETNotificationsNotificationId200ResponseData{} return &this } -// NewPOSTBillingInfoValidationRules201ResponseDataWithDefaults instantiates a new POSTBillingInfoValidationRules201ResponseData object +// NewGETNotificationsNotificationId200ResponseDataWithDefaults instantiates a new GETNotificationsNotificationId200ResponseData object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewPOSTBillingInfoValidationRules201ResponseDataWithDefaults() *POSTBillingInfoValidationRules201ResponseData { - this := POSTBillingInfoValidationRules201ResponseData{} +func NewGETNotificationsNotificationId200ResponseDataWithDefaults() *GETNotificationsNotificationId200ResponseData { + this := GETNotificationsNotificationId200ResponseData{} return &this } // GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *POSTBillingInfoValidationRules201ResponseData) GetId() interface{} { +func (o *GETNotificationsNotificationId200ResponseData) GetId() interface{} { if o == nil { var ret interface{} return ret @@ -58,7 +58,7 @@ func (o *POSTBillingInfoValidationRules201ResponseData) GetId() interface{} { // GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *POSTBillingInfoValidationRules201ResponseData) GetIdOk() (*interface{}, bool) { +func (o *GETNotificationsNotificationId200ResponseData) GetIdOk() (*interface{}, bool) { if o == nil || IsNil(o.Id) { return nil, false } @@ -66,7 +66,7 @@ func (o *POSTBillingInfoValidationRules201ResponseData) GetIdOk() (*interface{}, } // HasId returns a boolean if a field has been set. -func (o *POSTBillingInfoValidationRules201ResponseData) HasId() bool { +func (o *GETNotificationsNotificationId200ResponseData) HasId() bool { if o != nil && IsNil(o.Id) { return true } @@ -75,12 +75,12 @@ func (o *POSTBillingInfoValidationRules201ResponseData) HasId() bool { } // SetId gets a reference to the given interface{} and assigns it to the Id field. -func (o *POSTBillingInfoValidationRules201ResponseData) SetId(v interface{}) { +func (o *GETNotificationsNotificationId200ResponseData) SetId(v interface{}) { o.Id = v } // GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *POSTBillingInfoValidationRules201ResponseData) GetType() interface{} { +func (o *GETNotificationsNotificationId200ResponseData) GetType() interface{} { if o == nil { var ret interface{} return ret @@ -91,7 +91,7 @@ func (o *POSTBillingInfoValidationRules201ResponseData) GetType() interface{} { // GetTypeOk returns a tuple with the Type field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *POSTBillingInfoValidationRules201ResponseData) GetTypeOk() (*interface{}, bool) { +func (o *GETNotificationsNotificationId200ResponseData) GetTypeOk() (*interface{}, bool) { if o == nil || IsNil(o.Type) { return nil, false } @@ -99,7 +99,7 @@ func (o *POSTBillingInfoValidationRules201ResponseData) GetTypeOk() (*interface{ } // HasType returns a boolean if a field has been set. -func (o *POSTBillingInfoValidationRules201ResponseData) HasType() bool { +func (o *GETNotificationsNotificationId200ResponseData) HasType() bool { if o != nil && IsNil(o.Type) { return true } @@ -108,12 +108,12 @@ func (o *POSTBillingInfoValidationRules201ResponseData) HasType() bool { } // SetType gets a reference to the given interface{} and assigns it to the Type field. -func (o *POSTBillingInfoValidationRules201ResponseData) SetType(v interface{}) { +func (o *GETNotificationsNotificationId200ResponseData) SetType(v interface{}) { o.Type = v } // GetLinks returns the Links field value if set, zero value otherwise. -func (o *POSTBillingInfoValidationRules201ResponseData) GetLinks() POSTAddresses201ResponseDataLinks { +func (o *GETNotificationsNotificationId200ResponseData) GetLinks() POSTAddresses201ResponseDataLinks { if o == nil || IsNil(o.Links) { var ret POSTAddresses201ResponseDataLinks return ret @@ -123,7 +123,7 @@ func (o *POSTBillingInfoValidationRules201ResponseData) GetLinks() POSTAddresses // GetLinksOk returns a tuple with the Links field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *POSTBillingInfoValidationRules201ResponseData) GetLinksOk() (*POSTAddresses201ResponseDataLinks, bool) { +func (o *GETNotificationsNotificationId200ResponseData) GetLinksOk() (*POSTAddresses201ResponseDataLinks, bool) { if o == nil || IsNil(o.Links) { return nil, false } @@ -131,7 +131,7 @@ func (o *POSTBillingInfoValidationRules201ResponseData) GetLinksOk() (*POSTAddre } // HasLinks returns a boolean if a field has been set. -func (o *POSTBillingInfoValidationRules201ResponseData) HasLinks() bool { +func (o *GETNotificationsNotificationId200ResponseData) HasLinks() bool { if o != nil && !IsNil(o.Links) { return true } @@ -140,14 +140,14 @@ func (o *POSTBillingInfoValidationRules201ResponseData) HasLinks() bool { } // SetLinks gets a reference to the given POSTAddresses201ResponseDataLinks and assigns it to the Links field. -func (o *POSTBillingInfoValidationRules201ResponseData) SetLinks(v POSTAddresses201ResponseDataLinks) { +func (o *GETNotificationsNotificationId200ResponseData) SetLinks(v POSTAddresses201ResponseDataLinks) { o.Links = &v } // GetAttributes returns the Attributes field value if set, zero value otherwise. -func (o *POSTBillingInfoValidationRules201ResponseData) GetAttributes() POSTAdyenPayments201ResponseDataAttributes { +func (o *GETNotificationsNotificationId200ResponseData) GetAttributes() GETNotificationsNotificationId200ResponseDataAttributes { if o == nil || IsNil(o.Attributes) { - var ret POSTAdyenPayments201ResponseDataAttributes + var ret GETNotificationsNotificationId200ResponseDataAttributes return ret } return *o.Attributes @@ -155,7 +155,7 @@ func (o *POSTBillingInfoValidationRules201ResponseData) GetAttributes() POSTAdye // GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *POSTBillingInfoValidationRules201ResponseData) GetAttributesOk() (*POSTAdyenPayments201ResponseDataAttributes, bool) { +func (o *GETNotificationsNotificationId200ResponseData) GetAttributesOk() (*GETNotificationsNotificationId200ResponseDataAttributes, bool) { if o == nil || IsNil(o.Attributes) { return nil, false } @@ -163,7 +163,7 @@ func (o *POSTBillingInfoValidationRules201ResponseData) GetAttributesOk() (*POST } // HasAttributes returns a boolean if a field has been set. -func (o *POSTBillingInfoValidationRules201ResponseData) HasAttributes() bool { +func (o *GETNotificationsNotificationId200ResponseData) HasAttributes() bool { if o != nil && !IsNil(o.Attributes) { return true } @@ -171,15 +171,15 @@ func (o *POSTBillingInfoValidationRules201ResponseData) HasAttributes() bool { return false } -// SetAttributes gets a reference to the given POSTAdyenPayments201ResponseDataAttributes and assigns it to the Attributes field. -func (o *POSTBillingInfoValidationRules201ResponseData) SetAttributes(v POSTAdyenPayments201ResponseDataAttributes) { +// SetAttributes gets a reference to the given GETNotificationsNotificationId200ResponseDataAttributes and assigns it to the Attributes field. +func (o *GETNotificationsNotificationId200ResponseData) SetAttributes(v GETNotificationsNotificationId200ResponseDataAttributes) { o.Attributes = &v } // GetRelationships returns the Relationships field value if set, zero value otherwise. -func (o *POSTBillingInfoValidationRules201ResponseData) GetRelationships() POSTBillingInfoValidationRules201ResponseDataRelationships { +func (o *GETNotificationsNotificationId200ResponseData) GetRelationships() POSTNotifications201ResponseDataRelationships { if o == nil || IsNil(o.Relationships) { - var ret POSTBillingInfoValidationRules201ResponseDataRelationships + var ret POSTNotifications201ResponseDataRelationships return ret } return *o.Relationships @@ -187,7 +187,7 @@ func (o *POSTBillingInfoValidationRules201ResponseData) GetRelationships() POSTB // GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *POSTBillingInfoValidationRules201ResponseData) GetRelationshipsOk() (*POSTBillingInfoValidationRules201ResponseDataRelationships, bool) { +func (o *GETNotificationsNotificationId200ResponseData) GetRelationshipsOk() (*POSTNotifications201ResponseDataRelationships, bool) { if o == nil || IsNil(o.Relationships) { return nil, false } @@ -195,7 +195,7 @@ func (o *POSTBillingInfoValidationRules201ResponseData) GetRelationshipsOk() (*P } // HasRelationships returns a boolean if a field has been set. -func (o *POSTBillingInfoValidationRules201ResponseData) HasRelationships() bool { +func (o *GETNotificationsNotificationId200ResponseData) HasRelationships() bool { if o != nil && !IsNil(o.Relationships) { return true } @@ -203,12 +203,12 @@ func (o *POSTBillingInfoValidationRules201ResponseData) HasRelationships() bool return false } -// SetRelationships gets a reference to the given POSTBillingInfoValidationRules201ResponseDataRelationships and assigns it to the Relationships field. -func (o *POSTBillingInfoValidationRules201ResponseData) SetRelationships(v POSTBillingInfoValidationRules201ResponseDataRelationships) { +// SetRelationships gets a reference to the given POSTNotifications201ResponseDataRelationships and assigns it to the Relationships field. +func (o *GETNotificationsNotificationId200ResponseData) SetRelationships(v POSTNotifications201ResponseDataRelationships) { o.Relationships = &v } -func (o POSTBillingInfoValidationRules201ResponseData) MarshalJSON() ([]byte, error) { +func (o GETNotificationsNotificationId200ResponseData) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { return []byte{}, err @@ -216,7 +216,7 @@ func (o POSTBillingInfoValidationRules201ResponseData) MarshalJSON() ([]byte, er return json.Marshal(toSerialize) } -func (o POSTBillingInfoValidationRules201ResponseData) ToMap() (map[string]interface{}, error) { +func (o GETNotificationsNotificationId200ResponseData) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} if o.Id != nil { toSerialize["id"] = o.Id @@ -236,38 +236,38 @@ func (o POSTBillingInfoValidationRules201ResponseData) ToMap() (map[string]inter return toSerialize, nil } -type NullablePOSTBillingInfoValidationRules201ResponseData struct { - value *POSTBillingInfoValidationRules201ResponseData +type NullableGETNotificationsNotificationId200ResponseData struct { + value *GETNotificationsNotificationId200ResponseData isSet bool } -func (v NullablePOSTBillingInfoValidationRules201ResponseData) Get() *POSTBillingInfoValidationRules201ResponseData { +func (v NullableGETNotificationsNotificationId200ResponseData) Get() *GETNotificationsNotificationId200ResponseData { return v.value } -func (v *NullablePOSTBillingInfoValidationRules201ResponseData) Set(val *POSTBillingInfoValidationRules201ResponseData) { +func (v *NullableGETNotificationsNotificationId200ResponseData) Set(val *GETNotificationsNotificationId200ResponseData) { v.value = val v.isSet = true } -func (v NullablePOSTBillingInfoValidationRules201ResponseData) IsSet() bool { +func (v NullableGETNotificationsNotificationId200ResponseData) IsSet() bool { return v.isSet } -func (v *NullablePOSTBillingInfoValidationRules201ResponseData) Unset() { +func (v *NullableGETNotificationsNotificationId200ResponseData) Unset() { v.value = nil v.isSet = false } -func NewNullablePOSTBillingInfoValidationRules201ResponseData(val *POSTBillingInfoValidationRules201ResponseData) *NullablePOSTBillingInfoValidationRules201ResponseData { - return &NullablePOSTBillingInfoValidationRules201ResponseData{value: val, isSet: true} +func NewNullableGETNotificationsNotificationId200ResponseData(val *GETNotificationsNotificationId200ResponseData) *NullableGETNotificationsNotificationId200ResponseData { + return &NullableGETNotificationsNotificationId200ResponseData{value: val, isSet: true} } -func (v NullablePOSTBillingInfoValidationRules201ResponseData) MarshalJSON() ([]byte, error) { +func (v NullableGETNotificationsNotificationId200ResponseData) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullablePOSTBillingInfoValidationRules201ResponseData) UnmarshalJSON(src []byte) error { +func (v *NullableGETNotificationsNotificationId200ResponseData) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/api/model_get_notifications_notification_id_200_response_data_attributes.go b/api/model_get_notifications_notification_id_200_response_data_attributes.go new file mode 100644 index 000000000..b24462053 --- /dev/null +++ b/api/model_get_notifications_notification_id_200_response_data_attributes.go @@ -0,0 +1,393 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the GETNotificationsNotificationId200ResponseDataAttributes type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GETNotificationsNotificationId200ResponseDataAttributes{} + +// GETNotificationsNotificationId200ResponseDataAttributes struct for GETNotificationsNotificationId200ResponseDataAttributes +type GETNotificationsNotificationId200ResponseDataAttributes struct { + // The internal name of the notification. + Name interface{} `json:"name,omitempty"` + // Indicates if the notification is temporary, valid for the ones created by external services. + Flash interface{} `json:"flash,omitempty"` + // An internal body of the notification. + Body interface{} `json:"body,omitempty"` + // Time at which the resource was created. + CreatedAt interface{} `json:"created_at,omitempty"` + // Time at which the resource was last updated. + UpdatedAt interface{} `json:"updated_at,omitempty"` + // A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. + Reference interface{} `json:"reference,omitempty"` + // Any identifier of the third party system that defines the reference code. + ReferenceOrigin interface{} `json:"reference_origin,omitempty"` + // Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. + Metadata interface{} `json:"metadata,omitempty"` +} + +// NewGETNotificationsNotificationId200ResponseDataAttributes instantiates a new GETNotificationsNotificationId200ResponseDataAttributes object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGETNotificationsNotificationId200ResponseDataAttributes() *GETNotificationsNotificationId200ResponseDataAttributes { + this := GETNotificationsNotificationId200ResponseDataAttributes{} + return &this +} + +// NewGETNotificationsNotificationId200ResponseDataAttributesWithDefaults instantiates a new GETNotificationsNotificationId200ResponseDataAttributes object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGETNotificationsNotificationId200ResponseDataAttributesWithDefaults() *GETNotificationsNotificationId200ResponseDataAttributes { + this := GETNotificationsNotificationId200ResponseDataAttributes{} + return &this +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetName() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetNameOk() (*interface{}, bool) { + if o == nil || IsNil(o.Name) { + return nil, false + } + return &o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *GETNotificationsNotificationId200ResponseDataAttributes) HasName() bool { + if o != nil && IsNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given interface{} and assigns it to the Name field. +func (o *GETNotificationsNotificationId200ResponseDataAttributes) SetName(v interface{}) { + o.Name = v +} + +// GetFlash returns the Flash field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetFlash() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Flash +} + +// GetFlashOk returns a tuple with the Flash field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetFlashOk() (*interface{}, bool) { + if o == nil || IsNil(o.Flash) { + return nil, false + } + return &o.Flash, true +} + +// HasFlash returns a boolean if a field has been set. +func (o *GETNotificationsNotificationId200ResponseDataAttributes) HasFlash() bool { + if o != nil && IsNil(o.Flash) { + return true + } + + return false +} + +// SetFlash gets a reference to the given interface{} and assigns it to the Flash field. +func (o *GETNotificationsNotificationId200ResponseDataAttributes) SetFlash(v interface{}) { + o.Flash = v +} + +// GetBody returns the Body field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetBody() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Body +} + +// GetBodyOk returns a tuple with the Body field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetBodyOk() (*interface{}, bool) { + if o == nil || IsNil(o.Body) { + return nil, false + } + return &o.Body, true +} + +// HasBody returns a boolean if a field has been set. +func (o *GETNotificationsNotificationId200ResponseDataAttributes) HasBody() bool { + if o != nil && IsNil(o.Body) { + return true + } + + return false +} + +// SetBody gets a reference to the given interface{} and assigns it to the Body field. +func (o *GETNotificationsNotificationId200ResponseDataAttributes) SetBody(v interface{}) { + o.Body = v +} + +// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetCreatedAt() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.CreatedAt +} + +// GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetCreatedAtOk() (*interface{}, bool) { + if o == nil || IsNil(o.CreatedAt) { + return nil, false + } + return &o.CreatedAt, true +} + +// HasCreatedAt returns a boolean if a field has been set. +func (o *GETNotificationsNotificationId200ResponseDataAttributes) HasCreatedAt() bool { + if o != nil && IsNil(o.CreatedAt) { + return true + } + + return false +} + +// SetCreatedAt gets a reference to the given interface{} and assigns it to the CreatedAt field. +func (o *GETNotificationsNotificationId200ResponseDataAttributes) SetCreatedAt(v interface{}) { + o.CreatedAt = v +} + +// GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetUpdatedAt() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.UpdatedAt +} + +// GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetUpdatedAtOk() (*interface{}, bool) { + if o == nil || IsNil(o.UpdatedAt) { + return nil, false + } + return &o.UpdatedAt, true +} + +// HasUpdatedAt returns a boolean if a field has been set. +func (o *GETNotificationsNotificationId200ResponseDataAttributes) HasUpdatedAt() bool { + if o != nil && IsNil(o.UpdatedAt) { + return true + } + + return false +} + +// SetUpdatedAt gets a reference to the given interface{} and assigns it to the UpdatedAt field. +func (o *GETNotificationsNotificationId200ResponseDataAttributes) SetUpdatedAt(v interface{}) { + o.UpdatedAt = v +} + +// GetReference returns the Reference field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetReference() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Reference +} + +// GetReferenceOk returns a tuple with the Reference field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetReferenceOk() (*interface{}, bool) { + if o == nil || IsNil(o.Reference) { + return nil, false + } + return &o.Reference, true +} + +// HasReference returns a boolean if a field has been set. +func (o *GETNotificationsNotificationId200ResponseDataAttributes) HasReference() bool { + if o != nil && IsNil(o.Reference) { + return true + } + + return false +} + +// SetReference gets a reference to the given interface{} and assigns it to the Reference field. +func (o *GETNotificationsNotificationId200ResponseDataAttributes) SetReference(v interface{}) { + o.Reference = v +} + +// GetReferenceOrigin returns the ReferenceOrigin field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetReferenceOrigin() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.ReferenceOrigin +} + +// GetReferenceOriginOk returns a tuple with the ReferenceOrigin field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetReferenceOriginOk() (*interface{}, bool) { + if o == nil || IsNil(o.ReferenceOrigin) { + return nil, false + } + return &o.ReferenceOrigin, true +} + +// HasReferenceOrigin returns a boolean if a field has been set. +func (o *GETNotificationsNotificationId200ResponseDataAttributes) HasReferenceOrigin() bool { + if o != nil && IsNil(o.ReferenceOrigin) { + return true + } + + return false +} + +// SetReferenceOrigin gets a reference to the given interface{} and assigns it to the ReferenceOrigin field. +func (o *GETNotificationsNotificationId200ResponseDataAttributes) SetReferenceOrigin(v interface{}) { + o.ReferenceOrigin = v +} + +// GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetMetadata() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Metadata +} + +// GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETNotificationsNotificationId200ResponseDataAttributes) GetMetadataOk() (*interface{}, bool) { + if o == nil || IsNil(o.Metadata) { + return nil, false + } + return &o.Metadata, true +} + +// HasMetadata returns a boolean if a field has been set. +func (o *GETNotificationsNotificationId200ResponseDataAttributes) HasMetadata() bool { + if o != nil && IsNil(o.Metadata) { + return true + } + + return false +} + +// SetMetadata gets a reference to the given interface{} and assigns it to the Metadata field. +func (o *GETNotificationsNotificationId200ResponseDataAttributes) SetMetadata(v interface{}) { + o.Metadata = v +} + +func (o GETNotificationsNotificationId200ResponseDataAttributes) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GETNotificationsNotificationId200ResponseDataAttributes) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Name != nil { + toSerialize["name"] = o.Name + } + if o.Flash != nil { + toSerialize["flash"] = o.Flash + } + if o.Body != nil { + toSerialize["body"] = o.Body + } + if o.CreatedAt != nil { + toSerialize["created_at"] = o.CreatedAt + } + if o.UpdatedAt != nil { + toSerialize["updated_at"] = o.UpdatedAt + } + if o.Reference != nil { + toSerialize["reference"] = o.Reference + } + if o.ReferenceOrigin != nil { + toSerialize["reference_origin"] = o.ReferenceOrigin + } + if o.Metadata != nil { + toSerialize["metadata"] = o.Metadata + } + return toSerialize, nil +} + +type NullableGETNotificationsNotificationId200ResponseDataAttributes struct { + value *GETNotificationsNotificationId200ResponseDataAttributes + isSet bool +} + +func (v NullableGETNotificationsNotificationId200ResponseDataAttributes) Get() *GETNotificationsNotificationId200ResponseDataAttributes { + return v.value +} + +func (v *NullableGETNotificationsNotificationId200ResponseDataAttributes) Set(val *GETNotificationsNotificationId200ResponseDataAttributes) { + v.value = val + v.isSet = true +} + +func (v NullableGETNotificationsNotificationId200ResponseDataAttributes) IsSet() bool { + return v.isSet +} + +func (v *NullableGETNotificationsNotificationId200ResponseDataAttributes) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGETNotificationsNotificationId200ResponseDataAttributes(val *GETNotificationsNotificationId200ResponseDataAttributes) *NullableGETNotificationsNotificationId200ResponseDataAttributes { + return &NullableGETNotificationsNotificationId200ResponseDataAttributes{value: val, isSet: true} +} + +func (v NullableGETNotificationsNotificationId200ResponseDataAttributes) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGETNotificationsNotificationId200ResponseDataAttributes) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_get_order_amount_promotion_rules_200_response.go b/api/model_get_order_amount_promotion_rules_200_response.go index 41ff88a33..26625dc3d 100644 --- a/api/model_get_order_amount_promotion_rules_200_response.go +++ b/api/model_get_order_amount_promotion_rules_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_order_amount_promotion_rules_order_amount_promotion_rule_id_200_response.go b/api/model_get_order_amount_promotion_rules_order_amount_promotion_rule_id_200_response.go index b5ce826fb..183bb2e0c 100644 --- a/api/model_get_order_amount_promotion_rules_order_amount_promotion_rule_id_200_response.go +++ b/api/model_get_order_amount_promotion_rules_order_amount_promotion_rule_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_order_amount_promotion_rules_order_amount_promotion_rule_id_200_response_data.go b/api/model_get_order_amount_promotion_rules_order_amount_promotion_rule_id_200_response_data.go index 582442200..f78700bc9 100644 --- a/api/model_get_order_amount_promotion_rules_order_amount_promotion_rule_id_200_response_data.go +++ b/api/model_get_order_amount_promotion_rules_order_amount_promotion_rule_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_order_amount_promotion_rules_order_amount_promotion_rule_id_200_response_data_attributes.go b/api/model_get_order_amount_promotion_rules_order_amount_promotion_rule_id_200_response_data_attributes.go index 1767bb09a..929934282 100644 --- a/api/model_get_order_amount_promotion_rules_order_amount_promotion_rule_id_200_response_data_attributes.go +++ b/api/model_get_order_amount_promotion_rules_order_amount_promotion_rule_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_order_copies_200_response.go b/api/model_get_order_copies_200_response.go index e46a522bc..02bbf1557 100644 --- a/api/model_get_order_copies_200_response.go +++ b/api/model_get_order_copies_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_order_copies_order_copy_id_200_response.go b/api/model_get_order_copies_order_copy_id_200_response.go index ddf8f381a..4c98a8334 100644 --- a/api/model_get_order_copies_order_copy_id_200_response.go +++ b/api/model_get_order_copies_order_copy_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_order_copies_order_copy_id_200_response_data.go b/api/model_get_order_copies_order_copy_id_200_response_data.go index 72b9547a1..66ab69027 100644 --- a/api/model_get_order_copies_order_copy_id_200_response_data.go +++ b/api/model_get_order_copies_order_copy_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_order_copies_order_copy_id_200_response_data_attributes.go b/api/model_get_order_copies_order_copy_id_200_response_data_attributes.go index 9730ce93b..b9e75f04c 100644 --- a/api/model_get_order_copies_order_copy_id_200_response_data_attributes.go +++ b/api/model_get_order_copies_order_copy_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -52,6 +52,8 @@ type GETOrderCopiesOrderCopyId200ResponseDataAttributes struct { CancelSourceOrder interface{} `json:"cancel_source_order,omitempty"` // Indicates if promotions got applied upon copy. ApplyPromotions interface{} `json:"apply_promotions,omitempty"` + // Indicates to ignore any errors during copy. + SkipErrors interface{} `json:"skip_errors,omitempty"` // Indicates to ignore invalid coupon code during copy. IgnoreInvalidCoupon interface{} `json:"ignore_invalid_coupon,omitempty"` } @@ -601,6 +603,39 @@ func (o *GETOrderCopiesOrderCopyId200ResponseDataAttributes) SetApplyPromotions( o.ApplyPromotions = v } +// GetSkipErrors returns the SkipErrors field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETOrderCopiesOrderCopyId200ResponseDataAttributes) GetSkipErrors() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.SkipErrors +} + +// GetSkipErrorsOk returns a tuple with the SkipErrors field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETOrderCopiesOrderCopyId200ResponseDataAttributes) GetSkipErrorsOk() (*interface{}, bool) { + if o == nil || IsNil(o.SkipErrors) { + return nil, false + } + return &o.SkipErrors, true +} + +// HasSkipErrors returns a boolean if a field has been set. +func (o *GETOrderCopiesOrderCopyId200ResponseDataAttributes) HasSkipErrors() bool { + if o != nil && IsNil(o.SkipErrors) { + return true + } + + return false +} + +// SetSkipErrors gets a reference to the given interface{} and assigns it to the SkipErrors field. +func (o *GETOrderCopiesOrderCopyId200ResponseDataAttributes) SetSkipErrors(v interface{}) { + o.SkipErrors = v +} + // GetIgnoreInvalidCoupon returns the IgnoreInvalidCoupon field value if set, zero value otherwise (both if not set or set to explicit null). func (o *GETOrderCopiesOrderCopyId200ResponseDataAttributes) GetIgnoreInvalidCoupon() interface{} { if o == nil { @@ -692,6 +727,9 @@ func (o GETOrderCopiesOrderCopyId200ResponseDataAttributes) ToMap() (map[string] if o.ApplyPromotions != nil { toSerialize["apply_promotions"] = o.ApplyPromotions } + if o.SkipErrors != nil { + toSerialize["skip_errors"] = o.SkipErrors + } if o.IgnoreInvalidCoupon != nil { toSerialize["ignore_invalid_coupon"] = o.IgnoreInvalidCoupon } diff --git a/api/model_get_order_factories_200_response.go b/api/model_get_order_factories_200_response.go index 7e34c9465..6116fe526 100644 --- a/api/model_get_order_factories_200_response.go +++ b/api/model_get_order_factories_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_order_factories_order_factory_id_200_response.go b/api/model_get_order_factories_order_factory_id_200_response.go index c53f192ee..c373fc6c9 100644 --- a/api/model_get_order_factories_order_factory_id_200_response.go +++ b/api/model_get_order_factories_order_factory_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_order_factories_order_factory_id_200_response_data.go b/api/model_get_order_factories_order_factory_id_200_response_data.go index 8cb774153..de95d60e6 100644 --- a/api/model_get_order_factories_order_factory_id_200_response_data.go +++ b/api/model_get_order_factories_order_factory_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_order_factories_order_factory_id_200_response_data_attributes.go b/api/model_get_order_factories_order_factory_id_200_response_data_attributes.go index cbb5c8238..d6985def2 100644 --- a/api/model_get_order_factories_order_factory_id_200_response_data_attributes.go +++ b/api/model_get_order_factories_order_factory_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_order_factories_order_factory_id_200_response_data_relationships.go b/api/model_get_order_factories_order_factory_id_200_response_data_relationships.go index ffc29c64f..4689f1314 100644 --- a/api/model_get_order_factories_order_factory_id_200_response_data_relationships.go +++ b/api/model_get_order_factories_order_factory_id_200_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_order_subscription_items_200_response.go b/api/model_get_order_subscription_items_200_response.go index 3ec320e76..87ce6356b 100644 --- a/api/model_get_order_subscription_items_200_response.go +++ b/api/model_get_order_subscription_items_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_order_subscription_items_order_subscription_item_id_200_response.go b/api/model_get_order_subscription_items_order_subscription_item_id_200_response.go index 46512d3f7..0e49ae8ca 100644 --- a/api/model_get_order_subscription_items_order_subscription_item_id_200_response.go +++ b/api/model_get_order_subscription_items_order_subscription_item_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_order_subscription_items_order_subscription_item_id_200_response_data.go b/api/model_get_order_subscription_items_order_subscription_item_id_200_response_data.go index e5b59ad79..56b01b8d8 100644 --- a/api/model_get_order_subscription_items_order_subscription_item_id_200_response_data.go +++ b/api/model_get_order_subscription_items_order_subscription_item_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_order_subscription_items_order_subscription_item_id_200_response_data_attributes.go b/api/model_get_order_subscription_items_order_subscription_item_id_200_response_data_attributes.go index a51511bb3..e6485de77 100644 --- a/api/model_get_order_subscription_items_order_subscription_item_id_200_response_data_attributes.go +++ b/api/model_get_order_subscription_items_order_subscription_item_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_order_subscriptions_200_response.go b/api/model_get_order_subscriptions_200_response.go index 686afb21b..7625c9114 100644 --- a/api/model_get_order_subscriptions_200_response.go +++ b/api/model_get_order_subscriptions_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_order_subscriptions_order_subscription_id_200_response.go b/api/model_get_order_subscriptions_order_subscription_id_200_response.go index ca33e5db5..9769c74df 100644 --- a/api/model_get_order_subscriptions_order_subscription_id_200_response.go +++ b/api/model_get_order_subscriptions_order_subscription_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_order_subscriptions_order_subscription_id_200_response_data.go b/api/model_get_order_subscriptions_order_subscription_id_200_response_data.go index cc043741a..2d07d8f10 100644 --- a/api/model_get_order_subscriptions_order_subscription_id_200_response_data.go +++ b/api/model_get_order_subscriptions_order_subscription_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_order_subscriptions_order_subscription_id_200_response_data_attributes.go b/api/model_get_order_subscriptions_order_subscription_id_200_response_data_attributes.go index c2996dd60..b41fb8f0f 100644 --- a/api/model_get_order_subscriptions_order_subscription_id_200_response_data_attributes.go +++ b/api/model_get_order_subscriptions_order_subscription_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_orders_200_response.go b/api/model_get_orders_200_response.go index 89a6aff8d..07d6c0a46 100644 --- a/api/model_get_orders_200_response.go +++ b/api/model_get_orders_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_orders_order_id_200_response.go b/api/model_get_orders_order_id_200_response.go index f4f6f1bcc..9b2c34b58 100644 --- a/api/model_get_orders_order_id_200_response.go +++ b/api/model_get_orders_order_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_orders_order_id_200_response_data.go b/api/model_get_orders_order_id_200_response_data.go index 3545e2bf0..69c0b8b49 100644 --- a/api/model_get_orders_order_id_200_response_data.go +++ b/api/model_get_orders_order_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_orders_order_id_200_response_data_attributes.go b/api/model_get_orders_order_id_200_response_data_attributes.go index b9aeb7acb..a6d46b013 100644 --- a/api/model_get_orders_order_id_200_response_data_attributes.go +++ b/api/model_get_orders_order_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -22,7 +22,7 @@ var _ MappedNullable = &GETOrdersOrderId200ResponseDataAttributes{} type GETOrdersOrderId200ResponseDataAttributes struct { // The order identifier. Can be specified if unique within the organization (for enterprise plans only), default to numeric ID otherwise. Cannot be passed by sales channels. Number interface{} `json:"number,omitempty"` - // The affiliate code, if any, the seller will transfer commission on shop by link transactions. + // The affiliate code, if any, to track commissions using any third party services. AffiliateCode interface{} `json:"affiliate_code,omitempty"` // Save this attribute as 'false' if you want prevent the order to be refreshed automatically at each change (much faster). Autorefresh interface{} `json:"autorefresh,omitempty"` diff --git a/api/model_get_organization_organization_id_200_response.go b/api/model_get_organization_organization_id_200_response.go index 5c458ecfd..d50a534a6 100644 --- a/api/model_get_organization_organization_id_200_response.go +++ b/api/model_get_organization_organization_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_organization_organization_id_200_response_data.go b/api/model_get_organization_organization_id_200_response_data.go index d5b0c4c3e..313247285 100644 --- a/api/model_get_organization_organization_id_200_response_data.go +++ b/api/model_get_organization_organization_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_organization_organization_id_200_response_data_attributes.go b/api/model_get_organization_organization_id_200_response_data_attributes.go index 61354d052..624883c69 100644 --- a/api/model_get_organization_organization_id_200_response_data_attributes.go +++ b/api/model_get_organization_organization_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -46,6 +46,12 @@ type GETOrganizationOrganizationId200ResponseDataAttributes struct { ApiAuthRedirect interface{} `json:"api_auth_redirect,omitempty"` // Enables the rules engine for flex promotions and price list rules. ApiRulesEngine interface{} `json:"api_rules_engine,omitempty"` + // Forces the usage of the new Authentication API. + ApiNewAuth interface{} `json:"api_new_auth,omitempty"` + // Enables the purge of cached single resources when list is purged. + ApiPurgeSingleResource interface{} `json:"api_purge_single_resource,omitempty"` + // The maximum length for the regular expressions, default is 5000. + ApiMaxRegexLength interface{} `json:"api_max_regex_length,omitempty"` // Indicates if the phone attribute is required for addresses, default is true. AddressesPhoneRequired interface{} `json:"addresses_phone_required,omitempty"` // The maximum number line items allowed for a test order before disabling the autorefresh option. @@ -74,10 +80,20 @@ type GETOrganizationOrganizationId200ResponseDataAttributes struct { ExportsMaxConcurrentCount interface{} `json:"exports_max_concurrent_count,omitempty"` // The maximum number of concurrent imports allowed for your organization, default is 10. ImportsMaxConcurrentCount interface{} `json:"imports_max_concurrent_count,omitempty"` + // Enables purging of cached resources upon succeeded imports. + ImportsPurgeCache interface{} `json:"imports_purge_cache,omitempty"` + // Disables the interruption of the import in case its errors exceeds the 10% threshold, default is false. + ImportsSkipErrors interface{} `json:"imports_skip_errors,omitempty"` // The maximum number of active concurrent promotions allowed for your organization, default is 10. PromotionsMaxConcurrentCount interface{} `json:"promotions_max_concurrent_count,omitempty"` // Enables triggering of webhooks during imports, default is false. ImportsTriggerWebhooks interface{} `json:"imports_trigger_webhooks,omitempty"` + // Enables the use of an external discount engine in place of the standard one, default is false. + DiscountEnginesEnabled interface{} `json:"discount_engines_enabled,omitempty"` + // Enables raising of API errors in case of discount engine failure, default is false. + DiscountEnginesErrors interface{} `json:"discount_engines_errors,omitempty"` + // The maximum length for the tag name, default is 25. + TagsMaxNameLength interface{} `json:"tags_max_name_length,omitempty"` // Enables raising of API errors in case of tax calculation failure, default is false. TaxCalculatorsErrors interface{} `json:"tax_calculators_errors,omitempty"` // Enables raising of API errors in case of external promotion failure, default is false. @@ -540,6 +556,105 @@ func (o *GETOrganizationOrganizationId200ResponseDataAttributes) SetApiRulesEngi o.ApiRulesEngine = v } +// GetApiNewAuth returns the ApiNewAuth field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetApiNewAuth() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.ApiNewAuth +} + +// GetApiNewAuthOk returns a tuple with the ApiNewAuth field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetApiNewAuthOk() (*interface{}, bool) { + if o == nil || IsNil(o.ApiNewAuth) { + return nil, false + } + return &o.ApiNewAuth, true +} + +// HasApiNewAuth returns a boolean if a field has been set. +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) HasApiNewAuth() bool { + if o != nil && IsNil(o.ApiNewAuth) { + return true + } + + return false +} + +// SetApiNewAuth gets a reference to the given interface{} and assigns it to the ApiNewAuth field. +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) SetApiNewAuth(v interface{}) { + o.ApiNewAuth = v +} + +// GetApiPurgeSingleResource returns the ApiPurgeSingleResource field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetApiPurgeSingleResource() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.ApiPurgeSingleResource +} + +// GetApiPurgeSingleResourceOk returns a tuple with the ApiPurgeSingleResource field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetApiPurgeSingleResourceOk() (*interface{}, bool) { + if o == nil || IsNil(o.ApiPurgeSingleResource) { + return nil, false + } + return &o.ApiPurgeSingleResource, true +} + +// HasApiPurgeSingleResource returns a boolean if a field has been set. +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) HasApiPurgeSingleResource() bool { + if o != nil && IsNil(o.ApiPurgeSingleResource) { + return true + } + + return false +} + +// SetApiPurgeSingleResource gets a reference to the given interface{} and assigns it to the ApiPurgeSingleResource field. +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) SetApiPurgeSingleResource(v interface{}) { + o.ApiPurgeSingleResource = v +} + +// GetApiMaxRegexLength returns the ApiMaxRegexLength field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetApiMaxRegexLength() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.ApiMaxRegexLength +} + +// GetApiMaxRegexLengthOk returns a tuple with the ApiMaxRegexLength field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetApiMaxRegexLengthOk() (*interface{}, bool) { + if o == nil || IsNil(o.ApiMaxRegexLength) { + return nil, false + } + return &o.ApiMaxRegexLength, true +} + +// HasApiMaxRegexLength returns a boolean if a field has been set. +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) HasApiMaxRegexLength() bool { + if o != nil && IsNil(o.ApiMaxRegexLength) { + return true + } + + return false +} + +// SetApiMaxRegexLength gets a reference to the given interface{} and assigns it to the ApiMaxRegexLength field. +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) SetApiMaxRegexLength(v interface{}) { + o.ApiMaxRegexLength = v +} + // GetAddressesPhoneRequired returns the AddressesPhoneRequired field value if set, zero value otherwise (both if not set or set to explicit null). func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetAddressesPhoneRequired() interface{} { if o == nil { @@ -1002,6 +1117,72 @@ func (o *GETOrganizationOrganizationId200ResponseDataAttributes) SetImportsMaxCo o.ImportsMaxConcurrentCount = v } +// GetImportsPurgeCache returns the ImportsPurgeCache field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetImportsPurgeCache() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.ImportsPurgeCache +} + +// GetImportsPurgeCacheOk returns a tuple with the ImportsPurgeCache field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetImportsPurgeCacheOk() (*interface{}, bool) { + if o == nil || IsNil(o.ImportsPurgeCache) { + return nil, false + } + return &o.ImportsPurgeCache, true +} + +// HasImportsPurgeCache returns a boolean if a field has been set. +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) HasImportsPurgeCache() bool { + if o != nil && IsNil(o.ImportsPurgeCache) { + return true + } + + return false +} + +// SetImportsPurgeCache gets a reference to the given interface{} and assigns it to the ImportsPurgeCache field. +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) SetImportsPurgeCache(v interface{}) { + o.ImportsPurgeCache = v +} + +// GetImportsSkipErrors returns the ImportsSkipErrors field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetImportsSkipErrors() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.ImportsSkipErrors +} + +// GetImportsSkipErrorsOk returns a tuple with the ImportsSkipErrors field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetImportsSkipErrorsOk() (*interface{}, bool) { + if o == nil || IsNil(o.ImportsSkipErrors) { + return nil, false + } + return &o.ImportsSkipErrors, true +} + +// HasImportsSkipErrors returns a boolean if a field has been set. +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) HasImportsSkipErrors() bool { + if o != nil && IsNil(o.ImportsSkipErrors) { + return true + } + + return false +} + +// SetImportsSkipErrors gets a reference to the given interface{} and assigns it to the ImportsSkipErrors field. +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) SetImportsSkipErrors(v interface{}) { + o.ImportsSkipErrors = v +} + // GetPromotionsMaxConcurrentCount returns the PromotionsMaxConcurrentCount field value if set, zero value otherwise (both if not set or set to explicit null). func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetPromotionsMaxConcurrentCount() interface{} { if o == nil { @@ -1068,6 +1249,105 @@ func (o *GETOrganizationOrganizationId200ResponseDataAttributes) SetImportsTrigg o.ImportsTriggerWebhooks = v } +// GetDiscountEnginesEnabled returns the DiscountEnginesEnabled field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetDiscountEnginesEnabled() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.DiscountEnginesEnabled +} + +// GetDiscountEnginesEnabledOk returns a tuple with the DiscountEnginesEnabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetDiscountEnginesEnabledOk() (*interface{}, bool) { + if o == nil || IsNil(o.DiscountEnginesEnabled) { + return nil, false + } + return &o.DiscountEnginesEnabled, true +} + +// HasDiscountEnginesEnabled returns a boolean if a field has been set. +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) HasDiscountEnginesEnabled() bool { + if o != nil && IsNil(o.DiscountEnginesEnabled) { + return true + } + + return false +} + +// SetDiscountEnginesEnabled gets a reference to the given interface{} and assigns it to the DiscountEnginesEnabled field. +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) SetDiscountEnginesEnabled(v interface{}) { + o.DiscountEnginesEnabled = v +} + +// GetDiscountEnginesErrors returns the DiscountEnginesErrors field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetDiscountEnginesErrors() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.DiscountEnginesErrors +} + +// GetDiscountEnginesErrorsOk returns a tuple with the DiscountEnginesErrors field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetDiscountEnginesErrorsOk() (*interface{}, bool) { + if o == nil || IsNil(o.DiscountEnginesErrors) { + return nil, false + } + return &o.DiscountEnginesErrors, true +} + +// HasDiscountEnginesErrors returns a boolean if a field has been set. +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) HasDiscountEnginesErrors() bool { + if o != nil && IsNil(o.DiscountEnginesErrors) { + return true + } + + return false +} + +// SetDiscountEnginesErrors gets a reference to the given interface{} and assigns it to the DiscountEnginesErrors field. +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) SetDiscountEnginesErrors(v interface{}) { + o.DiscountEnginesErrors = v +} + +// GetTagsMaxNameLength returns the TagsMaxNameLength field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetTagsMaxNameLength() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.TagsMaxNameLength +} + +// GetTagsMaxNameLengthOk returns a tuple with the TagsMaxNameLength field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetTagsMaxNameLengthOk() (*interface{}, bool) { + if o == nil || IsNil(o.TagsMaxNameLength) { + return nil, false + } + return &o.TagsMaxNameLength, true +} + +// HasTagsMaxNameLength returns a boolean if a field has been set. +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) HasTagsMaxNameLength() bool { + if o != nil && IsNil(o.TagsMaxNameLength) { + return true + } + + return false +} + +// SetTagsMaxNameLength gets a reference to the given interface{} and assigns it to the TagsMaxNameLength field. +func (o *GETOrganizationOrganizationId200ResponseDataAttributes) SetTagsMaxNameLength(v interface{}) { + o.TagsMaxNameLength = v +} + // GetTaxCalculatorsErrors returns the TaxCalculatorsErrors field value if set, zero value otherwise (both if not set or set to explicit null). func (o *GETOrganizationOrganizationId200ResponseDataAttributes) GetTaxCalculatorsErrors() interface{} { if o == nil { @@ -1348,6 +1628,15 @@ func (o GETOrganizationOrganizationId200ResponseDataAttributes) ToMap() (map[str if o.ApiRulesEngine != nil { toSerialize["api_rules_engine"] = o.ApiRulesEngine } + if o.ApiNewAuth != nil { + toSerialize["api_new_auth"] = o.ApiNewAuth + } + if o.ApiPurgeSingleResource != nil { + toSerialize["api_purge_single_resource"] = o.ApiPurgeSingleResource + } + if o.ApiMaxRegexLength != nil { + toSerialize["api_max_regex_length"] = o.ApiMaxRegexLength + } if o.AddressesPhoneRequired != nil { toSerialize["addresses_phone_required"] = o.AddressesPhoneRequired } @@ -1390,12 +1679,27 @@ func (o GETOrganizationOrganizationId200ResponseDataAttributes) ToMap() (map[str if o.ImportsMaxConcurrentCount != nil { toSerialize["imports_max_concurrent_count"] = o.ImportsMaxConcurrentCount } + if o.ImportsPurgeCache != nil { + toSerialize["imports_purge_cache"] = o.ImportsPurgeCache + } + if o.ImportsSkipErrors != nil { + toSerialize["imports_skip_errors"] = o.ImportsSkipErrors + } if o.PromotionsMaxConcurrentCount != nil { toSerialize["promotions_max_concurrent_count"] = o.PromotionsMaxConcurrentCount } if o.ImportsTriggerWebhooks != nil { toSerialize["imports_trigger_webhooks"] = o.ImportsTriggerWebhooks } + if o.DiscountEnginesEnabled != nil { + toSerialize["discount_engines_enabled"] = o.DiscountEnginesEnabled + } + if o.DiscountEnginesErrors != nil { + toSerialize["discount_engines_errors"] = o.DiscountEnginesErrors + } + if o.TagsMaxNameLength != nil { + toSerialize["tags_max_name_length"] = o.TagsMaxNameLength + } if o.TaxCalculatorsErrors != nil { toSerialize["tax_calculators_errors"] = o.TaxCalculatorsErrors } diff --git a/api/model_get_packages_200_response.go b/api/model_get_packages_200_response.go index e341e58df..a8f2a9148 100644 --- a/api/model_get_packages_200_response.go +++ b/api/model_get_packages_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_packages_package_id_200_response.go b/api/model_get_packages_package_id_200_response.go index c9a852006..43eb0c7ae 100644 --- a/api/model_get_packages_package_id_200_response.go +++ b/api/model_get_packages_package_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_packages_package_id_200_response_data.go b/api/model_get_packages_package_id_200_response_data.go index 690a051b1..4629e3ad8 100644 --- a/api/model_get_packages_package_id_200_response_data.go +++ b/api/model_get_packages_package_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_packages_package_id_200_response_data_attributes.go b/api/model_get_packages_package_id_200_response_data_attributes.go index cf1238ca7..51e442bc9 100644 --- a/api/model_get_packages_package_id_200_response_data_attributes.go +++ b/api/model_get_packages_package_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_parcel_line_items_200_response.go b/api/model_get_parcel_line_items_200_response.go index dd31c00d9..c3e8a57f1 100644 --- a/api/model_get_parcel_line_items_200_response.go +++ b/api/model_get_parcel_line_items_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_parcel_line_items_parcel_line_item_id_200_response.go b/api/model_get_parcel_line_items_parcel_line_item_id_200_response.go index 5b75db5e0..09f5b0255 100644 --- a/api/model_get_parcel_line_items_parcel_line_item_id_200_response.go +++ b/api/model_get_parcel_line_items_parcel_line_item_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_parcel_line_items_parcel_line_item_id_200_response_data.go b/api/model_get_parcel_line_items_parcel_line_item_id_200_response_data.go index 8c088d6cf..fbb7674f4 100644 --- a/api/model_get_parcel_line_items_parcel_line_item_id_200_response_data.go +++ b/api/model_get_parcel_line_items_parcel_line_item_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_parcel_line_items_parcel_line_item_id_200_response_data_attributes.go b/api/model_get_parcel_line_items_parcel_line_item_id_200_response_data_attributes.go index f608986d7..70724b135 100644 --- a/api/model_get_parcel_line_items_parcel_line_item_id_200_response_data_attributes.go +++ b/api/model_get_parcel_line_items_parcel_line_item_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_parcels_200_response.go b/api/model_get_parcels_200_response.go index 8a90d6544..7f99f8935 100644 --- a/api/model_get_parcels_200_response.go +++ b/api/model_get_parcels_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_parcels_parcel_id_200_response.go b/api/model_get_parcels_parcel_id_200_response.go index 0f24bd2e0..cf72f8633 100644 --- a/api/model_get_parcels_parcel_id_200_response.go +++ b/api/model_get_parcels_parcel_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_parcels_parcel_id_200_response_data.go b/api/model_get_parcels_parcel_id_200_response_data.go index bdb0db1bf..cd47f978a 100644 --- a/api/model_get_parcels_parcel_id_200_response_data.go +++ b/api/model_get_parcels_parcel_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_parcels_parcel_id_200_response_data_attributes.go b/api/model_get_parcels_parcel_id_200_response_data_attributes.go index d51f71454..cf3e80946 100644 --- a/api/model_get_parcels_parcel_id_200_response_data_attributes.go +++ b/api/model_get_parcels_parcel_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_payment_gateways_200_response.go b/api/model_get_payment_gateways_200_response.go index 1ae8d0c16..b5615c332 100644 --- a/api/model_get_payment_gateways_200_response.go +++ b/api/model_get_payment_gateways_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_payment_gateways_payment_gateway_id_200_response.go b/api/model_get_payment_gateways_payment_gateway_id_200_response.go index 0fa5118e6..a4c58d019 100644 --- a/api/model_get_payment_gateways_payment_gateway_id_200_response.go +++ b/api/model_get_payment_gateways_payment_gateway_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_payment_gateways_payment_gateway_id_200_response_data.go b/api/model_get_payment_gateways_payment_gateway_id_200_response_data.go index 83dcf2d61..b43b0b107 100644 --- a/api/model_get_payment_gateways_payment_gateway_id_200_response_data.go +++ b/api/model_get_payment_gateways_payment_gateway_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_payment_methods_200_response.go b/api/model_get_payment_methods_200_response.go index 3acd78e89..e23c2f61b 100644 --- a/api/model_get_payment_methods_200_response.go +++ b/api/model_get_payment_methods_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_payment_methods_payment_method_id_200_response.go b/api/model_get_payment_methods_payment_method_id_200_response.go index c9147661a..7d2616a70 100644 --- a/api/model_get_payment_methods_payment_method_id_200_response.go +++ b/api/model_get_payment_methods_payment_method_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_payment_methods_payment_method_id_200_response_data.go b/api/model_get_payment_methods_payment_method_id_200_response_data.go index 8b2cb0ac3..b7d513bb1 100644 --- a/api/model_get_payment_methods_payment_method_id_200_response_data.go +++ b/api/model_get_payment_methods_payment_method_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_payment_methods_payment_method_id_200_response_data_attributes.go b/api/model_get_payment_methods_payment_method_id_200_response_data_attributes.go index 3754c209d..66f14de41 100644 --- a/api/model_get_payment_methods_payment_method_id_200_response_data_attributes.go +++ b/api/model_get_payment_methods_payment_method_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_payment_options_200_response.go b/api/model_get_payment_options_200_response.go index 4c71bd8cf..dd6374310 100644 --- a/api/model_get_payment_options_200_response.go +++ b/api/model_get_payment_options_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_payment_options_payment_option_id_200_response.go b/api/model_get_payment_options_payment_option_id_200_response.go index 41dc0e91f..8a1914c27 100644 --- a/api/model_get_payment_options_payment_option_id_200_response.go +++ b/api/model_get_payment_options_payment_option_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_payment_options_payment_option_id_200_response_data.go b/api/model_get_payment_options_payment_option_id_200_response_data.go index c74ed9580..064fa4e99 100644 --- a/api/model_get_payment_options_payment_option_id_200_response_data.go +++ b/api/model_get_payment_options_payment_option_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_payment_options_payment_option_id_200_response_data_attributes.go b/api/model_get_payment_options_payment_option_id_200_response_data_attributes.go index 819589786..8bff9ca22 100644 --- a/api/model_get_payment_options_payment_option_id_200_response_data_attributes.go +++ b/api/model_get_payment_options_payment_option_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_paypal_gateways_200_response.go b/api/model_get_paypal_gateways_200_response.go index dce2b5710..30c2c5ff9 100644 --- a/api/model_get_paypal_gateways_200_response.go +++ b/api/model_get_paypal_gateways_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_paypal_gateways_paypal_gateway_id_200_response.go b/api/model_get_paypal_gateways_paypal_gateway_id_200_response.go index a579743f5..0dbef2897 100644 --- a/api/model_get_paypal_gateways_paypal_gateway_id_200_response.go +++ b/api/model_get_paypal_gateways_paypal_gateway_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_paypal_gateways_paypal_gateway_id_200_response_data.go b/api/model_get_paypal_gateways_paypal_gateway_id_200_response_data.go index 77b8e99ac..b76b5b1f1 100644 --- a/api/model_get_paypal_gateways_paypal_gateway_id_200_response_data.go +++ b/api/model_get_paypal_gateways_paypal_gateway_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_paypal_payments_200_response.go b/api/model_get_paypal_payments_200_response.go index b05c339dc..50825299e 100644 --- a/api/model_get_paypal_payments_200_response.go +++ b/api/model_get_paypal_payments_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_paypal_payments_paypal_payment_id_200_response.go b/api/model_get_paypal_payments_paypal_payment_id_200_response.go index 5eb4e8769..bb1e1a827 100644 --- a/api/model_get_paypal_payments_paypal_payment_id_200_response.go +++ b/api/model_get_paypal_payments_paypal_payment_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_paypal_payments_paypal_payment_id_200_response_data.go b/api/model_get_paypal_payments_paypal_payment_id_200_response_data.go index 2826b66f9..310989628 100644 --- a/api/model_get_paypal_payments_paypal_payment_id_200_response_data.go +++ b/api/model_get_paypal_payments_paypal_payment_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_paypal_payments_paypal_payment_id_200_response_data_attributes.go b/api/model_get_paypal_payments_paypal_payment_id_200_response_data_attributes.go index d582bb01c..f65336f58 100644 --- a/api/model_get_paypal_payments_paypal_payment_id_200_response_data_attributes.go +++ b/api/model_get_paypal_payments_paypal_payment_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_percentage_discount_promotions_200_response.go b/api/model_get_percentage_discount_promotions_200_response.go index f12f16d3d..0bdd3ab51 100644 --- a/api/model_get_percentage_discount_promotions_200_response.go +++ b/api/model_get_percentage_discount_promotions_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_percentage_discount_promotions_percentage_discount_promotion_id_200_response.go b/api/model_get_percentage_discount_promotions_percentage_discount_promotion_id_200_response.go index f43acfc81..acf167892 100644 --- a/api/model_get_percentage_discount_promotions_percentage_discount_promotion_id_200_response.go +++ b/api/model_get_percentage_discount_promotions_percentage_discount_promotion_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_percentage_discount_promotions_percentage_discount_promotion_id_200_response_data.go b/api/model_get_percentage_discount_promotions_percentage_discount_promotion_id_200_response_data.go index f75f6e1c6..2e94d47b9 100644 --- a/api/model_get_percentage_discount_promotions_percentage_discount_promotion_id_200_response_data.go +++ b/api/model_get_percentage_discount_promotions_percentage_discount_promotion_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_percentage_discount_promotions_percentage_discount_promotion_id_200_response_data_attributes.go b/api/model_get_percentage_discount_promotions_percentage_discount_promotion_id_200_response_data_attributes.go index 97714f6c7..342260a8b 100644 --- a/api/model_get_percentage_discount_promotions_percentage_discount_promotion_id_200_response_data_attributes.go +++ b/api/model_get_percentage_discount_promotions_percentage_discount_promotion_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_price_frequency_tiers_200_response.go b/api/model_get_price_frequency_tiers_200_response.go index e51f5c1ed..fc0a72995 100644 --- a/api/model_get_price_frequency_tiers_200_response.go +++ b/api/model_get_price_frequency_tiers_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_price_frequency_tiers_price_frequency_tier_id_200_response.go b/api/model_get_price_frequency_tiers_price_frequency_tier_id_200_response.go index cfc813a80..8a76ae793 100644 --- a/api/model_get_price_frequency_tiers_price_frequency_tier_id_200_response.go +++ b/api/model_get_price_frequency_tiers_price_frequency_tier_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_price_frequency_tiers_price_frequency_tier_id_200_response_data.go b/api/model_get_price_frequency_tiers_price_frequency_tier_id_200_response_data.go index 102b21a63..496a41437 100644 --- a/api/model_get_price_frequency_tiers_price_frequency_tier_id_200_response_data.go +++ b/api/model_get_price_frequency_tiers_price_frequency_tier_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_price_frequency_tiers_price_frequency_tier_id_200_response_data_attributes.go b/api/model_get_price_frequency_tiers_price_frequency_tier_id_200_response_data_attributes.go index fbe7f6622..9332980a5 100644 --- a/api/model_get_price_frequency_tiers_price_frequency_tier_id_200_response_data_attributes.go +++ b/api/model_get_price_frequency_tiers_price_frequency_tier_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_price_list_schedulers_200_response.go b/api/model_get_price_list_schedulers_200_response.go index 75905d2c7..c1a513832 100644 --- a/api/model_get_price_list_schedulers_200_response.go +++ b/api/model_get_price_list_schedulers_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_price_list_schedulers_price_list_scheduler_id_200_response.go b/api/model_get_price_list_schedulers_price_list_scheduler_id_200_response.go index 6913a28d7..bb633bfa2 100644 --- a/api/model_get_price_list_schedulers_price_list_scheduler_id_200_response.go +++ b/api/model_get_price_list_schedulers_price_list_scheduler_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_price_list_schedulers_price_list_scheduler_id_200_response_data.go b/api/model_get_price_list_schedulers_price_list_scheduler_id_200_response_data.go index 569c28068..f88f47da3 100644 --- a/api/model_get_price_list_schedulers_price_list_scheduler_id_200_response_data.go +++ b/api/model_get_price_list_schedulers_price_list_scheduler_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_price_list_schedulers_price_list_scheduler_id_200_response_data_attributes.go b/api/model_get_price_list_schedulers_price_list_scheduler_id_200_response_data_attributes.go index 200d8aa98..23b36209e 100644 --- a/api/model_get_price_list_schedulers_price_list_scheduler_id_200_response_data_attributes.go +++ b/api/model_get_price_list_schedulers_price_list_scheduler_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_price_lists_200_response.go b/api/model_get_price_lists_200_response.go index e4a05582a..e3fe3516b 100644 --- a/api/model_get_price_lists_200_response.go +++ b/api/model_get_price_lists_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_price_lists_price_list_id_200_response.go b/api/model_get_price_lists_price_list_id_200_response.go index 52213c166..b8594f66b 100644 --- a/api/model_get_price_lists_price_list_id_200_response.go +++ b/api/model_get_price_lists_price_list_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_price_lists_price_list_id_200_response_data.go b/api/model_get_price_lists_price_list_id_200_response_data.go index 3a4e19b5b..56d500861 100644 --- a/api/model_get_price_lists_price_list_id_200_response_data.go +++ b/api/model_get_price_lists_price_list_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_price_lists_price_list_id_200_response_data_attributes.go b/api/model_get_price_lists_price_list_id_200_response_data_attributes.go index b98fd19fe..cd2fb08e9 100644 --- a/api/model_get_price_lists_price_list_id_200_response_data_attributes.go +++ b/api/model_get_price_lists_price_list_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -40,6 +40,8 @@ type GETPriceListsPriceListId200ResponseDataAttributes struct { Rules interface{} `json:"rules,omitempty"` // The rule outcomes. RuleOutcomes interface{} `json:"rule_outcomes,omitempty"` + // The payload used to evaluate the rules. + ResourcePayload interface{} `json:"resource_payload,omitempty"` // Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. Metadata interface{} `json:"metadata,omitempty"` } @@ -391,6 +393,39 @@ func (o *GETPriceListsPriceListId200ResponseDataAttributes) SetRuleOutcomes(v in o.RuleOutcomes = v } +// GetResourcePayload returns the ResourcePayload field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETPriceListsPriceListId200ResponseDataAttributes) GetResourcePayload() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.ResourcePayload +} + +// GetResourcePayloadOk returns a tuple with the ResourcePayload field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETPriceListsPriceListId200ResponseDataAttributes) GetResourcePayloadOk() (*interface{}, bool) { + if o == nil || IsNil(o.ResourcePayload) { + return nil, false + } + return &o.ResourcePayload, true +} + +// HasResourcePayload returns a boolean if a field has been set. +func (o *GETPriceListsPriceListId200ResponseDataAttributes) HasResourcePayload() bool { + if o != nil && IsNil(o.ResourcePayload) { + return true + } + + return false +} + +// SetResourcePayload gets a reference to the given interface{} and assigns it to the ResourcePayload field. +func (o *GETPriceListsPriceListId200ResponseDataAttributes) SetResourcePayload(v interface{}) { + o.ResourcePayload = v +} + // GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null). func (o *GETPriceListsPriceListId200ResponseDataAttributes) GetMetadata() interface{} { if o == nil { @@ -464,6 +499,9 @@ func (o GETPriceListsPriceListId200ResponseDataAttributes) ToMap() (map[string]i if o.RuleOutcomes != nil { toSerialize["rule_outcomes"] = o.RuleOutcomes } + if o.ResourcePayload != nil { + toSerialize["resource_payload"] = o.ResourcePayload + } if o.Metadata != nil { toSerialize["metadata"] = o.Metadata } diff --git a/api/model_get_price_tiers_200_response.go b/api/model_get_price_tiers_200_response.go index e04ef0849..41dd91cba 100644 --- a/api/model_get_price_tiers_200_response.go +++ b/api/model_get_price_tiers_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_price_tiers_price_tier_id_200_response.go b/api/model_get_price_tiers_price_tier_id_200_response.go index 7273dc516..bea797d93 100644 --- a/api/model_get_price_tiers_price_tier_id_200_response.go +++ b/api/model_get_price_tiers_price_tier_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_price_tiers_price_tier_id_200_response_data.go b/api/model_get_price_tiers_price_tier_id_200_response_data.go index 0c80ba6b0..864cebc2b 100644 --- a/api/model_get_price_tiers_price_tier_id_200_response_data.go +++ b/api/model_get_price_tiers_price_tier_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_price_tiers_price_tier_id_200_response_data_attributes.go b/api/model_get_price_tiers_price_tier_id_200_response_data_attributes.go index 24450abfa..c13bff03b 100644 --- a/api/model_get_price_tiers_price_tier_id_200_response_data_attributes.go +++ b/api/model_get_price_tiers_price_tier_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_price_tiers_price_tier_id_200_response_data_relationships.go b/api/model_get_price_tiers_price_tier_id_200_response_data_relationships.go index 545df6a98..20abf6234 100644 --- a/api/model_get_price_tiers_price_tier_id_200_response_data_relationships.go +++ b/api/model_get_price_tiers_price_tier_id_200_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_price_volume_tiers_200_response.go b/api/model_get_price_volume_tiers_200_response.go index 2fdbb2d17..cf1f10b59 100644 --- a/api/model_get_price_volume_tiers_200_response.go +++ b/api/model_get_price_volume_tiers_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_price_volume_tiers_price_volume_tier_id_200_response.go b/api/model_get_price_volume_tiers_price_volume_tier_id_200_response.go index e5ee66c48..2b4fb2332 100644 --- a/api/model_get_price_volume_tiers_price_volume_tier_id_200_response.go +++ b/api/model_get_price_volume_tiers_price_volume_tier_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_price_volume_tiers_price_volume_tier_id_200_response_data.go b/api/model_get_price_volume_tiers_price_volume_tier_id_200_response_data.go index 0482de717..f4e302427 100644 --- a/api/model_get_price_volume_tiers_price_volume_tier_id_200_response_data.go +++ b/api/model_get_price_volume_tiers_price_volume_tier_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_price_volume_tiers_price_volume_tier_id_200_response_data_attributes.go b/api/model_get_price_volume_tiers_price_volume_tier_id_200_response_data_attributes.go index 5a069e277..a3967f593 100644 --- a/api/model_get_price_volume_tiers_price_volume_tier_id_200_response_data_attributes.go +++ b/api/model_get_price_volume_tiers_price_volume_tier_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_prices_200_response.go b/api/model_get_prices_200_response.go index 3ca3f952d..8a8e977a6 100644 --- a/api/model_get_prices_200_response.go +++ b/api/model_get_prices_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_prices_price_id_200_response.go b/api/model_get_prices_price_id_200_response.go index 2d2eeab7e..6652044dc 100644 --- a/api/model_get_prices_price_id_200_response.go +++ b/api/model_get_prices_price_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_prices_price_id_200_response_data.go b/api/model_get_prices_price_id_200_response_data.go index 1ac398639..cf40e3c61 100644 --- a/api/model_get_prices_price_id_200_response_data.go +++ b/api/model_get_prices_price_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_prices_price_id_200_response_data_attributes.go b/api/model_get_prices_price_id_200_response_data_attributes.go index c0789dbb6..59c1f34d8 100644 --- a/api/model_get_prices_price_id_200_response_data_attributes.go +++ b/api/model_get_prices_price_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -52,6 +52,8 @@ type GETPricesPriceId200ResponseDataAttributes struct { Rules interface{} `json:"rules,omitempty"` // The rule outcomes. RuleOutcomes interface{} `json:"rule_outcomes,omitempty"` + // The payload used to evaluate the rules. + ResourcePayload interface{} `json:"resource_payload,omitempty"` // The custom_claim attached to the current JWT (if any). JwtCustomClaim interface{} `json:"jwt_custom_claim,omitempty"` // Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. @@ -603,6 +605,39 @@ func (o *GETPricesPriceId200ResponseDataAttributes) SetRuleOutcomes(v interface{ o.RuleOutcomes = v } +// GetResourcePayload returns the ResourcePayload field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETPricesPriceId200ResponseDataAttributes) GetResourcePayload() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.ResourcePayload +} + +// GetResourcePayloadOk returns a tuple with the ResourcePayload field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETPricesPriceId200ResponseDataAttributes) GetResourcePayloadOk() (*interface{}, bool) { + if o == nil || IsNil(o.ResourcePayload) { + return nil, false + } + return &o.ResourcePayload, true +} + +// HasResourcePayload returns a boolean if a field has been set. +func (o *GETPricesPriceId200ResponseDataAttributes) HasResourcePayload() bool { + if o != nil && IsNil(o.ResourcePayload) { + return true + } + + return false +} + +// SetResourcePayload gets a reference to the given interface{} and assigns it to the ResourcePayload field. +func (o *GETPricesPriceId200ResponseDataAttributes) SetResourcePayload(v interface{}) { + o.ResourcePayload = v +} + // GetJwtCustomClaim returns the JwtCustomClaim field value if set, zero value otherwise (both if not set or set to explicit null). func (o *GETPricesPriceId200ResponseDataAttributes) GetJwtCustomClaim() interface{} { if o == nil { @@ -727,6 +762,9 @@ func (o GETPricesPriceId200ResponseDataAttributes) ToMap() (map[string]interface if o.RuleOutcomes != nil { toSerialize["rule_outcomes"] = o.RuleOutcomes } + if o.ResourcePayload != nil { + toSerialize["resource_payload"] = o.ResourcePayload + } if o.JwtCustomClaim != nil { toSerialize["jwt_custom_claim"] = o.JwtCustomClaim } diff --git a/api/model_get_promotion_rules_200_response.go b/api/model_get_promotion_rules_200_response.go index 393c235eb..633d537d8 100644 --- a/api/model_get_promotion_rules_200_response.go +++ b/api/model_get_promotion_rules_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_promotion_rules_promotion_rule_id_200_response.go b/api/model_get_promotion_rules_promotion_rule_id_200_response.go index d82c605dd..b509bdd93 100644 --- a/api/model_get_promotion_rules_promotion_rule_id_200_response.go +++ b/api/model_get_promotion_rules_promotion_rule_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_promotion_rules_promotion_rule_id_200_response_data.go b/api/model_get_promotion_rules_promotion_rule_id_200_response_data.go index 911f30b14..5c3311191 100644 --- a/api/model_get_promotion_rules_promotion_rule_id_200_response_data.go +++ b/api/model_get_promotion_rules_promotion_rule_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_promotions_200_response.go b/api/model_get_promotions_200_response.go index e03f0e921..d05c5d67b 100644 --- a/api/model_get_promotions_200_response.go +++ b/api/model_get_promotions_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_promotions_promotion_id_200_response.go b/api/model_get_promotions_promotion_id_200_response.go index c87e40149..6f37bd8ac 100644 --- a/api/model_get_promotions_promotion_id_200_response.go +++ b/api/model_get_promotions_promotion_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_promotions_promotion_id_200_response_data.go b/api/model_get_promotions_promotion_id_200_response_data.go index 82ea437e6..51f57d82f 100644 --- a/api/model_get_promotions_promotion_id_200_response_data.go +++ b/api/model_get_promotions_promotion_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_recurring_order_copies_200_response.go b/api/model_get_recurring_order_copies_200_response.go index 30975df7e..d40e18d87 100644 --- a/api/model_get_recurring_order_copies_200_response.go +++ b/api/model_get_recurring_order_copies_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_recurring_order_copies_recurring_order_copy_id_200_response.go b/api/model_get_recurring_order_copies_recurring_order_copy_id_200_response.go index 47973d008..ef8d9467a 100644 --- a/api/model_get_recurring_order_copies_recurring_order_copy_id_200_response.go +++ b/api/model_get_recurring_order_copies_recurring_order_copy_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_recurring_order_copies_recurring_order_copy_id_200_response_data.go b/api/model_get_recurring_order_copies_recurring_order_copy_id_200_response_data.go index b2eaa22d3..ae5b73181 100644 --- a/api/model_get_recurring_order_copies_recurring_order_copy_id_200_response_data.go +++ b/api/model_get_recurring_order_copies_recurring_order_copy_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_refunds_200_response.go b/api/model_get_refunds_200_response.go index b19b0c5f1..a271396a9 100644 --- a/api/model_get_refunds_200_response.go +++ b/api/model_get_refunds_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_refunds_refund_id_200_response.go b/api/model_get_refunds_refund_id_200_response.go index 02a4ee19b..bb0e35aa0 100644 --- a/api/model_get_refunds_refund_id_200_response.go +++ b/api/model_get_refunds_refund_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_refunds_refund_id_200_response_data.go b/api/model_get_refunds_refund_id_200_response_data.go index 9a11e7acf..8221cfa14 100644 --- a/api/model_get_refunds_refund_id_200_response_data.go +++ b/api/model_get_refunds_refund_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_refunds_refund_id_200_response_data_attributes.go b/api/model_get_refunds_refund_id_200_response_data_attributes.go index 7ed2ad7e8..0c64e2595 100644 --- a/api/model_get_refunds_refund_id_200_response_data_attributes.go +++ b/api/model_get_refunds_refund_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_refunds_refund_id_200_response_data_relationships.go b/api/model_get_refunds_refund_id_200_response_data_relationships.go index 760691820..58a94210d 100644 --- a/api/model_get_refunds_refund_id_200_response_data_relationships.go +++ b/api/model_get_refunds_refund_id_200_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,12 +20,13 @@ var _ MappedNullable = &GETRefundsRefundId200ResponseDataRelationships{} // GETRefundsRefundId200ResponseDataRelationships struct for GETRefundsRefundId200ResponseDataRelationships type GETRefundsRefundId200ResponseDataRelationships struct { - Order *POSTAdyenPayments201ResponseDataRelationshipsOrder `json:"order,omitempty"` - Attachments *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments `json:"attachments,omitempty"` - Events *POSTAddresses201ResponseDataRelationshipsEvents `json:"events,omitempty"` - Versions *POSTAddresses201ResponseDataRelationshipsVersions `json:"versions,omitempty"` - ReferenceCapture *GETRefundsRefundId200ResponseDataRelationshipsReferenceCapture `json:"reference_capture,omitempty"` - Return *GETCapturesCaptureId200ResponseDataRelationshipsReturn `json:"return,omitempty"` + Order *POSTAdyenPayments201ResponseDataRelationshipsOrder `json:"order,omitempty"` + PaymentSource *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource `json:"payment_source,omitempty"` + Attachments *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments `json:"attachments,omitempty"` + Events *POSTAddresses201ResponseDataRelationshipsEvents `json:"events,omitempty"` + Versions *POSTAddresses201ResponseDataRelationshipsVersions `json:"versions,omitempty"` + ReferenceCapture *GETRefundsRefundId200ResponseDataRelationshipsReferenceCapture `json:"reference_capture,omitempty"` + Return *GETCapturesCaptureId200ResponseDataRelationshipsReturn `json:"return,omitempty"` } // NewGETRefundsRefundId200ResponseDataRelationships instantiates a new GETRefundsRefundId200ResponseDataRelationships object @@ -77,6 +78,38 @@ func (o *GETRefundsRefundId200ResponseDataRelationships) SetOrder(v POSTAdyenPay o.Order = &v } +// GetPaymentSource returns the PaymentSource field value if set, zero value otherwise. +func (o *GETRefundsRefundId200ResponseDataRelationships) GetPaymentSource() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource { + if o == nil || IsNil(o.PaymentSource) { + var ret GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource + return ret + } + return *o.PaymentSource +} + +// GetPaymentSourceOk returns a tuple with the PaymentSource field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GETRefundsRefundId200ResponseDataRelationships) GetPaymentSourceOk() (*GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource, bool) { + if o == nil || IsNil(o.PaymentSource) { + return nil, false + } + return o.PaymentSource, true +} + +// HasPaymentSource returns a boolean if a field has been set. +func (o *GETRefundsRefundId200ResponseDataRelationships) HasPaymentSource() bool { + if o != nil && !IsNil(o.PaymentSource) { + return true + } + + return false +} + +// SetPaymentSource gets a reference to the given GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource and assigns it to the PaymentSource field. +func (o *GETRefundsRefundId200ResponseDataRelationships) SetPaymentSource(v GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) { + o.PaymentSource = &v +} + // GetAttachments returns the Attachments field value if set, zero value otherwise. func (o *GETRefundsRefundId200ResponseDataRelationships) GetAttachments() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments { if o == nil || IsNil(o.Attachments) { @@ -250,6 +283,9 @@ func (o GETRefundsRefundId200ResponseDataRelationships) ToMap() (map[string]inte if !IsNil(o.Order) { toSerialize["order"] = o.Order } + if !IsNil(o.PaymentSource) { + toSerialize["payment_source"] = o.PaymentSource + } if !IsNil(o.Attachments) { toSerialize["attachments"] = o.Attachments } diff --git a/api/model_get_refunds_refund_id_200_response_data_relationships_reference_capture.go b/api/model_get_refunds_refund_id_200_response_data_relationships_reference_capture.go index 5a7c973c4..de986f899 100644 --- a/api/model_get_refunds_refund_id_200_response_data_relationships_reference_capture.go +++ b/api/model_get_refunds_refund_id_200_response_data_relationships_reference_capture.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_refunds_refund_id_200_response_data_relationships_reference_capture_data.go b/api/model_get_refunds_refund_id_200_response_data_relationships_reference_capture_data.go index 844a2270d..518840e19 100644 --- a/api/model_get_refunds_refund_id_200_response_data_relationships_reference_capture_data.go +++ b/api/model_get_refunds_refund_id_200_response_data_relationships_reference_capture_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_reserved_stocks_200_response.go b/api/model_get_reserved_stocks_200_response.go index 76153186d..b8d493231 100644 --- a/api/model_get_reserved_stocks_200_response.go +++ b/api/model_get_reserved_stocks_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_reserved_stocks_reserved_stock_id_200_response.go b/api/model_get_reserved_stocks_reserved_stock_id_200_response.go index f46b0835d..0b456b2a2 100644 --- a/api/model_get_reserved_stocks_reserved_stock_id_200_response.go +++ b/api/model_get_reserved_stocks_reserved_stock_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_reserved_stocks_reserved_stock_id_200_response_data.go b/api/model_get_reserved_stocks_reserved_stock_id_200_response_data.go index 136e865d9..c8bde8a12 100644 --- a/api/model_get_reserved_stocks_reserved_stock_id_200_response_data.go +++ b/api/model_get_reserved_stocks_reserved_stock_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_reserved_stocks_reserved_stock_id_200_response_data_attributes.go b/api/model_get_reserved_stocks_reserved_stock_id_200_response_data_attributes.go index 3ea52412c..fd0bcbf6c 100644 --- a/api/model_get_reserved_stocks_reserved_stock_id_200_response_data_attributes.go +++ b/api/model_get_reserved_stocks_reserved_stock_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_reserved_stocks_reserved_stock_id_200_response_data_relationships.go b/api/model_get_reserved_stocks_reserved_stock_id_200_response_data_relationships.go index a1023a378..1edeba2b0 100644 --- a/api/model_get_reserved_stocks_reserved_stock_id_200_response_data_relationships.go +++ b/api/model_get_reserved_stocks_reserved_stock_id_200_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_reserved_stocks_reserved_stock_id_200_response_data_relationships_stock_item.go b/api/model_get_reserved_stocks_reserved_stock_id_200_response_data_relationships_stock_item.go index 8ac225ae0..807eeb865 100644 --- a/api/model_get_reserved_stocks_reserved_stock_id_200_response_data_relationships_stock_item.go +++ b/api/model_get_reserved_stocks_reserved_stock_id_200_response_data_relationships_stock_item.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_reserved_stocks_reserved_stock_id_200_response_data_relationships_stock_item_data.go b/api/model_get_reserved_stocks_reserved_stock_id_200_response_data_relationships_stock_item_data.go index efbe4a9e2..6f721afde 100644 --- a/api/model_get_reserved_stocks_reserved_stock_id_200_response_data_relationships_stock_item_data.go +++ b/api/model_get_reserved_stocks_reserved_stock_id_200_response_data_relationships_stock_item_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_resource_errors_200_response.go b/api/model_get_resource_errors_200_response.go index c66c9f456..38362e69a 100644 --- a/api/model_get_resource_errors_200_response.go +++ b/api/model_get_resource_errors_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_resource_errors_resource_error_id_200_response.go b/api/model_get_resource_errors_resource_error_id_200_response.go index e414aa64a..6608eac1d 100644 --- a/api/model_get_resource_errors_resource_error_id_200_response.go +++ b/api/model_get_resource_errors_resource_error_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_resource_errors_resource_error_id_200_response_data.go b/api/model_get_resource_errors_resource_error_id_200_response_data.go index 7e454f8e2..d2ce74d39 100644 --- a/api/model_get_resource_errors_resource_error_id_200_response_data.go +++ b/api/model_get_resource_errors_resource_error_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_resource_errors_resource_error_id_200_response_data_attributes.go b/api/model_get_resource_errors_resource_error_id_200_response_data_attributes.go index 8d411eeaa..5e7e26b1f 100644 --- a/api/model_get_resource_errors_resource_error_id_200_response_data_attributes.go +++ b/api/model_get_resource_errors_resource_error_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_resource_errors_resource_error_id_200_response_data_relationships.go b/api/model_get_resource_errors_resource_error_id_200_response_data_relationships.go index 3a223ae5a..0311bf914 100644 --- a/api/model_get_resource_errors_resource_error_id_200_response_data_relationships.go +++ b/api/model_get_resource_errors_resource_error_id_200_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_resource_errors_resource_error_id_200_response_data_relationships_resource.go b/api/model_get_resource_errors_resource_error_id_200_response_data_relationships_resource.go index 3fb4ecef3..59cd71e25 100644 --- a/api/model_get_resource_errors_resource_error_id_200_response_data_relationships_resource.go +++ b/api/model_get_resource_errors_resource_error_id_200_response_data_relationships_resource.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_resource_errors_resource_error_id_200_response_data_relationships_resource_data.go b/api/model_get_resource_errors_resource_error_id_200_response_data_relationships_resource_data.go index 9b844af5f..b17e2289d 100644 --- a/api/model_get_resource_errors_resource_error_id_200_response_data_relationships_resource_data.go +++ b/api/model_get_resource_errors_resource_error_id_200_response_data_relationships_resource_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_return_line_items_200_response.go b/api/model_get_return_line_items_200_response.go index b7b420906..8be880d80 100644 --- a/api/model_get_return_line_items_200_response.go +++ b/api/model_get_return_line_items_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_return_line_items_return_line_item_id_200_response.go b/api/model_get_return_line_items_return_line_item_id_200_response.go index 753199f64..9c59a55f9 100644 --- a/api/model_get_return_line_items_return_line_item_id_200_response.go +++ b/api/model_get_return_line_items_return_line_item_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_return_line_items_return_line_item_id_200_response_data.go b/api/model_get_return_line_items_return_line_item_id_200_response_data.go index 5b82373df..36c56049d 100644 --- a/api/model_get_return_line_items_return_line_item_id_200_response_data.go +++ b/api/model_get_return_line_items_return_line_item_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_return_line_items_return_line_item_id_200_response_data_attributes.go b/api/model_get_return_line_items_return_line_item_id_200_response_data_attributes.go index 011eea44a..fcbc216ec 100644 --- a/api/model_get_return_line_items_return_line_item_id_200_response_data_attributes.go +++ b/api/model_get_return_line_items_return_line_item_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_returns_200_response.go b/api/model_get_returns_200_response.go index 08861eff7..9030226d8 100644 --- a/api/model_get_returns_200_response.go +++ b/api/model_get_returns_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_returns_return_id_200_response.go b/api/model_get_returns_return_id_200_response.go index 2f0ae845c..fdd0369d6 100644 --- a/api/model_get_returns_return_id_200_response.go +++ b/api/model_get_returns_return_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_returns_return_id_200_response_data.go b/api/model_get_returns_return_id_200_response_data.go index d8aace3ca..aa2582b28 100644 --- a/api/model_get_returns_return_id_200_response_data.go +++ b/api/model_get_returns_return_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_returns_return_id_200_response_data_attributes.go b/api/model_get_returns_return_id_200_response_data_attributes.go index 53ca0051b..1381b3119 100644 --- a/api/model_get_returns_return_id_200_response_data_attributes.go +++ b/api/model_get_returns_return_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_satispay_gateways_200_response.go b/api/model_get_satispay_gateways_200_response.go index 3ef730d7e..b70126406 100644 --- a/api/model_get_satispay_gateways_200_response.go +++ b/api/model_get_satispay_gateways_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_satispay_gateways_satispay_gateway_id_200_response.go b/api/model_get_satispay_gateways_satispay_gateway_id_200_response.go index 07092d3ad..a12d51a3d 100644 --- a/api/model_get_satispay_gateways_satispay_gateway_id_200_response.go +++ b/api/model_get_satispay_gateways_satispay_gateway_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_satispay_gateways_satispay_gateway_id_200_response_data.go b/api/model_get_satispay_gateways_satispay_gateway_id_200_response_data.go index 1a76bb8cd..45b03c784 100644 --- a/api/model_get_satispay_gateways_satispay_gateway_id_200_response_data.go +++ b/api/model_get_satispay_gateways_satispay_gateway_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_satispay_gateways_satispay_gateway_id_200_response_data_attributes.go b/api/model_get_satispay_gateways_satispay_gateway_id_200_response_data_attributes.go index cc930f507..d31eacf80 100644 --- a/api/model_get_satispay_gateways_satispay_gateway_id_200_response_data_attributes.go +++ b/api/model_get_satispay_gateways_satispay_gateway_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_satispay_payments_200_response.go b/api/model_get_satispay_payments_200_response.go index 9bcf6b3ca..78ba7a86a 100644 --- a/api/model_get_satispay_payments_200_response.go +++ b/api/model_get_satispay_payments_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_satispay_payments_satispay_payment_id_200_response.go b/api/model_get_satispay_payments_satispay_payment_id_200_response.go index 00cef85aa..e7c5c2d33 100644 --- a/api/model_get_satispay_payments_satispay_payment_id_200_response.go +++ b/api/model_get_satispay_payments_satispay_payment_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_satispay_payments_satispay_payment_id_200_response_data.go b/api/model_get_satispay_payments_satispay_payment_id_200_response_data.go index bbd2723ba..b7028ba11 100644 --- a/api/model_get_satispay_payments_satispay_payment_id_200_response_data.go +++ b/api/model_get_satispay_payments_satispay_payment_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_satispay_payments_satispay_payment_id_200_response_data_attributes.go b/api/model_get_satispay_payments_satispay_payment_id_200_response_data_attributes.go index aa5b7b47f..59188c752 100644 --- a/api/model_get_satispay_payments_satispay_payment_id_200_response_data_attributes.go +++ b/api/model_get_satispay_payments_satispay_payment_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_shipments_200_response.go b/api/model_get_shipments_200_response.go index c2cfaf04a..073b53e58 100644 --- a/api/model_get_shipments_200_response.go +++ b/api/model_get_shipments_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_shipments_shipment_id_200_response.go b/api/model_get_shipments_shipment_id_200_response.go index af2366382..b9503408c 100644 --- a/api/model_get_shipments_shipment_id_200_response.go +++ b/api/model_get_shipments_shipment_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_shipments_shipment_id_200_response_data.go b/api/model_get_shipments_shipment_id_200_response_data.go index 3575c5002..6af69f4cd 100644 --- a/api/model_get_shipments_shipment_id_200_response_data.go +++ b/api/model_get_shipments_shipment_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_shipments_shipment_id_200_response_data_attributes.go b/api/model_get_shipments_shipment_id_200_response_data_attributes.go index 9f7bf301b..a7f06e518 100644 --- a/api/model_get_shipments_shipment_id_200_response_data_attributes.go +++ b/api/model_get_shipments_shipment_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_shipping_categories_200_response.go b/api/model_get_shipping_categories_200_response.go index b02ed96ff..63854d91a 100644 --- a/api/model_get_shipping_categories_200_response.go +++ b/api/model_get_shipping_categories_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_shipping_categories_shipping_category_id_200_response.go b/api/model_get_shipping_categories_shipping_category_id_200_response.go index 57edff81b..8efd20bdb 100644 --- a/api/model_get_shipping_categories_shipping_category_id_200_response.go +++ b/api/model_get_shipping_categories_shipping_category_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_shipping_categories_shipping_category_id_200_response_data.go b/api/model_get_shipping_categories_shipping_category_id_200_response_data.go index 53186cd47..fb12ced01 100644 --- a/api/model_get_shipping_categories_shipping_category_id_200_response_data.go +++ b/api/model_get_shipping_categories_shipping_category_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_shipping_categories_shipping_category_id_200_response_data_attributes.go b/api/model_get_shipping_categories_shipping_category_id_200_response_data_attributes.go index 1d20bda8c..41c62c406 100644 --- a/api/model_get_shipping_categories_shipping_category_id_200_response_data_attributes.go +++ b/api/model_get_shipping_categories_shipping_category_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_shipping_method_tiers_200_response.go b/api/model_get_shipping_method_tiers_200_response.go index be22582c8..29e70d56c 100644 --- a/api/model_get_shipping_method_tiers_200_response.go +++ b/api/model_get_shipping_method_tiers_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_shipping_method_tiers_shipping_method_tier_id_200_response.go b/api/model_get_shipping_method_tiers_shipping_method_tier_id_200_response.go index 0eb994219..15fa939e4 100644 --- a/api/model_get_shipping_method_tiers_shipping_method_tier_id_200_response.go +++ b/api/model_get_shipping_method_tiers_shipping_method_tier_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_shipping_method_tiers_shipping_method_tier_id_200_response_data.go b/api/model_get_shipping_method_tiers_shipping_method_tier_id_200_response_data.go index 8f981fa79..e17312190 100644 --- a/api/model_get_shipping_method_tiers_shipping_method_tier_id_200_response_data.go +++ b/api/model_get_shipping_method_tiers_shipping_method_tier_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_shipping_method_tiers_shipping_method_tier_id_200_response_data_attributes.go b/api/model_get_shipping_method_tiers_shipping_method_tier_id_200_response_data_attributes.go index f7c772518..c7799ab17 100644 --- a/api/model_get_shipping_method_tiers_shipping_method_tier_id_200_response_data_attributes.go +++ b/api/model_get_shipping_method_tiers_shipping_method_tier_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_shipping_method_tiers_shipping_method_tier_id_200_response_data_relationships.go b/api/model_get_shipping_method_tiers_shipping_method_tier_id_200_response_data_relationships.go index ad6f2472f..db959a287 100644 --- a/api/model_get_shipping_method_tiers_shipping_method_tier_id_200_response_data_relationships.go +++ b/api/model_get_shipping_method_tiers_shipping_method_tier_id_200_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_shipping_methods_200_response.go b/api/model_get_shipping_methods_200_response.go index 6916a8e75..9bf18d88b 100644 --- a/api/model_get_shipping_methods_200_response.go +++ b/api/model_get_shipping_methods_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_shipping_methods_shipping_method_id_200_response.go b/api/model_get_shipping_methods_shipping_method_id_200_response.go index 89342229c..e52b5e92a 100644 --- a/api/model_get_shipping_methods_shipping_method_id_200_response.go +++ b/api/model_get_shipping_methods_shipping_method_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_shipping_methods_shipping_method_id_200_response_data.go b/api/model_get_shipping_methods_shipping_method_id_200_response_data.go index fbb8bef16..c324836a9 100644 --- a/api/model_get_shipping_methods_shipping_method_id_200_response_data.go +++ b/api/model_get_shipping_methods_shipping_method_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_shipping_methods_shipping_method_id_200_response_data_attributes.go b/api/model_get_shipping_methods_shipping_method_id_200_response_data_attributes.go index 0f89b5325..1707c9fe4 100644 --- a/api/model_get_shipping_methods_shipping_method_id_200_response_data_attributes.go +++ b/api/model_get_shipping_methods_shipping_method_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_shipping_weight_tiers_200_response.go b/api/model_get_shipping_weight_tiers_200_response.go index c55519aa9..419cba6ca 100644 --- a/api/model_get_shipping_weight_tiers_200_response.go +++ b/api/model_get_shipping_weight_tiers_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_shipping_weight_tiers_shipping_weight_tier_id_200_response.go b/api/model_get_shipping_weight_tiers_shipping_weight_tier_id_200_response.go index 0fcac5620..ea1d3c5d4 100644 --- a/api/model_get_shipping_weight_tiers_shipping_weight_tier_id_200_response.go +++ b/api/model_get_shipping_weight_tiers_shipping_weight_tier_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_shipping_weight_tiers_shipping_weight_tier_id_200_response_data.go b/api/model_get_shipping_weight_tiers_shipping_weight_tier_id_200_response_data.go index 3758dbaaa..0b7eb5d0e 100644 --- a/api/model_get_shipping_weight_tiers_shipping_weight_tier_id_200_response_data.go +++ b/api/model_get_shipping_weight_tiers_shipping_weight_tier_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_shipping_zones_200_response.go b/api/model_get_shipping_zones_200_response.go index aac816083..59196e944 100644 --- a/api/model_get_shipping_zones_200_response.go +++ b/api/model_get_shipping_zones_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_shipping_zones_shipping_zone_id_200_response.go b/api/model_get_shipping_zones_shipping_zone_id_200_response.go index c5e102d28..890f3a355 100644 --- a/api/model_get_shipping_zones_shipping_zone_id_200_response.go +++ b/api/model_get_shipping_zones_shipping_zone_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_shipping_zones_shipping_zone_id_200_response_data.go b/api/model_get_shipping_zones_shipping_zone_id_200_response_data.go index 156ef3094..1ee231c4e 100644 --- a/api/model_get_shipping_zones_shipping_zone_id_200_response_data.go +++ b/api/model_get_shipping_zones_shipping_zone_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_shipping_zones_shipping_zone_id_200_response_data_attributes.go b/api/model_get_shipping_zones_shipping_zone_id_200_response_data_attributes.go index f6d42a75d..7da273917 100644 --- a/api/model_get_shipping_zones_shipping_zone_id_200_response_data_attributes.go +++ b/api/model_get_shipping_zones_shipping_zone_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -22,17 +22,17 @@ var _ MappedNullable = &GETShippingZonesShippingZoneId200ResponseDataAttributes{ type GETShippingZonesShippingZoneId200ResponseDataAttributes struct { // The shipping zone's internal name. Name interface{} `json:"name,omitempty"` - // The regex that will be evaluated to match the shipping address country code. + // The regex that will be evaluated to match the shipping address country code, max size is 5000. CountryCodeRegex interface{} `json:"country_code_regex,omitempty"` - // The regex that will be evaluated as negative match for the shipping address country code. + // The regex that will be evaluated as negative match for the shipping address country code, max size is 5000. NotCountryCodeRegex interface{} `json:"not_country_code_regex,omitempty"` - // The regex that will be evaluated to match the shipping address state code. + // The regex that will be evaluated to match the shipping address state code, max size is 5000. StateCodeRegex interface{} `json:"state_code_regex,omitempty"` - // The regex that will be evaluated as negative match for the shipping address state code. + // The regex that will be evaluated as negative match for the shipping address state code, max size is 5000. NotStateCodeRegex interface{} `json:"not_state_code_regex,omitempty"` - // The regex that will be evaluated to match the shipping address zip code. + // The regex that will be evaluated to match the shipping address zip code, max size is 5000. ZipCodeRegex interface{} `json:"zip_code_regex,omitempty"` - // The regex that will be evaluated as negative match for the shipping zip country code. + // The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000. NotZipCodeRegex interface{} `json:"not_zip_code_regex,omitempty"` // Time at which the resource was created. CreatedAt interface{} `json:"created_at,omitempty"` diff --git a/api/model_get_sku_list_items_200_response.go b/api/model_get_sku_list_items_200_response.go index 8f95d4946..e26e1ba4b 100644 --- a/api/model_get_sku_list_items_200_response.go +++ b/api/model_get_sku_list_items_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_sku_list_items_sku_list_item_id_200_response.go b/api/model_get_sku_list_items_sku_list_item_id_200_response.go index cb755775d..1ced2e33f 100644 --- a/api/model_get_sku_list_items_sku_list_item_id_200_response.go +++ b/api/model_get_sku_list_items_sku_list_item_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_sku_list_items_sku_list_item_id_200_response_data.go b/api/model_get_sku_list_items_sku_list_item_id_200_response_data.go index e8bbbf1cf..40080738c 100644 --- a/api/model_get_sku_list_items_sku_list_item_id_200_response_data.go +++ b/api/model_get_sku_list_items_sku_list_item_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_sku_list_items_sku_list_item_id_200_response_data_attributes.go b/api/model_get_sku_list_items_sku_list_item_id_200_response_data_attributes.go index 5f84e70f6..457432099 100644 --- a/api/model_get_sku_list_items_sku_list_item_id_200_response_data_attributes.go +++ b/api/model_get_sku_list_items_sku_list_item_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_sku_list_promotion_rules_200_response.go b/api/model_get_sku_list_promotion_rules_200_response.go index 9adadcd17..92091e0fc 100644 --- a/api/model_get_sku_list_promotion_rules_200_response.go +++ b/api/model_get_sku_list_promotion_rules_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_sku_list_promotion_rules_sku_list_promotion_rule_id_200_response.go b/api/model_get_sku_list_promotion_rules_sku_list_promotion_rule_id_200_response.go index 510d0e205..08c9908ff 100644 --- a/api/model_get_sku_list_promotion_rules_sku_list_promotion_rule_id_200_response.go +++ b/api/model_get_sku_list_promotion_rules_sku_list_promotion_rule_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_sku_list_promotion_rules_sku_list_promotion_rule_id_200_response_data.go b/api/model_get_sku_list_promotion_rules_sku_list_promotion_rule_id_200_response_data.go index 0373fc39e..2c1c71ac5 100644 --- a/api/model_get_sku_list_promotion_rules_sku_list_promotion_rule_id_200_response_data.go +++ b/api/model_get_sku_list_promotion_rules_sku_list_promotion_rule_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_sku_list_promotion_rules_sku_list_promotion_rule_id_200_response_data_attributes.go b/api/model_get_sku_list_promotion_rules_sku_list_promotion_rule_id_200_response_data_attributes.go index 28dd6fd7d..6d5b35107 100644 --- a/api/model_get_sku_list_promotion_rules_sku_list_promotion_rule_id_200_response_data_attributes.go +++ b/api/model_get_sku_list_promotion_rules_sku_list_promotion_rule_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_sku_lists_200_response.go b/api/model_get_sku_lists_200_response.go index 702b993ae..5ffd7ea51 100644 --- a/api/model_get_sku_lists_200_response.go +++ b/api/model_get_sku_lists_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_sku_lists_sku_list_id_200_response.go b/api/model_get_sku_lists_sku_list_id_200_response.go index de11ee32a..26afb6054 100644 --- a/api/model_get_sku_lists_sku_list_id_200_response.go +++ b/api/model_get_sku_lists_sku_list_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_sku_lists_sku_list_id_200_response_data.go b/api/model_get_sku_lists_sku_list_id_200_response_data.go index f343c3574..6cb9a32d4 100644 --- a/api/model_get_sku_lists_sku_list_id_200_response_data.go +++ b/api/model_get_sku_lists_sku_list_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_sku_lists_sku_list_id_200_response_data_attributes.go b/api/model_get_sku_lists_sku_list_id_200_response_data_attributes.go index f756ab9d9..ccb20a774 100644 --- a/api/model_get_sku_lists_sku_list_id_200_response_data_attributes.go +++ b/api/model_get_sku_lists_sku_list_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -30,7 +30,7 @@ type GETSkuListsSkuListId200ResponseDataAttributes struct { ImageUrl interface{} `json:"image_url,omitempty"` // Indicates if the SKU list is populated manually. Manual interface{} `json:"manual,omitempty"` - // The regex that will be evaluated to match the SKU codes. + // The regex that will be evaluated to match the SKU codes, max size is 5000. SkuCodeRegex interface{} `json:"sku_code_regex,omitempty"` // Time at which the resource was created. CreatedAt interface{} `json:"created_at,omitempty"` diff --git a/api/model_get_sku_options_200_response.go b/api/model_get_sku_options_200_response.go index 25f5f2592..48f01f80a 100644 --- a/api/model_get_sku_options_200_response.go +++ b/api/model_get_sku_options_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_sku_options_sku_option_id_200_response.go b/api/model_get_sku_options_sku_option_id_200_response.go index ff6c00d3e..3660aef3e 100644 --- a/api/model_get_sku_options_sku_option_id_200_response.go +++ b/api/model_get_sku_options_sku_option_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_sku_options_sku_option_id_200_response_data.go b/api/model_get_sku_options_sku_option_id_200_response_data.go index 01e5015c6..ee308d11a 100644 --- a/api/model_get_sku_options_sku_option_id_200_response_data.go +++ b/api/model_get_sku_options_sku_option_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_sku_options_sku_option_id_200_response_data_attributes.go b/api/model_get_sku_options_sku_option_id_200_response_data_attributes.go index e15180d9a..5c6213f23 100644 --- a/api/model_get_sku_options_sku_option_id_200_response_data_attributes.go +++ b/api/model_get_sku_options_sku_option_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -36,7 +36,7 @@ type GETSkuOptionsSkuOptionId200ResponseDataAttributes struct { DelayHours interface{} `json:"delay_hours,omitempty"` // The delay time, in days (rounded). DelayDays interface{} `json:"delay_days,omitempty"` - // The regex that will be evaluated to match the SKU codes. + // The regex that will be evaluated to match the SKU codes, max size is 5000. SkuCodeRegex interface{} `json:"sku_code_regex,omitempty"` // Time at which the resource was created. CreatedAt interface{} `json:"created_at,omitempty"` diff --git a/api/model_get_skus_200_response.go b/api/model_get_skus_200_response.go index 8bb985dab..322a3fab5 100644 --- a/api/model_get_skus_200_response.go +++ b/api/model_get_skus_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_skus_sku_id_200_response.go b/api/model_get_skus_sku_id_200_response.go index 446f47bcf..0e1f187c9 100644 --- a/api/model_get_skus_sku_id_200_response.go +++ b/api/model_get_skus_sku_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_skus_sku_id_200_response_data.go b/api/model_get_skus_sku_id_200_response_data.go index 11688066a..9d99d0576 100644 --- a/api/model_get_skus_sku_id_200_response_data.go +++ b/api/model_get_skus_sku_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_skus_sku_id_200_response_data_attributes.go b/api/model_get_skus_sku_id_200_response_data_attributes.go index 46f59ba9a..c6649d79e 100644 --- a/api/model_get_skus_sku_id_200_response_data_attributes.go +++ b/api/model_get_skus_sku_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_stock_items_200_response.go b/api/model_get_stock_items_200_response.go index 1eec302c1..ca17dfe48 100644 --- a/api/model_get_stock_items_200_response.go +++ b/api/model_get_stock_items_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_stock_items_stock_item_id_200_response.go b/api/model_get_stock_items_stock_item_id_200_response.go index 242b8a21f..4021f8297 100644 --- a/api/model_get_stock_items_stock_item_id_200_response.go +++ b/api/model_get_stock_items_stock_item_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_stock_items_stock_item_id_200_response_data.go b/api/model_get_stock_items_stock_item_id_200_response_data.go index a5187ba3c..ca76bc3ac 100644 --- a/api/model_get_stock_items_stock_item_id_200_response_data.go +++ b/api/model_get_stock_items_stock_item_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_stock_items_stock_item_id_200_response_data_attributes.go b/api/model_get_stock_items_stock_item_id_200_response_data_attributes.go index 6b68a5530..39f45566b 100644 --- a/api/model_get_stock_items_stock_item_id_200_response_data_attributes.go +++ b/api/model_get_stock_items_stock_item_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_stock_line_items_200_response.go b/api/model_get_stock_line_items_200_response.go index 20aa5ed50..141066bce 100644 --- a/api/model_get_stock_line_items_200_response.go +++ b/api/model_get_stock_line_items_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_stock_line_items_stock_line_item_id_200_response.go b/api/model_get_stock_line_items_stock_line_item_id_200_response.go index 36f0b0a26..c76fdc7bf 100644 --- a/api/model_get_stock_line_items_stock_line_item_id_200_response.go +++ b/api/model_get_stock_line_items_stock_line_item_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_stock_line_items_stock_line_item_id_200_response_data.go b/api/model_get_stock_line_items_stock_line_item_id_200_response_data.go index e811575a0..eb208c0b0 100644 --- a/api/model_get_stock_line_items_stock_line_item_id_200_response_data.go +++ b/api/model_get_stock_line_items_stock_line_item_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_stock_line_items_stock_line_item_id_200_response_data_attributes.go b/api/model_get_stock_line_items_stock_line_item_id_200_response_data_attributes.go index 2560937b5..d2b3f7ea2 100644 --- a/api/model_get_stock_line_items_stock_line_item_id_200_response_data_attributes.go +++ b/api/model_get_stock_line_items_stock_line_item_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_stock_locations_200_response.go b/api/model_get_stock_locations_200_response.go index 4dc0f3d3b..58aacc97a 100644 --- a/api/model_get_stock_locations_200_response.go +++ b/api/model_get_stock_locations_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_stock_locations_stock_location_id_200_response.go b/api/model_get_stock_locations_stock_location_id_200_response.go index 359f15760..83eb2e77a 100644 --- a/api/model_get_stock_locations_stock_location_id_200_response.go +++ b/api/model_get_stock_locations_stock_location_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_stock_locations_stock_location_id_200_response_data.go b/api/model_get_stock_locations_stock_location_id_200_response_data.go index 60152f441..2c7f8ea5c 100644 --- a/api/model_get_stock_locations_stock_location_id_200_response_data.go +++ b/api/model_get_stock_locations_stock_location_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_stock_locations_stock_location_id_200_response_data_attributes.go b/api/model_get_stock_locations_stock_location_id_200_response_data_attributes.go index 3f6526d98..95eea141f 100644 --- a/api/model_get_stock_locations_stock_location_id_200_response_data_attributes.go +++ b/api/model_get_stock_locations_stock_location_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_stock_reservations_200_response.go b/api/model_get_stock_reservations_200_response.go index 6263857ba..3e04a6fe5 100644 --- a/api/model_get_stock_reservations_200_response.go +++ b/api/model_get_stock_reservations_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_stock_reservations_stock_reservation_id_200_response.go b/api/model_get_stock_reservations_stock_reservation_id_200_response.go index 71390d13e..d21fc30b1 100644 --- a/api/model_get_stock_reservations_stock_reservation_id_200_response.go +++ b/api/model_get_stock_reservations_stock_reservation_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_stock_reservations_stock_reservation_id_200_response_data.go b/api/model_get_stock_reservations_stock_reservation_id_200_response_data.go index 49f75d873..0fec1b2dc 100644 --- a/api/model_get_stock_reservations_stock_reservation_id_200_response_data.go +++ b/api/model_get_stock_reservations_stock_reservation_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_stock_reservations_stock_reservation_id_200_response_data_attributes.go b/api/model_get_stock_reservations_stock_reservation_id_200_response_data_attributes.go index ca526c642..3486ff77a 100644 --- a/api/model_get_stock_reservations_stock_reservation_id_200_response_data_attributes.go +++ b/api/model_get_stock_reservations_stock_reservation_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_stock_transfers_200_response.go b/api/model_get_stock_transfers_200_response.go index 54c1add17..cb558e8bf 100644 --- a/api/model_get_stock_transfers_200_response.go +++ b/api/model_get_stock_transfers_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_stock_transfers_stock_transfer_id_200_response.go b/api/model_get_stock_transfers_stock_transfer_id_200_response.go index 058136e5d..00f93ca5c 100644 --- a/api/model_get_stock_transfers_stock_transfer_id_200_response.go +++ b/api/model_get_stock_transfers_stock_transfer_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_stock_transfers_stock_transfer_id_200_response_data.go b/api/model_get_stock_transfers_stock_transfer_id_200_response_data.go index 58a6c6d0b..15725eac9 100644 --- a/api/model_get_stock_transfers_stock_transfer_id_200_response_data.go +++ b/api/model_get_stock_transfers_stock_transfer_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_stock_transfers_stock_transfer_id_200_response_data_attributes.go b/api/model_get_stock_transfers_stock_transfer_id_200_response_data_attributes.go index 25351050e..96e4e747f 100644 --- a/api/model_get_stock_transfers_stock_transfer_id_200_response_data_attributes.go +++ b/api/model_get_stock_transfers_stock_transfer_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -26,7 +26,7 @@ type GETStockTransfersStockTransferId200ResponseDataAttributes struct { SkuCode interface{} `json:"sku_code,omitempty"` // The stock transfer status. One of 'draft' (default), 'upcoming', 'on_hold', 'picking', 'in_transit', 'completed', or 'cancelled'. Status interface{} `json:"status,omitempty"` - // The stock quantity to be transferred from the origin stock location to destination one. + // The stock quantity to be transferred from the origin stock location to destination one. Updatable unless stock transfer is completed or cancelled and depending on origin stock availability. Quantity interface{} `json:"quantity,omitempty"` // Time at which the stock transfer was put on hold. OnHoldAt interface{} `json:"on_hold_at,omitempty"` diff --git a/api/model_get_stores_200_response.go b/api/model_get_stores_200_response.go new file mode 100644 index 000000000..bc23a748a --- /dev/null +++ b/api/model_get_stores_200_response.go @@ -0,0 +1,126 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the GETStores200Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GETStores200Response{} + +// GETStores200Response struct for GETStores200Response +type GETStores200Response struct { + Data interface{} `json:"data,omitempty"` +} + +// NewGETStores200Response instantiates a new GETStores200Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGETStores200Response() *GETStores200Response { + this := GETStores200Response{} + return &this +} + +// NewGETStores200ResponseWithDefaults instantiates a new GETStores200Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGETStores200ResponseWithDefaults() *GETStores200Response { + this := GETStores200Response{} + return &this +} + +// GetData returns the Data field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETStores200Response) GetData() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETStores200Response) GetDataOk() (*interface{}, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return &o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *GETStores200Response) HasData() bool { + if o != nil && IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given interface{} and assigns it to the Data field. +func (o *GETStores200Response) SetData(v interface{}) { + o.Data = v +} + +func (o GETStores200Response) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GETStores200Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Data != nil { + toSerialize["data"] = o.Data + } + return toSerialize, nil +} + +type NullableGETStores200Response struct { + value *GETStores200Response + isSet bool +} + +func (v NullableGETStores200Response) Get() *GETStores200Response { + return v.value +} + +func (v *NullableGETStores200Response) Set(val *GETStores200Response) { + v.value = val + v.isSet = true +} + +func (v NullableGETStores200Response) IsSet() bool { + return v.isSet +} + +func (v *NullableGETStores200Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGETStores200Response(val *GETStores200Response) *NullableGETStores200Response { + return &NullableGETStores200Response{value: val, isSet: true} +} + +func (v NullableGETStores200Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGETStores200Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_get_stores_store_id_200_response.go b/api/model_get_stores_store_id_200_response.go new file mode 100644 index 000000000..5eb0086b4 --- /dev/null +++ b/api/model_get_stores_store_id_200_response.go @@ -0,0 +1,125 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the GETStoresStoreId200Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GETStoresStoreId200Response{} + +// GETStoresStoreId200Response struct for GETStoresStoreId200Response +type GETStoresStoreId200Response struct { + Data *GETStoresStoreId200ResponseData `json:"data,omitempty"` +} + +// NewGETStoresStoreId200Response instantiates a new GETStoresStoreId200Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGETStoresStoreId200Response() *GETStoresStoreId200Response { + this := GETStoresStoreId200Response{} + return &this +} + +// NewGETStoresStoreId200ResponseWithDefaults instantiates a new GETStoresStoreId200Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGETStoresStoreId200ResponseWithDefaults() *GETStoresStoreId200Response { + this := GETStoresStoreId200Response{} + return &this +} + +// GetData returns the Data field value if set, zero value otherwise. +func (o *GETStoresStoreId200Response) GetData() GETStoresStoreId200ResponseData { + if o == nil || IsNil(o.Data) { + var ret GETStoresStoreId200ResponseData + return ret + } + return *o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GETStoresStoreId200Response) GetDataOk() (*GETStoresStoreId200ResponseData, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *GETStoresStoreId200Response) HasData() bool { + if o != nil && !IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given GETStoresStoreId200ResponseData and assigns it to the Data field. +func (o *GETStoresStoreId200Response) SetData(v GETStoresStoreId200ResponseData) { + o.Data = &v +} + +func (o GETStoresStoreId200Response) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GETStoresStoreId200Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Data) { + toSerialize["data"] = o.Data + } + return toSerialize, nil +} + +type NullableGETStoresStoreId200Response struct { + value *GETStoresStoreId200Response + isSet bool +} + +func (v NullableGETStoresStoreId200Response) Get() *GETStoresStoreId200Response { + return v.value +} + +func (v *NullableGETStoresStoreId200Response) Set(val *GETStoresStoreId200Response) { + v.value = val + v.isSet = true +} + +func (v NullableGETStoresStoreId200Response) IsSet() bool { + return v.isSet +} + +func (v *NullableGETStoresStoreId200Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGETStoresStoreId200Response(val *GETStoresStoreId200Response) *NullableGETStoresStoreId200Response { + return &NullableGETStoresStoreId200Response{value: val, isSet: true} +} + +func (v NullableGETStoresStoreId200Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGETStoresStoreId200Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_get_stores_store_id_200_response_data.go b/api/model_get_stores_store_id_200_response_data.go new file mode 100644 index 000000000..625b54f19 --- /dev/null +++ b/api/model_get_stores_store_id_200_response_data.go @@ -0,0 +1,273 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the GETStoresStoreId200ResponseData type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GETStoresStoreId200ResponseData{} + +// GETStoresStoreId200ResponseData struct for GETStoresStoreId200ResponseData +type GETStoresStoreId200ResponseData struct { + // The resource's id + Id interface{} `json:"id,omitempty"` + // The resource's type + Type interface{} `json:"type,omitempty"` + Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` + Attributes *GETStoresStoreId200ResponseDataAttributes `json:"attributes,omitempty"` + Relationships *POSTStores201ResponseDataRelationships `json:"relationships,omitempty"` +} + +// NewGETStoresStoreId200ResponseData instantiates a new GETStoresStoreId200ResponseData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGETStoresStoreId200ResponseData() *GETStoresStoreId200ResponseData { + this := GETStoresStoreId200ResponseData{} + return &this +} + +// NewGETStoresStoreId200ResponseDataWithDefaults instantiates a new GETStoresStoreId200ResponseData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGETStoresStoreId200ResponseDataWithDefaults() *GETStoresStoreId200ResponseData { + this := GETStoresStoreId200ResponseData{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETStoresStoreId200ResponseData) GetId() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETStoresStoreId200ResponseData) GetIdOk() (*interface{}, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return &o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *GETStoresStoreId200ResponseData) HasId() bool { + if o != nil && IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given interface{} and assigns it to the Id field. +func (o *GETStoresStoreId200ResponseData) SetId(v interface{}) { + o.Id = v +} + +// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETStoresStoreId200ResponseData) GetType() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETStoresStoreId200ResponseData) GetTypeOk() (*interface{}, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return &o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *GETStoresStoreId200ResponseData) HasType() bool { + if o != nil && IsNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given interface{} and assigns it to the Type field. +func (o *GETStoresStoreId200ResponseData) SetType(v interface{}) { + o.Type = v +} + +// GetLinks returns the Links field value if set, zero value otherwise. +func (o *GETStoresStoreId200ResponseData) GetLinks() POSTAddresses201ResponseDataLinks { + if o == nil || IsNil(o.Links) { + var ret POSTAddresses201ResponseDataLinks + return ret + } + return *o.Links +} + +// GetLinksOk returns a tuple with the Links field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GETStoresStoreId200ResponseData) GetLinksOk() (*POSTAddresses201ResponseDataLinks, bool) { + if o == nil || IsNil(o.Links) { + return nil, false + } + return o.Links, true +} + +// HasLinks returns a boolean if a field has been set. +func (o *GETStoresStoreId200ResponseData) HasLinks() bool { + if o != nil && !IsNil(o.Links) { + return true + } + + return false +} + +// SetLinks gets a reference to the given POSTAddresses201ResponseDataLinks and assigns it to the Links field. +func (o *GETStoresStoreId200ResponseData) SetLinks(v POSTAddresses201ResponseDataLinks) { + o.Links = &v +} + +// GetAttributes returns the Attributes field value if set, zero value otherwise. +func (o *GETStoresStoreId200ResponseData) GetAttributes() GETStoresStoreId200ResponseDataAttributes { + if o == nil || IsNil(o.Attributes) { + var ret GETStoresStoreId200ResponseDataAttributes + return ret + } + return *o.Attributes +} + +// GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GETStoresStoreId200ResponseData) GetAttributesOk() (*GETStoresStoreId200ResponseDataAttributes, bool) { + if o == nil || IsNil(o.Attributes) { + return nil, false + } + return o.Attributes, true +} + +// HasAttributes returns a boolean if a field has been set. +func (o *GETStoresStoreId200ResponseData) HasAttributes() bool { + if o != nil && !IsNil(o.Attributes) { + return true + } + + return false +} + +// SetAttributes gets a reference to the given GETStoresStoreId200ResponseDataAttributes and assigns it to the Attributes field. +func (o *GETStoresStoreId200ResponseData) SetAttributes(v GETStoresStoreId200ResponseDataAttributes) { + o.Attributes = &v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *GETStoresStoreId200ResponseData) GetRelationships() POSTStores201ResponseDataRelationships { + if o == nil || IsNil(o.Relationships) { + var ret POSTStores201ResponseDataRelationships + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GETStoresStoreId200ResponseData) GetRelationshipsOk() (*POSTStores201ResponseDataRelationships, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *GETStoresStoreId200ResponseData) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given POSTStores201ResponseDataRelationships and assigns it to the Relationships field. +func (o *GETStoresStoreId200ResponseData) SetRelationships(v POSTStores201ResponseDataRelationships) { + o.Relationships = &v +} + +func (o GETStoresStoreId200ResponseData) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GETStoresStoreId200ResponseData) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Id != nil { + toSerialize["id"] = o.Id + } + if o.Type != nil { + toSerialize["type"] = o.Type + } + if !IsNil(o.Links) { + toSerialize["links"] = o.Links + } + if !IsNil(o.Attributes) { + toSerialize["attributes"] = o.Attributes + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + return toSerialize, nil +} + +type NullableGETStoresStoreId200ResponseData struct { + value *GETStoresStoreId200ResponseData + isSet bool +} + +func (v NullableGETStoresStoreId200ResponseData) Get() *GETStoresStoreId200ResponseData { + return v.value +} + +func (v *NullableGETStoresStoreId200ResponseData) Set(val *GETStoresStoreId200ResponseData) { + v.value = val + v.isSet = true +} + +func (v NullableGETStoresStoreId200ResponseData) IsSet() bool { + return v.isSet +} + +func (v *NullableGETStoresStoreId200ResponseData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGETStoresStoreId200ResponseData(val *GETStoresStoreId200ResponseData) *NullableGETStoresStoreId200ResponseData { + return &NullableGETStoresStoreId200ResponseData{value: val, isSet: true} +} + +func (v NullableGETStoresStoreId200ResponseData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGETStoresStoreId200ResponseData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_get_stores_store_id_200_response_data_attributes.go b/api/model_get_stores_store_id_200_response_data_attributes.go new file mode 100644 index 000000000..6575fe0b2 --- /dev/null +++ b/api/model_get_stores_store_id_200_response_data_attributes.go @@ -0,0 +1,355 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the GETStoresStoreId200ResponseDataAttributes type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GETStoresStoreId200ResponseDataAttributes{} + +// GETStoresStoreId200ResponseDataAttributes struct for GETStoresStoreId200ResponseDataAttributes +type GETStoresStoreId200ResponseDataAttributes struct { + // The store's internal name. + Name interface{} `json:"name,omitempty"` + // A string that you can use to identify the store (must be unique within the environment). + Code interface{} `json:"code,omitempty"` + // Time at which the resource was created. + CreatedAt interface{} `json:"created_at,omitempty"` + // Time at which the resource was last updated. + UpdatedAt interface{} `json:"updated_at,omitempty"` + // A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. + Reference interface{} `json:"reference,omitempty"` + // Any identifier of the third party system that defines the reference code. + ReferenceOrigin interface{} `json:"reference_origin,omitempty"` + // Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. + Metadata interface{} `json:"metadata,omitempty"` +} + +// NewGETStoresStoreId200ResponseDataAttributes instantiates a new GETStoresStoreId200ResponseDataAttributes object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGETStoresStoreId200ResponseDataAttributes() *GETStoresStoreId200ResponseDataAttributes { + this := GETStoresStoreId200ResponseDataAttributes{} + return &this +} + +// NewGETStoresStoreId200ResponseDataAttributesWithDefaults instantiates a new GETStoresStoreId200ResponseDataAttributes object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGETStoresStoreId200ResponseDataAttributesWithDefaults() *GETStoresStoreId200ResponseDataAttributes { + this := GETStoresStoreId200ResponseDataAttributes{} + return &this +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETStoresStoreId200ResponseDataAttributes) GetName() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETStoresStoreId200ResponseDataAttributes) GetNameOk() (*interface{}, bool) { + if o == nil || IsNil(o.Name) { + return nil, false + } + return &o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *GETStoresStoreId200ResponseDataAttributes) HasName() bool { + if o != nil && IsNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given interface{} and assigns it to the Name field. +func (o *GETStoresStoreId200ResponseDataAttributes) SetName(v interface{}) { + o.Name = v +} + +// GetCode returns the Code field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETStoresStoreId200ResponseDataAttributes) GetCode() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Code +} + +// GetCodeOk returns a tuple with the Code field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETStoresStoreId200ResponseDataAttributes) GetCodeOk() (*interface{}, bool) { + if o == nil || IsNil(o.Code) { + return nil, false + } + return &o.Code, true +} + +// HasCode returns a boolean if a field has been set. +func (o *GETStoresStoreId200ResponseDataAttributes) HasCode() bool { + if o != nil && IsNil(o.Code) { + return true + } + + return false +} + +// SetCode gets a reference to the given interface{} and assigns it to the Code field. +func (o *GETStoresStoreId200ResponseDataAttributes) SetCode(v interface{}) { + o.Code = v +} + +// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETStoresStoreId200ResponseDataAttributes) GetCreatedAt() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.CreatedAt +} + +// GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETStoresStoreId200ResponseDataAttributes) GetCreatedAtOk() (*interface{}, bool) { + if o == nil || IsNil(o.CreatedAt) { + return nil, false + } + return &o.CreatedAt, true +} + +// HasCreatedAt returns a boolean if a field has been set. +func (o *GETStoresStoreId200ResponseDataAttributes) HasCreatedAt() bool { + if o != nil && IsNil(o.CreatedAt) { + return true + } + + return false +} + +// SetCreatedAt gets a reference to the given interface{} and assigns it to the CreatedAt field. +func (o *GETStoresStoreId200ResponseDataAttributes) SetCreatedAt(v interface{}) { + o.CreatedAt = v +} + +// GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETStoresStoreId200ResponseDataAttributes) GetUpdatedAt() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.UpdatedAt +} + +// GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETStoresStoreId200ResponseDataAttributes) GetUpdatedAtOk() (*interface{}, bool) { + if o == nil || IsNil(o.UpdatedAt) { + return nil, false + } + return &o.UpdatedAt, true +} + +// HasUpdatedAt returns a boolean if a field has been set. +func (o *GETStoresStoreId200ResponseDataAttributes) HasUpdatedAt() bool { + if o != nil && IsNil(o.UpdatedAt) { + return true + } + + return false +} + +// SetUpdatedAt gets a reference to the given interface{} and assigns it to the UpdatedAt field. +func (o *GETStoresStoreId200ResponseDataAttributes) SetUpdatedAt(v interface{}) { + o.UpdatedAt = v +} + +// GetReference returns the Reference field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETStoresStoreId200ResponseDataAttributes) GetReference() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Reference +} + +// GetReferenceOk returns a tuple with the Reference field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETStoresStoreId200ResponseDataAttributes) GetReferenceOk() (*interface{}, bool) { + if o == nil || IsNil(o.Reference) { + return nil, false + } + return &o.Reference, true +} + +// HasReference returns a boolean if a field has been set. +func (o *GETStoresStoreId200ResponseDataAttributes) HasReference() bool { + if o != nil && IsNil(o.Reference) { + return true + } + + return false +} + +// SetReference gets a reference to the given interface{} and assigns it to the Reference field. +func (o *GETStoresStoreId200ResponseDataAttributes) SetReference(v interface{}) { + o.Reference = v +} + +// GetReferenceOrigin returns the ReferenceOrigin field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETStoresStoreId200ResponseDataAttributes) GetReferenceOrigin() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.ReferenceOrigin +} + +// GetReferenceOriginOk returns a tuple with the ReferenceOrigin field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETStoresStoreId200ResponseDataAttributes) GetReferenceOriginOk() (*interface{}, bool) { + if o == nil || IsNil(o.ReferenceOrigin) { + return nil, false + } + return &o.ReferenceOrigin, true +} + +// HasReferenceOrigin returns a boolean if a field has been set. +func (o *GETStoresStoreId200ResponseDataAttributes) HasReferenceOrigin() bool { + if o != nil && IsNil(o.ReferenceOrigin) { + return true + } + + return false +} + +// SetReferenceOrigin gets a reference to the given interface{} and assigns it to the ReferenceOrigin field. +func (o *GETStoresStoreId200ResponseDataAttributes) SetReferenceOrigin(v interface{}) { + o.ReferenceOrigin = v +} + +// GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETStoresStoreId200ResponseDataAttributes) GetMetadata() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Metadata +} + +// GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GETStoresStoreId200ResponseDataAttributes) GetMetadataOk() (*interface{}, bool) { + if o == nil || IsNil(o.Metadata) { + return nil, false + } + return &o.Metadata, true +} + +// HasMetadata returns a boolean if a field has been set. +func (o *GETStoresStoreId200ResponseDataAttributes) HasMetadata() bool { + if o != nil && IsNil(o.Metadata) { + return true + } + + return false +} + +// SetMetadata gets a reference to the given interface{} and assigns it to the Metadata field. +func (o *GETStoresStoreId200ResponseDataAttributes) SetMetadata(v interface{}) { + o.Metadata = v +} + +func (o GETStoresStoreId200ResponseDataAttributes) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GETStoresStoreId200ResponseDataAttributes) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Name != nil { + toSerialize["name"] = o.Name + } + if o.Code != nil { + toSerialize["code"] = o.Code + } + if o.CreatedAt != nil { + toSerialize["created_at"] = o.CreatedAt + } + if o.UpdatedAt != nil { + toSerialize["updated_at"] = o.UpdatedAt + } + if o.Reference != nil { + toSerialize["reference"] = o.Reference + } + if o.ReferenceOrigin != nil { + toSerialize["reference_origin"] = o.ReferenceOrigin + } + if o.Metadata != nil { + toSerialize["metadata"] = o.Metadata + } + return toSerialize, nil +} + +type NullableGETStoresStoreId200ResponseDataAttributes struct { + value *GETStoresStoreId200ResponseDataAttributes + isSet bool +} + +func (v NullableGETStoresStoreId200ResponseDataAttributes) Get() *GETStoresStoreId200ResponseDataAttributes { + return v.value +} + +func (v *NullableGETStoresStoreId200ResponseDataAttributes) Set(val *GETStoresStoreId200ResponseDataAttributes) { + v.value = val + v.isSet = true +} + +func (v NullableGETStoresStoreId200ResponseDataAttributes) IsSet() bool { + return v.isSet +} + +func (v *NullableGETStoresStoreId200ResponseDataAttributes) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGETStoresStoreId200ResponseDataAttributes(val *GETStoresStoreId200ResponseDataAttributes) *NullableGETStoresStoreId200ResponseDataAttributes { + return &NullableGETStoresStoreId200ResponseDataAttributes{value: val, isSet: true} +} + +func (v NullableGETStoresStoreId200ResponseDataAttributes) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGETStoresStoreId200ResponseDataAttributes) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_get_stripe_gateways_200_response.go b/api/model_get_stripe_gateways_200_response.go index 75177b4ba..8477fe2e9 100644 --- a/api/model_get_stripe_gateways_200_response.go +++ b/api/model_get_stripe_gateways_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_stripe_gateways_stripe_gateway_id_200_response.go b/api/model_get_stripe_gateways_stripe_gateway_id_200_response.go index 2d0bd2ab4..37d26d7cc 100644 --- a/api/model_get_stripe_gateways_stripe_gateway_id_200_response.go +++ b/api/model_get_stripe_gateways_stripe_gateway_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_stripe_gateways_stripe_gateway_id_200_response_data.go b/api/model_get_stripe_gateways_stripe_gateway_id_200_response_data.go index 419feb195..9d9e7501d 100644 --- a/api/model_get_stripe_gateways_stripe_gateway_id_200_response_data.go +++ b/api/model_get_stripe_gateways_stripe_gateway_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_stripe_gateways_stripe_gateway_id_200_response_data_attributes.go b/api/model_get_stripe_gateways_stripe_gateway_id_200_response_data_attributes.go index ab1cdc249..9809811de 100644 --- a/api/model_get_stripe_gateways_stripe_gateway_id_200_response_data_attributes.go +++ b/api/model_get_stripe_gateways_stripe_gateway_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_stripe_payments_200_response.go b/api/model_get_stripe_payments_200_response.go index 0e958c0ac..b11534444 100644 --- a/api/model_get_stripe_payments_200_response.go +++ b/api/model_get_stripe_payments_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_stripe_payments_stripe_payment_id_200_response.go b/api/model_get_stripe_payments_stripe_payment_id_200_response.go index 2a679b6c5..7387d1c52 100644 --- a/api/model_get_stripe_payments_stripe_payment_id_200_response.go +++ b/api/model_get_stripe_payments_stripe_payment_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_stripe_payments_stripe_payment_id_200_response_data.go b/api/model_get_stripe_payments_stripe_payment_id_200_response_data.go index 7a19b4e24..98216ecf9 100644 --- a/api/model_get_stripe_payments_stripe_payment_id_200_response_data.go +++ b/api/model_get_stripe_payments_stripe_payment_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_stripe_payments_stripe_payment_id_200_response_data_attributes.go b/api/model_get_stripe_payments_stripe_payment_id_200_response_data_attributes.go index c9f81f212..e9c1a8f20 100644 --- a/api/model_get_stripe_payments_stripe_payment_id_200_response_data_attributes.go +++ b/api/model_get_stripe_payments_stripe_payment_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_subscription_models_200_response.go b/api/model_get_subscription_models_200_response.go index 1f7cd5833..9d5828d86 100644 --- a/api/model_get_subscription_models_200_response.go +++ b/api/model_get_subscription_models_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_subscription_models_subscription_model_id_200_response.go b/api/model_get_subscription_models_subscription_model_id_200_response.go index 76459b5a2..ee2801d9f 100644 --- a/api/model_get_subscription_models_subscription_model_id_200_response.go +++ b/api/model_get_subscription_models_subscription_model_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_subscription_models_subscription_model_id_200_response_data.go b/api/model_get_subscription_models_subscription_model_id_200_response_data.go index 589cccfe8..59a86d3d3 100644 --- a/api/model_get_subscription_models_subscription_model_id_200_response_data.go +++ b/api/model_get_subscription_models_subscription_model_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_subscription_models_subscription_model_id_200_response_data_attributes.go b/api/model_get_subscription_models_subscription_model_id_200_response_data_attributes.go index 6814fb587..515e91856 100644 --- a/api/model_get_subscription_models_subscription_model_id_200_response_data_attributes.go +++ b/api/model_get_subscription_models_subscription_model_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_tags_200_response.go b/api/model_get_tags_200_response.go index 8fcfac6ab..c30c1a854 100644 --- a/api/model_get_tags_200_response.go +++ b/api/model_get_tags_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_tags_tag_id_200_response.go b/api/model_get_tags_tag_id_200_response.go index 2c1e5aedd..3b76f46a9 100644 --- a/api/model_get_tags_tag_id_200_response.go +++ b/api/model_get_tags_tag_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_tags_tag_id_200_response_data.go b/api/model_get_tags_tag_id_200_response_data.go index e6858c5fc..cd119db9a 100644 --- a/api/model_get_tags_tag_id_200_response_data.go +++ b/api/model_get_tags_tag_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_tags_tag_id_200_response_data_attributes.go b/api/model_get_tags_tag_id_200_response_data_attributes.go index 513e6b4c0..20b5edd84 100644 --- a/api/model_get_tags_tag_id_200_response_data_attributes.go +++ b/api/model_get_tags_tag_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_tax_calculators_200_response.go b/api/model_get_tax_calculators_200_response.go index bdd32e370..6f532c91f 100644 --- a/api/model_get_tax_calculators_200_response.go +++ b/api/model_get_tax_calculators_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_tax_calculators_tax_calculator_id_200_response.go b/api/model_get_tax_calculators_tax_calculator_id_200_response.go index 35d61e09c..be5184499 100644 --- a/api/model_get_tax_calculators_tax_calculator_id_200_response.go +++ b/api/model_get_tax_calculators_tax_calculator_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_tax_calculators_tax_calculator_id_200_response_data.go b/api/model_get_tax_calculators_tax_calculator_id_200_response_data.go index 6c277ef9a..3e8be4b5c 100644 --- a/api/model_get_tax_calculators_tax_calculator_id_200_response_data.go +++ b/api/model_get_tax_calculators_tax_calculator_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_tax_categories_200_response.go b/api/model_get_tax_categories_200_response.go index aa6012a0f..e3e409bb3 100644 --- a/api/model_get_tax_categories_200_response.go +++ b/api/model_get_tax_categories_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_tax_categories_tax_category_id_200_response.go b/api/model_get_tax_categories_tax_category_id_200_response.go index 047159cf6..5ab8ef27b 100644 --- a/api/model_get_tax_categories_tax_category_id_200_response.go +++ b/api/model_get_tax_categories_tax_category_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_tax_categories_tax_category_id_200_response_data.go b/api/model_get_tax_categories_tax_category_id_200_response_data.go index 7bb3c9763..1d833b5b2 100644 --- a/api/model_get_tax_categories_tax_category_id_200_response_data.go +++ b/api/model_get_tax_categories_tax_category_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_tax_categories_tax_category_id_200_response_data_attributes.go b/api/model_get_tax_categories_tax_category_id_200_response_data_attributes.go index 839f946ae..752e607cf 100644 --- a/api/model_get_tax_categories_tax_category_id_200_response_data_attributes.go +++ b/api/model_get_tax_categories_tax_category_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_tax_rules_200_response.go b/api/model_get_tax_rules_200_response.go index 1c0c3669a..4673f03f8 100644 --- a/api/model_get_tax_rules_200_response.go +++ b/api/model_get_tax_rules_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_tax_rules_tax_rule_id_200_response.go b/api/model_get_tax_rules_tax_rule_id_200_response.go index f1ff806e5..d5ff01bd6 100644 --- a/api/model_get_tax_rules_tax_rule_id_200_response.go +++ b/api/model_get_tax_rules_tax_rule_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_tax_rules_tax_rule_id_200_response_data.go b/api/model_get_tax_rules_tax_rule_id_200_response_data.go index de98ef0f4..eba09fee4 100644 --- a/api/model_get_tax_rules_tax_rule_id_200_response_data.go +++ b/api/model_get_tax_rules_tax_rule_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_tax_rules_tax_rule_id_200_response_data_attributes.go b/api/model_get_tax_rules_tax_rule_id_200_response_data_attributes.go index 56b7d785b..f8b9f1c01 100644 --- a/api/model_get_tax_rules_tax_rule_id_200_response_data_attributes.go +++ b/api/model_get_tax_rules_tax_rule_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -24,18 +24,6 @@ type GETTaxRulesTaxRuleId200ResponseDataAttributes struct { Name interface{} `json:"name,omitempty"` // The tax rate for this rule. TaxRate interface{} `json:"tax_rate,omitempty"` - // The regex that will be evaluated to match the shipping address country code. - CountryCodeRegex interface{} `json:"country_code_regex,omitempty"` - // The regex that will be evaluated as negative match for the shipping address country code. - NotCountryCodeRegex interface{} `json:"not_country_code_regex,omitempty"` - // The regex that will be evaluated to match the shipping address state code. - StateCodeRegex interface{} `json:"state_code_regex,omitempty"` - // The regex that will be evaluated as negative match for the shipping address state code. - NotStateCodeRegex interface{} `json:"not_state_code_regex,omitempty"` - // The regex that will be evaluated to match the shipping address zip code. - ZipCodeRegex interface{} `json:"zip_code_regex,omitempty"` - // The regex that will be evaluated as negative match for the shipping zip country code. - NotZipCodeRegex interface{} `json:"not_zip_code_regex,omitempty"` // Indicates if the freight is taxable. FreightTaxable interface{} `json:"freight_taxable,omitempty"` // Indicates if the payment method is taxable. @@ -46,6 +34,18 @@ type GETTaxRulesTaxRuleId200ResponseDataAttributes struct { AdjustmentTaxable interface{} `json:"adjustment_taxable,omitempty"` // The breakdown for this tax rule (if calculated). Breakdown interface{} `json:"breakdown,omitempty"` + // The regex that will be evaluated to match the shipping address country code, max size is 5000. + CountryCodeRegex interface{} `json:"country_code_regex,omitempty"` + // The regex that will be evaluated as negative match for the shipping address country code, max size is 5000. + NotCountryCodeRegex interface{} `json:"not_country_code_regex,omitempty"` + // The regex that will be evaluated to match the shipping address state code, max size is 5000. + StateCodeRegex interface{} `json:"state_code_regex,omitempty"` + // The regex that will be evaluated as negative match for the shipping address state code, max size is 5000. + NotStateCodeRegex interface{} `json:"not_state_code_regex,omitempty"` + // The regex that will be evaluated to match the shipping address zip code, max size is 5000. + ZipCodeRegex interface{} `json:"zip_code_regex,omitempty"` + // The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000. + NotZipCodeRegex interface{} `json:"not_zip_code_regex,omitempty"` // Time at which the resource was created. CreatedAt interface{} `json:"created_at,omitempty"` // Time at which the resource was last updated. @@ -141,367 +141,367 @@ func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetTaxRate(v interface{} o.TaxRate = v } -// GetCountryCodeRegex returns the CountryCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetCountryCodeRegex() interface{} { +// GetFreightTaxable returns the FreightTaxable field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetFreightTaxable() interface{} { if o == nil { var ret interface{} return ret } - return o.CountryCodeRegex + return o.FreightTaxable } -// GetCountryCodeRegexOk returns a tuple with the CountryCodeRegex field value if set, nil otherwise +// GetFreightTaxableOk returns a tuple with the FreightTaxable field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetCountryCodeRegexOk() (*interface{}, bool) { - if o == nil || IsNil(o.CountryCodeRegex) { +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetFreightTaxableOk() (*interface{}, bool) { + if o == nil || IsNil(o.FreightTaxable) { return nil, false } - return &o.CountryCodeRegex, true + return &o.FreightTaxable, true } -// HasCountryCodeRegex returns a boolean if a field has been set. -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasCountryCodeRegex() bool { - if o != nil && IsNil(o.CountryCodeRegex) { +// HasFreightTaxable returns a boolean if a field has been set. +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasFreightTaxable() bool { + if o != nil && IsNil(o.FreightTaxable) { return true } return false } -// SetCountryCodeRegex gets a reference to the given interface{} and assigns it to the CountryCodeRegex field. -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetCountryCodeRegex(v interface{}) { - o.CountryCodeRegex = v +// SetFreightTaxable gets a reference to the given interface{} and assigns it to the FreightTaxable field. +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetFreightTaxable(v interface{}) { + o.FreightTaxable = v } -// GetNotCountryCodeRegex returns the NotCountryCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetNotCountryCodeRegex() interface{} { +// GetPaymentMethodTaxable returns the PaymentMethodTaxable field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetPaymentMethodTaxable() interface{} { if o == nil { var ret interface{} return ret } - return o.NotCountryCodeRegex + return o.PaymentMethodTaxable } -// GetNotCountryCodeRegexOk returns a tuple with the NotCountryCodeRegex field value if set, nil otherwise +// GetPaymentMethodTaxableOk returns a tuple with the PaymentMethodTaxable field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetNotCountryCodeRegexOk() (*interface{}, bool) { - if o == nil || IsNil(o.NotCountryCodeRegex) { +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetPaymentMethodTaxableOk() (*interface{}, bool) { + if o == nil || IsNil(o.PaymentMethodTaxable) { return nil, false } - return &o.NotCountryCodeRegex, true + return &o.PaymentMethodTaxable, true } -// HasNotCountryCodeRegex returns a boolean if a field has been set. -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasNotCountryCodeRegex() bool { - if o != nil && IsNil(o.NotCountryCodeRegex) { +// HasPaymentMethodTaxable returns a boolean if a field has been set. +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasPaymentMethodTaxable() bool { + if o != nil && IsNil(o.PaymentMethodTaxable) { return true } return false } -// SetNotCountryCodeRegex gets a reference to the given interface{} and assigns it to the NotCountryCodeRegex field. -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetNotCountryCodeRegex(v interface{}) { - o.NotCountryCodeRegex = v +// SetPaymentMethodTaxable gets a reference to the given interface{} and assigns it to the PaymentMethodTaxable field. +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetPaymentMethodTaxable(v interface{}) { + o.PaymentMethodTaxable = v } -// GetStateCodeRegex returns the StateCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetStateCodeRegex() interface{} { +// GetGiftCardTaxable returns the GiftCardTaxable field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetGiftCardTaxable() interface{} { if o == nil { var ret interface{} return ret } - return o.StateCodeRegex + return o.GiftCardTaxable } -// GetStateCodeRegexOk returns a tuple with the StateCodeRegex field value if set, nil otherwise +// GetGiftCardTaxableOk returns a tuple with the GiftCardTaxable field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetStateCodeRegexOk() (*interface{}, bool) { - if o == nil || IsNil(o.StateCodeRegex) { +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetGiftCardTaxableOk() (*interface{}, bool) { + if o == nil || IsNil(o.GiftCardTaxable) { return nil, false } - return &o.StateCodeRegex, true + return &o.GiftCardTaxable, true } -// HasStateCodeRegex returns a boolean if a field has been set. -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasStateCodeRegex() bool { - if o != nil && IsNil(o.StateCodeRegex) { +// HasGiftCardTaxable returns a boolean if a field has been set. +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasGiftCardTaxable() bool { + if o != nil && IsNil(o.GiftCardTaxable) { return true } return false } -// SetStateCodeRegex gets a reference to the given interface{} and assigns it to the StateCodeRegex field. -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetStateCodeRegex(v interface{}) { - o.StateCodeRegex = v +// SetGiftCardTaxable gets a reference to the given interface{} and assigns it to the GiftCardTaxable field. +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetGiftCardTaxable(v interface{}) { + o.GiftCardTaxable = v } -// GetNotStateCodeRegex returns the NotStateCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetNotStateCodeRegex() interface{} { +// GetAdjustmentTaxable returns the AdjustmentTaxable field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetAdjustmentTaxable() interface{} { if o == nil { var ret interface{} return ret } - return o.NotStateCodeRegex + return o.AdjustmentTaxable } -// GetNotStateCodeRegexOk returns a tuple with the NotStateCodeRegex field value if set, nil otherwise +// GetAdjustmentTaxableOk returns a tuple with the AdjustmentTaxable field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetNotStateCodeRegexOk() (*interface{}, bool) { - if o == nil || IsNil(o.NotStateCodeRegex) { +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetAdjustmentTaxableOk() (*interface{}, bool) { + if o == nil || IsNil(o.AdjustmentTaxable) { return nil, false } - return &o.NotStateCodeRegex, true + return &o.AdjustmentTaxable, true } -// HasNotStateCodeRegex returns a boolean if a field has been set. -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasNotStateCodeRegex() bool { - if o != nil && IsNil(o.NotStateCodeRegex) { +// HasAdjustmentTaxable returns a boolean if a field has been set. +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasAdjustmentTaxable() bool { + if o != nil && IsNil(o.AdjustmentTaxable) { return true } return false } -// SetNotStateCodeRegex gets a reference to the given interface{} and assigns it to the NotStateCodeRegex field. -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetNotStateCodeRegex(v interface{}) { - o.NotStateCodeRegex = v +// SetAdjustmentTaxable gets a reference to the given interface{} and assigns it to the AdjustmentTaxable field. +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetAdjustmentTaxable(v interface{}) { + o.AdjustmentTaxable = v } -// GetZipCodeRegex returns the ZipCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetZipCodeRegex() interface{} { +// GetBreakdown returns the Breakdown field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetBreakdown() interface{} { if o == nil { var ret interface{} return ret } - return o.ZipCodeRegex + return o.Breakdown } -// GetZipCodeRegexOk returns a tuple with the ZipCodeRegex field value if set, nil otherwise +// GetBreakdownOk returns a tuple with the Breakdown field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetZipCodeRegexOk() (*interface{}, bool) { - if o == nil || IsNil(o.ZipCodeRegex) { +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetBreakdownOk() (*interface{}, bool) { + if o == nil || IsNil(o.Breakdown) { return nil, false } - return &o.ZipCodeRegex, true + return &o.Breakdown, true } -// HasZipCodeRegex returns a boolean if a field has been set. -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasZipCodeRegex() bool { - if o != nil && IsNil(o.ZipCodeRegex) { +// HasBreakdown returns a boolean if a field has been set. +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasBreakdown() bool { + if o != nil && IsNil(o.Breakdown) { return true } return false } -// SetZipCodeRegex gets a reference to the given interface{} and assigns it to the ZipCodeRegex field. -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetZipCodeRegex(v interface{}) { - o.ZipCodeRegex = v +// SetBreakdown gets a reference to the given interface{} and assigns it to the Breakdown field. +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetBreakdown(v interface{}) { + o.Breakdown = v } -// GetNotZipCodeRegex returns the NotZipCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetNotZipCodeRegex() interface{} { +// GetCountryCodeRegex returns the CountryCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetCountryCodeRegex() interface{} { if o == nil { var ret interface{} return ret } - return o.NotZipCodeRegex + return o.CountryCodeRegex } -// GetNotZipCodeRegexOk returns a tuple with the NotZipCodeRegex field value if set, nil otherwise +// GetCountryCodeRegexOk returns a tuple with the CountryCodeRegex field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetNotZipCodeRegexOk() (*interface{}, bool) { - if o == nil || IsNil(o.NotZipCodeRegex) { +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetCountryCodeRegexOk() (*interface{}, bool) { + if o == nil || IsNil(o.CountryCodeRegex) { return nil, false } - return &o.NotZipCodeRegex, true + return &o.CountryCodeRegex, true } -// HasNotZipCodeRegex returns a boolean if a field has been set. -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasNotZipCodeRegex() bool { - if o != nil && IsNil(o.NotZipCodeRegex) { +// HasCountryCodeRegex returns a boolean if a field has been set. +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasCountryCodeRegex() bool { + if o != nil && IsNil(o.CountryCodeRegex) { return true } return false } -// SetNotZipCodeRegex gets a reference to the given interface{} and assigns it to the NotZipCodeRegex field. -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetNotZipCodeRegex(v interface{}) { - o.NotZipCodeRegex = v +// SetCountryCodeRegex gets a reference to the given interface{} and assigns it to the CountryCodeRegex field. +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetCountryCodeRegex(v interface{}) { + o.CountryCodeRegex = v } -// GetFreightTaxable returns the FreightTaxable field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetFreightTaxable() interface{} { +// GetNotCountryCodeRegex returns the NotCountryCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetNotCountryCodeRegex() interface{} { if o == nil { var ret interface{} return ret } - return o.FreightTaxable + return o.NotCountryCodeRegex } -// GetFreightTaxableOk returns a tuple with the FreightTaxable field value if set, nil otherwise +// GetNotCountryCodeRegexOk returns a tuple with the NotCountryCodeRegex field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetFreightTaxableOk() (*interface{}, bool) { - if o == nil || IsNil(o.FreightTaxable) { +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetNotCountryCodeRegexOk() (*interface{}, bool) { + if o == nil || IsNil(o.NotCountryCodeRegex) { return nil, false } - return &o.FreightTaxable, true + return &o.NotCountryCodeRegex, true } -// HasFreightTaxable returns a boolean if a field has been set. -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasFreightTaxable() bool { - if o != nil && IsNil(o.FreightTaxable) { +// HasNotCountryCodeRegex returns a boolean if a field has been set. +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasNotCountryCodeRegex() bool { + if o != nil && IsNil(o.NotCountryCodeRegex) { return true } return false } -// SetFreightTaxable gets a reference to the given interface{} and assigns it to the FreightTaxable field. -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetFreightTaxable(v interface{}) { - o.FreightTaxable = v +// SetNotCountryCodeRegex gets a reference to the given interface{} and assigns it to the NotCountryCodeRegex field. +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetNotCountryCodeRegex(v interface{}) { + o.NotCountryCodeRegex = v } -// GetPaymentMethodTaxable returns the PaymentMethodTaxable field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetPaymentMethodTaxable() interface{} { +// GetStateCodeRegex returns the StateCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetStateCodeRegex() interface{} { if o == nil { var ret interface{} return ret } - return o.PaymentMethodTaxable + return o.StateCodeRegex } -// GetPaymentMethodTaxableOk returns a tuple with the PaymentMethodTaxable field value if set, nil otherwise +// GetStateCodeRegexOk returns a tuple with the StateCodeRegex field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetPaymentMethodTaxableOk() (*interface{}, bool) { - if o == nil || IsNil(o.PaymentMethodTaxable) { +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetStateCodeRegexOk() (*interface{}, bool) { + if o == nil || IsNil(o.StateCodeRegex) { return nil, false } - return &o.PaymentMethodTaxable, true + return &o.StateCodeRegex, true } -// HasPaymentMethodTaxable returns a boolean if a field has been set. -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasPaymentMethodTaxable() bool { - if o != nil && IsNil(o.PaymentMethodTaxable) { +// HasStateCodeRegex returns a boolean if a field has been set. +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasStateCodeRegex() bool { + if o != nil && IsNil(o.StateCodeRegex) { return true } return false } -// SetPaymentMethodTaxable gets a reference to the given interface{} and assigns it to the PaymentMethodTaxable field. -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetPaymentMethodTaxable(v interface{}) { - o.PaymentMethodTaxable = v +// SetStateCodeRegex gets a reference to the given interface{} and assigns it to the StateCodeRegex field. +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetStateCodeRegex(v interface{}) { + o.StateCodeRegex = v } -// GetGiftCardTaxable returns the GiftCardTaxable field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetGiftCardTaxable() interface{} { +// GetNotStateCodeRegex returns the NotStateCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetNotStateCodeRegex() interface{} { if o == nil { var ret interface{} return ret } - return o.GiftCardTaxable + return o.NotStateCodeRegex } -// GetGiftCardTaxableOk returns a tuple with the GiftCardTaxable field value if set, nil otherwise +// GetNotStateCodeRegexOk returns a tuple with the NotStateCodeRegex field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetGiftCardTaxableOk() (*interface{}, bool) { - if o == nil || IsNil(o.GiftCardTaxable) { +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetNotStateCodeRegexOk() (*interface{}, bool) { + if o == nil || IsNil(o.NotStateCodeRegex) { return nil, false } - return &o.GiftCardTaxable, true + return &o.NotStateCodeRegex, true } -// HasGiftCardTaxable returns a boolean if a field has been set. -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasGiftCardTaxable() bool { - if o != nil && IsNil(o.GiftCardTaxable) { +// HasNotStateCodeRegex returns a boolean if a field has been set. +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasNotStateCodeRegex() bool { + if o != nil && IsNil(o.NotStateCodeRegex) { return true } return false } -// SetGiftCardTaxable gets a reference to the given interface{} and assigns it to the GiftCardTaxable field. -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetGiftCardTaxable(v interface{}) { - o.GiftCardTaxable = v +// SetNotStateCodeRegex gets a reference to the given interface{} and assigns it to the NotStateCodeRegex field. +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetNotStateCodeRegex(v interface{}) { + o.NotStateCodeRegex = v } -// GetAdjustmentTaxable returns the AdjustmentTaxable field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetAdjustmentTaxable() interface{} { +// GetZipCodeRegex returns the ZipCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetZipCodeRegex() interface{} { if o == nil { var ret interface{} return ret } - return o.AdjustmentTaxable + return o.ZipCodeRegex } -// GetAdjustmentTaxableOk returns a tuple with the AdjustmentTaxable field value if set, nil otherwise +// GetZipCodeRegexOk returns a tuple with the ZipCodeRegex field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetAdjustmentTaxableOk() (*interface{}, bool) { - if o == nil || IsNil(o.AdjustmentTaxable) { +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetZipCodeRegexOk() (*interface{}, bool) { + if o == nil || IsNil(o.ZipCodeRegex) { return nil, false } - return &o.AdjustmentTaxable, true + return &o.ZipCodeRegex, true } -// HasAdjustmentTaxable returns a boolean if a field has been set. -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasAdjustmentTaxable() bool { - if o != nil && IsNil(o.AdjustmentTaxable) { +// HasZipCodeRegex returns a boolean if a field has been set. +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasZipCodeRegex() bool { + if o != nil && IsNil(o.ZipCodeRegex) { return true } return false } -// SetAdjustmentTaxable gets a reference to the given interface{} and assigns it to the AdjustmentTaxable field. -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetAdjustmentTaxable(v interface{}) { - o.AdjustmentTaxable = v +// SetZipCodeRegex gets a reference to the given interface{} and assigns it to the ZipCodeRegex field. +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetZipCodeRegex(v interface{}) { + o.ZipCodeRegex = v } -// GetBreakdown returns the Breakdown field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetBreakdown() interface{} { +// GetNotZipCodeRegex returns the NotZipCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetNotZipCodeRegex() interface{} { if o == nil { var ret interface{} return ret } - return o.Breakdown + return o.NotZipCodeRegex } -// GetBreakdownOk returns a tuple with the Breakdown field value if set, nil otherwise +// GetNotZipCodeRegexOk returns a tuple with the NotZipCodeRegex field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetBreakdownOk() (*interface{}, bool) { - if o == nil || IsNil(o.Breakdown) { +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) GetNotZipCodeRegexOk() (*interface{}, bool) { + if o == nil || IsNil(o.NotZipCodeRegex) { return nil, false } - return &o.Breakdown, true + return &o.NotZipCodeRegex, true } -// HasBreakdown returns a boolean if a field has been set. -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasBreakdown() bool { - if o != nil && IsNil(o.Breakdown) { +// HasNotZipCodeRegex returns a boolean if a field has been set. +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) HasNotZipCodeRegex() bool { + if o != nil && IsNil(o.NotZipCodeRegex) { return true } return false } -// SetBreakdown gets a reference to the given interface{} and assigns it to the Breakdown field. -func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetBreakdown(v interface{}) { - o.Breakdown = v +// SetNotZipCodeRegex gets a reference to the given interface{} and assigns it to the NotZipCodeRegex field. +func (o *GETTaxRulesTaxRuleId200ResponseDataAttributes) SetNotZipCodeRegex(v interface{}) { + o.NotZipCodeRegex = v } // GetCreatedAt returns the CreatedAt field value if set, zero value otherwise (both if not set or set to explicit null). @@ -685,6 +685,21 @@ func (o GETTaxRulesTaxRuleId200ResponseDataAttributes) ToMap() (map[string]inter if o.TaxRate != nil { toSerialize["tax_rate"] = o.TaxRate } + if o.FreightTaxable != nil { + toSerialize["freight_taxable"] = o.FreightTaxable + } + if o.PaymentMethodTaxable != nil { + toSerialize["payment_method_taxable"] = o.PaymentMethodTaxable + } + if o.GiftCardTaxable != nil { + toSerialize["gift_card_taxable"] = o.GiftCardTaxable + } + if o.AdjustmentTaxable != nil { + toSerialize["adjustment_taxable"] = o.AdjustmentTaxable + } + if o.Breakdown != nil { + toSerialize["breakdown"] = o.Breakdown + } if o.CountryCodeRegex != nil { toSerialize["country_code_regex"] = o.CountryCodeRegex } @@ -703,21 +718,6 @@ func (o GETTaxRulesTaxRuleId200ResponseDataAttributes) ToMap() (map[string]inter if o.NotZipCodeRegex != nil { toSerialize["not_zip_code_regex"] = o.NotZipCodeRegex } - if o.FreightTaxable != nil { - toSerialize["freight_taxable"] = o.FreightTaxable - } - if o.PaymentMethodTaxable != nil { - toSerialize["payment_method_taxable"] = o.PaymentMethodTaxable - } - if o.GiftCardTaxable != nil { - toSerialize["gift_card_taxable"] = o.GiftCardTaxable - } - if o.AdjustmentTaxable != nil { - toSerialize["adjustment_taxable"] = o.AdjustmentTaxable - } - if o.Breakdown != nil { - toSerialize["breakdown"] = o.Breakdown - } if o.CreatedAt != nil { toSerialize["created_at"] = o.CreatedAt } diff --git a/api/model_get_taxjar_accounts_200_response.go b/api/model_get_taxjar_accounts_200_response.go index dc7025238..110fb1c97 100644 --- a/api/model_get_taxjar_accounts_200_response.go +++ b/api/model_get_taxjar_accounts_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_taxjar_accounts_taxjar_account_id_200_response.go b/api/model_get_taxjar_accounts_taxjar_account_id_200_response.go index 361ff6c4e..1879193ea 100644 --- a/api/model_get_taxjar_accounts_taxjar_account_id_200_response.go +++ b/api/model_get_taxjar_accounts_taxjar_account_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_taxjar_accounts_taxjar_account_id_200_response_data.go b/api/model_get_taxjar_accounts_taxjar_account_id_200_response_data.go index 731ee51ed..7b1b87588 100644 --- a/api/model_get_taxjar_accounts_taxjar_account_id_200_response_data.go +++ b/api/model_get_taxjar_accounts_taxjar_account_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_transactions_200_response.go b/api/model_get_transactions_200_response.go index f5510e0a7..cebfd1e84 100644 --- a/api/model_get_transactions_200_response.go +++ b/api/model_get_transactions_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_transactions_transaction_id_200_response.go b/api/model_get_transactions_transaction_id_200_response.go index 3b0afb3ea..751c1e418 100644 --- a/api/model_get_transactions_transaction_id_200_response.go +++ b/api/model_get_transactions_transaction_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_transactions_transaction_id_200_response_data.go b/api/model_get_transactions_transaction_id_200_response_data.go index 4f670b2f4..6b78d9082 100644 --- a/api/model_get_transactions_transaction_id_200_response_data.go +++ b/api/model_get_transactions_transaction_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_transactions_transaction_id_200_response_data_relationships.go b/api/model_get_transactions_transaction_id_200_response_data_relationships.go index 9a41d126e..f29574596 100644 --- a/api/model_get_transactions_transaction_id_200_response_data_relationships.go +++ b/api/model_get_transactions_transaction_id_200_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,10 +20,11 @@ var _ MappedNullable = &GETTransactionsTransactionId200ResponseDataRelationships // GETTransactionsTransactionId200ResponseDataRelationships struct for GETTransactionsTransactionId200ResponseDataRelationships type GETTransactionsTransactionId200ResponseDataRelationships struct { - Order *POSTAdyenPayments201ResponseDataRelationshipsOrder `json:"order,omitempty"` - Attachments *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments `json:"attachments,omitempty"` - Events *POSTAddresses201ResponseDataRelationshipsEvents `json:"events,omitempty"` - Versions *POSTAddresses201ResponseDataRelationshipsVersions `json:"versions,omitempty"` + Order *POSTAdyenPayments201ResponseDataRelationshipsOrder `json:"order,omitempty"` + PaymentSource *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource `json:"payment_source,omitempty"` + Attachments *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments `json:"attachments,omitempty"` + Events *POSTAddresses201ResponseDataRelationshipsEvents `json:"events,omitempty"` + Versions *POSTAddresses201ResponseDataRelationshipsVersions `json:"versions,omitempty"` } // NewGETTransactionsTransactionId200ResponseDataRelationships instantiates a new GETTransactionsTransactionId200ResponseDataRelationships object @@ -75,6 +76,38 @@ func (o *GETTransactionsTransactionId200ResponseDataRelationships) SetOrder(v PO o.Order = &v } +// GetPaymentSource returns the PaymentSource field value if set, zero value otherwise. +func (o *GETTransactionsTransactionId200ResponseDataRelationships) GetPaymentSource() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource { + if o == nil || IsNil(o.PaymentSource) { + var ret GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource + return ret + } + return *o.PaymentSource +} + +// GetPaymentSourceOk returns a tuple with the PaymentSource field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GETTransactionsTransactionId200ResponseDataRelationships) GetPaymentSourceOk() (*GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource, bool) { + if o == nil || IsNil(o.PaymentSource) { + return nil, false + } + return o.PaymentSource, true +} + +// HasPaymentSource returns a boolean if a field has been set. +func (o *GETTransactionsTransactionId200ResponseDataRelationships) HasPaymentSource() bool { + if o != nil && !IsNil(o.PaymentSource) { + return true + } + + return false +} + +// SetPaymentSource gets a reference to the given GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource and assigns it to the PaymentSource field. +func (o *GETTransactionsTransactionId200ResponseDataRelationships) SetPaymentSource(v GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) { + o.PaymentSource = &v +} + // GetAttachments returns the Attachments field value if set, zero value otherwise. func (o *GETTransactionsTransactionId200ResponseDataRelationships) GetAttachments() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments { if o == nil || IsNil(o.Attachments) { @@ -184,6 +217,9 @@ func (o GETTransactionsTransactionId200ResponseDataRelationships) ToMap() (map[s if !IsNil(o.Order) { toSerialize["order"] = o.Order } + if !IsNil(o.PaymentSource) { + toSerialize["payment_source"] = o.PaymentSource + } if !IsNil(o.Attachments) { toSerialize["attachments"] = o.Attachments } diff --git a/api/model_get_versions_200_response.go b/api/model_get_versions_200_response.go index 44a43b4fa..b60f53cde 100644 --- a/api/model_get_versions_200_response.go +++ b/api/model_get_versions_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_versions_version_id_200_response.go b/api/model_get_versions_version_id_200_response.go index f2b902881..433c3f803 100644 --- a/api/model_get_versions_version_id_200_response.go +++ b/api/model_get_versions_version_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_versions_version_id_200_response_data.go b/api/model_get_versions_version_id_200_response_data.go index 10f215fce..59fd7a1ac 100644 --- a/api/model_get_versions_version_id_200_response_data.go +++ b/api/model_get_versions_version_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_versions_version_id_200_response_data_attributes.go b/api/model_get_versions_version_id_200_response_data_attributes.go index 84d74ba48..1035894e5 100644 --- a/api/model_get_versions_version_id_200_response_data_attributes.go +++ b/api/model_get_versions_version_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_voids_200_response.go b/api/model_get_voids_200_response.go index 31eb54ceb..3ef2f35e9 100644 --- a/api/model_get_voids_200_response.go +++ b/api/model_get_voids_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_voids_void_id_200_response.go b/api/model_get_voids_void_id_200_response.go index d40cc23da..f48b27b9c 100644 --- a/api/model_get_voids_void_id_200_response.go +++ b/api/model_get_voids_void_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_voids_void_id_200_response_data.go b/api/model_get_voids_void_id_200_response_data.go index 0e611569c..d50dcb9f0 100644 --- a/api/model_get_voids_void_id_200_response_data.go +++ b/api/model_get_voids_void_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_voids_void_id_200_response_data_relationships.go b/api/model_get_voids_void_id_200_response_data_relationships.go index ddf5b52d9..f5f02a250 100644 --- a/api/model_get_voids_void_id_200_response_data_relationships.go +++ b/api/model_get_voids_void_id_200_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,11 +20,12 @@ var _ MappedNullable = &GETVoidsVoidId200ResponseDataRelationships{} // GETVoidsVoidId200ResponseDataRelationships struct for GETVoidsVoidId200ResponseDataRelationships type GETVoidsVoidId200ResponseDataRelationships struct { - Order *POSTAdyenPayments201ResponseDataRelationshipsOrder `json:"order,omitempty"` - Attachments *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments `json:"attachments,omitempty"` - Events *POSTAddresses201ResponseDataRelationshipsEvents `json:"events,omitempty"` - Versions *POSTAddresses201ResponseDataRelationshipsVersions `json:"versions,omitempty"` - ReferenceAuthorization *GETCapturesCaptureId200ResponseDataRelationshipsReferenceAuthorization `json:"reference_authorization,omitempty"` + Order *POSTAdyenPayments201ResponseDataRelationshipsOrder `json:"order,omitempty"` + PaymentSource *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource `json:"payment_source,omitempty"` + Attachments *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments `json:"attachments,omitempty"` + Events *POSTAddresses201ResponseDataRelationshipsEvents `json:"events,omitempty"` + Versions *POSTAddresses201ResponseDataRelationshipsVersions `json:"versions,omitempty"` + ReferenceAuthorization *GETCapturesCaptureId200ResponseDataRelationshipsReferenceAuthorization `json:"reference_authorization,omitempty"` } // NewGETVoidsVoidId200ResponseDataRelationships instantiates a new GETVoidsVoidId200ResponseDataRelationships object @@ -76,6 +77,38 @@ func (o *GETVoidsVoidId200ResponseDataRelationships) SetOrder(v POSTAdyenPayment o.Order = &v } +// GetPaymentSource returns the PaymentSource field value if set, zero value otherwise. +func (o *GETVoidsVoidId200ResponseDataRelationships) GetPaymentSource() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource { + if o == nil || IsNil(o.PaymentSource) { + var ret GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource + return ret + } + return *o.PaymentSource +} + +// GetPaymentSourceOk returns a tuple with the PaymentSource field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GETVoidsVoidId200ResponseDataRelationships) GetPaymentSourceOk() (*GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource, bool) { + if o == nil || IsNil(o.PaymentSource) { + return nil, false + } + return o.PaymentSource, true +} + +// HasPaymentSource returns a boolean if a field has been set. +func (o *GETVoidsVoidId200ResponseDataRelationships) HasPaymentSource() bool { + if o != nil && !IsNil(o.PaymentSource) { + return true + } + + return false +} + +// SetPaymentSource gets a reference to the given GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource and assigns it to the PaymentSource field. +func (o *GETVoidsVoidId200ResponseDataRelationships) SetPaymentSource(v GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) { + o.PaymentSource = &v +} + // GetAttachments returns the Attachments field value if set, zero value otherwise. func (o *GETVoidsVoidId200ResponseDataRelationships) GetAttachments() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments { if o == nil || IsNil(o.Attachments) { @@ -217,6 +250,9 @@ func (o GETVoidsVoidId200ResponseDataRelationships) ToMap() (map[string]interfac if !IsNil(o.Order) { toSerialize["order"] = o.Order } + if !IsNil(o.PaymentSource) { + toSerialize["payment_source"] = o.PaymentSource + } if !IsNil(o.Attachments) { toSerialize["attachments"] = o.Attachments } diff --git a/api/model_get_webhooks_200_response.go b/api/model_get_webhooks_200_response.go index c94707a91..f0c9690fc 100644 --- a/api/model_get_webhooks_200_response.go +++ b/api/model_get_webhooks_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_webhooks_webhook_id_200_response.go b/api/model_get_webhooks_webhook_id_200_response.go index 84eaf3e62..e74e15b41 100644 --- a/api/model_get_webhooks_webhook_id_200_response.go +++ b/api/model_get_webhooks_webhook_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_webhooks_webhook_id_200_response_data.go b/api/model_get_webhooks_webhook_id_200_response_data.go index aff20d851..9cd498056 100644 --- a/api/model_get_webhooks_webhook_id_200_response_data.go +++ b/api/model_get_webhooks_webhook_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_webhooks_webhook_id_200_response_data_attributes.go b/api/model_get_webhooks_webhook_id_200_response_data_attributes.go index 8fd84cfa1..38bfe1f71 100644 --- a/api/model_get_webhooks_webhook_id_200_response_data_attributes.go +++ b/api/model_get_webhooks_webhook_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_wire_transfers_200_response.go b/api/model_get_wire_transfers_200_response.go index 2edcf793e..da36cfcf2 100644 --- a/api/model_get_wire_transfers_200_response.go +++ b/api/model_get_wire_transfers_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_wire_transfers_wire_transfer_id_200_response.go b/api/model_get_wire_transfers_wire_transfer_id_200_response.go index 9c5e80388..02c9671a7 100644 --- a/api/model_get_wire_transfers_wire_transfer_id_200_response.go +++ b/api/model_get_wire_transfers_wire_transfer_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_wire_transfers_wire_transfer_id_200_response_data.go b/api/model_get_wire_transfers_wire_transfer_id_200_response_data.go index 0f3d4d81f..4c6cb71d6 100644 --- a/api/model_get_wire_transfers_wire_transfer_id_200_response_data.go +++ b/api/model_get_wire_transfers_wire_transfer_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_get_wire_transfers_wire_transfer_id_200_response_data_attributes.go b/api/model_get_wire_transfers_wire_transfer_id_200_response_data_attributes.go index 8890c2427..0003ead12 100644 --- a/api/model_get_wire_transfers_wire_transfer_id_200_response_data_attributes.go +++ b/api/model_get_wire_transfers_wire_transfer_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_gift_card.go b/api/model_gift_card.go index 6d6209603..1309b457c 100644 --- a/api/model_gift_card.go +++ b/api/model_gift_card.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_gift_card_create.go b/api/model_gift_card_create.go index e85f185bc..eef8f8b22 100644 --- a/api/model_gift_card_create.go +++ b/api/model_gift_card_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_gift_card_create_data.go b/api/model_gift_card_create_data.go index 835058776..b4c8a9578 100644 --- a/api/model_gift_card_create_data.go +++ b/api/model_gift_card_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_gift_card_create_data_relationships.go b/api/model_gift_card_create_data_relationships.go index a4aa78d2a..716b1f048 100644 --- a/api/model_gift_card_create_data_relationships.go +++ b/api/model_gift_card_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,9 +20,9 @@ var _ MappedNullable = &GiftCardCreateDataRelationships{} // GiftCardCreateDataRelationships struct for GiftCardCreateDataRelationships type GiftCardCreateDataRelationships struct { - Market *BillingInfoValidationRuleCreateDataRelationshipsMarket `json:"market,omitempty"` - GiftCardRecipient *GiftCardCreateDataRelationshipsGiftCardRecipient `json:"gift_card_recipient,omitempty"` - Tags *AddressCreateDataRelationshipsTags `json:"tags,omitempty"` + Market *BundleCreateDataRelationshipsMarket `json:"market,omitempty"` + GiftCardRecipient *GiftCardCreateDataRelationshipsGiftCardRecipient `json:"gift_card_recipient,omitempty"` + Tags *AddressCreateDataRelationshipsTags `json:"tags,omitempty"` } // NewGiftCardCreateDataRelationships instantiates a new GiftCardCreateDataRelationships object @@ -43,9 +43,9 @@ func NewGiftCardCreateDataRelationshipsWithDefaults() *GiftCardCreateDataRelatio } // GetMarket returns the Market field value if set, zero value otherwise. -func (o *GiftCardCreateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket { +func (o *GiftCardCreateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket { if o == nil || IsNil(o.Market) { - var ret BillingInfoValidationRuleCreateDataRelationshipsMarket + var ret BundleCreateDataRelationshipsMarket return ret } return *o.Market @@ -53,7 +53,7 @@ func (o *GiftCardCreateDataRelationships) GetMarket() BillingInfoValidationRuleC // GetMarketOk returns a tuple with the Market field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *GiftCardCreateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool) { +func (o *GiftCardCreateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool) { if o == nil || IsNil(o.Market) { return nil, false } @@ -69,8 +69,8 @@ func (o *GiftCardCreateDataRelationships) HasMarket() bool { return false } -// SetMarket gets a reference to the given BillingInfoValidationRuleCreateDataRelationshipsMarket and assigns it to the Market field. -func (o *GiftCardCreateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket) { +// SetMarket gets a reference to the given BundleCreateDataRelationshipsMarket and assigns it to the Market field. +func (o *GiftCardCreateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket) { o.Market = &v } diff --git a/api/model_gift_card_create_data_relationships_gift_card_recipient.go b/api/model_gift_card_create_data_relationships_gift_card_recipient.go index 840d8bc1d..9b40d1d71 100644 --- a/api/model_gift_card_create_data_relationships_gift_card_recipient.go +++ b/api/model_gift_card_create_data_relationships_gift_card_recipient.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_gift_card_data.go b/api/model_gift_card_data.go index a76742eb5..b2d829aad 100644 --- a/api/model_gift_card_data.go +++ b/api/model_gift_card_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_gift_card_data_relationships.go b/api/model_gift_card_data_relationships.go index 1a5234aef..bf23fc80f 100644 --- a/api/model_gift_card_data_relationships.go +++ b/api/model_gift_card_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_gift_card_data_relationships_gift_card_recipient.go b/api/model_gift_card_data_relationships_gift_card_recipient.go index dd743f92a..e58bde55f 100644 --- a/api/model_gift_card_data_relationships_gift_card_recipient.go +++ b/api/model_gift_card_data_relationships_gift_card_recipient.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_gift_card_data_relationships_gift_card_recipient_data.go b/api/model_gift_card_data_relationships_gift_card_recipient_data.go index a5ff42548..3bbf8e125 100644 --- a/api/model_gift_card_data_relationships_gift_card_recipient_data.go +++ b/api/model_gift_card_data_relationships_gift_card_recipient_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_gift_card_recipient.go b/api/model_gift_card_recipient.go index 84f4f7e82..c93adf354 100644 --- a/api/model_gift_card_recipient.go +++ b/api/model_gift_card_recipient.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_gift_card_recipient_create.go b/api/model_gift_card_recipient_create.go index 05665c61b..48df02139 100644 --- a/api/model_gift_card_recipient_create.go +++ b/api/model_gift_card_recipient_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_gift_card_recipient_create_data.go b/api/model_gift_card_recipient_create_data.go index 3e06cba41..6f3014789 100644 --- a/api/model_gift_card_recipient_create_data.go +++ b/api/model_gift_card_recipient_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_gift_card_recipient_data.go b/api/model_gift_card_recipient_data.go index fb8c3ed38..ca457f7bc 100644 --- a/api/model_gift_card_recipient_data.go +++ b/api/model_gift_card_recipient_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_gift_card_recipient_update.go b/api/model_gift_card_recipient_update.go index ed424e733..63008f135 100644 --- a/api/model_gift_card_recipient_update.go +++ b/api/model_gift_card_recipient_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_gift_card_recipient_update_data.go b/api/model_gift_card_recipient_update_data.go index dde1a6ded..b173976ee 100644 --- a/api/model_gift_card_recipient_update_data.go +++ b/api/model_gift_card_recipient_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_gift_card_update.go b/api/model_gift_card_update.go index d532ca53a..32fe00cc3 100644 --- a/api/model_gift_card_update.go +++ b/api/model_gift_card_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_gift_card_update_data.go b/api/model_gift_card_update_data.go index cd34d34b9..c4d99e8fb 100644 --- a/api/model_gift_card_update_data.go +++ b/api/model_gift_card_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_google_geocoder.go b/api/model_google_geocoder.go index 7a08d7a63..b7a1ec253 100644 --- a/api/model_google_geocoder.go +++ b/api/model_google_geocoder.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_google_geocoder_create.go b/api/model_google_geocoder_create.go index 231afc426..e53fdd266 100644 --- a/api/model_google_geocoder_create.go +++ b/api/model_google_geocoder_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_google_geocoder_create_data.go b/api/model_google_geocoder_create_data.go index d0aa4d64a..db60a199a 100644 --- a/api/model_google_geocoder_create_data.go +++ b/api/model_google_geocoder_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_google_geocoder_data.go b/api/model_google_geocoder_data.go index bf2f15e3a..b8f993084 100644 --- a/api/model_google_geocoder_data.go +++ b/api/model_google_geocoder_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_google_geocoder_update.go b/api/model_google_geocoder_update.go index 5626ea832..2482911e9 100644 --- a/api/model_google_geocoder_update.go +++ b/api/model_google_geocoder_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_google_geocoder_update_data.go b/api/model_google_geocoder_update_data.go index bc0e10b4d..f97933b97 100644 --- a/api/model_google_geocoder_update_data.go +++ b/api/model_google_geocoder_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_import.go b/api/model_import.go index 8093fe03b..d4e67c83b 100644 --- a/api/model_import.go +++ b/api/model_import.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_import_create.go b/api/model_import_create.go index 0d7ec0d21..70860e37b 100644 --- a/api/model_import_create.go +++ b/api/model_import_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_import_create_data.go b/api/model_import_create_data.go index 9088368e8..076e0bd79 100644 --- a/api/model_import_create_data.go +++ b/api/model_import_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_import_data.go b/api/model_import_data.go index 9d116e7f4..aeffc00f6 100644 --- a/api/model_import_data.go +++ b/api/model_import_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_import_update.go b/api/model_import_update.go index 01ac80c34..f206ee062 100644 --- a/api/model_import_update.go +++ b/api/model_import_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_import_update_data.go b/api/model_import_update_data.go index eb1a76db9..4904fa98a 100644 --- a/api/model_import_update_data.go +++ b/api/model_import_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -23,16 +23,16 @@ type ImportUpdateData struct { // The resource's type Type interface{} `json:"type"` // The resource's id - Id interface{} `json:"id"` - Attributes PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes `json:"attributes"` - Relationships interface{} `json:"relationships,omitempty"` + Id interface{} `json:"id"` + Attributes PATCHCleanupsCleanupId200ResponseDataAttributes `json:"attributes"` + Relationships interface{} `json:"relationships,omitempty"` } // NewImportUpdateData instantiates a new ImportUpdateData object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewImportUpdateData(type_ interface{}, id interface{}, attributes PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) *ImportUpdateData { +func NewImportUpdateData(type_ interface{}, id interface{}, attributes PATCHCleanupsCleanupId200ResponseDataAttributes) *ImportUpdateData { this := ImportUpdateData{} this.Type = type_ this.Id = id @@ -101,9 +101,9 @@ func (o *ImportUpdateData) SetId(v interface{}) { } // GetAttributes returns the Attributes field value -func (o *ImportUpdateData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes { +func (o *ImportUpdateData) GetAttributes() PATCHCleanupsCleanupId200ResponseDataAttributes { if o == nil { - var ret PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes + var ret PATCHCleanupsCleanupId200ResponseDataAttributes return ret } @@ -112,7 +112,7 @@ func (o *ImportUpdateData) GetAttributes() PATCHBillingInfoValidationRulesBillin // GetAttributesOk returns a tuple with the Attributes field value // and a boolean to check if the value has been set. -func (o *ImportUpdateData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool) { +func (o *ImportUpdateData) GetAttributesOk() (*PATCHCleanupsCleanupId200ResponseDataAttributes, bool) { if o == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *ImportUpdateData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBi } // SetAttributes sets field value -func (o *ImportUpdateData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) { +func (o *ImportUpdateData) SetAttributes(v PATCHCleanupsCleanupId200ResponseDataAttributes) { o.Attributes = v } diff --git a/api/model_in_stock_subscription.go b/api/model_in_stock_subscription.go index 0adf7cc5b..c6547bc52 100644 --- a/api/model_in_stock_subscription.go +++ b/api/model_in_stock_subscription.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_in_stock_subscription_create.go b/api/model_in_stock_subscription_create.go index de29970ca..e462d9939 100644 --- a/api/model_in_stock_subscription_create.go +++ b/api/model_in_stock_subscription_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_in_stock_subscription_create_data.go b/api/model_in_stock_subscription_create_data.go index 4eb835fc8..3889b0b38 100644 --- a/api/model_in_stock_subscription_create_data.go +++ b/api/model_in_stock_subscription_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_in_stock_subscription_create_data_relationships.go b/api/model_in_stock_subscription_create_data_relationships.go index 559ba04a9..c992498e3 100644 --- a/api/model_in_stock_subscription_create_data_relationships.go +++ b/api/model_in_stock_subscription_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,16 +20,16 @@ var _ MappedNullable = &InStockSubscriptionCreateDataRelationships{} // InStockSubscriptionCreateDataRelationships struct for InStockSubscriptionCreateDataRelationships type InStockSubscriptionCreateDataRelationships struct { - Market BillingInfoValidationRuleCreateDataRelationshipsMarket `json:"market"` - Customer CouponRecipientCreateDataRelationshipsCustomer `json:"customer"` - Sku InStockSubscriptionCreateDataRelationshipsSku `json:"sku"` + Market BundleCreateDataRelationshipsMarket `json:"market"` + Customer CouponRecipientCreateDataRelationshipsCustomer `json:"customer"` + Sku InStockSubscriptionCreateDataRelationshipsSku `json:"sku"` } // NewInStockSubscriptionCreateDataRelationships instantiates a new InStockSubscriptionCreateDataRelationships object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInStockSubscriptionCreateDataRelationships(market BillingInfoValidationRuleCreateDataRelationshipsMarket, customer CouponRecipientCreateDataRelationshipsCustomer, sku InStockSubscriptionCreateDataRelationshipsSku) *InStockSubscriptionCreateDataRelationships { +func NewInStockSubscriptionCreateDataRelationships(market BundleCreateDataRelationshipsMarket, customer CouponRecipientCreateDataRelationshipsCustomer, sku InStockSubscriptionCreateDataRelationshipsSku) *InStockSubscriptionCreateDataRelationships { this := InStockSubscriptionCreateDataRelationships{} this.Market = market this.Customer = customer @@ -46,9 +46,9 @@ func NewInStockSubscriptionCreateDataRelationshipsWithDefaults() *InStockSubscri } // GetMarket returns the Market field value -func (o *InStockSubscriptionCreateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket { +func (o *InStockSubscriptionCreateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket { if o == nil { - var ret BillingInfoValidationRuleCreateDataRelationshipsMarket + var ret BundleCreateDataRelationshipsMarket return ret } @@ -57,7 +57,7 @@ func (o *InStockSubscriptionCreateDataRelationships) GetMarket() BillingInfoVali // GetMarketOk returns a tuple with the Market field value // and a boolean to check if the value has been set. -func (o *InStockSubscriptionCreateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool) { +func (o *InStockSubscriptionCreateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool) { if o == nil { return nil, false } @@ -65,7 +65,7 @@ func (o *InStockSubscriptionCreateDataRelationships) GetMarketOk() (*BillingInfo } // SetMarket sets field value -func (o *InStockSubscriptionCreateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket) { +func (o *InStockSubscriptionCreateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket) { o.Market = v } diff --git a/api/model_in_stock_subscription_create_data_relationships_sku.go b/api/model_in_stock_subscription_create_data_relationships_sku.go index 0fa9296e4..daa227134 100644 --- a/api/model_in_stock_subscription_create_data_relationships_sku.go +++ b/api/model_in_stock_subscription_create_data_relationships_sku.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_in_stock_subscription_data.go b/api/model_in_stock_subscription_data.go index 257d85dd1..7e175f524 100644 --- a/api/model_in_stock_subscription_data.go +++ b/api/model_in_stock_subscription_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_in_stock_subscription_data_relationships.go b/api/model_in_stock_subscription_data_relationships.go index 838a387fa..3990f6522 100644 --- a/api/model_in_stock_subscription_data_relationships.go +++ b/api/model_in_stock_subscription_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_in_stock_subscription_update.go b/api/model_in_stock_subscription_update.go index 5b926ec03..c43617fb4 100644 --- a/api/model_in_stock_subscription_update.go +++ b/api/model_in_stock_subscription_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_in_stock_subscription_update_data.go b/api/model_in_stock_subscription_update_data.go index 8bcb4772d..421de9965 100644 --- a/api/model_in_stock_subscription_update_data.go +++ b/api/model_in_stock_subscription_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_in_stock_subscription_update_data_relationships.go b/api/model_in_stock_subscription_update_data_relationships.go index 64291c20f..fde1fbf9a 100644 --- a/api/model_in_stock_subscription_update_data_relationships.go +++ b/api/model_in_stock_subscription_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,9 +20,9 @@ var _ MappedNullable = &InStockSubscriptionUpdateDataRelationships{} // InStockSubscriptionUpdateDataRelationships struct for InStockSubscriptionUpdateDataRelationships type InStockSubscriptionUpdateDataRelationships struct { - Market *BillingInfoValidationRuleCreateDataRelationshipsMarket `json:"market,omitempty"` - Customer *CouponRecipientCreateDataRelationshipsCustomer `json:"customer,omitempty"` - Sku *InStockSubscriptionCreateDataRelationshipsSku `json:"sku,omitempty"` + Market *BundleCreateDataRelationshipsMarket `json:"market,omitempty"` + Customer *CouponRecipientCreateDataRelationshipsCustomer `json:"customer,omitempty"` + Sku *InStockSubscriptionCreateDataRelationshipsSku `json:"sku,omitempty"` } // NewInStockSubscriptionUpdateDataRelationships instantiates a new InStockSubscriptionUpdateDataRelationships object @@ -43,9 +43,9 @@ func NewInStockSubscriptionUpdateDataRelationshipsWithDefaults() *InStockSubscri } // GetMarket returns the Market field value if set, zero value otherwise. -func (o *InStockSubscriptionUpdateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket { +func (o *InStockSubscriptionUpdateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket { if o == nil || IsNil(o.Market) { - var ret BillingInfoValidationRuleCreateDataRelationshipsMarket + var ret BundleCreateDataRelationshipsMarket return ret } return *o.Market @@ -53,7 +53,7 @@ func (o *InStockSubscriptionUpdateDataRelationships) GetMarket() BillingInfoVali // GetMarketOk returns a tuple with the Market field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *InStockSubscriptionUpdateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool) { +func (o *InStockSubscriptionUpdateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool) { if o == nil || IsNil(o.Market) { return nil, false } @@ -69,8 +69,8 @@ func (o *InStockSubscriptionUpdateDataRelationships) HasMarket() bool { return false } -// SetMarket gets a reference to the given BillingInfoValidationRuleCreateDataRelationshipsMarket and assigns it to the Market field. -func (o *InStockSubscriptionUpdateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket) { +// SetMarket gets a reference to the given BundleCreateDataRelationshipsMarket and assigns it to the Market field. +func (o *InStockSubscriptionUpdateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket) { o.Market = &v } diff --git a/api/model_inventory_model.go b/api/model_inventory_model.go index 552664147..d6dc63bfb 100644 --- a/api/model_inventory_model.go +++ b/api/model_inventory_model.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_inventory_model_create.go b/api/model_inventory_model_create.go index 343763aea..09e4ccf43 100644 --- a/api/model_inventory_model_create.go +++ b/api/model_inventory_model_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_inventory_model_create_data.go b/api/model_inventory_model_create_data.go index f82d49b16..44299bbea 100644 --- a/api/model_inventory_model_create_data.go +++ b/api/model_inventory_model_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_inventory_model_data.go b/api/model_inventory_model_data.go index 2326f6ff9..319fac00a 100644 --- a/api/model_inventory_model_data.go +++ b/api/model_inventory_model_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_inventory_model_data_relationships.go b/api/model_inventory_model_data_relationships.go index 1bf469481..d54fbd357 100644 --- a/api/model_inventory_model_data_relationships.go +++ b/api/model_inventory_model_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_inventory_model_data_relationships_inventory_return_locations.go b/api/model_inventory_model_data_relationships_inventory_return_locations.go index 8233a20b1..d80c573d7 100644 --- a/api/model_inventory_model_data_relationships_inventory_return_locations.go +++ b/api/model_inventory_model_data_relationships_inventory_return_locations.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_inventory_model_data_relationships_inventory_return_locations_data.go b/api/model_inventory_model_data_relationships_inventory_return_locations_data.go index ef5e71854..c655445c3 100644 --- a/api/model_inventory_model_data_relationships_inventory_return_locations_data.go +++ b/api/model_inventory_model_data_relationships_inventory_return_locations_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_inventory_model_data_relationships_inventory_stock_locations.go b/api/model_inventory_model_data_relationships_inventory_stock_locations.go index 776ec74d9..14d548ac3 100644 --- a/api/model_inventory_model_data_relationships_inventory_stock_locations.go +++ b/api/model_inventory_model_data_relationships_inventory_stock_locations.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_inventory_model_data_relationships_inventory_stock_locations_data.go b/api/model_inventory_model_data_relationships_inventory_stock_locations_data.go index f4c3625c6..93f22c3d8 100644 --- a/api/model_inventory_model_data_relationships_inventory_stock_locations_data.go +++ b/api/model_inventory_model_data_relationships_inventory_stock_locations_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_inventory_model_update.go b/api/model_inventory_model_update.go index 409553b3a..f8e634c88 100644 --- a/api/model_inventory_model_update.go +++ b/api/model_inventory_model_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_inventory_model_update_data.go b/api/model_inventory_model_update_data.go index d36b22a9a..b8853ca62 100644 --- a/api/model_inventory_model_update_data.go +++ b/api/model_inventory_model_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_inventory_return_location.go b/api/model_inventory_return_location.go index 7331fb4c8..7d036fa36 100644 --- a/api/model_inventory_return_location.go +++ b/api/model_inventory_return_location.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_inventory_return_location_create.go b/api/model_inventory_return_location_create.go index ae418dcb0..955679d72 100644 --- a/api/model_inventory_return_location_create.go +++ b/api/model_inventory_return_location_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_inventory_return_location_create_data.go b/api/model_inventory_return_location_create_data.go index 3843c22a0..2c49ecaf5 100644 --- a/api/model_inventory_return_location_create_data.go +++ b/api/model_inventory_return_location_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_inventory_return_location_create_data_relationships.go b/api/model_inventory_return_location_create_data_relationships.go index 6e31982ac..b2e0fd83c 100644 --- a/api/model_inventory_return_location_create_data_relationships.go +++ b/api/model_inventory_return_location_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_inventory_return_location_create_data_relationships_inventory_model.go b/api/model_inventory_return_location_create_data_relationships_inventory_model.go index cc53d2590..5ecc142df 100644 --- a/api/model_inventory_return_location_create_data_relationships_inventory_model.go +++ b/api/model_inventory_return_location_create_data_relationships_inventory_model.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_inventory_return_location_data.go b/api/model_inventory_return_location_data.go index 4466aec7a..3f7f99f88 100644 --- a/api/model_inventory_return_location_data.go +++ b/api/model_inventory_return_location_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_inventory_return_location_data_relationships.go b/api/model_inventory_return_location_data_relationships.go index c49325728..0fff31f46 100644 --- a/api/model_inventory_return_location_data_relationships.go +++ b/api/model_inventory_return_location_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_inventory_return_location_data_relationships_inventory_model.go b/api/model_inventory_return_location_data_relationships_inventory_model.go index 28f6d11f5..c0382780c 100644 --- a/api/model_inventory_return_location_data_relationships_inventory_model.go +++ b/api/model_inventory_return_location_data_relationships_inventory_model.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_inventory_return_location_data_relationships_inventory_model_data.go b/api/model_inventory_return_location_data_relationships_inventory_model_data.go index 5aa657b3c..39f55215c 100644 --- a/api/model_inventory_return_location_data_relationships_inventory_model_data.go +++ b/api/model_inventory_return_location_data_relationships_inventory_model_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_inventory_return_location_update.go b/api/model_inventory_return_location_update.go index 0d56d5e2c..566171a54 100644 --- a/api/model_inventory_return_location_update.go +++ b/api/model_inventory_return_location_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_inventory_return_location_update_data.go b/api/model_inventory_return_location_update_data.go index 9cd6eee0a..318aeba44 100644 --- a/api/model_inventory_return_location_update_data.go +++ b/api/model_inventory_return_location_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_inventory_return_location_update_data_relationships.go b/api/model_inventory_return_location_update_data_relationships.go index b9a528c6c..ca5313203 100644 --- a/api/model_inventory_return_location_update_data_relationships.go +++ b/api/model_inventory_return_location_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_inventory_stock_location.go b/api/model_inventory_stock_location.go index d46591aa7..3f46ea974 100644 --- a/api/model_inventory_stock_location.go +++ b/api/model_inventory_stock_location.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_inventory_stock_location_create.go b/api/model_inventory_stock_location_create.go index 13466cbae..3ee3a2100 100644 --- a/api/model_inventory_stock_location_create.go +++ b/api/model_inventory_stock_location_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_inventory_stock_location_create_data.go b/api/model_inventory_stock_location_create_data.go index b3dac04a3..e41fd66e4 100644 --- a/api/model_inventory_stock_location_create_data.go +++ b/api/model_inventory_stock_location_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_inventory_stock_location_data.go b/api/model_inventory_stock_location_data.go index 6c528704c..c4f9cf635 100644 --- a/api/model_inventory_stock_location_data.go +++ b/api/model_inventory_stock_location_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_inventory_stock_location_update.go b/api/model_inventory_stock_location_update.go index a13604e62..056eb21b9 100644 --- a/api/model_inventory_stock_location_update.go +++ b/api/model_inventory_stock_location_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_inventory_stock_location_update_data.go b/api/model_inventory_stock_location_update_data.go index a18479ff9..7867d680f 100644 --- a/api/model_inventory_stock_location_update_data.go +++ b/api/model_inventory_stock_location_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_klarna_gateway.go b/api/model_klarna_gateway.go index 7c45a517d..8aa838180 100644 --- a/api/model_klarna_gateway.go +++ b/api/model_klarna_gateway.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_klarna_gateway_create.go b/api/model_klarna_gateway_create.go index 9ef2bbbc0..68f2cf69b 100644 --- a/api/model_klarna_gateway_create.go +++ b/api/model_klarna_gateway_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_klarna_gateway_create_data.go b/api/model_klarna_gateway_create_data.go index 4f9db3309..6a0571e77 100644 --- a/api/model_klarna_gateway_create_data.go +++ b/api/model_klarna_gateway_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_klarna_gateway_create_data_relationships.go b/api/model_klarna_gateway_create_data_relationships.go index 259f88842..b8f010833 100644 --- a/api/model_klarna_gateway_create_data_relationships.go +++ b/api/model_klarna_gateway_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_klarna_gateway_create_data_relationships_klarna_payments.go b/api/model_klarna_gateway_create_data_relationships_klarna_payments.go index 76c459edc..4c93e6bcf 100644 --- a/api/model_klarna_gateway_create_data_relationships_klarna_payments.go +++ b/api/model_klarna_gateway_create_data_relationships_klarna_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_klarna_gateway_data.go b/api/model_klarna_gateway_data.go index b115c504d..2c653dffc 100644 --- a/api/model_klarna_gateway_data.go +++ b/api/model_klarna_gateway_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_klarna_gateway_data_relationships.go b/api/model_klarna_gateway_data_relationships.go index 8155e41ea..a8f0d0db5 100644 --- a/api/model_klarna_gateway_data_relationships.go +++ b/api/model_klarna_gateway_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_klarna_gateway_data_relationships_klarna_payments.go b/api/model_klarna_gateway_data_relationships_klarna_payments.go index d5f696eef..eee030a43 100644 --- a/api/model_klarna_gateway_data_relationships_klarna_payments.go +++ b/api/model_klarna_gateway_data_relationships_klarna_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_klarna_gateway_data_relationships_klarna_payments_data.go b/api/model_klarna_gateway_data_relationships_klarna_payments_data.go index ea7851ef7..e5278df9b 100644 --- a/api/model_klarna_gateway_data_relationships_klarna_payments_data.go +++ b/api/model_klarna_gateway_data_relationships_klarna_payments_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_klarna_gateway_update.go b/api/model_klarna_gateway_update.go index d3918341f..f23e28319 100644 --- a/api/model_klarna_gateway_update.go +++ b/api/model_klarna_gateway_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_klarna_gateway_update_data.go b/api/model_klarna_gateway_update_data.go index bd8a0a753..a0f0a5a9f 100644 --- a/api/model_klarna_gateway_update_data.go +++ b/api/model_klarna_gateway_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_klarna_payment.go b/api/model_klarna_payment.go index a1a898bac..745a1c1f9 100644 --- a/api/model_klarna_payment.go +++ b/api/model_klarna_payment.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_klarna_payment_create.go b/api/model_klarna_payment_create.go index e3cf7c3fc..b8dfb4f33 100644 --- a/api/model_klarna_payment_create.go +++ b/api/model_klarna_payment_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_klarna_payment_create_data.go b/api/model_klarna_payment_create_data.go index b3c9e7f9f..62d4c5d9f 100644 --- a/api/model_klarna_payment_create_data.go +++ b/api/model_klarna_payment_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_klarna_payment_data.go b/api/model_klarna_payment_data.go index 298945f8c..87e558380 100644 --- a/api/model_klarna_payment_data.go +++ b/api/model_klarna_payment_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_klarna_payment_update.go b/api/model_klarna_payment_update.go index d2c53ead1..c5386808a 100644 --- a/api/model_klarna_payment_update.go +++ b/api/model_klarna_payment_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_klarna_payment_update_data.go b/api/model_klarna_payment_update_data.go index baebbe134..130fc7ba6 100644 --- a/api/model_klarna_payment_update_data.go +++ b/api/model_klarna_payment_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item.go b/api/model_line_item.go index f8f47a308..75833678c 100644 --- a/api/model_line_item.go +++ b/api/model_line_item.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_create.go b/api/model_line_item_create.go index 639466fd1..e8bf7e4fa 100644 --- a/api/model_line_item_create.go +++ b/api/model_line_item_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_create_data.go b/api/model_line_item_create_data.go index de17f7238..aca0fe5aa 100644 --- a/api/model_line_item_create_data.go +++ b/api/model_line_item_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_create_data_relationships.go b/api/model_line_item_create_data_relationships.go index 6f2058263..1ac43d6d5 100644 --- a/api/model_line_item_create_data_relationships.go +++ b/api/model_line_item_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_create_data_relationships_item.go b/api/model_line_item_create_data_relationships_item.go index 87c10520e..0b274358c 100644 --- a/api/model_line_item_create_data_relationships_item.go +++ b/api/model_line_item_create_data_relationships_item.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_data.go b/api/model_line_item_data.go index 48e5f83af..eb5b56734 100644 --- a/api/model_line_item_data.go +++ b/api/model_line_item_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_data_relationships.go b/api/model_line_item_data_relationships.go index e8c2d5eae..af1e0f439 100644 --- a/api/model_line_item_data_relationships.go +++ b/api/model_line_item_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -33,6 +33,7 @@ type LineItemDataRelationships struct { StockReservations *LineItemDataRelationshipsStockReservations `json:"stock_reservations,omitempty"` StockLineItems *LineItemDataRelationshipsStockLineItems `json:"stock_line_items,omitempty"` StockTransfers *LineItemDataRelationshipsStockTransfers `json:"stock_transfers,omitempty"` + Notifications *LineItemDataRelationshipsNotifications `json:"notifications,omitempty"` Events *AddressDataRelationshipsEvents `json:"events,omitempty"` Tags *AddressDataRelationshipsTags `json:"tags,omitempty"` } @@ -470,6 +471,38 @@ func (o *LineItemDataRelationships) SetStockTransfers(v LineItemDataRelationship o.StockTransfers = &v } +// GetNotifications returns the Notifications field value if set, zero value otherwise. +func (o *LineItemDataRelationships) GetNotifications() LineItemDataRelationshipsNotifications { + if o == nil || IsNil(o.Notifications) { + var ret LineItemDataRelationshipsNotifications + return ret + } + return *o.Notifications +} + +// GetNotificationsOk returns a tuple with the Notifications field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LineItemDataRelationships) GetNotificationsOk() (*LineItemDataRelationshipsNotifications, bool) { + if o == nil || IsNil(o.Notifications) { + return nil, false + } + return o.Notifications, true +} + +// HasNotifications returns a boolean if a field has been set. +func (o *LineItemDataRelationships) HasNotifications() bool { + if o != nil && !IsNil(o.Notifications) { + return true + } + + return false +} + +// SetNotifications gets a reference to the given LineItemDataRelationshipsNotifications and assigns it to the Notifications field. +func (o *LineItemDataRelationships) SetNotifications(v LineItemDataRelationshipsNotifications) { + o.Notifications = &v +} + // GetEvents returns the Events field value if set, zero value otherwise. func (o *LineItemDataRelationships) GetEvents() AddressDataRelationshipsEvents { if o == nil || IsNil(o.Events) { @@ -583,6 +616,9 @@ func (o LineItemDataRelationships) ToMap() (map[string]interface{}, error) { if !IsNil(o.StockTransfers) { toSerialize["stock_transfers"] = o.StockTransfers } + if !IsNil(o.Notifications) { + toSerialize["notifications"] = o.Notifications + } if !IsNil(o.Events) { toSerialize["events"] = o.Events } diff --git a/api/model_line_item_data_relationships_adjustment.go b/api/model_line_item_data_relationships_adjustment.go index 50e8d7d00..d4a0b2c67 100644 --- a/api/model_line_item_data_relationships_adjustment.go +++ b/api/model_line_item_data_relationships_adjustment.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_data_relationships_adjustment_data.go b/api/model_line_item_data_relationships_adjustment_data.go index 08e76bd84..9434dbf53 100644 --- a/api/model_line_item_data_relationships_adjustment_data.go +++ b/api/model_line_item_data_relationships_adjustment_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_data_relationships_bundle.go b/api/model_line_item_data_relationships_bundle.go index 0a7916e9f..9a81ea585 100644 --- a/api/model_line_item_data_relationships_bundle.go +++ b/api/model_line_item_data_relationships_bundle.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_data_relationships_bundle_data.go b/api/model_line_item_data_relationships_bundle_data.go index 991b9a3f2..a6b727bd2 100644 --- a/api/model_line_item_data_relationships_bundle_data.go +++ b/api/model_line_item_data_relationships_bundle_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_data_relationships_gift_card.go b/api/model_line_item_data_relationships_gift_card.go index e9b9c62d3..851da37a0 100644 --- a/api/model_line_item_data_relationships_gift_card.go +++ b/api/model_line_item_data_relationships_gift_card.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_data_relationships_gift_card_data.go b/api/model_line_item_data_relationships_gift_card_data.go index c48597cbf..06d091a8b 100644 --- a/api/model_line_item_data_relationships_gift_card_data.go +++ b/api/model_line_item_data_relationships_gift_card_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_data_relationships_item.go b/api/model_line_item_data_relationships_item.go index 7e971dd52..b8fb4cb0d 100644 --- a/api/model_line_item_data_relationships_item.go +++ b/api/model_line_item_data_relationships_item.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_data_relationships_item_data.go b/api/model_line_item_data_relationships_item_data.go index 06ad369ff..91702bf27 100644 --- a/api/model_line_item_data_relationships_item_data.go +++ b/api/model_line_item_data_relationships_item_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_data_relationships_line_item_options.go b/api/model_line_item_data_relationships_line_item_options.go index 676e57b3e..f8fc984d9 100644 --- a/api/model_line_item_data_relationships_line_item_options.go +++ b/api/model_line_item_data_relationships_line_item_options.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_data_relationships_line_item_options_data.go b/api/model_line_item_data_relationships_line_item_options_data.go index 914613ac2..88c7bfbec 100644 --- a/api/model_line_item_data_relationships_line_item_options_data.go +++ b/api/model_line_item_data_relationships_line_item_options_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_data_relationships_notifications.go b/api/model_line_item_data_relationships_notifications.go new file mode 100644 index 000000000..1f66aee1c --- /dev/null +++ b/api/model_line_item_data_relationships_notifications.go @@ -0,0 +1,125 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the LineItemDataRelationshipsNotifications type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &LineItemDataRelationshipsNotifications{} + +// LineItemDataRelationshipsNotifications struct for LineItemDataRelationshipsNotifications +type LineItemDataRelationshipsNotifications struct { + Data *LineItemDataRelationshipsNotificationsData `json:"data,omitempty"` +} + +// NewLineItemDataRelationshipsNotifications instantiates a new LineItemDataRelationshipsNotifications object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewLineItemDataRelationshipsNotifications() *LineItemDataRelationshipsNotifications { + this := LineItemDataRelationshipsNotifications{} + return &this +} + +// NewLineItemDataRelationshipsNotificationsWithDefaults instantiates a new LineItemDataRelationshipsNotifications object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewLineItemDataRelationshipsNotificationsWithDefaults() *LineItemDataRelationshipsNotifications { + this := LineItemDataRelationshipsNotifications{} + return &this +} + +// GetData returns the Data field value if set, zero value otherwise. +func (o *LineItemDataRelationshipsNotifications) GetData() LineItemDataRelationshipsNotificationsData { + if o == nil || IsNil(o.Data) { + var ret LineItemDataRelationshipsNotificationsData + return ret + } + return *o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LineItemDataRelationshipsNotifications) GetDataOk() (*LineItemDataRelationshipsNotificationsData, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *LineItemDataRelationshipsNotifications) HasData() bool { + if o != nil && !IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given LineItemDataRelationshipsNotificationsData and assigns it to the Data field. +func (o *LineItemDataRelationshipsNotifications) SetData(v LineItemDataRelationshipsNotificationsData) { + o.Data = &v +} + +func (o LineItemDataRelationshipsNotifications) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o LineItemDataRelationshipsNotifications) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Data) { + toSerialize["data"] = o.Data + } + return toSerialize, nil +} + +type NullableLineItemDataRelationshipsNotifications struct { + value *LineItemDataRelationshipsNotifications + isSet bool +} + +func (v NullableLineItemDataRelationshipsNotifications) Get() *LineItemDataRelationshipsNotifications { + return v.value +} + +func (v *NullableLineItemDataRelationshipsNotifications) Set(val *LineItemDataRelationshipsNotifications) { + v.value = val + v.isSet = true +} + +func (v NullableLineItemDataRelationshipsNotifications) IsSet() bool { + return v.isSet +} + +func (v *NullableLineItemDataRelationshipsNotifications) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableLineItemDataRelationshipsNotifications(val *LineItemDataRelationshipsNotifications) *NullableLineItemDataRelationshipsNotifications { + return &NullableLineItemDataRelationshipsNotifications{value: val, isSet: true} +} + +func (v NullableLineItemDataRelationshipsNotifications) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableLineItemDataRelationshipsNotifications) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_line_item_data_relationships_notifications_data.go b/api/model_line_item_data_relationships_notifications_data.go new file mode 100644 index 000000000..8e3e141f9 --- /dev/null +++ b/api/model_line_item_data_relationships_notifications_data.go @@ -0,0 +1,165 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the LineItemDataRelationshipsNotificationsData type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &LineItemDataRelationshipsNotificationsData{} + +// LineItemDataRelationshipsNotificationsData struct for LineItemDataRelationshipsNotificationsData +type LineItemDataRelationshipsNotificationsData struct { + // The resource's type + Type interface{} `json:"type,omitempty"` + // The resource's id + Id interface{} `json:"id,omitempty"` +} + +// NewLineItemDataRelationshipsNotificationsData instantiates a new LineItemDataRelationshipsNotificationsData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewLineItemDataRelationshipsNotificationsData() *LineItemDataRelationshipsNotificationsData { + this := LineItemDataRelationshipsNotificationsData{} + return &this +} + +// NewLineItemDataRelationshipsNotificationsDataWithDefaults instantiates a new LineItemDataRelationshipsNotificationsData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewLineItemDataRelationshipsNotificationsDataWithDefaults() *LineItemDataRelationshipsNotificationsData { + this := LineItemDataRelationshipsNotificationsData{} + return &this +} + +// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *LineItemDataRelationshipsNotificationsData) GetType() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *LineItemDataRelationshipsNotificationsData) GetTypeOk() (*interface{}, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return &o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *LineItemDataRelationshipsNotificationsData) HasType() bool { + if o != nil && IsNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given interface{} and assigns it to the Type field. +func (o *LineItemDataRelationshipsNotificationsData) SetType(v interface{}) { + o.Type = v +} + +// GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *LineItemDataRelationshipsNotificationsData) GetId() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *LineItemDataRelationshipsNotificationsData) GetIdOk() (*interface{}, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return &o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *LineItemDataRelationshipsNotificationsData) HasId() bool { + if o != nil && IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given interface{} and assigns it to the Id field. +func (o *LineItemDataRelationshipsNotificationsData) SetId(v interface{}) { + o.Id = v +} + +func (o LineItemDataRelationshipsNotificationsData) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o LineItemDataRelationshipsNotificationsData) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Type != nil { + toSerialize["type"] = o.Type + } + if o.Id != nil { + toSerialize["id"] = o.Id + } + return toSerialize, nil +} + +type NullableLineItemDataRelationshipsNotificationsData struct { + value *LineItemDataRelationshipsNotificationsData + isSet bool +} + +func (v NullableLineItemDataRelationshipsNotificationsData) Get() *LineItemDataRelationshipsNotificationsData { + return v.value +} + +func (v *NullableLineItemDataRelationshipsNotificationsData) Set(val *LineItemDataRelationshipsNotificationsData) { + v.value = val + v.isSet = true +} + +func (v NullableLineItemDataRelationshipsNotificationsData) IsSet() bool { + return v.isSet +} + +func (v *NullableLineItemDataRelationshipsNotificationsData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableLineItemDataRelationshipsNotificationsData(val *LineItemDataRelationshipsNotificationsData) *NullableLineItemDataRelationshipsNotificationsData { + return &NullableLineItemDataRelationshipsNotificationsData{value: val, isSet: true} +} + +func (v NullableLineItemDataRelationshipsNotificationsData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableLineItemDataRelationshipsNotificationsData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_line_item_data_relationships_return_line_items.go b/api/model_line_item_data_relationships_return_line_items.go index 44c2b7040..831826164 100644 --- a/api/model_line_item_data_relationships_return_line_items.go +++ b/api/model_line_item_data_relationships_return_line_items.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_data_relationships_return_line_items_data.go b/api/model_line_item_data_relationships_return_line_items_data.go index 18cd313d2..10ec2d8c3 100644 --- a/api/model_line_item_data_relationships_return_line_items_data.go +++ b/api/model_line_item_data_relationships_return_line_items_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_data_relationships_shipment.go b/api/model_line_item_data_relationships_shipment.go index 160a67b76..9af7bc565 100644 --- a/api/model_line_item_data_relationships_shipment.go +++ b/api/model_line_item_data_relationships_shipment.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_data_relationships_shipment_data.go b/api/model_line_item_data_relationships_shipment_data.go index af6a217e9..e66e3babe 100644 --- a/api/model_line_item_data_relationships_shipment_data.go +++ b/api/model_line_item_data_relationships_shipment_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_data_relationships_stock_line_items.go b/api/model_line_item_data_relationships_stock_line_items.go index 987fdcdad..61221a1a2 100644 --- a/api/model_line_item_data_relationships_stock_line_items.go +++ b/api/model_line_item_data_relationships_stock_line_items.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_data_relationships_stock_line_items_data.go b/api/model_line_item_data_relationships_stock_line_items_data.go index 180ce4d89..a4c846a85 100644 --- a/api/model_line_item_data_relationships_stock_line_items_data.go +++ b/api/model_line_item_data_relationships_stock_line_items_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_data_relationships_stock_reservations.go b/api/model_line_item_data_relationships_stock_reservations.go index 679890eb1..65939ff32 100644 --- a/api/model_line_item_data_relationships_stock_reservations.go +++ b/api/model_line_item_data_relationships_stock_reservations.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_data_relationships_stock_reservations_data.go b/api/model_line_item_data_relationships_stock_reservations_data.go index dfb787409..4bcbb1955 100644 --- a/api/model_line_item_data_relationships_stock_reservations_data.go +++ b/api/model_line_item_data_relationships_stock_reservations_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_data_relationships_stock_transfers.go b/api/model_line_item_data_relationships_stock_transfers.go index 5d399ba5c..6b92fe86b 100644 --- a/api/model_line_item_data_relationships_stock_transfers.go +++ b/api/model_line_item_data_relationships_stock_transfers.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_data_relationships_stock_transfers_data.go b/api/model_line_item_data_relationships_stock_transfers_data.go index 67553402e..d2e82dd3a 100644 --- a/api/model_line_item_data_relationships_stock_transfers_data.go +++ b/api/model_line_item_data_relationships_stock_transfers_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_option.go b/api/model_line_item_option.go index 5fd0cb0f9..8842b765b 100644 --- a/api/model_line_item_option.go +++ b/api/model_line_item_option.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_option_create.go b/api/model_line_item_option_create.go index 4beaf2129..4529330c2 100644 --- a/api/model_line_item_option_create.go +++ b/api/model_line_item_option_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_option_create_data.go b/api/model_line_item_option_create_data.go index 8d3778ed4..e7ada66b6 100644 --- a/api/model_line_item_option_create_data.go +++ b/api/model_line_item_option_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_option_create_data_relationships.go b/api/model_line_item_option_create_data_relationships.go index fb93ba671..9bae546c2 100644 --- a/api/model_line_item_option_create_data_relationships.go +++ b/api/model_line_item_option_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_option_create_data_relationships_line_item.go b/api/model_line_item_option_create_data_relationships_line_item.go index eb27858b8..315211860 100644 --- a/api/model_line_item_option_create_data_relationships_line_item.go +++ b/api/model_line_item_option_create_data_relationships_line_item.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_option_create_data_relationships_sku_option.go b/api/model_line_item_option_create_data_relationships_sku_option.go index 56ab62aae..267e1bb58 100644 --- a/api/model_line_item_option_create_data_relationships_sku_option.go +++ b/api/model_line_item_option_create_data_relationships_sku_option.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_option_data.go b/api/model_line_item_option_data.go index 74201fae4..9164d693a 100644 --- a/api/model_line_item_option_data.go +++ b/api/model_line_item_option_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_option_data_relationships.go b/api/model_line_item_option_data_relationships.go index dca03a865..7fc92644c 100644 --- a/api/model_line_item_option_data_relationships.go +++ b/api/model_line_item_option_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_option_data_relationships_line_item.go b/api/model_line_item_option_data_relationships_line_item.go index d446bdbaf..03e77fe11 100644 --- a/api/model_line_item_option_data_relationships_line_item.go +++ b/api/model_line_item_option_data_relationships_line_item.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_option_data_relationships_line_item_data.go b/api/model_line_item_option_data_relationships_line_item_data.go index 5f16faf46..29286f271 100644 --- a/api/model_line_item_option_data_relationships_line_item_data.go +++ b/api/model_line_item_option_data_relationships_line_item_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_option_data_relationships_sku_option.go b/api/model_line_item_option_data_relationships_sku_option.go index 210e66ff7..df61838ce 100644 --- a/api/model_line_item_option_data_relationships_sku_option.go +++ b/api/model_line_item_option_data_relationships_sku_option.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_option_data_relationships_sku_option_data.go b/api/model_line_item_option_data_relationships_sku_option_data.go index 98ffa7bc9..26898bf81 100644 --- a/api/model_line_item_option_data_relationships_sku_option_data.go +++ b/api/model_line_item_option_data_relationships_sku_option_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_option_update.go b/api/model_line_item_option_update.go index 6f3a5dfe3..0169cd636 100644 --- a/api/model_line_item_option_update.go +++ b/api/model_line_item_option_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_option_update_data.go b/api/model_line_item_option_update_data.go index 7cc1d8617..e2be30694 100644 --- a/api/model_line_item_option_update_data.go +++ b/api/model_line_item_option_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_option_update_data_relationships.go b/api/model_line_item_option_update_data_relationships.go index 2a4d8735a..93d1e3fce 100644 --- a/api/model_line_item_option_update_data_relationships.go +++ b/api/model_line_item_option_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_update.go b/api/model_line_item_update.go index e2014e593..71c1ecddc 100644 --- a/api/model_line_item_update.go +++ b/api/model_line_item_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_line_item_update_data.go b/api/model_line_item_update_data.go index e4720d269..521d8a454 100644 --- a/api/model_line_item_update_data.go +++ b/api/model_line_item_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_link.go b/api/model_link.go index dc97244b0..c9167a6fe 100644 --- a/api/model_link.go +++ b/api/model_link.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_link_create.go b/api/model_link_create.go index cd9a553dc..1e08b2400 100644 --- a/api/model_link_create.go +++ b/api/model_link_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_link_create_data.go b/api/model_link_create_data.go index 45d379136..d1fbd0702 100644 --- a/api/model_link_create_data.go +++ b/api/model_link_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_link_create_data_relationships.go b/api/model_link_create_data_relationships.go index 5e68a14ef..443348fc1 100644 --- a/api/model_link_create_data_relationships.go +++ b/api/model_link_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_link_create_data_relationships_item.go b/api/model_link_create_data_relationships_item.go index eb284cb85..06af0b18b 100644 --- a/api/model_link_create_data_relationships_item.go +++ b/api/model_link_create_data_relationships_item.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_link_data.go b/api/model_link_data.go index a833c97a4..f0c9cd0f5 100644 --- a/api/model_link_data.go +++ b/api/model_link_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_link_data_relationships.go b/api/model_link_data_relationships.go index 58f53b5f2..de4dedfa1 100644 --- a/api/model_link_data_relationships.go +++ b/api/model_link_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_link_data_relationships_item.go b/api/model_link_data_relationships_item.go index 68163ade1..87168edd5 100644 --- a/api/model_link_data_relationships_item.go +++ b/api/model_link_data_relationships_item.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_link_data_relationships_item_data.go b/api/model_link_data_relationships_item_data.go index 00dea045a..7b6f719a9 100644 --- a/api/model_link_data_relationships_item_data.go +++ b/api/model_link_data_relationships_item_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_link_update.go b/api/model_link_update.go index ed0a10ca4..0549c2469 100644 --- a/api/model_link_update.go +++ b/api/model_link_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_link_update_data.go b/api/model_link_update_data.go index 03748fe0f..fc23ea835 100644 --- a/api/model_link_update_data.go +++ b/api/model_link_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_link_update_data_relationships.go b/api/model_link_update_data_relationships.go index 8c0cfa2de..206d52cee 100644 --- a/api/model_link_update_data_relationships.go +++ b/api/model_link_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_manual_gateway.go b/api/model_manual_gateway.go index 160acd43f..5edb3d0a5 100644 --- a/api/model_manual_gateway.go +++ b/api/model_manual_gateway.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_manual_gateway_create.go b/api/model_manual_gateway_create.go index c5ff38aa4..57257bedc 100644 --- a/api/model_manual_gateway_create.go +++ b/api/model_manual_gateway_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_manual_gateway_create_data.go b/api/model_manual_gateway_create_data.go index e48b8c45c..3faccfe66 100644 --- a/api/model_manual_gateway_create_data.go +++ b/api/model_manual_gateway_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_manual_gateway_data.go b/api/model_manual_gateway_data.go index 0f2e30385..b46112062 100644 --- a/api/model_manual_gateway_data.go +++ b/api/model_manual_gateway_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_manual_gateway_data_relationships.go b/api/model_manual_gateway_data_relationships.go index 86f07931b..2a5cb50ba 100644 --- a/api/model_manual_gateway_data_relationships.go +++ b/api/model_manual_gateway_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_manual_gateway_update.go b/api/model_manual_gateway_update.go index bc1b684eb..83d1b627a 100644 --- a/api/model_manual_gateway_update.go +++ b/api/model_manual_gateway_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_manual_gateway_update_data.go b/api/model_manual_gateway_update_data.go index e6e8925dc..0ee01eb7a 100644 --- a/api/model_manual_gateway_update_data.go +++ b/api/model_manual_gateway_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_manual_tax_calculator.go b/api/model_manual_tax_calculator.go index f901c02ce..6c2593b7b 100644 --- a/api/model_manual_tax_calculator.go +++ b/api/model_manual_tax_calculator.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_manual_tax_calculator_create.go b/api/model_manual_tax_calculator_create.go index dd6082adb..80f8b6b8d 100644 --- a/api/model_manual_tax_calculator_create.go +++ b/api/model_manual_tax_calculator_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_manual_tax_calculator_create_data.go b/api/model_manual_tax_calculator_create_data.go index b7121d833..e9483a729 100644 --- a/api/model_manual_tax_calculator_create_data.go +++ b/api/model_manual_tax_calculator_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_manual_tax_calculator_create_data_relationships.go b/api/model_manual_tax_calculator_create_data_relationships.go index a1f08db6c..a519ea263 100644 --- a/api/model_manual_tax_calculator_create_data_relationships.go +++ b/api/model_manual_tax_calculator_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_manual_tax_calculator_create_data_relationships_tax_rules.go b/api/model_manual_tax_calculator_create_data_relationships_tax_rules.go index 65d544cb8..87ab21db7 100644 --- a/api/model_manual_tax_calculator_create_data_relationships_tax_rules.go +++ b/api/model_manual_tax_calculator_create_data_relationships_tax_rules.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_manual_tax_calculator_data.go b/api/model_manual_tax_calculator_data.go index 084ff12ec..2e7b8ce4a 100644 --- a/api/model_manual_tax_calculator_data.go +++ b/api/model_manual_tax_calculator_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_manual_tax_calculator_data_relationships.go b/api/model_manual_tax_calculator_data_relationships.go index d811876d3..5ce7d45d1 100644 --- a/api/model_manual_tax_calculator_data_relationships.go +++ b/api/model_manual_tax_calculator_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_manual_tax_calculator_data_relationships_tax_rules.go b/api/model_manual_tax_calculator_data_relationships_tax_rules.go index 7f73f392a..b24454414 100644 --- a/api/model_manual_tax_calculator_data_relationships_tax_rules.go +++ b/api/model_manual_tax_calculator_data_relationships_tax_rules.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_manual_tax_calculator_data_relationships_tax_rules_data.go b/api/model_manual_tax_calculator_data_relationships_tax_rules_data.go index 9f5c1c634..b79ad988e 100644 --- a/api/model_manual_tax_calculator_data_relationships_tax_rules_data.go +++ b/api/model_manual_tax_calculator_data_relationships_tax_rules_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_manual_tax_calculator_update.go b/api/model_manual_tax_calculator_update.go index 8a2db965d..1df5d434a 100644 --- a/api/model_manual_tax_calculator_update.go +++ b/api/model_manual_tax_calculator_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_manual_tax_calculator_update_data.go b/api/model_manual_tax_calculator_update_data.go index 94d439a09..4c5c2d6a0 100644 --- a/api/model_manual_tax_calculator_update_data.go +++ b/api/model_manual_tax_calculator_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_market.go b/api/model_market.go index f5e9bd271..01301eda8 100644 --- a/api/model_market.go +++ b/api/model_market.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_market_create.go b/api/model_market_create.go index b6bef4d22..3c4fc4867 100644 --- a/api/model_market_create.go +++ b/api/model_market_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_market_create_data.go b/api/model_market_create_data.go index ab0975e4c..3e6240f96 100644 --- a/api/model_market_create_data.go +++ b/api/model_market_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_market_create_data_relationships.go b/api/model_market_create_data_relationships.go index b3e1ed64b..deea26733 100644 --- a/api/model_market_create_data_relationships.go +++ b/api/model_market_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_market_create_data_relationships_merchant.go b/api/model_market_create_data_relationships_merchant.go index e8691aaf3..7e2a37bc8 100644 --- a/api/model_market_create_data_relationships_merchant.go +++ b/api/model_market_create_data_relationships_merchant.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_market_create_data_relationships_price_list.go b/api/model_market_create_data_relationships_price_list.go index 0cbfa7e31..da73cf0d3 100644 --- a/api/model_market_create_data_relationships_price_list.go +++ b/api/model_market_create_data_relationships_price_list.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_market_create_data_relationships_subscription_model.go b/api/model_market_create_data_relationships_subscription_model.go index b10a7d844..4e678ddc3 100644 --- a/api/model_market_create_data_relationships_subscription_model.go +++ b/api/model_market_create_data_relationships_subscription_model.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_market_create_data_relationships_tax_calculator.go b/api/model_market_create_data_relationships_tax_calculator.go index baa4670b5..8ce6aeb36 100644 --- a/api/model_market_create_data_relationships_tax_calculator.go +++ b/api/model_market_create_data_relationships_tax_calculator.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_market_data.go b/api/model_market_data.go index cf2937ebd..eb0056d25 100644 --- a/api/model_market_data.go +++ b/api/model_market_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_market_data_relationships.go b/api/model_market_data_relationships.go index 1aa8b2a2c..a4c362e2a 100644 --- a/api/model_market_data_relationships.go +++ b/api/model_market_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -28,6 +28,7 @@ type MarketDataRelationships struct { TaxCalculator *MarketDataRelationshipsTaxCalculator `json:"tax_calculator,omitempty"` CustomerGroup *CustomerDataRelationshipsCustomerGroup `json:"customer_group,omitempty"` Geocoder *AddressDataRelationshipsGeocoder `json:"geocoder,omitempty"` + Stores *MarketDataRelationshipsStores `json:"stores,omitempty"` PriceListSchedulers *MarketDataRelationshipsPriceListSchedulers `json:"price_list_schedulers,omitempty"` Attachments *AuthorizationDataRelationshipsAttachments `json:"attachments,omitempty"` Versions *AddressDataRelationshipsVersions `json:"versions,omitempty"` @@ -306,6 +307,38 @@ func (o *MarketDataRelationships) SetGeocoder(v AddressDataRelationshipsGeocoder o.Geocoder = &v } +// GetStores returns the Stores field value if set, zero value otherwise. +func (o *MarketDataRelationships) GetStores() MarketDataRelationshipsStores { + if o == nil || IsNil(o.Stores) { + var ret MarketDataRelationshipsStores + return ret + } + return *o.Stores +} + +// GetStoresOk returns a tuple with the Stores field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MarketDataRelationships) GetStoresOk() (*MarketDataRelationshipsStores, bool) { + if o == nil || IsNil(o.Stores) { + return nil, false + } + return o.Stores, true +} + +// HasStores returns a boolean if a field has been set. +func (o *MarketDataRelationships) HasStores() bool { + if o != nil && !IsNil(o.Stores) { + return true + } + + return false +} + +// SetStores gets a reference to the given MarketDataRelationshipsStores and assigns it to the Stores field. +func (o *MarketDataRelationships) SetStores(v MarketDataRelationshipsStores) { + o.Stores = &v +} + // GetPriceListSchedulers returns the PriceListSchedulers field value if set, zero value otherwise. func (o *MarketDataRelationships) GetPriceListSchedulers() MarketDataRelationshipsPriceListSchedulers { if o == nil || IsNil(o.PriceListSchedulers) { @@ -436,6 +469,9 @@ func (o MarketDataRelationships) ToMap() (map[string]interface{}, error) { if !IsNil(o.Geocoder) { toSerialize["geocoder"] = o.Geocoder } + if !IsNil(o.Stores) { + toSerialize["stores"] = o.Stores + } if !IsNil(o.PriceListSchedulers) { toSerialize["price_list_schedulers"] = o.PriceListSchedulers } diff --git a/api/model_market_data_relationships_merchant.go b/api/model_market_data_relationships_merchant.go index 817b85fd7..10553cfa2 100644 --- a/api/model_market_data_relationships_merchant.go +++ b/api/model_market_data_relationships_merchant.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_market_data_relationships_merchant_data.go b/api/model_market_data_relationships_merchant_data.go index 459b39871..3e31b8980 100644 --- a/api/model_market_data_relationships_merchant_data.go +++ b/api/model_market_data_relationships_merchant_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_market_data_relationships_price_list.go b/api/model_market_data_relationships_price_list.go index a215138f4..cea97448e 100644 --- a/api/model_market_data_relationships_price_list.go +++ b/api/model_market_data_relationships_price_list.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_market_data_relationships_price_list_data.go b/api/model_market_data_relationships_price_list_data.go index ed1bec2d2..eacd2cd2a 100644 --- a/api/model_market_data_relationships_price_list_data.go +++ b/api/model_market_data_relationships_price_list_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_market_data_relationships_price_list_schedulers.go b/api/model_market_data_relationships_price_list_schedulers.go index 36128515a..d0045be2b 100644 --- a/api/model_market_data_relationships_price_list_schedulers.go +++ b/api/model_market_data_relationships_price_list_schedulers.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_market_data_relationships_price_list_schedulers_data.go b/api/model_market_data_relationships_price_list_schedulers_data.go index 246b2a8f8..b91aac47b 100644 --- a/api/model_market_data_relationships_price_list_schedulers_data.go +++ b/api/model_market_data_relationships_price_list_schedulers_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_market_data_relationships_stores.go b/api/model_market_data_relationships_stores.go new file mode 100644 index 000000000..16cdb2dc4 --- /dev/null +++ b/api/model_market_data_relationships_stores.go @@ -0,0 +1,125 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the MarketDataRelationshipsStores type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &MarketDataRelationshipsStores{} + +// MarketDataRelationshipsStores struct for MarketDataRelationshipsStores +type MarketDataRelationshipsStores struct { + Data *MarketDataRelationshipsStoresData `json:"data,omitempty"` +} + +// NewMarketDataRelationshipsStores instantiates a new MarketDataRelationshipsStores object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewMarketDataRelationshipsStores() *MarketDataRelationshipsStores { + this := MarketDataRelationshipsStores{} + return &this +} + +// NewMarketDataRelationshipsStoresWithDefaults instantiates a new MarketDataRelationshipsStores object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewMarketDataRelationshipsStoresWithDefaults() *MarketDataRelationshipsStores { + this := MarketDataRelationshipsStores{} + return &this +} + +// GetData returns the Data field value if set, zero value otherwise. +func (o *MarketDataRelationshipsStores) GetData() MarketDataRelationshipsStoresData { + if o == nil || IsNil(o.Data) { + var ret MarketDataRelationshipsStoresData + return ret + } + return *o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MarketDataRelationshipsStores) GetDataOk() (*MarketDataRelationshipsStoresData, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *MarketDataRelationshipsStores) HasData() bool { + if o != nil && !IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given MarketDataRelationshipsStoresData and assigns it to the Data field. +func (o *MarketDataRelationshipsStores) SetData(v MarketDataRelationshipsStoresData) { + o.Data = &v +} + +func (o MarketDataRelationshipsStores) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o MarketDataRelationshipsStores) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Data) { + toSerialize["data"] = o.Data + } + return toSerialize, nil +} + +type NullableMarketDataRelationshipsStores struct { + value *MarketDataRelationshipsStores + isSet bool +} + +func (v NullableMarketDataRelationshipsStores) Get() *MarketDataRelationshipsStores { + return v.value +} + +func (v *NullableMarketDataRelationshipsStores) Set(val *MarketDataRelationshipsStores) { + v.value = val + v.isSet = true +} + +func (v NullableMarketDataRelationshipsStores) IsSet() bool { + return v.isSet +} + +func (v *NullableMarketDataRelationshipsStores) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableMarketDataRelationshipsStores(val *MarketDataRelationshipsStores) *NullableMarketDataRelationshipsStores { + return &NullableMarketDataRelationshipsStores{value: val, isSet: true} +} + +func (v NullableMarketDataRelationshipsStores) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableMarketDataRelationshipsStores) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_market_data_relationships_stores_data.go b/api/model_market_data_relationships_stores_data.go new file mode 100644 index 000000000..1ab18635b --- /dev/null +++ b/api/model_market_data_relationships_stores_data.go @@ -0,0 +1,165 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the MarketDataRelationshipsStoresData type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &MarketDataRelationshipsStoresData{} + +// MarketDataRelationshipsStoresData struct for MarketDataRelationshipsStoresData +type MarketDataRelationshipsStoresData struct { + // The resource's type + Type interface{} `json:"type,omitempty"` + // The resource's id + Id interface{} `json:"id,omitempty"` +} + +// NewMarketDataRelationshipsStoresData instantiates a new MarketDataRelationshipsStoresData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewMarketDataRelationshipsStoresData() *MarketDataRelationshipsStoresData { + this := MarketDataRelationshipsStoresData{} + return &this +} + +// NewMarketDataRelationshipsStoresDataWithDefaults instantiates a new MarketDataRelationshipsStoresData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewMarketDataRelationshipsStoresDataWithDefaults() *MarketDataRelationshipsStoresData { + this := MarketDataRelationshipsStoresData{} + return &this +} + +// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MarketDataRelationshipsStoresData) GetType() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MarketDataRelationshipsStoresData) GetTypeOk() (*interface{}, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return &o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *MarketDataRelationshipsStoresData) HasType() bool { + if o != nil && IsNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given interface{} and assigns it to the Type field. +func (o *MarketDataRelationshipsStoresData) SetType(v interface{}) { + o.Type = v +} + +// GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MarketDataRelationshipsStoresData) GetId() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MarketDataRelationshipsStoresData) GetIdOk() (*interface{}, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return &o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *MarketDataRelationshipsStoresData) HasId() bool { + if o != nil && IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given interface{} and assigns it to the Id field. +func (o *MarketDataRelationshipsStoresData) SetId(v interface{}) { + o.Id = v +} + +func (o MarketDataRelationshipsStoresData) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o MarketDataRelationshipsStoresData) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Type != nil { + toSerialize["type"] = o.Type + } + if o.Id != nil { + toSerialize["id"] = o.Id + } + return toSerialize, nil +} + +type NullableMarketDataRelationshipsStoresData struct { + value *MarketDataRelationshipsStoresData + isSet bool +} + +func (v NullableMarketDataRelationshipsStoresData) Get() *MarketDataRelationshipsStoresData { + return v.value +} + +func (v *NullableMarketDataRelationshipsStoresData) Set(val *MarketDataRelationshipsStoresData) { + v.value = val + v.isSet = true +} + +func (v NullableMarketDataRelationshipsStoresData) IsSet() bool { + return v.isSet +} + +func (v *NullableMarketDataRelationshipsStoresData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableMarketDataRelationshipsStoresData(val *MarketDataRelationshipsStoresData) *NullableMarketDataRelationshipsStoresData { + return &NullableMarketDataRelationshipsStoresData{value: val, isSet: true} +} + +func (v NullableMarketDataRelationshipsStoresData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableMarketDataRelationshipsStoresData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_market_data_relationships_subscription_model.go b/api/model_market_data_relationships_subscription_model.go index 62e338695..348dee909 100644 --- a/api/model_market_data_relationships_subscription_model.go +++ b/api/model_market_data_relationships_subscription_model.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_market_data_relationships_subscription_model_data.go b/api/model_market_data_relationships_subscription_model_data.go index cb7f22aa0..0610d53a8 100644 --- a/api/model_market_data_relationships_subscription_model_data.go +++ b/api/model_market_data_relationships_subscription_model_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_market_data_relationships_tax_calculator.go b/api/model_market_data_relationships_tax_calculator.go index b31e9a85d..739193968 100644 --- a/api/model_market_data_relationships_tax_calculator.go +++ b/api/model_market_data_relationships_tax_calculator.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_market_data_relationships_tax_calculator_data.go b/api/model_market_data_relationships_tax_calculator_data.go index 603724a8f..f70e6bef8 100644 --- a/api/model_market_data_relationships_tax_calculator_data.go +++ b/api/model_market_data_relationships_tax_calculator_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_market_update.go b/api/model_market_update.go index c2d8f16d5..0afc6b48e 100644 --- a/api/model_market_update.go +++ b/api/model_market_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_market_update_data.go b/api/model_market_update_data.go index e0d584018..8b9cb1cde 100644 --- a/api/model_market_update_data.go +++ b/api/model_market_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_market_update_data_relationships.go b/api/model_market_update_data_relationships.go index 7e2f68bab..1eeca8f68 100644 --- a/api/model_market_update_data_relationships.go +++ b/api/model_market_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_merchant.go b/api/model_merchant.go index f26feb0cb..60d94cc15 100644 --- a/api/model_merchant.go +++ b/api/model_merchant.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_merchant_create.go b/api/model_merchant_create.go index 038b54657..e504f6add 100644 --- a/api/model_merchant_create.go +++ b/api/model_merchant_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_merchant_create_data.go b/api/model_merchant_create_data.go index f880e6b4e..378a9c2b2 100644 --- a/api/model_merchant_create_data.go +++ b/api/model_merchant_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_merchant_create_data_relationships.go b/api/model_merchant_create_data_relationships.go index 433894c24..0d753f3e4 100644 --- a/api/model_merchant_create_data_relationships.go +++ b/api/model_merchant_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_merchant_data.go b/api/model_merchant_data.go index cdd99d0ec..92d241649 100644 --- a/api/model_merchant_data.go +++ b/api/model_merchant_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_merchant_data_relationships.go b/api/model_merchant_data_relationships.go index 1aa06d8ac..923ac4f76 100644 --- a/api/model_merchant_data_relationships.go +++ b/api/model_merchant_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_merchant_update.go b/api/model_merchant_update.go index f4c4bc0a8..eb62dc5bd 100644 --- a/api/model_merchant_update.go +++ b/api/model_merchant_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_merchant_update_data.go b/api/model_merchant_update_data.go index bd537d16f..748523017 100644 --- a/api/model_merchant_update_data.go +++ b/api/model_merchant_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_merchant_update_data_relationships.go b/api/model_merchant_update_data_relationships.go index de4a8e331..5fbf9c2ae 100644 --- a/api/model_merchant_update_data_relationships.go +++ b/api/model_merchant_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_notification.go b/api/model_notification.go new file mode 100644 index 000000000..0074df46e --- /dev/null +++ b/api/model_notification.go @@ -0,0 +1,125 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the Notification type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Notification{} + +// Notification struct for Notification +type Notification struct { + Data *NotificationData `json:"data,omitempty"` +} + +// NewNotification instantiates a new Notification object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewNotification() *Notification { + this := Notification{} + return &this +} + +// NewNotificationWithDefaults instantiates a new Notification object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewNotificationWithDefaults() *Notification { + this := Notification{} + return &this +} + +// GetData returns the Data field value if set, zero value otherwise. +func (o *Notification) GetData() NotificationData { + if o == nil || IsNil(o.Data) { + var ret NotificationData + return ret + } + return *o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Notification) GetDataOk() (*NotificationData, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *Notification) HasData() bool { + if o != nil && !IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given NotificationData and assigns it to the Data field. +func (o *Notification) SetData(v NotificationData) { + o.Data = &v +} + +func (o Notification) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Notification) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Data) { + toSerialize["data"] = o.Data + } + return toSerialize, nil +} + +type NullableNotification struct { + value *Notification + isSet bool +} + +func (v NullableNotification) Get() *Notification { + return v.value +} + +func (v *NullableNotification) Set(val *Notification) { + v.value = val + v.isSet = true +} + +func (v NullableNotification) IsSet() bool { + return v.isSet +} + +func (v *NullableNotification) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNotification(val *Notification) *NullableNotification { + return &NullableNotification{value: val, isSet: true} +} + +func (v NullableNotification) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNotification) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_notification_create.go b/api/model_notification_create.go new file mode 100644 index 000000000..7d6262395 --- /dev/null +++ b/api/model_notification_create.go @@ -0,0 +1,116 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the NotificationCreate type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NotificationCreate{} + +// NotificationCreate struct for NotificationCreate +type NotificationCreate struct { + Data NotificationCreateData `json:"data"` +} + +// NewNotificationCreate instantiates a new NotificationCreate object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewNotificationCreate(data NotificationCreateData) *NotificationCreate { + this := NotificationCreate{} + this.Data = data + return &this +} + +// NewNotificationCreateWithDefaults instantiates a new NotificationCreate object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewNotificationCreateWithDefaults() *NotificationCreate { + this := NotificationCreate{} + return &this +} + +// GetData returns the Data field value +func (o *NotificationCreate) GetData() NotificationCreateData { + if o == nil { + var ret NotificationCreateData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *NotificationCreate) GetDataOk() (*NotificationCreateData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *NotificationCreate) SetData(v NotificationCreateData) { + o.Data = v +} + +func (o NotificationCreate) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NotificationCreate) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["data"] = o.Data + return toSerialize, nil +} + +type NullableNotificationCreate struct { + value *NotificationCreate + isSet bool +} + +func (v NullableNotificationCreate) Get() *NotificationCreate { + return v.value +} + +func (v *NullableNotificationCreate) Set(val *NotificationCreate) { + v.value = val + v.isSet = true +} + +func (v NullableNotificationCreate) IsSet() bool { + return v.isSet +} + +func (v *NullableNotificationCreate) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNotificationCreate(val *NotificationCreate) *NullableNotificationCreate { + return &NullableNotificationCreate{value: val, isSet: true} +} + +func (v NullableNotificationCreate) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNotificationCreate) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_notification_create_data.go b/api/model_notification_create_data.go new file mode 100644 index 000000000..0f92971f7 --- /dev/null +++ b/api/model_notification_create_data.go @@ -0,0 +1,184 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the NotificationCreateData type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NotificationCreateData{} + +// NotificationCreateData struct for NotificationCreateData +type NotificationCreateData struct { + // The resource's type + Type interface{} `json:"type"` + Attributes POSTNotifications201ResponseDataAttributes `json:"attributes"` + Relationships *NotificationCreateDataRelationships `json:"relationships,omitempty"` +} + +// NewNotificationCreateData instantiates a new NotificationCreateData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewNotificationCreateData(type_ interface{}, attributes POSTNotifications201ResponseDataAttributes) *NotificationCreateData { + this := NotificationCreateData{} + this.Type = type_ + this.Attributes = attributes + return &this +} + +// NewNotificationCreateDataWithDefaults instantiates a new NotificationCreateData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewNotificationCreateDataWithDefaults() *NotificationCreateData { + this := NotificationCreateData{} + return &this +} + +// GetType returns the Type field value +// If the value is explicit nil, the zero value for interface{} will be returned +func (o *NotificationCreateData) GetType() interface{} { + if o == nil { + var ret interface{} + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NotificationCreateData) GetTypeOk() (*interface{}, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *NotificationCreateData) SetType(v interface{}) { + o.Type = v +} + +// GetAttributes returns the Attributes field value +func (o *NotificationCreateData) GetAttributes() POSTNotifications201ResponseDataAttributes { + if o == nil { + var ret POSTNotifications201ResponseDataAttributes + return ret + } + + return o.Attributes +} + +// GetAttributesOk returns a tuple with the Attributes field value +// and a boolean to check if the value has been set. +func (o *NotificationCreateData) GetAttributesOk() (*POSTNotifications201ResponseDataAttributes, bool) { + if o == nil { + return nil, false + } + return &o.Attributes, true +} + +// SetAttributes sets field value +func (o *NotificationCreateData) SetAttributes(v POSTNotifications201ResponseDataAttributes) { + o.Attributes = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *NotificationCreateData) GetRelationships() NotificationCreateDataRelationships { + if o == nil || IsNil(o.Relationships) { + var ret NotificationCreateDataRelationships + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationCreateData) GetRelationshipsOk() (*NotificationCreateDataRelationships, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *NotificationCreateData) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given NotificationCreateDataRelationships and assigns it to the Relationships field. +func (o *NotificationCreateData) SetRelationships(v NotificationCreateDataRelationships) { + o.Relationships = &v +} + +func (o NotificationCreateData) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NotificationCreateData) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Type != nil { + toSerialize["type"] = o.Type + } + toSerialize["attributes"] = o.Attributes + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + return toSerialize, nil +} + +type NullableNotificationCreateData struct { + value *NotificationCreateData + isSet bool +} + +func (v NullableNotificationCreateData) Get() *NotificationCreateData { + return v.value +} + +func (v *NullableNotificationCreateData) Set(val *NotificationCreateData) { + v.value = val + v.isSet = true +} + +func (v NullableNotificationCreateData) IsSet() bool { + return v.isSet +} + +func (v *NullableNotificationCreateData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNotificationCreateData(val *NotificationCreateData) *NullableNotificationCreateData { + return &NullableNotificationCreateData{value: val, isSet: true} +} + +func (v NullableNotificationCreateData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNotificationCreateData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_notification_create_data_relationships.go b/api/model_notification_create_data_relationships.go new file mode 100644 index 000000000..5be37449d --- /dev/null +++ b/api/model_notification_create_data_relationships.go @@ -0,0 +1,116 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the NotificationCreateDataRelationships type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NotificationCreateDataRelationships{} + +// NotificationCreateDataRelationships struct for NotificationCreateDataRelationships +type NotificationCreateDataRelationships struct { + Notifiable NotificationCreateDataRelationshipsNotifiable `json:"notifiable"` +} + +// NewNotificationCreateDataRelationships instantiates a new NotificationCreateDataRelationships object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewNotificationCreateDataRelationships(notifiable NotificationCreateDataRelationshipsNotifiable) *NotificationCreateDataRelationships { + this := NotificationCreateDataRelationships{} + this.Notifiable = notifiable + return &this +} + +// NewNotificationCreateDataRelationshipsWithDefaults instantiates a new NotificationCreateDataRelationships object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewNotificationCreateDataRelationshipsWithDefaults() *NotificationCreateDataRelationships { + this := NotificationCreateDataRelationships{} + return &this +} + +// GetNotifiable returns the Notifiable field value +func (o *NotificationCreateDataRelationships) GetNotifiable() NotificationCreateDataRelationshipsNotifiable { + if o == nil { + var ret NotificationCreateDataRelationshipsNotifiable + return ret + } + + return o.Notifiable +} + +// GetNotifiableOk returns a tuple with the Notifiable field value +// and a boolean to check if the value has been set. +func (o *NotificationCreateDataRelationships) GetNotifiableOk() (*NotificationCreateDataRelationshipsNotifiable, bool) { + if o == nil { + return nil, false + } + return &o.Notifiable, true +} + +// SetNotifiable sets field value +func (o *NotificationCreateDataRelationships) SetNotifiable(v NotificationCreateDataRelationshipsNotifiable) { + o.Notifiable = v +} + +func (o NotificationCreateDataRelationships) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NotificationCreateDataRelationships) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["notifiable"] = o.Notifiable + return toSerialize, nil +} + +type NullableNotificationCreateDataRelationships struct { + value *NotificationCreateDataRelationships + isSet bool +} + +func (v NullableNotificationCreateDataRelationships) Get() *NotificationCreateDataRelationships { + return v.value +} + +func (v *NullableNotificationCreateDataRelationships) Set(val *NotificationCreateDataRelationships) { + v.value = val + v.isSet = true +} + +func (v NullableNotificationCreateDataRelationships) IsSet() bool { + return v.isSet +} + +func (v *NullableNotificationCreateDataRelationships) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNotificationCreateDataRelationships(val *NotificationCreateDataRelationships) *NullableNotificationCreateDataRelationships { + return &NullableNotificationCreateDataRelationships{value: val, isSet: true} +} + +func (v NullableNotificationCreateDataRelationships) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNotificationCreateDataRelationships) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_notification_create_data_relationships_notifiable.go b/api/model_notification_create_data_relationships_notifiable.go new file mode 100644 index 000000000..8777fae76 --- /dev/null +++ b/api/model_notification_create_data_relationships_notifiable.go @@ -0,0 +1,116 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the NotificationCreateDataRelationshipsNotifiable type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NotificationCreateDataRelationshipsNotifiable{} + +// NotificationCreateDataRelationshipsNotifiable struct for NotificationCreateDataRelationshipsNotifiable +type NotificationCreateDataRelationshipsNotifiable struct { + Data NotificationDataRelationshipsNotifiableData `json:"data"` +} + +// NewNotificationCreateDataRelationshipsNotifiable instantiates a new NotificationCreateDataRelationshipsNotifiable object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewNotificationCreateDataRelationshipsNotifiable(data NotificationDataRelationshipsNotifiableData) *NotificationCreateDataRelationshipsNotifiable { + this := NotificationCreateDataRelationshipsNotifiable{} + this.Data = data + return &this +} + +// NewNotificationCreateDataRelationshipsNotifiableWithDefaults instantiates a new NotificationCreateDataRelationshipsNotifiable object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewNotificationCreateDataRelationshipsNotifiableWithDefaults() *NotificationCreateDataRelationshipsNotifiable { + this := NotificationCreateDataRelationshipsNotifiable{} + return &this +} + +// GetData returns the Data field value +func (o *NotificationCreateDataRelationshipsNotifiable) GetData() NotificationDataRelationshipsNotifiableData { + if o == nil { + var ret NotificationDataRelationshipsNotifiableData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *NotificationCreateDataRelationshipsNotifiable) GetDataOk() (*NotificationDataRelationshipsNotifiableData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *NotificationCreateDataRelationshipsNotifiable) SetData(v NotificationDataRelationshipsNotifiableData) { + o.Data = v +} + +func (o NotificationCreateDataRelationshipsNotifiable) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NotificationCreateDataRelationshipsNotifiable) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["data"] = o.Data + return toSerialize, nil +} + +type NullableNotificationCreateDataRelationshipsNotifiable struct { + value *NotificationCreateDataRelationshipsNotifiable + isSet bool +} + +func (v NullableNotificationCreateDataRelationshipsNotifiable) Get() *NotificationCreateDataRelationshipsNotifiable { + return v.value +} + +func (v *NullableNotificationCreateDataRelationshipsNotifiable) Set(val *NotificationCreateDataRelationshipsNotifiable) { + v.value = val + v.isSet = true +} + +func (v NullableNotificationCreateDataRelationshipsNotifiable) IsSet() bool { + return v.isSet +} + +func (v *NullableNotificationCreateDataRelationshipsNotifiable) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNotificationCreateDataRelationshipsNotifiable(val *NotificationCreateDataRelationshipsNotifiable) *NullableNotificationCreateDataRelationshipsNotifiable { + return &NullableNotificationCreateDataRelationshipsNotifiable{value: val, isSet: true} +} + +func (v NullableNotificationCreateDataRelationshipsNotifiable) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNotificationCreateDataRelationshipsNotifiable) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_notification_data.go b/api/model_notification_data.go new file mode 100644 index 000000000..3c6d607ab --- /dev/null +++ b/api/model_notification_data.go @@ -0,0 +1,184 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the NotificationData type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NotificationData{} + +// NotificationData struct for NotificationData +type NotificationData struct { + // The resource's type + Type interface{} `json:"type"` + Attributes GETNotificationsNotificationId200ResponseDataAttributes `json:"attributes"` + Relationships *NotificationDataRelationships `json:"relationships,omitempty"` +} + +// NewNotificationData instantiates a new NotificationData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewNotificationData(type_ interface{}, attributes GETNotificationsNotificationId200ResponseDataAttributes) *NotificationData { + this := NotificationData{} + this.Type = type_ + this.Attributes = attributes + return &this +} + +// NewNotificationDataWithDefaults instantiates a new NotificationData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewNotificationDataWithDefaults() *NotificationData { + this := NotificationData{} + return &this +} + +// GetType returns the Type field value +// If the value is explicit nil, the zero value for interface{} will be returned +func (o *NotificationData) GetType() interface{} { + if o == nil { + var ret interface{} + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NotificationData) GetTypeOk() (*interface{}, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *NotificationData) SetType(v interface{}) { + o.Type = v +} + +// GetAttributes returns the Attributes field value +func (o *NotificationData) GetAttributes() GETNotificationsNotificationId200ResponseDataAttributes { + if o == nil { + var ret GETNotificationsNotificationId200ResponseDataAttributes + return ret + } + + return o.Attributes +} + +// GetAttributesOk returns a tuple with the Attributes field value +// and a boolean to check if the value has been set. +func (o *NotificationData) GetAttributesOk() (*GETNotificationsNotificationId200ResponseDataAttributes, bool) { + if o == nil { + return nil, false + } + return &o.Attributes, true +} + +// SetAttributes sets field value +func (o *NotificationData) SetAttributes(v GETNotificationsNotificationId200ResponseDataAttributes) { + o.Attributes = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *NotificationData) GetRelationships() NotificationDataRelationships { + if o == nil || IsNil(o.Relationships) { + var ret NotificationDataRelationships + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationData) GetRelationshipsOk() (*NotificationDataRelationships, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *NotificationData) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given NotificationDataRelationships and assigns it to the Relationships field. +func (o *NotificationData) SetRelationships(v NotificationDataRelationships) { + o.Relationships = &v +} + +func (o NotificationData) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NotificationData) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Type != nil { + toSerialize["type"] = o.Type + } + toSerialize["attributes"] = o.Attributes + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + return toSerialize, nil +} + +type NullableNotificationData struct { + value *NotificationData + isSet bool +} + +func (v NullableNotificationData) Get() *NotificationData { + return v.value +} + +func (v *NullableNotificationData) Set(val *NotificationData) { + v.value = val + v.isSet = true +} + +func (v NullableNotificationData) IsSet() bool { + return v.isSet +} + +func (v *NullableNotificationData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNotificationData(val *NotificationData) *NullableNotificationData { + return &NullableNotificationData{value: val, isSet: true} +} + +func (v NullableNotificationData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNotificationData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_notification_data_relationships.go b/api/model_notification_data_relationships.go new file mode 100644 index 000000000..b378ba8c4 --- /dev/null +++ b/api/model_notification_data_relationships.go @@ -0,0 +1,125 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the NotificationDataRelationships type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NotificationDataRelationships{} + +// NotificationDataRelationships struct for NotificationDataRelationships +type NotificationDataRelationships struct { + Notifiable *NotificationDataRelationshipsNotifiable `json:"notifiable,omitempty"` +} + +// NewNotificationDataRelationships instantiates a new NotificationDataRelationships object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewNotificationDataRelationships() *NotificationDataRelationships { + this := NotificationDataRelationships{} + return &this +} + +// NewNotificationDataRelationshipsWithDefaults instantiates a new NotificationDataRelationships object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewNotificationDataRelationshipsWithDefaults() *NotificationDataRelationships { + this := NotificationDataRelationships{} + return &this +} + +// GetNotifiable returns the Notifiable field value if set, zero value otherwise. +func (o *NotificationDataRelationships) GetNotifiable() NotificationDataRelationshipsNotifiable { + if o == nil || IsNil(o.Notifiable) { + var ret NotificationDataRelationshipsNotifiable + return ret + } + return *o.Notifiable +} + +// GetNotifiableOk returns a tuple with the Notifiable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationDataRelationships) GetNotifiableOk() (*NotificationDataRelationshipsNotifiable, bool) { + if o == nil || IsNil(o.Notifiable) { + return nil, false + } + return o.Notifiable, true +} + +// HasNotifiable returns a boolean if a field has been set. +func (o *NotificationDataRelationships) HasNotifiable() bool { + if o != nil && !IsNil(o.Notifiable) { + return true + } + + return false +} + +// SetNotifiable gets a reference to the given NotificationDataRelationshipsNotifiable and assigns it to the Notifiable field. +func (o *NotificationDataRelationships) SetNotifiable(v NotificationDataRelationshipsNotifiable) { + o.Notifiable = &v +} + +func (o NotificationDataRelationships) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NotificationDataRelationships) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Notifiable) { + toSerialize["notifiable"] = o.Notifiable + } + return toSerialize, nil +} + +type NullableNotificationDataRelationships struct { + value *NotificationDataRelationships + isSet bool +} + +func (v NullableNotificationDataRelationships) Get() *NotificationDataRelationships { + return v.value +} + +func (v *NullableNotificationDataRelationships) Set(val *NotificationDataRelationships) { + v.value = val + v.isSet = true +} + +func (v NullableNotificationDataRelationships) IsSet() bool { + return v.isSet +} + +func (v *NullableNotificationDataRelationships) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNotificationDataRelationships(val *NotificationDataRelationships) *NullableNotificationDataRelationships { + return &NullableNotificationDataRelationships{value: val, isSet: true} +} + +func (v NullableNotificationDataRelationships) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNotificationDataRelationships) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_notification_data_relationships_notifiable.go b/api/model_notification_data_relationships_notifiable.go new file mode 100644 index 000000000..0bac6a6a7 --- /dev/null +++ b/api/model_notification_data_relationships_notifiable.go @@ -0,0 +1,125 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the NotificationDataRelationshipsNotifiable type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NotificationDataRelationshipsNotifiable{} + +// NotificationDataRelationshipsNotifiable struct for NotificationDataRelationshipsNotifiable +type NotificationDataRelationshipsNotifiable struct { + Data *NotificationDataRelationshipsNotifiableData `json:"data,omitempty"` +} + +// NewNotificationDataRelationshipsNotifiable instantiates a new NotificationDataRelationshipsNotifiable object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewNotificationDataRelationshipsNotifiable() *NotificationDataRelationshipsNotifiable { + this := NotificationDataRelationshipsNotifiable{} + return &this +} + +// NewNotificationDataRelationshipsNotifiableWithDefaults instantiates a new NotificationDataRelationshipsNotifiable object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewNotificationDataRelationshipsNotifiableWithDefaults() *NotificationDataRelationshipsNotifiable { + this := NotificationDataRelationshipsNotifiable{} + return &this +} + +// GetData returns the Data field value if set, zero value otherwise. +func (o *NotificationDataRelationshipsNotifiable) GetData() NotificationDataRelationshipsNotifiableData { + if o == nil || IsNil(o.Data) { + var ret NotificationDataRelationshipsNotifiableData + return ret + } + return *o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationDataRelationshipsNotifiable) GetDataOk() (*NotificationDataRelationshipsNotifiableData, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *NotificationDataRelationshipsNotifiable) HasData() bool { + if o != nil && !IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given NotificationDataRelationshipsNotifiableData and assigns it to the Data field. +func (o *NotificationDataRelationshipsNotifiable) SetData(v NotificationDataRelationshipsNotifiableData) { + o.Data = &v +} + +func (o NotificationDataRelationshipsNotifiable) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NotificationDataRelationshipsNotifiable) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Data) { + toSerialize["data"] = o.Data + } + return toSerialize, nil +} + +type NullableNotificationDataRelationshipsNotifiable struct { + value *NotificationDataRelationshipsNotifiable + isSet bool +} + +func (v NullableNotificationDataRelationshipsNotifiable) Get() *NotificationDataRelationshipsNotifiable { + return v.value +} + +func (v *NullableNotificationDataRelationshipsNotifiable) Set(val *NotificationDataRelationshipsNotifiable) { + v.value = val + v.isSet = true +} + +func (v NullableNotificationDataRelationshipsNotifiable) IsSet() bool { + return v.isSet +} + +func (v *NullableNotificationDataRelationshipsNotifiable) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNotificationDataRelationshipsNotifiable(val *NotificationDataRelationshipsNotifiable) *NullableNotificationDataRelationshipsNotifiable { + return &NullableNotificationDataRelationshipsNotifiable{value: val, isSet: true} +} + +func (v NullableNotificationDataRelationshipsNotifiable) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNotificationDataRelationshipsNotifiable) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_notification_data_relationships_notifiable_data.go b/api/model_notification_data_relationships_notifiable_data.go new file mode 100644 index 000000000..eded2483a --- /dev/null +++ b/api/model_notification_data_relationships_notifiable_data.go @@ -0,0 +1,165 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the NotificationDataRelationshipsNotifiableData type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NotificationDataRelationshipsNotifiableData{} + +// NotificationDataRelationshipsNotifiableData struct for NotificationDataRelationshipsNotifiableData +type NotificationDataRelationshipsNotifiableData struct { + // The resource's type + Type interface{} `json:"type,omitempty"` + // The resource's id + Id interface{} `json:"id,omitempty"` +} + +// NewNotificationDataRelationshipsNotifiableData instantiates a new NotificationDataRelationshipsNotifiableData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewNotificationDataRelationshipsNotifiableData() *NotificationDataRelationshipsNotifiableData { + this := NotificationDataRelationshipsNotifiableData{} + return &this +} + +// NewNotificationDataRelationshipsNotifiableDataWithDefaults instantiates a new NotificationDataRelationshipsNotifiableData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewNotificationDataRelationshipsNotifiableDataWithDefaults() *NotificationDataRelationshipsNotifiableData { + this := NotificationDataRelationshipsNotifiableData{} + return &this +} + +// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NotificationDataRelationshipsNotifiableData) GetType() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NotificationDataRelationshipsNotifiableData) GetTypeOk() (*interface{}, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return &o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *NotificationDataRelationshipsNotifiableData) HasType() bool { + if o != nil && IsNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given interface{} and assigns it to the Type field. +func (o *NotificationDataRelationshipsNotifiableData) SetType(v interface{}) { + o.Type = v +} + +// GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NotificationDataRelationshipsNotifiableData) GetId() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NotificationDataRelationshipsNotifiableData) GetIdOk() (*interface{}, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return &o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NotificationDataRelationshipsNotifiableData) HasId() bool { + if o != nil && IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given interface{} and assigns it to the Id field. +func (o *NotificationDataRelationshipsNotifiableData) SetId(v interface{}) { + o.Id = v +} + +func (o NotificationDataRelationshipsNotifiableData) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NotificationDataRelationshipsNotifiableData) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Type != nil { + toSerialize["type"] = o.Type + } + if o.Id != nil { + toSerialize["id"] = o.Id + } + return toSerialize, nil +} + +type NullableNotificationDataRelationshipsNotifiableData struct { + value *NotificationDataRelationshipsNotifiableData + isSet bool +} + +func (v NullableNotificationDataRelationshipsNotifiableData) Get() *NotificationDataRelationshipsNotifiableData { + return v.value +} + +func (v *NullableNotificationDataRelationshipsNotifiableData) Set(val *NotificationDataRelationshipsNotifiableData) { + v.value = val + v.isSet = true +} + +func (v NullableNotificationDataRelationshipsNotifiableData) IsSet() bool { + return v.isSet +} + +func (v *NullableNotificationDataRelationshipsNotifiableData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNotificationDataRelationshipsNotifiableData(val *NotificationDataRelationshipsNotifiableData) *NullableNotificationDataRelationshipsNotifiableData { + return &NullableNotificationDataRelationshipsNotifiableData{value: val, isSet: true} +} + +func (v NullableNotificationDataRelationshipsNotifiableData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNotificationDataRelationshipsNotifiableData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_notification_update.go b/api/model_notification_update.go new file mode 100644 index 000000000..ea944b922 --- /dev/null +++ b/api/model_notification_update.go @@ -0,0 +1,116 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the NotificationUpdate type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NotificationUpdate{} + +// NotificationUpdate struct for NotificationUpdate +type NotificationUpdate struct { + Data NotificationUpdateData `json:"data"` +} + +// NewNotificationUpdate instantiates a new NotificationUpdate object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewNotificationUpdate(data NotificationUpdateData) *NotificationUpdate { + this := NotificationUpdate{} + this.Data = data + return &this +} + +// NewNotificationUpdateWithDefaults instantiates a new NotificationUpdate object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewNotificationUpdateWithDefaults() *NotificationUpdate { + this := NotificationUpdate{} + return &this +} + +// GetData returns the Data field value +func (o *NotificationUpdate) GetData() NotificationUpdateData { + if o == nil { + var ret NotificationUpdateData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *NotificationUpdate) GetDataOk() (*NotificationUpdateData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *NotificationUpdate) SetData(v NotificationUpdateData) { + o.Data = v +} + +func (o NotificationUpdate) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NotificationUpdate) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["data"] = o.Data + return toSerialize, nil +} + +type NullableNotificationUpdate struct { + value *NotificationUpdate + isSet bool +} + +func (v NullableNotificationUpdate) Get() *NotificationUpdate { + return v.value +} + +func (v *NullableNotificationUpdate) Set(val *NotificationUpdate) { + v.value = val + v.isSet = true +} + +func (v NullableNotificationUpdate) IsSet() bool { + return v.isSet +} + +func (v *NullableNotificationUpdate) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNotificationUpdate(val *NotificationUpdate) *NullableNotificationUpdate { + return &NullableNotificationUpdate{value: val, isSet: true} +} + +func (v NullableNotificationUpdate) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNotificationUpdate) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_notification_update_data.go b/api/model_notification_update_data.go new file mode 100644 index 000000000..9e61a4057 --- /dev/null +++ b/api/model_notification_update_data.go @@ -0,0 +1,216 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the NotificationUpdateData type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NotificationUpdateData{} + +// NotificationUpdateData struct for NotificationUpdateData +type NotificationUpdateData struct { + // The resource's type + Type interface{} `json:"type"` + // The resource's id + Id interface{} `json:"id"` + Attributes PATCHNotificationsNotificationId200ResponseDataAttributes `json:"attributes"` + Relationships *NotificationUpdateDataRelationships `json:"relationships,omitempty"` +} + +// NewNotificationUpdateData instantiates a new NotificationUpdateData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewNotificationUpdateData(type_ interface{}, id interface{}, attributes PATCHNotificationsNotificationId200ResponseDataAttributes) *NotificationUpdateData { + this := NotificationUpdateData{} + this.Type = type_ + this.Id = id + this.Attributes = attributes + return &this +} + +// NewNotificationUpdateDataWithDefaults instantiates a new NotificationUpdateData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewNotificationUpdateDataWithDefaults() *NotificationUpdateData { + this := NotificationUpdateData{} + return &this +} + +// GetType returns the Type field value +// If the value is explicit nil, the zero value for interface{} will be returned +func (o *NotificationUpdateData) GetType() interface{} { + if o == nil { + var ret interface{} + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NotificationUpdateData) GetTypeOk() (*interface{}, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *NotificationUpdateData) SetType(v interface{}) { + o.Type = v +} + +// GetId returns the Id field value +// If the value is explicit nil, the zero value for interface{} will be returned +func (o *NotificationUpdateData) GetId() interface{} { + if o == nil { + var ret interface{} + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NotificationUpdateData) GetIdOk() (*interface{}, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *NotificationUpdateData) SetId(v interface{}) { + o.Id = v +} + +// GetAttributes returns the Attributes field value +func (o *NotificationUpdateData) GetAttributes() PATCHNotificationsNotificationId200ResponseDataAttributes { + if o == nil { + var ret PATCHNotificationsNotificationId200ResponseDataAttributes + return ret + } + + return o.Attributes +} + +// GetAttributesOk returns a tuple with the Attributes field value +// and a boolean to check if the value has been set. +func (o *NotificationUpdateData) GetAttributesOk() (*PATCHNotificationsNotificationId200ResponseDataAttributes, bool) { + if o == nil { + return nil, false + } + return &o.Attributes, true +} + +// SetAttributes sets field value +func (o *NotificationUpdateData) SetAttributes(v PATCHNotificationsNotificationId200ResponseDataAttributes) { + o.Attributes = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *NotificationUpdateData) GetRelationships() NotificationUpdateDataRelationships { + if o == nil || IsNil(o.Relationships) { + var ret NotificationUpdateDataRelationships + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationUpdateData) GetRelationshipsOk() (*NotificationUpdateDataRelationships, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *NotificationUpdateData) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given NotificationUpdateDataRelationships and assigns it to the Relationships field. +func (o *NotificationUpdateData) SetRelationships(v NotificationUpdateDataRelationships) { + o.Relationships = &v +} + +func (o NotificationUpdateData) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NotificationUpdateData) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Type != nil { + toSerialize["type"] = o.Type + } + if o.Id != nil { + toSerialize["id"] = o.Id + } + toSerialize["attributes"] = o.Attributes + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + return toSerialize, nil +} + +type NullableNotificationUpdateData struct { + value *NotificationUpdateData + isSet bool +} + +func (v NullableNotificationUpdateData) Get() *NotificationUpdateData { + return v.value +} + +func (v *NullableNotificationUpdateData) Set(val *NotificationUpdateData) { + v.value = val + v.isSet = true +} + +func (v NullableNotificationUpdateData) IsSet() bool { + return v.isSet +} + +func (v *NullableNotificationUpdateData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNotificationUpdateData(val *NotificationUpdateData) *NullableNotificationUpdateData { + return &NullableNotificationUpdateData{value: val, isSet: true} +} + +func (v NullableNotificationUpdateData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNotificationUpdateData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_notification_update_data_relationships.go b/api/model_notification_update_data_relationships.go new file mode 100644 index 000000000..69c38c979 --- /dev/null +++ b/api/model_notification_update_data_relationships.go @@ -0,0 +1,125 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the NotificationUpdateDataRelationships type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NotificationUpdateDataRelationships{} + +// NotificationUpdateDataRelationships struct for NotificationUpdateDataRelationships +type NotificationUpdateDataRelationships struct { + Notifiable *NotificationCreateDataRelationshipsNotifiable `json:"notifiable,omitempty"` +} + +// NewNotificationUpdateDataRelationships instantiates a new NotificationUpdateDataRelationships object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewNotificationUpdateDataRelationships() *NotificationUpdateDataRelationships { + this := NotificationUpdateDataRelationships{} + return &this +} + +// NewNotificationUpdateDataRelationshipsWithDefaults instantiates a new NotificationUpdateDataRelationships object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewNotificationUpdateDataRelationshipsWithDefaults() *NotificationUpdateDataRelationships { + this := NotificationUpdateDataRelationships{} + return &this +} + +// GetNotifiable returns the Notifiable field value if set, zero value otherwise. +func (o *NotificationUpdateDataRelationships) GetNotifiable() NotificationCreateDataRelationshipsNotifiable { + if o == nil || IsNil(o.Notifiable) { + var ret NotificationCreateDataRelationshipsNotifiable + return ret + } + return *o.Notifiable +} + +// GetNotifiableOk returns a tuple with the Notifiable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationUpdateDataRelationships) GetNotifiableOk() (*NotificationCreateDataRelationshipsNotifiable, bool) { + if o == nil || IsNil(o.Notifiable) { + return nil, false + } + return o.Notifiable, true +} + +// HasNotifiable returns a boolean if a field has been set. +func (o *NotificationUpdateDataRelationships) HasNotifiable() bool { + if o != nil && !IsNil(o.Notifiable) { + return true + } + + return false +} + +// SetNotifiable gets a reference to the given NotificationCreateDataRelationshipsNotifiable and assigns it to the Notifiable field. +func (o *NotificationUpdateDataRelationships) SetNotifiable(v NotificationCreateDataRelationshipsNotifiable) { + o.Notifiable = &v +} + +func (o NotificationUpdateDataRelationships) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NotificationUpdateDataRelationships) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Notifiable) { + toSerialize["notifiable"] = o.Notifiable + } + return toSerialize, nil +} + +type NullableNotificationUpdateDataRelationships struct { + value *NotificationUpdateDataRelationships + isSet bool +} + +func (v NullableNotificationUpdateDataRelationships) Get() *NotificationUpdateDataRelationships { + return v.value +} + +func (v *NullableNotificationUpdateDataRelationships) Set(val *NotificationUpdateDataRelationships) { + v.value = val + v.isSet = true +} + +func (v NullableNotificationUpdateDataRelationships) IsSet() bool { + return v.isSet +} + +func (v *NullableNotificationUpdateDataRelationships) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNotificationUpdateDataRelationships(val *NotificationUpdateDataRelationships) *NullableNotificationUpdateDataRelationships { + return &NullableNotificationUpdateDataRelationships{value: val, isSet: true} +} + +func (v NullableNotificationUpdateDataRelationships) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNotificationUpdateDataRelationships) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_order.go b/api/model_order.go index 163bef518..ae10b874d 100644 --- a/api/model_order.go +++ b/api/model_order.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_amount_promotion_rule.go b/api/model_order_amount_promotion_rule.go index e370d9dc5..73ce4997e 100644 --- a/api/model_order_amount_promotion_rule.go +++ b/api/model_order_amount_promotion_rule.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_amount_promotion_rule_create.go b/api/model_order_amount_promotion_rule_create.go index 9a1fda0f2..c4509bd6f 100644 --- a/api/model_order_amount_promotion_rule_create.go +++ b/api/model_order_amount_promotion_rule_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_amount_promotion_rule_create_data.go b/api/model_order_amount_promotion_rule_create_data.go index e1b039acf..a12255e29 100644 --- a/api/model_order_amount_promotion_rule_create_data.go +++ b/api/model_order_amount_promotion_rule_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_amount_promotion_rule_data.go b/api/model_order_amount_promotion_rule_data.go index 5c8ad8056..337addc08 100644 --- a/api/model_order_amount_promotion_rule_data.go +++ b/api/model_order_amount_promotion_rule_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_amount_promotion_rule_update.go b/api/model_order_amount_promotion_rule_update.go index dc8434a4f..6bf4978fa 100644 --- a/api/model_order_amount_promotion_rule_update.go +++ b/api/model_order_amount_promotion_rule_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_amount_promotion_rule_update_data.go b/api/model_order_amount_promotion_rule_update_data.go index fcee934e6..8c1476516 100644 --- a/api/model_order_amount_promotion_rule_update_data.go +++ b/api/model_order_amount_promotion_rule_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_copy.go b/api/model_order_copy.go index 26b23cf73..fc6db2cf7 100644 --- a/api/model_order_copy.go +++ b/api/model_order_copy.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_copy_create.go b/api/model_order_copy_create.go index 7a1c650ab..39ba53666 100644 --- a/api/model_order_copy_create.go +++ b/api/model_order_copy_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_copy_create_data.go b/api/model_order_copy_create_data.go index faa6bc9a6..e47dc5013 100644 --- a/api/model_order_copy_create_data.go +++ b/api/model_order_copy_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_copy_create_data_relationships.go b/api/model_order_copy_create_data_relationships.go index b74240d47..1934d5252 100644 --- a/api/model_order_copy_create_data_relationships.go +++ b/api/model_order_copy_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_copy_data.go b/api/model_order_copy_data.go index 98f6e7d4a..d895dc4a9 100644 --- a/api/model_order_copy_data.go +++ b/api/model_order_copy_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_copy_data_relationships.go b/api/model_order_copy_data_relationships.go index 35c385bd1..bf534fc78 100644 --- a/api/model_order_copy_data_relationships.go +++ b/api/model_order_copy_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_copy_update.go b/api/model_order_copy_update.go index 352bb3dec..2c06f9531 100644 --- a/api/model_order_copy_update.go +++ b/api/model_order_copy_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_copy_update_data.go b/api/model_order_copy_update_data.go index 4a541fcd1..013bb8f00 100644 --- a/api/model_order_copy_update_data.go +++ b/api/model_order_copy_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -23,16 +23,16 @@ type OrderCopyUpdateData struct { // The resource's type Type interface{} `json:"type"` // The resource's id - Id interface{} `json:"id"` - Attributes PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes `json:"attributes"` - Relationships interface{} `json:"relationships,omitempty"` + Id interface{} `json:"id"` + Attributes PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes `json:"attributes"` + Relationships interface{} `json:"relationships,omitempty"` } // NewOrderCopyUpdateData instantiates a new OrderCopyUpdateData object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewOrderCopyUpdateData(type_ interface{}, id interface{}, attributes PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) *OrderCopyUpdateData { +func NewOrderCopyUpdateData(type_ interface{}, id interface{}, attributes PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) *OrderCopyUpdateData { this := OrderCopyUpdateData{} this.Type = type_ this.Id = id @@ -101,9 +101,9 @@ func (o *OrderCopyUpdateData) SetId(v interface{}) { } // GetAttributes returns the Attributes field value -func (o *OrderCopyUpdateData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes { +func (o *OrderCopyUpdateData) GetAttributes() PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes { if o == nil { - var ret PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes + var ret PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes return ret } @@ -112,7 +112,7 @@ func (o *OrderCopyUpdateData) GetAttributes() PATCHBillingInfoValidationRulesBil // GetAttributesOk returns a tuple with the Attributes field value // and a boolean to check if the value has been set. -func (o *OrderCopyUpdateData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool) { +func (o *OrderCopyUpdateData) GetAttributesOk() (*PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes, bool) { if o == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *OrderCopyUpdateData) GetAttributesOk() (*PATCHBillingInfoValidationRule } // SetAttributes sets field value -func (o *OrderCopyUpdateData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) { +func (o *OrderCopyUpdateData) SetAttributes(v PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) { o.Attributes = v } diff --git a/api/model_order_create.go b/api/model_order_create.go index b0e2d59d7..196d560a7 100644 --- a/api/model_order_create.go +++ b/api/model_order_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_create_data.go b/api/model_order_create_data.go index 4668f1d18..b5ada0960 100644 --- a/api/model_order_create_data.go +++ b/api/model_order_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_create_data_relationships.go b/api/model_order_create_data_relationships.go index b8744ad04..27a664af8 100644 --- a/api/model_order_create_data_relationships.go +++ b/api/model_order_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,10 +20,11 @@ var _ MappedNullable = &OrderCreateDataRelationships{} // OrderCreateDataRelationships struct for OrderCreateDataRelationships type OrderCreateDataRelationships struct { - Market *BillingInfoValidationRuleCreateDataRelationshipsMarket `json:"market,omitempty"` + Market *BundleCreateDataRelationshipsMarket `json:"market,omitempty"` Customer *CouponRecipientCreateDataRelationshipsCustomer `json:"customer,omitempty"` ShippingAddress *CustomerAddressCreateDataRelationshipsAddress `json:"shipping_address,omitempty"` BillingAddress *CustomerAddressCreateDataRelationshipsAddress `json:"billing_address,omitempty"` + Store *OrderCreateDataRelationshipsStore `json:"store,omitempty"` PaymentMethod *CustomerPaymentSourceCreateDataRelationshipsPaymentMethod `json:"payment_method,omitempty"` PaymentSource *CustomerPaymentSourceCreateDataRelationshipsPaymentSource `json:"payment_source,omitempty"` Tags *AddressCreateDataRelationshipsTags `json:"tags,omitempty"` @@ -47,9 +48,9 @@ func NewOrderCreateDataRelationshipsWithDefaults() *OrderCreateDataRelationships } // GetMarket returns the Market field value if set, zero value otherwise. -func (o *OrderCreateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket { +func (o *OrderCreateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket { if o == nil || IsNil(o.Market) { - var ret BillingInfoValidationRuleCreateDataRelationshipsMarket + var ret BundleCreateDataRelationshipsMarket return ret } return *o.Market @@ -57,7 +58,7 @@ func (o *OrderCreateDataRelationships) GetMarket() BillingInfoValidationRuleCrea // GetMarketOk returns a tuple with the Market field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *OrderCreateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool) { +func (o *OrderCreateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool) { if o == nil || IsNil(o.Market) { return nil, false } @@ -73,8 +74,8 @@ func (o *OrderCreateDataRelationships) HasMarket() bool { return false } -// SetMarket gets a reference to the given BillingInfoValidationRuleCreateDataRelationshipsMarket and assigns it to the Market field. -func (o *OrderCreateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket) { +// SetMarket gets a reference to the given BundleCreateDataRelationshipsMarket and assigns it to the Market field. +func (o *OrderCreateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket) { o.Market = &v } @@ -174,6 +175,38 @@ func (o *OrderCreateDataRelationships) SetBillingAddress(v CustomerAddressCreate o.BillingAddress = &v } +// GetStore returns the Store field value if set, zero value otherwise. +func (o *OrderCreateDataRelationships) GetStore() OrderCreateDataRelationshipsStore { + if o == nil || IsNil(o.Store) { + var ret OrderCreateDataRelationshipsStore + return ret + } + return *o.Store +} + +// GetStoreOk returns a tuple with the Store field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrderCreateDataRelationships) GetStoreOk() (*OrderCreateDataRelationshipsStore, bool) { + if o == nil || IsNil(o.Store) { + return nil, false + } + return o.Store, true +} + +// HasStore returns a boolean if a field has been set. +func (o *OrderCreateDataRelationships) HasStore() bool { + if o != nil && !IsNil(o.Store) { + return true + } + + return false +} + +// SetStore gets a reference to the given OrderCreateDataRelationshipsStore and assigns it to the Store field. +func (o *OrderCreateDataRelationships) SetStore(v OrderCreateDataRelationshipsStore) { + o.Store = &v +} + // GetPaymentMethod returns the PaymentMethod field value if set, zero value otherwise. func (o *OrderCreateDataRelationships) GetPaymentMethod() CustomerPaymentSourceCreateDataRelationshipsPaymentMethod { if o == nil || IsNil(o.PaymentMethod) { @@ -292,6 +325,9 @@ func (o OrderCreateDataRelationships) ToMap() (map[string]interface{}, error) { if !IsNil(o.BillingAddress) { toSerialize["billing_address"] = o.BillingAddress } + if !IsNil(o.Store) { + toSerialize["store"] = o.Store + } if !IsNil(o.PaymentMethod) { toSerialize["payment_method"] = o.PaymentMethod } diff --git a/api/model_order_create_data_relationships_store.go b/api/model_order_create_data_relationships_store.go new file mode 100644 index 000000000..2c536d2b1 --- /dev/null +++ b/api/model_order_create_data_relationships_store.go @@ -0,0 +1,116 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the OrderCreateDataRelationshipsStore type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &OrderCreateDataRelationshipsStore{} + +// OrderCreateDataRelationshipsStore struct for OrderCreateDataRelationshipsStore +type OrderCreateDataRelationshipsStore struct { + Data MarketDataRelationshipsStoresData `json:"data"` +} + +// NewOrderCreateDataRelationshipsStore instantiates a new OrderCreateDataRelationshipsStore object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewOrderCreateDataRelationshipsStore(data MarketDataRelationshipsStoresData) *OrderCreateDataRelationshipsStore { + this := OrderCreateDataRelationshipsStore{} + this.Data = data + return &this +} + +// NewOrderCreateDataRelationshipsStoreWithDefaults instantiates a new OrderCreateDataRelationshipsStore object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewOrderCreateDataRelationshipsStoreWithDefaults() *OrderCreateDataRelationshipsStore { + this := OrderCreateDataRelationshipsStore{} + return &this +} + +// GetData returns the Data field value +func (o *OrderCreateDataRelationshipsStore) GetData() MarketDataRelationshipsStoresData { + if o == nil { + var ret MarketDataRelationshipsStoresData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *OrderCreateDataRelationshipsStore) GetDataOk() (*MarketDataRelationshipsStoresData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *OrderCreateDataRelationshipsStore) SetData(v MarketDataRelationshipsStoresData) { + o.Data = v +} + +func (o OrderCreateDataRelationshipsStore) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o OrderCreateDataRelationshipsStore) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["data"] = o.Data + return toSerialize, nil +} + +type NullableOrderCreateDataRelationshipsStore struct { + value *OrderCreateDataRelationshipsStore + isSet bool +} + +func (v NullableOrderCreateDataRelationshipsStore) Get() *OrderCreateDataRelationshipsStore { + return v.value +} + +func (v *NullableOrderCreateDataRelationshipsStore) Set(val *OrderCreateDataRelationshipsStore) { + v.value = val + v.isSet = true +} + +func (v NullableOrderCreateDataRelationshipsStore) IsSet() bool { + return v.isSet +} + +func (v *NullableOrderCreateDataRelationshipsStore) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableOrderCreateDataRelationshipsStore(val *OrderCreateDataRelationshipsStore) *NullableOrderCreateDataRelationshipsStore { + return &NullableOrderCreateDataRelationshipsStore{value: val, isSet: true} +} + +func (v NullableOrderCreateDataRelationshipsStore) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableOrderCreateDataRelationshipsStore) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_order_data.go b/api/model_order_data.go index e689047ff..030fbe84b 100644 --- a/api/model_order_data.go +++ b/api/model_order_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_data_relationships.go b/api/model_order_data_relationships.go index 28215a12d..92a1a844a 100644 --- a/api/model_order_data_relationships.go +++ b/api/model_order_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -24,12 +24,13 @@ type OrderDataRelationships struct { Customer *CouponRecipientDataRelationshipsCustomer `json:"customer,omitempty"` ShippingAddress *BingGeocoderDataRelationshipsAddresses `json:"shipping_address,omitempty"` BillingAddress *BingGeocoderDataRelationshipsAddresses `json:"billing_address,omitempty"` + Store *MarketDataRelationshipsStores `json:"store,omitempty"` AvailablePaymentMethods *AdyenGatewayDataRelationshipsPaymentMethods `json:"available_payment_methods,omitempty"` AvailableCustomerPaymentSources *CustomerDataRelationshipsCustomerPaymentSources `json:"available_customer_payment_sources,omitempty"` AvailableFreeSkus *BundleDataRelationshipsSkus `json:"available_free_skus,omitempty"` AvailableFreeBundles *LineItemDataRelationshipsBundle `json:"available_free_bundles,omitempty"` PaymentMethod *AdyenGatewayDataRelationshipsPaymentMethods `json:"payment_method,omitempty"` - PaymentSource *CustomerPaymentSourceDataRelationshipsPaymentSource `json:"payment_source,omitempty"` + PaymentSource *AuthorizationDataRelationshipsPaymentSource `json:"payment_source,omitempty"` LineItems *LineItemOptionDataRelationshipsLineItem `json:"line_items,omitempty"` LineItemOptions *LineItemDataRelationshipsLineItemOptions `json:"line_item_options,omitempty"` StockReservations *LineItemDataRelationshipsStockReservations `json:"stock_reservations,omitempty"` @@ -49,6 +50,7 @@ type OrderDataRelationships struct { OrderCopies *OrderDataRelationshipsOrderCopies `json:"order_copies,omitempty"` RecurringOrderCopies *OrderSubscriptionDataRelationshipsRecurringOrderCopies `json:"recurring_order_copies,omitempty"` Attachments *AuthorizationDataRelationshipsAttachments `json:"attachments,omitempty"` + Notifications *LineItemDataRelationshipsNotifications `json:"notifications,omitempty"` Links *OrderDataRelationshipsLinks `json:"links,omitempty"` ResourceErrors *OrderDataRelationshipsResourceErrors `json:"resource_errors,omitempty"` Events *AddressDataRelationshipsEvents `json:"events,omitempty"` @@ -201,6 +203,38 @@ func (o *OrderDataRelationships) SetBillingAddress(v BingGeocoderDataRelationshi o.BillingAddress = &v } +// GetStore returns the Store field value if set, zero value otherwise. +func (o *OrderDataRelationships) GetStore() MarketDataRelationshipsStores { + if o == nil || IsNil(o.Store) { + var ret MarketDataRelationshipsStores + return ret + } + return *o.Store +} + +// GetStoreOk returns a tuple with the Store field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrderDataRelationships) GetStoreOk() (*MarketDataRelationshipsStores, bool) { + if o == nil || IsNil(o.Store) { + return nil, false + } + return o.Store, true +} + +// HasStore returns a boolean if a field has been set. +func (o *OrderDataRelationships) HasStore() bool { + if o != nil && !IsNil(o.Store) { + return true + } + + return false +} + +// SetStore gets a reference to the given MarketDataRelationshipsStores and assigns it to the Store field. +func (o *OrderDataRelationships) SetStore(v MarketDataRelationshipsStores) { + o.Store = &v +} + // GetAvailablePaymentMethods returns the AvailablePaymentMethods field value if set, zero value otherwise. func (o *OrderDataRelationships) GetAvailablePaymentMethods() AdyenGatewayDataRelationshipsPaymentMethods { if o == nil || IsNil(o.AvailablePaymentMethods) { @@ -362,9 +396,9 @@ func (o *OrderDataRelationships) SetPaymentMethod(v AdyenGatewayDataRelationship } // GetPaymentSource returns the PaymentSource field value if set, zero value otherwise. -func (o *OrderDataRelationships) GetPaymentSource() CustomerPaymentSourceDataRelationshipsPaymentSource { +func (o *OrderDataRelationships) GetPaymentSource() AuthorizationDataRelationshipsPaymentSource { if o == nil || IsNil(o.PaymentSource) { - var ret CustomerPaymentSourceDataRelationshipsPaymentSource + var ret AuthorizationDataRelationshipsPaymentSource return ret } return *o.PaymentSource @@ -372,7 +406,7 @@ func (o *OrderDataRelationships) GetPaymentSource() CustomerPaymentSourceDataRel // GetPaymentSourceOk returns a tuple with the PaymentSource field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *OrderDataRelationships) GetPaymentSourceOk() (*CustomerPaymentSourceDataRelationshipsPaymentSource, bool) { +func (o *OrderDataRelationships) GetPaymentSourceOk() (*AuthorizationDataRelationshipsPaymentSource, bool) { if o == nil || IsNil(o.PaymentSource) { return nil, false } @@ -388,8 +422,8 @@ func (o *OrderDataRelationships) HasPaymentSource() bool { return false } -// SetPaymentSource gets a reference to the given CustomerPaymentSourceDataRelationshipsPaymentSource and assigns it to the PaymentSource field. -func (o *OrderDataRelationships) SetPaymentSource(v CustomerPaymentSourceDataRelationshipsPaymentSource) { +// SetPaymentSource gets a reference to the given AuthorizationDataRelationshipsPaymentSource and assigns it to the PaymentSource field. +func (o *OrderDataRelationships) SetPaymentSource(v AuthorizationDataRelationshipsPaymentSource) { o.PaymentSource = &v } @@ -1001,6 +1035,38 @@ func (o *OrderDataRelationships) SetAttachments(v AuthorizationDataRelationships o.Attachments = &v } +// GetNotifications returns the Notifications field value if set, zero value otherwise. +func (o *OrderDataRelationships) GetNotifications() LineItemDataRelationshipsNotifications { + if o == nil || IsNil(o.Notifications) { + var ret LineItemDataRelationshipsNotifications + return ret + } + return *o.Notifications +} + +// GetNotificationsOk returns a tuple with the Notifications field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrderDataRelationships) GetNotificationsOk() (*LineItemDataRelationshipsNotifications, bool) { + if o == nil || IsNil(o.Notifications) { + return nil, false + } + return o.Notifications, true +} + +// HasNotifications returns a boolean if a field has been set. +func (o *OrderDataRelationships) HasNotifications() bool { + if o != nil && !IsNil(o.Notifications) { + return true + } + + return false +} + +// SetNotifications gets a reference to the given LineItemDataRelationshipsNotifications and assigns it to the Notifications field. +func (o *OrderDataRelationships) SetNotifications(v LineItemDataRelationshipsNotifications) { + o.Notifications = &v +} + // GetLinks returns the Links field value if set, zero value otherwise. func (o *OrderDataRelationships) GetLinks() OrderDataRelationshipsLinks { if o == nil || IsNil(o.Links) { @@ -1183,6 +1249,9 @@ func (o OrderDataRelationships) ToMap() (map[string]interface{}, error) { if !IsNil(o.BillingAddress) { toSerialize["billing_address"] = o.BillingAddress } + if !IsNil(o.Store) { + toSerialize["store"] = o.Store + } if !IsNil(o.AvailablePaymentMethods) { toSerialize["available_payment_methods"] = o.AvailablePaymentMethods } @@ -1258,6 +1327,9 @@ func (o OrderDataRelationships) ToMap() (map[string]interface{}, error) { if !IsNil(o.Attachments) { toSerialize["attachments"] = o.Attachments } + if !IsNil(o.Notifications) { + toSerialize["notifications"] = o.Notifications + } if !IsNil(o.Links) { toSerialize["links"] = o.Links } diff --git a/api/model_order_data_relationships_links.go b/api/model_order_data_relationships_links.go index ba03a8f81..249facaa9 100644 --- a/api/model_order_data_relationships_links.go +++ b/api/model_order_data_relationships_links.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_data_relationships_links_data.go b/api/model_order_data_relationships_links_data.go index f57d3deda..3205148a1 100644 --- a/api/model_order_data_relationships_links_data.go +++ b/api/model_order_data_relationships_links_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_data_relationships_order_copies.go b/api/model_order_data_relationships_order_copies.go index 4f2bba481..c7b2a4a65 100644 --- a/api/model_order_data_relationships_order_copies.go +++ b/api/model_order_data_relationships_order_copies.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_data_relationships_order_copies_data.go b/api/model_order_data_relationships_order_copies_data.go index 8336abaad..f6a5f8dd7 100644 --- a/api/model_order_data_relationships_order_copies_data.go +++ b/api/model_order_data_relationships_order_copies_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_data_relationships_payment_options.go b/api/model_order_data_relationships_payment_options.go index 500ee291a..183b71100 100644 --- a/api/model_order_data_relationships_payment_options.go +++ b/api/model_order_data_relationships_payment_options.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_data_relationships_payment_options_data.go b/api/model_order_data_relationships_payment_options_data.go index e021151db..e9cda636c 100644 --- a/api/model_order_data_relationships_payment_options_data.go +++ b/api/model_order_data_relationships_payment_options_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_data_relationships_resource_errors.go b/api/model_order_data_relationships_resource_errors.go index 34fcbff73..63fa01e5f 100644 --- a/api/model_order_data_relationships_resource_errors.go +++ b/api/model_order_data_relationships_resource_errors.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_data_relationships_resource_errors_data.go b/api/model_order_data_relationships_resource_errors_data.go index 70ec1c09f..5f50261b0 100644 --- a/api/model_order_data_relationships_resource_errors_data.go +++ b/api/model_order_data_relationships_resource_errors_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_data_relationships_transactions.go b/api/model_order_data_relationships_transactions.go index b967448fd..84b25ea29 100644 --- a/api/model_order_data_relationships_transactions.go +++ b/api/model_order_data_relationships_transactions.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_data_relationships_transactions_data.go b/api/model_order_data_relationships_transactions_data.go index 94b8f0e9d..1bf90cf7d 100644 --- a/api/model_order_data_relationships_transactions_data.go +++ b/api/model_order_data_relationships_transactions_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_factory.go b/api/model_order_factory.go index 889a49740..674642699 100644 --- a/api/model_order_factory.go +++ b/api/model_order_factory.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_factory_data.go b/api/model_order_factory_data.go index 6865ef0a9..e31414e8b 100644 --- a/api/model_order_factory_data.go +++ b/api/model_order_factory_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_factory_data_relationships.go b/api/model_order_factory_data_relationships.go index fcf844283..23d95fbd9 100644 --- a/api/model_order_factory_data_relationships.go +++ b/api/model_order_factory_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_subscription.go b/api/model_order_subscription.go index 6b663ccbf..50338cc1c 100644 --- a/api/model_order_subscription.go +++ b/api/model_order_subscription.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_subscription_create.go b/api/model_order_subscription_create.go index 21cf903e1..2d7f3b620 100644 --- a/api/model_order_subscription_create.go +++ b/api/model_order_subscription_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_subscription_create_data.go b/api/model_order_subscription_create_data.go index cd12aa958..2ee208bef 100644 --- a/api/model_order_subscription_create_data.go +++ b/api/model_order_subscription_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_subscription_create_data_relationships.go b/api/model_order_subscription_create_data_relationships.go index 09b19c325..0f289d8ae 100644 --- a/api/model_order_subscription_create_data_relationships.go +++ b/api/model_order_subscription_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,9 +20,9 @@ var _ MappedNullable = &OrderSubscriptionCreateDataRelationships{} // OrderSubscriptionCreateDataRelationships struct for OrderSubscriptionCreateDataRelationships type OrderSubscriptionCreateDataRelationships struct { - Market *BillingInfoValidationRuleCreateDataRelationshipsMarket `json:"market,omitempty"` - SourceOrder AdyenPaymentCreateDataRelationshipsOrder `json:"source_order"` - Tags *AddressCreateDataRelationshipsTags `json:"tags,omitempty"` + Market *BundleCreateDataRelationshipsMarket `json:"market,omitempty"` + SourceOrder AdyenPaymentCreateDataRelationshipsOrder `json:"source_order"` + Tags *AddressCreateDataRelationshipsTags `json:"tags,omitempty"` } // NewOrderSubscriptionCreateDataRelationships instantiates a new OrderSubscriptionCreateDataRelationships object @@ -44,9 +44,9 @@ func NewOrderSubscriptionCreateDataRelationshipsWithDefaults() *OrderSubscriptio } // GetMarket returns the Market field value if set, zero value otherwise. -func (o *OrderSubscriptionCreateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket { +func (o *OrderSubscriptionCreateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket { if o == nil || IsNil(o.Market) { - var ret BillingInfoValidationRuleCreateDataRelationshipsMarket + var ret BundleCreateDataRelationshipsMarket return ret } return *o.Market @@ -54,7 +54,7 @@ func (o *OrderSubscriptionCreateDataRelationships) GetMarket() BillingInfoValida // GetMarketOk returns a tuple with the Market field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *OrderSubscriptionCreateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool) { +func (o *OrderSubscriptionCreateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool) { if o == nil || IsNil(o.Market) { return nil, false } @@ -70,8 +70,8 @@ func (o *OrderSubscriptionCreateDataRelationships) HasMarket() bool { return false } -// SetMarket gets a reference to the given BillingInfoValidationRuleCreateDataRelationshipsMarket and assigns it to the Market field. -func (o *OrderSubscriptionCreateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket) { +// SetMarket gets a reference to the given BundleCreateDataRelationshipsMarket and assigns it to the Market field. +func (o *OrderSubscriptionCreateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket) { o.Market = &v } diff --git a/api/model_order_subscription_data.go b/api/model_order_subscription_data.go index b9ffe09e7..f4e4a7c78 100644 --- a/api/model_order_subscription_data.go +++ b/api/model_order_subscription_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_subscription_data_relationships.go b/api/model_order_subscription_data_relationships.go index d776df487..2314d1b7d 100644 --- a/api/model_order_subscription_data_relationships.go +++ b/api/model_order_subscription_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_subscription_data_relationships_order_factories.go b/api/model_order_subscription_data_relationships_order_factories.go index 3ce614136..37682a5d2 100644 --- a/api/model_order_subscription_data_relationships_order_factories.go +++ b/api/model_order_subscription_data_relationships_order_factories.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_subscription_data_relationships_order_factories_data.go b/api/model_order_subscription_data_relationships_order_factories_data.go index cf8151f21..4213002e1 100644 --- a/api/model_order_subscription_data_relationships_order_factories_data.go +++ b/api/model_order_subscription_data_relationships_order_factories_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_subscription_data_relationships_order_subscription_items.go b/api/model_order_subscription_data_relationships_order_subscription_items.go index d8a51cb0e..7685f1716 100644 --- a/api/model_order_subscription_data_relationships_order_subscription_items.go +++ b/api/model_order_subscription_data_relationships_order_subscription_items.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_subscription_data_relationships_order_subscription_items_data.go b/api/model_order_subscription_data_relationships_order_subscription_items_data.go index bef0a3674..9a3add3cb 100644 --- a/api/model_order_subscription_data_relationships_order_subscription_items_data.go +++ b/api/model_order_subscription_data_relationships_order_subscription_items_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_subscription_data_relationships_recurring_order_copies.go b/api/model_order_subscription_data_relationships_recurring_order_copies.go index b6383e1e7..99a206231 100644 --- a/api/model_order_subscription_data_relationships_recurring_order_copies.go +++ b/api/model_order_subscription_data_relationships_recurring_order_copies.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_subscription_data_relationships_recurring_order_copies_data.go b/api/model_order_subscription_data_relationships_recurring_order_copies_data.go index 6a8e72c4a..8ef1ee9b4 100644 --- a/api/model_order_subscription_data_relationships_recurring_order_copies_data.go +++ b/api/model_order_subscription_data_relationships_recurring_order_copies_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_subscription_item.go b/api/model_order_subscription_item.go index 79ff3cb70..c5d518599 100644 --- a/api/model_order_subscription_item.go +++ b/api/model_order_subscription_item.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_subscription_item_create.go b/api/model_order_subscription_item_create.go index 9a5ab7e19..c0ae36014 100644 --- a/api/model_order_subscription_item_create.go +++ b/api/model_order_subscription_item_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_subscription_item_create_data.go b/api/model_order_subscription_item_create_data.go index c639628c8..ef0bd158f 100644 --- a/api/model_order_subscription_item_create_data.go +++ b/api/model_order_subscription_item_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_subscription_item_create_data_relationships.go b/api/model_order_subscription_item_create_data_relationships.go index 147761b17..73a5d9aa2 100644 --- a/api/model_order_subscription_item_create_data_relationships.go +++ b/api/model_order_subscription_item_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_subscription_item_create_data_relationships_adjustment.go b/api/model_order_subscription_item_create_data_relationships_adjustment.go index e378665c1..d784ff2c9 100644 --- a/api/model_order_subscription_item_create_data_relationships_adjustment.go +++ b/api/model_order_subscription_item_create_data_relationships_adjustment.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_subscription_item_create_data_relationships_bundle.go b/api/model_order_subscription_item_create_data_relationships_bundle.go index 0276f034e..ec5634755 100644 --- a/api/model_order_subscription_item_create_data_relationships_bundle.go +++ b/api/model_order_subscription_item_create_data_relationships_bundle.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_subscription_item_create_data_relationships_item.go b/api/model_order_subscription_item_create_data_relationships_item.go index 66bc96d44..c77a7869a 100644 --- a/api/model_order_subscription_item_create_data_relationships_item.go +++ b/api/model_order_subscription_item_create_data_relationships_item.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_subscription_item_create_data_relationships_order_subscription.go b/api/model_order_subscription_item_create_data_relationships_order_subscription.go index 1010903d5..8f8f0ad71 100644 --- a/api/model_order_subscription_item_create_data_relationships_order_subscription.go +++ b/api/model_order_subscription_item_create_data_relationships_order_subscription.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_subscription_item_data.go b/api/model_order_subscription_item_data.go index f0637be55..08296c740 100644 --- a/api/model_order_subscription_item_data.go +++ b/api/model_order_subscription_item_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_subscription_item_data_relationships.go b/api/model_order_subscription_item_data_relationships.go index 738b0970e..c268eb922 100644 --- a/api/model_order_subscription_item_data_relationships.go +++ b/api/model_order_subscription_item_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_subscription_item_data_relationships_item.go b/api/model_order_subscription_item_data_relationships_item.go index 86ac826af..99383d2eb 100644 --- a/api/model_order_subscription_item_data_relationships_item.go +++ b/api/model_order_subscription_item_data_relationships_item.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_subscription_item_data_relationships_item_data.go b/api/model_order_subscription_item_data_relationships_item_data.go index cc1238b6b..de6df1f05 100644 --- a/api/model_order_subscription_item_data_relationships_item_data.go +++ b/api/model_order_subscription_item_data_relationships_item_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_subscription_item_update.go b/api/model_order_subscription_item_update.go index e94864511..91d5db4d6 100644 --- a/api/model_order_subscription_item_update.go +++ b/api/model_order_subscription_item_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_subscription_item_update_data.go b/api/model_order_subscription_item_update_data.go index 90b43d640..11a141f3f 100644 --- a/api/model_order_subscription_item_update_data.go +++ b/api/model_order_subscription_item_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_subscription_update.go b/api/model_order_subscription_update.go index 69faf3ab9..4a7538c7d 100644 --- a/api/model_order_subscription_update.go +++ b/api/model_order_subscription_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_subscription_update_data.go b/api/model_order_subscription_update_data.go index c684916a9..8cd9a8b7c 100644 --- a/api/model_order_subscription_update_data.go +++ b/api/model_order_subscription_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_subscription_update_data_relationships.go b/api/model_order_subscription_update_data_relationships.go index cd1058f7c..c41267a07 100644 --- a/api/model_order_subscription_update_data_relationships.go +++ b/api/model_order_subscription_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_subscription_update_data_relationships_customer_payment_source.go b/api/model_order_subscription_update_data_relationships_customer_payment_source.go index 257e5c458..a9708e38e 100644 --- a/api/model_order_subscription_update_data_relationships_customer_payment_source.go +++ b/api/model_order_subscription_update_data_relationships_customer_payment_source.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_update.go b/api/model_order_update.go index 7ed8a4afa..3f731f7bf 100644 --- a/api/model_order_update.go +++ b/api/model_order_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_order_update_data.go b/api/model_order_update_data.go index 8815d0196..5253a2dd5 100644 --- a/api/model_order_update_data.go +++ b/api/model_order_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_organization.go b/api/model_organization.go index 6583c3899..0dd629a47 100644 --- a/api/model_organization.go +++ b/api/model_organization.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_organization_data.go b/api/model_organization_data.go index e59c9d405..2d9f406f4 100644 --- a/api/model_organization_data.go +++ b/api/model_organization_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_package.go b/api/model_package.go index 0d032da69..0f92ab637 100644 --- a/api/model_package.go +++ b/api/model_package.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_package_create.go b/api/model_package_create.go index 3ac1c7434..351f03ec6 100644 --- a/api/model_package_create.go +++ b/api/model_package_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_package_create_data.go b/api/model_package_create_data.go index cf9f2aea6..30fa17304 100644 --- a/api/model_package_create_data.go +++ b/api/model_package_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_package_create_data_relationships.go b/api/model_package_create_data_relationships.go index 6efa4e595..e4017b50c 100644 --- a/api/model_package_create_data_relationships.go +++ b/api/model_package_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_package_data.go b/api/model_package_data.go index 94590ae0a..7399ff4a2 100644 --- a/api/model_package_data.go +++ b/api/model_package_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_package_data_relationships.go b/api/model_package_data_relationships.go index 35c41cfae..ce653ede6 100644 --- a/api/model_package_data_relationships.go +++ b/api/model_package_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_package_data_relationships_parcels.go b/api/model_package_data_relationships_parcels.go index fd1a5354b..87df5f5a7 100644 --- a/api/model_package_data_relationships_parcels.go +++ b/api/model_package_data_relationships_parcels.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_package_data_relationships_parcels_data.go b/api/model_package_data_relationships_parcels_data.go index f085dd0b5..9e0b3f216 100644 --- a/api/model_package_data_relationships_parcels_data.go +++ b/api/model_package_data_relationships_parcels_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_package_update.go b/api/model_package_update.go index b2caaf6cd..7394b79f3 100644 --- a/api/model_package_update.go +++ b/api/model_package_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_package_update_data.go b/api/model_package_update_data.go index 517fca0cf..7b5748845 100644 --- a/api/model_package_update_data.go +++ b/api/model_package_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_package_update_data_relationships.go b/api/model_package_update_data_relationships.go index 08b3528f9..df735e100 100644 --- a/api/model_package_update_data_relationships.go +++ b/api/model_package_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_parcel.go b/api/model_parcel.go index df719c705..f005cb0a8 100644 --- a/api/model_parcel.go +++ b/api/model_parcel.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_parcel_create.go b/api/model_parcel_create.go index 994feceee..c093eba1b 100644 --- a/api/model_parcel_create.go +++ b/api/model_parcel_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_parcel_create_data.go b/api/model_parcel_create_data.go index d8f4db12f..a02911ebf 100644 --- a/api/model_parcel_create_data.go +++ b/api/model_parcel_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_parcel_create_data_relationships.go b/api/model_parcel_create_data_relationships.go index a02e2e154..76c6f39c6 100644 --- a/api/model_parcel_create_data_relationships.go +++ b/api/model_parcel_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_parcel_create_data_relationships_package.go b/api/model_parcel_create_data_relationships_package.go index 23834dc96..0e63b3c72 100644 --- a/api/model_parcel_create_data_relationships_package.go +++ b/api/model_parcel_create_data_relationships_package.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_parcel_create_data_relationships_shipment.go b/api/model_parcel_create_data_relationships_shipment.go index ffcb3646e..1e7c6d4a5 100644 --- a/api/model_parcel_create_data_relationships_shipment.go +++ b/api/model_parcel_create_data_relationships_shipment.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_parcel_data.go b/api/model_parcel_data.go index 5caeec8fb..9c3f95b19 100644 --- a/api/model_parcel_data.go +++ b/api/model_parcel_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_parcel_data_relationships.go b/api/model_parcel_data_relationships.go index 75ddf1f05..dd873ef85 100644 --- a/api/model_parcel_data_relationships.go +++ b/api/model_parcel_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_parcel_data_relationships_package.go b/api/model_parcel_data_relationships_package.go index 758e3cd67..94abee5ba 100644 --- a/api/model_parcel_data_relationships_package.go +++ b/api/model_parcel_data_relationships_package.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_parcel_data_relationships_package_data.go b/api/model_parcel_data_relationships_package_data.go index 4265cf532..68bf96c6e 100644 --- a/api/model_parcel_data_relationships_package_data.go +++ b/api/model_parcel_data_relationships_package_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_parcel_data_relationships_parcel_line_items.go b/api/model_parcel_data_relationships_parcel_line_items.go index 6a01b9979..3b905b984 100644 --- a/api/model_parcel_data_relationships_parcel_line_items.go +++ b/api/model_parcel_data_relationships_parcel_line_items.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_parcel_data_relationships_parcel_line_items_data.go b/api/model_parcel_data_relationships_parcel_line_items_data.go index c5d2910f4..729a287da 100644 --- a/api/model_parcel_data_relationships_parcel_line_items_data.go +++ b/api/model_parcel_data_relationships_parcel_line_items_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_parcel_line_item.go b/api/model_parcel_line_item.go index 67cd441ae..6dd2a2ffd 100644 --- a/api/model_parcel_line_item.go +++ b/api/model_parcel_line_item.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_parcel_line_item_create.go b/api/model_parcel_line_item_create.go index 8853b2cc1..6c14fe2d4 100644 --- a/api/model_parcel_line_item_create.go +++ b/api/model_parcel_line_item_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_parcel_line_item_create_data.go b/api/model_parcel_line_item_create_data.go index e94f49465..1c1d65b3c 100644 --- a/api/model_parcel_line_item_create_data.go +++ b/api/model_parcel_line_item_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_parcel_line_item_create_data_relationships.go b/api/model_parcel_line_item_create_data_relationships.go index 2d1afad17..e1eebc1d9 100644 --- a/api/model_parcel_line_item_create_data_relationships.go +++ b/api/model_parcel_line_item_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_parcel_line_item_create_data_relationships_parcel.go b/api/model_parcel_line_item_create_data_relationships_parcel.go index 69ce9423e..db0a37f86 100644 --- a/api/model_parcel_line_item_create_data_relationships_parcel.go +++ b/api/model_parcel_line_item_create_data_relationships_parcel.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_parcel_line_item_create_data_relationships_stock_line_item.go b/api/model_parcel_line_item_create_data_relationships_stock_line_item.go index 41a7a39b8..4d599ef86 100644 --- a/api/model_parcel_line_item_create_data_relationships_stock_line_item.go +++ b/api/model_parcel_line_item_create_data_relationships_stock_line_item.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_parcel_line_item_data.go b/api/model_parcel_line_item_data.go index 32c342923..0106b6e6c 100644 --- a/api/model_parcel_line_item_data.go +++ b/api/model_parcel_line_item_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_parcel_line_item_data_relationships.go b/api/model_parcel_line_item_data_relationships.go index 37c06f26f..6f893b259 100644 --- a/api/model_parcel_line_item_data_relationships.go +++ b/api/model_parcel_line_item_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_parcel_line_item_update.go b/api/model_parcel_line_item_update.go index b79865350..ce6cb64fb 100644 --- a/api/model_parcel_line_item_update.go +++ b/api/model_parcel_line_item_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_parcel_line_item_update_data.go b/api/model_parcel_line_item_update_data.go index 2b5e16868..64f6ef871 100644 --- a/api/model_parcel_line_item_update_data.go +++ b/api/model_parcel_line_item_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -23,16 +23,16 @@ type ParcelLineItemUpdateData struct { // The resource's type Type interface{} `json:"type"` // The resource's id - Id interface{} `json:"id"` - Attributes PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes `json:"attributes"` - Relationships interface{} `json:"relationships,omitempty"` + Id interface{} `json:"id"` + Attributes PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes `json:"attributes"` + Relationships interface{} `json:"relationships,omitempty"` } // NewParcelLineItemUpdateData instantiates a new ParcelLineItemUpdateData object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewParcelLineItemUpdateData(type_ interface{}, id interface{}, attributes PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) *ParcelLineItemUpdateData { +func NewParcelLineItemUpdateData(type_ interface{}, id interface{}, attributes PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) *ParcelLineItemUpdateData { this := ParcelLineItemUpdateData{} this.Type = type_ this.Id = id @@ -101,9 +101,9 @@ func (o *ParcelLineItemUpdateData) SetId(v interface{}) { } // GetAttributes returns the Attributes field value -func (o *ParcelLineItemUpdateData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes { +func (o *ParcelLineItemUpdateData) GetAttributes() PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes { if o == nil { - var ret PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes + var ret PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes return ret } @@ -112,7 +112,7 @@ func (o *ParcelLineItemUpdateData) GetAttributes() PATCHBillingInfoValidationRul // GetAttributesOk returns a tuple with the Attributes field value // and a boolean to check if the value has been set. -func (o *ParcelLineItemUpdateData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool) { +func (o *ParcelLineItemUpdateData) GetAttributesOk() (*PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes, bool) { if o == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *ParcelLineItemUpdateData) GetAttributesOk() (*PATCHBillingInfoValidatio } // SetAttributes sets field value -func (o *ParcelLineItemUpdateData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) { +func (o *ParcelLineItemUpdateData) SetAttributes(v PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) { o.Attributes = v } diff --git a/api/model_parcel_update.go b/api/model_parcel_update.go index 6d2aae947..931a7a080 100644 --- a/api/model_parcel_update.go +++ b/api/model_parcel_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_parcel_update_data.go b/api/model_parcel_update_data.go index 573d5be91..a4d415aeb 100644 --- a/api/model_parcel_update_data.go +++ b/api/model_parcel_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_parcel_update_data_relationships.go b/api/model_parcel_update_data_relationships.go index 0d5b06843..9f8c215fc 100644 --- a/api/model_parcel_update_data_relationships.go +++ b/api/model_parcel_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_addresses_address_id_200_response.go b/api/model_patch_addresses_address_id_200_response.go index 28711c472..121cf7740 100644 --- a/api/model_patch_addresses_address_id_200_response.go +++ b/api/model_patch_addresses_address_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_addresses_address_id_200_response_data.go b/api/model_patch_addresses_address_id_200_response_data.go index 7030a8a2e..f9a0a1b3b 100644 --- a/api/model_patch_addresses_address_id_200_response_data.go +++ b/api/model_patch_addresses_address_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_addresses_address_id_200_response_data_attributes.go b/api/model_patch_addresses_address_id_200_response_data_attributes.go index 9565fcbae..69bc043b1 100644 --- a/api/model_patch_addresses_address_id_200_response_data_attributes.go +++ b/api/model_patch_addresses_address_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_adjustments_adjustment_id_200_response.go b/api/model_patch_adjustments_adjustment_id_200_response.go index ac201adcb..f7d262f9b 100644 --- a/api/model_patch_adjustments_adjustment_id_200_response.go +++ b/api/model_patch_adjustments_adjustment_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_adjustments_adjustment_id_200_response_data.go b/api/model_patch_adjustments_adjustment_id_200_response_data.go index 988a27678..f094b076d 100644 --- a/api/model_patch_adjustments_adjustment_id_200_response_data.go +++ b/api/model_patch_adjustments_adjustment_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_adjustments_adjustment_id_200_response_data_attributes.go b/api/model_patch_adjustments_adjustment_id_200_response_data_attributes.go index acfe9c708..d1a48fcee 100644 --- a/api/model_patch_adjustments_adjustment_id_200_response_data_attributes.go +++ b/api/model_patch_adjustments_adjustment_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_adyen_gateways_adyen_gateway_id_200_response.go b/api/model_patch_adyen_gateways_adyen_gateway_id_200_response.go index f913623a2..18dc9704f 100644 --- a/api/model_patch_adyen_gateways_adyen_gateway_id_200_response.go +++ b/api/model_patch_adyen_gateways_adyen_gateway_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_adyen_gateways_adyen_gateway_id_200_response_data.go b/api/model_patch_adyen_gateways_adyen_gateway_id_200_response_data.go index c757cc819..08feff991 100644 --- a/api/model_patch_adyen_gateways_adyen_gateway_id_200_response_data.go +++ b/api/model_patch_adyen_gateways_adyen_gateway_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_adyen_gateways_adyen_gateway_id_200_response_data_attributes.go b/api/model_patch_adyen_gateways_adyen_gateway_id_200_response_data_attributes.go index e56a8a2d2..50fa96f94 100644 --- a/api/model_patch_adyen_gateways_adyen_gateway_id_200_response_data_attributes.go +++ b/api/model_patch_adyen_gateways_adyen_gateway_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_adyen_payments_adyen_payment_id_200_response.go b/api/model_patch_adyen_payments_adyen_payment_id_200_response.go index 3cc004d76..fa75b3066 100644 --- a/api/model_patch_adyen_payments_adyen_payment_id_200_response.go +++ b/api/model_patch_adyen_payments_adyen_payment_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_adyen_payments_adyen_payment_id_200_response_data.go b/api/model_patch_adyen_payments_adyen_payment_id_200_response_data.go index 89ad4682c..648d4a0ab 100644 --- a/api/model_patch_adyen_payments_adyen_payment_id_200_response_data.go +++ b/api/model_patch_adyen_payments_adyen_payment_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_adyen_payments_adyen_payment_id_200_response_data_attributes.go b/api/model_patch_adyen_payments_adyen_payment_id_200_response_data_attributes.go index be332572d..2c73c546e 100644 --- a/api/model_patch_adyen_payments_adyen_payment_id_200_response_data_attributes.go +++ b/api/model_patch_adyen_payments_adyen_payment_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_attachments_attachment_id_200_response.go b/api/model_patch_attachments_attachment_id_200_response.go index b8a0b3359..37305f1c5 100644 --- a/api/model_patch_attachments_attachment_id_200_response.go +++ b/api/model_patch_attachments_attachment_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_attachments_attachment_id_200_response_data.go b/api/model_patch_attachments_attachment_id_200_response_data.go index 9debaa025..b274a299a 100644 --- a/api/model_patch_attachments_attachment_id_200_response_data.go +++ b/api/model_patch_attachments_attachment_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_attachments_attachment_id_200_response_data_attributes.go b/api/model_patch_attachments_attachment_id_200_response_data_attributes.go index 3941c50d8..a3d2a2c15 100644 --- a/api/model_patch_attachments_attachment_id_200_response_data_attributes.go +++ b/api/model_patch_attachments_attachment_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_authorizations_authorization_id_200_response.go b/api/model_patch_authorizations_authorization_id_200_response.go index a3b29b15e..fbb7cf341 100644 --- a/api/model_patch_authorizations_authorization_id_200_response.go +++ b/api/model_patch_authorizations_authorization_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_authorizations_authorization_id_200_response_data.go b/api/model_patch_authorizations_authorization_id_200_response_data.go index e0bd46787..b81ba4ca0 100644 --- a/api/model_patch_authorizations_authorization_id_200_response_data.go +++ b/api/model_patch_authorizations_authorization_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_authorizations_authorization_id_200_response_data_attributes.go b/api/model_patch_authorizations_authorization_id_200_response_data_attributes.go index 8d4d06e4c..4bb1af4ad 100644 --- a/api/model_patch_authorizations_authorization_id_200_response_data_attributes.go +++ b/api/model_patch_authorizations_authorization_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_avalara_accounts_avalara_account_id_200_response.go b/api/model_patch_avalara_accounts_avalara_account_id_200_response.go index 0cb7b9d31..f3315713c 100644 --- a/api/model_patch_avalara_accounts_avalara_account_id_200_response.go +++ b/api/model_patch_avalara_accounts_avalara_account_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_avalara_accounts_avalara_account_id_200_response_data.go b/api/model_patch_avalara_accounts_avalara_account_id_200_response_data.go index 825b2944b..c7b47aa72 100644 --- a/api/model_patch_avalara_accounts_avalara_account_id_200_response_data.go +++ b/api/model_patch_avalara_accounts_avalara_account_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_avalara_accounts_avalara_account_id_200_response_data_attributes.go b/api/model_patch_avalara_accounts_avalara_account_id_200_response_data_attributes.go index 2235aa866..406dcd7bd 100644 --- a/api/model_patch_avalara_accounts_avalara_account_id_200_response_data_attributes.go +++ b/api/model_patch_avalara_accounts_avalara_account_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_axerve_gateways_axerve_gateway_id_200_response.go b/api/model_patch_axerve_gateways_axerve_gateway_id_200_response.go index d20bd4307..dc9692aa3 100644 --- a/api/model_patch_axerve_gateways_axerve_gateway_id_200_response.go +++ b/api/model_patch_axerve_gateways_axerve_gateway_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_axerve_gateways_axerve_gateway_id_200_response_data.go b/api/model_patch_axerve_gateways_axerve_gateway_id_200_response_data.go index 51e0c7f1c..6625fd5cd 100644 --- a/api/model_patch_axerve_gateways_axerve_gateway_id_200_response_data.go +++ b/api/model_patch_axerve_gateways_axerve_gateway_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_axerve_gateways_axerve_gateway_id_200_response_data_attributes.go b/api/model_patch_axerve_gateways_axerve_gateway_id_200_response_data_attributes.go index 2ff13bd80..76795030f 100644 --- a/api/model_patch_axerve_gateways_axerve_gateway_id_200_response_data_attributes.go +++ b/api/model_patch_axerve_gateways_axerve_gateway_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_axerve_payments_axerve_payment_id_200_response.go b/api/model_patch_axerve_payments_axerve_payment_id_200_response.go index 0f1379ddb..e58782e22 100644 --- a/api/model_patch_axerve_payments_axerve_payment_id_200_response.go +++ b/api/model_patch_axerve_payments_axerve_payment_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_axerve_payments_axerve_payment_id_200_response_data.go b/api/model_patch_axerve_payments_axerve_payment_id_200_response_data.go index a5c3351ae..1d1d8ff1f 100644 --- a/api/model_patch_axerve_payments_axerve_payment_id_200_response_data.go +++ b/api/model_patch_axerve_payments_axerve_payment_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_axerve_payments_axerve_payment_id_200_response_data_attributes.go b/api/model_patch_axerve_payments_axerve_payment_id_200_response_data_attributes.go index 86933c088..7bc701bf6 100644 --- a/api/model_patch_axerve_payments_axerve_payment_id_200_response_data_attributes.go +++ b/api/model_patch_axerve_payments_axerve_payment_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_billing_info_validation_rules_billing_info_validation_rule_id_200_response.go b/api/model_patch_billing_info_validation_rules_billing_info_validation_rule_id_200_response.go deleted file mode 100644 index 7ff1153ad..000000000 --- a/api/model_patch_billing_info_validation_rules_billing_info_validation_rule_id_200_response.go +++ /dev/null @@ -1,125 +0,0 @@ -/* -Commerce Layer API - -Headless Commerce for Global Brands. - -API version: 7.3.1 -Contact: support@commercelayer.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api - -import ( - "encoding/json" -) - -// checks if the PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response{} - -// PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response struct for PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response -type PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response struct { - Data *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData `json:"data,omitempty"` -} - -// NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response instantiates a new PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response() *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response { - this := PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response{} - return &this -} - -// NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseWithDefaults instantiates a new PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseWithDefaults() *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response { - this := PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response{} - return &this -} - -// GetData returns the Data field value if set, zero value otherwise. -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response) GetData() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData { - if o == nil || IsNil(o.Data) { - var ret PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData - return ret - } - return *o.Data -} - -// GetDataOk returns a tuple with the Data field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response) GetDataOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData, bool) { - if o == nil || IsNil(o.Data) { - return nil, false - } - return o.Data, true -} - -// HasData returns a boolean if a field has been set. -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response) HasData() bool { - if o != nil && !IsNil(o.Data) { - return true - } - - return false -} - -// SetData gets a reference to the given PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData and assigns it to the Data field. -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response) SetData(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) { - o.Data = &v -} - -func (o PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !IsNil(o.Data) { - toSerialize["data"] = o.Data - } - return toSerialize, nil -} - -type NullablePATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response struct { - value *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response - isSet bool -} - -func (v NullablePATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response) Get() *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response { - return v.value -} - -func (v *NullablePATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response) Set(val *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response) { - v.value = val - v.isSet = true -} - -func (v NullablePATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response) IsSet() bool { - return v.isSet -} - -func (v *NullablePATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response(val *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response) *NullablePATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response { - return &NullablePATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response{value: val, isSet: true} -} - -func (v NullablePATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePATCHBillingInfoValidationRulesBillingInfoValidationRuleId200Response) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/api/model_patch_billing_info_validation_rules_billing_info_validation_rule_id_200_response_data.go b/api/model_patch_billing_info_validation_rules_billing_info_validation_rule_id_200_response_data.go deleted file mode 100644 index 3b6026724..000000000 --- a/api/model_patch_billing_info_validation_rules_billing_info_validation_rule_id_200_response_data.go +++ /dev/null @@ -1,273 +0,0 @@ -/* -Commerce Layer API - -Headless Commerce for Global Brands. - -API version: 7.3.1 -Contact: support@commercelayer.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api - -import ( - "encoding/json" -) - -// checks if the PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData{} - -// PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData struct for PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData -type PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData struct { - // The resource's id - Id interface{} `json:"id,omitempty"` - // The resource's type - Type interface{} `json:"type,omitempty"` - Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` - Attributes *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes `json:"attributes,omitempty"` - Relationships *POSTBillingInfoValidationRules201ResponseDataRelationships `json:"relationships,omitempty"` -} - -// NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData instantiates a new PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData() *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData { - this := PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData{} - return &this -} - -// NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataWithDefaults instantiates a new PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataWithDefaults() *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData { - this := PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData{} - return &this -} - -// GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetId() interface{} { - if o == nil { - var ret interface{} - return ret - } - return o.Id -} - -// GetIdOk returns a tuple with the Id field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetIdOk() (*interface{}, bool) { - if o == nil || IsNil(o.Id) { - return nil, false - } - return &o.Id, true -} - -// HasId returns a boolean if a field has been set. -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) HasId() bool { - if o != nil && IsNil(o.Id) { - return true - } - - return false -} - -// SetId gets a reference to the given interface{} and assigns it to the Id field. -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) SetId(v interface{}) { - o.Id = v -} - -// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetType() interface{} { - if o == nil { - var ret interface{} - return ret - } - return o.Type -} - -// GetTypeOk returns a tuple with the Type field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetTypeOk() (*interface{}, bool) { - if o == nil || IsNil(o.Type) { - return nil, false - } - return &o.Type, true -} - -// HasType returns a boolean if a field has been set. -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) HasType() bool { - if o != nil && IsNil(o.Type) { - return true - } - - return false -} - -// SetType gets a reference to the given interface{} and assigns it to the Type field. -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) SetType(v interface{}) { - o.Type = v -} - -// GetLinks returns the Links field value if set, zero value otherwise. -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetLinks() POSTAddresses201ResponseDataLinks { - if o == nil || IsNil(o.Links) { - var ret POSTAddresses201ResponseDataLinks - return ret - } - return *o.Links -} - -// GetLinksOk returns a tuple with the Links field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetLinksOk() (*POSTAddresses201ResponseDataLinks, bool) { - if o == nil || IsNil(o.Links) { - return nil, false - } - return o.Links, true -} - -// HasLinks returns a boolean if a field has been set. -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) HasLinks() bool { - if o != nil && !IsNil(o.Links) { - return true - } - - return false -} - -// SetLinks gets a reference to the given POSTAddresses201ResponseDataLinks and assigns it to the Links field. -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) SetLinks(v POSTAddresses201ResponseDataLinks) { - o.Links = &v -} - -// GetAttributes returns the Attributes field value if set, zero value otherwise. -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes { - if o == nil || IsNil(o.Attributes) { - var ret PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes - return ret - } - return *o.Attributes -} - -// GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool) { - if o == nil || IsNil(o.Attributes) { - return nil, false - } - return o.Attributes, true -} - -// HasAttributes returns a boolean if a field has been set. -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) HasAttributes() bool { - if o != nil && !IsNil(o.Attributes) { - return true - } - - return false -} - -// SetAttributes gets a reference to the given PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes and assigns it to the Attributes field. -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) { - o.Attributes = &v -} - -// GetRelationships returns the Relationships field value if set, zero value otherwise. -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetRelationships() POSTBillingInfoValidationRules201ResponseDataRelationships { - if o == nil || IsNil(o.Relationships) { - var ret POSTBillingInfoValidationRules201ResponseDataRelationships - return ret - } - return *o.Relationships -} - -// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) GetRelationshipsOk() (*POSTBillingInfoValidationRules201ResponseDataRelationships, bool) { - if o == nil || IsNil(o.Relationships) { - return nil, false - } - return o.Relationships, true -} - -// HasRelationships returns a boolean if a field has been set. -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) HasRelationships() bool { - if o != nil && !IsNil(o.Relationships) { - return true - } - - return false -} - -// SetRelationships gets a reference to the given POSTBillingInfoValidationRules201ResponseDataRelationships and assigns it to the Relationships field. -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) SetRelationships(v POSTBillingInfoValidationRules201ResponseDataRelationships) { - o.Relationships = &v -} - -func (o PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if o.Id != nil { - toSerialize["id"] = o.Id - } - if o.Type != nil { - toSerialize["type"] = o.Type - } - if !IsNil(o.Links) { - toSerialize["links"] = o.Links - } - if !IsNil(o.Attributes) { - toSerialize["attributes"] = o.Attributes - } - if !IsNil(o.Relationships) { - toSerialize["relationships"] = o.Relationships - } - return toSerialize, nil -} - -type NullablePATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData struct { - value *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData - isSet bool -} - -func (v NullablePATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) Get() *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData { - return v.value -} - -func (v *NullablePATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) Set(val *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) { - v.value = val - v.isSet = true -} - -func (v NullablePATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) IsSet() bool { - return v.isSet -} - -func (v *NullablePATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData(val *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) *NullablePATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData { - return &NullablePATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData{value: val, isSet: true} -} - -func (v NullablePATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseData) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/api/model_patch_billing_info_validation_rules_billing_info_validation_rule_id_200_response_data_attributes.go b/api/model_patch_billing_info_validation_rules_billing_info_validation_rule_id_200_response_data_attributes.go deleted file mode 100644 index 3fd16247f..000000000 --- a/api/model_patch_billing_info_validation_rules_billing_info_validation_rule_id_200_response_data_attributes.go +++ /dev/null @@ -1,203 +0,0 @@ -/* -Commerce Layer API - -Headless Commerce for Global Brands. - -API version: 7.3.1 -Contact: support@commercelayer.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api - -import ( - "encoding/json" -) - -// checks if the PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes{} - -// PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes struct for PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes -type PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes struct { - // A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. - Reference interface{} `json:"reference,omitempty"` - // Any identifier of the third party system that defines the reference code. - ReferenceOrigin interface{} `json:"reference_origin,omitempty"` - // Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. - Metadata interface{} `json:"metadata,omitempty"` -} - -// NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes instantiates a new PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes() *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes { - this := PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes{} - return &this -} - -// NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributesWithDefaults instantiates a new PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributesWithDefaults() *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes { - this := PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes{} - return &this -} - -// GetReference returns the Reference field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetReference() interface{} { - if o == nil { - var ret interface{} - return ret - } - return o.Reference -} - -// GetReferenceOk returns a tuple with the Reference field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetReferenceOk() (*interface{}, bool) { - if o == nil || IsNil(o.Reference) { - return nil, false - } - return &o.Reference, true -} - -// HasReference returns a boolean if a field has been set. -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) HasReference() bool { - if o != nil && IsNil(o.Reference) { - return true - } - - return false -} - -// SetReference gets a reference to the given interface{} and assigns it to the Reference field. -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) SetReference(v interface{}) { - o.Reference = v -} - -// GetReferenceOrigin returns the ReferenceOrigin field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetReferenceOrigin() interface{} { - if o == nil { - var ret interface{} - return ret - } - return o.ReferenceOrigin -} - -// GetReferenceOriginOk returns a tuple with the ReferenceOrigin field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetReferenceOriginOk() (*interface{}, bool) { - if o == nil || IsNil(o.ReferenceOrigin) { - return nil, false - } - return &o.ReferenceOrigin, true -} - -// HasReferenceOrigin returns a boolean if a field has been set. -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) HasReferenceOrigin() bool { - if o != nil && IsNil(o.ReferenceOrigin) { - return true - } - - return false -} - -// SetReferenceOrigin gets a reference to the given interface{} and assigns it to the ReferenceOrigin field. -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) SetReferenceOrigin(v interface{}) { - o.ReferenceOrigin = v -} - -// GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetMetadata() interface{} { - if o == nil { - var ret interface{} - return ret - } - return o.Metadata -} - -// GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) GetMetadataOk() (*interface{}, bool) { - if o == nil || IsNil(o.Metadata) { - return nil, false - } - return &o.Metadata, true -} - -// HasMetadata returns a boolean if a field has been set. -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) HasMetadata() bool { - if o != nil && IsNil(o.Metadata) { - return true - } - - return false -} - -// SetMetadata gets a reference to the given interface{} and assigns it to the Metadata field. -func (o *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) SetMetadata(v interface{}) { - o.Metadata = v -} - -func (o PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if o.Reference != nil { - toSerialize["reference"] = o.Reference - } - if o.ReferenceOrigin != nil { - toSerialize["reference_origin"] = o.ReferenceOrigin - } - if o.Metadata != nil { - toSerialize["metadata"] = o.Metadata - } - return toSerialize, nil -} - -type NullablePATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes struct { - value *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes - isSet bool -} - -func (v NullablePATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) Get() *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes { - return v.value -} - -func (v *NullablePATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) Set(val *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) { - v.value = val - v.isSet = true -} - -func (v NullablePATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) IsSet() bool { - return v.isSet -} - -func (v *NullablePATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes(val *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) *NullablePATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes { - return &NullablePATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes{value: val, isSet: true} -} - -func (v NullablePATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/api/model_patch_bing_geocoders_bing_geocoder_id_200_response.go b/api/model_patch_bing_geocoders_bing_geocoder_id_200_response.go index 2039f72f8..0ce77c06b 100644 --- a/api/model_patch_bing_geocoders_bing_geocoder_id_200_response.go +++ b/api/model_patch_bing_geocoders_bing_geocoder_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_bing_geocoders_bing_geocoder_id_200_response_data.go b/api/model_patch_bing_geocoders_bing_geocoder_id_200_response_data.go index ce91a4372..30a8eabea 100644 --- a/api/model_patch_bing_geocoders_bing_geocoder_id_200_response_data.go +++ b/api/model_patch_bing_geocoders_bing_geocoder_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_bing_geocoders_bing_geocoder_id_200_response_data_attributes.go b/api/model_patch_bing_geocoders_bing_geocoder_id_200_response_data_attributes.go index c8e24fd16..ea7fc2a43 100644 --- a/api/model_patch_bing_geocoders_bing_geocoder_id_200_response_data_attributes.go +++ b/api/model_patch_bing_geocoders_bing_geocoder_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_braintree_gateways_braintree_gateway_id_200_response.go b/api/model_patch_braintree_gateways_braintree_gateway_id_200_response.go index 7c7fa45e0..60bd90565 100644 --- a/api/model_patch_braintree_gateways_braintree_gateway_id_200_response.go +++ b/api/model_patch_braintree_gateways_braintree_gateway_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_braintree_gateways_braintree_gateway_id_200_response_data.go b/api/model_patch_braintree_gateways_braintree_gateway_id_200_response_data.go index 587c008ea..1a7fc0b3b 100644 --- a/api/model_patch_braintree_gateways_braintree_gateway_id_200_response_data.go +++ b/api/model_patch_braintree_gateways_braintree_gateway_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_braintree_gateways_braintree_gateway_id_200_response_data_attributes.go b/api/model_patch_braintree_gateways_braintree_gateway_id_200_response_data_attributes.go index ed1ed1eaf..b4f1f6d5f 100644 --- a/api/model_patch_braintree_gateways_braintree_gateway_id_200_response_data_attributes.go +++ b/api/model_patch_braintree_gateways_braintree_gateway_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_braintree_payments_braintree_payment_id_200_response.go b/api/model_patch_braintree_payments_braintree_payment_id_200_response.go index ab7be776f..577273dd6 100644 --- a/api/model_patch_braintree_payments_braintree_payment_id_200_response.go +++ b/api/model_patch_braintree_payments_braintree_payment_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_braintree_payments_braintree_payment_id_200_response_data.go b/api/model_patch_braintree_payments_braintree_payment_id_200_response_data.go index a833680ab..fb6737f4a 100644 --- a/api/model_patch_braintree_payments_braintree_payment_id_200_response_data.go +++ b/api/model_patch_braintree_payments_braintree_payment_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_braintree_payments_braintree_payment_id_200_response_data_attributes.go b/api/model_patch_braintree_payments_braintree_payment_id_200_response_data_attributes.go index 75d3ba038..7e822c67a 100644 --- a/api/model_patch_braintree_payments_braintree_payment_id_200_response_data_attributes.go +++ b/api/model_patch_braintree_payments_braintree_payment_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_bundles_bundle_id_200_response.go b/api/model_patch_bundles_bundle_id_200_response.go index 1b5e0e5f7..cd2e8ab9f 100644 --- a/api/model_patch_bundles_bundle_id_200_response.go +++ b/api/model_patch_bundles_bundle_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_bundles_bundle_id_200_response_data.go b/api/model_patch_bundles_bundle_id_200_response_data.go index e68478a21..72c490d53 100644 --- a/api/model_patch_bundles_bundle_id_200_response_data.go +++ b/api/model_patch_bundles_bundle_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_bundles_bundle_id_200_response_data_attributes.go b/api/model_patch_bundles_bundle_id_200_response_data_attributes.go index 30aaf2efc..74701f34e 100644 --- a/api/model_patch_bundles_bundle_id_200_response_data_attributes.go +++ b/api/model_patch_bundles_bundle_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_buy_x_pay_y_promotions_buy_x_pay_y_promotion_id_200_response.go b/api/model_patch_buy_x_pay_y_promotions_buy_x_pay_y_promotion_id_200_response.go index e1f2094e0..8d605f526 100644 --- a/api/model_patch_buy_x_pay_y_promotions_buy_x_pay_y_promotion_id_200_response.go +++ b/api/model_patch_buy_x_pay_y_promotions_buy_x_pay_y_promotion_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_buy_x_pay_y_promotions_buy_x_pay_y_promotion_id_200_response_data.go b/api/model_patch_buy_x_pay_y_promotions_buy_x_pay_y_promotion_id_200_response_data.go index 861796c45..9d1d0f7f9 100644 --- a/api/model_patch_buy_x_pay_y_promotions_buy_x_pay_y_promotion_id_200_response_data.go +++ b/api/model_patch_buy_x_pay_y_promotions_buy_x_pay_y_promotion_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_buy_x_pay_y_promotions_buy_x_pay_y_promotion_id_200_response_data_attributes.go b/api/model_patch_buy_x_pay_y_promotions_buy_x_pay_y_promotion_id_200_response_data_attributes.go index 98e633fbb..8caf5e64c 100644 --- a/api/model_patch_buy_x_pay_y_promotions_buy_x_pay_y_promotion_id_200_response_data_attributes.go +++ b/api/model_patch_buy_x_pay_y_promotions_buy_x_pay_y_promotion_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_captures_capture_id_200_response.go b/api/model_patch_captures_capture_id_200_response.go index af5cf616b..ed6cee951 100644 --- a/api/model_patch_captures_capture_id_200_response.go +++ b/api/model_patch_captures_capture_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_captures_capture_id_200_response_data.go b/api/model_patch_captures_capture_id_200_response_data.go index 282839291..4a4048e7c 100644 --- a/api/model_patch_captures_capture_id_200_response_data.go +++ b/api/model_patch_captures_capture_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_captures_capture_id_200_response_data_attributes.go b/api/model_patch_captures_capture_id_200_response_data_attributes.go index 537019da3..3845990ce 100644 --- a/api/model_patch_captures_capture_id_200_response_data_attributes.go +++ b/api/model_patch_captures_capture_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_carrier_accounts_carrier_account_id_200_response.go b/api/model_patch_carrier_accounts_carrier_account_id_200_response.go index 30eb20e7d..8022b63fa 100644 --- a/api/model_patch_carrier_accounts_carrier_account_id_200_response.go +++ b/api/model_patch_carrier_accounts_carrier_account_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_carrier_accounts_carrier_account_id_200_response_data.go b/api/model_patch_carrier_accounts_carrier_account_id_200_response_data.go index 447cf5b5e..8e599e822 100644 --- a/api/model_patch_carrier_accounts_carrier_account_id_200_response_data.go +++ b/api/model_patch_carrier_accounts_carrier_account_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -26,7 +26,7 @@ type PATCHCarrierAccountsCarrierAccountId200ResponseData struct { Type interface{} `json:"type,omitempty"` Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` Attributes *PATCHCarrierAccountsCarrierAccountId200ResponseDataAttributes `json:"attributes,omitempty"` - Relationships *POSTBillingInfoValidationRules201ResponseDataRelationships `json:"relationships,omitempty"` + Relationships *POSTCarrierAccounts201ResponseDataRelationships `json:"relationships,omitempty"` } // NewPATCHCarrierAccountsCarrierAccountId200ResponseData instantiates a new PATCHCarrierAccountsCarrierAccountId200ResponseData object @@ -177,9 +177,9 @@ func (o *PATCHCarrierAccountsCarrierAccountId200ResponseData) SetAttributes(v PA } // GetRelationships returns the Relationships field value if set, zero value otherwise. -func (o *PATCHCarrierAccountsCarrierAccountId200ResponseData) GetRelationships() POSTBillingInfoValidationRules201ResponseDataRelationships { +func (o *PATCHCarrierAccountsCarrierAccountId200ResponseData) GetRelationships() POSTCarrierAccounts201ResponseDataRelationships { if o == nil || IsNil(o.Relationships) { - var ret POSTBillingInfoValidationRules201ResponseDataRelationships + var ret POSTCarrierAccounts201ResponseDataRelationships return ret } return *o.Relationships @@ -187,7 +187,7 @@ func (o *PATCHCarrierAccountsCarrierAccountId200ResponseData) GetRelationships() // GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PATCHCarrierAccountsCarrierAccountId200ResponseData) GetRelationshipsOk() (*POSTBillingInfoValidationRules201ResponseDataRelationships, bool) { +func (o *PATCHCarrierAccountsCarrierAccountId200ResponseData) GetRelationshipsOk() (*POSTCarrierAccounts201ResponseDataRelationships, bool) { if o == nil || IsNil(o.Relationships) { return nil, false } @@ -203,8 +203,8 @@ func (o *PATCHCarrierAccountsCarrierAccountId200ResponseData) HasRelationships() return false } -// SetRelationships gets a reference to the given POSTBillingInfoValidationRules201ResponseDataRelationships and assigns it to the Relationships field. -func (o *PATCHCarrierAccountsCarrierAccountId200ResponseData) SetRelationships(v POSTBillingInfoValidationRules201ResponseDataRelationships) { +// SetRelationships gets a reference to the given POSTCarrierAccounts201ResponseDataRelationships and assigns it to the Relationships field. +func (o *PATCHCarrierAccountsCarrierAccountId200ResponseData) SetRelationships(v POSTCarrierAccounts201ResponseDataRelationships) { o.Relationships = &v } diff --git a/api/model_patch_carrier_accounts_carrier_account_id_200_response_data_attributes.go b/api/model_patch_carrier_accounts_carrier_account_id_200_response_data_attributes.go index 079d9fde7..a61d76dc1 100644 --- a/api/model_patch_carrier_accounts_carrier_account_id_200_response_data_attributes.go +++ b/api/model_patch_carrier_accounts_carrier_account_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_checkout_com_gateways_checkout_com_gateway_id_200_response.go b/api/model_patch_checkout_com_gateways_checkout_com_gateway_id_200_response.go index 73d404c39..a77cbeb80 100644 --- a/api/model_patch_checkout_com_gateways_checkout_com_gateway_id_200_response.go +++ b/api/model_patch_checkout_com_gateways_checkout_com_gateway_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_checkout_com_gateways_checkout_com_gateway_id_200_response_data.go b/api/model_patch_checkout_com_gateways_checkout_com_gateway_id_200_response_data.go index 96acd9f10..dccda938b 100644 --- a/api/model_patch_checkout_com_gateways_checkout_com_gateway_id_200_response_data.go +++ b/api/model_patch_checkout_com_gateways_checkout_com_gateway_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_checkout_com_gateways_checkout_com_gateway_id_200_response_data_attributes.go b/api/model_patch_checkout_com_gateways_checkout_com_gateway_id_200_response_data_attributes.go index ffd14cbb2..2b7b061b5 100644 --- a/api/model_patch_checkout_com_gateways_checkout_com_gateway_id_200_response_data_attributes.go +++ b/api/model_patch_checkout_com_gateways_checkout_com_gateway_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_checkout_com_payments_checkout_com_payment_id_200_response.go b/api/model_patch_checkout_com_payments_checkout_com_payment_id_200_response.go index 38798faaa..23ac75678 100644 --- a/api/model_patch_checkout_com_payments_checkout_com_payment_id_200_response.go +++ b/api/model_patch_checkout_com_payments_checkout_com_payment_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_checkout_com_payments_checkout_com_payment_id_200_response_data.go b/api/model_patch_checkout_com_payments_checkout_com_payment_id_200_response_data.go index 70e4a1381..066e6b68c 100644 --- a/api/model_patch_checkout_com_payments_checkout_com_payment_id_200_response_data.go +++ b/api/model_patch_checkout_com_payments_checkout_com_payment_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_checkout_com_payments_checkout_com_payment_id_200_response_data_attributes.go b/api/model_patch_checkout_com_payments_checkout_com_payment_id_200_response_data_attributes.go index d81fe37e1..94482902d 100644 --- a/api/model_patch_checkout_com_payments_checkout_com_payment_id_200_response_data_attributes.go +++ b/api/model_patch_checkout_com_payments_checkout_com_payment_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_cleanups_cleanup_id_200_response.go b/api/model_patch_cleanups_cleanup_id_200_response.go index 7c5d36bce..e6b4cabef 100644 --- a/api/model_patch_cleanups_cleanup_id_200_response.go +++ b/api/model_patch_cleanups_cleanup_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_cleanups_cleanup_id_200_response_data.go b/api/model_patch_cleanups_cleanup_id_200_response_data.go index d3f230a4c..40fa954ee 100644 --- a/api/model_patch_cleanups_cleanup_id_200_response_data.go +++ b/api/model_patch_cleanups_cleanup_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -23,10 +23,10 @@ type PATCHCleanupsCleanupId200ResponseData struct { // The resource's id Id interface{} `json:"id,omitempty"` // The resource's type - Type interface{} `json:"type,omitempty"` - Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` - Attributes *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes `json:"attributes,omitempty"` - Relationships *POSTCleanups201ResponseDataRelationships `json:"relationships,omitempty"` + Type interface{} `json:"type,omitempty"` + Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` + Attributes *PATCHCleanupsCleanupId200ResponseDataAttributes `json:"attributes,omitempty"` + Relationships *POSTCleanups201ResponseDataRelationships `json:"relationships,omitempty"` } // NewPATCHCleanupsCleanupId200ResponseData instantiates a new PATCHCleanupsCleanupId200ResponseData object @@ -145,9 +145,9 @@ func (o *PATCHCleanupsCleanupId200ResponseData) SetLinks(v POSTAddresses201Respo } // GetAttributes returns the Attributes field value if set, zero value otherwise. -func (o *PATCHCleanupsCleanupId200ResponseData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes { +func (o *PATCHCleanupsCleanupId200ResponseData) GetAttributes() PATCHCleanupsCleanupId200ResponseDataAttributes { if o == nil || IsNil(o.Attributes) { - var ret PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes + var ret PATCHCleanupsCleanupId200ResponseDataAttributes return ret } return *o.Attributes @@ -155,7 +155,7 @@ func (o *PATCHCleanupsCleanupId200ResponseData) GetAttributes() PATCHBillingInfo // GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PATCHCleanupsCleanupId200ResponseData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool) { +func (o *PATCHCleanupsCleanupId200ResponseData) GetAttributesOk() (*PATCHCleanupsCleanupId200ResponseDataAttributes, bool) { if o == nil || IsNil(o.Attributes) { return nil, false } @@ -171,8 +171,8 @@ func (o *PATCHCleanupsCleanupId200ResponseData) HasAttributes() bool { return false } -// SetAttributes gets a reference to the given PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes and assigns it to the Attributes field. -func (o *PATCHCleanupsCleanupId200ResponseData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) { +// SetAttributes gets a reference to the given PATCHCleanupsCleanupId200ResponseDataAttributes and assigns it to the Attributes field. +func (o *PATCHCleanupsCleanupId200ResponseData) SetAttributes(v PATCHCleanupsCleanupId200ResponseDataAttributes) { o.Attributes = &v } diff --git a/api/model_patch_cleanups_cleanup_id_200_response_data_attributes.go b/api/model_patch_cleanups_cleanup_id_200_response_data_attributes.go new file mode 100644 index 000000000..4b3516abf --- /dev/null +++ b/api/model_patch_cleanups_cleanup_id_200_response_data_attributes.go @@ -0,0 +1,241 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the PATCHCleanupsCleanupId200ResponseDataAttributes type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PATCHCleanupsCleanupId200ResponseDataAttributes{} + +// PATCHCleanupsCleanupId200ResponseDataAttributes struct for PATCHCleanupsCleanupId200ResponseDataAttributes +type PATCHCleanupsCleanupId200ResponseDataAttributes struct { + // Send this attribute if you want to mark status as 'interrupted'. + Interrupt interface{} `json:"_interrupt,omitempty"` + // A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. + Reference interface{} `json:"reference,omitempty"` + // Any identifier of the third party system that defines the reference code. + ReferenceOrigin interface{} `json:"reference_origin,omitempty"` + // Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. + Metadata interface{} `json:"metadata,omitempty"` +} + +// NewPATCHCleanupsCleanupId200ResponseDataAttributes instantiates a new PATCHCleanupsCleanupId200ResponseDataAttributes object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPATCHCleanupsCleanupId200ResponseDataAttributes() *PATCHCleanupsCleanupId200ResponseDataAttributes { + this := PATCHCleanupsCleanupId200ResponseDataAttributes{} + return &this +} + +// NewPATCHCleanupsCleanupId200ResponseDataAttributesWithDefaults instantiates a new PATCHCleanupsCleanupId200ResponseDataAttributes object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPATCHCleanupsCleanupId200ResponseDataAttributesWithDefaults() *PATCHCleanupsCleanupId200ResponseDataAttributes { + this := PATCHCleanupsCleanupId200ResponseDataAttributes{} + return &this +} + +// GetInterrupt returns the Interrupt field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) GetInterrupt() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Interrupt +} + +// GetInterruptOk returns a tuple with the Interrupt field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) GetInterruptOk() (*interface{}, bool) { + if o == nil || IsNil(o.Interrupt) { + return nil, false + } + return &o.Interrupt, true +} + +// HasInterrupt returns a boolean if a field has been set. +func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) HasInterrupt() bool { + if o != nil && IsNil(o.Interrupt) { + return true + } + + return false +} + +// SetInterrupt gets a reference to the given interface{} and assigns it to the Interrupt field. +func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) SetInterrupt(v interface{}) { + o.Interrupt = v +} + +// GetReference returns the Reference field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) GetReference() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Reference +} + +// GetReferenceOk returns a tuple with the Reference field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) GetReferenceOk() (*interface{}, bool) { + if o == nil || IsNil(o.Reference) { + return nil, false + } + return &o.Reference, true +} + +// HasReference returns a boolean if a field has been set. +func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) HasReference() bool { + if o != nil && IsNil(o.Reference) { + return true + } + + return false +} + +// SetReference gets a reference to the given interface{} and assigns it to the Reference field. +func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) SetReference(v interface{}) { + o.Reference = v +} + +// GetReferenceOrigin returns the ReferenceOrigin field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) GetReferenceOrigin() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.ReferenceOrigin +} + +// GetReferenceOriginOk returns a tuple with the ReferenceOrigin field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) GetReferenceOriginOk() (*interface{}, bool) { + if o == nil || IsNil(o.ReferenceOrigin) { + return nil, false + } + return &o.ReferenceOrigin, true +} + +// HasReferenceOrigin returns a boolean if a field has been set. +func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) HasReferenceOrigin() bool { + if o != nil && IsNil(o.ReferenceOrigin) { + return true + } + + return false +} + +// SetReferenceOrigin gets a reference to the given interface{} and assigns it to the ReferenceOrigin field. +func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) SetReferenceOrigin(v interface{}) { + o.ReferenceOrigin = v +} + +// GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) GetMetadata() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Metadata +} + +// GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) GetMetadataOk() (*interface{}, bool) { + if o == nil || IsNil(o.Metadata) { + return nil, false + } + return &o.Metadata, true +} + +// HasMetadata returns a boolean if a field has been set. +func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) HasMetadata() bool { + if o != nil && IsNil(o.Metadata) { + return true + } + + return false +} + +// SetMetadata gets a reference to the given interface{} and assigns it to the Metadata field. +func (o *PATCHCleanupsCleanupId200ResponseDataAttributes) SetMetadata(v interface{}) { + o.Metadata = v +} + +func (o PATCHCleanupsCleanupId200ResponseDataAttributes) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PATCHCleanupsCleanupId200ResponseDataAttributes) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Interrupt != nil { + toSerialize["_interrupt"] = o.Interrupt + } + if o.Reference != nil { + toSerialize["reference"] = o.Reference + } + if o.ReferenceOrigin != nil { + toSerialize["reference_origin"] = o.ReferenceOrigin + } + if o.Metadata != nil { + toSerialize["metadata"] = o.Metadata + } + return toSerialize, nil +} + +type NullablePATCHCleanupsCleanupId200ResponseDataAttributes struct { + value *PATCHCleanupsCleanupId200ResponseDataAttributes + isSet bool +} + +func (v NullablePATCHCleanupsCleanupId200ResponseDataAttributes) Get() *PATCHCleanupsCleanupId200ResponseDataAttributes { + return v.value +} + +func (v *NullablePATCHCleanupsCleanupId200ResponseDataAttributes) Set(val *PATCHCleanupsCleanupId200ResponseDataAttributes) { + v.value = val + v.isSet = true +} + +func (v NullablePATCHCleanupsCleanupId200ResponseDataAttributes) IsSet() bool { + return v.isSet +} + +func (v *NullablePATCHCleanupsCleanupId200ResponseDataAttributes) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePATCHCleanupsCleanupId200ResponseDataAttributes(val *PATCHCleanupsCleanupId200ResponseDataAttributes) *NullablePATCHCleanupsCleanupId200ResponseDataAttributes { + return &NullablePATCHCleanupsCleanupId200ResponseDataAttributes{value: val, isSet: true} +} + +func (v NullablePATCHCleanupsCleanupId200ResponseDataAttributes) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePATCHCleanupsCleanupId200ResponseDataAttributes) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_patch_coupon_codes_promotion_rules_coupon_codes_promotion_rule_id_200_response.go b/api/model_patch_coupon_codes_promotion_rules_coupon_codes_promotion_rule_id_200_response.go index c03b60c8c..bed38d084 100644 --- a/api/model_patch_coupon_codes_promotion_rules_coupon_codes_promotion_rule_id_200_response.go +++ b/api/model_patch_coupon_codes_promotion_rules_coupon_codes_promotion_rule_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_coupon_codes_promotion_rules_coupon_codes_promotion_rule_id_200_response_data.go b/api/model_patch_coupon_codes_promotion_rules_coupon_codes_promotion_rule_id_200_response_data.go index 44547c870..56894a029 100644 --- a/api/model_patch_coupon_codes_promotion_rules_coupon_codes_promotion_rule_id_200_response_data.go +++ b/api/model_patch_coupon_codes_promotion_rules_coupon_codes_promotion_rule_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -23,10 +23,10 @@ type PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseData str // The resource's id Id interface{} `json:"id,omitempty"` // The resource's type - Type interface{} `json:"type,omitempty"` - Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` - Attributes *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes `json:"attributes,omitempty"` - Relationships *POSTCouponCodesPromotionRules201ResponseDataRelationships `json:"relationships,omitempty"` + Type interface{} `json:"type,omitempty"` + Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` + Attributes *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes `json:"attributes,omitempty"` + Relationships *POSTCouponCodesPromotionRules201ResponseDataRelationships `json:"relationships,omitempty"` } // NewPATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseData instantiates a new PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseData object @@ -145,9 +145,9 @@ func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseData } // GetAttributes returns the Attributes field value if set, zero value otherwise. -func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes { +func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseData) GetAttributes() PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes { if o == nil || IsNil(o.Attributes) { - var ret PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes + var ret PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes return ret } return *o.Attributes @@ -155,7 +155,7 @@ func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseData // GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool) { +func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseData) GetAttributesOk() (*PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes, bool) { if o == nil || IsNil(o.Attributes) { return nil, false } @@ -171,8 +171,8 @@ func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseData return false } -// SetAttributes gets a reference to the given PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes and assigns it to the Attributes field. -func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) { +// SetAttributes gets a reference to the given PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes and assigns it to the Attributes field. +func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseData) SetAttributes(v PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) { o.Attributes = &v } diff --git a/api/model_patch_coupon_codes_promotion_rules_coupon_codes_promotion_rule_id_200_response_data_attributes.go b/api/model_patch_coupon_codes_promotion_rules_coupon_codes_promotion_rule_id_200_response_data_attributes.go new file mode 100644 index 000000000..c596f9ebd --- /dev/null +++ b/api/model_patch_coupon_codes_promotion_rules_coupon_codes_promotion_rule_id_200_response_data_attributes.go @@ -0,0 +1,203 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes{} + +// PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes struct for PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes +type PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes struct { + // A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. + Reference interface{} `json:"reference,omitempty"` + // Any identifier of the third party system that defines the reference code. + ReferenceOrigin interface{} `json:"reference_origin,omitempty"` + // Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. + Metadata interface{} `json:"metadata,omitempty"` +} + +// NewPATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes instantiates a new PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes() *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes { + this := PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes{} + return &this +} + +// NewPATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributesWithDefaults instantiates a new PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributesWithDefaults() *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes { + this := PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes{} + return &this +} + +// GetReference returns the Reference field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) GetReference() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Reference +} + +// GetReferenceOk returns a tuple with the Reference field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) GetReferenceOk() (*interface{}, bool) { + if o == nil || IsNil(o.Reference) { + return nil, false + } + return &o.Reference, true +} + +// HasReference returns a boolean if a field has been set. +func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) HasReference() bool { + if o != nil && IsNil(o.Reference) { + return true + } + + return false +} + +// SetReference gets a reference to the given interface{} and assigns it to the Reference field. +func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) SetReference(v interface{}) { + o.Reference = v +} + +// GetReferenceOrigin returns the ReferenceOrigin field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) GetReferenceOrigin() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.ReferenceOrigin +} + +// GetReferenceOriginOk returns a tuple with the ReferenceOrigin field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) GetReferenceOriginOk() (*interface{}, bool) { + if o == nil || IsNil(o.ReferenceOrigin) { + return nil, false + } + return &o.ReferenceOrigin, true +} + +// HasReferenceOrigin returns a boolean if a field has been set. +func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) HasReferenceOrigin() bool { + if o != nil && IsNil(o.ReferenceOrigin) { + return true + } + + return false +} + +// SetReferenceOrigin gets a reference to the given interface{} and assigns it to the ReferenceOrigin field. +func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) SetReferenceOrigin(v interface{}) { + o.ReferenceOrigin = v +} + +// GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) GetMetadata() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Metadata +} + +// GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) GetMetadataOk() (*interface{}, bool) { + if o == nil || IsNil(o.Metadata) { + return nil, false + } + return &o.Metadata, true +} + +// HasMetadata returns a boolean if a field has been set. +func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) HasMetadata() bool { + if o != nil && IsNil(o.Metadata) { + return true + } + + return false +} + +// SetMetadata gets a reference to the given interface{} and assigns it to the Metadata field. +func (o *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) SetMetadata(v interface{}) { + o.Metadata = v +} + +func (o PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Reference != nil { + toSerialize["reference"] = o.Reference + } + if o.ReferenceOrigin != nil { + toSerialize["reference_origin"] = o.ReferenceOrigin + } + if o.Metadata != nil { + toSerialize["metadata"] = o.Metadata + } + return toSerialize, nil +} + +type NullablePATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes struct { + value *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes + isSet bool +} + +func (v NullablePATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) Get() *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes { + return v.value +} + +func (v *NullablePATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) Set(val *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) { + v.value = val + v.isSet = true +} + +func (v NullablePATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) IsSet() bool { + return v.isSet +} + +func (v *NullablePATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes(val *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) *NullablePATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes { + return &NullablePATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes{value: val, isSet: true} +} + +func (v NullablePATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_patch_coupon_recipients_coupon_recipient_id_200_response.go b/api/model_patch_coupon_recipients_coupon_recipient_id_200_response.go index 09a7d7685..ebdab7579 100644 --- a/api/model_patch_coupon_recipients_coupon_recipient_id_200_response.go +++ b/api/model_patch_coupon_recipients_coupon_recipient_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_coupon_recipients_coupon_recipient_id_200_response_data.go b/api/model_patch_coupon_recipients_coupon_recipient_id_200_response_data.go index 42e3278d6..49573f915 100644 --- a/api/model_patch_coupon_recipients_coupon_recipient_id_200_response_data.go +++ b/api/model_patch_coupon_recipients_coupon_recipient_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_coupon_recipients_coupon_recipient_id_200_response_data_attributes.go b/api/model_patch_coupon_recipients_coupon_recipient_id_200_response_data_attributes.go index 21d90c078..01bac1805 100644 --- a/api/model_patch_coupon_recipients_coupon_recipient_id_200_response_data_attributes.go +++ b/api/model_patch_coupon_recipients_coupon_recipient_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_coupons_coupon_id_200_response.go b/api/model_patch_coupons_coupon_id_200_response.go index 83022d05f..7a70c6994 100644 --- a/api/model_patch_coupons_coupon_id_200_response.go +++ b/api/model_patch_coupons_coupon_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_coupons_coupon_id_200_response_data.go b/api/model_patch_coupons_coupon_id_200_response_data.go index 982ceb59b..4e35e65b4 100644 --- a/api/model_patch_coupons_coupon_id_200_response_data.go +++ b/api/model_patch_coupons_coupon_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_coupons_coupon_id_200_response_data_attributes.go b/api/model_patch_coupons_coupon_id_200_response_data_attributes.go index 81e7e94ee..cba261a57 100644 --- a/api/model_patch_coupons_coupon_id_200_response_data_attributes.go +++ b/api/model_patch_coupons_coupon_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_custom_promotion_rules_custom_promotion_rule_id_200_response.go b/api/model_patch_custom_promotion_rules_custom_promotion_rule_id_200_response.go index f60d79ef4..cf726c893 100644 --- a/api/model_patch_custom_promotion_rules_custom_promotion_rule_id_200_response.go +++ b/api/model_patch_custom_promotion_rules_custom_promotion_rule_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_custom_promotion_rules_custom_promotion_rule_id_200_response_data.go b/api/model_patch_custom_promotion_rules_custom_promotion_rule_id_200_response_data.go index 849c42dfe..0e6e638dd 100644 --- a/api/model_patch_custom_promotion_rules_custom_promotion_rule_id_200_response_data.go +++ b/api/model_patch_custom_promotion_rules_custom_promotion_rule_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_custom_promotion_rules_custom_promotion_rule_id_200_response_data_attributes.go b/api/model_patch_custom_promotion_rules_custom_promotion_rule_id_200_response_data_attributes.go index 1f6745316..7f8f92543 100644 --- a/api/model_patch_custom_promotion_rules_custom_promotion_rule_id_200_response_data_attributes.go +++ b/api/model_patch_custom_promotion_rules_custom_promotion_rule_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_customer_addresses_customer_address_id_200_response.go b/api/model_patch_customer_addresses_customer_address_id_200_response.go index 9995c73dd..c078aa7a4 100644 --- a/api/model_patch_customer_addresses_customer_address_id_200_response.go +++ b/api/model_patch_customer_addresses_customer_address_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_customer_addresses_customer_address_id_200_response_data.go b/api/model_patch_customer_addresses_customer_address_id_200_response_data.go index 7dfa326e6..e66f36f91 100644 --- a/api/model_patch_customer_addresses_customer_address_id_200_response_data.go +++ b/api/model_patch_customer_addresses_customer_address_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -23,10 +23,10 @@ type PATCHCustomerAddressesCustomerAddressId200ResponseData struct { // The resource's id Id interface{} `json:"id,omitempty"` // The resource's type - Type interface{} `json:"type,omitempty"` - Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` - Attributes *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes `json:"attributes,omitempty"` - Relationships *POSTCustomerAddresses201ResponseDataRelationships `json:"relationships,omitempty"` + Type interface{} `json:"type,omitempty"` + Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` + Attributes *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes `json:"attributes,omitempty"` + Relationships *POSTCustomerAddresses201ResponseDataRelationships `json:"relationships,omitempty"` } // NewPATCHCustomerAddressesCustomerAddressId200ResponseData instantiates a new PATCHCustomerAddressesCustomerAddressId200ResponseData object @@ -145,9 +145,9 @@ func (o *PATCHCustomerAddressesCustomerAddressId200ResponseData) SetLinks(v POST } // GetAttributes returns the Attributes field value if set, zero value otherwise. -func (o *PATCHCustomerAddressesCustomerAddressId200ResponseData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes { +func (o *PATCHCustomerAddressesCustomerAddressId200ResponseData) GetAttributes() PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes { if o == nil || IsNil(o.Attributes) { - var ret PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes + var ret PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes return ret } return *o.Attributes @@ -155,7 +155,7 @@ func (o *PATCHCustomerAddressesCustomerAddressId200ResponseData) GetAttributes() // GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PATCHCustomerAddressesCustomerAddressId200ResponseData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool) { +func (o *PATCHCustomerAddressesCustomerAddressId200ResponseData) GetAttributesOk() (*PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes, bool) { if o == nil || IsNil(o.Attributes) { return nil, false } @@ -171,8 +171,8 @@ func (o *PATCHCustomerAddressesCustomerAddressId200ResponseData) HasAttributes() return false } -// SetAttributes gets a reference to the given PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes and assigns it to the Attributes field. -func (o *PATCHCustomerAddressesCustomerAddressId200ResponseData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) { +// SetAttributes gets a reference to the given PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes and assigns it to the Attributes field. +func (o *PATCHCustomerAddressesCustomerAddressId200ResponseData) SetAttributes(v PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) { o.Attributes = &v } diff --git a/api/model_patch_customer_groups_customer_group_id_200_response.go b/api/model_patch_customer_groups_customer_group_id_200_response.go index a632cb4e4..aa697b4dc 100644 --- a/api/model_patch_customer_groups_customer_group_id_200_response.go +++ b/api/model_patch_customer_groups_customer_group_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_customer_groups_customer_group_id_200_response_data.go b/api/model_patch_customer_groups_customer_group_id_200_response_data.go index f57a43500..7ec9765e2 100644 --- a/api/model_patch_customer_groups_customer_group_id_200_response_data.go +++ b/api/model_patch_customer_groups_customer_group_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_customer_groups_customer_group_id_200_response_data_attributes.go b/api/model_patch_customer_groups_customer_group_id_200_response_data_attributes.go index 5b95437d6..a5bce9d43 100644 --- a/api/model_patch_customer_groups_customer_group_id_200_response_data_attributes.go +++ b/api/model_patch_customer_groups_customer_group_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_customer_password_resets_customer_password_reset_id_200_response.go b/api/model_patch_customer_password_resets_customer_password_reset_id_200_response.go index 41f735d69..e8dd2acea 100644 --- a/api/model_patch_customer_password_resets_customer_password_reset_id_200_response.go +++ b/api/model_patch_customer_password_resets_customer_password_reset_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_customer_password_resets_customer_password_reset_id_200_response_data.go b/api/model_patch_customer_password_resets_customer_password_reset_id_200_response_data.go index 3babda870..1c979ea63 100644 --- a/api/model_patch_customer_password_resets_customer_password_reset_id_200_response_data.go +++ b/api/model_patch_customer_password_resets_customer_password_reset_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_customer_password_resets_customer_password_reset_id_200_response_data_attributes.go b/api/model_patch_customer_password_resets_customer_password_reset_id_200_response_data_attributes.go index 9908c8725..2f2835731 100644 --- a/api/model_patch_customer_password_resets_customer_password_reset_id_200_response_data_attributes.go +++ b/api/model_patch_customer_password_resets_customer_password_reset_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_customer_payment_sources_customer_payment_source_id_200_response.go b/api/model_patch_customer_payment_sources_customer_payment_source_id_200_response.go index 000f1ab13..4cbba2f59 100644 --- a/api/model_patch_customer_payment_sources_customer_payment_source_id_200_response.go +++ b/api/model_patch_customer_payment_sources_customer_payment_source_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_customer_payment_sources_customer_payment_source_id_200_response_data.go b/api/model_patch_customer_payment_sources_customer_payment_source_id_200_response_data.go index 7576e0212..a41e30f2d 100644 --- a/api/model_patch_customer_payment_sources_customer_payment_source_id_200_response_data.go +++ b/api/model_patch_customer_payment_sources_customer_payment_source_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_customer_payment_sources_customer_payment_source_id_200_response_data_attributes.go b/api/model_patch_customer_payment_sources_customer_payment_source_id_200_response_data_attributes.go index 426d1e42c..50f1e1c27 100644 --- a/api/model_patch_customer_payment_sources_customer_payment_source_id_200_response_data_attributes.go +++ b/api/model_patch_customer_payment_sources_customer_payment_source_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_customer_subscriptions_customer_subscription_id_200_response.go b/api/model_patch_customer_subscriptions_customer_subscription_id_200_response.go index 9f3605269..5d7a297ea 100644 --- a/api/model_patch_customer_subscriptions_customer_subscription_id_200_response.go +++ b/api/model_patch_customer_subscriptions_customer_subscription_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_customer_subscriptions_customer_subscription_id_200_response_data.go b/api/model_patch_customer_subscriptions_customer_subscription_id_200_response_data.go index a67cff91f..468439898 100644 --- a/api/model_patch_customer_subscriptions_customer_subscription_id_200_response_data.go +++ b/api/model_patch_customer_subscriptions_customer_subscription_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_customer_subscriptions_customer_subscription_id_200_response_data_attributes.go b/api/model_patch_customer_subscriptions_customer_subscription_id_200_response_data_attributes.go index 08a70f39a..43f341586 100644 --- a/api/model_patch_customer_subscriptions_customer_subscription_id_200_response_data_attributes.go +++ b/api/model_patch_customer_subscriptions_customer_subscription_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_customers_customer_id_200_response.go b/api/model_patch_customers_customer_id_200_response.go index c9cd9b691..037ea752d 100644 --- a/api/model_patch_customers_customer_id_200_response.go +++ b/api/model_patch_customers_customer_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_customers_customer_id_200_response_data.go b/api/model_patch_customers_customer_id_200_response_data.go index 215bf0052..6d3a4fa17 100644 --- a/api/model_patch_customers_customer_id_200_response_data.go +++ b/api/model_patch_customers_customer_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_customers_customer_id_200_response_data_attributes.go b/api/model_patch_customers_customer_id_200_response_data_attributes.go index e3eb3f669..8e0c58236 100644 --- a/api/model_patch_customers_customer_id_200_response_data_attributes.go +++ b/api/model_patch_customers_customer_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -26,6 +26,8 @@ type PATCHCustomersCustomerId200ResponseDataAttributes struct { Password interface{} `json:"password,omitempty"` // A reference to uniquely identify the shopper during payment sessions. ShopperReference interface{} `json:"shopper_reference,omitempty"` + // A reference to uniquely identify the customer on any connected external services. + ProfileId interface{} `json:"profile_id,omitempty"` // A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. Reference interface{} `json:"reference,omitempty"` // Any identifier of the third party system that defines the reference code. @@ -150,6 +152,39 @@ func (o *PATCHCustomersCustomerId200ResponseDataAttributes) SetShopperReference( o.ShopperReference = v } +// GetProfileId returns the ProfileId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHCustomersCustomerId200ResponseDataAttributes) GetProfileId() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.ProfileId +} + +// GetProfileIdOk returns a tuple with the ProfileId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PATCHCustomersCustomerId200ResponseDataAttributes) GetProfileIdOk() (*interface{}, bool) { + if o == nil || IsNil(o.ProfileId) { + return nil, false + } + return &o.ProfileId, true +} + +// HasProfileId returns a boolean if a field has been set. +func (o *PATCHCustomersCustomerId200ResponseDataAttributes) HasProfileId() bool { + if o != nil && IsNil(o.ProfileId) { + return true + } + + return false +} + +// SetProfileId gets a reference to the given interface{} and assigns it to the ProfileId field. +func (o *PATCHCustomersCustomerId200ResponseDataAttributes) SetProfileId(v interface{}) { + o.ProfileId = v +} + // GetReference returns the Reference field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PATCHCustomersCustomerId200ResponseDataAttributes) GetReference() interface{} { if o == nil { @@ -268,6 +303,9 @@ func (o PATCHCustomersCustomerId200ResponseDataAttributes) ToMap() (map[string]i if o.ShopperReference != nil { toSerialize["shopper_reference"] = o.ShopperReference } + if o.ProfileId != nil { + toSerialize["profile_id"] = o.ProfileId + } if o.Reference != nil { toSerialize["reference"] = o.Reference } diff --git a/api/model_patch_delivery_lead_times_delivery_lead_time_id_200_response.go b/api/model_patch_delivery_lead_times_delivery_lead_time_id_200_response.go index 42a02fb4b..2a69503e1 100644 --- a/api/model_patch_delivery_lead_times_delivery_lead_time_id_200_response.go +++ b/api/model_patch_delivery_lead_times_delivery_lead_time_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_delivery_lead_times_delivery_lead_time_id_200_response_data.go b/api/model_patch_delivery_lead_times_delivery_lead_time_id_200_response_data.go index b1603358e..62ee34b7f 100644 --- a/api/model_patch_delivery_lead_times_delivery_lead_time_id_200_response_data.go +++ b/api/model_patch_delivery_lead_times_delivery_lead_time_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_delivery_lead_times_delivery_lead_time_id_200_response_data_attributes.go b/api/model_patch_delivery_lead_times_delivery_lead_time_id_200_response_data_attributes.go index 169cac770..1370491ca 100644 --- a/api/model_patch_delivery_lead_times_delivery_lead_time_id_200_response_data_attributes.go +++ b/api/model_patch_delivery_lead_times_delivery_lead_time_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_events_event_id_200_response.go b/api/model_patch_events_event_id_200_response.go index ae2139b3f..a86d505a2 100644 --- a/api/model_patch_events_event_id_200_response.go +++ b/api/model_patch_events_event_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_events_event_id_200_response_data.go b/api/model_patch_events_event_id_200_response_data.go index 3a330e5c9..0f962b923 100644 --- a/api/model_patch_events_event_id_200_response_data.go +++ b/api/model_patch_events_event_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_events_event_id_200_response_data_attributes.go b/api/model_patch_events_event_id_200_response_data_attributes.go index f0830b2a0..06a6c696e 100644 --- a/api/model_patch_events_event_id_200_response_data_attributes.go +++ b/api/model_patch_events_event_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_exports_export_id_200_response.go b/api/model_patch_exports_export_id_200_response.go index 6958233b9..184d0801f 100644 --- a/api/model_patch_exports_export_id_200_response.go +++ b/api/model_patch_exports_export_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_exports_export_id_200_response_data.go b/api/model_patch_exports_export_id_200_response_data.go index 5760c37d4..ba958ba82 100644 --- a/api/model_patch_exports_export_id_200_response_data.go +++ b/api/model_patch_exports_export_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -23,10 +23,10 @@ type PATCHExportsExportId200ResponseData struct { // The resource's id Id interface{} `json:"id,omitempty"` // The resource's type - Type interface{} `json:"type,omitempty"` - Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` - Attributes *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes `json:"attributes,omitempty"` - Relationships *POSTExports201ResponseDataRelationships `json:"relationships,omitempty"` + Type interface{} `json:"type,omitempty"` + Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` + Attributes *PATCHCleanupsCleanupId200ResponseDataAttributes `json:"attributes,omitempty"` + Relationships *POSTExports201ResponseDataRelationships `json:"relationships,omitempty"` } // NewPATCHExportsExportId200ResponseData instantiates a new PATCHExportsExportId200ResponseData object @@ -145,9 +145,9 @@ func (o *PATCHExportsExportId200ResponseData) SetLinks(v POSTAddresses201Respons } // GetAttributes returns the Attributes field value if set, zero value otherwise. -func (o *PATCHExportsExportId200ResponseData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes { +func (o *PATCHExportsExportId200ResponseData) GetAttributes() PATCHCleanupsCleanupId200ResponseDataAttributes { if o == nil || IsNil(o.Attributes) { - var ret PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes + var ret PATCHCleanupsCleanupId200ResponseDataAttributes return ret } return *o.Attributes @@ -155,7 +155,7 @@ func (o *PATCHExportsExportId200ResponseData) GetAttributes() PATCHBillingInfoVa // GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PATCHExportsExportId200ResponseData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool) { +func (o *PATCHExportsExportId200ResponseData) GetAttributesOk() (*PATCHCleanupsCleanupId200ResponseDataAttributes, bool) { if o == nil || IsNil(o.Attributes) { return nil, false } @@ -171,8 +171,8 @@ func (o *PATCHExportsExportId200ResponseData) HasAttributes() bool { return false } -// SetAttributes gets a reference to the given PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes and assigns it to the Attributes field. -func (o *PATCHExportsExportId200ResponseData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) { +// SetAttributes gets a reference to the given PATCHCleanupsCleanupId200ResponseDataAttributes and assigns it to the Attributes field. +func (o *PATCHExportsExportId200ResponseData) SetAttributes(v PATCHCleanupsCleanupId200ResponseDataAttributes) { o.Attributes = &v } diff --git a/api/model_patch_external_gateways_external_gateway_id_200_response.go b/api/model_patch_external_gateways_external_gateway_id_200_response.go index 0779cfe39..d58609db6 100644 --- a/api/model_patch_external_gateways_external_gateway_id_200_response.go +++ b/api/model_patch_external_gateways_external_gateway_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_external_gateways_external_gateway_id_200_response_data.go b/api/model_patch_external_gateways_external_gateway_id_200_response_data.go index fb85851a5..cd85974c9 100644 --- a/api/model_patch_external_gateways_external_gateway_id_200_response_data.go +++ b/api/model_patch_external_gateways_external_gateway_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_external_gateways_external_gateway_id_200_response_data_attributes.go b/api/model_patch_external_gateways_external_gateway_id_200_response_data_attributes.go index 2784475ee..807fd8638 100644 --- a/api/model_patch_external_gateways_external_gateway_id_200_response_data_attributes.go +++ b/api/model_patch_external_gateways_external_gateway_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_external_payments_external_payment_id_200_response.go b/api/model_patch_external_payments_external_payment_id_200_response.go index b89ad63eb..3b7dbd105 100644 --- a/api/model_patch_external_payments_external_payment_id_200_response.go +++ b/api/model_patch_external_payments_external_payment_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_external_payments_external_payment_id_200_response_data.go b/api/model_patch_external_payments_external_payment_id_200_response_data.go index 03b55ea6d..7c03a9967 100644 --- a/api/model_patch_external_payments_external_payment_id_200_response_data.go +++ b/api/model_patch_external_payments_external_payment_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_external_payments_external_payment_id_200_response_data_attributes.go b/api/model_patch_external_payments_external_payment_id_200_response_data_attributes.go index c2aee4d97..de22aec2a 100644 --- a/api/model_patch_external_payments_external_payment_id_200_response_data_attributes.go +++ b/api/model_patch_external_payments_external_payment_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_external_promotions_external_promotion_id_200_response.go b/api/model_patch_external_promotions_external_promotion_id_200_response.go index 5099a60a7..11129b06b 100644 --- a/api/model_patch_external_promotions_external_promotion_id_200_response.go +++ b/api/model_patch_external_promotions_external_promotion_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_external_promotions_external_promotion_id_200_response_data.go b/api/model_patch_external_promotions_external_promotion_id_200_response_data.go index a6ba3736a..09b5eabab 100644 --- a/api/model_patch_external_promotions_external_promotion_id_200_response_data.go +++ b/api/model_patch_external_promotions_external_promotion_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_external_promotions_external_promotion_id_200_response_data_attributes.go b/api/model_patch_external_promotions_external_promotion_id_200_response_data_attributes.go index 24e9a7a7f..1de707c87 100644 --- a/api/model_patch_external_promotions_external_promotion_id_200_response_data_attributes.go +++ b/api/model_patch_external_promotions_external_promotion_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_external_tax_calculators_external_tax_calculator_id_200_response.go b/api/model_patch_external_tax_calculators_external_tax_calculator_id_200_response.go index 88935188c..fa6646846 100644 --- a/api/model_patch_external_tax_calculators_external_tax_calculator_id_200_response.go +++ b/api/model_patch_external_tax_calculators_external_tax_calculator_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_external_tax_calculators_external_tax_calculator_id_200_response_data.go b/api/model_patch_external_tax_calculators_external_tax_calculator_id_200_response_data.go index 056ba66db..cf54842cf 100644 --- a/api/model_patch_external_tax_calculators_external_tax_calculator_id_200_response_data.go +++ b/api/model_patch_external_tax_calculators_external_tax_calculator_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_external_tax_calculators_external_tax_calculator_id_200_response_data_attributes.go b/api/model_patch_external_tax_calculators_external_tax_calculator_id_200_response_data_attributes.go index b3adc29f0..77bd9116b 100644 --- a/api/model_patch_external_tax_calculators_external_tax_calculator_id_200_response_data_attributes.go +++ b/api/model_patch_external_tax_calculators_external_tax_calculator_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_fixed_amount_promotions_fixed_amount_promotion_id_200_response.go b/api/model_patch_fixed_amount_promotions_fixed_amount_promotion_id_200_response.go index d6372dbb0..e6051d6c8 100644 --- a/api/model_patch_fixed_amount_promotions_fixed_amount_promotion_id_200_response.go +++ b/api/model_patch_fixed_amount_promotions_fixed_amount_promotion_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_fixed_amount_promotions_fixed_amount_promotion_id_200_response_data.go b/api/model_patch_fixed_amount_promotions_fixed_amount_promotion_id_200_response_data.go index ac0cb5a5b..7e1d76d7c 100644 --- a/api/model_patch_fixed_amount_promotions_fixed_amount_promotion_id_200_response_data.go +++ b/api/model_patch_fixed_amount_promotions_fixed_amount_promotion_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_fixed_amount_promotions_fixed_amount_promotion_id_200_response_data_attributes.go b/api/model_patch_fixed_amount_promotions_fixed_amount_promotion_id_200_response_data_attributes.go index 7da028629..8a8369e19 100644 --- a/api/model_patch_fixed_amount_promotions_fixed_amount_promotion_id_200_response_data_attributes.go +++ b/api/model_patch_fixed_amount_promotions_fixed_amount_promotion_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_fixed_price_promotions_fixed_price_promotion_id_200_response.go b/api/model_patch_fixed_price_promotions_fixed_price_promotion_id_200_response.go index a2ed6678f..9613d1403 100644 --- a/api/model_patch_fixed_price_promotions_fixed_price_promotion_id_200_response.go +++ b/api/model_patch_fixed_price_promotions_fixed_price_promotion_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_fixed_price_promotions_fixed_price_promotion_id_200_response_data.go b/api/model_patch_fixed_price_promotions_fixed_price_promotion_id_200_response_data.go index 3303f7199..2e78434d3 100644 --- a/api/model_patch_fixed_price_promotions_fixed_price_promotion_id_200_response_data.go +++ b/api/model_patch_fixed_price_promotions_fixed_price_promotion_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_fixed_price_promotions_fixed_price_promotion_id_200_response_data_attributes.go b/api/model_patch_fixed_price_promotions_fixed_price_promotion_id_200_response_data_attributes.go index e6dd7edca..18538f744 100644 --- a/api/model_patch_fixed_price_promotions_fixed_price_promotion_id_200_response_data_attributes.go +++ b/api/model_patch_fixed_price_promotions_fixed_price_promotion_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_flex_promotions_flex_promotion_id_200_response.go b/api/model_patch_flex_promotions_flex_promotion_id_200_response.go index 3a0111757..33bc3f0e7 100644 --- a/api/model_patch_flex_promotions_flex_promotion_id_200_response.go +++ b/api/model_patch_flex_promotions_flex_promotion_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_flex_promotions_flex_promotion_id_200_response_data.go b/api/model_patch_flex_promotions_flex_promotion_id_200_response_data.go index a3840d249..b9fc998e0 100644 --- a/api/model_patch_flex_promotions_flex_promotion_id_200_response_data.go +++ b/api/model_patch_flex_promotions_flex_promotion_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_flex_promotions_flex_promotion_id_200_response_data_attributes.go b/api/model_patch_flex_promotions_flex_promotion_id_200_response_data_attributes.go index dae107770..0ca94ef2a 100644 --- a/api/model_patch_flex_promotions_flex_promotion_id_200_response_data_attributes.go +++ b/api/model_patch_flex_promotions_flex_promotion_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_free_gift_promotions_free_gift_promotion_id_200_response.go b/api/model_patch_free_gift_promotions_free_gift_promotion_id_200_response.go index 6a787bba0..e97594c91 100644 --- a/api/model_patch_free_gift_promotions_free_gift_promotion_id_200_response.go +++ b/api/model_patch_free_gift_promotions_free_gift_promotion_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_free_gift_promotions_free_gift_promotion_id_200_response_data.go b/api/model_patch_free_gift_promotions_free_gift_promotion_id_200_response_data.go index f3addf9aa..19301419e 100644 --- a/api/model_patch_free_gift_promotions_free_gift_promotion_id_200_response_data.go +++ b/api/model_patch_free_gift_promotions_free_gift_promotion_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_free_gift_promotions_free_gift_promotion_id_200_response_data_attributes.go b/api/model_patch_free_gift_promotions_free_gift_promotion_id_200_response_data_attributes.go index 63cc5b698..4ff3997e1 100644 --- a/api/model_patch_free_gift_promotions_free_gift_promotion_id_200_response_data_attributes.go +++ b/api/model_patch_free_gift_promotions_free_gift_promotion_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_free_shipping_promotions_free_shipping_promotion_id_200_response.go b/api/model_patch_free_shipping_promotions_free_shipping_promotion_id_200_response.go index daa9a6da5..4e39c27a1 100644 --- a/api/model_patch_free_shipping_promotions_free_shipping_promotion_id_200_response.go +++ b/api/model_patch_free_shipping_promotions_free_shipping_promotion_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_free_shipping_promotions_free_shipping_promotion_id_200_response_data.go b/api/model_patch_free_shipping_promotions_free_shipping_promotion_id_200_response_data.go index bdf8a37d3..44815133d 100644 --- a/api/model_patch_free_shipping_promotions_free_shipping_promotion_id_200_response_data.go +++ b/api/model_patch_free_shipping_promotions_free_shipping_promotion_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_free_shipping_promotions_free_shipping_promotion_id_200_response_data_attributes.go b/api/model_patch_free_shipping_promotions_free_shipping_promotion_id_200_response_data_attributes.go index 52fc3d41f..71404ca53 100644 --- a/api/model_patch_free_shipping_promotions_free_shipping_promotion_id_200_response_data_attributes.go +++ b/api/model_patch_free_shipping_promotions_free_shipping_promotion_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_gift_card_recipients_gift_card_recipient_id_200_response.go b/api/model_patch_gift_card_recipients_gift_card_recipient_id_200_response.go index 5d19f06d0..8f3c5a271 100644 --- a/api/model_patch_gift_card_recipients_gift_card_recipient_id_200_response.go +++ b/api/model_patch_gift_card_recipients_gift_card_recipient_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_gift_card_recipients_gift_card_recipient_id_200_response_data.go b/api/model_patch_gift_card_recipients_gift_card_recipient_id_200_response_data.go index e3be7ae07..83a7f5204 100644 --- a/api/model_patch_gift_card_recipients_gift_card_recipient_id_200_response_data.go +++ b/api/model_patch_gift_card_recipients_gift_card_recipient_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_gift_cards_gift_card_id_200_response.go b/api/model_patch_gift_cards_gift_card_id_200_response.go index 8fce98ba4..d6de47cc5 100644 --- a/api/model_patch_gift_cards_gift_card_id_200_response.go +++ b/api/model_patch_gift_cards_gift_card_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_gift_cards_gift_card_id_200_response_data.go b/api/model_patch_gift_cards_gift_card_id_200_response_data.go index 1b5a4aba9..9bb4ffbd9 100644 --- a/api/model_patch_gift_cards_gift_card_id_200_response_data.go +++ b/api/model_patch_gift_cards_gift_card_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_gift_cards_gift_card_id_200_response_data_attributes.go b/api/model_patch_gift_cards_gift_card_id_200_response_data_attributes.go index 51f7d3444..a9ce0aa39 100644 --- a/api/model_patch_gift_cards_gift_card_id_200_response_data_attributes.go +++ b/api/model_patch_gift_cards_gift_card_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_google_geocoders_google_geocoder_id_200_response.go b/api/model_patch_google_geocoders_google_geocoder_id_200_response.go index a7bab7508..8e4b8b711 100644 --- a/api/model_patch_google_geocoders_google_geocoder_id_200_response.go +++ b/api/model_patch_google_geocoders_google_geocoder_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_google_geocoders_google_geocoder_id_200_response_data.go b/api/model_patch_google_geocoders_google_geocoder_id_200_response_data.go index df8f7b545..4419bc32d 100644 --- a/api/model_patch_google_geocoders_google_geocoder_id_200_response_data.go +++ b/api/model_patch_google_geocoders_google_geocoder_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_google_geocoders_google_geocoder_id_200_response_data_attributes.go b/api/model_patch_google_geocoders_google_geocoder_id_200_response_data_attributes.go index 185449dc5..4658875d7 100644 --- a/api/model_patch_google_geocoders_google_geocoder_id_200_response_data_attributes.go +++ b/api/model_patch_google_geocoders_google_geocoder_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_imports_import_id_200_response.go b/api/model_patch_imports_import_id_200_response.go index f107b9259..e270bdbf2 100644 --- a/api/model_patch_imports_import_id_200_response.go +++ b/api/model_patch_imports_import_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_imports_import_id_200_response_data.go b/api/model_patch_imports_import_id_200_response_data.go index 8b61165e7..6d6945cb3 100644 --- a/api/model_patch_imports_import_id_200_response_data.go +++ b/api/model_patch_imports_import_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -23,10 +23,10 @@ type PATCHImportsImportId200ResponseData struct { // The resource's id Id interface{} `json:"id,omitempty"` // The resource's type - Type interface{} `json:"type,omitempty"` - Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` - Attributes *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes `json:"attributes,omitempty"` - Relationships *POSTExports201ResponseDataRelationships `json:"relationships,omitempty"` + Type interface{} `json:"type,omitempty"` + Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` + Attributes *PATCHCleanupsCleanupId200ResponseDataAttributes `json:"attributes,omitempty"` + Relationships *POSTExports201ResponseDataRelationships `json:"relationships,omitempty"` } // NewPATCHImportsImportId200ResponseData instantiates a new PATCHImportsImportId200ResponseData object @@ -145,9 +145,9 @@ func (o *PATCHImportsImportId200ResponseData) SetLinks(v POSTAddresses201Respons } // GetAttributes returns the Attributes field value if set, zero value otherwise. -func (o *PATCHImportsImportId200ResponseData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes { +func (o *PATCHImportsImportId200ResponseData) GetAttributes() PATCHCleanupsCleanupId200ResponseDataAttributes { if o == nil || IsNil(o.Attributes) { - var ret PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes + var ret PATCHCleanupsCleanupId200ResponseDataAttributes return ret } return *o.Attributes @@ -155,7 +155,7 @@ func (o *PATCHImportsImportId200ResponseData) GetAttributes() PATCHBillingInfoVa // GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PATCHImportsImportId200ResponseData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool) { +func (o *PATCHImportsImportId200ResponseData) GetAttributesOk() (*PATCHCleanupsCleanupId200ResponseDataAttributes, bool) { if o == nil || IsNil(o.Attributes) { return nil, false } @@ -171,8 +171,8 @@ func (o *PATCHImportsImportId200ResponseData) HasAttributes() bool { return false } -// SetAttributes gets a reference to the given PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes and assigns it to the Attributes field. -func (o *PATCHImportsImportId200ResponseData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) { +// SetAttributes gets a reference to the given PATCHCleanupsCleanupId200ResponseDataAttributes and assigns it to the Attributes field. +func (o *PATCHImportsImportId200ResponseData) SetAttributes(v PATCHCleanupsCleanupId200ResponseDataAttributes) { o.Attributes = &v } diff --git a/api/model_patch_in_stock_subscriptions_in_stock_subscription_id_200_response.go b/api/model_patch_in_stock_subscriptions_in_stock_subscription_id_200_response.go index 694f02727..9aa6a08c2 100644 --- a/api/model_patch_in_stock_subscriptions_in_stock_subscription_id_200_response.go +++ b/api/model_patch_in_stock_subscriptions_in_stock_subscription_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_in_stock_subscriptions_in_stock_subscription_id_200_response_data.go b/api/model_patch_in_stock_subscriptions_in_stock_subscription_id_200_response_data.go index be633ca66..7969590c8 100644 --- a/api/model_patch_in_stock_subscriptions_in_stock_subscription_id_200_response_data.go +++ b/api/model_patch_in_stock_subscriptions_in_stock_subscription_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_in_stock_subscriptions_in_stock_subscription_id_200_response_data_attributes.go b/api/model_patch_in_stock_subscriptions_in_stock_subscription_id_200_response_data_attributes.go index 27764c6dd..55015f5f1 100644 --- a/api/model_patch_in_stock_subscriptions_in_stock_subscription_id_200_response_data_attributes.go +++ b/api/model_patch_in_stock_subscriptions_in_stock_subscription_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_inventory_models_inventory_model_id_200_response.go b/api/model_patch_inventory_models_inventory_model_id_200_response.go index 8996315c7..bd13fed32 100644 --- a/api/model_patch_inventory_models_inventory_model_id_200_response.go +++ b/api/model_patch_inventory_models_inventory_model_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_inventory_models_inventory_model_id_200_response_data.go b/api/model_patch_inventory_models_inventory_model_id_200_response_data.go index 3933071f2..3b2172b77 100644 --- a/api/model_patch_inventory_models_inventory_model_id_200_response_data.go +++ b/api/model_patch_inventory_models_inventory_model_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_inventory_models_inventory_model_id_200_response_data_attributes.go b/api/model_patch_inventory_models_inventory_model_id_200_response_data_attributes.go index e3d56ea5b..282591b6b 100644 --- a/api/model_patch_inventory_models_inventory_model_id_200_response_data_attributes.go +++ b/api/model_patch_inventory_models_inventory_model_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_inventory_return_locations_inventory_return_location_id_200_response.go b/api/model_patch_inventory_return_locations_inventory_return_location_id_200_response.go index 253d6aff9..87e0021ef 100644 --- a/api/model_patch_inventory_return_locations_inventory_return_location_id_200_response.go +++ b/api/model_patch_inventory_return_locations_inventory_return_location_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_inventory_return_locations_inventory_return_location_id_200_response_data.go b/api/model_patch_inventory_return_locations_inventory_return_location_id_200_response_data.go index a84444744..4b7e98c98 100644 --- a/api/model_patch_inventory_return_locations_inventory_return_location_id_200_response_data.go +++ b/api/model_patch_inventory_return_locations_inventory_return_location_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_inventory_return_locations_inventory_return_location_id_200_response_data_attributes.go b/api/model_patch_inventory_return_locations_inventory_return_location_id_200_response_data_attributes.go index b32aca499..db327a22d 100644 --- a/api/model_patch_inventory_return_locations_inventory_return_location_id_200_response_data_attributes.go +++ b/api/model_patch_inventory_return_locations_inventory_return_location_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_inventory_stock_locations_inventory_stock_location_id_200_response.go b/api/model_patch_inventory_stock_locations_inventory_stock_location_id_200_response.go index 3241da569..5f9b1ec15 100644 --- a/api/model_patch_inventory_stock_locations_inventory_stock_location_id_200_response.go +++ b/api/model_patch_inventory_stock_locations_inventory_stock_location_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_inventory_stock_locations_inventory_stock_location_id_200_response_data.go b/api/model_patch_inventory_stock_locations_inventory_stock_location_id_200_response_data.go index b865235cc..877980d68 100644 --- a/api/model_patch_inventory_stock_locations_inventory_stock_location_id_200_response_data.go +++ b/api/model_patch_inventory_stock_locations_inventory_stock_location_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_inventory_stock_locations_inventory_stock_location_id_200_response_data_attributes.go b/api/model_patch_inventory_stock_locations_inventory_stock_location_id_200_response_data_attributes.go index e292ce6d8..af6ab92b8 100644 --- a/api/model_patch_inventory_stock_locations_inventory_stock_location_id_200_response_data_attributes.go +++ b/api/model_patch_inventory_stock_locations_inventory_stock_location_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_klarna_gateways_klarna_gateway_id_200_response.go b/api/model_patch_klarna_gateways_klarna_gateway_id_200_response.go index 91ecd33a2..c90525e02 100644 --- a/api/model_patch_klarna_gateways_klarna_gateway_id_200_response.go +++ b/api/model_patch_klarna_gateways_klarna_gateway_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_klarna_gateways_klarna_gateway_id_200_response_data.go b/api/model_patch_klarna_gateways_klarna_gateway_id_200_response_data.go index 4726fcaa7..ad524124a 100644 --- a/api/model_patch_klarna_gateways_klarna_gateway_id_200_response_data.go +++ b/api/model_patch_klarna_gateways_klarna_gateway_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_klarna_gateways_klarna_gateway_id_200_response_data_attributes.go b/api/model_patch_klarna_gateways_klarna_gateway_id_200_response_data_attributes.go index b27ec6c0b..a1525964f 100644 --- a/api/model_patch_klarna_gateways_klarna_gateway_id_200_response_data_attributes.go +++ b/api/model_patch_klarna_gateways_klarna_gateway_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_klarna_payments_klarna_payment_id_200_response.go b/api/model_patch_klarna_payments_klarna_payment_id_200_response.go index 813055f2d..566757417 100644 --- a/api/model_patch_klarna_payments_klarna_payment_id_200_response.go +++ b/api/model_patch_klarna_payments_klarna_payment_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_klarna_payments_klarna_payment_id_200_response_data.go b/api/model_patch_klarna_payments_klarna_payment_id_200_response_data.go index 8e97746ed..f5065fc87 100644 --- a/api/model_patch_klarna_payments_klarna_payment_id_200_response_data.go +++ b/api/model_patch_klarna_payments_klarna_payment_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_klarna_payments_klarna_payment_id_200_response_data_attributes.go b/api/model_patch_klarna_payments_klarna_payment_id_200_response_data_attributes.go index 1169fe479..a54d929eb 100644 --- a/api/model_patch_klarna_payments_klarna_payment_id_200_response_data_attributes.go +++ b/api/model_patch_klarna_payments_klarna_payment_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_line_item_options_line_item_option_id_200_response.go b/api/model_patch_line_item_options_line_item_option_id_200_response.go index 2e7d9b773..a784498da 100644 --- a/api/model_patch_line_item_options_line_item_option_id_200_response.go +++ b/api/model_patch_line_item_options_line_item_option_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_line_item_options_line_item_option_id_200_response_data.go b/api/model_patch_line_item_options_line_item_option_id_200_response_data.go index adbc40026..6cdfbd2bc 100644 --- a/api/model_patch_line_item_options_line_item_option_id_200_response_data.go +++ b/api/model_patch_line_item_options_line_item_option_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_line_item_options_line_item_option_id_200_response_data_attributes.go b/api/model_patch_line_item_options_line_item_option_id_200_response_data_attributes.go index a18e8aa00..2d72979c4 100644 --- a/api/model_patch_line_item_options_line_item_option_id_200_response_data_attributes.go +++ b/api/model_patch_line_item_options_line_item_option_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_line_items_line_item_id_200_response.go b/api/model_patch_line_items_line_item_id_200_response.go index 86ba6c331..9b25742bc 100644 --- a/api/model_patch_line_items_line_item_id_200_response.go +++ b/api/model_patch_line_items_line_item_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_line_items_line_item_id_200_response_data.go b/api/model_patch_line_items_line_item_id_200_response_data.go index 359fda0c5..e8fd171ad 100644 --- a/api/model_patch_line_items_line_item_id_200_response_data.go +++ b/api/model_patch_line_items_line_item_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_line_items_line_item_id_200_response_data_attributes.go b/api/model_patch_line_items_line_item_id_200_response_data_attributes.go index aabf2b9ad..ff836e771 100644 --- a/api/model_patch_line_items_line_item_id_200_response_data_attributes.go +++ b/api/model_patch_line_items_line_item_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -30,7 +30,7 @@ type PATCHLineItemsLineItemId200ResponseDataAttributes struct { ExternalPrice interface{} `json:"_external_price,omitempty"` // Send this attribute if you want to reserve the stock for the line item's SKUs quantity. Stock reservations expiration depends on the inventory model's cutoff. When used on update the existing active stock reservations are renewed. Cannot be passed by sales channels. ReserveStock interface{} `json:"_reserve_stock,omitempty"` - // The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. + // The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. Cannot be passed by sales channels. UnitAmountCents interface{} `json:"unit_amount_cents,omitempty"` // The compared price amount, in cents. Useful to display a percentage discount. CompareAtAmountCents interface{} `json:"compare_at_amount_cents,omitempty"` diff --git a/api/model_patch_links_link_id_200_response.go b/api/model_patch_links_link_id_200_response.go index 8b3d830dc..97e9237f7 100644 --- a/api/model_patch_links_link_id_200_response.go +++ b/api/model_patch_links_link_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_links_link_id_200_response_data.go b/api/model_patch_links_link_id_200_response_data.go index 1f5bfa46c..f1f6882fa 100644 --- a/api/model_patch_links_link_id_200_response_data.go +++ b/api/model_patch_links_link_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_links_link_id_200_response_data_attributes.go b/api/model_patch_links_link_id_200_response_data_attributes.go index daebfcaa3..87d9f40b2 100644 --- a/api/model_patch_links_link_id_200_response_data_attributes.go +++ b/api/model_patch_links_link_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_manual_gateways_manual_gateway_id_200_response.go b/api/model_patch_manual_gateways_manual_gateway_id_200_response.go index 9dfaca35e..3f9b51391 100644 --- a/api/model_patch_manual_gateways_manual_gateway_id_200_response.go +++ b/api/model_patch_manual_gateways_manual_gateway_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_manual_gateways_manual_gateway_id_200_response_data.go b/api/model_patch_manual_gateways_manual_gateway_id_200_response_data.go index 26d6c19fd..976a9eb05 100644 --- a/api/model_patch_manual_gateways_manual_gateway_id_200_response_data.go +++ b/api/model_patch_manual_gateways_manual_gateway_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_manual_gateways_manual_gateway_id_200_response_data_attributes.go b/api/model_patch_manual_gateways_manual_gateway_id_200_response_data_attributes.go index 19283d28e..c578e18f7 100644 --- a/api/model_patch_manual_gateways_manual_gateway_id_200_response_data_attributes.go +++ b/api/model_patch_manual_gateways_manual_gateway_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_manual_tax_calculators_manual_tax_calculator_id_200_response.go b/api/model_patch_manual_tax_calculators_manual_tax_calculator_id_200_response.go index 0e5c10672..2f6c7eace 100644 --- a/api/model_patch_manual_tax_calculators_manual_tax_calculator_id_200_response.go +++ b/api/model_patch_manual_tax_calculators_manual_tax_calculator_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_manual_tax_calculators_manual_tax_calculator_id_200_response_data.go b/api/model_patch_manual_tax_calculators_manual_tax_calculator_id_200_response_data.go index 40a98670e..0c92803fc 100644 --- a/api/model_patch_manual_tax_calculators_manual_tax_calculator_id_200_response_data.go +++ b/api/model_patch_manual_tax_calculators_manual_tax_calculator_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_manual_tax_calculators_manual_tax_calculator_id_200_response_data_attributes.go b/api/model_patch_manual_tax_calculators_manual_tax_calculator_id_200_response_data_attributes.go index 4be7783e0..ed3c17edf 100644 --- a/api/model_patch_manual_tax_calculators_manual_tax_calculator_id_200_response_data_attributes.go +++ b/api/model_patch_manual_tax_calculators_manual_tax_calculator_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_markets_market_id_200_response.go b/api/model_patch_markets_market_id_200_response.go index b871c1668..1605bb3a0 100644 --- a/api/model_patch_markets_market_id_200_response.go +++ b/api/model_patch_markets_market_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_markets_market_id_200_response_data.go b/api/model_patch_markets_market_id_200_response_data.go index 84f3847e6..2ce9e60a8 100644 --- a/api/model_patch_markets_market_id_200_response_data.go +++ b/api/model_patch_markets_market_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_markets_market_id_200_response_data_attributes.go b/api/model_patch_markets_market_id_200_response_data_attributes.go index 10f735821..1ad816f04 100644 --- a/api/model_patch_markets_market_id_200_response_data_attributes.go +++ b/api/model_patch_markets_market_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_merchants_merchant_id_200_response.go b/api/model_patch_merchants_merchant_id_200_response.go index 8b78f80b8..e1ee05af3 100644 --- a/api/model_patch_merchants_merchant_id_200_response.go +++ b/api/model_patch_merchants_merchant_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_merchants_merchant_id_200_response_data.go b/api/model_patch_merchants_merchant_id_200_response_data.go index dc8a0666b..8bdf596dd 100644 --- a/api/model_patch_merchants_merchant_id_200_response_data.go +++ b/api/model_patch_merchants_merchant_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_merchants_merchant_id_200_response_data_attributes.go b/api/model_patch_merchants_merchant_id_200_response_data_attributes.go index 2c1268bd6..f5aa753c9 100644 --- a/api/model_patch_merchants_merchant_id_200_response_data_attributes.go +++ b/api/model_patch_merchants_merchant_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_notifications_notification_id_200_response.go b/api/model_patch_notifications_notification_id_200_response.go new file mode 100644 index 000000000..d8dd1b052 --- /dev/null +++ b/api/model_patch_notifications_notification_id_200_response.go @@ -0,0 +1,125 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the PATCHNotificationsNotificationId200Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PATCHNotificationsNotificationId200Response{} + +// PATCHNotificationsNotificationId200Response struct for PATCHNotificationsNotificationId200Response +type PATCHNotificationsNotificationId200Response struct { + Data *PATCHNotificationsNotificationId200ResponseData `json:"data,omitempty"` +} + +// NewPATCHNotificationsNotificationId200Response instantiates a new PATCHNotificationsNotificationId200Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPATCHNotificationsNotificationId200Response() *PATCHNotificationsNotificationId200Response { + this := PATCHNotificationsNotificationId200Response{} + return &this +} + +// NewPATCHNotificationsNotificationId200ResponseWithDefaults instantiates a new PATCHNotificationsNotificationId200Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPATCHNotificationsNotificationId200ResponseWithDefaults() *PATCHNotificationsNotificationId200Response { + this := PATCHNotificationsNotificationId200Response{} + return &this +} + +// GetData returns the Data field value if set, zero value otherwise. +func (o *PATCHNotificationsNotificationId200Response) GetData() PATCHNotificationsNotificationId200ResponseData { + if o == nil || IsNil(o.Data) { + var ret PATCHNotificationsNotificationId200ResponseData + return ret + } + return *o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PATCHNotificationsNotificationId200Response) GetDataOk() (*PATCHNotificationsNotificationId200ResponseData, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *PATCHNotificationsNotificationId200Response) HasData() bool { + if o != nil && !IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given PATCHNotificationsNotificationId200ResponseData and assigns it to the Data field. +func (o *PATCHNotificationsNotificationId200Response) SetData(v PATCHNotificationsNotificationId200ResponseData) { + o.Data = &v +} + +func (o PATCHNotificationsNotificationId200Response) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PATCHNotificationsNotificationId200Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Data) { + toSerialize["data"] = o.Data + } + return toSerialize, nil +} + +type NullablePATCHNotificationsNotificationId200Response struct { + value *PATCHNotificationsNotificationId200Response + isSet bool +} + +func (v NullablePATCHNotificationsNotificationId200Response) Get() *PATCHNotificationsNotificationId200Response { + return v.value +} + +func (v *NullablePATCHNotificationsNotificationId200Response) Set(val *PATCHNotificationsNotificationId200Response) { + v.value = val + v.isSet = true +} + +func (v NullablePATCHNotificationsNotificationId200Response) IsSet() bool { + return v.isSet +} + +func (v *NullablePATCHNotificationsNotificationId200Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePATCHNotificationsNotificationId200Response(val *PATCHNotificationsNotificationId200Response) *NullablePATCHNotificationsNotificationId200Response { + return &NullablePATCHNotificationsNotificationId200Response{value: val, isSet: true} +} + +func (v NullablePATCHNotificationsNotificationId200Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePATCHNotificationsNotificationId200Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_patch_notifications_notification_id_200_response_data.go b/api/model_patch_notifications_notification_id_200_response_data.go new file mode 100644 index 000000000..038c7c2cb --- /dev/null +++ b/api/model_patch_notifications_notification_id_200_response_data.go @@ -0,0 +1,273 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the PATCHNotificationsNotificationId200ResponseData type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PATCHNotificationsNotificationId200ResponseData{} + +// PATCHNotificationsNotificationId200ResponseData struct for PATCHNotificationsNotificationId200ResponseData +type PATCHNotificationsNotificationId200ResponseData struct { + // The resource's id + Id interface{} `json:"id,omitempty"` + // The resource's type + Type interface{} `json:"type,omitempty"` + Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` + Attributes *PATCHNotificationsNotificationId200ResponseDataAttributes `json:"attributes,omitempty"` + Relationships *POSTNotifications201ResponseDataRelationships `json:"relationships,omitempty"` +} + +// NewPATCHNotificationsNotificationId200ResponseData instantiates a new PATCHNotificationsNotificationId200ResponseData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPATCHNotificationsNotificationId200ResponseData() *PATCHNotificationsNotificationId200ResponseData { + this := PATCHNotificationsNotificationId200ResponseData{} + return &this +} + +// NewPATCHNotificationsNotificationId200ResponseDataWithDefaults instantiates a new PATCHNotificationsNotificationId200ResponseData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPATCHNotificationsNotificationId200ResponseDataWithDefaults() *PATCHNotificationsNotificationId200ResponseData { + this := PATCHNotificationsNotificationId200ResponseData{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHNotificationsNotificationId200ResponseData) GetId() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PATCHNotificationsNotificationId200ResponseData) GetIdOk() (*interface{}, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return &o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PATCHNotificationsNotificationId200ResponseData) HasId() bool { + if o != nil && IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given interface{} and assigns it to the Id field. +func (o *PATCHNotificationsNotificationId200ResponseData) SetId(v interface{}) { + o.Id = v +} + +// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHNotificationsNotificationId200ResponseData) GetType() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PATCHNotificationsNotificationId200ResponseData) GetTypeOk() (*interface{}, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return &o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *PATCHNotificationsNotificationId200ResponseData) HasType() bool { + if o != nil && IsNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given interface{} and assigns it to the Type field. +func (o *PATCHNotificationsNotificationId200ResponseData) SetType(v interface{}) { + o.Type = v +} + +// GetLinks returns the Links field value if set, zero value otherwise. +func (o *PATCHNotificationsNotificationId200ResponseData) GetLinks() POSTAddresses201ResponseDataLinks { + if o == nil || IsNil(o.Links) { + var ret POSTAddresses201ResponseDataLinks + return ret + } + return *o.Links +} + +// GetLinksOk returns a tuple with the Links field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PATCHNotificationsNotificationId200ResponseData) GetLinksOk() (*POSTAddresses201ResponseDataLinks, bool) { + if o == nil || IsNil(o.Links) { + return nil, false + } + return o.Links, true +} + +// HasLinks returns a boolean if a field has been set. +func (o *PATCHNotificationsNotificationId200ResponseData) HasLinks() bool { + if o != nil && !IsNil(o.Links) { + return true + } + + return false +} + +// SetLinks gets a reference to the given POSTAddresses201ResponseDataLinks and assigns it to the Links field. +func (o *PATCHNotificationsNotificationId200ResponseData) SetLinks(v POSTAddresses201ResponseDataLinks) { + o.Links = &v +} + +// GetAttributes returns the Attributes field value if set, zero value otherwise. +func (o *PATCHNotificationsNotificationId200ResponseData) GetAttributes() PATCHNotificationsNotificationId200ResponseDataAttributes { + if o == nil || IsNil(o.Attributes) { + var ret PATCHNotificationsNotificationId200ResponseDataAttributes + return ret + } + return *o.Attributes +} + +// GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PATCHNotificationsNotificationId200ResponseData) GetAttributesOk() (*PATCHNotificationsNotificationId200ResponseDataAttributes, bool) { + if o == nil || IsNil(o.Attributes) { + return nil, false + } + return o.Attributes, true +} + +// HasAttributes returns a boolean if a field has been set. +func (o *PATCHNotificationsNotificationId200ResponseData) HasAttributes() bool { + if o != nil && !IsNil(o.Attributes) { + return true + } + + return false +} + +// SetAttributes gets a reference to the given PATCHNotificationsNotificationId200ResponseDataAttributes and assigns it to the Attributes field. +func (o *PATCHNotificationsNotificationId200ResponseData) SetAttributes(v PATCHNotificationsNotificationId200ResponseDataAttributes) { + o.Attributes = &v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *PATCHNotificationsNotificationId200ResponseData) GetRelationships() POSTNotifications201ResponseDataRelationships { + if o == nil || IsNil(o.Relationships) { + var ret POSTNotifications201ResponseDataRelationships + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PATCHNotificationsNotificationId200ResponseData) GetRelationshipsOk() (*POSTNotifications201ResponseDataRelationships, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *PATCHNotificationsNotificationId200ResponseData) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given POSTNotifications201ResponseDataRelationships and assigns it to the Relationships field. +func (o *PATCHNotificationsNotificationId200ResponseData) SetRelationships(v POSTNotifications201ResponseDataRelationships) { + o.Relationships = &v +} + +func (o PATCHNotificationsNotificationId200ResponseData) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PATCHNotificationsNotificationId200ResponseData) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Id != nil { + toSerialize["id"] = o.Id + } + if o.Type != nil { + toSerialize["type"] = o.Type + } + if !IsNil(o.Links) { + toSerialize["links"] = o.Links + } + if !IsNil(o.Attributes) { + toSerialize["attributes"] = o.Attributes + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + return toSerialize, nil +} + +type NullablePATCHNotificationsNotificationId200ResponseData struct { + value *PATCHNotificationsNotificationId200ResponseData + isSet bool +} + +func (v NullablePATCHNotificationsNotificationId200ResponseData) Get() *PATCHNotificationsNotificationId200ResponseData { + return v.value +} + +func (v *NullablePATCHNotificationsNotificationId200ResponseData) Set(val *PATCHNotificationsNotificationId200ResponseData) { + v.value = val + v.isSet = true +} + +func (v NullablePATCHNotificationsNotificationId200ResponseData) IsSet() bool { + return v.isSet +} + +func (v *NullablePATCHNotificationsNotificationId200ResponseData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePATCHNotificationsNotificationId200ResponseData(val *PATCHNotificationsNotificationId200ResponseData) *NullablePATCHNotificationsNotificationId200ResponseData { + return &NullablePATCHNotificationsNotificationId200ResponseData{value: val, isSet: true} +} + +func (v NullablePATCHNotificationsNotificationId200ResponseData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePATCHNotificationsNotificationId200ResponseData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_patch_notifications_notification_id_200_response_data_attributes.go b/api/model_patch_notifications_notification_id_200_response_data_attributes.go new file mode 100644 index 000000000..baa01a85f --- /dev/null +++ b/api/model_patch_notifications_notification_id_200_response_data_attributes.go @@ -0,0 +1,317 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the PATCHNotificationsNotificationId200ResponseDataAttributes type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PATCHNotificationsNotificationId200ResponseDataAttributes{} + +// PATCHNotificationsNotificationId200ResponseDataAttributes struct for PATCHNotificationsNotificationId200ResponseDataAttributes +type PATCHNotificationsNotificationId200ResponseDataAttributes struct { + // The internal name of the notification. + Name interface{} `json:"name,omitempty"` + // Indicates if the notification is temporary, valid for the ones created by external services. + Flash interface{} `json:"flash,omitempty"` + // An internal body of the notification. + Body interface{} `json:"body,omitempty"` + // A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. + Reference interface{} `json:"reference,omitempty"` + // Any identifier of the third party system that defines the reference code. + ReferenceOrigin interface{} `json:"reference_origin,omitempty"` + // Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. + Metadata interface{} `json:"metadata,omitempty"` +} + +// NewPATCHNotificationsNotificationId200ResponseDataAttributes instantiates a new PATCHNotificationsNotificationId200ResponseDataAttributes object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPATCHNotificationsNotificationId200ResponseDataAttributes() *PATCHNotificationsNotificationId200ResponseDataAttributes { + this := PATCHNotificationsNotificationId200ResponseDataAttributes{} + return &this +} + +// NewPATCHNotificationsNotificationId200ResponseDataAttributesWithDefaults instantiates a new PATCHNotificationsNotificationId200ResponseDataAttributes object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPATCHNotificationsNotificationId200ResponseDataAttributesWithDefaults() *PATCHNotificationsNotificationId200ResponseDataAttributes { + this := PATCHNotificationsNotificationId200ResponseDataAttributes{} + return &this +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) GetName() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) GetNameOk() (*interface{}, bool) { + if o == nil || IsNil(o.Name) { + return nil, false + } + return &o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) HasName() bool { + if o != nil && IsNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given interface{} and assigns it to the Name field. +func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) SetName(v interface{}) { + o.Name = v +} + +// GetFlash returns the Flash field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) GetFlash() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Flash +} + +// GetFlashOk returns a tuple with the Flash field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) GetFlashOk() (*interface{}, bool) { + if o == nil || IsNil(o.Flash) { + return nil, false + } + return &o.Flash, true +} + +// HasFlash returns a boolean if a field has been set. +func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) HasFlash() bool { + if o != nil && IsNil(o.Flash) { + return true + } + + return false +} + +// SetFlash gets a reference to the given interface{} and assigns it to the Flash field. +func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) SetFlash(v interface{}) { + o.Flash = v +} + +// GetBody returns the Body field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) GetBody() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Body +} + +// GetBodyOk returns a tuple with the Body field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) GetBodyOk() (*interface{}, bool) { + if o == nil || IsNil(o.Body) { + return nil, false + } + return &o.Body, true +} + +// HasBody returns a boolean if a field has been set. +func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) HasBody() bool { + if o != nil && IsNil(o.Body) { + return true + } + + return false +} + +// SetBody gets a reference to the given interface{} and assigns it to the Body field. +func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) SetBody(v interface{}) { + o.Body = v +} + +// GetReference returns the Reference field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) GetReference() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Reference +} + +// GetReferenceOk returns a tuple with the Reference field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) GetReferenceOk() (*interface{}, bool) { + if o == nil || IsNil(o.Reference) { + return nil, false + } + return &o.Reference, true +} + +// HasReference returns a boolean if a field has been set. +func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) HasReference() bool { + if o != nil && IsNil(o.Reference) { + return true + } + + return false +} + +// SetReference gets a reference to the given interface{} and assigns it to the Reference field. +func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) SetReference(v interface{}) { + o.Reference = v +} + +// GetReferenceOrigin returns the ReferenceOrigin field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) GetReferenceOrigin() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.ReferenceOrigin +} + +// GetReferenceOriginOk returns a tuple with the ReferenceOrigin field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) GetReferenceOriginOk() (*interface{}, bool) { + if o == nil || IsNil(o.ReferenceOrigin) { + return nil, false + } + return &o.ReferenceOrigin, true +} + +// HasReferenceOrigin returns a boolean if a field has been set. +func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) HasReferenceOrigin() bool { + if o != nil && IsNil(o.ReferenceOrigin) { + return true + } + + return false +} + +// SetReferenceOrigin gets a reference to the given interface{} and assigns it to the ReferenceOrigin field. +func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) SetReferenceOrigin(v interface{}) { + o.ReferenceOrigin = v +} + +// GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) GetMetadata() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Metadata +} + +// GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) GetMetadataOk() (*interface{}, bool) { + if o == nil || IsNil(o.Metadata) { + return nil, false + } + return &o.Metadata, true +} + +// HasMetadata returns a boolean if a field has been set. +func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) HasMetadata() bool { + if o != nil && IsNil(o.Metadata) { + return true + } + + return false +} + +// SetMetadata gets a reference to the given interface{} and assigns it to the Metadata field. +func (o *PATCHNotificationsNotificationId200ResponseDataAttributes) SetMetadata(v interface{}) { + o.Metadata = v +} + +func (o PATCHNotificationsNotificationId200ResponseDataAttributes) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PATCHNotificationsNotificationId200ResponseDataAttributes) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Name != nil { + toSerialize["name"] = o.Name + } + if o.Flash != nil { + toSerialize["flash"] = o.Flash + } + if o.Body != nil { + toSerialize["body"] = o.Body + } + if o.Reference != nil { + toSerialize["reference"] = o.Reference + } + if o.ReferenceOrigin != nil { + toSerialize["reference_origin"] = o.ReferenceOrigin + } + if o.Metadata != nil { + toSerialize["metadata"] = o.Metadata + } + return toSerialize, nil +} + +type NullablePATCHNotificationsNotificationId200ResponseDataAttributes struct { + value *PATCHNotificationsNotificationId200ResponseDataAttributes + isSet bool +} + +func (v NullablePATCHNotificationsNotificationId200ResponseDataAttributes) Get() *PATCHNotificationsNotificationId200ResponseDataAttributes { + return v.value +} + +func (v *NullablePATCHNotificationsNotificationId200ResponseDataAttributes) Set(val *PATCHNotificationsNotificationId200ResponseDataAttributes) { + v.value = val + v.isSet = true +} + +func (v NullablePATCHNotificationsNotificationId200ResponseDataAttributes) IsSet() bool { + return v.isSet +} + +func (v *NullablePATCHNotificationsNotificationId200ResponseDataAttributes) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePATCHNotificationsNotificationId200ResponseDataAttributes(val *PATCHNotificationsNotificationId200ResponseDataAttributes) *NullablePATCHNotificationsNotificationId200ResponseDataAttributes { + return &NullablePATCHNotificationsNotificationId200ResponseDataAttributes{value: val, isSet: true} +} + +func (v NullablePATCHNotificationsNotificationId200ResponseDataAttributes) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePATCHNotificationsNotificationId200ResponseDataAttributes) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_patch_order_amount_promotion_rules_order_amount_promotion_rule_id_200_response.go b/api/model_patch_order_amount_promotion_rules_order_amount_promotion_rule_id_200_response.go index b522bce49..a2ebb25ee 100644 --- a/api/model_patch_order_amount_promotion_rules_order_amount_promotion_rule_id_200_response.go +++ b/api/model_patch_order_amount_promotion_rules_order_amount_promotion_rule_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_order_amount_promotion_rules_order_amount_promotion_rule_id_200_response_data.go b/api/model_patch_order_amount_promotion_rules_order_amount_promotion_rule_id_200_response_data.go index c786e966a..058a93492 100644 --- a/api/model_patch_order_amount_promotion_rules_order_amount_promotion_rule_id_200_response_data.go +++ b/api/model_patch_order_amount_promotion_rules_order_amount_promotion_rule_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_order_amount_promotion_rules_order_amount_promotion_rule_id_200_response_data_attributes.go b/api/model_patch_order_amount_promotion_rules_order_amount_promotion_rule_id_200_response_data_attributes.go index 581a2df58..bc4af8715 100644 --- a/api/model_patch_order_amount_promotion_rules_order_amount_promotion_rule_id_200_response_data_attributes.go +++ b/api/model_patch_order_amount_promotion_rules_order_amount_promotion_rule_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_order_copies_order_copy_id_200_response.go b/api/model_patch_order_copies_order_copy_id_200_response.go index 35ad800cf..e8f4ade3b 100644 --- a/api/model_patch_order_copies_order_copy_id_200_response.go +++ b/api/model_patch_order_copies_order_copy_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_order_copies_order_copy_id_200_response_data.go b/api/model_patch_order_copies_order_copy_id_200_response_data.go index 56c17b58e..d52104e99 100644 --- a/api/model_patch_order_copies_order_copy_id_200_response_data.go +++ b/api/model_patch_order_copies_order_copy_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -23,10 +23,10 @@ type PATCHOrderCopiesOrderCopyId200ResponseData struct { // The resource's id Id interface{} `json:"id,omitempty"` // The resource's type - Type interface{} `json:"type,omitempty"` - Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` - Attributes *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes `json:"attributes,omitempty"` - Relationships *POSTOrderCopies201ResponseDataRelationships `json:"relationships,omitempty"` + Type interface{} `json:"type,omitempty"` + Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` + Attributes *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes `json:"attributes,omitempty"` + Relationships *POSTOrderCopies201ResponseDataRelationships `json:"relationships,omitempty"` } // NewPATCHOrderCopiesOrderCopyId200ResponseData instantiates a new PATCHOrderCopiesOrderCopyId200ResponseData object @@ -145,9 +145,9 @@ func (o *PATCHOrderCopiesOrderCopyId200ResponseData) SetLinks(v POSTAddresses201 } // GetAttributes returns the Attributes field value if set, zero value otherwise. -func (o *PATCHOrderCopiesOrderCopyId200ResponseData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes { +func (o *PATCHOrderCopiesOrderCopyId200ResponseData) GetAttributes() PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes { if o == nil || IsNil(o.Attributes) { - var ret PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes + var ret PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes return ret } return *o.Attributes @@ -155,7 +155,7 @@ func (o *PATCHOrderCopiesOrderCopyId200ResponseData) GetAttributes() PATCHBillin // GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PATCHOrderCopiesOrderCopyId200ResponseData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool) { +func (o *PATCHOrderCopiesOrderCopyId200ResponseData) GetAttributesOk() (*PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes, bool) { if o == nil || IsNil(o.Attributes) { return nil, false } @@ -171,8 +171,8 @@ func (o *PATCHOrderCopiesOrderCopyId200ResponseData) HasAttributes() bool { return false } -// SetAttributes gets a reference to the given PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes and assigns it to the Attributes field. -func (o *PATCHOrderCopiesOrderCopyId200ResponseData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) { +// SetAttributes gets a reference to the given PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes and assigns it to the Attributes field. +func (o *PATCHOrderCopiesOrderCopyId200ResponseData) SetAttributes(v PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) { o.Attributes = &v } diff --git a/api/model_patch_order_subscription_items_order_subscription_item_id_200_response.go b/api/model_patch_order_subscription_items_order_subscription_item_id_200_response.go index 89ca07e60..fe2cad9bd 100644 --- a/api/model_patch_order_subscription_items_order_subscription_item_id_200_response.go +++ b/api/model_patch_order_subscription_items_order_subscription_item_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_order_subscription_items_order_subscription_item_id_200_response_data.go b/api/model_patch_order_subscription_items_order_subscription_item_id_200_response_data.go index 88f6fdc4f..5178ddc00 100644 --- a/api/model_patch_order_subscription_items_order_subscription_item_id_200_response_data.go +++ b/api/model_patch_order_subscription_items_order_subscription_item_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_order_subscription_items_order_subscription_item_id_200_response_data_attributes.go b/api/model_patch_order_subscription_items_order_subscription_item_id_200_response_data_attributes.go index f96cd761e..002ec5856 100644 --- a/api/model_patch_order_subscription_items_order_subscription_item_id_200_response_data_attributes.go +++ b/api/model_patch_order_subscription_items_order_subscription_item_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_order_subscriptions_order_subscription_id_200_response.go b/api/model_patch_order_subscriptions_order_subscription_id_200_response.go index 64e1c7c8f..bc23b1b18 100644 --- a/api/model_patch_order_subscriptions_order_subscription_id_200_response.go +++ b/api/model_patch_order_subscriptions_order_subscription_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_order_subscriptions_order_subscription_id_200_response_data.go b/api/model_patch_order_subscriptions_order_subscription_id_200_response_data.go index b6ccad08a..ed2d383b1 100644 --- a/api/model_patch_order_subscriptions_order_subscription_id_200_response_data.go +++ b/api/model_patch_order_subscriptions_order_subscription_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_order_subscriptions_order_subscription_id_200_response_data_attributes.go b/api/model_patch_order_subscriptions_order_subscription_id_200_response_data_attributes.go index 21a373b90..c645645cf 100644 --- a/api/model_patch_order_subscriptions_order_subscription_id_200_response_data_attributes.go +++ b/api/model_patch_order_subscriptions_order_subscription_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_orders_order_id_200_response.go b/api/model_patch_orders_order_id_200_response.go index 56022f81a..f9d841c32 100644 --- a/api/model_patch_orders_order_id_200_response.go +++ b/api/model_patch_orders_order_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_orders_order_id_200_response_data.go b/api/model_patch_orders_order_id_200_response_data.go index 934404d79..8c3695b38 100644 --- a/api/model_patch_orders_order_id_200_response_data.go +++ b/api/model_patch_orders_order_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_orders_order_id_200_response_data_attributes.go b/api/model_patch_orders_order_id_200_response_data_attributes.go index 842f0ea55..0df36f514 100644 --- a/api/model_patch_orders_order_id_200_response_data_attributes.go +++ b/api/model_patch_orders_order_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -22,7 +22,7 @@ var _ MappedNullable = &PATCHOrdersOrderId200ResponseDataAttributes{} type PATCHOrdersOrderId200ResponseDataAttributes struct { // The order identifier. Can be specified if unique within the organization (for enterprise plans only), default to numeric ID otherwise. Cannot be passed by sales channels. Number interface{} `json:"number,omitempty"` - // The affiliate code, if any, the seller will transfer commission on shop by link transactions. + // The affiliate code, if any, to track commissions using any third party services. AffiliateCode interface{} `json:"affiliate_code,omitempty"` // Save this attribute as 'false' if you want prevent the order to be refreshed automatically at each change (much faster). Autorefresh interface{} `json:"autorefresh,omitempty"` @@ -86,6 +86,8 @@ type PATCHOrdersOrderId200ResponseDataAttributes struct { UpdateTaxes interface{} `json:"_update_taxes,omitempty"` // Send this attribute if you want to nullify the payment source for this order. NullifyPaymentSource interface{} `json:"_nullify_payment_source,omitempty"` + // Send this attribute if you want to set the payment source associated with the last succeeded authorization. At the end of the fix the order should be placed and authorized and ready for approval. Cannot be passed by sales channels. + FixPaymentSource interface{} `json:"_fix_payment_source,omitempty"` // The id of the address that you want to clone to create the order's billing address. BillingAddressCloneId interface{} `json:"_billing_address_clone_id,omitempty"` // The id of the address that you want to clone to create the order's shipping address. @@ -1232,6 +1234,39 @@ func (o *PATCHOrdersOrderId200ResponseDataAttributes) SetNullifyPaymentSource(v o.NullifyPaymentSource = v } +// GetFixPaymentSource returns the FixPaymentSource field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHOrdersOrderId200ResponseDataAttributes) GetFixPaymentSource() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.FixPaymentSource +} + +// GetFixPaymentSourceOk returns a tuple with the FixPaymentSource field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PATCHOrdersOrderId200ResponseDataAttributes) GetFixPaymentSourceOk() (*interface{}, bool) { + if o == nil || IsNil(o.FixPaymentSource) { + return nil, false + } + return &o.FixPaymentSource, true +} + +// HasFixPaymentSource returns a boolean if a field has been set. +func (o *PATCHOrdersOrderId200ResponseDataAttributes) HasFixPaymentSource() bool { + if o != nil && IsNil(o.FixPaymentSource) { + return true + } + + return false +} + +// SetFixPaymentSource gets a reference to the given interface{} and assigns it to the FixPaymentSource field. +func (o *PATCHOrdersOrderId200ResponseDataAttributes) SetFixPaymentSource(v interface{}) { + o.FixPaymentSource = v +} + // GetBillingAddressCloneId returns the BillingAddressCloneId field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PATCHOrdersOrderId200ResponseDataAttributes) GetBillingAddressCloneId() interface{} { if o == nil { @@ -1968,6 +2003,9 @@ func (o PATCHOrdersOrderId200ResponseDataAttributes) ToMap() (map[string]interfa if o.NullifyPaymentSource != nil { toSerialize["_nullify_payment_source"] = o.NullifyPaymentSource } + if o.FixPaymentSource != nil { + toSerialize["_fix_payment_source"] = o.FixPaymentSource + } if o.BillingAddressCloneId != nil { toSerialize["_billing_address_clone_id"] = o.BillingAddressCloneId } diff --git a/api/model_patch_packages_package_id_200_response.go b/api/model_patch_packages_package_id_200_response.go index 085c39d6c..7a3dd10e0 100644 --- a/api/model_patch_packages_package_id_200_response.go +++ b/api/model_patch_packages_package_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_packages_package_id_200_response_data.go b/api/model_patch_packages_package_id_200_response_data.go index 6099989ca..26b07bf73 100644 --- a/api/model_patch_packages_package_id_200_response_data.go +++ b/api/model_patch_packages_package_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_packages_package_id_200_response_data_attributes.go b/api/model_patch_packages_package_id_200_response_data_attributes.go index 49e3425a2..6999f737e 100644 --- a/api/model_patch_packages_package_id_200_response_data_attributes.go +++ b/api/model_patch_packages_package_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_parcel_line_items_parcel_line_item_id_200_response.go b/api/model_patch_parcel_line_items_parcel_line_item_id_200_response.go index d77b6cb44..90764bae6 100644 --- a/api/model_patch_parcel_line_items_parcel_line_item_id_200_response.go +++ b/api/model_patch_parcel_line_items_parcel_line_item_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_parcel_line_items_parcel_line_item_id_200_response_data.go b/api/model_patch_parcel_line_items_parcel_line_item_id_200_response_data.go index 1136daf22..941581e82 100644 --- a/api/model_patch_parcel_line_items_parcel_line_item_id_200_response_data.go +++ b/api/model_patch_parcel_line_items_parcel_line_item_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -23,10 +23,10 @@ type PATCHParcelLineItemsParcelLineItemId200ResponseData struct { // The resource's id Id interface{} `json:"id,omitempty"` // The resource's type - Type interface{} `json:"type,omitempty"` - Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` - Attributes *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes `json:"attributes,omitempty"` - Relationships *POSTParcelLineItems201ResponseDataRelationships `json:"relationships,omitempty"` + Type interface{} `json:"type,omitempty"` + Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` + Attributes *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes `json:"attributes,omitempty"` + Relationships *POSTParcelLineItems201ResponseDataRelationships `json:"relationships,omitempty"` } // NewPATCHParcelLineItemsParcelLineItemId200ResponseData instantiates a new PATCHParcelLineItemsParcelLineItemId200ResponseData object @@ -145,9 +145,9 @@ func (o *PATCHParcelLineItemsParcelLineItemId200ResponseData) SetLinks(v POSTAdd } // GetAttributes returns the Attributes field value if set, zero value otherwise. -func (o *PATCHParcelLineItemsParcelLineItemId200ResponseData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes { +func (o *PATCHParcelLineItemsParcelLineItemId200ResponseData) GetAttributes() PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes { if o == nil || IsNil(o.Attributes) { - var ret PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes + var ret PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes return ret } return *o.Attributes @@ -155,7 +155,7 @@ func (o *PATCHParcelLineItemsParcelLineItemId200ResponseData) GetAttributes() PA // GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PATCHParcelLineItemsParcelLineItemId200ResponseData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool) { +func (o *PATCHParcelLineItemsParcelLineItemId200ResponseData) GetAttributesOk() (*PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes, bool) { if o == nil || IsNil(o.Attributes) { return nil, false } @@ -171,8 +171,8 @@ func (o *PATCHParcelLineItemsParcelLineItemId200ResponseData) HasAttributes() bo return false } -// SetAttributes gets a reference to the given PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes and assigns it to the Attributes field. -func (o *PATCHParcelLineItemsParcelLineItemId200ResponseData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) { +// SetAttributes gets a reference to the given PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes and assigns it to the Attributes field. +func (o *PATCHParcelLineItemsParcelLineItemId200ResponseData) SetAttributes(v PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) { o.Attributes = &v } diff --git a/api/model_patch_parcels_parcel_id_200_response.go b/api/model_patch_parcels_parcel_id_200_response.go index fab7d3300..63a5c79d7 100644 --- a/api/model_patch_parcels_parcel_id_200_response.go +++ b/api/model_patch_parcels_parcel_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_parcels_parcel_id_200_response_data.go b/api/model_patch_parcels_parcel_id_200_response_data.go index ce1bfa256..4027f751e 100644 --- a/api/model_patch_parcels_parcel_id_200_response_data.go +++ b/api/model_patch_parcels_parcel_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_parcels_parcel_id_200_response_data_attributes.go b/api/model_patch_parcels_parcel_id_200_response_data_attributes.go index e7876edd5..a1e36beda 100644 --- a/api/model_patch_parcels_parcel_id_200_response_data_attributes.go +++ b/api/model_patch_parcels_parcel_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_payment_methods_payment_method_id_200_response.go b/api/model_patch_payment_methods_payment_method_id_200_response.go index 22adc046f..fee0789c8 100644 --- a/api/model_patch_payment_methods_payment_method_id_200_response.go +++ b/api/model_patch_payment_methods_payment_method_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_payment_methods_payment_method_id_200_response_data.go b/api/model_patch_payment_methods_payment_method_id_200_response_data.go index 8f1219798..0e96bb1d0 100644 --- a/api/model_patch_payment_methods_payment_method_id_200_response_data.go +++ b/api/model_patch_payment_methods_payment_method_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_payment_methods_payment_method_id_200_response_data_attributes.go b/api/model_patch_payment_methods_payment_method_id_200_response_data_attributes.go index 26c186c7c..a06767023 100644 --- a/api/model_patch_payment_methods_payment_method_id_200_response_data_attributes.go +++ b/api/model_patch_payment_methods_payment_method_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_payment_options_payment_option_id_200_response.go b/api/model_patch_payment_options_payment_option_id_200_response.go index 9103e36de..9ba46af34 100644 --- a/api/model_patch_payment_options_payment_option_id_200_response.go +++ b/api/model_patch_payment_options_payment_option_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_payment_options_payment_option_id_200_response_data.go b/api/model_patch_payment_options_payment_option_id_200_response_data.go index 9a909c736..5790fbeb7 100644 --- a/api/model_patch_payment_options_payment_option_id_200_response_data.go +++ b/api/model_patch_payment_options_payment_option_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_payment_options_payment_option_id_200_response_data_attributes.go b/api/model_patch_payment_options_payment_option_id_200_response_data_attributes.go index 1a602c59a..28138baa7 100644 --- a/api/model_patch_payment_options_payment_option_id_200_response_data_attributes.go +++ b/api/model_patch_payment_options_payment_option_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_paypal_gateways_paypal_gateway_id_200_response.go b/api/model_patch_paypal_gateways_paypal_gateway_id_200_response.go index 91ee1e576..a1fd6f082 100644 --- a/api/model_patch_paypal_gateways_paypal_gateway_id_200_response.go +++ b/api/model_patch_paypal_gateways_paypal_gateway_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_paypal_gateways_paypal_gateway_id_200_response_data.go b/api/model_patch_paypal_gateways_paypal_gateway_id_200_response_data.go index 2f8a280ad..9a48c90fb 100644 --- a/api/model_patch_paypal_gateways_paypal_gateway_id_200_response_data.go +++ b/api/model_patch_paypal_gateways_paypal_gateway_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_paypal_gateways_paypal_gateway_id_200_response_data_attributes.go b/api/model_patch_paypal_gateways_paypal_gateway_id_200_response_data_attributes.go index cfb1cc56a..5525d5853 100644 --- a/api/model_patch_paypal_gateways_paypal_gateway_id_200_response_data_attributes.go +++ b/api/model_patch_paypal_gateways_paypal_gateway_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_paypal_payments_paypal_payment_id_200_response.go b/api/model_patch_paypal_payments_paypal_payment_id_200_response.go index a9b6b3a85..455fdaf8f 100644 --- a/api/model_patch_paypal_payments_paypal_payment_id_200_response.go +++ b/api/model_patch_paypal_payments_paypal_payment_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_paypal_payments_paypal_payment_id_200_response_data.go b/api/model_patch_paypal_payments_paypal_payment_id_200_response_data.go index 979c5c979..84e038c63 100644 --- a/api/model_patch_paypal_payments_paypal_payment_id_200_response_data.go +++ b/api/model_patch_paypal_payments_paypal_payment_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_paypal_payments_paypal_payment_id_200_response_data_attributes.go b/api/model_patch_paypal_payments_paypal_payment_id_200_response_data_attributes.go index ae6d37f0e..63c1d5e10 100644 --- a/api/model_patch_paypal_payments_paypal_payment_id_200_response_data_attributes.go +++ b/api/model_patch_paypal_payments_paypal_payment_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_percentage_discount_promotions_percentage_discount_promotion_id_200_response.go b/api/model_patch_percentage_discount_promotions_percentage_discount_promotion_id_200_response.go index fd4a66b11..400eadc6a 100644 --- a/api/model_patch_percentage_discount_promotions_percentage_discount_promotion_id_200_response.go +++ b/api/model_patch_percentage_discount_promotions_percentage_discount_promotion_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_percentage_discount_promotions_percentage_discount_promotion_id_200_response_data.go b/api/model_patch_percentage_discount_promotions_percentage_discount_promotion_id_200_response_data.go index 94dbac637..0af9229e6 100644 --- a/api/model_patch_percentage_discount_promotions_percentage_discount_promotion_id_200_response_data.go +++ b/api/model_patch_percentage_discount_promotions_percentage_discount_promotion_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_percentage_discount_promotions_percentage_discount_promotion_id_200_response_data_attributes.go b/api/model_patch_percentage_discount_promotions_percentage_discount_promotion_id_200_response_data_attributes.go index fa1cfc898..055b24bc3 100644 --- a/api/model_patch_percentage_discount_promotions_percentage_discount_promotion_id_200_response_data_attributes.go +++ b/api/model_patch_percentage_discount_promotions_percentage_discount_promotion_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_price_frequency_tiers_price_frequency_tier_id_200_response.go b/api/model_patch_price_frequency_tiers_price_frequency_tier_id_200_response.go index af274cfa2..1fdd0553b 100644 --- a/api/model_patch_price_frequency_tiers_price_frequency_tier_id_200_response.go +++ b/api/model_patch_price_frequency_tiers_price_frequency_tier_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_price_frequency_tiers_price_frequency_tier_id_200_response_data.go b/api/model_patch_price_frequency_tiers_price_frequency_tier_id_200_response_data.go index 5a31d89d3..5b406d73d 100644 --- a/api/model_patch_price_frequency_tiers_price_frequency_tier_id_200_response_data.go +++ b/api/model_patch_price_frequency_tiers_price_frequency_tier_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_price_frequency_tiers_price_frequency_tier_id_200_response_data_attributes.go b/api/model_patch_price_frequency_tiers_price_frequency_tier_id_200_response_data_attributes.go index e6ea70fdd..b00ee94b0 100644 --- a/api/model_patch_price_frequency_tiers_price_frequency_tier_id_200_response_data_attributes.go +++ b/api/model_patch_price_frequency_tiers_price_frequency_tier_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_price_list_schedulers_price_list_scheduler_id_200_response.go b/api/model_patch_price_list_schedulers_price_list_scheduler_id_200_response.go index 083dad611..fb5258698 100644 --- a/api/model_patch_price_list_schedulers_price_list_scheduler_id_200_response.go +++ b/api/model_patch_price_list_schedulers_price_list_scheduler_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_price_list_schedulers_price_list_scheduler_id_200_response_data.go b/api/model_patch_price_list_schedulers_price_list_scheduler_id_200_response_data.go index 7566e45e3..b47575b52 100644 --- a/api/model_patch_price_list_schedulers_price_list_scheduler_id_200_response_data.go +++ b/api/model_patch_price_list_schedulers_price_list_scheduler_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_price_list_schedulers_price_list_scheduler_id_200_response_data_attributes.go b/api/model_patch_price_list_schedulers_price_list_scheduler_id_200_response_data_attributes.go index 3d567e2a8..28a4e8429 100644 --- a/api/model_patch_price_list_schedulers_price_list_scheduler_id_200_response_data_attributes.go +++ b/api/model_patch_price_list_schedulers_price_list_scheduler_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_price_lists_price_list_id_200_response.go b/api/model_patch_price_lists_price_list_id_200_response.go index da26d24b9..af8516b45 100644 --- a/api/model_patch_price_lists_price_list_id_200_response.go +++ b/api/model_patch_price_lists_price_list_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_price_lists_price_list_id_200_response_data.go b/api/model_patch_price_lists_price_list_id_200_response_data.go index 766273dce..99022d009 100644 --- a/api/model_patch_price_lists_price_list_id_200_response_data.go +++ b/api/model_patch_price_lists_price_list_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_price_lists_price_list_id_200_response_data_attributes.go b/api/model_patch_price_lists_price_list_id_200_response_data_attributes.go index 58ecf77f1..ad0d7269f 100644 --- a/api/model_patch_price_lists_price_list_id_200_response_data_attributes.go +++ b/api/model_patch_price_lists_price_list_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_price_volume_tiers_price_volume_tier_id_200_response.go b/api/model_patch_price_volume_tiers_price_volume_tier_id_200_response.go index 8a6a904ba..d50ba0a51 100644 --- a/api/model_patch_price_volume_tiers_price_volume_tier_id_200_response.go +++ b/api/model_patch_price_volume_tiers_price_volume_tier_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_price_volume_tiers_price_volume_tier_id_200_response_data.go b/api/model_patch_price_volume_tiers_price_volume_tier_id_200_response_data.go index c471350ce..a0469a25a 100644 --- a/api/model_patch_price_volume_tiers_price_volume_tier_id_200_response_data.go +++ b/api/model_patch_price_volume_tiers_price_volume_tier_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_price_volume_tiers_price_volume_tier_id_200_response_data_attributes.go b/api/model_patch_price_volume_tiers_price_volume_tier_id_200_response_data_attributes.go index f67100d17..6c808af29 100644 --- a/api/model_patch_price_volume_tiers_price_volume_tier_id_200_response_data_attributes.go +++ b/api/model_patch_price_volume_tiers_price_volume_tier_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_prices_price_id_200_response.go b/api/model_patch_prices_price_id_200_response.go index 2d73f9e1b..bccd308ce 100644 --- a/api/model_patch_prices_price_id_200_response.go +++ b/api/model_patch_prices_price_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_prices_price_id_200_response_data.go b/api/model_patch_prices_price_id_200_response_data.go index b5b154626..8a1a00220 100644 --- a/api/model_patch_prices_price_id_200_response_data.go +++ b/api/model_patch_prices_price_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_prices_price_id_200_response_data_attributes.go b/api/model_patch_prices_price_id_200_response_data_attributes.go index 8bcae238d..ad27483e9 100644 --- a/api/model_patch_prices_price_id_200_response_data_attributes.go +++ b/api/model_patch_prices_price_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_recurring_order_copies_recurring_order_copy_id_200_response.go b/api/model_patch_recurring_order_copies_recurring_order_copy_id_200_response.go index 2838a2f91..c82985d74 100644 --- a/api/model_patch_recurring_order_copies_recurring_order_copy_id_200_response.go +++ b/api/model_patch_recurring_order_copies_recurring_order_copy_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_recurring_order_copies_recurring_order_copy_id_200_response_data.go b/api/model_patch_recurring_order_copies_recurring_order_copy_id_200_response_data.go index 190395e1d..0dc86f8c2 100644 --- a/api/model_patch_recurring_order_copies_recurring_order_copy_id_200_response_data.go +++ b/api/model_patch_recurring_order_copies_recurring_order_copy_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -23,10 +23,10 @@ type PATCHRecurringOrderCopiesRecurringOrderCopyId200ResponseData struct { // The resource's id Id interface{} `json:"id,omitempty"` // The resource's type - Type interface{} `json:"type,omitempty"` - Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` - Attributes *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes `json:"attributes,omitempty"` - Relationships *POSTOrderCopies201ResponseDataRelationships `json:"relationships,omitempty"` + Type interface{} `json:"type,omitempty"` + Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` + Attributes *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes `json:"attributes,omitempty"` + Relationships *POSTOrderCopies201ResponseDataRelationships `json:"relationships,omitempty"` } // NewPATCHRecurringOrderCopiesRecurringOrderCopyId200ResponseData instantiates a new PATCHRecurringOrderCopiesRecurringOrderCopyId200ResponseData object @@ -145,9 +145,9 @@ func (o *PATCHRecurringOrderCopiesRecurringOrderCopyId200ResponseData) SetLinks( } // GetAttributes returns the Attributes field value if set, zero value otherwise. -func (o *PATCHRecurringOrderCopiesRecurringOrderCopyId200ResponseData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes { +func (o *PATCHRecurringOrderCopiesRecurringOrderCopyId200ResponseData) GetAttributes() PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes { if o == nil || IsNil(o.Attributes) { - var ret PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes + var ret PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes return ret } return *o.Attributes @@ -155,7 +155,7 @@ func (o *PATCHRecurringOrderCopiesRecurringOrderCopyId200ResponseData) GetAttrib // GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PATCHRecurringOrderCopiesRecurringOrderCopyId200ResponseData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool) { +func (o *PATCHRecurringOrderCopiesRecurringOrderCopyId200ResponseData) GetAttributesOk() (*PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes, bool) { if o == nil || IsNil(o.Attributes) { return nil, false } @@ -171,8 +171,8 @@ func (o *PATCHRecurringOrderCopiesRecurringOrderCopyId200ResponseData) HasAttrib return false } -// SetAttributes gets a reference to the given PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes and assigns it to the Attributes field. -func (o *PATCHRecurringOrderCopiesRecurringOrderCopyId200ResponseData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) { +// SetAttributes gets a reference to the given PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes and assigns it to the Attributes field. +func (o *PATCHRecurringOrderCopiesRecurringOrderCopyId200ResponseData) SetAttributes(v PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) { o.Attributes = &v } diff --git a/api/model_patch_refunds_refund_id_200_response.go b/api/model_patch_refunds_refund_id_200_response.go index 7f486f43f..f3d900455 100644 --- a/api/model_patch_refunds_refund_id_200_response.go +++ b/api/model_patch_refunds_refund_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_refunds_refund_id_200_response_data.go b/api/model_patch_refunds_refund_id_200_response_data.go index 27353412f..aa6b75a45 100644 --- a/api/model_patch_refunds_refund_id_200_response_data.go +++ b/api/model_patch_refunds_refund_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_refunds_refund_id_200_response_data_attributes.go b/api/model_patch_refunds_refund_id_200_response_data_attributes.go index 678899bbe..a4fed01bf 100644 --- a/api/model_patch_refunds_refund_id_200_response_data_attributes.go +++ b/api/model_patch_refunds_refund_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_return_line_items_return_line_item_id_200_response.go b/api/model_patch_return_line_items_return_line_item_id_200_response.go index f5de8a402..8f7ebd937 100644 --- a/api/model_patch_return_line_items_return_line_item_id_200_response.go +++ b/api/model_patch_return_line_items_return_line_item_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_return_line_items_return_line_item_id_200_response_data.go b/api/model_patch_return_line_items_return_line_item_id_200_response_data.go index d0e298651..6d02a401a 100644 --- a/api/model_patch_return_line_items_return_line_item_id_200_response_data.go +++ b/api/model_patch_return_line_items_return_line_item_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_return_line_items_return_line_item_id_200_response_data_attributes.go b/api/model_patch_return_line_items_return_line_item_id_200_response_data_attributes.go index 994325b8f..e389854df 100644 --- a/api/model_patch_return_line_items_return_line_item_id_200_response_data_attributes.go +++ b/api/model_patch_return_line_items_return_line_item_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_returns_return_id_200_response.go b/api/model_patch_returns_return_id_200_response.go index 19dd79d3d..8294c9893 100644 --- a/api/model_patch_returns_return_id_200_response.go +++ b/api/model_patch_returns_return_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_returns_return_id_200_response_data.go b/api/model_patch_returns_return_id_200_response_data.go index dcfbdee59..d98185c70 100644 --- a/api/model_patch_returns_return_id_200_response_data.go +++ b/api/model_patch_returns_return_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_returns_return_id_200_response_data_attributes.go b/api/model_patch_returns_return_id_200_response_data_attributes.go index e20e84c92..7f008be38 100644 --- a/api/model_patch_returns_return_id_200_response_data_attributes.go +++ b/api/model_patch_returns_return_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_satispay_gateways_satispay_gateway_id_200_response.go b/api/model_patch_satispay_gateways_satispay_gateway_id_200_response.go index d9544328b..939711c21 100644 --- a/api/model_patch_satispay_gateways_satispay_gateway_id_200_response.go +++ b/api/model_patch_satispay_gateways_satispay_gateway_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_satispay_gateways_satispay_gateway_id_200_response_data.go b/api/model_patch_satispay_gateways_satispay_gateway_id_200_response_data.go index 9429a2345..311d40ee4 100644 --- a/api/model_patch_satispay_gateways_satispay_gateway_id_200_response_data.go +++ b/api/model_patch_satispay_gateways_satispay_gateway_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_satispay_payments_satispay_payment_id_200_response.go b/api/model_patch_satispay_payments_satispay_payment_id_200_response.go index abc93d5bf..10349974b 100644 --- a/api/model_patch_satispay_payments_satispay_payment_id_200_response.go +++ b/api/model_patch_satispay_payments_satispay_payment_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_satispay_payments_satispay_payment_id_200_response_data.go b/api/model_patch_satispay_payments_satispay_payment_id_200_response_data.go index b109f766e..09b969e84 100644 --- a/api/model_patch_satispay_payments_satispay_payment_id_200_response_data.go +++ b/api/model_patch_satispay_payments_satispay_payment_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_satispay_payments_satispay_payment_id_200_response_data_attributes.go b/api/model_patch_satispay_payments_satispay_payment_id_200_response_data_attributes.go index 1f01178d6..af377cfa5 100644 --- a/api/model_patch_satispay_payments_satispay_payment_id_200_response_data_attributes.go +++ b/api/model_patch_satispay_payments_satispay_payment_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_shipments_shipment_id_200_response.go b/api/model_patch_shipments_shipment_id_200_response.go index 165425762..368d5d656 100644 --- a/api/model_patch_shipments_shipment_id_200_response.go +++ b/api/model_patch_shipments_shipment_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_shipments_shipment_id_200_response_data.go b/api/model_patch_shipments_shipment_id_200_response_data.go index 8f33eb3ba..87406c64a 100644 --- a/api/model_patch_shipments_shipment_id_200_response_data.go +++ b/api/model_patch_shipments_shipment_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_shipments_shipment_id_200_response_data_attributes.go b/api/model_patch_shipments_shipment_id_200_response_data_attributes.go index 0e37e80c3..b3d6904fd 100644 --- a/api/model_patch_shipments_shipment_id_200_response_data_attributes.go +++ b/api/model_patch_shipments_shipment_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_shipping_categories_shipping_category_id_200_response.go b/api/model_patch_shipping_categories_shipping_category_id_200_response.go index a6a00cb31..14891c946 100644 --- a/api/model_patch_shipping_categories_shipping_category_id_200_response.go +++ b/api/model_patch_shipping_categories_shipping_category_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_shipping_categories_shipping_category_id_200_response_data.go b/api/model_patch_shipping_categories_shipping_category_id_200_response_data.go index e527d01f4..307f52b2b 100644 --- a/api/model_patch_shipping_categories_shipping_category_id_200_response_data.go +++ b/api/model_patch_shipping_categories_shipping_category_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_shipping_categories_shipping_category_id_200_response_data_attributes.go b/api/model_patch_shipping_categories_shipping_category_id_200_response_data_attributes.go index 00ec87c30..973555e95 100644 --- a/api/model_patch_shipping_categories_shipping_category_id_200_response_data_attributes.go +++ b/api/model_patch_shipping_categories_shipping_category_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_shipping_methods_shipping_method_id_200_response.go b/api/model_patch_shipping_methods_shipping_method_id_200_response.go index 328423f6c..7734d5463 100644 --- a/api/model_patch_shipping_methods_shipping_method_id_200_response.go +++ b/api/model_patch_shipping_methods_shipping_method_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_shipping_methods_shipping_method_id_200_response_data.go b/api/model_patch_shipping_methods_shipping_method_id_200_response_data.go index 0babe5f8e..e2ee68d0a 100644 --- a/api/model_patch_shipping_methods_shipping_method_id_200_response_data.go +++ b/api/model_patch_shipping_methods_shipping_method_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_shipping_methods_shipping_method_id_200_response_data_attributes.go b/api/model_patch_shipping_methods_shipping_method_id_200_response_data_attributes.go index 5dc505fb0..1c59d864e 100644 --- a/api/model_patch_shipping_methods_shipping_method_id_200_response_data_attributes.go +++ b/api/model_patch_shipping_methods_shipping_method_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_shipping_weight_tiers_shipping_weight_tier_id_200_response.go b/api/model_patch_shipping_weight_tiers_shipping_weight_tier_id_200_response.go index fffe10e2b..bdfbf9d6c 100644 --- a/api/model_patch_shipping_weight_tiers_shipping_weight_tier_id_200_response.go +++ b/api/model_patch_shipping_weight_tiers_shipping_weight_tier_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_shipping_weight_tiers_shipping_weight_tier_id_200_response_data.go b/api/model_patch_shipping_weight_tiers_shipping_weight_tier_id_200_response_data.go index 915200f44..2bd926410 100644 --- a/api/model_patch_shipping_weight_tiers_shipping_weight_tier_id_200_response_data.go +++ b/api/model_patch_shipping_weight_tiers_shipping_weight_tier_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_shipping_weight_tiers_shipping_weight_tier_id_200_response_data_attributes.go b/api/model_patch_shipping_weight_tiers_shipping_weight_tier_id_200_response_data_attributes.go index 9094ed481..8757a9a09 100644 --- a/api/model_patch_shipping_weight_tiers_shipping_weight_tier_id_200_response_data_attributes.go +++ b/api/model_patch_shipping_weight_tiers_shipping_weight_tier_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_shipping_zones_shipping_zone_id_200_response.go b/api/model_patch_shipping_zones_shipping_zone_id_200_response.go index fc4f2943c..944b0adbf 100644 --- a/api/model_patch_shipping_zones_shipping_zone_id_200_response.go +++ b/api/model_patch_shipping_zones_shipping_zone_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_shipping_zones_shipping_zone_id_200_response_data.go b/api/model_patch_shipping_zones_shipping_zone_id_200_response_data.go index cd5aa7b9b..f0af2e2d0 100644 --- a/api/model_patch_shipping_zones_shipping_zone_id_200_response_data.go +++ b/api/model_patch_shipping_zones_shipping_zone_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_shipping_zones_shipping_zone_id_200_response_data_attributes.go b/api/model_patch_shipping_zones_shipping_zone_id_200_response_data_attributes.go index 6dcfac5ca..fed96e66e 100644 --- a/api/model_patch_shipping_zones_shipping_zone_id_200_response_data_attributes.go +++ b/api/model_patch_shipping_zones_shipping_zone_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -22,17 +22,17 @@ var _ MappedNullable = &PATCHShippingZonesShippingZoneId200ResponseDataAttribute type PATCHShippingZonesShippingZoneId200ResponseDataAttributes struct { // The shipping zone's internal name. Name interface{} `json:"name,omitempty"` - // The regex that will be evaluated to match the shipping address country code. + // The regex that will be evaluated to match the shipping address country code, max size is 5000. CountryCodeRegex interface{} `json:"country_code_regex,omitempty"` - // The regex that will be evaluated as negative match for the shipping address country code. + // The regex that will be evaluated as negative match for the shipping address country code, max size is 5000. NotCountryCodeRegex interface{} `json:"not_country_code_regex,omitempty"` - // The regex that will be evaluated to match the shipping address state code. + // The regex that will be evaluated to match the shipping address state code, max size is 5000. StateCodeRegex interface{} `json:"state_code_regex,omitempty"` - // The regex that will be evaluated as negative match for the shipping address state code. + // The regex that will be evaluated as negative match for the shipping address state code, max size is 5000. NotStateCodeRegex interface{} `json:"not_state_code_regex,omitempty"` - // The regex that will be evaluated to match the shipping address zip code. + // The regex that will be evaluated to match the shipping address zip code, max size is 5000. ZipCodeRegex interface{} `json:"zip_code_regex,omitempty"` - // The regex that will be evaluated as negative match for the shipping zip country code. + // The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000. NotZipCodeRegex interface{} `json:"not_zip_code_regex,omitempty"` // A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. Reference interface{} `json:"reference,omitempty"` diff --git a/api/model_patch_sku_list_items_sku_list_item_id_200_response.go b/api/model_patch_sku_list_items_sku_list_item_id_200_response.go index 20e8d7cbd..865024f3b 100644 --- a/api/model_patch_sku_list_items_sku_list_item_id_200_response.go +++ b/api/model_patch_sku_list_items_sku_list_item_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_sku_list_items_sku_list_item_id_200_response_data.go b/api/model_patch_sku_list_items_sku_list_item_id_200_response_data.go index 74d84dea1..4fe918e84 100644 --- a/api/model_patch_sku_list_items_sku_list_item_id_200_response_data.go +++ b/api/model_patch_sku_list_items_sku_list_item_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_sku_list_items_sku_list_item_id_200_response_data_attributes.go b/api/model_patch_sku_list_items_sku_list_item_id_200_response_data_attributes.go index ec14bdc73..f2cf69f68 100644 --- a/api/model_patch_sku_list_items_sku_list_item_id_200_response_data_attributes.go +++ b/api/model_patch_sku_list_items_sku_list_item_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_sku_list_promotion_rules_sku_list_promotion_rule_id_200_response.go b/api/model_patch_sku_list_promotion_rules_sku_list_promotion_rule_id_200_response.go index 36ba0fe31..a18ba6558 100644 --- a/api/model_patch_sku_list_promotion_rules_sku_list_promotion_rule_id_200_response.go +++ b/api/model_patch_sku_list_promotion_rules_sku_list_promotion_rule_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_sku_list_promotion_rules_sku_list_promotion_rule_id_200_response_data.go b/api/model_patch_sku_list_promotion_rules_sku_list_promotion_rule_id_200_response_data.go index 8fb6ac5b0..f34f684ef 100644 --- a/api/model_patch_sku_list_promotion_rules_sku_list_promotion_rule_id_200_response_data.go +++ b/api/model_patch_sku_list_promotion_rules_sku_list_promotion_rule_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_sku_list_promotion_rules_sku_list_promotion_rule_id_200_response_data_attributes.go b/api/model_patch_sku_list_promotion_rules_sku_list_promotion_rule_id_200_response_data_attributes.go index 2f1713264..c34a06f13 100644 --- a/api/model_patch_sku_list_promotion_rules_sku_list_promotion_rule_id_200_response_data_attributes.go +++ b/api/model_patch_sku_list_promotion_rules_sku_list_promotion_rule_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_sku_lists_sku_list_id_200_response.go b/api/model_patch_sku_lists_sku_list_id_200_response.go index 83d11c743..4dbe3fd13 100644 --- a/api/model_patch_sku_lists_sku_list_id_200_response.go +++ b/api/model_patch_sku_lists_sku_list_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_sku_lists_sku_list_id_200_response_data.go b/api/model_patch_sku_lists_sku_list_id_200_response_data.go index 624d1d867..a6602714b 100644 --- a/api/model_patch_sku_lists_sku_list_id_200_response_data.go +++ b/api/model_patch_sku_lists_sku_list_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_sku_lists_sku_list_id_200_response_data_attributes.go b/api/model_patch_sku_lists_sku_list_id_200_response_data_attributes.go index bf6e950c7..33a74bf54 100644 --- a/api/model_patch_sku_lists_sku_list_id_200_response_data_attributes.go +++ b/api/model_patch_sku_lists_sku_list_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -28,7 +28,7 @@ type PATCHSkuListsSkuListId200ResponseDataAttributes struct { ImageUrl interface{} `json:"image_url,omitempty"` // Indicates if the SKU list is populated manually. Manual interface{} `json:"manual,omitempty"` - // The regex that will be evaluated to match the SKU codes. + // The regex that will be evaluated to match the SKU codes, max size is 5000. SkuCodeRegex interface{} `json:"sku_code_regex,omitempty"` // A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. Reference interface{} `json:"reference,omitempty"` diff --git a/api/model_patch_sku_options_sku_option_id_200_response.go b/api/model_patch_sku_options_sku_option_id_200_response.go index e99e464ac..507cdbc45 100644 --- a/api/model_patch_sku_options_sku_option_id_200_response.go +++ b/api/model_patch_sku_options_sku_option_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_sku_options_sku_option_id_200_response_data.go b/api/model_patch_sku_options_sku_option_id_200_response_data.go index 4371df9ad..e2ebac65c 100644 --- a/api/model_patch_sku_options_sku_option_id_200_response_data.go +++ b/api/model_patch_sku_options_sku_option_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_sku_options_sku_option_id_200_response_data_attributes.go b/api/model_patch_sku_options_sku_option_id_200_response_data_attributes.go index d9994631d..eeb727c95 100644 --- a/api/model_patch_sku_options_sku_option_id_200_response_data_attributes.go +++ b/api/model_patch_sku_options_sku_option_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -30,7 +30,7 @@ type PATCHSkuOptionsSkuOptionId200ResponseDataAttributes struct { PriceAmountCents interface{} `json:"price_amount_cents,omitempty"` // The delay time (in hours) that should be added to the delivery lead time when this option is purchased. DelayHours interface{} `json:"delay_hours,omitempty"` - // The regex that will be evaluated to match the SKU codes. + // The regex that will be evaluated to match the SKU codes, max size is 5000. SkuCodeRegex interface{} `json:"sku_code_regex,omitempty"` // A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. Reference interface{} `json:"reference,omitempty"` diff --git a/api/model_patch_skus_sku_id_200_response.go b/api/model_patch_skus_sku_id_200_response.go index da0d69169..52859b0ec 100644 --- a/api/model_patch_skus_sku_id_200_response.go +++ b/api/model_patch_skus_sku_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_skus_sku_id_200_response_data.go b/api/model_patch_skus_sku_id_200_response_data.go index d1d6edf28..5389caf57 100644 --- a/api/model_patch_skus_sku_id_200_response_data.go +++ b/api/model_patch_skus_sku_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_skus_sku_id_200_response_data_attributes.go b/api/model_patch_skus_sku_id_200_response_data_attributes.go index c934f031f..2a791b818 100644 --- a/api/model_patch_skus_sku_id_200_response_data_attributes.go +++ b/api/model_patch_skus_sku_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_stock_items_stock_item_id_200_response.go b/api/model_patch_stock_items_stock_item_id_200_response.go index a1a2f3ff7..bad7fd12b 100644 --- a/api/model_patch_stock_items_stock_item_id_200_response.go +++ b/api/model_patch_stock_items_stock_item_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_stock_items_stock_item_id_200_response_data.go b/api/model_patch_stock_items_stock_item_id_200_response_data.go index 589d90a48..907df7f50 100644 --- a/api/model_patch_stock_items_stock_item_id_200_response_data.go +++ b/api/model_patch_stock_items_stock_item_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_stock_items_stock_item_id_200_response_data_attributes.go b/api/model_patch_stock_items_stock_item_id_200_response_data_attributes.go index 64ba07653..31a994b52 100644 --- a/api/model_patch_stock_items_stock_item_id_200_response_data_attributes.go +++ b/api/model_patch_stock_items_stock_item_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_stock_line_items_stock_line_item_id_200_response.go b/api/model_patch_stock_line_items_stock_line_item_id_200_response.go index 98622c2e3..f95f0b307 100644 --- a/api/model_patch_stock_line_items_stock_line_item_id_200_response.go +++ b/api/model_patch_stock_line_items_stock_line_item_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_stock_line_items_stock_line_item_id_200_response_data.go b/api/model_patch_stock_line_items_stock_line_item_id_200_response_data.go index ab02bb7aa..11c46c369 100644 --- a/api/model_patch_stock_line_items_stock_line_item_id_200_response_data.go +++ b/api/model_patch_stock_line_items_stock_line_item_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_stock_line_items_stock_line_item_id_200_response_data_attributes.go b/api/model_patch_stock_line_items_stock_line_item_id_200_response_data_attributes.go index 05b3ea456..b8067b632 100644 --- a/api/model_patch_stock_line_items_stock_line_item_id_200_response_data_attributes.go +++ b/api/model_patch_stock_line_items_stock_line_item_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_stock_locations_stock_location_id_200_response.go b/api/model_patch_stock_locations_stock_location_id_200_response.go index 01cc721d1..f2a3fe1e3 100644 --- a/api/model_patch_stock_locations_stock_location_id_200_response.go +++ b/api/model_patch_stock_locations_stock_location_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_stock_locations_stock_location_id_200_response_data.go b/api/model_patch_stock_locations_stock_location_id_200_response_data.go index 81d12f31d..70e9f4195 100644 --- a/api/model_patch_stock_locations_stock_location_id_200_response_data.go +++ b/api/model_patch_stock_locations_stock_location_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_stock_locations_stock_location_id_200_response_data_attributes.go b/api/model_patch_stock_locations_stock_location_id_200_response_data_attributes.go index b8258dfc7..72bf13103 100644 --- a/api/model_patch_stock_locations_stock_location_id_200_response_data_attributes.go +++ b/api/model_patch_stock_locations_stock_location_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_stock_reservations_stock_reservation_id_200_response.go b/api/model_patch_stock_reservations_stock_reservation_id_200_response.go index 10083be88..9573a97fe 100644 --- a/api/model_patch_stock_reservations_stock_reservation_id_200_response.go +++ b/api/model_patch_stock_reservations_stock_reservation_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_stock_reservations_stock_reservation_id_200_response_data.go b/api/model_patch_stock_reservations_stock_reservation_id_200_response_data.go index d9ce3a9f5..6a37fbf6a 100644 --- a/api/model_patch_stock_reservations_stock_reservation_id_200_response_data.go +++ b/api/model_patch_stock_reservations_stock_reservation_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_stock_reservations_stock_reservation_id_200_response_data_attributes.go b/api/model_patch_stock_reservations_stock_reservation_id_200_response_data_attributes.go index 0b7edd8ba..5dc03ae08 100644 --- a/api/model_patch_stock_reservations_stock_reservation_id_200_response_data_attributes.go +++ b/api/model_patch_stock_reservations_stock_reservation_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_stock_transfers_stock_transfer_id_200_response.go b/api/model_patch_stock_transfers_stock_transfer_id_200_response.go index 8a5d241d9..1ad22957c 100644 --- a/api/model_patch_stock_transfers_stock_transfer_id_200_response.go +++ b/api/model_patch_stock_transfers_stock_transfer_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_stock_transfers_stock_transfer_id_200_response_data.go b/api/model_patch_stock_transfers_stock_transfer_id_200_response_data.go index 4cd8b66ca..d0c980ada 100644 --- a/api/model_patch_stock_transfers_stock_transfer_id_200_response_data.go +++ b/api/model_patch_stock_transfers_stock_transfer_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_stock_transfers_stock_transfer_id_200_response_data_attributes.go b/api/model_patch_stock_transfers_stock_transfer_id_200_response_data_attributes.go index 5932cb99c..8add16221 100644 --- a/api/model_patch_stock_transfers_stock_transfer_id_200_response_data_attributes.go +++ b/api/model_patch_stock_transfers_stock_transfer_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -24,6 +24,8 @@ type PATCHStockTransfersStockTransferId200ResponseDataAttributes struct { Number interface{} `json:"number,omitempty"` // The code of the associated SKU. SkuCode interface{} `json:"sku_code,omitempty"` + // The stock quantity to be transferred from the origin stock location to destination one. Updatable unless stock transfer is completed or cancelled and depending on origin stock availability. + Quantity interface{} `json:"quantity,omitempty"` // Send this attribute if you want to mark this stock transfer as upcoming. Upcoming interface{} `json:"_upcoming,omitempty"` // Send this attribute if you want to put this stock transfer on hold. @@ -127,6 +129,39 @@ func (o *PATCHStockTransfersStockTransferId200ResponseDataAttributes) SetSkuCode o.SkuCode = v } +// GetQuantity returns the Quantity field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHStockTransfersStockTransferId200ResponseDataAttributes) GetQuantity() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Quantity +} + +// GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PATCHStockTransfersStockTransferId200ResponseDataAttributes) GetQuantityOk() (*interface{}, bool) { + if o == nil || IsNil(o.Quantity) { + return nil, false + } + return &o.Quantity, true +} + +// HasQuantity returns a boolean if a field has been set. +func (o *PATCHStockTransfersStockTransferId200ResponseDataAttributes) HasQuantity() bool { + if o != nil && IsNil(o.Quantity) { + return true + } + + return false +} + +// SetQuantity gets a reference to the given interface{} and assigns it to the Quantity field. +func (o *PATCHStockTransfersStockTransferId200ResponseDataAttributes) SetQuantity(v interface{}) { + o.Quantity = v +} + // GetUpcoming returns the Upcoming field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PATCHStockTransfersStockTransferId200ResponseDataAttributes) GetUpcoming() interface{} { if o == nil { @@ -440,6 +475,9 @@ func (o PATCHStockTransfersStockTransferId200ResponseDataAttributes) ToMap() (ma if o.SkuCode != nil { toSerialize["sku_code"] = o.SkuCode } + if o.Quantity != nil { + toSerialize["quantity"] = o.Quantity + } if o.Upcoming != nil { toSerialize["_upcoming"] = o.Upcoming } diff --git a/api/model_patch_stores_store_id_200_response.go b/api/model_patch_stores_store_id_200_response.go new file mode 100644 index 000000000..6dcad2adf --- /dev/null +++ b/api/model_patch_stores_store_id_200_response.go @@ -0,0 +1,125 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the PATCHStoresStoreId200Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PATCHStoresStoreId200Response{} + +// PATCHStoresStoreId200Response struct for PATCHStoresStoreId200Response +type PATCHStoresStoreId200Response struct { + Data *PATCHStoresStoreId200ResponseData `json:"data,omitempty"` +} + +// NewPATCHStoresStoreId200Response instantiates a new PATCHStoresStoreId200Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPATCHStoresStoreId200Response() *PATCHStoresStoreId200Response { + this := PATCHStoresStoreId200Response{} + return &this +} + +// NewPATCHStoresStoreId200ResponseWithDefaults instantiates a new PATCHStoresStoreId200Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPATCHStoresStoreId200ResponseWithDefaults() *PATCHStoresStoreId200Response { + this := PATCHStoresStoreId200Response{} + return &this +} + +// GetData returns the Data field value if set, zero value otherwise. +func (o *PATCHStoresStoreId200Response) GetData() PATCHStoresStoreId200ResponseData { + if o == nil || IsNil(o.Data) { + var ret PATCHStoresStoreId200ResponseData + return ret + } + return *o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PATCHStoresStoreId200Response) GetDataOk() (*PATCHStoresStoreId200ResponseData, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *PATCHStoresStoreId200Response) HasData() bool { + if o != nil && !IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given PATCHStoresStoreId200ResponseData and assigns it to the Data field. +func (o *PATCHStoresStoreId200Response) SetData(v PATCHStoresStoreId200ResponseData) { + o.Data = &v +} + +func (o PATCHStoresStoreId200Response) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PATCHStoresStoreId200Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Data) { + toSerialize["data"] = o.Data + } + return toSerialize, nil +} + +type NullablePATCHStoresStoreId200Response struct { + value *PATCHStoresStoreId200Response + isSet bool +} + +func (v NullablePATCHStoresStoreId200Response) Get() *PATCHStoresStoreId200Response { + return v.value +} + +func (v *NullablePATCHStoresStoreId200Response) Set(val *PATCHStoresStoreId200Response) { + v.value = val + v.isSet = true +} + +func (v NullablePATCHStoresStoreId200Response) IsSet() bool { + return v.isSet +} + +func (v *NullablePATCHStoresStoreId200Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePATCHStoresStoreId200Response(val *PATCHStoresStoreId200Response) *NullablePATCHStoresStoreId200Response { + return &NullablePATCHStoresStoreId200Response{value: val, isSet: true} +} + +func (v NullablePATCHStoresStoreId200Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePATCHStoresStoreId200Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_patch_stores_store_id_200_response_data.go b/api/model_patch_stores_store_id_200_response_data.go new file mode 100644 index 000000000..f0c3a9a9b --- /dev/null +++ b/api/model_patch_stores_store_id_200_response_data.go @@ -0,0 +1,273 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the PATCHStoresStoreId200ResponseData type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PATCHStoresStoreId200ResponseData{} + +// PATCHStoresStoreId200ResponseData struct for PATCHStoresStoreId200ResponseData +type PATCHStoresStoreId200ResponseData struct { + // The resource's id + Id interface{} `json:"id,omitempty"` + // The resource's type + Type interface{} `json:"type,omitempty"` + Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` + Attributes *PATCHStoresStoreId200ResponseDataAttributes `json:"attributes,omitempty"` + Relationships *POSTStores201ResponseDataRelationships `json:"relationships,omitempty"` +} + +// NewPATCHStoresStoreId200ResponseData instantiates a new PATCHStoresStoreId200ResponseData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPATCHStoresStoreId200ResponseData() *PATCHStoresStoreId200ResponseData { + this := PATCHStoresStoreId200ResponseData{} + return &this +} + +// NewPATCHStoresStoreId200ResponseDataWithDefaults instantiates a new PATCHStoresStoreId200ResponseData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPATCHStoresStoreId200ResponseDataWithDefaults() *PATCHStoresStoreId200ResponseData { + this := PATCHStoresStoreId200ResponseData{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHStoresStoreId200ResponseData) GetId() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PATCHStoresStoreId200ResponseData) GetIdOk() (*interface{}, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return &o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PATCHStoresStoreId200ResponseData) HasId() bool { + if o != nil && IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given interface{} and assigns it to the Id field. +func (o *PATCHStoresStoreId200ResponseData) SetId(v interface{}) { + o.Id = v +} + +// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHStoresStoreId200ResponseData) GetType() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PATCHStoresStoreId200ResponseData) GetTypeOk() (*interface{}, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return &o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *PATCHStoresStoreId200ResponseData) HasType() bool { + if o != nil && IsNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given interface{} and assigns it to the Type field. +func (o *PATCHStoresStoreId200ResponseData) SetType(v interface{}) { + o.Type = v +} + +// GetLinks returns the Links field value if set, zero value otherwise. +func (o *PATCHStoresStoreId200ResponseData) GetLinks() POSTAddresses201ResponseDataLinks { + if o == nil || IsNil(o.Links) { + var ret POSTAddresses201ResponseDataLinks + return ret + } + return *o.Links +} + +// GetLinksOk returns a tuple with the Links field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PATCHStoresStoreId200ResponseData) GetLinksOk() (*POSTAddresses201ResponseDataLinks, bool) { + if o == nil || IsNil(o.Links) { + return nil, false + } + return o.Links, true +} + +// HasLinks returns a boolean if a field has been set. +func (o *PATCHStoresStoreId200ResponseData) HasLinks() bool { + if o != nil && !IsNil(o.Links) { + return true + } + + return false +} + +// SetLinks gets a reference to the given POSTAddresses201ResponseDataLinks and assigns it to the Links field. +func (o *PATCHStoresStoreId200ResponseData) SetLinks(v POSTAddresses201ResponseDataLinks) { + o.Links = &v +} + +// GetAttributes returns the Attributes field value if set, zero value otherwise. +func (o *PATCHStoresStoreId200ResponseData) GetAttributes() PATCHStoresStoreId200ResponseDataAttributes { + if o == nil || IsNil(o.Attributes) { + var ret PATCHStoresStoreId200ResponseDataAttributes + return ret + } + return *o.Attributes +} + +// GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PATCHStoresStoreId200ResponseData) GetAttributesOk() (*PATCHStoresStoreId200ResponseDataAttributes, bool) { + if o == nil || IsNil(o.Attributes) { + return nil, false + } + return o.Attributes, true +} + +// HasAttributes returns a boolean if a field has been set. +func (o *PATCHStoresStoreId200ResponseData) HasAttributes() bool { + if o != nil && !IsNil(o.Attributes) { + return true + } + + return false +} + +// SetAttributes gets a reference to the given PATCHStoresStoreId200ResponseDataAttributes and assigns it to the Attributes field. +func (o *PATCHStoresStoreId200ResponseData) SetAttributes(v PATCHStoresStoreId200ResponseDataAttributes) { + o.Attributes = &v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *PATCHStoresStoreId200ResponseData) GetRelationships() POSTStores201ResponseDataRelationships { + if o == nil || IsNil(o.Relationships) { + var ret POSTStores201ResponseDataRelationships + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PATCHStoresStoreId200ResponseData) GetRelationshipsOk() (*POSTStores201ResponseDataRelationships, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *PATCHStoresStoreId200ResponseData) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given POSTStores201ResponseDataRelationships and assigns it to the Relationships field. +func (o *PATCHStoresStoreId200ResponseData) SetRelationships(v POSTStores201ResponseDataRelationships) { + o.Relationships = &v +} + +func (o PATCHStoresStoreId200ResponseData) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PATCHStoresStoreId200ResponseData) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Id != nil { + toSerialize["id"] = o.Id + } + if o.Type != nil { + toSerialize["type"] = o.Type + } + if !IsNil(o.Links) { + toSerialize["links"] = o.Links + } + if !IsNil(o.Attributes) { + toSerialize["attributes"] = o.Attributes + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + return toSerialize, nil +} + +type NullablePATCHStoresStoreId200ResponseData struct { + value *PATCHStoresStoreId200ResponseData + isSet bool +} + +func (v NullablePATCHStoresStoreId200ResponseData) Get() *PATCHStoresStoreId200ResponseData { + return v.value +} + +func (v *NullablePATCHStoresStoreId200ResponseData) Set(val *PATCHStoresStoreId200ResponseData) { + v.value = val + v.isSet = true +} + +func (v NullablePATCHStoresStoreId200ResponseData) IsSet() bool { + return v.isSet +} + +func (v *NullablePATCHStoresStoreId200ResponseData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePATCHStoresStoreId200ResponseData(val *PATCHStoresStoreId200ResponseData) *NullablePATCHStoresStoreId200ResponseData { + return &NullablePATCHStoresStoreId200ResponseData{value: val, isSet: true} +} + +func (v NullablePATCHStoresStoreId200ResponseData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePATCHStoresStoreId200ResponseData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_patch_stores_store_id_200_response_data_attributes.go b/api/model_patch_stores_store_id_200_response_data_attributes.go new file mode 100644 index 000000000..a054d454d --- /dev/null +++ b/api/model_patch_stores_store_id_200_response_data_attributes.go @@ -0,0 +1,279 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the PATCHStoresStoreId200ResponseDataAttributes type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PATCHStoresStoreId200ResponseDataAttributes{} + +// PATCHStoresStoreId200ResponseDataAttributes struct for PATCHStoresStoreId200ResponseDataAttributes +type PATCHStoresStoreId200ResponseDataAttributes struct { + // The store's internal name. + Name interface{} `json:"name,omitempty"` + // A string that you can use to identify the store (must be unique within the environment). + Code interface{} `json:"code,omitempty"` + // A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. + Reference interface{} `json:"reference,omitempty"` + // Any identifier of the third party system that defines the reference code. + ReferenceOrigin interface{} `json:"reference_origin,omitempty"` + // Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. + Metadata interface{} `json:"metadata,omitempty"` +} + +// NewPATCHStoresStoreId200ResponseDataAttributes instantiates a new PATCHStoresStoreId200ResponseDataAttributes object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPATCHStoresStoreId200ResponseDataAttributes() *PATCHStoresStoreId200ResponseDataAttributes { + this := PATCHStoresStoreId200ResponseDataAttributes{} + return &this +} + +// NewPATCHStoresStoreId200ResponseDataAttributesWithDefaults instantiates a new PATCHStoresStoreId200ResponseDataAttributes object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPATCHStoresStoreId200ResponseDataAttributesWithDefaults() *PATCHStoresStoreId200ResponseDataAttributes { + this := PATCHStoresStoreId200ResponseDataAttributes{} + return &this +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHStoresStoreId200ResponseDataAttributes) GetName() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PATCHStoresStoreId200ResponseDataAttributes) GetNameOk() (*interface{}, bool) { + if o == nil || IsNil(o.Name) { + return nil, false + } + return &o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *PATCHStoresStoreId200ResponseDataAttributes) HasName() bool { + if o != nil && IsNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given interface{} and assigns it to the Name field. +func (o *PATCHStoresStoreId200ResponseDataAttributes) SetName(v interface{}) { + o.Name = v +} + +// GetCode returns the Code field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHStoresStoreId200ResponseDataAttributes) GetCode() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Code +} + +// GetCodeOk returns a tuple with the Code field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PATCHStoresStoreId200ResponseDataAttributes) GetCodeOk() (*interface{}, bool) { + if o == nil || IsNil(o.Code) { + return nil, false + } + return &o.Code, true +} + +// HasCode returns a boolean if a field has been set. +func (o *PATCHStoresStoreId200ResponseDataAttributes) HasCode() bool { + if o != nil && IsNil(o.Code) { + return true + } + + return false +} + +// SetCode gets a reference to the given interface{} and assigns it to the Code field. +func (o *PATCHStoresStoreId200ResponseDataAttributes) SetCode(v interface{}) { + o.Code = v +} + +// GetReference returns the Reference field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHStoresStoreId200ResponseDataAttributes) GetReference() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Reference +} + +// GetReferenceOk returns a tuple with the Reference field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PATCHStoresStoreId200ResponseDataAttributes) GetReferenceOk() (*interface{}, bool) { + if o == nil || IsNil(o.Reference) { + return nil, false + } + return &o.Reference, true +} + +// HasReference returns a boolean if a field has been set. +func (o *PATCHStoresStoreId200ResponseDataAttributes) HasReference() bool { + if o != nil && IsNil(o.Reference) { + return true + } + + return false +} + +// SetReference gets a reference to the given interface{} and assigns it to the Reference field. +func (o *PATCHStoresStoreId200ResponseDataAttributes) SetReference(v interface{}) { + o.Reference = v +} + +// GetReferenceOrigin returns the ReferenceOrigin field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHStoresStoreId200ResponseDataAttributes) GetReferenceOrigin() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.ReferenceOrigin +} + +// GetReferenceOriginOk returns a tuple with the ReferenceOrigin field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PATCHStoresStoreId200ResponseDataAttributes) GetReferenceOriginOk() (*interface{}, bool) { + if o == nil || IsNil(o.ReferenceOrigin) { + return nil, false + } + return &o.ReferenceOrigin, true +} + +// HasReferenceOrigin returns a boolean if a field has been set. +func (o *PATCHStoresStoreId200ResponseDataAttributes) HasReferenceOrigin() bool { + if o != nil && IsNil(o.ReferenceOrigin) { + return true + } + + return false +} + +// SetReferenceOrigin gets a reference to the given interface{} and assigns it to the ReferenceOrigin field. +func (o *PATCHStoresStoreId200ResponseDataAttributes) SetReferenceOrigin(v interface{}) { + o.ReferenceOrigin = v +} + +// GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHStoresStoreId200ResponseDataAttributes) GetMetadata() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Metadata +} + +// GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PATCHStoresStoreId200ResponseDataAttributes) GetMetadataOk() (*interface{}, bool) { + if o == nil || IsNil(o.Metadata) { + return nil, false + } + return &o.Metadata, true +} + +// HasMetadata returns a boolean if a field has been set. +func (o *PATCHStoresStoreId200ResponseDataAttributes) HasMetadata() bool { + if o != nil && IsNil(o.Metadata) { + return true + } + + return false +} + +// SetMetadata gets a reference to the given interface{} and assigns it to the Metadata field. +func (o *PATCHStoresStoreId200ResponseDataAttributes) SetMetadata(v interface{}) { + o.Metadata = v +} + +func (o PATCHStoresStoreId200ResponseDataAttributes) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PATCHStoresStoreId200ResponseDataAttributes) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Name != nil { + toSerialize["name"] = o.Name + } + if o.Code != nil { + toSerialize["code"] = o.Code + } + if o.Reference != nil { + toSerialize["reference"] = o.Reference + } + if o.ReferenceOrigin != nil { + toSerialize["reference_origin"] = o.ReferenceOrigin + } + if o.Metadata != nil { + toSerialize["metadata"] = o.Metadata + } + return toSerialize, nil +} + +type NullablePATCHStoresStoreId200ResponseDataAttributes struct { + value *PATCHStoresStoreId200ResponseDataAttributes + isSet bool +} + +func (v NullablePATCHStoresStoreId200ResponseDataAttributes) Get() *PATCHStoresStoreId200ResponseDataAttributes { + return v.value +} + +func (v *NullablePATCHStoresStoreId200ResponseDataAttributes) Set(val *PATCHStoresStoreId200ResponseDataAttributes) { + v.value = val + v.isSet = true +} + +func (v NullablePATCHStoresStoreId200ResponseDataAttributes) IsSet() bool { + return v.isSet +} + +func (v *NullablePATCHStoresStoreId200ResponseDataAttributes) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePATCHStoresStoreId200ResponseDataAttributes(val *PATCHStoresStoreId200ResponseDataAttributes) *NullablePATCHStoresStoreId200ResponseDataAttributes { + return &NullablePATCHStoresStoreId200ResponseDataAttributes{value: val, isSet: true} +} + +func (v NullablePATCHStoresStoreId200ResponseDataAttributes) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePATCHStoresStoreId200ResponseDataAttributes) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_patch_stripe_gateways_stripe_gateway_id_200_response.go b/api/model_patch_stripe_gateways_stripe_gateway_id_200_response.go index f45cc4892..374cf5247 100644 --- a/api/model_patch_stripe_gateways_stripe_gateway_id_200_response.go +++ b/api/model_patch_stripe_gateways_stripe_gateway_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_stripe_gateways_stripe_gateway_id_200_response_data.go b/api/model_patch_stripe_gateways_stripe_gateway_id_200_response_data.go index 6b7d15b94..d37b23ed6 100644 --- a/api/model_patch_stripe_gateways_stripe_gateway_id_200_response_data.go +++ b/api/model_patch_stripe_gateways_stripe_gateway_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_stripe_gateways_stripe_gateway_id_200_response_data_attributes.go b/api/model_patch_stripe_gateways_stripe_gateway_id_200_response_data_attributes.go index d302c59fc..0c6423f90 100644 --- a/api/model_patch_stripe_gateways_stripe_gateway_id_200_response_data_attributes.go +++ b/api/model_patch_stripe_gateways_stripe_gateway_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_stripe_payments_stripe_payment_id_200_response.go b/api/model_patch_stripe_payments_stripe_payment_id_200_response.go index e4ff95667..e4a8bd6e0 100644 --- a/api/model_patch_stripe_payments_stripe_payment_id_200_response.go +++ b/api/model_patch_stripe_payments_stripe_payment_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_stripe_payments_stripe_payment_id_200_response_data.go b/api/model_patch_stripe_payments_stripe_payment_id_200_response_data.go index e672baa22..4482e5c58 100644 --- a/api/model_patch_stripe_payments_stripe_payment_id_200_response_data.go +++ b/api/model_patch_stripe_payments_stripe_payment_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_stripe_payments_stripe_payment_id_200_response_data_attributes.go b/api/model_patch_stripe_payments_stripe_payment_id_200_response_data_attributes.go index 5a87f2c0e..9d5afc949 100644 --- a/api/model_patch_stripe_payments_stripe_payment_id_200_response_data_attributes.go +++ b/api/model_patch_stripe_payments_stripe_payment_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_subscription_models_subscription_model_id_200_response.go b/api/model_patch_subscription_models_subscription_model_id_200_response.go index 0c8c82237..208197999 100644 --- a/api/model_patch_subscription_models_subscription_model_id_200_response.go +++ b/api/model_patch_subscription_models_subscription_model_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_subscription_models_subscription_model_id_200_response_data.go b/api/model_patch_subscription_models_subscription_model_id_200_response_data.go index b09bf8db2..f425421c2 100644 --- a/api/model_patch_subscription_models_subscription_model_id_200_response_data.go +++ b/api/model_patch_subscription_models_subscription_model_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_subscription_models_subscription_model_id_200_response_data_attributes.go b/api/model_patch_subscription_models_subscription_model_id_200_response_data_attributes.go index fedd37ded..c08eba381 100644 --- a/api/model_patch_subscription_models_subscription_model_id_200_response_data_attributes.go +++ b/api/model_patch_subscription_models_subscription_model_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_tags_tag_id_200_response.go b/api/model_patch_tags_tag_id_200_response.go index 7e667c812..fc0f6e8fc 100644 --- a/api/model_patch_tags_tag_id_200_response.go +++ b/api/model_patch_tags_tag_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_tags_tag_id_200_response_data.go b/api/model_patch_tags_tag_id_200_response_data.go index ac506c421..b7121142e 100644 --- a/api/model_patch_tags_tag_id_200_response_data.go +++ b/api/model_patch_tags_tag_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_tags_tag_id_200_response_data_attributes.go b/api/model_patch_tags_tag_id_200_response_data_attributes.go index bd9063721..f8d247692 100644 --- a/api/model_patch_tags_tag_id_200_response_data_attributes.go +++ b/api/model_patch_tags_tag_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_tax_categories_tax_category_id_200_response.go b/api/model_patch_tax_categories_tax_category_id_200_response.go index b6ec08044..3829f94b7 100644 --- a/api/model_patch_tax_categories_tax_category_id_200_response.go +++ b/api/model_patch_tax_categories_tax_category_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_tax_categories_tax_category_id_200_response_data.go b/api/model_patch_tax_categories_tax_category_id_200_response_data.go index 5ae418408..6e9294279 100644 --- a/api/model_patch_tax_categories_tax_category_id_200_response_data.go +++ b/api/model_patch_tax_categories_tax_category_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_tax_categories_tax_category_id_200_response_data_attributes.go b/api/model_patch_tax_categories_tax_category_id_200_response_data_attributes.go index e6a78dc59..7d38382c4 100644 --- a/api/model_patch_tax_categories_tax_category_id_200_response_data_attributes.go +++ b/api/model_patch_tax_categories_tax_category_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_tax_rules_tax_rule_id_200_response.go b/api/model_patch_tax_rules_tax_rule_id_200_response.go index c77a2fa4b..4e824dbe6 100644 --- a/api/model_patch_tax_rules_tax_rule_id_200_response.go +++ b/api/model_patch_tax_rules_tax_rule_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_tax_rules_tax_rule_id_200_response_data.go b/api/model_patch_tax_rules_tax_rule_id_200_response_data.go index e92dcbb4e..7d1ce53dc 100644 --- a/api/model_patch_tax_rules_tax_rule_id_200_response_data.go +++ b/api/model_patch_tax_rules_tax_rule_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_tax_rules_tax_rule_id_200_response_data_attributes.go b/api/model_patch_tax_rules_tax_rule_id_200_response_data_attributes.go index 8fa2df0e2..251cb0798 100644 --- a/api/model_patch_tax_rules_tax_rule_id_200_response_data_attributes.go +++ b/api/model_patch_tax_rules_tax_rule_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -24,18 +24,6 @@ type PATCHTaxRulesTaxRuleId200ResponseDataAttributes struct { Name interface{} `json:"name,omitempty"` // The tax rate for this rule. TaxRate interface{} `json:"tax_rate,omitempty"` - // The regex that will be evaluated to match the shipping address country code. - CountryCodeRegex interface{} `json:"country_code_regex,omitempty"` - // The regex that will be evaluated as negative match for the shipping address country code. - NotCountryCodeRegex interface{} `json:"not_country_code_regex,omitempty"` - // The regex that will be evaluated to match the shipping address state code. - StateCodeRegex interface{} `json:"state_code_regex,omitempty"` - // The regex that will be evaluated as negative match for the shipping address state code. - NotStateCodeRegex interface{} `json:"not_state_code_regex,omitempty"` - // The regex that will be evaluated to match the shipping address zip code. - ZipCodeRegex interface{} `json:"zip_code_regex,omitempty"` - // The regex that will be evaluated as negative match for the shipping zip country code. - NotZipCodeRegex interface{} `json:"not_zip_code_regex,omitempty"` // Indicates if the freight is taxable. FreightTaxable interface{} `json:"freight_taxable,omitempty"` // Indicates if the payment method is taxable. @@ -44,6 +32,18 @@ type PATCHTaxRulesTaxRuleId200ResponseDataAttributes struct { GiftCardTaxable interface{} `json:"gift_card_taxable,omitempty"` // Indicates if adjustemnts are taxable. AdjustmentTaxable interface{} `json:"adjustment_taxable,omitempty"` + // The regex that will be evaluated to match the shipping address country code, max size is 5000. + CountryCodeRegex interface{} `json:"country_code_regex,omitempty"` + // The regex that will be evaluated as negative match for the shipping address country code, max size is 5000. + NotCountryCodeRegex interface{} `json:"not_country_code_regex,omitempty"` + // The regex that will be evaluated to match the shipping address state code, max size is 5000. + StateCodeRegex interface{} `json:"state_code_regex,omitempty"` + // The regex that will be evaluated as negative match for the shipping address state code, max size is 5000. + NotStateCodeRegex interface{} `json:"not_state_code_regex,omitempty"` + // The regex that will be evaluated to match the shipping address zip code, max size is 5000. + ZipCodeRegex interface{} `json:"zip_code_regex,omitempty"` + // The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000. + NotZipCodeRegex interface{} `json:"not_zip_code_regex,omitempty"` // A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. Reference interface{} `json:"reference,omitempty"` // Any identifier of the third party system that defines the reference code. @@ -135,334 +135,334 @@ func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetTaxRate(v interface o.TaxRate = v } -// GetCountryCodeRegex returns the CountryCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetCountryCodeRegex() interface{} { +// GetFreightTaxable returns the FreightTaxable field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetFreightTaxable() interface{} { if o == nil { var ret interface{} return ret } - return o.CountryCodeRegex + return o.FreightTaxable } -// GetCountryCodeRegexOk returns a tuple with the CountryCodeRegex field value if set, nil otherwise +// GetFreightTaxableOk returns a tuple with the FreightTaxable field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetCountryCodeRegexOk() (*interface{}, bool) { - if o == nil || IsNil(o.CountryCodeRegex) { +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetFreightTaxableOk() (*interface{}, bool) { + if o == nil || IsNil(o.FreightTaxable) { return nil, false } - return &o.CountryCodeRegex, true + return &o.FreightTaxable, true } -// HasCountryCodeRegex returns a boolean if a field has been set. -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) HasCountryCodeRegex() bool { - if o != nil && IsNil(o.CountryCodeRegex) { +// HasFreightTaxable returns a boolean if a field has been set. +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) HasFreightTaxable() bool { + if o != nil && IsNil(o.FreightTaxable) { return true } return false } -// SetCountryCodeRegex gets a reference to the given interface{} and assigns it to the CountryCodeRegex field. -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetCountryCodeRegex(v interface{}) { - o.CountryCodeRegex = v +// SetFreightTaxable gets a reference to the given interface{} and assigns it to the FreightTaxable field. +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetFreightTaxable(v interface{}) { + o.FreightTaxable = v } -// GetNotCountryCodeRegex returns the NotCountryCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetNotCountryCodeRegex() interface{} { +// GetPaymentMethodTaxable returns the PaymentMethodTaxable field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetPaymentMethodTaxable() interface{} { if o == nil { var ret interface{} return ret } - return o.NotCountryCodeRegex + return o.PaymentMethodTaxable } -// GetNotCountryCodeRegexOk returns a tuple with the NotCountryCodeRegex field value if set, nil otherwise +// GetPaymentMethodTaxableOk returns a tuple with the PaymentMethodTaxable field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetNotCountryCodeRegexOk() (*interface{}, bool) { - if o == nil || IsNil(o.NotCountryCodeRegex) { +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetPaymentMethodTaxableOk() (*interface{}, bool) { + if o == nil || IsNil(o.PaymentMethodTaxable) { return nil, false } - return &o.NotCountryCodeRegex, true + return &o.PaymentMethodTaxable, true } -// HasNotCountryCodeRegex returns a boolean if a field has been set. -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) HasNotCountryCodeRegex() bool { - if o != nil && IsNil(o.NotCountryCodeRegex) { +// HasPaymentMethodTaxable returns a boolean if a field has been set. +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) HasPaymentMethodTaxable() bool { + if o != nil && IsNil(o.PaymentMethodTaxable) { return true } return false } -// SetNotCountryCodeRegex gets a reference to the given interface{} and assigns it to the NotCountryCodeRegex field. -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetNotCountryCodeRegex(v interface{}) { - o.NotCountryCodeRegex = v +// SetPaymentMethodTaxable gets a reference to the given interface{} and assigns it to the PaymentMethodTaxable field. +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetPaymentMethodTaxable(v interface{}) { + o.PaymentMethodTaxable = v } -// GetStateCodeRegex returns the StateCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetStateCodeRegex() interface{} { +// GetGiftCardTaxable returns the GiftCardTaxable field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetGiftCardTaxable() interface{} { if o == nil { var ret interface{} return ret } - return o.StateCodeRegex + return o.GiftCardTaxable } -// GetStateCodeRegexOk returns a tuple with the StateCodeRegex field value if set, nil otherwise +// GetGiftCardTaxableOk returns a tuple with the GiftCardTaxable field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetStateCodeRegexOk() (*interface{}, bool) { - if o == nil || IsNil(o.StateCodeRegex) { +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetGiftCardTaxableOk() (*interface{}, bool) { + if o == nil || IsNil(o.GiftCardTaxable) { return nil, false } - return &o.StateCodeRegex, true + return &o.GiftCardTaxable, true } -// HasStateCodeRegex returns a boolean if a field has been set. -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) HasStateCodeRegex() bool { - if o != nil && IsNil(o.StateCodeRegex) { +// HasGiftCardTaxable returns a boolean if a field has been set. +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) HasGiftCardTaxable() bool { + if o != nil && IsNil(o.GiftCardTaxable) { return true } return false } -// SetStateCodeRegex gets a reference to the given interface{} and assigns it to the StateCodeRegex field. -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetStateCodeRegex(v interface{}) { - o.StateCodeRegex = v +// SetGiftCardTaxable gets a reference to the given interface{} and assigns it to the GiftCardTaxable field. +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetGiftCardTaxable(v interface{}) { + o.GiftCardTaxable = v } -// GetNotStateCodeRegex returns the NotStateCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetNotStateCodeRegex() interface{} { +// GetAdjustmentTaxable returns the AdjustmentTaxable field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetAdjustmentTaxable() interface{} { if o == nil { var ret interface{} return ret } - return o.NotStateCodeRegex + return o.AdjustmentTaxable } -// GetNotStateCodeRegexOk returns a tuple with the NotStateCodeRegex field value if set, nil otherwise +// GetAdjustmentTaxableOk returns a tuple with the AdjustmentTaxable field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetNotStateCodeRegexOk() (*interface{}, bool) { - if o == nil || IsNil(o.NotStateCodeRegex) { +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetAdjustmentTaxableOk() (*interface{}, bool) { + if o == nil || IsNil(o.AdjustmentTaxable) { return nil, false } - return &o.NotStateCodeRegex, true + return &o.AdjustmentTaxable, true } -// HasNotStateCodeRegex returns a boolean if a field has been set. -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) HasNotStateCodeRegex() bool { - if o != nil && IsNil(o.NotStateCodeRegex) { +// HasAdjustmentTaxable returns a boolean if a field has been set. +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) HasAdjustmentTaxable() bool { + if o != nil && IsNil(o.AdjustmentTaxable) { return true } return false } -// SetNotStateCodeRegex gets a reference to the given interface{} and assigns it to the NotStateCodeRegex field. -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetNotStateCodeRegex(v interface{}) { - o.NotStateCodeRegex = v +// SetAdjustmentTaxable gets a reference to the given interface{} and assigns it to the AdjustmentTaxable field. +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetAdjustmentTaxable(v interface{}) { + o.AdjustmentTaxable = v } -// GetZipCodeRegex returns the ZipCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetZipCodeRegex() interface{} { +// GetCountryCodeRegex returns the CountryCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetCountryCodeRegex() interface{} { if o == nil { var ret interface{} return ret } - return o.ZipCodeRegex + return o.CountryCodeRegex } -// GetZipCodeRegexOk returns a tuple with the ZipCodeRegex field value if set, nil otherwise +// GetCountryCodeRegexOk returns a tuple with the CountryCodeRegex field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetZipCodeRegexOk() (*interface{}, bool) { - if o == nil || IsNil(o.ZipCodeRegex) { +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetCountryCodeRegexOk() (*interface{}, bool) { + if o == nil || IsNil(o.CountryCodeRegex) { return nil, false } - return &o.ZipCodeRegex, true + return &o.CountryCodeRegex, true } -// HasZipCodeRegex returns a boolean if a field has been set. -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) HasZipCodeRegex() bool { - if o != nil && IsNil(o.ZipCodeRegex) { +// HasCountryCodeRegex returns a boolean if a field has been set. +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) HasCountryCodeRegex() bool { + if o != nil && IsNil(o.CountryCodeRegex) { return true } return false } -// SetZipCodeRegex gets a reference to the given interface{} and assigns it to the ZipCodeRegex field. -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetZipCodeRegex(v interface{}) { - o.ZipCodeRegex = v +// SetCountryCodeRegex gets a reference to the given interface{} and assigns it to the CountryCodeRegex field. +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetCountryCodeRegex(v interface{}) { + o.CountryCodeRegex = v } -// GetNotZipCodeRegex returns the NotZipCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetNotZipCodeRegex() interface{} { +// GetNotCountryCodeRegex returns the NotCountryCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetNotCountryCodeRegex() interface{} { if o == nil { var ret interface{} return ret } - return o.NotZipCodeRegex + return o.NotCountryCodeRegex } -// GetNotZipCodeRegexOk returns a tuple with the NotZipCodeRegex field value if set, nil otherwise +// GetNotCountryCodeRegexOk returns a tuple with the NotCountryCodeRegex field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetNotZipCodeRegexOk() (*interface{}, bool) { - if o == nil || IsNil(o.NotZipCodeRegex) { +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetNotCountryCodeRegexOk() (*interface{}, bool) { + if o == nil || IsNil(o.NotCountryCodeRegex) { return nil, false } - return &o.NotZipCodeRegex, true + return &o.NotCountryCodeRegex, true } -// HasNotZipCodeRegex returns a boolean if a field has been set. -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) HasNotZipCodeRegex() bool { - if o != nil && IsNil(o.NotZipCodeRegex) { +// HasNotCountryCodeRegex returns a boolean if a field has been set. +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) HasNotCountryCodeRegex() bool { + if o != nil && IsNil(o.NotCountryCodeRegex) { return true } return false } -// SetNotZipCodeRegex gets a reference to the given interface{} and assigns it to the NotZipCodeRegex field. -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetNotZipCodeRegex(v interface{}) { - o.NotZipCodeRegex = v +// SetNotCountryCodeRegex gets a reference to the given interface{} and assigns it to the NotCountryCodeRegex field. +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetNotCountryCodeRegex(v interface{}) { + o.NotCountryCodeRegex = v } -// GetFreightTaxable returns the FreightTaxable field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetFreightTaxable() interface{} { +// GetStateCodeRegex returns the StateCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetStateCodeRegex() interface{} { if o == nil { var ret interface{} return ret } - return o.FreightTaxable + return o.StateCodeRegex } -// GetFreightTaxableOk returns a tuple with the FreightTaxable field value if set, nil otherwise +// GetStateCodeRegexOk returns a tuple with the StateCodeRegex field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetFreightTaxableOk() (*interface{}, bool) { - if o == nil || IsNil(o.FreightTaxable) { +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetStateCodeRegexOk() (*interface{}, bool) { + if o == nil || IsNil(o.StateCodeRegex) { return nil, false } - return &o.FreightTaxable, true + return &o.StateCodeRegex, true } -// HasFreightTaxable returns a boolean if a field has been set. -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) HasFreightTaxable() bool { - if o != nil && IsNil(o.FreightTaxable) { +// HasStateCodeRegex returns a boolean if a field has been set. +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) HasStateCodeRegex() bool { + if o != nil && IsNil(o.StateCodeRegex) { return true } return false } -// SetFreightTaxable gets a reference to the given interface{} and assigns it to the FreightTaxable field. -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetFreightTaxable(v interface{}) { - o.FreightTaxable = v +// SetStateCodeRegex gets a reference to the given interface{} and assigns it to the StateCodeRegex field. +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetStateCodeRegex(v interface{}) { + o.StateCodeRegex = v } -// GetPaymentMethodTaxable returns the PaymentMethodTaxable field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetPaymentMethodTaxable() interface{} { +// GetNotStateCodeRegex returns the NotStateCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetNotStateCodeRegex() interface{} { if o == nil { var ret interface{} return ret } - return o.PaymentMethodTaxable + return o.NotStateCodeRegex } -// GetPaymentMethodTaxableOk returns a tuple with the PaymentMethodTaxable field value if set, nil otherwise +// GetNotStateCodeRegexOk returns a tuple with the NotStateCodeRegex field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetPaymentMethodTaxableOk() (*interface{}, bool) { - if o == nil || IsNil(o.PaymentMethodTaxable) { +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetNotStateCodeRegexOk() (*interface{}, bool) { + if o == nil || IsNil(o.NotStateCodeRegex) { return nil, false } - return &o.PaymentMethodTaxable, true + return &o.NotStateCodeRegex, true } -// HasPaymentMethodTaxable returns a boolean if a field has been set. -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) HasPaymentMethodTaxable() bool { - if o != nil && IsNil(o.PaymentMethodTaxable) { +// HasNotStateCodeRegex returns a boolean if a field has been set. +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) HasNotStateCodeRegex() bool { + if o != nil && IsNil(o.NotStateCodeRegex) { return true } return false } -// SetPaymentMethodTaxable gets a reference to the given interface{} and assigns it to the PaymentMethodTaxable field. -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetPaymentMethodTaxable(v interface{}) { - o.PaymentMethodTaxable = v +// SetNotStateCodeRegex gets a reference to the given interface{} and assigns it to the NotStateCodeRegex field. +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetNotStateCodeRegex(v interface{}) { + o.NotStateCodeRegex = v } -// GetGiftCardTaxable returns the GiftCardTaxable field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetGiftCardTaxable() interface{} { +// GetZipCodeRegex returns the ZipCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetZipCodeRegex() interface{} { if o == nil { var ret interface{} return ret } - return o.GiftCardTaxable + return o.ZipCodeRegex } -// GetGiftCardTaxableOk returns a tuple with the GiftCardTaxable field value if set, nil otherwise +// GetZipCodeRegexOk returns a tuple with the ZipCodeRegex field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetGiftCardTaxableOk() (*interface{}, bool) { - if o == nil || IsNil(o.GiftCardTaxable) { +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetZipCodeRegexOk() (*interface{}, bool) { + if o == nil || IsNil(o.ZipCodeRegex) { return nil, false } - return &o.GiftCardTaxable, true + return &o.ZipCodeRegex, true } -// HasGiftCardTaxable returns a boolean if a field has been set. -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) HasGiftCardTaxable() bool { - if o != nil && IsNil(o.GiftCardTaxable) { +// HasZipCodeRegex returns a boolean if a field has been set. +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) HasZipCodeRegex() bool { + if o != nil && IsNil(o.ZipCodeRegex) { return true } return false } -// SetGiftCardTaxable gets a reference to the given interface{} and assigns it to the GiftCardTaxable field. -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetGiftCardTaxable(v interface{}) { - o.GiftCardTaxable = v +// SetZipCodeRegex gets a reference to the given interface{} and assigns it to the ZipCodeRegex field. +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetZipCodeRegex(v interface{}) { + o.ZipCodeRegex = v } -// GetAdjustmentTaxable returns the AdjustmentTaxable field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetAdjustmentTaxable() interface{} { +// GetNotZipCodeRegex returns the NotZipCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetNotZipCodeRegex() interface{} { if o == nil { var ret interface{} return ret } - return o.AdjustmentTaxable + return o.NotZipCodeRegex } -// GetAdjustmentTaxableOk returns a tuple with the AdjustmentTaxable field value if set, nil otherwise +// GetNotZipCodeRegexOk returns a tuple with the NotZipCodeRegex field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetAdjustmentTaxableOk() (*interface{}, bool) { - if o == nil || IsNil(o.AdjustmentTaxable) { +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) GetNotZipCodeRegexOk() (*interface{}, bool) { + if o == nil || IsNil(o.NotZipCodeRegex) { return nil, false } - return &o.AdjustmentTaxable, true + return &o.NotZipCodeRegex, true } -// HasAdjustmentTaxable returns a boolean if a field has been set. -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) HasAdjustmentTaxable() bool { - if o != nil && IsNil(o.AdjustmentTaxable) { +// HasNotZipCodeRegex returns a boolean if a field has been set. +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) HasNotZipCodeRegex() bool { + if o != nil && IsNil(o.NotZipCodeRegex) { return true } return false } -// SetAdjustmentTaxable gets a reference to the given interface{} and assigns it to the AdjustmentTaxable field. -func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetAdjustmentTaxable(v interface{}) { - o.AdjustmentTaxable = v +// SetNotZipCodeRegex gets a reference to the given interface{} and assigns it to the NotZipCodeRegex field. +func (o *PATCHTaxRulesTaxRuleId200ResponseDataAttributes) SetNotZipCodeRegex(v interface{}) { + o.NotZipCodeRegex = v } // GetReference returns the Reference field value if set, zero value otherwise (both if not set or set to explicit null). @@ -580,6 +580,18 @@ func (o PATCHTaxRulesTaxRuleId200ResponseDataAttributes) ToMap() (map[string]int if o.TaxRate != nil { toSerialize["tax_rate"] = o.TaxRate } + if o.FreightTaxable != nil { + toSerialize["freight_taxable"] = o.FreightTaxable + } + if o.PaymentMethodTaxable != nil { + toSerialize["payment_method_taxable"] = o.PaymentMethodTaxable + } + if o.GiftCardTaxable != nil { + toSerialize["gift_card_taxable"] = o.GiftCardTaxable + } + if o.AdjustmentTaxable != nil { + toSerialize["adjustment_taxable"] = o.AdjustmentTaxable + } if o.CountryCodeRegex != nil { toSerialize["country_code_regex"] = o.CountryCodeRegex } @@ -598,18 +610,6 @@ func (o PATCHTaxRulesTaxRuleId200ResponseDataAttributes) ToMap() (map[string]int if o.NotZipCodeRegex != nil { toSerialize["not_zip_code_regex"] = o.NotZipCodeRegex } - if o.FreightTaxable != nil { - toSerialize["freight_taxable"] = o.FreightTaxable - } - if o.PaymentMethodTaxable != nil { - toSerialize["payment_method_taxable"] = o.PaymentMethodTaxable - } - if o.GiftCardTaxable != nil { - toSerialize["gift_card_taxable"] = o.GiftCardTaxable - } - if o.AdjustmentTaxable != nil { - toSerialize["adjustment_taxable"] = o.AdjustmentTaxable - } if o.Reference != nil { toSerialize["reference"] = o.Reference } diff --git a/api/model_patch_taxjar_accounts_taxjar_account_id_200_response.go b/api/model_patch_taxjar_accounts_taxjar_account_id_200_response.go index fc51fe3a5..a98ba788e 100644 --- a/api/model_patch_taxjar_accounts_taxjar_account_id_200_response.go +++ b/api/model_patch_taxjar_accounts_taxjar_account_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_taxjar_accounts_taxjar_account_id_200_response_data.go b/api/model_patch_taxjar_accounts_taxjar_account_id_200_response_data.go index 693ffc808..81c2f63f0 100644 --- a/api/model_patch_taxjar_accounts_taxjar_account_id_200_response_data.go +++ b/api/model_patch_taxjar_accounts_taxjar_account_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_taxjar_accounts_taxjar_account_id_200_response_data_attributes.go b/api/model_patch_taxjar_accounts_taxjar_account_id_200_response_data_attributes.go index 5f8c0da49..01ad67ab6 100644 --- a/api/model_patch_taxjar_accounts_taxjar_account_id_200_response_data_attributes.go +++ b/api/model_patch_taxjar_accounts_taxjar_account_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_voids_void_id_200_response.go b/api/model_patch_voids_void_id_200_response.go index 3782fbbfe..8c011e5a3 100644 --- a/api/model_patch_voids_void_id_200_response.go +++ b/api/model_patch_voids_void_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_voids_void_id_200_response_data.go b/api/model_patch_voids_void_id_200_response_data.go index 46874c6c5..69e7d4259 100644 --- a/api/model_patch_voids_void_id_200_response_data.go +++ b/api/model_patch_voids_void_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_webhooks_webhook_id_200_response.go b/api/model_patch_webhooks_webhook_id_200_response.go index ec66878cd..1a326878f 100644 --- a/api/model_patch_webhooks_webhook_id_200_response.go +++ b/api/model_patch_webhooks_webhook_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_webhooks_webhook_id_200_response_data.go b/api/model_patch_webhooks_webhook_id_200_response_data.go index 3acde49ac..24783b317 100644 --- a/api/model_patch_webhooks_webhook_id_200_response_data.go +++ b/api/model_patch_webhooks_webhook_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_webhooks_webhook_id_200_response_data_attributes.go b/api/model_patch_webhooks_webhook_id_200_response_data_attributes.go index b0b7a8bce..e4a1dbe04 100644 --- a/api/model_patch_webhooks_webhook_id_200_response_data_attributes.go +++ b/api/model_patch_webhooks_webhook_id_200_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_wire_transfers_wire_transfer_id_200_response.go b/api/model_patch_wire_transfers_wire_transfer_id_200_response.go index 418dc3174..6dcd168b7 100644 --- a/api/model_patch_wire_transfers_wire_transfer_id_200_response.go +++ b/api/model_patch_wire_transfers_wire_transfer_id_200_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_patch_wire_transfers_wire_transfer_id_200_response_data.go b/api/model_patch_wire_transfers_wire_transfer_id_200_response_data.go index 413c18665..5b45fe04a 100644 --- a/api/model_patch_wire_transfers_wire_transfer_id_200_response_data.go +++ b/api/model_patch_wire_transfers_wire_transfer_id_200_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -23,10 +23,10 @@ type PATCHWireTransfersWireTransferId200ResponseData struct { // The resource's id Id interface{} `json:"id,omitempty"` // The resource's type - Type interface{} `json:"type,omitempty"` - Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` - Attributes *PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes `json:"attributes,omitempty"` - Relationships *POSTWireTransfers201ResponseDataRelationships `json:"relationships,omitempty"` + Type interface{} `json:"type,omitempty"` + Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` + Attributes *PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes `json:"attributes,omitempty"` + Relationships *POSTWireTransfers201ResponseDataRelationships `json:"relationships,omitempty"` } // NewPATCHWireTransfersWireTransferId200ResponseData instantiates a new PATCHWireTransfersWireTransferId200ResponseData object @@ -145,9 +145,9 @@ func (o *PATCHWireTransfersWireTransferId200ResponseData) SetLinks(v POSTAddress } // GetAttributes returns the Attributes field value if set, zero value otherwise. -func (o *PATCHWireTransfersWireTransferId200ResponseData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes { +func (o *PATCHWireTransfersWireTransferId200ResponseData) GetAttributes() PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes { if o == nil || IsNil(o.Attributes) { - var ret PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes + var ret PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes return ret } return *o.Attributes @@ -155,7 +155,7 @@ func (o *PATCHWireTransfersWireTransferId200ResponseData) GetAttributes() PATCHB // GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PATCHWireTransfersWireTransferId200ResponseData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool) { +func (o *PATCHWireTransfersWireTransferId200ResponseData) GetAttributesOk() (*PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes, bool) { if o == nil || IsNil(o.Attributes) { return nil, false } @@ -171,8 +171,8 @@ func (o *PATCHWireTransfersWireTransferId200ResponseData) HasAttributes() bool { return false } -// SetAttributes gets a reference to the given PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes and assigns it to the Attributes field. -func (o *PATCHWireTransfersWireTransferId200ResponseData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) { +// SetAttributes gets a reference to the given PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes and assigns it to the Attributes field. +func (o *PATCHWireTransfersWireTransferId200ResponseData) SetAttributes(v PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) { o.Attributes = &v } diff --git a/api/model_payment_gateway.go b/api/model_payment_gateway.go index 0ac0fba30..27ef36c33 100644 --- a/api/model_payment_gateway.go +++ b/api/model_payment_gateway.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_payment_gateway_data.go b/api/model_payment_gateway_data.go index 2c73ed89c..700110989 100644 --- a/api/model_payment_gateway_data.go +++ b/api/model_payment_gateway_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_payment_method.go b/api/model_payment_method.go index 9887bccd5..a9eae9644 100644 --- a/api/model_payment_method.go +++ b/api/model_payment_method.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_payment_method_create.go b/api/model_payment_method_create.go index 64620d655..989a0bf2b 100644 --- a/api/model_payment_method_create.go +++ b/api/model_payment_method_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_payment_method_create_data.go b/api/model_payment_method_create_data.go index 8fba2d0e7..a3529301d 100644 --- a/api/model_payment_method_create_data.go +++ b/api/model_payment_method_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_payment_method_create_data_relationships.go b/api/model_payment_method_create_data_relationships.go index d01239a88..3cc38e266 100644 --- a/api/model_payment_method_create_data_relationships.go +++ b/api/model_payment_method_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,8 +20,9 @@ var _ MappedNullable = &PaymentMethodCreateDataRelationships{} // PaymentMethodCreateDataRelationships struct for PaymentMethodCreateDataRelationships type PaymentMethodCreateDataRelationships struct { - Market *BillingInfoValidationRuleCreateDataRelationshipsMarket `json:"market,omitempty"` - PaymentGateway PaymentMethodCreateDataRelationshipsPaymentGateway `json:"payment_gateway"` + Market *BundleCreateDataRelationshipsMarket `json:"market,omitempty"` + PaymentGateway PaymentMethodCreateDataRelationshipsPaymentGateway `json:"payment_gateway"` + Store *OrderCreateDataRelationshipsStore `json:"store,omitempty"` } // NewPaymentMethodCreateDataRelationships instantiates a new PaymentMethodCreateDataRelationships object @@ -43,9 +44,9 @@ func NewPaymentMethodCreateDataRelationshipsWithDefaults() *PaymentMethodCreateD } // GetMarket returns the Market field value if set, zero value otherwise. -func (o *PaymentMethodCreateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket { +func (o *PaymentMethodCreateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket { if o == nil || IsNil(o.Market) { - var ret BillingInfoValidationRuleCreateDataRelationshipsMarket + var ret BundleCreateDataRelationshipsMarket return ret } return *o.Market @@ -53,7 +54,7 @@ func (o *PaymentMethodCreateDataRelationships) GetMarket() BillingInfoValidation // GetMarketOk returns a tuple with the Market field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PaymentMethodCreateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool) { +func (o *PaymentMethodCreateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool) { if o == nil || IsNil(o.Market) { return nil, false } @@ -69,8 +70,8 @@ func (o *PaymentMethodCreateDataRelationships) HasMarket() bool { return false } -// SetMarket gets a reference to the given BillingInfoValidationRuleCreateDataRelationshipsMarket and assigns it to the Market field. -func (o *PaymentMethodCreateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket) { +// SetMarket gets a reference to the given BundleCreateDataRelationshipsMarket and assigns it to the Market field. +func (o *PaymentMethodCreateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket) { o.Market = &v } @@ -98,6 +99,38 @@ func (o *PaymentMethodCreateDataRelationships) SetPaymentGateway(v PaymentMethod o.PaymentGateway = v } +// GetStore returns the Store field value if set, zero value otherwise. +func (o *PaymentMethodCreateDataRelationships) GetStore() OrderCreateDataRelationshipsStore { + if o == nil || IsNil(o.Store) { + var ret OrderCreateDataRelationshipsStore + return ret + } + return *o.Store +} + +// GetStoreOk returns a tuple with the Store field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PaymentMethodCreateDataRelationships) GetStoreOk() (*OrderCreateDataRelationshipsStore, bool) { + if o == nil || IsNil(o.Store) { + return nil, false + } + return o.Store, true +} + +// HasStore returns a boolean if a field has been set. +func (o *PaymentMethodCreateDataRelationships) HasStore() bool { + if o != nil && !IsNil(o.Store) { + return true + } + + return false +} + +// SetStore gets a reference to the given OrderCreateDataRelationshipsStore and assigns it to the Store field. +func (o *PaymentMethodCreateDataRelationships) SetStore(v OrderCreateDataRelationshipsStore) { + o.Store = &v +} + func (o PaymentMethodCreateDataRelationships) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -112,6 +145,9 @@ func (o PaymentMethodCreateDataRelationships) ToMap() (map[string]interface{}, e toSerialize["market"] = o.Market } toSerialize["payment_gateway"] = o.PaymentGateway + if !IsNil(o.Store) { + toSerialize["store"] = o.Store + } return toSerialize, nil } diff --git a/api/model_payment_method_create_data_relationships_payment_gateway.go b/api/model_payment_method_create_data_relationships_payment_gateway.go index 7f3256f3e..8d44d8b87 100644 --- a/api/model_payment_method_create_data_relationships_payment_gateway.go +++ b/api/model_payment_method_create_data_relationships_payment_gateway.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_payment_method_data.go b/api/model_payment_method_data.go index 011ca9ff7..1c822ae9d 100644 --- a/api/model_payment_method_data.go +++ b/api/model_payment_method_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_payment_method_data_relationships.go b/api/model_payment_method_data_relationships.go index 7a342cf24..da50f18e3 100644 --- a/api/model_payment_method_data_relationships.go +++ b/api/model_payment_method_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -22,6 +22,8 @@ var _ MappedNullable = &PaymentMethodDataRelationships{} type PaymentMethodDataRelationships struct { Market *AvalaraAccountDataRelationshipsMarkets `json:"market,omitempty"` PaymentGateway *AdyenPaymentDataRelationshipsPaymentGateway `json:"payment_gateway,omitempty"` + Store *MarketDataRelationshipsStores `json:"store,omitempty"` + Orders *AdyenPaymentDataRelationshipsOrder `json:"orders,omitempty"` Attachments *AuthorizationDataRelationshipsAttachments `json:"attachments,omitempty"` Versions *AddressDataRelationshipsVersions `json:"versions,omitempty"` } @@ -107,6 +109,70 @@ func (o *PaymentMethodDataRelationships) SetPaymentGateway(v AdyenPaymentDataRel o.PaymentGateway = &v } +// GetStore returns the Store field value if set, zero value otherwise. +func (o *PaymentMethodDataRelationships) GetStore() MarketDataRelationshipsStores { + if o == nil || IsNil(o.Store) { + var ret MarketDataRelationshipsStores + return ret + } + return *o.Store +} + +// GetStoreOk returns a tuple with the Store field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PaymentMethodDataRelationships) GetStoreOk() (*MarketDataRelationshipsStores, bool) { + if o == nil || IsNil(o.Store) { + return nil, false + } + return o.Store, true +} + +// HasStore returns a boolean if a field has been set. +func (o *PaymentMethodDataRelationships) HasStore() bool { + if o != nil && !IsNil(o.Store) { + return true + } + + return false +} + +// SetStore gets a reference to the given MarketDataRelationshipsStores and assigns it to the Store field. +func (o *PaymentMethodDataRelationships) SetStore(v MarketDataRelationshipsStores) { + o.Store = &v +} + +// GetOrders returns the Orders field value if set, zero value otherwise. +func (o *PaymentMethodDataRelationships) GetOrders() AdyenPaymentDataRelationshipsOrder { + if o == nil || IsNil(o.Orders) { + var ret AdyenPaymentDataRelationshipsOrder + return ret + } + return *o.Orders +} + +// GetOrdersOk returns a tuple with the Orders field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PaymentMethodDataRelationships) GetOrdersOk() (*AdyenPaymentDataRelationshipsOrder, bool) { + if o == nil || IsNil(o.Orders) { + return nil, false + } + return o.Orders, true +} + +// HasOrders returns a boolean if a field has been set. +func (o *PaymentMethodDataRelationships) HasOrders() bool { + if o != nil && !IsNil(o.Orders) { + return true + } + + return false +} + +// SetOrders gets a reference to the given AdyenPaymentDataRelationshipsOrder and assigns it to the Orders field. +func (o *PaymentMethodDataRelationships) SetOrders(v AdyenPaymentDataRelationshipsOrder) { + o.Orders = &v +} + // GetAttachments returns the Attachments field value if set, zero value otherwise. func (o *PaymentMethodDataRelationships) GetAttachments() AuthorizationDataRelationshipsAttachments { if o == nil || IsNil(o.Attachments) { @@ -187,6 +253,12 @@ func (o PaymentMethodDataRelationships) ToMap() (map[string]interface{}, error) if !IsNil(o.PaymentGateway) { toSerialize["payment_gateway"] = o.PaymentGateway } + if !IsNil(o.Store) { + toSerialize["store"] = o.Store + } + if !IsNil(o.Orders) { + toSerialize["orders"] = o.Orders + } if !IsNil(o.Attachments) { toSerialize["attachments"] = o.Attachments } diff --git a/api/model_payment_method_update.go b/api/model_payment_method_update.go index ba093e219..df3c8f73a 100644 --- a/api/model_payment_method_update.go +++ b/api/model_payment_method_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_payment_method_update_data.go b/api/model_payment_method_update_data.go index c5e5b399b..53dac59e8 100644 --- a/api/model_payment_method_update_data.go +++ b/api/model_payment_method_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_payment_method_update_data_relationships.go b/api/model_payment_method_update_data_relationships.go index 7ef7bbea2..ab98724da 100644 --- a/api/model_payment_method_update_data_relationships.go +++ b/api/model_payment_method_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,8 +20,9 @@ var _ MappedNullable = &PaymentMethodUpdateDataRelationships{} // PaymentMethodUpdateDataRelationships struct for PaymentMethodUpdateDataRelationships type PaymentMethodUpdateDataRelationships struct { - Market *BillingInfoValidationRuleCreateDataRelationshipsMarket `json:"market,omitempty"` - PaymentGateway *PaymentMethodCreateDataRelationshipsPaymentGateway `json:"payment_gateway,omitempty"` + Market *BundleCreateDataRelationshipsMarket `json:"market,omitempty"` + PaymentGateway *PaymentMethodCreateDataRelationshipsPaymentGateway `json:"payment_gateway,omitempty"` + Store *OrderCreateDataRelationshipsStore `json:"store,omitempty"` } // NewPaymentMethodUpdateDataRelationships instantiates a new PaymentMethodUpdateDataRelationships object @@ -42,9 +43,9 @@ func NewPaymentMethodUpdateDataRelationshipsWithDefaults() *PaymentMethodUpdateD } // GetMarket returns the Market field value if set, zero value otherwise. -func (o *PaymentMethodUpdateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket { +func (o *PaymentMethodUpdateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket { if o == nil || IsNil(o.Market) { - var ret BillingInfoValidationRuleCreateDataRelationshipsMarket + var ret BundleCreateDataRelationshipsMarket return ret } return *o.Market @@ -52,7 +53,7 @@ func (o *PaymentMethodUpdateDataRelationships) GetMarket() BillingInfoValidation // GetMarketOk returns a tuple with the Market field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PaymentMethodUpdateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool) { +func (o *PaymentMethodUpdateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool) { if o == nil || IsNil(o.Market) { return nil, false } @@ -68,8 +69,8 @@ func (o *PaymentMethodUpdateDataRelationships) HasMarket() bool { return false } -// SetMarket gets a reference to the given BillingInfoValidationRuleCreateDataRelationshipsMarket and assigns it to the Market field. -func (o *PaymentMethodUpdateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket) { +// SetMarket gets a reference to the given BundleCreateDataRelationshipsMarket and assigns it to the Market field. +func (o *PaymentMethodUpdateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket) { o.Market = &v } @@ -105,6 +106,38 @@ func (o *PaymentMethodUpdateDataRelationships) SetPaymentGateway(v PaymentMethod o.PaymentGateway = &v } +// GetStore returns the Store field value if set, zero value otherwise. +func (o *PaymentMethodUpdateDataRelationships) GetStore() OrderCreateDataRelationshipsStore { + if o == nil || IsNil(o.Store) { + var ret OrderCreateDataRelationshipsStore + return ret + } + return *o.Store +} + +// GetStoreOk returns a tuple with the Store field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PaymentMethodUpdateDataRelationships) GetStoreOk() (*OrderCreateDataRelationshipsStore, bool) { + if o == nil || IsNil(o.Store) { + return nil, false + } + return o.Store, true +} + +// HasStore returns a boolean if a field has been set. +func (o *PaymentMethodUpdateDataRelationships) HasStore() bool { + if o != nil && !IsNil(o.Store) { + return true + } + + return false +} + +// SetStore gets a reference to the given OrderCreateDataRelationshipsStore and assigns it to the Store field. +func (o *PaymentMethodUpdateDataRelationships) SetStore(v OrderCreateDataRelationshipsStore) { + o.Store = &v +} + func (o PaymentMethodUpdateDataRelationships) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -121,6 +154,9 @@ func (o PaymentMethodUpdateDataRelationships) ToMap() (map[string]interface{}, e if !IsNil(o.PaymentGateway) { toSerialize["payment_gateway"] = o.PaymentGateway } + if !IsNil(o.Store) { + toSerialize["store"] = o.Store + } return toSerialize, nil } diff --git a/api/model_payment_option.go b/api/model_payment_option.go index da54910c9..66b48140c 100644 --- a/api/model_payment_option.go +++ b/api/model_payment_option.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_payment_option_create.go b/api/model_payment_option_create.go index 482d87eb0..2eef61e21 100644 --- a/api/model_payment_option_create.go +++ b/api/model_payment_option_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_payment_option_create_data.go b/api/model_payment_option_create_data.go index 35f9994f8..b26c4b41c 100644 --- a/api/model_payment_option_create_data.go +++ b/api/model_payment_option_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_payment_option_data.go b/api/model_payment_option_data.go index 523bcf66e..f50c311f0 100644 --- a/api/model_payment_option_data.go +++ b/api/model_payment_option_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_payment_option_data_relationships.go b/api/model_payment_option_data_relationships.go index 552d4f5ff..04f67fb00 100644 --- a/api/model_payment_option_data_relationships.go +++ b/api/model_payment_option_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_payment_option_update.go b/api/model_payment_option_update.go index b665f842e..3ccee4d11 100644 --- a/api/model_payment_option_update.go +++ b/api/model_payment_option_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_payment_option_update_data.go b/api/model_payment_option_update_data.go index 7a917ab3f..6b1bb423c 100644 --- a/api/model_payment_option_update_data.go +++ b/api/model_payment_option_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_paypal_gateway.go b/api/model_paypal_gateway.go index f9c5a6e5e..0eaf3e316 100644 --- a/api/model_paypal_gateway.go +++ b/api/model_paypal_gateway.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_paypal_gateway_create.go b/api/model_paypal_gateway_create.go index 48f259a86..d6be9ba3c 100644 --- a/api/model_paypal_gateway_create.go +++ b/api/model_paypal_gateway_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_paypal_gateway_create_data.go b/api/model_paypal_gateway_create_data.go index 5e2607897..a5f87f849 100644 --- a/api/model_paypal_gateway_create_data.go +++ b/api/model_paypal_gateway_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_paypal_gateway_data.go b/api/model_paypal_gateway_data.go index 0a0d3c21e..e7496fdcb 100644 --- a/api/model_paypal_gateway_data.go +++ b/api/model_paypal_gateway_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_paypal_gateway_data_relationships.go b/api/model_paypal_gateway_data_relationships.go index fe343a5b2..8640c7ce0 100644 --- a/api/model_paypal_gateway_data_relationships.go +++ b/api/model_paypal_gateway_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_paypal_gateway_data_relationships_paypal_payments.go b/api/model_paypal_gateway_data_relationships_paypal_payments.go index 4afa6f559..d0b555897 100644 --- a/api/model_paypal_gateway_data_relationships_paypal_payments.go +++ b/api/model_paypal_gateway_data_relationships_paypal_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_paypal_gateway_data_relationships_paypal_payments_data.go b/api/model_paypal_gateway_data_relationships_paypal_payments_data.go index 3c1b6ff98..2aa1c7107 100644 --- a/api/model_paypal_gateway_data_relationships_paypal_payments_data.go +++ b/api/model_paypal_gateway_data_relationships_paypal_payments_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_paypal_gateway_update.go b/api/model_paypal_gateway_update.go index 9b176c040..bfdb309d3 100644 --- a/api/model_paypal_gateway_update.go +++ b/api/model_paypal_gateway_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_paypal_gateway_update_data.go b/api/model_paypal_gateway_update_data.go index bdadf342b..9ac22e141 100644 --- a/api/model_paypal_gateway_update_data.go +++ b/api/model_paypal_gateway_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_paypal_payment.go b/api/model_paypal_payment.go index a0d0dd41d..4fa5d2f7e 100644 --- a/api/model_paypal_payment.go +++ b/api/model_paypal_payment.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_paypal_payment_create.go b/api/model_paypal_payment_create.go index d2f18e738..13b0cdb8f 100644 --- a/api/model_paypal_payment_create.go +++ b/api/model_paypal_payment_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_paypal_payment_create_data.go b/api/model_paypal_payment_create_data.go index cb41690bf..9f28209b2 100644 --- a/api/model_paypal_payment_create_data.go +++ b/api/model_paypal_payment_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_paypal_payment_data.go b/api/model_paypal_payment_data.go index c517b340b..0ee61fd7d 100644 --- a/api/model_paypal_payment_data.go +++ b/api/model_paypal_payment_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_paypal_payment_update.go b/api/model_paypal_payment_update.go index b4092b4f4..df16e2a80 100644 --- a/api/model_paypal_payment_update.go +++ b/api/model_paypal_payment_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_paypal_payment_update_data.go b/api/model_paypal_payment_update_data.go index 85aebe551..1ca0ac559 100644 --- a/api/model_paypal_payment_update_data.go +++ b/api/model_paypal_payment_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_percentage_discount_promotion.go b/api/model_percentage_discount_promotion.go index ff9abe66d..0f9ca4279 100644 --- a/api/model_percentage_discount_promotion.go +++ b/api/model_percentage_discount_promotion.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_percentage_discount_promotion_create.go b/api/model_percentage_discount_promotion_create.go index 4975fec00..d554047fb 100644 --- a/api/model_percentage_discount_promotion_create.go +++ b/api/model_percentage_discount_promotion_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_percentage_discount_promotion_create_data.go b/api/model_percentage_discount_promotion_create_data.go index cd50bb9d0..cbc431730 100644 --- a/api/model_percentage_discount_promotion_create_data.go +++ b/api/model_percentage_discount_promotion_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_percentage_discount_promotion_data.go b/api/model_percentage_discount_promotion_data.go index 619906404..ab1a8de51 100644 --- a/api/model_percentage_discount_promotion_data.go +++ b/api/model_percentage_discount_promotion_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_percentage_discount_promotion_update.go b/api/model_percentage_discount_promotion_update.go index a3a0049b3..4f329c6b1 100644 --- a/api/model_percentage_discount_promotion_update.go +++ b/api/model_percentage_discount_promotion_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_percentage_discount_promotion_update_data.go b/api/model_percentage_discount_promotion_update_data.go index ddf1f2294..b149ed47f 100644 --- a/api/model_percentage_discount_promotion_update_data.go +++ b/api/model_percentage_discount_promotion_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_addresses_201_response.go b/api/model_post_addresses_201_response.go index d2ed53bae..ffa15cd7a 100644 --- a/api/model_post_addresses_201_response.go +++ b/api/model_post_addresses_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_addresses_201_response_data.go b/api/model_post_addresses_201_response_data.go index cede67124..7a86aeede 100644 --- a/api/model_post_addresses_201_response_data.go +++ b/api/model_post_addresses_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_addresses_201_response_data_attributes.go b/api/model_post_addresses_201_response_data_attributes.go index 6fcc8d645..549a79075 100644 --- a/api/model_post_addresses_201_response_data_attributes.go +++ b/api/model_post_addresses_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_addresses_201_response_data_links.go b/api/model_post_addresses_201_response_data_links.go index 719748e10..4e11d54dd 100644 --- a/api/model_post_addresses_201_response_data_links.go +++ b/api/model_post_addresses_201_response_data_links.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_addresses_201_response_data_relationships.go b/api/model_post_addresses_201_response_data_relationships.go index e958a9d5f..1ebd6df83 100644 --- a/api/model_post_addresses_201_response_data_relationships.go +++ b/api/model_post_addresses_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_addresses_201_response_data_relationships_events.go b/api/model_post_addresses_201_response_data_relationships_events.go index 1f5b9dddf..4d0f86e3e 100644 --- a/api/model_post_addresses_201_response_data_relationships_events.go +++ b/api/model_post_addresses_201_response_data_relationships_events.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_addresses_201_response_data_relationships_events_data.go b/api/model_post_addresses_201_response_data_relationships_events_data.go index dcee7e057..3a28d61ec 100644 --- a/api/model_post_addresses_201_response_data_relationships_events_data.go +++ b/api/model_post_addresses_201_response_data_relationships_events_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_addresses_201_response_data_relationships_geocoder.go b/api/model_post_addresses_201_response_data_relationships_geocoder.go index 2137ffe6c..783e089b7 100644 --- a/api/model_post_addresses_201_response_data_relationships_geocoder.go +++ b/api/model_post_addresses_201_response_data_relationships_geocoder.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_addresses_201_response_data_relationships_geocoder_data.go b/api/model_post_addresses_201_response_data_relationships_geocoder_data.go index 222d623f5..26098cc8f 100644 --- a/api/model_post_addresses_201_response_data_relationships_geocoder_data.go +++ b/api/model_post_addresses_201_response_data_relationships_geocoder_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_addresses_201_response_data_relationships_geocoder_links.go b/api/model_post_addresses_201_response_data_relationships_geocoder_links.go index 3d9a8981d..bddc027af 100644 --- a/api/model_post_addresses_201_response_data_relationships_geocoder_links.go +++ b/api/model_post_addresses_201_response_data_relationships_geocoder_links.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_addresses_201_response_data_relationships_tags.go b/api/model_post_addresses_201_response_data_relationships_tags.go index 2db0d4355..73248b490 100644 --- a/api/model_post_addresses_201_response_data_relationships_tags.go +++ b/api/model_post_addresses_201_response_data_relationships_tags.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_addresses_201_response_data_relationships_tags_data.go b/api/model_post_addresses_201_response_data_relationships_tags_data.go index a12f95c76..09c7fa1ce 100644 --- a/api/model_post_addresses_201_response_data_relationships_tags_data.go +++ b/api/model_post_addresses_201_response_data_relationships_tags_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_addresses_201_response_data_relationships_versions.go b/api/model_post_addresses_201_response_data_relationships_versions.go index ca35c5b10..03657c270 100644 --- a/api/model_post_addresses_201_response_data_relationships_versions.go +++ b/api/model_post_addresses_201_response_data_relationships_versions.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_addresses_201_response_data_relationships_versions_data.go b/api/model_post_addresses_201_response_data_relationships_versions_data.go index 256a4ec4a..e9417cead 100644 --- a/api/model_post_addresses_201_response_data_relationships_versions_data.go +++ b/api/model_post_addresses_201_response_data_relationships_versions_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_adjustments_201_response.go b/api/model_post_adjustments_201_response.go index 5633789bb..c77fd47aa 100644 --- a/api/model_post_adjustments_201_response.go +++ b/api/model_post_adjustments_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_adjustments_201_response_data.go b/api/model_post_adjustments_201_response_data.go index 1b31a8c16..d7c84a266 100644 --- a/api/model_post_adjustments_201_response_data.go +++ b/api/model_post_adjustments_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_adjustments_201_response_data_attributes.go b/api/model_post_adjustments_201_response_data_attributes.go index f60d71ebc..a57559c2e 100644 --- a/api/model_post_adjustments_201_response_data_attributes.go +++ b/api/model_post_adjustments_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_adjustments_201_response_data_relationships.go b/api/model_post_adjustments_201_response_data_relationships.go index a59523673..d16da5e24 100644 --- a/api/model_post_adjustments_201_response_data_relationships.go +++ b/api/model_post_adjustments_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_adyen_gateways_201_response.go b/api/model_post_adyen_gateways_201_response.go index c35fd2783..53be37479 100644 --- a/api/model_post_adyen_gateways_201_response.go +++ b/api/model_post_adyen_gateways_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_adyen_gateways_201_response_data.go b/api/model_post_adyen_gateways_201_response_data.go index 668dca7c3..66501bfb0 100644 --- a/api/model_post_adyen_gateways_201_response_data.go +++ b/api/model_post_adyen_gateways_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_adyen_gateways_201_response_data_attributes.go b/api/model_post_adyen_gateways_201_response_data_attributes.go index 24231cf89..0c52b0f9b 100644 --- a/api/model_post_adyen_gateways_201_response_data_attributes.go +++ b/api/model_post_adyen_gateways_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_adyen_gateways_201_response_data_relationships.go b/api/model_post_adyen_gateways_201_response_data_relationships.go index 5affa9c06..3c0ee489b 100644 --- a/api/model_post_adyen_gateways_201_response_data_relationships.go +++ b/api/model_post_adyen_gateways_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_adyen_gateways_201_response_data_relationships_adyen_payments.go b/api/model_post_adyen_gateways_201_response_data_relationships_adyen_payments.go index b93a780fa..b983a2faa 100644 --- a/api/model_post_adyen_gateways_201_response_data_relationships_adyen_payments.go +++ b/api/model_post_adyen_gateways_201_response_data_relationships_adyen_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_adyen_gateways_201_response_data_relationships_adyen_payments_data.go b/api/model_post_adyen_gateways_201_response_data_relationships_adyen_payments_data.go index 58c68ecb5..bf5dfb2a8 100644 --- a/api/model_post_adyen_gateways_201_response_data_relationships_adyen_payments_data.go +++ b/api/model_post_adyen_gateways_201_response_data_relationships_adyen_payments_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_adyen_gateways_201_response_data_relationships_payment_methods.go b/api/model_post_adyen_gateways_201_response_data_relationships_payment_methods.go index 0506fd117..4528808fe 100644 --- a/api/model_post_adyen_gateways_201_response_data_relationships_payment_methods.go +++ b/api/model_post_adyen_gateways_201_response_data_relationships_payment_methods.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_adyen_gateways_201_response_data_relationships_payment_methods_data.go b/api/model_post_adyen_gateways_201_response_data_relationships_payment_methods_data.go index fdc78d8c1..9a9f05c79 100644 --- a/api/model_post_adyen_gateways_201_response_data_relationships_payment_methods_data.go +++ b/api/model_post_adyen_gateways_201_response_data_relationships_payment_methods_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_adyen_payments_201_response.go b/api/model_post_adyen_payments_201_response.go index d3eca8b51..7899d8604 100644 --- a/api/model_post_adyen_payments_201_response.go +++ b/api/model_post_adyen_payments_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_adyen_payments_201_response_data.go b/api/model_post_adyen_payments_201_response_data.go index 420f5af3d..95dc36bfb 100644 --- a/api/model_post_adyen_payments_201_response_data.go +++ b/api/model_post_adyen_payments_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_adyen_payments_201_response_data_attributes.go b/api/model_post_adyen_payments_201_response_data_attributes.go index e36712ad1..44916ffbe 100644 --- a/api/model_post_adyen_payments_201_response_data_attributes.go +++ b/api/model_post_adyen_payments_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_adyen_payments_201_response_data_relationships.go b/api/model_post_adyen_payments_201_response_data_relationships.go index ebdce69fa..3b1792e60 100644 --- a/api/model_post_adyen_payments_201_response_data_relationships.go +++ b/api/model_post_adyen_payments_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_adyen_payments_201_response_data_relationships_order.go b/api/model_post_adyen_payments_201_response_data_relationships_order.go index dd30d2632..343365b84 100644 --- a/api/model_post_adyen_payments_201_response_data_relationships_order.go +++ b/api/model_post_adyen_payments_201_response_data_relationships_order.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_adyen_payments_201_response_data_relationships_order_data.go b/api/model_post_adyen_payments_201_response_data_relationships_order_data.go index 64633b25c..28595c647 100644 --- a/api/model_post_adyen_payments_201_response_data_relationships_order_data.go +++ b/api/model_post_adyen_payments_201_response_data_relationships_order_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_adyen_payments_201_response_data_relationships_payment_gateway.go b/api/model_post_adyen_payments_201_response_data_relationships_payment_gateway.go index b6ec165c9..631f00d40 100644 --- a/api/model_post_adyen_payments_201_response_data_relationships_payment_gateway.go +++ b/api/model_post_adyen_payments_201_response_data_relationships_payment_gateway.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_adyen_payments_201_response_data_relationships_payment_gateway_data.go b/api/model_post_adyen_payments_201_response_data_relationships_payment_gateway_data.go index 8d85be734..3951ac92a 100644 --- a/api/model_post_adyen_payments_201_response_data_relationships_payment_gateway_data.go +++ b/api/model_post_adyen_payments_201_response_data_relationships_payment_gateway_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_attachments_201_response.go b/api/model_post_attachments_201_response.go index 96246afd7..6e518249b 100644 --- a/api/model_post_attachments_201_response.go +++ b/api/model_post_attachments_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_attachments_201_response_data.go b/api/model_post_attachments_201_response_data.go index 354c97002..c21c836bc 100644 --- a/api/model_post_attachments_201_response_data.go +++ b/api/model_post_attachments_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_attachments_201_response_data_attributes.go b/api/model_post_attachments_201_response_data_attributes.go index 1fa578ae6..2f0b5e46f 100644 --- a/api/model_post_attachments_201_response_data_attributes.go +++ b/api/model_post_attachments_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_attachments_201_response_data_relationships.go b/api/model_post_attachments_201_response_data_relationships.go index fccd1ff76..1e98a23fc 100644 --- a/api/model_post_attachments_201_response_data_relationships.go +++ b/api/model_post_attachments_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_attachments_201_response_data_relationships_attachable.go b/api/model_post_attachments_201_response_data_relationships_attachable.go index 9fc7ec53e..e3bc1587f 100644 --- a/api/model_post_attachments_201_response_data_relationships_attachable.go +++ b/api/model_post_attachments_201_response_data_relationships_attachable.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_attachments_201_response_data_relationships_attachable_data.go b/api/model_post_attachments_201_response_data_relationships_attachable_data.go index 70144ba67..e7f5272fb 100644 --- a/api/model_post_attachments_201_response_data_relationships_attachable_data.go +++ b/api/model_post_attachments_201_response_data_relationships_attachable_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_avalara_accounts_201_response.go b/api/model_post_avalara_accounts_201_response.go index 43bec6e3f..d01c8e409 100644 --- a/api/model_post_avalara_accounts_201_response.go +++ b/api/model_post_avalara_accounts_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_avalara_accounts_201_response_data.go b/api/model_post_avalara_accounts_201_response_data.go index 87663e5c7..cbda8a01b 100644 --- a/api/model_post_avalara_accounts_201_response_data.go +++ b/api/model_post_avalara_accounts_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_avalara_accounts_201_response_data_attributes.go b/api/model_post_avalara_accounts_201_response_data_attributes.go index b586302fd..d4ac2900e 100644 --- a/api/model_post_avalara_accounts_201_response_data_attributes.go +++ b/api/model_post_avalara_accounts_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_avalara_accounts_201_response_data_relationships.go b/api/model_post_avalara_accounts_201_response_data_relationships.go index 60def9369..d25df31f4 100644 --- a/api/model_post_avalara_accounts_201_response_data_relationships.go +++ b/api/model_post_avalara_accounts_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_avalara_accounts_201_response_data_relationships_markets.go b/api/model_post_avalara_accounts_201_response_data_relationships_markets.go index e039be4f1..b36963451 100644 --- a/api/model_post_avalara_accounts_201_response_data_relationships_markets.go +++ b/api/model_post_avalara_accounts_201_response_data_relationships_markets.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_avalara_accounts_201_response_data_relationships_markets_data.go b/api/model_post_avalara_accounts_201_response_data_relationships_markets_data.go index bc2aa1dee..62f3db447 100644 --- a/api/model_post_avalara_accounts_201_response_data_relationships_markets_data.go +++ b/api/model_post_avalara_accounts_201_response_data_relationships_markets_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_avalara_accounts_201_response_data_relationships_tax_categories.go b/api/model_post_avalara_accounts_201_response_data_relationships_tax_categories.go index cfe81b4c5..169173d20 100644 --- a/api/model_post_avalara_accounts_201_response_data_relationships_tax_categories.go +++ b/api/model_post_avalara_accounts_201_response_data_relationships_tax_categories.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_avalara_accounts_201_response_data_relationships_tax_categories_data.go b/api/model_post_avalara_accounts_201_response_data_relationships_tax_categories_data.go index 68c64ac2b..82f918b8c 100644 --- a/api/model_post_avalara_accounts_201_response_data_relationships_tax_categories_data.go +++ b/api/model_post_avalara_accounts_201_response_data_relationships_tax_categories_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_axerve_gateways_201_response.go b/api/model_post_axerve_gateways_201_response.go index bee6e789a..7cf9dc976 100644 --- a/api/model_post_axerve_gateways_201_response.go +++ b/api/model_post_axerve_gateways_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_axerve_gateways_201_response_data.go b/api/model_post_axerve_gateways_201_response_data.go index 4b6a9e136..41497fb45 100644 --- a/api/model_post_axerve_gateways_201_response_data.go +++ b/api/model_post_axerve_gateways_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_axerve_gateways_201_response_data_attributes.go b/api/model_post_axerve_gateways_201_response_data_attributes.go index 9ba6919de..be2edeef1 100644 --- a/api/model_post_axerve_gateways_201_response_data_attributes.go +++ b/api/model_post_axerve_gateways_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_axerve_gateways_201_response_data_relationships.go b/api/model_post_axerve_gateways_201_response_data_relationships.go index 439016809..05ec02cd4 100644 --- a/api/model_post_axerve_gateways_201_response_data_relationships.go +++ b/api/model_post_axerve_gateways_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_axerve_gateways_201_response_data_relationships_axerve_payments.go b/api/model_post_axerve_gateways_201_response_data_relationships_axerve_payments.go index d76ffef01..68f79702a 100644 --- a/api/model_post_axerve_gateways_201_response_data_relationships_axerve_payments.go +++ b/api/model_post_axerve_gateways_201_response_data_relationships_axerve_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_axerve_gateways_201_response_data_relationships_axerve_payments_data.go b/api/model_post_axerve_gateways_201_response_data_relationships_axerve_payments_data.go index 7cae98ebc..7d1ef4a54 100644 --- a/api/model_post_axerve_gateways_201_response_data_relationships_axerve_payments_data.go +++ b/api/model_post_axerve_gateways_201_response_data_relationships_axerve_payments_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_axerve_payments_201_response.go b/api/model_post_axerve_payments_201_response.go index 90066dc18..866c03eb4 100644 --- a/api/model_post_axerve_payments_201_response.go +++ b/api/model_post_axerve_payments_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_axerve_payments_201_response_data.go b/api/model_post_axerve_payments_201_response_data.go index 60490a084..a7fc84eee 100644 --- a/api/model_post_axerve_payments_201_response_data.go +++ b/api/model_post_axerve_payments_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_axerve_payments_201_response_data_attributes.go b/api/model_post_axerve_payments_201_response_data_attributes.go index 6a2136c89..914f185fb 100644 --- a/api/model_post_axerve_payments_201_response_data_attributes.go +++ b/api/model_post_axerve_payments_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_billing_info_validation_rules_201_response.go b/api/model_post_billing_info_validation_rules_201_response.go deleted file mode 100644 index a2ea8184b..000000000 --- a/api/model_post_billing_info_validation_rules_201_response.go +++ /dev/null @@ -1,125 +0,0 @@ -/* -Commerce Layer API - -Headless Commerce for Global Brands. - -API version: 7.3.1 -Contact: support@commercelayer.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api - -import ( - "encoding/json" -) - -// checks if the POSTBillingInfoValidationRules201Response type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &POSTBillingInfoValidationRules201Response{} - -// POSTBillingInfoValidationRules201Response struct for POSTBillingInfoValidationRules201Response -type POSTBillingInfoValidationRules201Response struct { - Data *POSTBillingInfoValidationRules201ResponseData `json:"data,omitempty"` -} - -// NewPOSTBillingInfoValidationRules201Response instantiates a new POSTBillingInfoValidationRules201Response object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewPOSTBillingInfoValidationRules201Response() *POSTBillingInfoValidationRules201Response { - this := POSTBillingInfoValidationRules201Response{} - return &this -} - -// NewPOSTBillingInfoValidationRules201ResponseWithDefaults instantiates a new POSTBillingInfoValidationRules201Response object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPOSTBillingInfoValidationRules201ResponseWithDefaults() *POSTBillingInfoValidationRules201Response { - this := POSTBillingInfoValidationRules201Response{} - return &this -} - -// GetData returns the Data field value if set, zero value otherwise. -func (o *POSTBillingInfoValidationRules201Response) GetData() POSTBillingInfoValidationRules201ResponseData { - if o == nil || IsNil(o.Data) { - var ret POSTBillingInfoValidationRules201ResponseData - return ret - } - return *o.Data -} - -// GetDataOk returns a tuple with the Data field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *POSTBillingInfoValidationRules201Response) GetDataOk() (*POSTBillingInfoValidationRules201ResponseData, bool) { - if o == nil || IsNil(o.Data) { - return nil, false - } - return o.Data, true -} - -// HasData returns a boolean if a field has been set. -func (o *POSTBillingInfoValidationRules201Response) HasData() bool { - if o != nil && !IsNil(o.Data) { - return true - } - - return false -} - -// SetData gets a reference to the given POSTBillingInfoValidationRules201ResponseData and assigns it to the Data field. -func (o *POSTBillingInfoValidationRules201Response) SetData(v POSTBillingInfoValidationRules201ResponseData) { - o.Data = &v -} - -func (o POSTBillingInfoValidationRules201Response) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o POSTBillingInfoValidationRules201Response) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !IsNil(o.Data) { - toSerialize["data"] = o.Data - } - return toSerialize, nil -} - -type NullablePOSTBillingInfoValidationRules201Response struct { - value *POSTBillingInfoValidationRules201Response - isSet bool -} - -func (v NullablePOSTBillingInfoValidationRules201Response) Get() *POSTBillingInfoValidationRules201Response { - return v.value -} - -func (v *NullablePOSTBillingInfoValidationRules201Response) Set(val *POSTBillingInfoValidationRules201Response) { - v.value = val - v.isSet = true -} - -func (v NullablePOSTBillingInfoValidationRules201Response) IsSet() bool { - return v.isSet -} - -func (v *NullablePOSTBillingInfoValidationRules201Response) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePOSTBillingInfoValidationRules201Response(val *POSTBillingInfoValidationRules201Response) *NullablePOSTBillingInfoValidationRules201Response { - return &NullablePOSTBillingInfoValidationRules201Response{value: val, isSet: true} -} - -func (v NullablePOSTBillingInfoValidationRules201Response) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePOSTBillingInfoValidationRules201Response) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/api/model_post_billing_info_validation_rules_201_response_data_relationships.go b/api/model_post_billing_info_validation_rules_201_response_data_relationships.go deleted file mode 100644 index 0eacfd9fc..000000000 --- a/api/model_post_billing_info_validation_rules_201_response_data_relationships.go +++ /dev/null @@ -1,197 +0,0 @@ -/* -Commerce Layer API - -Headless Commerce for Global Brands. - -API version: 7.3.1 -Contact: support@commercelayer.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api - -import ( - "encoding/json" -) - -// checks if the POSTBillingInfoValidationRules201ResponseDataRelationships type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &POSTBillingInfoValidationRules201ResponseDataRelationships{} - -// POSTBillingInfoValidationRules201ResponseDataRelationships struct for POSTBillingInfoValidationRules201ResponseDataRelationships -type POSTBillingInfoValidationRules201ResponseDataRelationships struct { - Market *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket `json:"market,omitempty"` - Attachments *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments `json:"attachments,omitempty"` - Versions *POSTAddresses201ResponseDataRelationshipsVersions `json:"versions,omitempty"` -} - -// NewPOSTBillingInfoValidationRules201ResponseDataRelationships instantiates a new POSTBillingInfoValidationRules201ResponseDataRelationships object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewPOSTBillingInfoValidationRules201ResponseDataRelationships() *POSTBillingInfoValidationRules201ResponseDataRelationships { - this := POSTBillingInfoValidationRules201ResponseDataRelationships{} - return &this -} - -// NewPOSTBillingInfoValidationRules201ResponseDataRelationshipsWithDefaults instantiates a new POSTBillingInfoValidationRules201ResponseDataRelationships object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPOSTBillingInfoValidationRules201ResponseDataRelationshipsWithDefaults() *POSTBillingInfoValidationRules201ResponseDataRelationships { - this := POSTBillingInfoValidationRules201ResponseDataRelationships{} - return &this -} - -// GetMarket returns the Market field value if set, zero value otherwise. -func (o *POSTBillingInfoValidationRules201ResponseDataRelationships) GetMarket() POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket { - if o == nil || IsNil(o.Market) { - var ret POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket - return ret - } - return *o.Market -} - -// GetMarketOk returns a tuple with the Market field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *POSTBillingInfoValidationRules201ResponseDataRelationships) GetMarketOk() (*POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket, bool) { - if o == nil || IsNil(o.Market) { - return nil, false - } - return o.Market, true -} - -// HasMarket returns a boolean if a field has been set. -func (o *POSTBillingInfoValidationRules201ResponseDataRelationships) HasMarket() bool { - if o != nil && !IsNil(o.Market) { - return true - } - - return false -} - -// SetMarket gets a reference to the given POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket and assigns it to the Market field. -func (o *POSTBillingInfoValidationRules201ResponseDataRelationships) SetMarket(v POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) { - o.Market = &v -} - -// GetAttachments returns the Attachments field value if set, zero value otherwise. -func (o *POSTBillingInfoValidationRules201ResponseDataRelationships) GetAttachments() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments { - if o == nil || IsNil(o.Attachments) { - var ret GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments - return ret - } - return *o.Attachments -} - -// GetAttachmentsOk returns a tuple with the Attachments field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *POSTBillingInfoValidationRules201ResponseDataRelationships) GetAttachmentsOk() (*GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments, bool) { - if o == nil || IsNil(o.Attachments) { - return nil, false - } - return o.Attachments, true -} - -// HasAttachments returns a boolean if a field has been set. -func (o *POSTBillingInfoValidationRules201ResponseDataRelationships) HasAttachments() bool { - if o != nil && !IsNil(o.Attachments) { - return true - } - - return false -} - -// SetAttachments gets a reference to the given GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments and assigns it to the Attachments field. -func (o *POSTBillingInfoValidationRules201ResponseDataRelationships) SetAttachments(v GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments) { - o.Attachments = &v -} - -// GetVersions returns the Versions field value if set, zero value otherwise. -func (o *POSTBillingInfoValidationRules201ResponseDataRelationships) GetVersions() POSTAddresses201ResponseDataRelationshipsVersions { - if o == nil || IsNil(o.Versions) { - var ret POSTAddresses201ResponseDataRelationshipsVersions - return ret - } - return *o.Versions -} - -// GetVersionsOk returns a tuple with the Versions field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *POSTBillingInfoValidationRules201ResponseDataRelationships) GetVersionsOk() (*POSTAddresses201ResponseDataRelationshipsVersions, bool) { - if o == nil || IsNil(o.Versions) { - return nil, false - } - return o.Versions, true -} - -// HasVersions returns a boolean if a field has been set. -func (o *POSTBillingInfoValidationRules201ResponseDataRelationships) HasVersions() bool { - if o != nil && !IsNil(o.Versions) { - return true - } - - return false -} - -// SetVersions gets a reference to the given POSTAddresses201ResponseDataRelationshipsVersions and assigns it to the Versions field. -func (o *POSTBillingInfoValidationRules201ResponseDataRelationships) SetVersions(v POSTAddresses201ResponseDataRelationshipsVersions) { - o.Versions = &v -} - -func (o POSTBillingInfoValidationRules201ResponseDataRelationships) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o POSTBillingInfoValidationRules201ResponseDataRelationships) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !IsNil(o.Market) { - toSerialize["market"] = o.Market - } - if !IsNil(o.Attachments) { - toSerialize["attachments"] = o.Attachments - } - if !IsNil(o.Versions) { - toSerialize["versions"] = o.Versions - } - return toSerialize, nil -} - -type NullablePOSTBillingInfoValidationRules201ResponseDataRelationships struct { - value *POSTBillingInfoValidationRules201ResponseDataRelationships - isSet bool -} - -func (v NullablePOSTBillingInfoValidationRules201ResponseDataRelationships) Get() *POSTBillingInfoValidationRules201ResponseDataRelationships { - return v.value -} - -func (v *NullablePOSTBillingInfoValidationRules201ResponseDataRelationships) Set(val *POSTBillingInfoValidationRules201ResponseDataRelationships) { - v.value = val - v.isSet = true -} - -func (v NullablePOSTBillingInfoValidationRules201ResponseDataRelationships) IsSet() bool { - return v.isSet -} - -func (v *NullablePOSTBillingInfoValidationRules201ResponseDataRelationships) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePOSTBillingInfoValidationRules201ResponseDataRelationships(val *POSTBillingInfoValidationRules201ResponseDataRelationships) *NullablePOSTBillingInfoValidationRules201ResponseDataRelationships { - return &NullablePOSTBillingInfoValidationRules201ResponseDataRelationships{value: val, isSet: true} -} - -func (v NullablePOSTBillingInfoValidationRules201ResponseDataRelationships) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePOSTBillingInfoValidationRules201ResponseDataRelationships) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/api/model_post_billing_info_validation_rules_201_response_data_relationships_market.go b/api/model_post_billing_info_validation_rules_201_response_data_relationships_market.go deleted file mode 100644 index 1fb630a60..000000000 --- a/api/model_post_billing_info_validation_rules_201_response_data_relationships_market.go +++ /dev/null @@ -1,161 +0,0 @@ -/* -Commerce Layer API - -Headless Commerce for Global Brands. - -API version: 7.3.1 -Contact: support@commercelayer.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api - -import ( - "encoding/json" -) - -// checks if the POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket{} - -// POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket struct for POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket -type POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket struct { - Links *POSTAddresses201ResponseDataRelationshipsGeocoderLinks `json:"links,omitempty"` - Data *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData `json:"data,omitempty"` -} - -// NewPOSTBillingInfoValidationRules201ResponseDataRelationshipsMarket instantiates a new POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewPOSTBillingInfoValidationRules201ResponseDataRelationshipsMarket() *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket { - this := POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket{} - return &this -} - -// NewPOSTBillingInfoValidationRules201ResponseDataRelationshipsMarketWithDefaults instantiates a new POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPOSTBillingInfoValidationRules201ResponseDataRelationshipsMarketWithDefaults() *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket { - this := POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket{} - return &this -} - -// GetLinks returns the Links field value if set, zero value otherwise. -func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) GetLinks() POSTAddresses201ResponseDataRelationshipsGeocoderLinks { - if o == nil || IsNil(o.Links) { - var ret POSTAddresses201ResponseDataRelationshipsGeocoderLinks - return ret - } - return *o.Links -} - -// GetLinksOk returns a tuple with the Links field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) GetLinksOk() (*POSTAddresses201ResponseDataRelationshipsGeocoderLinks, bool) { - if o == nil || IsNil(o.Links) { - return nil, false - } - return o.Links, true -} - -// HasLinks returns a boolean if a field has been set. -func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) HasLinks() bool { - if o != nil && !IsNil(o.Links) { - return true - } - - return false -} - -// SetLinks gets a reference to the given POSTAddresses201ResponseDataRelationshipsGeocoderLinks and assigns it to the Links field. -func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) SetLinks(v POSTAddresses201ResponseDataRelationshipsGeocoderLinks) { - o.Links = &v -} - -// GetData returns the Data field value if set, zero value otherwise. -func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) GetData() POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData { - if o == nil || IsNil(o.Data) { - var ret POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData - return ret - } - return *o.Data -} - -// GetDataOk returns a tuple with the Data field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) GetDataOk() (*POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData, bool) { - if o == nil || IsNil(o.Data) { - return nil, false - } - return o.Data, true -} - -// HasData returns a boolean if a field has been set. -func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) HasData() bool { - if o != nil && !IsNil(o.Data) { - return true - } - - return false -} - -// SetData gets a reference to the given POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData and assigns it to the Data field. -func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) SetData(v POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) { - o.Data = &v -} - -func (o POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !IsNil(o.Links) { - toSerialize["links"] = o.Links - } - if !IsNil(o.Data) { - toSerialize["data"] = o.Data - } - return toSerialize, nil -} - -type NullablePOSTBillingInfoValidationRules201ResponseDataRelationshipsMarket struct { - value *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket - isSet bool -} - -func (v NullablePOSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) Get() *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket { - return v.value -} - -func (v *NullablePOSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) Set(val *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) { - v.value = val - v.isSet = true -} - -func (v NullablePOSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) IsSet() bool { - return v.isSet -} - -func (v *NullablePOSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePOSTBillingInfoValidationRules201ResponseDataRelationshipsMarket(val *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) *NullablePOSTBillingInfoValidationRules201ResponseDataRelationshipsMarket { - return &NullablePOSTBillingInfoValidationRules201ResponseDataRelationshipsMarket{value: val, isSet: true} -} - -func (v NullablePOSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePOSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/api/model_post_billing_info_validation_rules_201_response_data_relationships_market_data.go b/api/model_post_billing_info_validation_rules_201_response_data_relationships_market_data.go deleted file mode 100644 index db79adb56..000000000 --- a/api/model_post_billing_info_validation_rules_201_response_data_relationships_market_data.go +++ /dev/null @@ -1,165 +0,0 @@ -/* -Commerce Layer API - -Headless Commerce for Global Brands. - -API version: 7.3.1 -Contact: support@commercelayer.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api - -import ( - "encoding/json" -) - -// checks if the POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData{} - -// POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData struct for POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData -type POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData struct { - // The resource's type - Type interface{} `json:"type,omitempty"` - // The resource ID - Id interface{} `json:"id,omitempty"` -} - -// NewPOSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData instantiates a new POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewPOSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData() *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData { - this := POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData{} - return &this -} - -// NewPOSTBillingInfoValidationRules201ResponseDataRelationshipsMarketDataWithDefaults instantiates a new POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPOSTBillingInfoValidationRules201ResponseDataRelationshipsMarketDataWithDefaults() *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData { - this := POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData{} - return &this -} - -// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) GetType() interface{} { - if o == nil { - var ret interface{} - return ret - } - return o.Type -} - -// GetTypeOk returns a tuple with the Type field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) GetTypeOk() (*interface{}, bool) { - if o == nil || IsNil(o.Type) { - return nil, false - } - return &o.Type, true -} - -// HasType returns a boolean if a field has been set. -func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) HasType() bool { - if o != nil && IsNil(o.Type) { - return true - } - - return false -} - -// SetType gets a reference to the given interface{} and assigns it to the Type field. -func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) SetType(v interface{}) { - o.Type = v -} - -// GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) GetId() interface{} { - if o == nil { - var ret interface{} - return ret - } - return o.Id -} - -// GetIdOk returns a tuple with the Id field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) GetIdOk() (*interface{}, bool) { - if o == nil || IsNil(o.Id) { - return nil, false - } - return &o.Id, true -} - -// HasId returns a boolean if a field has been set. -func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) HasId() bool { - if o != nil && IsNil(o.Id) { - return true - } - - return false -} - -// SetId gets a reference to the given interface{} and assigns it to the Id field. -func (o *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) SetId(v interface{}) { - o.Id = v -} - -func (o POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if o.Type != nil { - toSerialize["type"] = o.Type - } - if o.Id != nil { - toSerialize["id"] = o.Id - } - return toSerialize, nil -} - -type NullablePOSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData struct { - value *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData - isSet bool -} - -func (v NullablePOSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) Get() *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData { - return v.value -} - -func (v *NullablePOSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) Set(val *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) { - v.value = val - v.isSet = true -} - -func (v NullablePOSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) IsSet() bool { - return v.isSet -} - -func (v *NullablePOSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePOSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData(val *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) *NullablePOSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData { - return &NullablePOSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData{value: val, isSet: true} -} - -func (v NullablePOSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePOSTBillingInfoValidationRules201ResponseDataRelationshipsMarketData) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/api/model_post_bing_geocoders_201_response.go b/api/model_post_bing_geocoders_201_response.go index 7f686bfe3..275d410b8 100644 --- a/api/model_post_bing_geocoders_201_response.go +++ b/api/model_post_bing_geocoders_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_bing_geocoders_201_response_data.go b/api/model_post_bing_geocoders_201_response_data.go index 73357f09b..ad76b0670 100644 --- a/api/model_post_bing_geocoders_201_response_data.go +++ b/api/model_post_bing_geocoders_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_bing_geocoders_201_response_data_attributes.go b/api/model_post_bing_geocoders_201_response_data_attributes.go index 9d513e782..4ca6d61e3 100644 --- a/api/model_post_bing_geocoders_201_response_data_attributes.go +++ b/api/model_post_bing_geocoders_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_bing_geocoders_201_response_data_relationships.go b/api/model_post_bing_geocoders_201_response_data_relationships.go index 696773965..cbd96870d 100644 --- a/api/model_post_bing_geocoders_201_response_data_relationships.go +++ b/api/model_post_bing_geocoders_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_bing_geocoders_201_response_data_relationships_addresses.go b/api/model_post_bing_geocoders_201_response_data_relationships_addresses.go index af7bde102..8e99bf541 100644 --- a/api/model_post_bing_geocoders_201_response_data_relationships_addresses.go +++ b/api/model_post_bing_geocoders_201_response_data_relationships_addresses.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_bing_geocoders_201_response_data_relationships_addresses_data.go b/api/model_post_bing_geocoders_201_response_data_relationships_addresses_data.go index 38593e8d3..af789cf2f 100644 --- a/api/model_post_bing_geocoders_201_response_data_relationships_addresses_data.go +++ b/api/model_post_bing_geocoders_201_response_data_relationships_addresses_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_braintree_gateways_201_response.go b/api/model_post_braintree_gateways_201_response.go index 4a1199a17..ebad689c0 100644 --- a/api/model_post_braintree_gateways_201_response.go +++ b/api/model_post_braintree_gateways_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_braintree_gateways_201_response_data.go b/api/model_post_braintree_gateways_201_response_data.go index f642c37b8..d28dc7468 100644 --- a/api/model_post_braintree_gateways_201_response_data.go +++ b/api/model_post_braintree_gateways_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_braintree_gateways_201_response_data_attributes.go b/api/model_post_braintree_gateways_201_response_data_attributes.go index df4f2d88f..c97435fe8 100644 --- a/api/model_post_braintree_gateways_201_response_data_attributes.go +++ b/api/model_post_braintree_gateways_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_braintree_gateways_201_response_data_relationships.go b/api/model_post_braintree_gateways_201_response_data_relationships.go index c1ddfc98b..9fd52fb3a 100644 --- a/api/model_post_braintree_gateways_201_response_data_relationships.go +++ b/api/model_post_braintree_gateways_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_braintree_gateways_201_response_data_relationships_braintree_payments.go b/api/model_post_braintree_gateways_201_response_data_relationships_braintree_payments.go index 4c269e71e..9421c490b 100644 --- a/api/model_post_braintree_gateways_201_response_data_relationships_braintree_payments.go +++ b/api/model_post_braintree_gateways_201_response_data_relationships_braintree_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_braintree_gateways_201_response_data_relationships_braintree_payments_data.go b/api/model_post_braintree_gateways_201_response_data_relationships_braintree_payments_data.go index e8a7495e1..11dbbec1e 100644 --- a/api/model_post_braintree_gateways_201_response_data_relationships_braintree_payments_data.go +++ b/api/model_post_braintree_gateways_201_response_data_relationships_braintree_payments_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_braintree_payments_201_response.go b/api/model_post_braintree_payments_201_response.go index 997add1ff..eb9ac7075 100644 --- a/api/model_post_braintree_payments_201_response.go +++ b/api/model_post_braintree_payments_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_braintree_payments_201_response_data.go b/api/model_post_braintree_payments_201_response_data.go index 8f67dc51f..2ce3d9b99 100644 --- a/api/model_post_braintree_payments_201_response_data.go +++ b/api/model_post_braintree_payments_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_braintree_payments_201_response_data_attributes.go b/api/model_post_braintree_payments_201_response_data_attributes.go index aa093ae75..2d5189f85 100644 --- a/api/model_post_braintree_payments_201_response_data_attributes.go +++ b/api/model_post_braintree_payments_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_bundles_201_response.go b/api/model_post_bundles_201_response.go index 2b81f6801..248449e26 100644 --- a/api/model_post_bundles_201_response.go +++ b/api/model_post_bundles_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_bundles_201_response_data.go b/api/model_post_bundles_201_response_data.go index 401e427e6..34d1cbe9e 100644 --- a/api/model_post_bundles_201_response_data.go +++ b/api/model_post_bundles_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_bundles_201_response_data_attributes.go b/api/model_post_bundles_201_response_data_attributes.go index 07e059a00..8d9fe05c7 100644 --- a/api/model_post_bundles_201_response_data_attributes.go +++ b/api/model_post_bundles_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_bundles_201_response_data_relationships.go b/api/model_post_bundles_201_response_data_relationships.go index bbd0834df..19974fab8 100644 --- a/api/model_post_bundles_201_response_data_relationships.go +++ b/api/model_post_bundles_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,7 +20,7 @@ var _ MappedNullable = &POSTBundles201ResponseDataRelationships{} // POSTBundles201ResponseDataRelationships struct for POSTBundles201ResponseDataRelationships type POSTBundles201ResponseDataRelationships struct { - Market *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket `json:"market,omitempty"` + Market *POSTBundles201ResponseDataRelationshipsMarket `json:"market,omitempty"` SkuList *POSTBundles201ResponseDataRelationshipsSkuList `json:"sku_list,omitempty"` Skus *POSTBundles201ResponseDataRelationshipsSkus `json:"skus,omitempty"` Attachments *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments `json:"attachments,omitempty"` @@ -47,9 +47,9 @@ func NewPOSTBundles201ResponseDataRelationshipsWithDefaults() *POSTBundles201Res } // GetMarket returns the Market field value if set, zero value otherwise. -func (o *POSTBundles201ResponseDataRelationships) GetMarket() POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket { +func (o *POSTBundles201ResponseDataRelationships) GetMarket() POSTBundles201ResponseDataRelationshipsMarket { if o == nil || IsNil(o.Market) { - var ret POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket + var ret POSTBundles201ResponseDataRelationshipsMarket return ret } return *o.Market @@ -57,7 +57,7 @@ func (o *POSTBundles201ResponseDataRelationships) GetMarket() POSTBillingInfoVal // GetMarketOk returns a tuple with the Market field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *POSTBundles201ResponseDataRelationships) GetMarketOk() (*POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket, bool) { +func (o *POSTBundles201ResponseDataRelationships) GetMarketOk() (*POSTBundles201ResponseDataRelationshipsMarket, bool) { if o == nil || IsNil(o.Market) { return nil, false } @@ -73,8 +73,8 @@ func (o *POSTBundles201ResponseDataRelationships) HasMarket() bool { return false } -// SetMarket gets a reference to the given POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket and assigns it to the Market field. -func (o *POSTBundles201ResponseDataRelationships) SetMarket(v POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) { +// SetMarket gets a reference to the given POSTBundles201ResponseDataRelationshipsMarket and assigns it to the Market field. +func (o *POSTBundles201ResponseDataRelationships) SetMarket(v POSTBundles201ResponseDataRelationshipsMarket) { o.Market = &v } diff --git a/api/model_post_bundles_201_response_data_relationships_market.go b/api/model_post_bundles_201_response_data_relationships_market.go new file mode 100644 index 000000000..a838a1364 --- /dev/null +++ b/api/model_post_bundles_201_response_data_relationships_market.go @@ -0,0 +1,161 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the POSTBundles201ResponseDataRelationshipsMarket type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &POSTBundles201ResponseDataRelationshipsMarket{} + +// POSTBundles201ResponseDataRelationshipsMarket struct for POSTBundles201ResponseDataRelationshipsMarket +type POSTBundles201ResponseDataRelationshipsMarket struct { + Links *POSTAddresses201ResponseDataRelationshipsGeocoderLinks `json:"links,omitempty"` + Data *POSTBundles201ResponseDataRelationshipsMarketData `json:"data,omitempty"` +} + +// NewPOSTBundles201ResponseDataRelationshipsMarket instantiates a new POSTBundles201ResponseDataRelationshipsMarket object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPOSTBundles201ResponseDataRelationshipsMarket() *POSTBundles201ResponseDataRelationshipsMarket { + this := POSTBundles201ResponseDataRelationshipsMarket{} + return &this +} + +// NewPOSTBundles201ResponseDataRelationshipsMarketWithDefaults instantiates a new POSTBundles201ResponseDataRelationshipsMarket object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPOSTBundles201ResponseDataRelationshipsMarketWithDefaults() *POSTBundles201ResponseDataRelationshipsMarket { + this := POSTBundles201ResponseDataRelationshipsMarket{} + return &this +} + +// GetLinks returns the Links field value if set, zero value otherwise. +func (o *POSTBundles201ResponseDataRelationshipsMarket) GetLinks() POSTAddresses201ResponseDataRelationshipsGeocoderLinks { + if o == nil || IsNil(o.Links) { + var ret POSTAddresses201ResponseDataRelationshipsGeocoderLinks + return ret + } + return *o.Links +} + +// GetLinksOk returns a tuple with the Links field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTBundles201ResponseDataRelationshipsMarket) GetLinksOk() (*POSTAddresses201ResponseDataRelationshipsGeocoderLinks, bool) { + if o == nil || IsNil(o.Links) { + return nil, false + } + return o.Links, true +} + +// HasLinks returns a boolean if a field has been set. +func (o *POSTBundles201ResponseDataRelationshipsMarket) HasLinks() bool { + if o != nil && !IsNil(o.Links) { + return true + } + + return false +} + +// SetLinks gets a reference to the given POSTAddresses201ResponseDataRelationshipsGeocoderLinks and assigns it to the Links field. +func (o *POSTBundles201ResponseDataRelationshipsMarket) SetLinks(v POSTAddresses201ResponseDataRelationshipsGeocoderLinks) { + o.Links = &v +} + +// GetData returns the Data field value if set, zero value otherwise. +func (o *POSTBundles201ResponseDataRelationshipsMarket) GetData() POSTBundles201ResponseDataRelationshipsMarketData { + if o == nil || IsNil(o.Data) { + var ret POSTBundles201ResponseDataRelationshipsMarketData + return ret + } + return *o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTBundles201ResponseDataRelationshipsMarket) GetDataOk() (*POSTBundles201ResponseDataRelationshipsMarketData, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *POSTBundles201ResponseDataRelationshipsMarket) HasData() bool { + if o != nil && !IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given POSTBundles201ResponseDataRelationshipsMarketData and assigns it to the Data field. +func (o *POSTBundles201ResponseDataRelationshipsMarket) SetData(v POSTBundles201ResponseDataRelationshipsMarketData) { + o.Data = &v +} + +func (o POSTBundles201ResponseDataRelationshipsMarket) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o POSTBundles201ResponseDataRelationshipsMarket) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Links) { + toSerialize["links"] = o.Links + } + if !IsNil(o.Data) { + toSerialize["data"] = o.Data + } + return toSerialize, nil +} + +type NullablePOSTBundles201ResponseDataRelationshipsMarket struct { + value *POSTBundles201ResponseDataRelationshipsMarket + isSet bool +} + +func (v NullablePOSTBundles201ResponseDataRelationshipsMarket) Get() *POSTBundles201ResponseDataRelationshipsMarket { + return v.value +} + +func (v *NullablePOSTBundles201ResponseDataRelationshipsMarket) Set(val *POSTBundles201ResponseDataRelationshipsMarket) { + v.value = val + v.isSet = true +} + +func (v NullablePOSTBundles201ResponseDataRelationshipsMarket) IsSet() bool { + return v.isSet +} + +func (v *NullablePOSTBundles201ResponseDataRelationshipsMarket) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePOSTBundles201ResponseDataRelationshipsMarket(val *POSTBundles201ResponseDataRelationshipsMarket) *NullablePOSTBundles201ResponseDataRelationshipsMarket { + return &NullablePOSTBundles201ResponseDataRelationshipsMarket{value: val, isSet: true} +} + +func (v NullablePOSTBundles201ResponseDataRelationshipsMarket) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePOSTBundles201ResponseDataRelationshipsMarket) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_post_bundles_201_response_data_relationships_market_data.go b/api/model_post_bundles_201_response_data_relationships_market_data.go new file mode 100644 index 000000000..561f54f12 --- /dev/null +++ b/api/model_post_bundles_201_response_data_relationships_market_data.go @@ -0,0 +1,165 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the POSTBundles201ResponseDataRelationshipsMarketData type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &POSTBundles201ResponseDataRelationshipsMarketData{} + +// POSTBundles201ResponseDataRelationshipsMarketData struct for POSTBundles201ResponseDataRelationshipsMarketData +type POSTBundles201ResponseDataRelationshipsMarketData struct { + // The resource's type + Type interface{} `json:"type,omitempty"` + // The resource ID + Id interface{} `json:"id,omitempty"` +} + +// NewPOSTBundles201ResponseDataRelationshipsMarketData instantiates a new POSTBundles201ResponseDataRelationshipsMarketData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPOSTBundles201ResponseDataRelationshipsMarketData() *POSTBundles201ResponseDataRelationshipsMarketData { + this := POSTBundles201ResponseDataRelationshipsMarketData{} + return &this +} + +// NewPOSTBundles201ResponseDataRelationshipsMarketDataWithDefaults instantiates a new POSTBundles201ResponseDataRelationshipsMarketData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPOSTBundles201ResponseDataRelationshipsMarketDataWithDefaults() *POSTBundles201ResponseDataRelationshipsMarketData { + this := POSTBundles201ResponseDataRelationshipsMarketData{} + return &this +} + +// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTBundles201ResponseDataRelationshipsMarketData) GetType() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *POSTBundles201ResponseDataRelationshipsMarketData) GetTypeOk() (*interface{}, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return &o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *POSTBundles201ResponseDataRelationshipsMarketData) HasType() bool { + if o != nil && IsNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given interface{} and assigns it to the Type field. +func (o *POSTBundles201ResponseDataRelationshipsMarketData) SetType(v interface{}) { + o.Type = v +} + +// GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTBundles201ResponseDataRelationshipsMarketData) GetId() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *POSTBundles201ResponseDataRelationshipsMarketData) GetIdOk() (*interface{}, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return &o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *POSTBundles201ResponseDataRelationshipsMarketData) HasId() bool { + if o != nil && IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given interface{} and assigns it to the Id field. +func (o *POSTBundles201ResponseDataRelationshipsMarketData) SetId(v interface{}) { + o.Id = v +} + +func (o POSTBundles201ResponseDataRelationshipsMarketData) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o POSTBundles201ResponseDataRelationshipsMarketData) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Type != nil { + toSerialize["type"] = o.Type + } + if o.Id != nil { + toSerialize["id"] = o.Id + } + return toSerialize, nil +} + +type NullablePOSTBundles201ResponseDataRelationshipsMarketData struct { + value *POSTBundles201ResponseDataRelationshipsMarketData + isSet bool +} + +func (v NullablePOSTBundles201ResponseDataRelationshipsMarketData) Get() *POSTBundles201ResponseDataRelationshipsMarketData { + return v.value +} + +func (v *NullablePOSTBundles201ResponseDataRelationshipsMarketData) Set(val *POSTBundles201ResponseDataRelationshipsMarketData) { + v.value = val + v.isSet = true +} + +func (v NullablePOSTBundles201ResponseDataRelationshipsMarketData) IsSet() bool { + return v.isSet +} + +func (v *NullablePOSTBundles201ResponseDataRelationshipsMarketData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePOSTBundles201ResponseDataRelationshipsMarketData(val *POSTBundles201ResponseDataRelationshipsMarketData) *NullablePOSTBundles201ResponseDataRelationshipsMarketData { + return &NullablePOSTBundles201ResponseDataRelationshipsMarketData{value: val, isSet: true} +} + +func (v NullablePOSTBundles201ResponseDataRelationshipsMarketData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePOSTBundles201ResponseDataRelationshipsMarketData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_post_bundles_201_response_data_relationships_sku_list.go b/api/model_post_bundles_201_response_data_relationships_sku_list.go index 20d313451..7e589582a 100644 --- a/api/model_post_bundles_201_response_data_relationships_sku_list.go +++ b/api/model_post_bundles_201_response_data_relationships_sku_list.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_bundles_201_response_data_relationships_sku_list_data.go b/api/model_post_bundles_201_response_data_relationships_sku_list_data.go index 282c71d74..02ae8bd7a 100644 --- a/api/model_post_bundles_201_response_data_relationships_sku_list_data.go +++ b/api/model_post_bundles_201_response_data_relationships_sku_list_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_bundles_201_response_data_relationships_skus.go b/api/model_post_bundles_201_response_data_relationships_skus.go index 5fbfe7a9f..afb92491d 100644 --- a/api/model_post_bundles_201_response_data_relationships_skus.go +++ b/api/model_post_bundles_201_response_data_relationships_skus.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_bundles_201_response_data_relationships_skus_data.go b/api/model_post_bundles_201_response_data_relationships_skus_data.go index 58eaa7a74..2c3a5fbdf 100644 --- a/api/model_post_bundles_201_response_data_relationships_skus_data.go +++ b/api/model_post_bundles_201_response_data_relationships_skus_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_buy_x_pay_y_promotions_201_response.go b/api/model_post_buy_x_pay_y_promotions_201_response.go index 5aaa69c27..c3f3d015d 100644 --- a/api/model_post_buy_x_pay_y_promotions_201_response.go +++ b/api/model_post_buy_x_pay_y_promotions_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_buy_x_pay_y_promotions_201_response_data.go b/api/model_post_buy_x_pay_y_promotions_201_response_data.go index 960760ea1..2bc05a3fd 100644 --- a/api/model_post_buy_x_pay_y_promotions_201_response_data.go +++ b/api/model_post_buy_x_pay_y_promotions_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_buy_x_pay_y_promotions_201_response_data_attributes.go b/api/model_post_buy_x_pay_y_promotions_201_response_data_attributes.go index 51d7ee21b..16717d5b3 100644 --- a/api/model_post_buy_x_pay_y_promotions_201_response_data_attributes.go +++ b/api/model_post_buy_x_pay_y_promotions_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships.go b/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships.go index b1fbb7b2c..9a8755052 100644 --- a/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships.go +++ b/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,7 +20,7 @@ var _ MappedNullable = &POSTBuyXPayYPromotions201ResponseDataRelationships{} // POSTBuyXPayYPromotions201ResponseDataRelationships struct for POSTBuyXPayYPromotions201ResponseDataRelationships type POSTBuyXPayYPromotions201ResponseDataRelationships struct { - Market *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket `json:"market,omitempty"` + Market *POSTBundles201ResponseDataRelationshipsMarket `json:"market,omitempty"` PromotionRules *POSTBuyXPayYPromotions201ResponseDataRelationshipsPromotionRules `json:"promotion_rules,omitempty"` OrderAmountPromotionRule *POSTBuyXPayYPromotions201ResponseDataRelationshipsOrderAmountPromotionRule `json:"order_amount_promotion_rule,omitempty"` SkuListPromotionRule *POSTBuyXPayYPromotions201ResponseDataRelationshipsSkuListPromotionRule `json:"sku_list_promotion_rule,omitempty"` @@ -53,9 +53,9 @@ func NewPOSTBuyXPayYPromotions201ResponseDataRelationshipsWithDefaults() *POSTBu } // GetMarket returns the Market field value if set, zero value otherwise. -func (o *POSTBuyXPayYPromotions201ResponseDataRelationships) GetMarket() POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket { +func (o *POSTBuyXPayYPromotions201ResponseDataRelationships) GetMarket() POSTBundles201ResponseDataRelationshipsMarket { if o == nil || IsNil(o.Market) { - var ret POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket + var ret POSTBundles201ResponseDataRelationshipsMarket return ret } return *o.Market @@ -63,7 +63,7 @@ func (o *POSTBuyXPayYPromotions201ResponseDataRelationships) GetMarket() POSTBil // GetMarketOk returns a tuple with the Market field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *POSTBuyXPayYPromotions201ResponseDataRelationships) GetMarketOk() (*POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket, bool) { +func (o *POSTBuyXPayYPromotions201ResponseDataRelationships) GetMarketOk() (*POSTBundles201ResponseDataRelationshipsMarket, bool) { if o == nil || IsNil(o.Market) { return nil, false } @@ -79,8 +79,8 @@ func (o *POSTBuyXPayYPromotions201ResponseDataRelationships) HasMarket() bool { return false } -// SetMarket gets a reference to the given POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket and assigns it to the Market field. -func (o *POSTBuyXPayYPromotions201ResponseDataRelationships) SetMarket(v POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) { +// SetMarket gets a reference to the given POSTBundles201ResponseDataRelationshipsMarket and assigns it to the Market field. +func (o *POSTBuyXPayYPromotions201ResponseDataRelationships) SetMarket(v POSTBundles201ResponseDataRelationshipsMarket) { o.Market = &v } diff --git a/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_coupon_codes_promotion_rule.go b/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_coupon_codes_promotion_rule.go index 8057485f8..a4d4531ac 100644 --- a/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_coupon_codes_promotion_rule.go +++ b/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_coupon_codes_promotion_rule.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_coupon_codes_promotion_rule_data.go b/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_coupon_codes_promotion_rule_data.go index 95c912a2c..d9c961487 100644 --- a/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_coupon_codes_promotion_rule_data.go +++ b/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_coupon_codes_promotion_rule_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_coupons.go b/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_coupons.go index 47bdf7ac9..e8ae6cac5 100644 --- a/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_coupons.go +++ b/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_coupons.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_coupons_data.go b/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_coupons_data.go index 552640ff6..2cc7823ef 100644 --- a/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_coupons_data.go +++ b/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_coupons_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_custom_promotion_rule.go b/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_custom_promotion_rule.go index 44313e710..e5868aa57 100644 --- a/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_custom_promotion_rule.go +++ b/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_custom_promotion_rule.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_custom_promotion_rule_data.go b/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_custom_promotion_rule_data.go index a5f0011e9..2a940e7bf 100644 --- a/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_custom_promotion_rule_data.go +++ b/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_custom_promotion_rule_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_order_amount_promotion_rule.go b/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_order_amount_promotion_rule.go index 45e10e2b0..e4b0c9be4 100644 --- a/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_order_amount_promotion_rule.go +++ b/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_order_amount_promotion_rule.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_order_amount_promotion_rule_data.go b/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_order_amount_promotion_rule_data.go index 67319579a..3076552fc 100644 --- a/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_order_amount_promotion_rule_data.go +++ b/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_order_amount_promotion_rule_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_promotion_rules.go b/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_promotion_rules.go index 417ff38cc..78641ad69 100644 --- a/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_promotion_rules.go +++ b/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_promotion_rules.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_promotion_rules_data.go b/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_promotion_rules_data.go index a2883c306..742cf107d 100644 --- a/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_promotion_rules_data.go +++ b/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_promotion_rules_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_sku_list_promotion_rule.go b/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_sku_list_promotion_rule.go index 9c1854457..d7b127ccd 100644 --- a/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_sku_list_promotion_rule.go +++ b/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_sku_list_promotion_rule.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_sku_list_promotion_rule_data.go b/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_sku_list_promotion_rule_data.go index 115732377..0538ff694 100644 --- a/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_sku_list_promotion_rule_data.go +++ b/api/model_post_buy_x_pay_y_promotions_201_response_data_relationships_sku_list_promotion_rule_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_carrier_accounts_201_response.go b/api/model_post_carrier_accounts_201_response.go index c8957751e..a4f41d41b 100644 --- a/api/model_post_carrier_accounts_201_response.go +++ b/api/model_post_carrier_accounts_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_carrier_accounts_201_response_data.go b/api/model_post_carrier_accounts_201_response_data.go index d893aa76a..d487c89a5 100644 --- a/api/model_post_carrier_accounts_201_response_data.go +++ b/api/model_post_carrier_accounts_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -23,10 +23,10 @@ type POSTCarrierAccounts201ResponseData struct { // The resource's id Id interface{} `json:"id,omitempty"` // The resource's type - Type interface{} `json:"type,omitempty"` - Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` - Attributes *POSTCarrierAccounts201ResponseDataAttributes `json:"attributes,omitempty"` - Relationships *POSTBillingInfoValidationRules201ResponseDataRelationships `json:"relationships,omitempty"` + Type interface{} `json:"type,omitempty"` + Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` + Attributes *POSTCarrierAccounts201ResponseDataAttributes `json:"attributes,omitempty"` + Relationships *POSTCarrierAccounts201ResponseDataRelationships `json:"relationships,omitempty"` } // NewPOSTCarrierAccounts201ResponseData instantiates a new POSTCarrierAccounts201ResponseData object @@ -177,9 +177,9 @@ func (o *POSTCarrierAccounts201ResponseData) SetAttributes(v POSTCarrierAccounts } // GetRelationships returns the Relationships field value if set, zero value otherwise. -func (o *POSTCarrierAccounts201ResponseData) GetRelationships() POSTBillingInfoValidationRules201ResponseDataRelationships { +func (o *POSTCarrierAccounts201ResponseData) GetRelationships() POSTCarrierAccounts201ResponseDataRelationships { if o == nil || IsNil(o.Relationships) { - var ret POSTBillingInfoValidationRules201ResponseDataRelationships + var ret POSTCarrierAccounts201ResponseDataRelationships return ret } return *o.Relationships @@ -187,7 +187,7 @@ func (o *POSTCarrierAccounts201ResponseData) GetRelationships() POSTBillingInfoV // GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *POSTCarrierAccounts201ResponseData) GetRelationshipsOk() (*POSTBillingInfoValidationRules201ResponseDataRelationships, bool) { +func (o *POSTCarrierAccounts201ResponseData) GetRelationshipsOk() (*POSTCarrierAccounts201ResponseDataRelationships, bool) { if o == nil || IsNil(o.Relationships) { return nil, false } @@ -203,8 +203,8 @@ func (o *POSTCarrierAccounts201ResponseData) HasRelationships() bool { return false } -// SetRelationships gets a reference to the given POSTBillingInfoValidationRules201ResponseDataRelationships and assigns it to the Relationships field. -func (o *POSTCarrierAccounts201ResponseData) SetRelationships(v POSTBillingInfoValidationRules201ResponseDataRelationships) { +// SetRelationships gets a reference to the given POSTCarrierAccounts201ResponseDataRelationships and assigns it to the Relationships field. +func (o *POSTCarrierAccounts201ResponseData) SetRelationships(v POSTCarrierAccounts201ResponseDataRelationships) { o.Relationships = &v } diff --git a/api/model_post_carrier_accounts_201_response_data_attributes.go b/api/model_post_carrier_accounts_201_response_data_attributes.go index 8d9cfa0fb..0ededc208 100644 --- a/api/model_post_carrier_accounts_201_response_data_attributes.go +++ b/api/model_post_carrier_accounts_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_carrier_accounts_201_response_data_relationships.go b/api/model_post_carrier_accounts_201_response_data_relationships.go new file mode 100644 index 000000000..6aab8bee0 --- /dev/null +++ b/api/model_post_carrier_accounts_201_response_data_relationships.go @@ -0,0 +1,197 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the POSTCarrierAccounts201ResponseDataRelationships type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &POSTCarrierAccounts201ResponseDataRelationships{} + +// POSTCarrierAccounts201ResponseDataRelationships struct for POSTCarrierAccounts201ResponseDataRelationships +type POSTCarrierAccounts201ResponseDataRelationships struct { + Market *POSTBundles201ResponseDataRelationshipsMarket `json:"market,omitempty"` + Attachments *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments `json:"attachments,omitempty"` + Versions *POSTAddresses201ResponseDataRelationshipsVersions `json:"versions,omitempty"` +} + +// NewPOSTCarrierAccounts201ResponseDataRelationships instantiates a new POSTCarrierAccounts201ResponseDataRelationships object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPOSTCarrierAccounts201ResponseDataRelationships() *POSTCarrierAccounts201ResponseDataRelationships { + this := POSTCarrierAccounts201ResponseDataRelationships{} + return &this +} + +// NewPOSTCarrierAccounts201ResponseDataRelationshipsWithDefaults instantiates a new POSTCarrierAccounts201ResponseDataRelationships object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPOSTCarrierAccounts201ResponseDataRelationshipsWithDefaults() *POSTCarrierAccounts201ResponseDataRelationships { + this := POSTCarrierAccounts201ResponseDataRelationships{} + return &this +} + +// GetMarket returns the Market field value if set, zero value otherwise. +func (o *POSTCarrierAccounts201ResponseDataRelationships) GetMarket() POSTBundles201ResponseDataRelationshipsMarket { + if o == nil || IsNil(o.Market) { + var ret POSTBundles201ResponseDataRelationshipsMarket + return ret + } + return *o.Market +} + +// GetMarketOk returns a tuple with the Market field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTCarrierAccounts201ResponseDataRelationships) GetMarketOk() (*POSTBundles201ResponseDataRelationshipsMarket, bool) { + if o == nil || IsNil(o.Market) { + return nil, false + } + return o.Market, true +} + +// HasMarket returns a boolean if a field has been set. +func (o *POSTCarrierAccounts201ResponseDataRelationships) HasMarket() bool { + if o != nil && !IsNil(o.Market) { + return true + } + + return false +} + +// SetMarket gets a reference to the given POSTBundles201ResponseDataRelationshipsMarket and assigns it to the Market field. +func (o *POSTCarrierAccounts201ResponseDataRelationships) SetMarket(v POSTBundles201ResponseDataRelationshipsMarket) { + o.Market = &v +} + +// GetAttachments returns the Attachments field value if set, zero value otherwise. +func (o *POSTCarrierAccounts201ResponseDataRelationships) GetAttachments() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments { + if o == nil || IsNil(o.Attachments) { + var ret GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments + return ret + } + return *o.Attachments +} + +// GetAttachmentsOk returns a tuple with the Attachments field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTCarrierAccounts201ResponseDataRelationships) GetAttachmentsOk() (*GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments, bool) { + if o == nil || IsNil(o.Attachments) { + return nil, false + } + return o.Attachments, true +} + +// HasAttachments returns a boolean if a field has been set. +func (o *POSTCarrierAccounts201ResponseDataRelationships) HasAttachments() bool { + if o != nil && !IsNil(o.Attachments) { + return true + } + + return false +} + +// SetAttachments gets a reference to the given GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments and assigns it to the Attachments field. +func (o *POSTCarrierAccounts201ResponseDataRelationships) SetAttachments(v GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments) { + o.Attachments = &v +} + +// GetVersions returns the Versions field value if set, zero value otherwise. +func (o *POSTCarrierAccounts201ResponseDataRelationships) GetVersions() POSTAddresses201ResponseDataRelationshipsVersions { + if o == nil || IsNil(o.Versions) { + var ret POSTAddresses201ResponseDataRelationshipsVersions + return ret + } + return *o.Versions +} + +// GetVersionsOk returns a tuple with the Versions field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTCarrierAccounts201ResponseDataRelationships) GetVersionsOk() (*POSTAddresses201ResponseDataRelationshipsVersions, bool) { + if o == nil || IsNil(o.Versions) { + return nil, false + } + return o.Versions, true +} + +// HasVersions returns a boolean if a field has been set. +func (o *POSTCarrierAccounts201ResponseDataRelationships) HasVersions() bool { + if o != nil && !IsNil(o.Versions) { + return true + } + + return false +} + +// SetVersions gets a reference to the given POSTAddresses201ResponseDataRelationshipsVersions and assigns it to the Versions field. +func (o *POSTCarrierAccounts201ResponseDataRelationships) SetVersions(v POSTAddresses201ResponseDataRelationshipsVersions) { + o.Versions = &v +} + +func (o POSTCarrierAccounts201ResponseDataRelationships) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o POSTCarrierAccounts201ResponseDataRelationships) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Market) { + toSerialize["market"] = o.Market + } + if !IsNil(o.Attachments) { + toSerialize["attachments"] = o.Attachments + } + if !IsNil(o.Versions) { + toSerialize["versions"] = o.Versions + } + return toSerialize, nil +} + +type NullablePOSTCarrierAccounts201ResponseDataRelationships struct { + value *POSTCarrierAccounts201ResponseDataRelationships + isSet bool +} + +func (v NullablePOSTCarrierAccounts201ResponseDataRelationships) Get() *POSTCarrierAccounts201ResponseDataRelationships { + return v.value +} + +func (v *NullablePOSTCarrierAccounts201ResponseDataRelationships) Set(val *POSTCarrierAccounts201ResponseDataRelationships) { + v.value = val + v.isSet = true +} + +func (v NullablePOSTCarrierAccounts201ResponseDataRelationships) IsSet() bool { + return v.isSet +} + +func (v *NullablePOSTCarrierAccounts201ResponseDataRelationships) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePOSTCarrierAccounts201ResponseDataRelationships(val *POSTCarrierAccounts201ResponseDataRelationships) *NullablePOSTCarrierAccounts201ResponseDataRelationships { + return &NullablePOSTCarrierAccounts201ResponseDataRelationships{value: val, isSet: true} +} + +func (v NullablePOSTCarrierAccounts201ResponseDataRelationships) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePOSTCarrierAccounts201ResponseDataRelationships) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_post_checkout_com_gateways_201_response.go b/api/model_post_checkout_com_gateways_201_response.go index cefc924fa..936c62d18 100644 --- a/api/model_post_checkout_com_gateways_201_response.go +++ b/api/model_post_checkout_com_gateways_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_checkout_com_gateways_201_response_data.go b/api/model_post_checkout_com_gateways_201_response_data.go index 070f97adf..313dbca4a 100644 --- a/api/model_post_checkout_com_gateways_201_response_data.go +++ b/api/model_post_checkout_com_gateways_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_checkout_com_gateways_201_response_data_attributes.go b/api/model_post_checkout_com_gateways_201_response_data_attributes.go index e05200ba8..dbabab0a2 100644 --- a/api/model_post_checkout_com_gateways_201_response_data_attributes.go +++ b/api/model_post_checkout_com_gateways_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_checkout_com_gateways_201_response_data_relationships.go b/api/model_post_checkout_com_gateways_201_response_data_relationships.go index 612ce7953..c2faa0db6 100644 --- a/api/model_post_checkout_com_gateways_201_response_data_relationships.go +++ b/api/model_post_checkout_com_gateways_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_checkout_com_gateways_201_response_data_relationships_checkout_com_payments.go b/api/model_post_checkout_com_gateways_201_response_data_relationships_checkout_com_payments.go index b02a7dde5..9e38c354b 100644 --- a/api/model_post_checkout_com_gateways_201_response_data_relationships_checkout_com_payments.go +++ b/api/model_post_checkout_com_gateways_201_response_data_relationships_checkout_com_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_checkout_com_gateways_201_response_data_relationships_checkout_com_payments_data.go b/api/model_post_checkout_com_gateways_201_response_data_relationships_checkout_com_payments_data.go index b99582a25..806999398 100644 --- a/api/model_post_checkout_com_gateways_201_response_data_relationships_checkout_com_payments_data.go +++ b/api/model_post_checkout_com_gateways_201_response_data_relationships_checkout_com_payments_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_checkout_com_payments_201_response.go b/api/model_post_checkout_com_payments_201_response.go index 9eeceffb9..22fbfddbb 100644 --- a/api/model_post_checkout_com_payments_201_response.go +++ b/api/model_post_checkout_com_payments_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_checkout_com_payments_201_response_data.go b/api/model_post_checkout_com_payments_201_response_data.go index efa45d0dc..042dc8226 100644 --- a/api/model_post_checkout_com_payments_201_response_data.go +++ b/api/model_post_checkout_com_payments_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_checkout_com_payments_201_response_data_attributes.go b/api/model_post_checkout_com_payments_201_response_data_attributes.go index fb2c53b91..7a8dfd61e 100644 --- a/api/model_post_checkout_com_payments_201_response_data_attributes.go +++ b/api/model_post_checkout_com_payments_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_cleanups_201_response.go b/api/model_post_cleanups_201_response.go index 5dc7f6d98..75351696d 100644 --- a/api/model_post_cleanups_201_response.go +++ b/api/model_post_cleanups_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_cleanups_201_response_data.go b/api/model_post_cleanups_201_response_data.go index 3cdb1cc03..ecd802063 100644 --- a/api/model_post_cleanups_201_response_data.go +++ b/api/model_post_cleanups_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_cleanups_201_response_data_attributes.go b/api/model_post_cleanups_201_response_data_attributes.go index c6ae65761..ae9e35698 100644 --- a/api/model_post_cleanups_201_response_data_attributes.go +++ b/api/model_post_cleanups_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_cleanups_201_response_data_relationships.go b/api/model_post_cleanups_201_response_data_relationships.go index 9281ff99d..32414e62a 100644 --- a/api/model_post_cleanups_201_response_data_relationships.go +++ b/api/model_post_cleanups_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_coupon_codes_promotion_rules_201_response.go b/api/model_post_coupon_codes_promotion_rules_201_response.go index 64ac9e0e4..50b9f27cb 100644 --- a/api/model_post_coupon_codes_promotion_rules_201_response.go +++ b/api/model_post_coupon_codes_promotion_rules_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_coupon_codes_promotion_rules_201_response_data.go b/api/model_post_coupon_codes_promotion_rules_201_response_data.go index 83492c234..fdea4da88 100644 --- a/api/model_post_coupon_codes_promotion_rules_201_response_data.go +++ b/api/model_post_coupon_codes_promotion_rules_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_coupon_codes_promotion_rules_201_response_data_relationships.go b/api/model_post_coupon_codes_promotion_rules_201_response_data_relationships.go index e7e21d2ad..55d0bf432 100644 --- a/api/model_post_coupon_codes_promotion_rules_201_response_data_relationships.go +++ b/api/model_post_coupon_codes_promotion_rules_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_coupon_codes_promotion_rules_201_response_data_relationships_promotion.go b/api/model_post_coupon_codes_promotion_rules_201_response_data_relationships_promotion.go index 9d42f379d..168305da9 100644 --- a/api/model_post_coupon_codes_promotion_rules_201_response_data_relationships_promotion.go +++ b/api/model_post_coupon_codes_promotion_rules_201_response_data_relationships_promotion.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_coupon_codes_promotion_rules_201_response_data_relationships_promotion_data.go b/api/model_post_coupon_codes_promotion_rules_201_response_data_relationships_promotion_data.go index eca225593..4da356c60 100644 --- a/api/model_post_coupon_codes_promotion_rules_201_response_data_relationships_promotion_data.go +++ b/api/model_post_coupon_codes_promotion_rules_201_response_data_relationships_promotion_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_coupon_recipients_201_response.go b/api/model_post_coupon_recipients_201_response.go index 3f73a8259..0d59c9ab4 100644 --- a/api/model_post_coupon_recipients_201_response.go +++ b/api/model_post_coupon_recipients_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_coupon_recipients_201_response_data.go b/api/model_post_coupon_recipients_201_response_data.go index 5078c4c0c..4f9faca80 100644 --- a/api/model_post_coupon_recipients_201_response_data.go +++ b/api/model_post_coupon_recipients_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_coupon_recipients_201_response_data_attributes.go b/api/model_post_coupon_recipients_201_response_data_attributes.go index da6bbd11a..32d4cc3b3 100644 --- a/api/model_post_coupon_recipients_201_response_data_attributes.go +++ b/api/model_post_coupon_recipients_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_coupon_recipients_201_response_data_relationships.go b/api/model_post_coupon_recipients_201_response_data_relationships.go index 6488f04d7..2e59d45c0 100644 --- a/api/model_post_coupon_recipients_201_response_data_relationships.go +++ b/api/model_post_coupon_recipients_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_coupon_recipients_201_response_data_relationships_customer.go b/api/model_post_coupon_recipients_201_response_data_relationships_customer.go index 24bda9a27..57f612dfe 100644 --- a/api/model_post_coupon_recipients_201_response_data_relationships_customer.go +++ b/api/model_post_coupon_recipients_201_response_data_relationships_customer.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_coupon_recipients_201_response_data_relationships_customer_data.go b/api/model_post_coupon_recipients_201_response_data_relationships_customer_data.go index a900a97e6..433c9a2a5 100644 --- a/api/model_post_coupon_recipients_201_response_data_relationships_customer_data.go +++ b/api/model_post_coupon_recipients_201_response_data_relationships_customer_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_coupons_201_response.go b/api/model_post_coupons_201_response.go index 47b655ecc..e245ceed9 100644 --- a/api/model_post_coupons_201_response.go +++ b/api/model_post_coupons_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_coupons_201_response_data.go b/api/model_post_coupons_201_response_data.go index 11c1764ce..69ab7d558 100644 --- a/api/model_post_coupons_201_response_data.go +++ b/api/model_post_coupons_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_coupons_201_response_data_attributes.go b/api/model_post_coupons_201_response_data_attributes.go index 7d968ef62..258ee5010 100644 --- a/api/model_post_coupons_201_response_data_attributes.go +++ b/api/model_post_coupons_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_coupons_201_response_data_relationships.go b/api/model_post_coupons_201_response_data_relationships.go index a513a6f32..d6f157c29 100644 --- a/api/model_post_coupons_201_response_data_relationships.go +++ b/api/model_post_coupons_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_coupons_201_response_data_relationships_coupon_recipient.go b/api/model_post_coupons_201_response_data_relationships_coupon_recipient.go index c452e4803..877b8cc33 100644 --- a/api/model_post_coupons_201_response_data_relationships_coupon_recipient.go +++ b/api/model_post_coupons_201_response_data_relationships_coupon_recipient.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_coupons_201_response_data_relationships_coupon_recipient_data.go b/api/model_post_coupons_201_response_data_relationships_coupon_recipient_data.go index d8dd6d4ed..6af60cd54 100644 --- a/api/model_post_coupons_201_response_data_relationships_coupon_recipient_data.go +++ b/api/model_post_coupons_201_response_data_relationships_coupon_recipient_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_coupons_201_response_data_relationships_promotion_rule.go b/api/model_post_coupons_201_response_data_relationships_promotion_rule.go index 66f651ffc..cf7b0cfd0 100644 --- a/api/model_post_coupons_201_response_data_relationships_promotion_rule.go +++ b/api/model_post_coupons_201_response_data_relationships_promotion_rule.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_coupons_201_response_data_relationships_promotion_rule_data.go b/api/model_post_coupons_201_response_data_relationships_promotion_rule_data.go index 1a2b85d60..714c1f281 100644 --- a/api/model_post_coupons_201_response_data_relationships_promotion_rule_data.go +++ b/api/model_post_coupons_201_response_data_relationships_promotion_rule_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_custom_promotion_rules_201_response.go b/api/model_post_custom_promotion_rules_201_response.go index 8be5d6dd7..546cc48fe 100644 --- a/api/model_post_custom_promotion_rules_201_response.go +++ b/api/model_post_custom_promotion_rules_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_custom_promotion_rules_201_response_data.go b/api/model_post_custom_promotion_rules_201_response_data.go index cfb349310..09fb84a4c 100644 --- a/api/model_post_custom_promotion_rules_201_response_data.go +++ b/api/model_post_custom_promotion_rules_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_custom_promotion_rules_201_response_data_attributes.go b/api/model_post_custom_promotion_rules_201_response_data_attributes.go index 55e5db7b0..855472396 100644 --- a/api/model_post_custom_promotion_rules_201_response_data_attributes.go +++ b/api/model_post_custom_promotion_rules_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_custom_promotion_rules_201_response_data_relationships.go b/api/model_post_custom_promotion_rules_201_response_data_relationships.go index 0a84733fd..5347a44f5 100644 --- a/api/model_post_custom_promotion_rules_201_response_data_relationships.go +++ b/api/model_post_custom_promotion_rules_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customer_addresses_201_response.go b/api/model_post_customer_addresses_201_response.go index 237e9a15b..4022c23e4 100644 --- a/api/model_post_customer_addresses_201_response.go +++ b/api/model_post_customer_addresses_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customer_addresses_201_response_data.go b/api/model_post_customer_addresses_201_response_data.go index 3862968d1..1a8d7c67e 100644 --- a/api/model_post_customer_addresses_201_response_data.go +++ b/api/model_post_customer_addresses_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customer_addresses_201_response_data_attributes.go b/api/model_post_customer_addresses_201_response_data_attributes.go index c21d80283..7da2ff448 100644 --- a/api/model_post_customer_addresses_201_response_data_attributes.go +++ b/api/model_post_customer_addresses_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customer_addresses_201_response_data_relationships.go b/api/model_post_customer_addresses_201_response_data_relationships.go index 7222d0c31..64b5eae69 100644 --- a/api/model_post_customer_addresses_201_response_data_relationships.go +++ b/api/model_post_customer_addresses_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customer_addresses_201_response_data_relationships_address.go b/api/model_post_customer_addresses_201_response_data_relationships_address.go index 553d8c9b0..5f0ca63aa 100644 --- a/api/model_post_customer_addresses_201_response_data_relationships_address.go +++ b/api/model_post_customer_addresses_201_response_data_relationships_address.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customer_addresses_201_response_data_relationships_address_data.go b/api/model_post_customer_addresses_201_response_data_relationships_address_data.go index e5bb9e303..abc631022 100644 --- a/api/model_post_customer_addresses_201_response_data_relationships_address_data.go +++ b/api/model_post_customer_addresses_201_response_data_relationships_address_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customer_groups_201_response.go b/api/model_post_customer_groups_201_response.go index 2548e07c7..df1ebf553 100644 --- a/api/model_post_customer_groups_201_response.go +++ b/api/model_post_customer_groups_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customer_groups_201_response_data.go b/api/model_post_customer_groups_201_response_data.go index 225860667..7c221269b 100644 --- a/api/model_post_customer_groups_201_response_data.go +++ b/api/model_post_customer_groups_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customer_groups_201_response_data_attributes.go b/api/model_post_customer_groups_201_response_data_attributes.go index 9b3dcc87e..73c65241a 100644 --- a/api/model_post_customer_groups_201_response_data_attributes.go +++ b/api/model_post_customer_groups_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customer_groups_201_response_data_relationships.go b/api/model_post_customer_groups_201_response_data_relationships.go index d7e63a3d6..b45b734a0 100644 --- a/api/model_post_customer_groups_201_response_data_relationships.go +++ b/api/model_post_customer_groups_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customer_groups_201_response_data_relationships_customers.go b/api/model_post_customer_groups_201_response_data_relationships_customers.go index f265d89aa..4caf60659 100644 --- a/api/model_post_customer_groups_201_response_data_relationships_customers.go +++ b/api/model_post_customer_groups_201_response_data_relationships_customers.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customer_groups_201_response_data_relationships_customers_data.go b/api/model_post_customer_groups_201_response_data_relationships_customers_data.go index cd244ed81..13a581852 100644 --- a/api/model_post_customer_groups_201_response_data_relationships_customers_data.go +++ b/api/model_post_customer_groups_201_response_data_relationships_customers_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customer_password_resets_201_response.go b/api/model_post_customer_password_resets_201_response.go index 9977f0cbf..7383869d8 100644 --- a/api/model_post_customer_password_resets_201_response.go +++ b/api/model_post_customer_password_resets_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customer_password_resets_201_response_data.go b/api/model_post_customer_password_resets_201_response_data.go index 6731593e6..db490a6ac 100644 --- a/api/model_post_customer_password_resets_201_response_data.go +++ b/api/model_post_customer_password_resets_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customer_password_resets_201_response_data_attributes.go b/api/model_post_customer_password_resets_201_response_data_attributes.go index 37d11c67c..4b62f0261 100644 --- a/api/model_post_customer_password_resets_201_response_data_attributes.go +++ b/api/model_post_customer_password_resets_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customer_password_resets_201_response_data_relationships.go b/api/model_post_customer_password_resets_201_response_data_relationships.go index 9450c167a..7094fa14e 100644 --- a/api/model_post_customer_password_resets_201_response_data_relationships.go +++ b/api/model_post_customer_password_resets_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customer_payment_sources_201_response.go b/api/model_post_customer_payment_sources_201_response.go index 83b69e022..87d5cb5bd 100644 --- a/api/model_post_customer_payment_sources_201_response.go +++ b/api/model_post_customer_payment_sources_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customer_payment_sources_201_response_data.go b/api/model_post_customer_payment_sources_201_response_data.go index 1ad208c66..1c2c31022 100644 --- a/api/model_post_customer_payment_sources_201_response_data.go +++ b/api/model_post_customer_payment_sources_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customer_payment_sources_201_response_data_attributes.go b/api/model_post_customer_payment_sources_201_response_data_attributes.go index c6aa75996..c123a5755 100644 --- a/api/model_post_customer_payment_sources_201_response_data_attributes.go +++ b/api/model_post_customer_payment_sources_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customer_payment_sources_201_response_data_relationships.go b/api/model_post_customer_payment_sources_201_response_data_relationships.go index be102e041..7fcefb0e5 100644 --- a/api/model_post_customer_payment_sources_201_response_data_relationships.go +++ b/api/model_post_customer_payment_sources_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,10 +20,10 @@ var _ MappedNullable = &POSTCustomerPaymentSources201ResponseDataRelationships{} // POSTCustomerPaymentSources201ResponseDataRelationships struct for POSTCustomerPaymentSources201ResponseDataRelationships type POSTCustomerPaymentSources201ResponseDataRelationships struct { - Customer *POSTCouponRecipients201ResponseDataRelationshipsCustomer `json:"customer,omitempty"` - PaymentMethod *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentMethod `json:"payment_method,omitempty"` - PaymentSource *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource `json:"payment_source,omitempty"` - Versions *POSTAddresses201ResponseDataRelationshipsVersions `json:"versions,omitempty"` + Customer *POSTCouponRecipients201ResponseDataRelationshipsCustomer `json:"customer,omitempty"` + PaymentMethod *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentMethod `json:"payment_method,omitempty"` + PaymentSource *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource `json:"payment_source,omitempty"` + Versions *POSTAddresses201ResponseDataRelationshipsVersions `json:"versions,omitempty"` } // NewPOSTCustomerPaymentSources201ResponseDataRelationships instantiates a new POSTCustomerPaymentSources201ResponseDataRelationships object @@ -108,9 +108,9 @@ func (o *POSTCustomerPaymentSources201ResponseDataRelationships) SetPaymentMetho } // GetPaymentSource returns the PaymentSource field value if set, zero value otherwise. -func (o *POSTCustomerPaymentSources201ResponseDataRelationships) GetPaymentSource() POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource { +func (o *POSTCustomerPaymentSources201ResponseDataRelationships) GetPaymentSource() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource { if o == nil || IsNil(o.PaymentSource) { - var ret POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource + var ret GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource return ret } return *o.PaymentSource @@ -118,7 +118,7 @@ func (o *POSTCustomerPaymentSources201ResponseDataRelationships) GetPaymentSourc // GetPaymentSourceOk returns a tuple with the PaymentSource field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *POSTCustomerPaymentSources201ResponseDataRelationships) GetPaymentSourceOk() (*POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource, bool) { +func (o *POSTCustomerPaymentSources201ResponseDataRelationships) GetPaymentSourceOk() (*GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource, bool) { if o == nil || IsNil(o.PaymentSource) { return nil, false } @@ -134,8 +134,8 @@ func (o *POSTCustomerPaymentSources201ResponseDataRelationships) HasPaymentSourc return false } -// SetPaymentSource gets a reference to the given POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource and assigns it to the PaymentSource field. -func (o *POSTCustomerPaymentSources201ResponseDataRelationships) SetPaymentSource(v POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource) { +// SetPaymentSource gets a reference to the given GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource and assigns it to the PaymentSource field. +func (o *POSTCustomerPaymentSources201ResponseDataRelationships) SetPaymentSource(v GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) { o.PaymentSource = &v } diff --git a/api/model_post_customer_payment_sources_201_response_data_relationships_payment_method.go b/api/model_post_customer_payment_sources_201_response_data_relationships_payment_method.go index 8cbf08289..d66d7d299 100644 --- a/api/model_post_customer_payment_sources_201_response_data_relationships_payment_method.go +++ b/api/model_post_customer_payment_sources_201_response_data_relationships_payment_method.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customer_payment_sources_201_response_data_relationships_payment_method_data.go b/api/model_post_customer_payment_sources_201_response_data_relationships_payment_method_data.go index 290784435..4307dad2d 100644 --- a/api/model_post_customer_payment_sources_201_response_data_relationships_payment_method_data.go +++ b/api/model_post_customer_payment_sources_201_response_data_relationships_payment_method_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customer_payment_sources_201_response_data_relationships_payment_source.go b/api/model_post_customer_payment_sources_201_response_data_relationships_payment_source.go deleted file mode 100644 index 2d12bf9a2..000000000 --- a/api/model_post_customer_payment_sources_201_response_data_relationships_payment_source.go +++ /dev/null @@ -1,161 +0,0 @@ -/* -Commerce Layer API - -Headless Commerce for Global Brands. - -API version: 7.3.1 -Contact: support@commercelayer.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api - -import ( - "encoding/json" -) - -// checks if the POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource{} - -// POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource struct for POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource -type POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource struct { - Links *POSTAddresses201ResponseDataRelationshipsGeocoderLinks `json:"links,omitempty"` - Data *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData `json:"data,omitempty"` -} - -// NewPOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource instantiates a new POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewPOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource() *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource { - this := POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource{} - return &this -} - -// NewPOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceWithDefaults instantiates a new POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceWithDefaults() *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource { - this := POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource{} - return &this -} - -// GetLinks returns the Links field value if set, zero value otherwise. -func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource) GetLinks() POSTAddresses201ResponseDataRelationshipsGeocoderLinks { - if o == nil || IsNil(o.Links) { - var ret POSTAddresses201ResponseDataRelationshipsGeocoderLinks - return ret - } - return *o.Links -} - -// GetLinksOk returns a tuple with the Links field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource) GetLinksOk() (*POSTAddresses201ResponseDataRelationshipsGeocoderLinks, bool) { - if o == nil || IsNil(o.Links) { - return nil, false - } - return o.Links, true -} - -// HasLinks returns a boolean if a field has been set. -func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource) HasLinks() bool { - if o != nil && !IsNil(o.Links) { - return true - } - - return false -} - -// SetLinks gets a reference to the given POSTAddresses201ResponseDataRelationshipsGeocoderLinks and assigns it to the Links field. -func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource) SetLinks(v POSTAddresses201ResponseDataRelationshipsGeocoderLinks) { - o.Links = &v -} - -// GetData returns the Data field value if set, zero value otherwise. -func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource) GetData() POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData { - if o == nil || IsNil(o.Data) { - var ret POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData - return ret - } - return *o.Data -} - -// GetDataOk returns a tuple with the Data field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource) GetDataOk() (*POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData, bool) { - if o == nil || IsNil(o.Data) { - return nil, false - } - return o.Data, true -} - -// HasData returns a boolean if a field has been set. -func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource) HasData() bool { - if o != nil && !IsNil(o.Data) { - return true - } - - return false -} - -// SetData gets a reference to the given POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData and assigns it to the Data field. -func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource) SetData(v POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) { - o.Data = &v -} - -func (o POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !IsNil(o.Links) { - toSerialize["links"] = o.Links - } - if !IsNil(o.Data) { - toSerialize["data"] = o.Data - } - return toSerialize, nil -} - -type NullablePOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource struct { - value *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource - isSet bool -} - -func (v NullablePOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource) Get() *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource { - return v.value -} - -func (v *NullablePOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource) Set(val *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource) { - v.value = val - v.isSet = true -} - -func (v NullablePOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource) IsSet() bool { - return v.isSet -} - -func (v *NullablePOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource(val *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource) *NullablePOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource { - return &NullablePOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource{value: val, isSet: true} -} - -func (v NullablePOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/api/model_post_customer_payment_sources_201_response_data_relationships_payment_source_data.go b/api/model_post_customer_payment_sources_201_response_data_relationships_payment_source_data.go deleted file mode 100644 index 3d2433d75..000000000 --- a/api/model_post_customer_payment_sources_201_response_data_relationships_payment_source_data.go +++ /dev/null @@ -1,165 +0,0 @@ -/* -Commerce Layer API - -Headless Commerce for Global Brands. - -API version: 7.3.1 -Contact: support@commercelayer.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package api - -import ( - "encoding/json" -) - -// checks if the POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData{} - -// POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData struct for POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData -type POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData struct { - // The resource's type - Type interface{} `json:"type,omitempty"` - // The resource ID - Id interface{} `json:"id,omitempty"` -} - -// NewPOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData instantiates a new POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewPOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData() *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData { - this := POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData{} - return &this -} - -// NewPOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceDataWithDefaults instantiates a new POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceDataWithDefaults() *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData { - this := POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData{} - return &this -} - -// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) GetType() interface{} { - if o == nil { - var ret interface{} - return ret - } - return o.Type -} - -// GetTypeOk returns a tuple with the Type field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) GetTypeOk() (*interface{}, bool) { - if o == nil || IsNil(o.Type) { - return nil, false - } - return &o.Type, true -} - -// HasType returns a boolean if a field has been set. -func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) HasType() bool { - if o != nil && IsNil(o.Type) { - return true - } - - return false -} - -// SetType gets a reference to the given interface{} and assigns it to the Type field. -func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) SetType(v interface{}) { - o.Type = v -} - -// GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) GetId() interface{} { - if o == nil { - var ret interface{} - return ret - } - return o.Id -} - -// GetIdOk returns a tuple with the Id field value if set, nil otherwise -// and a boolean to check if the value has been set. -// NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) GetIdOk() (*interface{}, bool) { - if o == nil || IsNil(o.Id) { - return nil, false - } - return &o.Id, true -} - -// HasId returns a boolean if a field has been set. -func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) HasId() bool { - if o != nil && IsNil(o.Id) { - return true - } - - return false -} - -// SetId gets a reference to the given interface{} and assigns it to the Id field. -func (o *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) SetId(v interface{}) { - o.Id = v -} - -func (o POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if o.Type != nil { - toSerialize["type"] = o.Type - } - if o.Id != nil { - toSerialize["id"] = o.Id - } - return toSerialize, nil -} - -type NullablePOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData struct { - value *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData - isSet bool -} - -func (v NullablePOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) Get() *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData { - return v.value -} - -func (v *NullablePOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) Set(val *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) { - v.value = val - v.isSet = true -} - -func (v NullablePOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) IsSet() bool { - return v.isSet -} - -func (v *NullablePOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData(val *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) *NullablePOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData { - return &NullablePOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData{value: val, isSet: true} -} - -func (v NullablePOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePOSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSourceData) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/api/model_post_customer_subscriptions_201_response.go b/api/model_post_customer_subscriptions_201_response.go index f6ba56f1b..0b77c4ec2 100644 --- a/api/model_post_customer_subscriptions_201_response.go +++ b/api/model_post_customer_subscriptions_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customer_subscriptions_201_response_data.go b/api/model_post_customer_subscriptions_201_response_data.go index b56de5194..4d76b8467 100644 --- a/api/model_post_customer_subscriptions_201_response_data.go +++ b/api/model_post_customer_subscriptions_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customer_subscriptions_201_response_data_attributes.go b/api/model_post_customer_subscriptions_201_response_data_attributes.go index 1603084e8..cf5eac90c 100644 --- a/api/model_post_customer_subscriptions_201_response_data_attributes.go +++ b/api/model_post_customer_subscriptions_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customer_subscriptions_201_response_data_relationships.go b/api/model_post_customer_subscriptions_201_response_data_relationships.go index b2795e6d2..b24ed8f9f 100644 --- a/api/model_post_customer_subscriptions_201_response_data_relationships.go +++ b/api/model_post_customer_subscriptions_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customers_201_response.go b/api/model_post_customers_201_response.go index f8eaf8d9f..9a04aeee9 100644 --- a/api/model_post_customers_201_response.go +++ b/api/model_post_customers_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customers_201_response_data.go b/api/model_post_customers_201_response_data.go index 308c00acb..ffd672bd4 100644 --- a/api/model_post_customers_201_response_data.go +++ b/api/model_post_customers_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customers_201_response_data_attributes.go b/api/model_post_customers_201_response_data_attributes.go index e2c5a2eaa..35dc463a9 100644 --- a/api/model_post_customers_201_response_data_attributes.go +++ b/api/model_post_customers_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -26,6 +26,8 @@ type POSTCustomers201ResponseDataAttributes struct { Password interface{} `json:"password,omitempty"` // A reference to uniquely identify the shopper during payment sessions. ShopperReference interface{} `json:"shopper_reference,omitempty"` + // A reference to uniquely identify the customer on any connected external services. + ProfileId interface{} `json:"profile_id,omitempty"` // A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. Reference interface{} `json:"reference,omitempty"` // Any identifier of the third party system that defines the reference code. @@ -144,6 +146,39 @@ func (o *POSTCustomers201ResponseDataAttributes) SetShopperReference(v interface o.ShopperReference = v } +// GetProfileId returns the ProfileId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTCustomers201ResponseDataAttributes) GetProfileId() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.ProfileId +} + +// GetProfileIdOk returns a tuple with the ProfileId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *POSTCustomers201ResponseDataAttributes) GetProfileIdOk() (*interface{}, bool) { + if o == nil || IsNil(o.ProfileId) { + return nil, false + } + return &o.ProfileId, true +} + +// HasProfileId returns a boolean if a field has been set. +func (o *POSTCustomers201ResponseDataAttributes) HasProfileId() bool { + if o != nil && IsNil(o.ProfileId) { + return true + } + + return false +} + +// SetProfileId gets a reference to the given interface{} and assigns it to the ProfileId field. +func (o *POSTCustomers201ResponseDataAttributes) SetProfileId(v interface{}) { + o.ProfileId = v +} + // GetReference returns the Reference field value if set, zero value otherwise (both if not set or set to explicit null). func (o *POSTCustomers201ResponseDataAttributes) GetReference() interface{} { if o == nil { @@ -262,6 +297,9 @@ func (o POSTCustomers201ResponseDataAttributes) ToMap() (map[string]interface{}, if o.ShopperReference != nil { toSerialize["shopper_reference"] = o.ShopperReference } + if o.ProfileId != nil { + toSerialize["profile_id"] = o.ProfileId + } if o.Reference != nil { toSerialize["reference"] = o.Reference } diff --git a/api/model_post_customers_201_response_data_relationships.go b/api/model_post_customers_201_response_data_relationships.go index 30a1ebd88..9b637d23e 100644 --- a/api/model_post_customers_201_response_data_relationships.go +++ b/api/model_post_customers_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customers_201_response_data_relationships_customer_addresses.go b/api/model_post_customers_201_response_data_relationships_customer_addresses.go index dc44de12e..15b448d1e 100644 --- a/api/model_post_customers_201_response_data_relationships_customer_addresses.go +++ b/api/model_post_customers_201_response_data_relationships_customer_addresses.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customers_201_response_data_relationships_customer_addresses_data.go b/api/model_post_customers_201_response_data_relationships_customer_addresses_data.go index 45d40bc36..052068208 100644 --- a/api/model_post_customers_201_response_data_relationships_customer_addresses_data.go +++ b/api/model_post_customers_201_response_data_relationships_customer_addresses_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customers_201_response_data_relationships_customer_group.go b/api/model_post_customers_201_response_data_relationships_customer_group.go index 93bf9d927..07db796c9 100644 --- a/api/model_post_customers_201_response_data_relationships_customer_group.go +++ b/api/model_post_customers_201_response_data_relationships_customer_group.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customers_201_response_data_relationships_customer_group_data.go b/api/model_post_customers_201_response_data_relationships_customer_group_data.go index 70f77525a..5c7fd54ae 100644 --- a/api/model_post_customers_201_response_data_relationships_customer_group_data.go +++ b/api/model_post_customers_201_response_data_relationships_customer_group_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customers_201_response_data_relationships_customer_payment_sources.go b/api/model_post_customers_201_response_data_relationships_customer_payment_sources.go index 0e94bd23a..851390821 100644 --- a/api/model_post_customers_201_response_data_relationships_customer_payment_sources.go +++ b/api/model_post_customers_201_response_data_relationships_customer_payment_sources.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customers_201_response_data_relationships_customer_payment_sources_data.go b/api/model_post_customers_201_response_data_relationships_customer_payment_sources_data.go index 12b65cee8..a1b960c17 100644 --- a/api/model_post_customers_201_response_data_relationships_customer_payment_sources_data.go +++ b/api/model_post_customers_201_response_data_relationships_customer_payment_sources_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customers_201_response_data_relationships_customer_subscriptions.go b/api/model_post_customers_201_response_data_relationships_customer_subscriptions.go index 2ad52cd8d..7fd204488 100644 --- a/api/model_post_customers_201_response_data_relationships_customer_subscriptions.go +++ b/api/model_post_customers_201_response_data_relationships_customer_subscriptions.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customers_201_response_data_relationships_customer_subscriptions_data.go b/api/model_post_customers_201_response_data_relationships_customer_subscriptions_data.go index feea37f63..94131a584 100644 --- a/api/model_post_customers_201_response_data_relationships_customer_subscriptions_data.go +++ b/api/model_post_customers_201_response_data_relationships_customer_subscriptions_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customers_201_response_data_relationships_order_subscriptions.go b/api/model_post_customers_201_response_data_relationships_order_subscriptions.go index dc238ccd8..1cf684fa4 100644 --- a/api/model_post_customers_201_response_data_relationships_order_subscriptions.go +++ b/api/model_post_customers_201_response_data_relationships_order_subscriptions.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customers_201_response_data_relationships_order_subscriptions_data.go b/api/model_post_customers_201_response_data_relationships_order_subscriptions_data.go index 36b068cdc..c300d190c 100644 --- a/api/model_post_customers_201_response_data_relationships_order_subscriptions_data.go +++ b/api/model_post_customers_201_response_data_relationships_order_subscriptions_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customers_201_response_data_relationships_orders.go b/api/model_post_customers_201_response_data_relationships_orders.go index efea9afdb..a8ff55e20 100644 --- a/api/model_post_customers_201_response_data_relationships_orders.go +++ b/api/model_post_customers_201_response_data_relationships_orders.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customers_201_response_data_relationships_orders_data.go b/api/model_post_customers_201_response_data_relationships_orders_data.go index 1a259b9e7..39bce9339 100644 --- a/api/model_post_customers_201_response_data_relationships_orders_data.go +++ b/api/model_post_customers_201_response_data_relationships_orders_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customers_201_response_data_relationships_returns.go b/api/model_post_customers_201_response_data_relationships_returns.go index 148449b20..7381e9c45 100644 --- a/api/model_post_customers_201_response_data_relationships_returns.go +++ b/api/model_post_customers_201_response_data_relationships_returns.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customers_201_response_data_relationships_returns_data.go b/api/model_post_customers_201_response_data_relationships_returns_data.go index ebb8749cc..e571dd8b7 100644 --- a/api/model_post_customers_201_response_data_relationships_returns_data.go +++ b/api/model_post_customers_201_response_data_relationships_returns_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customers_201_response_data_relationships_sku_lists.go b/api/model_post_customers_201_response_data_relationships_sku_lists.go index 75adfd9b7..8f2a31360 100644 --- a/api/model_post_customers_201_response_data_relationships_sku_lists.go +++ b/api/model_post_customers_201_response_data_relationships_sku_lists.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_customers_201_response_data_relationships_sku_lists_data.go b/api/model_post_customers_201_response_data_relationships_sku_lists_data.go index 430d328ff..5850599f3 100644 --- a/api/model_post_customers_201_response_data_relationships_sku_lists_data.go +++ b/api/model_post_customers_201_response_data_relationships_sku_lists_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_delivery_lead_times_201_response.go b/api/model_post_delivery_lead_times_201_response.go index 09d758f56..ee0486933 100644 --- a/api/model_post_delivery_lead_times_201_response.go +++ b/api/model_post_delivery_lead_times_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_delivery_lead_times_201_response_data.go b/api/model_post_delivery_lead_times_201_response_data.go index fbc3ee054..d6b812080 100644 --- a/api/model_post_delivery_lead_times_201_response_data.go +++ b/api/model_post_delivery_lead_times_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_delivery_lead_times_201_response_data_attributes.go b/api/model_post_delivery_lead_times_201_response_data_attributes.go index 874744660..33fd27421 100644 --- a/api/model_post_delivery_lead_times_201_response_data_attributes.go +++ b/api/model_post_delivery_lead_times_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_delivery_lead_times_201_response_data_relationships.go b/api/model_post_delivery_lead_times_201_response_data_relationships.go index d0170ca95..022682ac1 100644 --- a/api/model_post_delivery_lead_times_201_response_data_relationships.go +++ b/api/model_post_delivery_lead_times_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_delivery_lead_times_201_response_data_relationships_shipping_method.go b/api/model_post_delivery_lead_times_201_response_data_relationships_shipping_method.go index ef0a2f055..044f9b46f 100644 --- a/api/model_post_delivery_lead_times_201_response_data_relationships_shipping_method.go +++ b/api/model_post_delivery_lead_times_201_response_data_relationships_shipping_method.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_delivery_lead_times_201_response_data_relationships_shipping_method_data.go b/api/model_post_delivery_lead_times_201_response_data_relationships_shipping_method_data.go index 22c115e07..ee3045be8 100644 --- a/api/model_post_delivery_lead_times_201_response_data_relationships_shipping_method_data.go +++ b/api/model_post_delivery_lead_times_201_response_data_relationships_shipping_method_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_delivery_lead_times_201_response_data_relationships_stock_location.go b/api/model_post_delivery_lead_times_201_response_data_relationships_stock_location.go index f9cab2d2b..742243337 100644 --- a/api/model_post_delivery_lead_times_201_response_data_relationships_stock_location.go +++ b/api/model_post_delivery_lead_times_201_response_data_relationships_stock_location.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_delivery_lead_times_201_response_data_relationships_stock_location_data.go b/api/model_post_delivery_lead_times_201_response_data_relationships_stock_location_data.go index 0447fb85a..cb8165279 100644 --- a/api/model_post_delivery_lead_times_201_response_data_relationships_stock_location_data.go +++ b/api/model_post_delivery_lead_times_201_response_data_relationships_stock_location_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_exports_201_response.go b/api/model_post_exports_201_response.go index 6c69d9703..9bf14bf0d 100644 --- a/api/model_post_exports_201_response.go +++ b/api/model_post_exports_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_exports_201_response_data.go b/api/model_post_exports_201_response_data.go index edce436dc..cb286bf49 100644 --- a/api/model_post_exports_201_response_data.go +++ b/api/model_post_exports_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_exports_201_response_data_attributes.go b/api/model_post_exports_201_response_data_attributes.go index 3f2c1a224..97f13345a 100644 --- a/api/model_post_exports_201_response_data_attributes.go +++ b/api/model_post_exports_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -24,8 +24,10 @@ type POSTExports201ResponseDataAttributes struct { ResourceType interface{} `json:"resource_type"` // The format of the export one of 'json' (default) or 'csv'. Format interface{} `json:"format,omitempty"` - // List of related resources that should be included in the export. + // List of related resources that should be included in the export (redundant when 'fields' are specified). Includes interface{} `json:"includes,omitempty"` + // List of fields to export for the main and related resources (automatically included). Pass the asterisk '*' to include all exportable fields for the main and related resources. + Fields interface{} `json:"fields,omitempty"` // The filters used to select the records to be exported. Filters interface{} `json:"filters,omitempty"` // Send this attribute if you want to skip exporting redundant attributes (IDs, timestamps, blanks, etc.), useful when combining export and import to duplicate your dataset. @@ -148,6 +150,39 @@ func (o *POSTExports201ResponseDataAttributes) SetIncludes(v interface{}) { o.Includes = v } +// GetFields returns the Fields field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTExports201ResponseDataAttributes) GetFields() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Fields +} + +// GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *POSTExports201ResponseDataAttributes) GetFieldsOk() (*interface{}, bool) { + if o == nil || IsNil(o.Fields) { + return nil, false + } + return &o.Fields, true +} + +// HasFields returns a boolean if a field has been set. +func (o *POSTExports201ResponseDataAttributes) HasFields() bool { + if o != nil && IsNil(o.Fields) { + return true + } + + return false +} + +// SetFields gets a reference to the given interface{} and assigns it to the Fields field. +func (o *POSTExports201ResponseDataAttributes) SetFields(v interface{}) { + o.Fields = v +} + // GetFilters returns the Filters field value if set, zero value otherwise (both if not set or set to explicit null). func (o *POSTExports201ResponseDataAttributes) GetFilters() interface{} { if o == nil { @@ -332,6 +367,9 @@ func (o POSTExports201ResponseDataAttributes) ToMap() (map[string]interface{}, e if o.Includes != nil { toSerialize["includes"] = o.Includes } + if o.Fields != nil { + toSerialize["fields"] = o.Fields + } if o.Filters != nil { toSerialize["filters"] = o.Filters } diff --git a/api/model_post_exports_201_response_data_relationships.go b/api/model_post_exports_201_response_data_relationships.go index 51bcbcabe..15e8aaa1c 100644 --- a/api/model_post_exports_201_response_data_relationships.go +++ b/api/model_post_exports_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_external_gateways_201_response.go b/api/model_post_external_gateways_201_response.go index e30598eea..26af81ea8 100644 --- a/api/model_post_external_gateways_201_response.go +++ b/api/model_post_external_gateways_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_external_gateways_201_response_data.go b/api/model_post_external_gateways_201_response_data.go index db7763401..6a97d9c5b 100644 --- a/api/model_post_external_gateways_201_response_data.go +++ b/api/model_post_external_gateways_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_external_gateways_201_response_data_attributes.go b/api/model_post_external_gateways_201_response_data_attributes.go index ef96438b6..079d4b00d 100644 --- a/api/model_post_external_gateways_201_response_data_attributes.go +++ b/api/model_post_external_gateways_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_external_gateways_201_response_data_relationships.go b/api/model_post_external_gateways_201_response_data_relationships.go index 880f486cd..7682a4615 100644 --- a/api/model_post_external_gateways_201_response_data_relationships.go +++ b/api/model_post_external_gateways_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_external_gateways_201_response_data_relationships_external_payments.go b/api/model_post_external_gateways_201_response_data_relationships_external_payments.go index 6f28e91c5..7697ab3d5 100644 --- a/api/model_post_external_gateways_201_response_data_relationships_external_payments.go +++ b/api/model_post_external_gateways_201_response_data_relationships_external_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_external_gateways_201_response_data_relationships_external_payments_data.go b/api/model_post_external_gateways_201_response_data_relationships_external_payments_data.go index ee01679e4..bd0b8d076 100644 --- a/api/model_post_external_gateways_201_response_data_relationships_external_payments_data.go +++ b/api/model_post_external_gateways_201_response_data_relationships_external_payments_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_external_payments_201_response.go b/api/model_post_external_payments_201_response.go index 5a62182a4..459bdb0db 100644 --- a/api/model_post_external_payments_201_response.go +++ b/api/model_post_external_payments_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_external_payments_201_response_data.go b/api/model_post_external_payments_201_response_data.go index ad5a76a04..0f58b93f2 100644 --- a/api/model_post_external_payments_201_response_data.go +++ b/api/model_post_external_payments_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_external_payments_201_response_data_attributes.go b/api/model_post_external_payments_201_response_data_attributes.go index 2435ee66c..7adf441de 100644 --- a/api/model_post_external_payments_201_response_data_attributes.go +++ b/api/model_post_external_payments_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_external_payments_201_response_data_relationships.go b/api/model_post_external_payments_201_response_data_relationships.go index 0b49d9a4c..5595c828c 100644 --- a/api/model_post_external_payments_201_response_data_relationships.go +++ b/api/model_post_external_payments_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_external_payments_201_response_data_relationships_wallet.go b/api/model_post_external_payments_201_response_data_relationships_wallet.go index ad09d20ad..4325679d2 100644 --- a/api/model_post_external_payments_201_response_data_relationships_wallet.go +++ b/api/model_post_external_payments_201_response_data_relationships_wallet.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_external_payments_201_response_data_relationships_wallet_data.go b/api/model_post_external_payments_201_response_data_relationships_wallet_data.go index 14c2530d9..ab89e6651 100644 --- a/api/model_post_external_payments_201_response_data_relationships_wallet_data.go +++ b/api/model_post_external_payments_201_response_data_relationships_wallet_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_external_promotions_201_response.go b/api/model_post_external_promotions_201_response.go index f9f43c358..e2cfb02e0 100644 --- a/api/model_post_external_promotions_201_response.go +++ b/api/model_post_external_promotions_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_external_promotions_201_response_data.go b/api/model_post_external_promotions_201_response_data.go index 8d18903bf..af422532a 100644 --- a/api/model_post_external_promotions_201_response_data.go +++ b/api/model_post_external_promotions_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_external_promotions_201_response_data_attributes.go b/api/model_post_external_promotions_201_response_data_attributes.go index d77e09f49..4d670f9db 100644 --- a/api/model_post_external_promotions_201_response_data_attributes.go +++ b/api/model_post_external_promotions_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_external_tax_calculators_201_response.go b/api/model_post_external_tax_calculators_201_response.go index 82d2426c1..17b63ea3a 100644 --- a/api/model_post_external_tax_calculators_201_response.go +++ b/api/model_post_external_tax_calculators_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_external_tax_calculators_201_response_data.go b/api/model_post_external_tax_calculators_201_response_data.go index ceba4aaf1..17e34b7f8 100644 --- a/api/model_post_external_tax_calculators_201_response_data.go +++ b/api/model_post_external_tax_calculators_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_external_tax_calculators_201_response_data_attributes.go b/api/model_post_external_tax_calculators_201_response_data_attributes.go index f0c70dc96..76d6ad04b 100644 --- a/api/model_post_external_tax_calculators_201_response_data_attributes.go +++ b/api/model_post_external_tax_calculators_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_external_tax_calculators_201_response_data_relationships.go b/api/model_post_external_tax_calculators_201_response_data_relationships.go index 2e1ad1bb8..7b62af4c0 100644 --- a/api/model_post_external_tax_calculators_201_response_data_relationships.go +++ b/api/model_post_external_tax_calculators_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_fixed_amount_promotions_201_response.go b/api/model_post_fixed_amount_promotions_201_response.go index 4a4fa2150..ce1b9788d 100644 --- a/api/model_post_fixed_amount_promotions_201_response.go +++ b/api/model_post_fixed_amount_promotions_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_fixed_amount_promotions_201_response_data.go b/api/model_post_fixed_amount_promotions_201_response_data.go index 1f4967564..c3f665493 100644 --- a/api/model_post_fixed_amount_promotions_201_response_data.go +++ b/api/model_post_fixed_amount_promotions_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_fixed_amount_promotions_201_response_data_attributes.go b/api/model_post_fixed_amount_promotions_201_response_data_attributes.go index f25e88ed5..856f41527 100644 --- a/api/model_post_fixed_amount_promotions_201_response_data_attributes.go +++ b/api/model_post_fixed_amount_promotions_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_fixed_price_promotions_201_response.go b/api/model_post_fixed_price_promotions_201_response.go index 04760ad6a..78fbb9b91 100644 --- a/api/model_post_fixed_price_promotions_201_response.go +++ b/api/model_post_fixed_price_promotions_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_fixed_price_promotions_201_response_data.go b/api/model_post_fixed_price_promotions_201_response_data.go index 9d63ed33c..002e4fa07 100644 --- a/api/model_post_fixed_price_promotions_201_response_data.go +++ b/api/model_post_fixed_price_promotions_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_fixed_price_promotions_201_response_data_attributes.go b/api/model_post_fixed_price_promotions_201_response_data_attributes.go index 55b751508..de884c8ce 100644 --- a/api/model_post_fixed_price_promotions_201_response_data_attributes.go +++ b/api/model_post_fixed_price_promotions_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_flex_promotions_201_response.go b/api/model_post_flex_promotions_201_response.go index d0f5eda22..a92cdc582 100644 --- a/api/model_post_flex_promotions_201_response.go +++ b/api/model_post_flex_promotions_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_flex_promotions_201_response_data.go b/api/model_post_flex_promotions_201_response_data.go index 27cfb4cf1..21ca4b359 100644 --- a/api/model_post_flex_promotions_201_response_data.go +++ b/api/model_post_flex_promotions_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_flex_promotions_201_response_data_attributes.go b/api/model_post_flex_promotions_201_response_data_attributes.go index cbcf5f262..1f42d57a5 100644 --- a/api/model_post_flex_promotions_201_response_data_attributes.go +++ b/api/model_post_flex_promotions_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_flex_promotions_201_response_data_relationships.go b/api/model_post_flex_promotions_201_response_data_relationships.go index 0316ad408..f8a5cad4c 100644 --- a/api/model_post_flex_promotions_201_response_data_relationships.go +++ b/api/model_post_flex_promotions_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_free_gift_promotions_201_response.go b/api/model_post_free_gift_promotions_201_response.go index 1f9425fcb..aa6da5a47 100644 --- a/api/model_post_free_gift_promotions_201_response.go +++ b/api/model_post_free_gift_promotions_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_free_gift_promotions_201_response_data.go b/api/model_post_free_gift_promotions_201_response_data.go index 8efe0752b..566271fa0 100644 --- a/api/model_post_free_gift_promotions_201_response_data.go +++ b/api/model_post_free_gift_promotions_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_free_gift_promotions_201_response_data_attributes.go b/api/model_post_free_gift_promotions_201_response_data_attributes.go index 5083f0989..517cf65e7 100644 --- a/api/model_post_free_gift_promotions_201_response_data_attributes.go +++ b/api/model_post_free_gift_promotions_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_free_shipping_promotions_201_response.go b/api/model_post_free_shipping_promotions_201_response.go index ea782d1b5..3f68cadc1 100644 --- a/api/model_post_free_shipping_promotions_201_response.go +++ b/api/model_post_free_shipping_promotions_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_free_shipping_promotions_201_response_data.go b/api/model_post_free_shipping_promotions_201_response_data.go index 73f78ee9c..636103642 100644 --- a/api/model_post_free_shipping_promotions_201_response_data.go +++ b/api/model_post_free_shipping_promotions_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_free_shipping_promotions_201_response_data_attributes.go b/api/model_post_free_shipping_promotions_201_response_data_attributes.go index 609dfe983..0ac1b1341 100644 --- a/api/model_post_free_shipping_promotions_201_response_data_attributes.go +++ b/api/model_post_free_shipping_promotions_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_free_shipping_promotions_201_response_data_relationships.go b/api/model_post_free_shipping_promotions_201_response_data_relationships.go index dfeaca24a..edabd6627 100644 --- a/api/model_post_free_shipping_promotions_201_response_data_relationships.go +++ b/api/model_post_free_shipping_promotions_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,7 +20,7 @@ var _ MappedNullable = &POSTFreeShippingPromotions201ResponseDataRelationships{} // POSTFreeShippingPromotions201ResponseDataRelationships struct for POSTFreeShippingPromotions201ResponseDataRelationships type POSTFreeShippingPromotions201ResponseDataRelationships struct { - Market *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket `json:"market,omitempty"` + Market *POSTBundles201ResponseDataRelationshipsMarket `json:"market,omitempty"` PromotionRules *POSTBuyXPayYPromotions201ResponseDataRelationshipsPromotionRules `json:"promotion_rules,omitempty"` OrderAmountPromotionRule *POSTBuyXPayYPromotions201ResponseDataRelationshipsOrderAmountPromotionRule `json:"order_amount_promotion_rule,omitempty"` SkuListPromotionRule *POSTBuyXPayYPromotions201ResponseDataRelationshipsSkuListPromotionRule `json:"sku_list_promotion_rule,omitempty"` @@ -52,9 +52,9 @@ func NewPOSTFreeShippingPromotions201ResponseDataRelationshipsWithDefaults() *PO } // GetMarket returns the Market field value if set, zero value otherwise. -func (o *POSTFreeShippingPromotions201ResponseDataRelationships) GetMarket() POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket { +func (o *POSTFreeShippingPromotions201ResponseDataRelationships) GetMarket() POSTBundles201ResponseDataRelationshipsMarket { if o == nil || IsNil(o.Market) { - var ret POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket + var ret POSTBundles201ResponseDataRelationshipsMarket return ret } return *o.Market @@ -62,7 +62,7 @@ func (o *POSTFreeShippingPromotions201ResponseDataRelationships) GetMarket() POS // GetMarketOk returns a tuple with the Market field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *POSTFreeShippingPromotions201ResponseDataRelationships) GetMarketOk() (*POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket, bool) { +func (o *POSTFreeShippingPromotions201ResponseDataRelationships) GetMarketOk() (*POSTBundles201ResponseDataRelationshipsMarket, bool) { if o == nil || IsNil(o.Market) { return nil, false } @@ -78,8 +78,8 @@ func (o *POSTFreeShippingPromotions201ResponseDataRelationships) HasMarket() boo return false } -// SetMarket gets a reference to the given POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket and assigns it to the Market field. -func (o *POSTFreeShippingPromotions201ResponseDataRelationships) SetMarket(v POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) { +// SetMarket gets a reference to the given POSTBundles201ResponseDataRelationshipsMarket and assigns it to the Market field. +func (o *POSTFreeShippingPromotions201ResponseDataRelationships) SetMarket(v POSTBundles201ResponseDataRelationshipsMarket) { o.Market = &v } diff --git a/api/model_post_gift_card_recipients_201_response.go b/api/model_post_gift_card_recipients_201_response.go index a56efc000..61ba2f109 100644 --- a/api/model_post_gift_card_recipients_201_response.go +++ b/api/model_post_gift_card_recipients_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_gift_card_recipients_201_response_data.go b/api/model_post_gift_card_recipients_201_response_data.go index c842567f7..54acf8e5b 100644 --- a/api/model_post_gift_card_recipients_201_response_data.go +++ b/api/model_post_gift_card_recipients_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_gift_cards_201_response.go b/api/model_post_gift_cards_201_response.go index 26ba9bde3..6bed1ba0f 100644 --- a/api/model_post_gift_cards_201_response.go +++ b/api/model_post_gift_cards_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_gift_cards_201_response_data.go b/api/model_post_gift_cards_201_response_data.go index c178eaabf..6a900fd02 100644 --- a/api/model_post_gift_cards_201_response_data.go +++ b/api/model_post_gift_cards_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_gift_cards_201_response_data_attributes.go b/api/model_post_gift_cards_201_response_data_attributes.go index d5c1cf503..2adb73ce5 100644 --- a/api/model_post_gift_cards_201_response_data_attributes.go +++ b/api/model_post_gift_cards_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_gift_cards_201_response_data_relationships.go b/api/model_post_gift_cards_201_response_data_relationships.go index c99847039..9ff9d6382 100644 --- a/api/model_post_gift_cards_201_response_data_relationships.go +++ b/api/model_post_gift_cards_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,7 +20,7 @@ var _ MappedNullable = &POSTGiftCards201ResponseDataRelationships{} // POSTGiftCards201ResponseDataRelationships struct for POSTGiftCards201ResponseDataRelationships type POSTGiftCards201ResponseDataRelationships struct { - Market *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket `json:"market,omitempty"` + Market *POSTBundles201ResponseDataRelationshipsMarket `json:"market,omitempty"` GiftCardRecipient *POSTGiftCards201ResponseDataRelationshipsGiftCardRecipient `json:"gift_card_recipient,omitempty"` Attachments *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments `json:"attachments,omitempty"` Events *POSTAddresses201ResponseDataRelationshipsEvents `json:"events,omitempty"` @@ -46,9 +46,9 @@ func NewPOSTGiftCards201ResponseDataRelationshipsWithDefaults() *POSTGiftCards20 } // GetMarket returns the Market field value if set, zero value otherwise. -func (o *POSTGiftCards201ResponseDataRelationships) GetMarket() POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket { +func (o *POSTGiftCards201ResponseDataRelationships) GetMarket() POSTBundles201ResponseDataRelationshipsMarket { if o == nil || IsNil(o.Market) { - var ret POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket + var ret POSTBundles201ResponseDataRelationshipsMarket return ret } return *o.Market @@ -56,7 +56,7 @@ func (o *POSTGiftCards201ResponseDataRelationships) GetMarket() POSTBillingInfoV // GetMarketOk returns a tuple with the Market field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *POSTGiftCards201ResponseDataRelationships) GetMarketOk() (*POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket, bool) { +func (o *POSTGiftCards201ResponseDataRelationships) GetMarketOk() (*POSTBundles201ResponseDataRelationshipsMarket, bool) { if o == nil || IsNil(o.Market) { return nil, false } @@ -72,8 +72,8 @@ func (o *POSTGiftCards201ResponseDataRelationships) HasMarket() bool { return false } -// SetMarket gets a reference to the given POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket and assigns it to the Market field. -func (o *POSTGiftCards201ResponseDataRelationships) SetMarket(v POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) { +// SetMarket gets a reference to the given POSTBundles201ResponseDataRelationshipsMarket and assigns it to the Market field. +func (o *POSTGiftCards201ResponseDataRelationships) SetMarket(v POSTBundles201ResponseDataRelationshipsMarket) { o.Market = &v } diff --git a/api/model_post_gift_cards_201_response_data_relationships_gift_card_recipient.go b/api/model_post_gift_cards_201_response_data_relationships_gift_card_recipient.go index 438b49845..8777f3940 100644 --- a/api/model_post_gift_cards_201_response_data_relationships_gift_card_recipient.go +++ b/api/model_post_gift_cards_201_response_data_relationships_gift_card_recipient.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_gift_cards_201_response_data_relationships_gift_card_recipient_data.go b/api/model_post_gift_cards_201_response_data_relationships_gift_card_recipient_data.go index 8ff6ff826..ab672197f 100644 --- a/api/model_post_gift_cards_201_response_data_relationships_gift_card_recipient_data.go +++ b/api/model_post_gift_cards_201_response_data_relationships_gift_card_recipient_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_google_geocoders_201_response.go b/api/model_post_google_geocoders_201_response.go index 5ba22507c..014e95fd0 100644 --- a/api/model_post_google_geocoders_201_response.go +++ b/api/model_post_google_geocoders_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_google_geocoders_201_response_data.go b/api/model_post_google_geocoders_201_response_data.go index 600143616..7571412d2 100644 --- a/api/model_post_google_geocoders_201_response_data.go +++ b/api/model_post_google_geocoders_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_google_geocoders_201_response_data_attributes.go b/api/model_post_google_geocoders_201_response_data_attributes.go index 2301aed3f..559a7cd8c 100644 --- a/api/model_post_google_geocoders_201_response_data_attributes.go +++ b/api/model_post_google_geocoders_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_imports_201_response.go b/api/model_post_imports_201_response.go index 2fbbbcead..1c3bfbedc 100644 --- a/api/model_post_imports_201_response.go +++ b/api/model_post_imports_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_imports_201_response_data.go b/api/model_post_imports_201_response_data.go index 09474dd4d..571e3eb59 100644 --- a/api/model_post_imports_201_response_data.go +++ b/api/model_post_imports_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_imports_201_response_data_attributes.go b/api/model_post_imports_201_response_data_attributes.go index 345fb1062..a4cf0574a 100644 --- a/api/model_post_imports_201_response_data_attributes.go +++ b/api/model_post_imports_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_in_stock_subscriptions_201_response.go b/api/model_post_in_stock_subscriptions_201_response.go index cae5772a2..f3eb06f83 100644 --- a/api/model_post_in_stock_subscriptions_201_response.go +++ b/api/model_post_in_stock_subscriptions_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_in_stock_subscriptions_201_response_data.go b/api/model_post_in_stock_subscriptions_201_response_data.go index 3b447265e..aeebfc358 100644 --- a/api/model_post_in_stock_subscriptions_201_response_data.go +++ b/api/model_post_in_stock_subscriptions_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_in_stock_subscriptions_201_response_data_attributes.go b/api/model_post_in_stock_subscriptions_201_response_data_attributes.go index fe8038671..ab4359f43 100644 --- a/api/model_post_in_stock_subscriptions_201_response_data_attributes.go +++ b/api/model_post_in_stock_subscriptions_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_in_stock_subscriptions_201_response_data_relationships.go b/api/model_post_in_stock_subscriptions_201_response_data_relationships.go index 31acdc354..d285daf56 100644 --- a/api/model_post_in_stock_subscriptions_201_response_data_relationships.go +++ b/api/model_post_in_stock_subscriptions_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,11 +20,11 @@ var _ MappedNullable = &POSTInStockSubscriptions201ResponseDataRelationships{} // POSTInStockSubscriptions201ResponseDataRelationships struct for POSTInStockSubscriptions201ResponseDataRelationships type POSTInStockSubscriptions201ResponseDataRelationships struct { - Market *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket `json:"market,omitempty"` - Customer *POSTCouponRecipients201ResponseDataRelationshipsCustomer `json:"customer,omitempty"` - Sku *POSTInStockSubscriptions201ResponseDataRelationshipsSku `json:"sku,omitempty"` - Events *POSTAddresses201ResponseDataRelationshipsEvents `json:"events,omitempty"` - Versions *POSTAddresses201ResponseDataRelationshipsVersions `json:"versions,omitempty"` + Market *POSTBundles201ResponseDataRelationshipsMarket `json:"market,omitempty"` + Customer *POSTCouponRecipients201ResponseDataRelationshipsCustomer `json:"customer,omitempty"` + Sku *POSTInStockSubscriptions201ResponseDataRelationshipsSku `json:"sku,omitempty"` + Events *POSTAddresses201ResponseDataRelationshipsEvents `json:"events,omitempty"` + Versions *POSTAddresses201ResponseDataRelationshipsVersions `json:"versions,omitempty"` } // NewPOSTInStockSubscriptions201ResponseDataRelationships instantiates a new POSTInStockSubscriptions201ResponseDataRelationships object @@ -45,9 +45,9 @@ func NewPOSTInStockSubscriptions201ResponseDataRelationshipsWithDefaults() *POST } // GetMarket returns the Market field value if set, zero value otherwise. -func (o *POSTInStockSubscriptions201ResponseDataRelationships) GetMarket() POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket { +func (o *POSTInStockSubscriptions201ResponseDataRelationships) GetMarket() POSTBundles201ResponseDataRelationshipsMarket { if o == nil || IsNil(o.Market) { - var ret POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket + var ret POSTBundles201ResponseDataRelationshipsMarket return ret } return *o.Market @@ -55,7 +55,7 @@ func (o *POSTInStockSubscriptions201ResponseDataRelationships) GetMarket() POSTB // GetMarketOk returns a tuple with the Market field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *POSTInStockSubscriptions201ResponseDataRelationships) GetMarketOk() (*POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket, bool) { +func (o *POSTInStockSubscriptions201ResponseDataRelationships) GetMarketOk() (*POSTBundles201ResponseDataRelationshipsMarket, bool) { if o == nil || IsNil(o.Market) { return nil, false } @@ -71,8 +71,8 @@ func (o *POSTInStockSubscriptions201ResponseDataRelationships) HasMarket() bool return false } -// SetMarket gets a reference to the given POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket and assigns it to the Market field. -func (o *POSTInStockSubscriptions201ResponseDataRelationships) SetMarket(v POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) { +// SetMarket gets a reference to the given POSTBundles201ResponseDataRelationshipsMarket and assigns it to the Market field. +func (o *POSTInStockSubscriptions201ResponseDataRelationships) SetMarket(v POSTBundles201ResponseDataRelationshipsMarket) { o.Market = &v } diff --git a/api/model_post_in_stock_subscriptions_201_response_data_relationships_sku.go b/api/model_post_in_stock_subscriptions_201_response_data_relationships_sku.go index 4f005467a..9d46956ea 100644 --- a/api/model_post_in_stock_subscriptions_201_response_data_relationships_sku.go +++ b/api/model_post_in_stock_subscriptions_201_response_data_relationships_sku.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_in_stock_subscriptions_201_response_data_relationships_sku_data.go b/api/model_post_in_stock_subscriptions_201_response_data_relationships_sku_data.go index 1301f2e12..8ab5cf019 100644 --- a/api/model_post_in_stock_subscriptions_201_response_data_relationships_sku_data.go +++ b/api/model_post_in_stock_subscriptions_201_response_data_relationships_sku_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_inventory_models_201_response.go b/api/model_post_inventory_models_201_response.go index 8cca0f3a3..b3d5aa4c5 100644 --- a/api/model_post_inventory_models_201_response.go +++ b/api/model_post_inventory_models_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_inventory_models_201_response_data.go b/api/model_post_inventory_models_201_response_data.go index d39be4ed1..e48d01177 100644 --- a/api/model_post_inventory_models_201_response_data.go +++ b/api/model_post_inventory_models_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_inventory_models_201_response_data_attributes.go b/api/model_post_inventory_models_201_response_data_attributes.go index c701dab84..9919fada3 100644 --- a/api/model_post_inventory_models_201_response_data_attributes.go +++ b/api/model_post_inventory_models_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_inventory_models_201_response_data_relationships.go b/api/model_post_inventory_models_201_response_data_relationships.go index 53b51edb0..b4ebc515b 100644 --- a/api/model_post_inventory_models_201_response_data_relationships.go +++ b/api/model_post_inventory_models_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_inventory_models_201_response_data_relationships_inventory_return_locations.go b/api/model_post_inventory_models_201_response_data_relationships_inventory_return_locations.go index 32d6a59f9..3b2399a15 100644 --- a/api/model_post_inventory_models_201_response_data_relationships_inventory_return_locations.go +++ b/api/model_post_inventory_models_201_response_data_relationships_inventory_return_locations.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_inventory_models_201_response_data_relationships_inventory_return_locations_data.go b/api/model_post_inventory_models_201_response_data_relationships_inventory_return_locations_data.go index 9527f16e6..2a1d03f6c 100644 --- a/api/model_post_inventory_models_201_response_data_relationships_inventory_return_locations_data.go +++ b/api/model_post_inventory_models_201_response_data_relationships_inventory_return_locations_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_inventory_models_201_response_data_relationships_inventory_stock_locations.go b/api/model_post_inventory_models_201_response_data_relationships_inventory_stock_locations.go index 49d22ec8d..85cf74248 100644 --- a/api/model_post_inventory_models_201_response_data_relationships_inventory_stock_locations.go +++ b/api/model_post_inventory_models_201_response_data_relationships_inventory_stock_locations.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_inventory_models_201_response_data_relationships_inventory_stock_locations_data.go b/api/model_post_inventory_models_201_response_data_relationships_inventory_stock_locations_data.go index 6db678466..68adfde6f 100644 --- a/api/model_post_inventory_models_201_response_data_relationships_inventory_stock_locations_data.go +++ b/api/model_post_inventory_models_201_response_data_relationships_inventory_stock_locations_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_inventory_return_locations_201_response.go b/api/model_post_inventory_return_locations_201_response.go index 3a0be37fa..7f6f91c0e 100644 --- a/api/model_post_inventory_return_locations_201_response.go +++ b/api/model_post_inventory_return_locations_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_inventory_return_locations_201_response_data.go b/api/model_post_inventory_return_locations_201_response_data.go index 471a084a8..33fa78355 100644 --- a/api/model_post_inventory_return_locations_201_response_data.go +++ b/api/model_post_inventory_return_locations_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_inventory_return_locations_201_response_data_attributes.go b/api/model_post_inventory_return_locations_201_response_data_attributes.go index a678b1f62..b35141595 100644 --- a/api/model_post_inventory_return_locations_201_response_data_attributes.go +++ b/api/model_post_inventory_return_locations_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_inventory_return_locations_201_response_data_relationships.go b/api/model_post_inventory_return_locations_201_response_data_relationships.go index e64406308..3a131cb4e 100644 --- a/api/model_post_inventory_return_locations_201_response_data_relationships.go +++ b/api/model_post_inventory_return_locations_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_inventory_return_locations_201_response_data_relationships_inventory_model.go b/api/model_post_inventory_return_locations_201_response_data_relationships_inventory_model.go index 2e052e324..b802a5dc3 100644 --- a/api/model_post_inventory_return_locations_201_response_data_relationships_inventory_model.go +++ b/api/model_post_inventory_return_locations_201_response_data_relationships_inventory_model.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_inventory_return_locations_201_response_data_relationships_inventory_model_data.go b/api/model_post_inventory_return_locations_201_response_data_relationships_inventory_model_data.go index 6f415af66..8f9c5275d 100644 --- a/api/model_post_inventory_return_locations_201_response_data_relationships_inventory_model_data.go +++ b/api/model_post_inventory_return_locations_201_response_data_relationships_inventory_model_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_inventory_stock_locations_201_response.go b/api/model_post_inventory_stock_locations_201_response.go index 4a63548d2..18799e637 100644 --- a/api/model_post_inventory_stock_locations_201_response.go +++ b/api/model_post_inventory_stock_locations_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_inventory_stock_locations_201_response_data.go b/api/model_post_inventory_stock_locations_201_response_data.go index b88803405..cf2814076 100644 --- a/api/model_post_inventory_stock_locations_201_response_data.go +++ b/api/model_post_inventory_stock_locations_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_inventory_stock_locations_201_response_data_attributes.go b/api/model_post_inventory_stock_locations_201_response_data_attributes.go index cb32de8bc..ba3986c32 100644 --- a/api/model_post_inventory_stock_locations_201_response_data_attributes.go +++ b/api/model_post_inventory_stock_locations_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_klarna_gateways_201_response.go b/api/model_post_klarna_gateways_201_response.go index 4620ff1fc..073c99ccb 100644 --- a/api/model_post_klarna_gateways_201_response.go +++ b/api/model_post_klarna_gateways_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_klarna_gateways_201_response_data.go b/api/model_post_klarna_gateways_201_response_data.go index 74b7e7a47..52e3c85ef 100644 --- a/api/model_post_klarna_gateways_201_response_data.go +++ b/api/model_post_klarna_gateways_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_klarna_gateways_201_response_data_attributes.go b/api/model_post_klarna_gateways_201_response_data_attributes.go index 3e72a4122..32c3b7e6b 100644 --- a/api/model_post_klarna_gateways_201_response_data_attributes.go +++ b/api/model_post_klarna_gateways_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_klarna_gateways_201_response_data_relationships.go b/api/model_post_klarna_gateways_201_response_data_relationships.go index ebf324221..2974b0d35 100644 --- a/api/model_post_klarna_gateways_201_response_data_relationships.go +++ b/api/model_post_klarna_gateways_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_klarna_gateways_201_response_data_relationships_klarna_payments.go b/api/model_post_klarna_gateways_201_response_data_relationships_klarna_payments.go index 8c91a1ea9..4b92bd755 100644 --- a/api/model_post_klarna_gateways_201_response_data_relationships_klarna_payments.go +++ b/api/model_post_klarna_gateways_201_response_data_relationships_klarna_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_klarna_gateways_201_response_data_relationships_klarna_payments_data.go b/api/model_post_klarna_gateways_201_response_data_relationships_klarna_payments_data.go index 8b781799b..839ccb2f3 100644 --- a/api/model_post_klarna_gateways_201_response_data_relationships_klarna_payments_data.go +++ b/api/model_post_klarna_gateways_201_response_data_relationships_klarna_payments_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_klarna_payments_201_response.go b/api/model_post_klarna_payments_201_response.go index 5b2847356..136143513 100644 --- a/api/model_post_klarna_payments_201_response.go +++ b/api/model_post_klarna_payments_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_klarna_payments_201_response_data.go b/api/model_post_klarna_payments_201_response_data.go index 5ee715db2..94238be4a 100644 --- a/api/model_post_klarna_payments_201_response_data.go +++ b/api/model_post_klarna_payments_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_line_item_options_201_response.go b/api/model_post_line_item_options_201_response.go index 1a2629e0c..4fbeb1df3 100644 --- a/api/model_post_line_item_options_201_response.go +++ b/api/model_post_line_item_options_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_line_item_options_201_response_data.go b/api/model_post_line_item_options_201_response_data.go index 7d076bb3d..3c3599aa5 100644 --- a/api/model_post_line_item_options_201_response_data.go +++ b/api/model_post_line_item_options_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_line_item_options_201_response_data_attributes.go b/api/model_post_line_item_options_201_response_data_attributes.go index f2a4c8093..a77aa74e7 100644 --- a/api/model_post_line_item_options_201_response_data_attributes.go +++ b/api/model_post_line_item_options_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_line_item_options_201_response_data_relationships.go b/api/model_post_line_item_options_201_response_data_relationships.go index 70d0f6e39..58e7b52d0 100644 --- a/api/model_post_line_item_options_201_response_data_relationships.go +++ b/api/model_post_line_item_options_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_line_item_options_201_response_data_relationships_line_item.go b/api/model_post_line_item_options_201_response_data_relationships_line_item.go index d7cc0f866..403d6e566 100644 --- a/api/model_post_line_item_options_201_response_data_relationships_line_item.go +++ b/api/model_post_line_item_options_201_response_data_relationships_line_item.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_line_item_options_201_response_data_relationships_line_item_data.go b/api/model_post_line_item_options_201_response_data_relationships_line_item_data.go index 487482bbc..89346925a 100644 --- a/api/model_post_line_item_options_201_response_data_relationships_line_item_data.go +++ b/api/model_post_line_item_options_201_response_data_relationships_line_item_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_line_item_options_201_response_data_relationships_sku_option.go b/api/model_post_line_item_options_201_response_data_relationships_sku_option.go index 76b46ee8a..ccc9a4017 100644 --- a/api/model_post_line_item_options_201_response_data_relationships_sku_option.go +++ b/api/model_post_line_item_options_201_response_data_relationships_sku_option.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_line_item_options_201_response_data_relationships_sku_option_data.go b/api/model_post_line_item_options_201_response_data_relationships_sku_option_data.go index 9af01069c..0241a0032 100644 --- a/api/model_post_line_item_options_201_response_data_relationships_sku_option_data.go +++ b/api/model_post_line_item_options_201_response_data_relationships_sku_option_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_line_items_201_response.go b/api/model_post_line_items_201_response.go index ff10a660d..70356d4e8 100644 --- a/api/model_post_line_items_201_response.go +++ b/api/model_post_line_items_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_line_items_201_response_data.go b/api/model_post_line_items_201_response_data.go index 185fa62ef..950b7e862 100644 --- a/api/model_post_line_items_201_response_data.go +++ b/api/model_post_line_items_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_line_items_201_response_data_attributes.go b/api/model_post_line_items_201_response_data_attributes.go index 61d3af218..9aee081d1 100644 --- a/api/model_post_line_items_201_response_data_attributes.go +++ b/api/model_post_line_items_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -32,7 +32,7 @@ type POSTLineItems201ResponseDataAttributes struct { UpdateQuantity interface{} `json:"_update_quantity,omitempty"` // Send this attribute if you want to reserve the stock for the line item's SKUs quantity. Stock reservations expiration depends on the inventory model's cutoff. When used on update the existing active stock reservations are renewed. Cannot be passed by sales channels. ReserveStock interface{} `json:"_reserve_stock,omitempty"` - // The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. + // The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. Cannot be passed by sales channels. UnitAmountCents interface{} `json:"unit_amount_cents,omitempty"` // The compared price amount, in cents. Useful to display a percentage discount. CompareAtAmountCents interface{} `json:"compare_at_amount_cents,omitempty"` @@ -40,7 +40,7 @@ type POSTLineItems201ResponseDataAttributes struct { Name interface{} `json:"name,omitempty"` // The image_url of the line item. When blank, it gets populated with the image_url of the associated item (if present, SKU only). ImageUrl interface{} `json:"image_url,omitempty"` - // The type of the associated item. One of 'skus', 'bundles', 'gift_cards', 'shipments', 'payment_methods', 'adjustments', 'percentage_discount_promotions', 'free_shipping_promotions', 'buy_x_pay_y_promotions', 'free_gift_promotions', 'fixed_price_promotions', 'external_promotions', 'fixed_amount_promotions', or 'flex_promotions'. + // The type of the associated item. One of 'skus', 'bundles', 'gift_cards', 'shipments', 'payment_methods', 'adjustments', 'discount_engine_items', 'percentage_discount_promotions', 'free_shipping_promotions', 'buy_x_pay_y_promotions', 'free_gift_promotions', 'fixed_price_promotions', 'external_promotions', 'fixed_amount_promotions', or 'flex_promotions'. ItemType interface{} `json:"item_type,omitempty"` // The frequency which generates a subscription. Must be supported by existing associated subscription_model. Frequency interface{} `json:"frequency,omitempty"` diff --git a/api/model_post_line_items_201_response_data_relationships.go b/api/model_post_line_items_201_response_data_relationships.go index 6ae06a915..68220fcdb 100644 --- a/api/model_post_line_items_201_response_data_relationships.go +++ b/api/model_post_line_items_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -33,6 +33,7 @@ type POSTLineItems201ResponseDataRelationships struct { StockReservations *POSTLineItems201ResponseDataRelationshipsStockReservations `json:"stock_reservations,omitempty"` StockLineItems *POSTLineItems201ResponseDataRelationshipsStockLineItems `json:"stock_line_items,omitempty"` StockTransfers *POSTLineItems201ResponseDataRelationshipsStockTransfers `json:"stock_transfers,omitempty"` + Notifications *POSTLineItems201ResponseDataRelationshipsNotifications `json:"notifications,omitempty"` Events *POSTAddresses201ResponseDataRelationshipsEvents `json:"events,omitempty"` Tags *POSTAddresses201ResponseDataRelationshipsTags `json:"tags,omitempty"` } @@ -470,6 +471,38 @@ func (o *POSTLineItems201ResponseDataRelationships) SetStockTransfers(v POSTLine o.StockTransfers = &v } +// GetNotifications returns the Notifications field value if set, zero value otherwise. +func (o *POSTLineItems201ResponseDataRelationships) GetNotifications() POSTLineItems201ResponseDataRelationshipsNotifications { + if o == nil || IsNil(o.Notifications) { + var ret POSTLineItems201ResponseDataRelationshipsNotifications + return ret + } + return *o.Notifications +} + +// GetNotificationsOk returns a tuple with the Notifications field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTLineItems201ResponseDataRelationships) GetNotificationsOk() (*POSTLineItems201ResponseDataRelationshipsNotifications, bool) { + if o == nil || IsNil(o.Notifications) { + return nil, false + } + return o.Notifications, true +} + +// HasNotifications returns a boolean if a field has been set. +func (o *POSTLineItems201ResponseDataRelationships) HasNotifications() bool { + if o != nil && !IsNil(o.Notifications) { + return true + } + + return false +} + +// SetNotifications gets a reference to the given POSTLineItems201ResponseDataRelationshipsNotifications and assigns it to the Notifications field. +func (o *POSTLineItems201ResponseDataRelationships) SetNotifications(v POSTLineItems201ResponseDataRelationshipsNotifications) { + o.Notifications = &v +} + // GetEvents returns the Events field value if set, zero value otherwise. func (o *POSTLineItems201ResponseDataRelationships) GetEvents() POSTAddresses201ResponseDataRelationshipsEvents { if o == nil || IsNil(o.Events) { @@ -583,6 +616,9 @@ func (o POSTLineItems201ResponseDataRelationships) ToMap() (map[string]interface if !IsNil(o.StockTransfers) { toSerialize["stock_transfers"] = o.StockTransfers } + if !IsNil(o.Notifications) { + toSerialize["notifications"] = o.Notifications + } if !IsNil(o.Events) { toSerialize["events"] = o.Events } diff --git a/api/model_post_line_items_201_response_data_relationships_adjustment.go b/api/model_post_line_items_201_response_data_relationships_adjustment.go index bb1c8c5ec..f4d570f01 100644 --- a/api/model_post_line_items_201_response_data_relationships_adjustment.go +++ b/api/model_post_line_items_201_response_data_relationships_adjustment.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_line_items_201_response_data_relationships_adjustment_data.go b/api/model_post_line_items_201_response_data_relationships_adjustment_data.go index 91d7dfead..c374a57c6 100644 --- a/api/model_post_line_items_201_response_data_relationships_adjustment_data.go +++ b/api/model_post_line_items_201_response_data_relationships_adjustment_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_line_items_201_response_data_relationships_bundle.go b/api/model_post_line_items_201_response_data_relationships_bundle.go index 81db2c147..e22e5112d 100644 --- a/api/model_post_line_items_201_response_data_relationships_bundle.go +++ b/api/model_post_line_items_201_response_data_relationships_bundle.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_line_items_201_response_data_relationships_bundle_data.go b/api/model_post_line_items_201_response_data_relationships_bundle_data.go index d86f4f221..c450ae93a 100644 --- a/api/model_post_line_items_201_response_data_relationships_bundle_data.go +++ b/api/model_post_line_items_201_response_data_relationships_bundle_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_line_items_201_response_data_relationships_gift_card.go b/api/model_post_line_items_201_response_data_relationships_gift_card.go index cb72ff818..da7e1222c 100644 --- a/api/model_post_line_items_201_response_data_relationships_gift_card.go +++ b/api/model_post_line_items_201_response_data_relationships_gift_card.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_line_items_201_response_data_relationships_gift_card_data.go b/api/model_post_line_items_201_response_data_relationships_gift_card_data.go index 4ccab68a0..5501652e1 100644 --- a/api/model_post_line_items_201_response_data_relationships_gift_card_data.go +++ b/api/model_post_line_items_201_response_data_relationships_gift_card_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_line_items_201_response_data_relationships_item.go b/api/model_post_line_items_201_response_data_relationships_item.go index 862caa7ac..09bb856ad 100644 --- a/api/model_post_line_items_201_response_data_relationships_item.go +++ b/api/model_post_line_items_201_response_data_relationships_item.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_line_items_201_response_data_relationships_item_data.go b/api/model_post_line_items_201_response_data_relationships_item_data.go index cc1097c8e..abf7b42dc 100644 --- a/api/model_post_line_items_201_response_data_relationships_item_data.go +++ b/api/model_post_line_items_201_response_data_relationships_item_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_line_items_201_response_data_relationships_line_item_options.go b/api/model_post_line_items_201_response_data_relationships_line_item_options.go index 5c3f48367..8b5a96f41 100644 --- a/api/model_post_line_items_201_response_data_relationships_line_item_options.go +++ b/api/model_post_line_items_201_response_data_relationships_line_item_options.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_line_items_201_response_data_relationships_line_item_options_data.go b/api/model_post_line_items_201_response_data_relationships_line_item_options_data.go index 6fd9b3658..8dd04b0ce 100644 --- a/api/model_post_line_items_201_response_data_relationships_line_item_options_data.go +++ b/api/model_post_line_items_201_response_data_relationships_line_item_options_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_line_items_201_response_data_relationships_notifications.go b/api/model_post_line_items_201_response_data_relationships_notifications.go new file mode 100644 index 000000000..2a4f9e4c7 --- /dev/null +++ b/api/model_post_line_items_201_response_data_relationships_notifications.go @@ -0,0 +1,161 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the POSTLineItems201ResponseDataRelationshipsNotifications type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &POSTLineItems201ResponseDataRelationshipsNotifications{} + +// POSTLineItems201ResponseDataRelationshipsNotifications struct for POSTLineItems201ResponseDataRelationshipsNotifications +type POSTLineItems201ResponseDataRelationshipsNotifications struct { + Links *POSTAddresses201ResponseDataRelationshipsGeocoderLinks `json:"links,omitempty"` + Data *POSTLineItems201ResponseDataRelationshipsNotificationsData `json:"data,omitempty"` +} + +// NewPOSTLineItems201ResponseDataRelationshipsNotifications instantiates a new POSTLineItems201ResponseDataRelationshipsNotifications object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPOSTLineItems201ResponseDataRelationshipsNotifications() *POSTLineItems201ResponseDataRelationshipsNotifications { + this := POSTLineItems201ResponseDataRelationshipsNotifications{} + return &this +} + +// NewPOSTLineItems201ResponseDataRelationshipsNotificationsWithDefaults instantiates a new POSTLineItems201ResponseDataRelationshipsNotifications object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPOSTLineItems201ResponseDataRelationshipsNotificationsWithDefaults() *POSTLineItems201ResponseDataRelationshipsNotifications { + this := POSTLineItems201ResponseDataRelationshipsNotifications{} + return &this +} + +// GetLinks returns the Links field value if set, zero value otherwise. +func (o *POSTLineItems201ResponseDataRelationshipsNotifications) GetLinks() POSTAddresses201ResponseDataRelationshipsGeocoderLinks { + if o == nil || IsNil(o.Links) { + var ret POSTAddresses201ResponseDataRelationshipsGeocoderLinks + return ret + } + return *o.Links +} + +// GetLinksOk returns a tuple with the Links field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTLineItems201ResponseDataRelationshipsNotifications) GetLinksOk() (*POSTAddresses201ResponseDataRelationshipsGeocoderLinks, bool) { + if o == nil || IsNil(o.Links) { + return nil, false + } + return o.Links, true +} + +// HasLinks returns a boolean if a field has been set. +func (o *POSTLineItems201ResponseDataRelationshipsNotifications) HasLinks() bool { + if o != nil && !IsNil(o.Links) { + return true + } + + return false +} + +// SetLinks gets a reference to the given POSTAddresses201ResponseDataRelationshipsGeocoderLinks and assigns it to the Links field. +func (o *POSTLineItems201ResponseDataRelationshipsNotifications) SetLinks(v POSTAddresses201ResponseDataRelationshipsGeocoderLinks) { + o.Links = &v +} + +// GetData returns the Data field value if set, zero value otherwise. +func (o *POSTLineItems201ResponseDataRelationshipsNotifications) GetData() POSTLineItems201ResponseDataRelationshipsNotificationsData { + if o == nil || IsNil(o.Data) { + var ret POSTLineItems201ResponseDataRelationshipsNotificationsData + return ret + } + return *o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTLineItems201ResponseDataRelationshipsNotifications) GetDataOk() (*POSTLineItems201ResponseDataRelationshipsNotificationsData, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *POSTLineItems201ResponseDataRelationshipsNotifications) HasData() bool { + if o != nil && !IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given POSTLineItems201ResponseDataRelationshipsNotificationsData and assigns it to the Data field. +func (o *POSTLineItems201ResponseDataRelationshipsNotifications) SetData(v POSTLineItems201ResponseDataRelationshipsNotificationsData) { + o.Data = &v +} + +func (o POSTLineItems201ResponseDataRelationshipsNotifications) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o POSTLineItems201ResponseDataRelationshipsNotifications) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Links) { + toSerialize["links"] = o.Links + } + if !IsNil(o.Data) { + toSerialize["data"] = o.Data + } + return toSerialize, nil +} + +type NullablePOSTLineItems201ResponseDataRelationshipsNotifications struct { + value *POSTLineItems201ResponseDataRelationshipsNotifications + isSet bool +} + +func (v NullablePOSTLineItems201ResponseDataRelationshipsNotifications) Get() *POSTLineItems201ResponseDataRelationshipsNotifications { + return v.value +} + +func (v *NullablePOSTLineItems201ResponseDataRelationshipsNotifications) Set(val *POSTLineItems201ResponseDataRelationshipsNotifications) { + v.value = val + v.isSet = true +} + +func (v NullablePOSTLineItems201ResponseDataRelationshipsNotifications) IsSet() bool { + return v.isSet +} + +func (v *NullablePOSTLineItems201ResponseDataRelationshipsNotifications) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePOSTLineItems201ResponseDataRelationshipsNotifications(val *POSTLineItems201ResponseDataRelationshipsNotifications) *NullablePOSTLineItems201ResponseDataRelationshipsNotifications { + return &NullablePOSTLineItems201ResponseDataRelationshipsNotifications{value: val, isSet: true} +} + +func (v NullablePOSTLineItems201ResponseDataRelationshipsNotifications) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePOSTLineItems201ResponseDataRelationshipsNotifications) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_post_line_items_201_response_data_relationships_notifications_data.go b/api/model_post_line_items_201_response_data_relationships_notifications_data.go new file mode 100644 index 000000000..b12e55036 --- /dev/null +++ b/api/model_post_line_items_201_response_data_relationships_notifications_data.go @@ -0,0 +1,165 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the POSTLineItems201ResponseDataRelationshipsNotificationsData type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &POSTLineItems201ResponseDataRelationshipsNotificationsData{} + +// POSTLineItems201ResponseDataRelationshipsNotificationsData struct for POSTLineItems201ResponseDataRelationshipsNotificationsData +type POSTLineItems201ResponseDataRelationshipsNotificationsData struct { + // The resource's type + Type interface{} `json:"type,omitempty"` + // The resource ID + Id interface{} `json:"id,omitempty"` +} + +// NewPOSTLineItems201ResponseDataRelationshipsNotificationsData instantiates a new POSTLineItems201ResponseDataRelationshipsNotificationsData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPOSTLineItems201ResponseDataRelationshipsNotificationsData() *POSTLineItems201ResponseDataRelationshipsNotificationsData { + this := POSTLineItems201ResponseDataRelationshipsNotificationsData{} + return &this +} + +// NewPOSTLineItems201ResponseDataRelationshipsNotificationsDataWithDefaults instantiates a new POSTLineItems201ResponseDataRelationshipsNotificationsData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPOSTLineItems201ResponseDataRelationshipsNotificationsDataWithDefaults() *POSTLineItems201ResponseDataRelationshipsNotificationsData { + this := POSTLineItems201ResponseDataRelationshipsNotificationsData{} + return &this +} + +// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTLineItems201ResponseDataRelationshipsNotificationsData) GetType() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *POSTLineItems201ResponseDataRelationshipsNotificationsData) GetTypeOk() (*interface{}, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return &o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *POSTLineItems201ResponseDataRelationshipsNotificationsData) HasType() bool { + if o != nil && IsNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given interface{} and assigns it to the Type field. +func (o *POSTLineItems201ResponseDataRelationshipsNotificationsData) SetType(v interface{}) { + o.Type = v +} + +// GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTLineItems201ResponseDataRelationshipsNotificationsData) GetId() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *POSTLineItems201ResponseDataRelationshipsNotificationsData) GetIdOk() (*interface{}, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return &o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *POSTLineItems201ResponseDataRelationshipsNotificationsData) HasId() bool { + if o != nil && IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given interface{} and assigns it to the Id field. +func (o *POSTLineItems201ResponseDataRelationshipsNotificationsData) SetId(v interface{}) { + o.Id = v +} + +func (o POSTLineItems201ResponseDataRelationshipsNotificationsData) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o POSTLineItems201ResponseDataRelationshipsNotificationsData) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Type != nil { + toSerialize["type"] = o.Type + } + if o.Id != nil { + toSerialize["id"] = o.Id + } + return toSerialize, nil +} + +type NullablePOSTLineItems201ResponseDataRelationshipsNotificationsData struct { + value *POSTLineItems201ResponseDataRelationshipsNotificationsData + isSet bool +} + +func (v NullablePOSTLineItems201ResponseDataRelationshipsNotificationsData) Get() *POSTLineItems201ResponseDataRelationshipsNotificationsData { + return v.value +} + +func (v *NullablePOSTLineItems201ResponseDataRelationshipsNotificationsData) Set(val *POSTLineItems201ResponseDataRelationshipsNotificationsData) { + v.value = val + v.isSet = true +} + +func (v NullablePOSTLineItems201ResponseDataRelationshipsNotificationsData) IsSet() bool { + return v.isSet +} + +func (v *NullablePOSTLineItems201ResponseDataRelationshipsNotificationsData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePOSTLineItems201ResponseDataRelationshipsNotificationsData(val *POSTLineItems201ResponseDataRelationshipsNotificationsData) *NullablePOSTLineItems201ResponseDataRelationshipsNotificationsData { + return &NullablePOSTLineItems201ResponseDataRelationshipsNotificationsData{value: val, isSet: true} +} + +func (v NullablePOSTLineItems201ResponseDataRelationshipsNotificationsData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePOSTLineItems201ResponseDataRelationshipsNotificationsData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_post_line_items_201_response_data_relationships_return_line_items.go b/api/model_post_line_items_201_response_data_relationships_return_line_items.go index de9f1b6a1..998ed807f 100644 --- a/api/model_post_line_items_201_response_data_relationships_return_line_items.go +++ b/api/model_post_line_items_201_response_data_relationships_return_line_items.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_line_items_201_response_data_relationships_return_line_items_data.go b/api/model_post_line_items_201_response_data_relationships_return_line_items_data.go index ee3f86fb6..c5179f4e1 100644 --- a/api/model_post_line_items_201_response_data_relationships_return_line_items_data.go +++ b/api/model_post_line_items_201_response_data_relationships_return_line_items_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_line_items_201_response_data_relationships_shipment.go b/api/model_post_line_items_201_response_data_relationships_shipment.go index a7c56e58d..b4ee94445 100644 --- a/api/model_post_line_items_201_response_data_relationships_shipment.go +++ b/api/model_post_line_items_201_response_data_relationships_shipment.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_line_items_201_response_data_relationships_shipment_data.go b/api/model_post_line_items_201_response_data_relationships_shipment_data.go index 2f69539eb..e2c07e78c 100644 --- a/api/model_post_line_items_201_response_data_relationships_shipment_data.go +++ b/api/model_post_line_items_201_response_data_relationships_shipment_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_line_items_201_response_data_relationships_stock_line_items.go b/api/model_post_line_items_201_response_data_relationships_stock_line_items.go index 272893f96..f38818ba3 100644 --- a/api/model_post_line_items_201_response_data_relationships_stock_line_items.go +++ b/api/model_post_line_items_201_response_data_relationships_stock_line_items.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_line_items_201_response_data_relationships_stock_line_items_data.go b/api/model_post_line_items_201_response_data_relationships_stock_line_items_data.go index 9a5cc0929..dfdfbe254 100644 --- a/api/model_post_line_items_201_response_data_relationships_stock_line_items_data.go +++ b/api/model_post_line_items_201_response_data_relationships_stock_line_items_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_line_items_201_response_data_relationships_stock_reservations.go b/api/model_post_line_items_201_response_data_relationships_stock_reservations.go index a8211f478..10e104c25 100644 --- a/api/model_post_line_items_201_response_data_relationships_stock_reservations.go +++ b/api/model_post_line_items_201_response_data_relationships_stock_reservations.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_line_items_201_response_data_relationships_stock_reservations_data.go b/api/model_post_line_items_201_response_data_relationships_stock_reservations_data.go index 5985a7227..79f896af0 100644 --- a/api/model_post_line_items_201_response_data_relationships_stock_reservations_data.go +++ b/api/model_post_line_items_201_response_data_relationships_stock_reservations_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_line_items_201_response_data_relationships_stock_transfers.go b/api/model_post_line_items_201_response_data_relationships_stock_transfers.go index e8da0017e..991a36232 100644 --- a/api/model_post_line_items_201_response_data_relationships_stock_transfers.go +++ b/api/model_post_line_items_201_response_data_relationships_stock_transfers.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_line_items_201_response_data_relationships_stock_transfers_data.go b/api/model_post_line_items_201_response_data_relationships_stock_transfers_data.go index f8cf13e24..c3b643410 100644 --- a/api/model_post_line_items_201_response_data_relationships_stock_transfers_data.go +++ b/api/model_post_line_items_201_response_data_relationships_stock_transfers_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_links_201_response.go b/api/model_post_links_201_response.go index 9c7f5fffd..99fd61a79 100644 --- a/api/model_post_links_201_response.go +++ b/api/model_post_links_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_links_201_response_data.go b/api/model_post_links_201_response_data.go index b05a5d592..b584ff183 100644 --- a/api/model_post_links_201_response_data.go +++ b/api/model_post_links_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_links_201_response_data_attributes.go b/api/model_post_links_201_response_data_attributes.go index db36778dd..5f40e1784 100644 --- a/api/model_post_links_201_response_data_attributes.go +++ b/api/model_post_links_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_links_201_response_data_relationships.go b/api/model_post_links_201_response_data_relationships.go index 29e8f42b9..993a59701 100644 --- a/api/model_post_links_201_response_data_relationships.go +++ b/api/model_post_links_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_manual_gateways_201_response.go b/api/model_post_manual_gateways_201_response.go index 9ca070132..1f51839d5 100644 --- a/api/model_post_manual_gateways_201_response.go +++ b/api/model_post_manual_gateways_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_manual_gateways_201_response_data.go b/api/model_post_manual_gateways_201_response_data.go index 177f101c4..695104ede 100644 --- a/api/model_post_manual_gateways_201_response_data.go +++ b/api/model_post_manual_gateways_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_manual_gateways_201_response_data_attributes.go b/api/model_post_manual_gateways_201_response_data_attributes.go index f9ba5098c..675eb6dbd 100644 --- a/api/model_post_manual_gateways_201_response_data_attributes.go +++ b/api/model_post_manual_gateways_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_manual_gateways_201_response_data_relationships.go b/api/model_post_manual_gateways_201_response_data_relationships.go index 5801f5e15..ec3c04d3c 100644 --- a/api/model_post_manual_gateways_201_response_data_relationships.go +++ b/api/model_post_manual_gateways_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_manual_tax_calculators_201_response.go b/api/model_post_manual_tax_calculators_201_response.go index 82112f469..fe19e7fc5 100644 --- a/api/model_post_manual_tax_calculators_201_response.go +++ b/api/model_post_manual_tax_calculators_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_manual_tax_calculators_201_response_data.go b/api/model_post_manual_tax_calculators_201_response_data.go index 2a994886e..f29d2390a 100644 --- a/api/model_post_manual_tax_calculators_201_response_data.go +++ b/api/model_post_manual_tax_calculators_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_manual_tax_calculators_201_response_data_attributes.go b/api/model_post_manual_tax_calculators_201_response_data_attributes.go index 68fc6e93b..cb4670166 100644 --- a/api/model_post_manual_tax_calculators_201_response_data_attributes.go +++ b/api/model_post_manual_tax_calculators_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_manual_tax_calculators_201_response_data_relationships.go b/api/model_post_manual_tax_calculators_201_response_data_relationships.go index dc08f5107..dce021a05 100644 --- a/api/model_post_manual_tax_calculators_201_response_data_relationships.go +++ b/api/model_post_manual_tax_calculators_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_manual_tax_calculators_201_response_data_relationships_tax_rules.go b/api/model_post_manual_tax_calculators_201_response_data_relationships_tax_rules.go index a9797871a..181202bd8 100644 --- a/api/model_post_manual_tax_calculators_201_response_data_relationships_tax_rules.go +++ b/api/model_post_manual_tax_calculators_201_response_data_relationships_tax_rules.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_manual_tax_calculators_201_response_data_relationships_tax_rules_data.go b/api/model_post_manual_tax_calculators_201_response_data_relationships_tax_rules_data.go index 69350f1f2..9fb8badbd 100644 --- a/api/model_post_manual_tax_calculators_201_response_data_relationships_tax_rules_data.go +++ b/api/model_post_manual_tax_calculators_201_response_data_relationships_tax_rules_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_markets_201_response.go b/api/model_post_markets_201_response.go index fc2931e56..b70cca283 100644 --- a/api/model_post_markets_201_response.go +++ b/api/model_post_markets_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_markets_201_response_data.go b/api/model_post_markets_201_response_data.go index 3d8630fb3..c6f970492 100644 --- a/api/model_post_markets_201_response_data.go +++ b/api/model_post_markets_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_markets_201_response_data_attributes.go b/api/model_post_markets_201_response_data_attributes.go index b7e1a3a0d..0941f2cef 100644 --- a/api/model_post_markets_201_response_data_attributes.go +++ b/api/model_post_markets_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_markets_201_response_data_relationships.go b/api/model_post_markets_201_response_data_relationships.go index 8f1ef0016..fe457cc34 100644 --- a/api/model_post_markets_201_response_data_relationships.go +++ b/api/model_post_markets_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -28,6 +28,7 @@ type POSTMarkets201ResponseDataRelationships struct { TaxCalculator *POSTMarkets201ResponseDataRelationshipsTaxCalculator `json:"tax_calculator,omitempty"` CustomerGroup *POSTCustomers201ResponseDataRelationshipsCustomerGroup `json:"customer_group,omitempty"` Geocoder *POSTAddresses201ResponseDataRelationshipsGeocoder `json:"geocoder,omitempty"` + Stores *POSTMarkets201ResponseDataRelationshipsStores `json:"stores,omitempty"` PriceListSchedulers *POSTMarkets201ResponseDataRelationshipsPriceListSchedulers `json:"price_list_schedulers,omitempty"` Attachments *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments `json:"attachments,omitempty"` Versions *POSTAddresses201ResponseDataRelationshipsVersions `json:"versions,omitempty"` @@ -306,6 +307,38 @@ func (o *POSTMarkets201ResponseDataRelationships) SetGeocoder(v POSTAddresses201 o.Geocoder = &v } +// GetStores returns the Stores field value if set, zero value otherwise. +func (o *POSTMarkets201ResponseDataRelationships) GetStores() POSTMarkets201ResponseDataRelationshipsStores { + if o == nil || IsNil(o.Stores) { + var ret POSTMarkets201ResponseDataRelationshipsStores + return ret + } + return *o.Stores +} + +// GetStoresOk returns a tuple with the Stores field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTMarkets201ResponseDataRelationships) GetStoresOk() (*POSTMarkets201ResponseDataRelationshipsStores, bool) { + if o == nil || IsNil(o.Stores) { + return nil, false + } + return o.Stores, true +} + +// HasStores returns a boolean if a field has been set. +func (o *POSTMarkets201ResponseDataRelationships) HasStores() bool { + if o != nil && !IsNil(o.Stores) { + return true + } + + return false +} + +// SetStores gets a reference to the given POSTMarkets201ResponseDataRelationshipsStores and assigns it to the Stores field. +func (o *POSTMarkets201ResponseDataRelationships) SetStores(v POSTMarkets201ResponseDataRelationshipsStores) { + o.Stores = &v +} + // GetPriceListSchedulers returns the PriceListSchedulers field value if set, zero value otherwise. func (o *POSTMarkets201ResponseDataRelationships) GetPriceListSchedulers() POSTMarkets201ResponseDataRelationshipsPriceListSchedulers { if o == nil || IsNil(o.PriceListSchedulers) { @@ -436,6 +469,9 @@ func (o POSTMarkets201ResponseDataRelationships) ToMap() (map[string]interface{} if !IsNil(o.Geocoder) { toSerialize["geocoder"] = o.Geocoder } + if !IsNil(o.Stores) { + toSerialize["stores"] = o.Stores + } if !IsNil(o.PriceListSchedulers) { toSerialize["price_list_schedulers"] = o.PriceListSchedulers } diff --git a/api/model_post_markets_201_response_data_relationships_base_price_list.go b/api/model_post_markets_201_response_data_relationships_base_price_list.go index 5fa65a1f4..45ee9d29e 100644 --- a/api/model_post_markets_201_response_data_relationships_base_price_list.go +++ b/api/model_post_markets_201_response_data_relationships_base_price_list.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_markets_201_response_data_relationships_base_price_list_data.go b/api/model_post_markets_201_response_data_relationships_base_price_list_data.go index 5e4f17f5e..e5a58b646 100644 --- a/api/model_post_markets_201_response_data_relationships_base_price_list_data.go +++ b/api/model_post_markets_201_response_data_relationships_base_price_list_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_markets_201_response_data_relationships_merchant.go b/api/model_post_markets_201_response_data_relationships_merchant.go index c3b613867..05bea905e 100644 --- a/api/model_post_markets_201_response_data_relationships_merchant.go +++ b/api/model_post_markets_201_response_data_relationships_merchant.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_markets_201_response_data_relationships_merchant_data.go b/api/model_post_markets_201_response_data_relationships_merchant_data.go index df652685a..58c5e86e9 100644 --- a/api/model_post_markets_201_response_data_relationships_merchant_data.go +++ b/api/model_post_markets_201_response_data_relationships_merchant_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_markets_201_response_data_relationships_price_list.go b/api/model_post_markets_201_response_data_relationships_price_list.go index f0764d4f2..57310b04b 100644 --- a/api/model_post_markets_201_response_data_relationships_price_list.go +++ b/api/model_post_markets_201_response_data_relationships_price_list.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_markets_201_response_data_relationships_price_list_data.go b/api/model_post_markets_201_response_data_relationships_price_list_data.go index 1dc3c7078..67b90d294 100644 --- a/api/model_post_markets_201_response_data_relationships_price_list_data.go +++ b/api/model_post_markets_201_response_data_relationships_price_list_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_markets_201_response_data_relationships_price_list_schedulers.go b/api/model_post_markets_201_response_data_relationships_price_list_schedulers.go index 59eb5842e..baab6e6ef 100644 --- a/api/model_post_markets_201_response_data_relationships_price_list_schedulers.go +++ b/api/model_post_markets_201_response_data_relationships_price_list_schedulers.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_markets_201_response_data_relationships_price_list_schedulers_data.go b/api/model_post_markets_201_response_data_relationships_price_list_schedulers_data.go index 3110af939..ee617f24a 100644 --- a/api/model_post_markets_201_response_data_relationships_price_list_schedulers_data.go +++ b/api/model_post_markets_201_response_data_relationships_price_list_schedulers_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_markets_201_response_data_relationships_stores.go b/api/model_post_markets_201_response_data_relationships_stores.go new file mode 100644 index 000000000..f678162d1 --- /dev/null +++ b/api/model_post_markets_201_response_data_relationships_stores.go @@ -0,0 +1,161 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the POSTMarkets201ResponseDataRelationshipsStores type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &POSTMarkets201ResponseDataRelationshipsStores{} + +// POSTMarkets201ResponseDataRelationshipsStores struct for POSTMarkets201ResponseDataRelationshipsStores +type POSTMarkets201ResponseDataRelationshipsStores struct { + Links *POSTAddresses201ResponseDataRelationshipsGeocoderLinks `json:"links,omitempty"` + Data *POSTMarkets201ResponseDataRelationshipsStoresData `json:"data,omitempty"` +} + +// NewPOSTMarkets201ResponseDataRelationshipsStores instantiates a new POSTMarkets201ResponseDataRelationshipsStores object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPOSTMarkets201ResponseDataRelationshipsStores() *POSTMarkets201ResponseDataRelationshipsStores { + this := POSTMarkets201ResponseDataRelationshipsStores{} + return &this +} + +// NewPOSTMarkets201ResponseDataRelationshipsStoresWithDefaults instantiates a new POSTMarkets201ResponseDataRelationshipsStores object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPOSTMarkets201ResponseDataRelationshipsStoresWithDefaults() *POSTMarkets201ResponseDataRelationshipsStores { + this := POSTMarkets201ResponseDataRelationshipsStores{} + return &this +} + +// GetLinks returns the Links field value if set, zero value otherwise. +func (o *POSTMarkets201ResponseDataRelationshipsStores) GetLinks() POSTAddresses201ResponseDataRelationshipsGeocoderLinks { + if o == nil || IsNil(o.Links) { + var ret POSTAddresses201ResponseDataRelationshipsGeocoderLinks + return ret + } + return *o.Links +} + +// GetLinksOk returns a tuple with the Links field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTMarkets201ResponseDataRelationshipsStores) GetLinksOk() (*POSTAddresses201ResponseDataRelationshipsGeocoderLinks, bool) { + if o == nil || IsNil(o.Links) { + return nil, false + } + return o.Links, true +} + +// HasLinks returns a boolean if a field has been set. +func (o *POSTMarkets201ResponseDataRelationshipsStores) HasLinks() bool { + if o != nil && !IsNil(o.Links) { + return true + } + + return false +} + +// SetLinks gets a reference to the given POSTAddresses201ResponseDataRelationshipsGeocoderLinks and assigns it to the Links field. +func (o *POSTMarkets201ResponseDataRelationshipsStores) SetLinks(v POSTAddresses201ResponseDataRelationshipsGeocoderLinks) { + o.Links = &v +} + +// GetData returns the Data field value if set, zero value otherwise. +func (o *POSTMarkets201ResponseDataRelationshipsStores) GetData() POSTMarkets201ResponseDataRelationshipsStoresData { + if o == nil || IsNil(o.Data) { + var ret POSTMarkets201ResponseDataRelationshipsStoresData + return ret + } + return *o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTMarkets201ResponseDataRelationshipsStores) GetDataOk() (*POSTMarkets201ResponseDataRelationshipsStoresData, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *POSTMarkets201ResponseDataRelationshipsStores) HasData() bool { + if o != nil && !IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given POSTMarkets201ResponseDataRelationshipsStoresData and assigns it to the Data field. +func (o *POSTMarkets201ResponseDataRelationshipsStores) SetData(v POSTMarkets201ResponseDataRelationshipsStoresData) { + o.Data = &v +} + +func (o POSTMarkets201ResponseDataRelationshipsStores) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o POSTMarkets201ResponseDataRelationshipsStores) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Links) { + toSerialize["links"] = o.Links + } + if !IsNil(o.Data) { + toSerialize["data"] = o.Data + } + return toSerialize, nil +} + +type NullablePOSTMarkets201ResponseDataRelationshipsStores struct { + value *POSTMarkets201ResponseDataRelationshipsStores + isSet bool +} + +func (v NullablePOSTMarkets201ResponseDataRelationshipsStores) Get() *POSTMarkets201ResponseDataRelationshipsStores { + return v.value +} + +func (v *NullablePOSTMarkets201ResponseDataRelationshipsStores) Set(val *POSTMarkets201ResponseDataRelationshipsStores) { + v.value = val + v.isSet = true +} + +func (v NullablePOSTMarkets201ResponseDataRelationshipsStores) IsSet() bool { + return v.isSet +} + +func (v *NullablePOSTMarkets201ResponseDataRelationshipsStores) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePOSTMarkets201ResponseDataRelationshipsStores(val *POSTMarkets201ResponseDataRelationshipsStores) *NullablePOSTMarkets201ResponseDataRelationshipsStores { + return &NullablePOSTMarkets201ResponseDataRelationshipsStores{value: val, isSet: true} +} + +func (v NullablePOSTMarkets201ResponseDataRelationshipsStores) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePOSTMarkets201ResponseDataRelationshipsStores) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_post_markets_201_response_data_relationships_stores_data.go b/api/model_post_markets_201_response_data_relationships_stores_data.go new file mode 100644 index 000000000..ce902f321 --- /dev/null +++ b/api/model_post_markets_201_response_data_relationships_stores_data.go @@ -0,0 +1,165 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the POSTMarkets201ResponseDataRelationshipsStoresData type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &POSTMarkets201ResponseDataRelationshipsStoresData{} + +// POSTMarkets201ResponseDataRelationshipsStoresData struct for POSTMarkets201ResponseDataRelationshipsStoresData +type POSTMarkets201ResponseDataRelationshipsStoresData struct { + // The resource's type + Type interface{} `json:"type,omitempty"` + // The resource ID + Id interface{} `json:"id,omitempty"` +} + +// NewPOSTMarkets201ResponseDataRelationshipsStoresData instantiates a new POSTMarkets201ResponseDataRelationshipsStoresData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPOSTMarkets201ResponseDataRelationshipsStoresData() *POSTMarkets201ResponseDataRelationshipsStoresData { + this := POSTMarkets201ResponseDataRelationshipsStoresData{} + return &this +} + +// NewPOSTMarkets201ResponseDataRelationshipsStoresDataWithDefaults instantiates a new POSTMarkets201ResponseDataRelationshipsStoresData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPOSTMarkets201ResponseDataRelationshipsStoresDataWithDefaults() *POSTMarkets201ResponseDataRelationshipsStoresData { + this := POSTMarkets201ResponseDataRelationshipsStoresData{} + return &this +} + +// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTMarkets201ResponseDataRelationshipsStoresData) GetType() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *POSTMarkets201ResponseDataRelationshipsStoresData) GetTypeOk() (*interface{}, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return &o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *POSTMarkets201ResponseDataRelationshipsStoresData) HasType() bool { + if o != nil && IsNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given interface{} and assigns it to the Type field. +func (o *POSTMarkets201ResponseDataRelationshipsStoresData) SetType(v interface{}) { + o.Type = v +} + +// GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTMarkets201ResponseDataRelationshipsStoresData) GetId() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *POSTMarkets201ResponseDataRelationshipsStoresData) GetIdOk() (*interface{}, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return &o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *POSTMarkets201ResponseDataRelationshipsStoresData) HasId() bool { + if o != nil && IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given interface{} and assigns it to the Id field. +func (o *POSTMarkets201ResponseDataRelationshipsStoresData) SetId(v interface{}) { + o.Id = v +} + +func (o POSTMarkets201ResponseDataRelationshipsStoresData) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o POSTMarkets201ResponseDataRelationshipsStoresData) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Type != nil { + toSerialize["type"] = o.Type + } + if o.Id != nil { + toSerialize["id"] = o.Id + } + return toSerialize, nil +} + +type NullablePOSTMarkets201ResponseDataRelationshipsStoresData struct { + value *POSTMarkets201ResponseDataRelationshipsStoresData + isSet bool +} + +func (v NullablePOSTMarkets201ResponseDataRelationshipsStoresData) Get() *POSTMarkets201ResponseDataRelationshipsStoresData { + return v.value +} + +func (v *NullablePOSTMarkets201ResponseDataRelationshipsStoresData) Set(val *POSTMarkets201ResponseDataRelationshipsStoresData) { + v.value = val + v.isSet = true +} + +func (v NullablePOSTMarkets201ResponseDataRelationshipsStoresData) IsSet() bool { + return v.isSet +} + +func (v *NullablePOSTMarkets201ResponseDataRelationshipsStoresData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePOSTMarkets201ResponseDataRelationshipsStoresData(val *POSTMarkets201ResponseDataRelationshipsStoresData) *NullablePOSTMarkets201ResponseDataRelationshipsStoresData { + return &NullablePOSTMarkets201ResponseDataRelationshipsStoresData{value: val, isSet: true} +} + +func (v NullablePOSTMarkets201ResponseDataRelationshipsStoresData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePOSTMarkets201ResponseDataRelationshipsStoresData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_post_markets_201_response_data_relationships_subscription_model.go b/api/model_post_markets_201_response_data_relationships_subscription_model.go index 68e7ec85f..3cb416fcd 100644 --- a/api/model_post_markets_201_response_data_relationships_subscription_model.go +++ b/api/model_post_markets_201_response_data_relationships_subscription_model.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_markets_201_response_data_relationships_subscription_model_data.go b/api/model_post_markets_201_response_data_relationships_subscription_model_data.go index 258614754..b7c3889ef 100644 --- a/api/model_post_markets_201_response_data_relationships_subscription_model_data.go +++ b/api/model_post_markets_201_response_data_relationships_subscription_model_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_markets_201_response_data_relationships_tax_calculator.go b/api/model_post_markets_201_response_data_relationships_tax_calculator.go index db7d71ed0..283579d5f 100644 --- a/api/model_post_markets_201_response_data_relationships_tax_calculator.go +++ b/api/model_post_markets_201_response_data_relationships_tax_calculator.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_markets_201_response_data_relationships_tax_calculator_data.go b/api/model_post_markets_201_response_data_relationships_tax_calculator_data.go index 3c07675a5..325e551ff 100644 --- a/api/model_post_markets_201_response_data_relationships_tax_calculator_data.go +++ b/api/model_post_markets_201_response_data_relationships_tax_calculator_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_merchants_201_response.go b/api/model_post_merchants_201_response.go index 929a1b496..6af7aec64 100644 --- a/api/model_post_merchants_201_response.go +++ b/api/model_post_merchants_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_merchants_201_response_data.go b/api/model_post_merchants_201_response_data.go index ddae0fbe7..612b02e7b 100644 --- a/api/model_post_merchants_201_response_data.go +++ b/api/model_post_merchants_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_merchants_201_response_data_attributes.go b/api/model_post_merchants_201_response_data_attributes.go index a68b0c522..e53978111 100644 --- a/api/model_post_merchants_201_response_data_attributes.go +++ b/api/model_post_merchants_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_merchants_201_response_data_relationships.go b/api/model_post_merchants_201_response_data_relationships.go index 51e4b5d2a..633f339ec 100644 --- a/api/model_post_merchants_201_response_data_relationships.go +++ b/api/model_post_merchants_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_notifications_201_response.go b/api/model_post_notifications_201_response.go new file mode 100644 index 000000000..7dc7d622a --- /dev/null +++ b/api/model_post_notifications_201_response.go @@ -0,0 +1,125 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the POSTNotifications201Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &POSTNotifications201Response{} + +// POSTNotifications201Response struct for POSTNotifications201Response +type POSTNotifications201Response struct { + Data *POSTNotifications201ResponseData `json:"data,omitempty"` +} + +// NewPOSTNotifications201Response instantiates a new POSTNotifications201Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPOSTNotifications201Response() *POSTNotifications201Response { + this := POSTNotifications201Response{} + return &this +} + +// NewPOSTNotifications201ResponseWithDefaults instantiates a new POSTNotifications201Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPOSTNotifications201ResponseWithDefaults() *POSTNotifications201Response { + this := POSTNotifications201Response{} + return &this +} + +// GetData returns the Data field value if set, zero value otherwise. +func (o *POSTNotifications201Response) GetData() POSTNotifications201ResponseData { + if o == nil || IsNil(o.Data) { + var ret POSTNotifications201ResponseData + return ret + } + return *o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTNotifications201Response) GetDataOk() (*POSTNotifications201ResponseData, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *POSTNotifications201Response) HasData() bool { + if o != nil && !IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given POSTNotifications201ResponseData and assigns it to the Data field. +func (o *POSTNotifications201Response) SetData(v POSTNotifications201ResponseData) { + o.Data = &v +} + +func (o POSTNotifications201Response) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o POSTNotifications201Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Data) { + toSerialize["data"] = o.Data + } + return toSerialize, nil +} + +type NullablePOSTNotifications201Response struct { + value *POSTNotifications201Response + isSet bool +} + +func (v NullablePOSTNotifications201Response) Get() *POSTNotifications201Response { + return v.value +} + +func (v *NullablePOSTNotifications201Response) Set(val *POSTNotifications201Response) { + v.value = val + v.isSet = true +} + +func (v NullablePOSTNotifications201Response) IsSet() bool { + return v.isSet +} + +func (v *NullablePOSTNotifications201Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePOSTNotifications201Response(val *POSTNotifications201Response) *NullablePOSTNotifications201Response { + return &NullablePOSTNotifications201Response{value: val, isSet: true} +} + +func (v NullablePOSTNotifications201Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePOSTNotifications201Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_post_notifications_201_response_data.go b/api/model_post_notifications_201_response_data.go new file mode 100644 index 000000000..5e5ad113b --- /dev/null +++ b/api/model_post_notifications_201_response_data.go @@ -0,0 +1,273 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the POSTNotifications201ResponseData type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &POSTNotifications201ResponseData{} + +// POSTNotifications201ResponseData struct for POSTNotifications201ResponseData +type POSTNotifications201ResponseData struct { + // The resource's id + Id interface{} `json:"id,omitempty"` + // The resource's type + Type interface{} `json:"type,omitempty"` + Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` + Attributes *POSTNotifications201ResponseDataAttributes `json:"attributes,omitempty"` + Relationships *POSTNotifications201ResponseDataRelationships `json:"relationships,omitempty"` +} + +// NewPOSTNotifications201ResponseData instantiates a new POSTNotifications201ResponseData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPOSTNotifications201ResponseData() *POSTNotifications201ResponseData { + this := POSTNotifications201ResponseData{} + return &this +} + +// NewPOSTNotifications201ResponseDataWithDefaults instantiates a new POSTNotifications201ResponseData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPOSTNotifications201ResponseDataWithDefaults() *POSTNotifications201ResponseData { + this := POSTNotifications201ResponseData{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTNotifications201ResponseData) GetId() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *POSTNotifications201ResponseData) GetIdOk() (*interface{}, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return &o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *POSTNotifications201ResponseData) HasId() bool { + if o != nil && IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given interface{} and assigns it to the Id field. +func (o *POSTNotifications201ResponseData) SetId(v interface{}) { + o.Id = v +} + +// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTNotifications201ResponseData) GetType() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *POSTNotifications201ResponseData) GetTypeOk() (*interface{}, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return &o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *POSTNotifications201ResponseData) HasType() bool { + if o != nil && IsNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given interface{} and assigns it to the Type field. +func (o *POSTNotifications201ResponseData) SetType(v interface{}) { + o.Type = v +} + +// GetLinks returns the Links field value if set, zero value otherwise. +func (o *POSTNotifications201ResponseData) GetLinks() POSTAddresses201ResponseDataLinks { + if o == nil || IsNil(o.Links) { + var ret POSTAddresses201ResponseDataLinks + return ret + } + return *o.Links +} + +// GetLinksOk returns a tuple with the Links field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTNotifications201ResponseData) GetLinksOk() (*POSTAddresses201ResponseDataLinks, bool) { + if o == nil || IsNil(o.Links) { + return nil, false + } + return o.Links, true +} + +// HasLinks returns a boolean if a field has been set. +func (o *POSTNotifications201ResponseData) HasLinks() bool { + if o != nil && !IsNil(o.Links) { + return true + } + + return false +} + +// SetLinks gets a reference to the given POSTAddresses201ResponseDataLinks and assigns it to the Links field. +func (o *POSTNotifications201ResponseData) SetLinks(v POSTAddresses201ResponseDataLinks) { + o.Links = &v +} + +// GetAttributes returns the Attributes field value if set, zero value otherwise. +func (o *POSTNotifications201ResponseData) GetAttributes() POSTNotifications201ResponseDataAttributes { + if o == nil || IsNil(o.Attributes) { + var ret POSTNotifications201ResponseDataAttributes + return ret + } + return *o.Attributes +} + +// GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTNotifications201ResponseData) GetAttributesOk() (*POSTNotifications201ResponseDataAttributes, bool) { + if o == nil || IsNil(o.Attributes) { + return nil, false + } + return o.Attributes, true +} + +// HasAttributes returns a boolean if a field has been set. +func (o *POSTNotifications201ResponseData) HasAttributes() bool { + if o != nil && !IsNil(o.Attributes) { + return true + } + + return false +} + +// SetAttributes gets a reference to the given POSTNotifications201ResponseDataAttributes and assigns it to the Attributes field. +func (o *POSTNotifications201ResponseData) SetAttributes(v POSTNotifications201ResponseDataAttributes) { + o.Attributes = &v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *POSTNotifications201ResponseData) GetRelationships() POSTNotifications201ResponseDataRelationships { + if o == nil || IsNil(o.Relationships) { + var ret POSTNotifications201ResponseDataRelationships + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTNotifications201ResponseData) GetRelationshipsOk() (*POSTNotifications201ResponseDataRelationships, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *POSTNotifications201ResponseData) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given POSTNotifications201ResponseDataRelationships and assigns it to the Relationships field. +func (o *POSTNotifications201ResponseData) SetRelationships(v POSTNotifications201ResponseDataRelationships) { + o.Relationships = &v +} + +func (o POSTNotifications201ResponseData) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o POSTNotifications201ResponseData) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Id != nil { + toSerialize["id"] = o.Id + } + if o.Type != nil { + toSerialize["type"] = o.Type + } + if !IsNil(o.Links) { + toSerialize["links"] = o.Links + } + if !IsNil(o.Attributes) { + toSerialize["attributes"] = o.Attributes + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + return toSerialize, nil +} + +type NullablePOSTNotifications201ResponseData struct { + value *POSTNotifications201ResponseData + isSet bool +} + +func (v NullablePOSTNotifications201ResponseData) Get() *POSTNotifications201ResponseData { + return v.value +} + +func (v *NullablePOSTNotifications201ResponseData) Set(val *POSTNotifications201ResponseData) { + v.value = val + v.isSet = true +} + +func (v NullablePOSTNotifications201ResponseData) IsSet() bool { + return v.isSet +} + +func (v *NullablePOSTNotifications201ResponseData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePOSTNotifications201ResponseData(val *POSTNotifications201ResponseData) *NullablePOSTNotifications201ResponseData { + return &NullablePOSTNotifications201ResponseData{value: val, isSet: true} +} + +func (v NullablePOSTNotifications201ResponseData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePOSTNotifications201ResponseData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_post_notifications_201_response_data_attributes.go b/api/model_post_notifications_201_response_data_attributes.go new file mode 100644 index 000000000..539bafb25 --- /dev/null +++ b/api/model_post_notifications_201_response_data_attributes.go @@ -0,0 +1,311 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the POSTNotifications201ResponseDataAttributes type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &POSTNotifications201ResponseDataAttributes{} + +// POSTNotifications201ResponseDataAttributes struct for POSTNotifications201ResponseDataAttributes +type POSTNotifications201ResponseDataAttributes struct { + // The internal name of the notification. + Name interface{} `json:"name"` + // Indicates if the notification is temporary, valid for the ones created by external services. + Flash interface{} `json:"flash,omitempty"` + // An internal body of the notification. + Body interface{} `json:"body,omitempty"` + // A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. + Reference interface{} `json:"reference,omitempty"` + // Any identifier of the third party system that defines the reference code. + ReferenceOrigin interface{} `json:"reference_origin,omitempty"` + // Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. + Metadata interface{} `json:"metadata,omitempty"` +} + +// NewPOSTNotifications201ResponseDataAttributes instantiates a new POSTNotifications201ResponseDataAttributes object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPOSTNotifications201ResponseDataAttributes(name interface{}) *POSTNotifications201ResponseDataAttributes { + this := POSTNotifications201ResponseDataAttributes{} + this.Name = name + return &this +} + +// NewPOSTNotifications201ResponseDataAttributesWithDefaults instantiates a new POSTNotifications201ResponseDataAttributes object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPOSTNotifications201ResponseDataAttributesWithDefaults() *POSTNotifications201ResponseDataAttributes { + this := POSTNotifications201ResponseDataAttributes{} + return &this +} + +// GetName returns the Name field value +// If the value is explicit nil, the zero value for interface{} will be returned +func (o *POSTNotifications201ResponseDataAttributes) GetName() interface{} { + if o == nil { + var ret interface{} + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *POSTNotifications201ResponseDataAttributes) GetNameOk() (*interface{}, bool) { + if o == nil || IsNil(o.Name) { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *POSTNotifications201ResponseDataAttributes) SetName(v interface{}) { + o.Name = v +} + +// GetFlash returns the Flash field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTNotifications201ResponseDataAttributes) GetFlash() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Flash +} + +// GetFlashOk returns a tuple with the Flash field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *POSTNotifications201ResponseDataAttributes) GetFlashOk() (*interface{}, bool) { + if o == nil || IsNil(o.Flash) { + return nil, false + } + return &o.Flash, true +} + +// HasFlash returns a boolean if a field has been set. +func (o *POSTNotifications201ResponseDataAttributes) HasFlash() bool { + if o != nil && IsNil(o.Flash) { + return true + } + + return false +} + +// SetFlash gets a reference to the given interface{} and assigns it to the Flash field. +func (o *POSTNotifications201ResponseDataAttributes) SetFlash(v interface{}) { + o.Flash = v +} + +// GetBody returns the Body field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTNotifications201ResponseDataAttributes) GetBody() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Body +} + +// GetBodyOk returns a tuple with the Body field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *POSTNotifications201ResponseDataAttributes) GetBodyOk() (*interface{}, bool) { + if o == nil || IsNil(o.Body) { + return nil, false + } + return &o.Body, true +} + +// HasBody returns a boolean if a field has been set. +func (o *POSTNotifications201ResponseDataAttributes) HasBody() bool { + if o != nil && IsNil(o.Body) { + return true + } + + return false +} + +// SetBody gets a reference to the given interface{} and assigns it to the Body field. +func (o *POSTNotifications201ResponseDataAttributes) SetBody(v interface{}) { + o.Body = v +} + +// GetReference returns the Reference field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTNotifications201ResponseDataAttributes) GetReference() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Reference +} + +// GetReferenceOk returns a tuple with the Reference field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *POSTNotifications201ResponseDataAttributes) GetReferenceOk() (*interface{}, bool) { + if o == nil || IsNil(o.Reference) { + return nil, false + } + return &o.Reference, true +} + +// HasReference returns a boolean if a field has been set. +func (o *POSTNotifications201ResponseDataAttributes) HasReference() bool { + if o != nil && IsNil(o.Reference) { + return true + } + + return false +} + +// SetReference gets a reference to the given interface{} and assigns it to the Reference field. +func (o *POSTNotifications201ResponseDataAttributes) SetReference(v interface{}) { + o.Reference = v +} + +// GetReferenceOrigin returns the ReferenceOrigin field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTNotifications201ResponseDataAttributes) GetReferenceOrigin() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.ReferenceOrigin +} + +// GetReferenceOriginOk returns a tuple with the ReferenceOrigin field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *POSTNotifications201ResponseDataAttributes) GetReferenceOriginOk() (*interface{}, bool) { + if o == nil || IsNil(o.ReferenceOrigin) { + return nil, false + } + return &o.ReferenceOrigin, true +} + +// HasReferenceOrigin returns a boolean if a field has been set. +func (o *POSTNotifications201ResponseDataAttributes) HasReferenceOrigin() bool { + if o != nil && IsNil(o.ReferenceOrigin) { + return true + } + + return false +} + +// SetReferenceOrigin gets a reference to the given interface{} and assigns it to the ReferenceOrigin field. +func (o *POSTNotifications201ResponseDataAttributes) SetReferenceOrigin(v interface{}) { + o.ReferenceOrigin = v +} + +// GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTNotifications201ResponseDataAttributes) GetMetadata() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Metadata +} + +// GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *POSTNotifications201ResponseDataAttributes) GetMetadataOk() (*interface{}, bool) { + if o == nil || IsNil(o.Metadata) { + return nil, false + } + return &o.Metadata, true +} + +// HasMetadata returns a boolean if a field has been set. +func (o *POSTNotifications201ResponseDataAttributes) HasMetadata() bool { + if o != nil && IsNil(o.Metadata) { + return true + } + + return false +} + +// SetMetadata gets a reference to the given interface{} and assigns it to the Metadata field. +func (o *POSTNotifications201ResponseDataAttributes) SetMetadata(v interface{}) { + o.Metadata = v +} + +func (o POSTNotifications201ResponseDataAttributes) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o POSTNotifications201ResponseDataAttributes) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Name != nil { + toSerialize["name"] = o.Name + } + if o.Flash != nil { + toSerialize["flash"] = o.Flash + } + if o.Body != nil { + toSerialize["body"] = o.Body + } + if o.Reference != nil { + toSerialize["reference"] = o.Reference + } + if o.ReferenceOrigin != nil { + toSerialize["reference_origin"] = o.ReferenceOrigin + } + if o.Metadata != nil { + toSerialize["metadata"] = o.Metadata + } + return toSerialize, nil +} + +type NullablePOSTNotifications201ResponseDataAttributes struct { + value *POSTNotifications201ResponseDataAttributes + isSet bool +} + +func (v NullablePOSTNotifications201ResponseDataAttributes) Get() *POSTNotifications201ResponseDataAttributes { + return v.value +} + +func (v *NullablePOSTNotifications201ResponseDataAttributes) Set(val *POSTNotifications201ResponseDataAttributes) { + v.value = val + v.isSet = true +} + +func (v NullablePOSTNotifications201ResponseDataAttributes) IsSet() bool { + return v.isSet +} + +func (v *NullablePOSTNotifications201ResponseDataAttributes) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePOSTNotifications201ResponseDataAttributes(val *POSTNotifications201ResponseDataAttributes) *NullablePOSTNotifications201ResponseDataAttributes { + return &NullablePOSTNotifications201ResponseDataAttributes{value: val, isSet: true} +} + +func (v NullablePOSTNotifications201ResponseDataAttributes) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePOSTNotifications201ResponseDataAttributes) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_post_notifications_201_response_data_relationships.go b/api/model_post_notifications_201_response_data_relationships.go new file mode 100644 index 000000000..2cecdd21f --- /dev/null +++ b/api/model_post_notifications_201_response_data_relationships.go @@ -0,0 +1,125 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the POSTNotifications201ResponseDataRelationships type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &POSTNotifications201ResponseDataRelationships{} + +// POSTNotifications201ResponseDataRelationships struct for POSTNotifications201ResponseDataRelationships +type POSTNotifications201ResponseDataRelationships struct { + Notifiable *POSTNotifications201ResponseDataRelationshipsNotifiable `json:"notifiable,omitempty"` +} + +// NewPOSTNotifications201ResponseDataRelationships instantiates a new POSTNotifications201ResponseDataRelationships object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPOSTNotifications201ResponseDataRelationships() *POSTNotifications201ResponseDataRelationships { + this := POSTNotifications201ResponseDataRelationships{} + return &this +} + +// NewPOSTNotifications201ResponseDataRelationshipsWithDefaults instantiates a new POSTNotifications201ResponseDataRelationships object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPOSTNotifications201ResponseDataRelationshipsWithDefaults() *POSTNotifications201ResponseDataRelationships { + this := POSTNotifications201ResponseDataRelationships{} + return &this +} + +// GetNotifiable returns the Notifiable field value if set, zero value otherwise. +func (o *POSTNotifications201ResponseDataRelationships) GetNotifiable() POSTNotifications201ResponseDataRelationshipsNotifiable { + if o == nil || IsNil(o.Notifiable) { + var ret POSTNotifications201ResponseDataRelationshipsNotifiable + return ret + } + return *o.Notifiable +} + +// GetNotifiableOk returns a tuple with the Notifiable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTNotifications201ResponseDataRelationships) GetNotifiableOk() (*POSTNotifications201ResponseDataRelationshipsNotifiable, bool) { + if o == nil || IsNil(o.Notifiable) { + return nil, false + } + return o.Notifiable, true +} + +// HasNotifiable returns a boolean if a field has been set. +func (o *POSTNotifications201ResponseDataRelationships) HasNotifiable() bool { + if o != nil && !IsNil(o.Notifiable) { + return true + } + + return false +} + +// SetNotifiable gets a reference to the given POSTNotifications201ResponseDataRelationshipsNotifiable and assigns it to the Notifiable field. +func (o *POSTNotifications201ResponseDataRelationships) SetNotifiable(v POSTNotifications201ResponseDataRelationshipsNotifiable) { + o.Notifiable = &v +} + +func (o POSTNotifications201ResponseDataRelationships) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o POSTNotifications201ResponseDataRelationships) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Notifiable) { + toSerialize["notifiable"] = o.Notifiable + } + return toSerialize, nil +} + +type NullablePOSTNotifications201ResponseDataRelationships struct { + value *POSTNotifications201ResponseDataRelationships + isSet bool +} + +func (v NullablePOSTNotifications201ResponseDataRelationships) Get() *POSTNotifications201ResponseDataRelationships { + return v.value +} + +func (v *NullablePOSTNotifications201ResponseDataRelationships) Set(val *POSTNotifications201ResponseDataRelationships) { + v.value = val + v.isSet = true +} + +func (v NullablePOSTNotifications201ResponseDataRelationships) IsSet() bool { + return v.isSet +} + +func (v *NullablePOSTNotifications201ResponseDataRelationships) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePOSTNotifications201ResponseDataRelationships(val *POSTNotifications201ResponseDataRelationships) *NullablePOSTNotifications201ResponseDataRelationships { + return &NullablePOSTNotifications201ResponseDataRelationships{value: val, isSet: true} +} + +func (v NullablePOSTNotifications201ResponseDataRelationships) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePOSTNotifications201ResponseDataRelationships) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_post_notifications_201_response_data_relationships_notifiable.go b/api/model_post_notifications_201_response_data_relationships_notifiable.go new file mode 100644 index 000000000..d4c0d8ad3 --- /dev/null +++ b/api/model_post_notifications_201_response_data_relationships_notifiable.go @@ -0,0 +1,161 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the POSTNotifications201ResponseDataRelationshipsNotifiable type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &POSTNotifications201ResponseDataRelationshipsNotifiable{} + +// POSTNotifications201ResponseDataRelationshipsNotifiable struct for POSTNotifications201ResponseDataRelationshipsNotifiable +type POSTNotifications201ResponseDataRelationshipsNotifiable struct { + Links *POSTAddresses201ResponseDataRelationshipsGeocoderLinks `json:"links,omitempty"` + Data *POSTNotifications201ResponseDataRelationshipsNotifiableData `json:"data,omitempty"` +} + +// NewPOSTNotifications201ResponseDataRelationshipsNotifiable instantiates a new POSTNotifications201ResponseDataRelationshipsNotifiable object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPOSTNotifications201ResponseDataRelationshipsNotifiable() *POSTNotifications201ResponseDataRelationshipsNotifiable { + this := POSTNotifications201ResponseDataRelationshipsNotifiable{} + return &this +} + +// NewPOSTNotifications201ResponseDataRelationshipsNotifiableWithDefaults instantiates a new POSTNotifications201ResponseDataRelationshipsNotifiable object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPOSTNotifications201ResponseDataRelationshipsNotifiableWithDefaults() *POSTNotifications201ResponseDataRelationshipsNotifiable { + this := POSTNotifications201ResponseDataRelationshipsNotifiable{} + return &this +} + +// GetLinks returns the Links field value if set, zero value otherwise. +func (o *POSTNotifications201ResponseDataRelationshipsNotifiable) GetLinks() POSTAddresses201ResponseDataRelationshipsGeocoderLinks { + if o == nil || IsNil(o.Links) { + var ret POSTAddresses201ResponseDataRelationshipsGeocoderLinks + return ret + } + return *o.Links +} + +// GetLinksOk returns a tuple with the Links field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTNotifications201ResponseDataRelationshipsNotifiable) GetLinksOk() (*POSTAddresses201ResponseDataRelationshipsGeocoderLinks, bool) { + if o == nil || IsNil(o.Links) { + return nil, false + } + return o.Links, true +} + +// HasLinks returns a boolean if a field has been set. +func (o *POSTNotifications201ResponseDataRelationshipsNotifiable) HasLinks() bool { + if o != nil && !IsNil(o.Links) { + return true + } + + return false +} + +// SetLinks gets a reference to the given POSTAddresses201ResponseDataRelationshipsGeocoderLinks and assigns it to the Links field. +func (o *POSTNotifications201ResponseDataRelationshipsNotifiable) SetLinks(v POSTAddresses201ResponseDataRelationshipsGeocoderLinks) { + o.Links = &v +} + +// GetData returns the Data field value if set, zero value otherwise. +func (o *POSTNotifications201ResponseDataRelationshipsNotifiable) GetData() POSTNotifications201ResponseDataRelationshipsNotifiableData { + if o == nil || IsNil(o.Data) { + var ret POSTNotifications201ResponseDataRelationshipsNotifiableData + return ret + } + return *o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTNotifications201ResponseDataRelationshipsNotifiable) GetDataOk() (*POSTNotifications201ResponseDataRelationshipsNotifiableData, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *POSTNotifications201ResponseDataRelationshipsNotifiable) HasData() bool { + if o != nil && !IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given POSTNotifications201ResponseDataRelationshipsNotifiableData and assigns it to the Data field. +func (o *POSTNotifications201ResponseDataRelationshipsNotifiable) SetData(v POSTNotifications201ResponseDataRelationshipsNotifiableData) { + o.Data = &v +} + +func (o POSTNotifications201ResponseDataRelationshipsNotifiable) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o POSTNotifications201ResponseDataRelationshipsNotifiable) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Links) { + toSerialize["links"] = o.Links + } + if !IsNil(o.Data) { + toSerialize["data"] = o.Data + } + return toSerialize, nil +} + +type NullablePOSTNotifications201ResponseDataRelationshipsNotifiable struct { + value *POSTNotifications201ResponseDataRelationshipsNotifiable + isSet bool +} + +func (v NullablePOSTNotifications201ResponseDataRelationshipsNotifiable) Get() *POSTNotifications201ResponseDataRelationshipsNotifiable { + return v.value +} + +func (v *NullablePOSTNotifications201ResponseDataRelationshipsNotifiable) Set(val *POSTNotifications201ResponseDataRelationshipsNotifiable) { + v.value = val + v.isSet = true +} + +func (v NullablePOSTNotifications201ResponseDataRelationshipsNotifiable) IsSet() bool { + return v.isSet +} + +func (v *NullablePOSTNotifications201ResponseDataRelationshipsNotifiable) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePOSTNotifications201ResponseDataRelationshipsNotifiable(val *POSTNotifications201ResponseDataRelationshipsNotifiable) *NullablePOSTNotifications201ResponseDataRelationshipsNotifiable { + return &NullablePOSTNotifications201ResponseDataRelationshipsNotifiable{value: val, isSet: true} +} + +func (v NullablePOSTNotifications201ResponseDataRelationshipsNotifiable) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePOSTNotifications201ResponseDataRelationshipsNotifiable) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_post_notifications_201_response_data_relationships_notifiable_data.go b/api/model_post_notifications_201_response_data_relationships_notifiable_data.go new file mode 100644 index 000000000..a7477dcd0 --- /dev/null +++ b/api/model_post_notifications_201_response_data_relationships_notifiable_data.go @@ -0,0 +1,165 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the POSTNotifications201ResponseDataRelationshipsNotifiableData type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &POSTNotifications201ResponseDataRelationshipsNotifiableData{} + +// POSTNotifications201ResponseDataRelationshipsNotifiableData struct for POSTNotifications201ResponseDataRelationshipsNotifiableData +type POSTNotifications201ResponseDataRelationshipsNotifiableData struct { + // The resource's type + Type interface{} `json:"type,omitempty"` + // The resource ID + Id interface{} `json:"id,omitempty"` +} + +// NewPOSTNotifications201ResponseDataRelationshipsNotifiableData instantiates a new POSTNotifications201ResponseDataRelationshipsNotifiableData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPOSTNotifications201ResponseDataRelationshipsNotifiableData() *POSTNotifications201ResponseDataRelationshipsNotifiableData { + this := POSTNotifications201ResponseDataRelationshipsNotifiableData{} + return &this +} + +// NewPOSTNotifications201ResponseDataRelationshipsNotifiableDataWithDefaults instantiates a new POSTNotifications201ResponseDataRelationshipsNotifiableData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPOSTNotifications201ResponseDataRelationshipsNotifiableDataWithDefaults() *POSTNotifications201ResponseDataRelationshipsNotifiableData { + this := POSTNotifications201ResponseDataRelationshipsNotifiableData{} + return &this +} + +// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTNotifications201ResponseDataRelationshipsNotifiableData) GetType() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *POSTNotifications201ResponseDataRelationshipsNotifiableData) GetTypeOk() (*interface{}, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return &o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *POSTNotifications201ResponseDataRelationshipsNotifiableData) HasType() bool { + if o != nil && IsNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given interface{} and assigns it to the Type field. +func (o *POSTNotifications201ResponseDataRelationshipsNotifiableData) SetType(v interface{}) { + o.Type = v +} + +// GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTNotifications201ResponseDataRelationshipsNotifiableData) GetId() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *POSTNotifications201ResponseDataRelationshipsNotifiableData) GetIdOk() (*interface{}, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return &o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *POSTNotifications201ResponseDataRelationshipsNotifiableData) HasId() bool { + if o != nil && IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given interface{} and assigns it to the Id field. +func (o *POSTNotifications201ResponseDataRelationshipsNotifiableData) SetId(v interface{}) { + o.Id = v +} + +func (o POSTNotifications201ResponseDataRelationshipsNotifiableData) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o POSTNotifications201ResponseDataRelationshipsNotifiableData) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Type != nil { + toSerialize["type"] = o.Type + } + if o.Id != nil { + toSerialize["id"] = o.Id + } + return toSerialize, nil +} + +type NullablePOSTNotifications201ResponseDataRelationshipsNotifiableData struct { + value *POSTNotifications201ResponseDataRelationshipsNotifiableData + isSet bool +} + +func (v NullablePOSTNotifications201ResponseDataRelationshipsNotifiableData) Get() *POSTNotifications201ResponseDataRelationshipsNotifiableData { + return v.value +} + +func (v *NullablePOSTNotifications201ResponseDataRelationshipsNotifiableData) Set(val *POSTNotifications201ResponseDataRelationshipsNotifiableData) { + v.value = val + v.isSet = true +} + +func (v NullablePOSTNotifications201ResponseDataRelationshipsNotifiableData) IsSet() bool { + return v.isSet +} + +func (v *NullablePOSTNotifications201ResponseDataRelationshipsNotifiableData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePOSTNotifications201ResponseDataRelationshipsNotifiableData(val *POSTNotifications201ResponseDataRelationshipsNotifiableData) *NullablePOSTNotifications201ResponseDataRelationshipsNotifiableData { + return &NullablePOSTNotifications201ResponseDataRelationshipsNotifiableData{value: val, isSet: true} +} + +func (v NullablePOSTNotifications201ResponseDataRelationshipsNotifiableData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePOSTNotifications201ResponseDataRelationshipsNotifiableData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_post_order_amount_promotion_rules_201_response.go b/api/model_post_order_amount_promotion_rules_201_response.go index ac4a77603..ea106c54a 100644 --- a/api/model_post_order_amount_promotion_rules_201_response.go +++ b/api/model_post_order_amount_promotion_rules_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_order_amount_promotion_rules_201_response_data.go b/api/model_post_order_amount_promotion_rules_201_response_data.go index 4dc37ae4f..dc0ad6c73 100644 --- a/api/model_post_order_amount_promotion_rules_201_response_data.go +++ b/api/model_post_order_amount_promotion_rules_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_order_amount_promotion_rules_201_response_data_attributes.go b/api/model_post_order_amount_promotion_rules_201_response_data_attributes.go index 72a9d06a5..7bfec779f 100644 --- a/api/model_post_order_amount_promotion_rules_201_response_data_attributes.go +++ b/api/model_post_order_amount_promotion_rules_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_order_copies_201_response.go b/api/model_post_order_copies_201_response.go index 9e2b1c2d2..75f2d0664 100644 --- a/api/model_post_order_copies_201_response.go +++ b/api/model_post_order_copies_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_order_copies_201_response_data.go b/api/model_post_order_copies_201_response_data.go index 8f4fd00d1..92461d6c8 100644 --- a/api/model_post_order_copies_201_response_data.go +++ b/api/model_post_order_copies_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_order_copies_201_response_data_attributes.go b/api/model_post_order_copies_201_response_data_attributes.go index 2536b6de8..f55c346ad 100644 --- a/api/model_post_order_copies_201_response_data_attributes.go +++ b/api/model_post_order_copies_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -34,6 +34,8 @@ type POSTOrderCopies201ResponseDataAttributes struct { CancelSourceOrder interface{} `json:"cancel_source_order,omitempty"` // Indicates if promotions got applied upon copy. ApplyPromotions interface{} `json:"apply_promotions,omitempty"` + // Indicates to ignore any errors during copy. + SkipErrors interface{} `json:"skip_errors,omitempty"` // Indicates to ignore invalid coupon code during copy. IgnoreInvalidCoupon interface{} `json:"ignore_invalid_coupon,omitempty"` } @@ -286,6 +288,39 @@ func (o *POSTOrderCopies201ResponseDataAttributes) SetApplyPromotions(v interfac o.ApplyPromotions = v } +// GetSkipErrors returns the SkipErrors field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTOrderCopies201ResponseDataAttributes) GetSkipErrors() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.SkipErrors +} + +// GetSkipErrorsOk returns a tuple with the SkipErrors field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *POSTOrderCopies201ResponseDataAttributes) GetSkipErrorsOk() (*interface{}, bool) { + if o == nil || IsNil(o.SkipErrors) { + return nil, false + } + return &o.SkipErrors, true +} + +// HasSkipErrors returns a boolean if a field has been set. +func (o *POSTOrderCopies201ResponseDataAttributes) HasSkipErrors() bool { + if o != nil && IsNil(o.SkipErrors) { + return true + } + + return false +} + +// SetSkipErrors gets a reference to the given interface{} and assigns it to the SkipErrors field. +func (o *POSTOrderCopies201ResponseDataAttributes) SetSkipErrors(v interface{}) { + o.SkipErrors = v +} + // GetIgnoreInvalidCoupon returns the IgnoreInvalidCoupon field value if set, zero value otherwise (both if not set or set to explicit null). func (o *POSTOrderCopies201ResponseDataAttributes) GetIgnoreInvalidCoupon() interface{} { if o == nil { @@ -350,6 +385,9 @@ func (o POSTOrderCopies201ResponseDataAttributes) ToMap() (map[string]interface{ if o.ApplyPromotions != nil { toSerialize["apply_promotions"] = o.ApplyPromotions } + if o.SkipErrors != nil { + toSerialize["skip_errors"] = o.SkipErrors + } if o.IgnoreInvalidCoupon != nil { toSerialize["ignore_invalid_coupon"] = o.IgnoreInvalidCoupon } diff --git a/api/model_post_order_copies_201_response_data_relationships.go b/api/model_post_order_copies_201_response_data_relationships.go index 7d8a4e81f..054f32c38 100644 --- a/api/model_post_order_copies_201_response_data_relationships.go +++ b/api/model_post_order_copies_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_order_copies_201_response_data_relationships_order_subscription.go b/api/model_post_order_copies_201_response_data_relationships_order_subscription.go index 15ab15462..24c796fe4 100644 --- a/api/model_post_order_copies_201_response_data_relationships_order_subscription.go +++ b/api/model_post_order_copies_201_response_data_relationships_order_subscription.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_order_copies_201_response_data_relationships_order_subscription_data.go b/api/model_post_order_copies_201_response_data_relationships_order_subscription_data.go index 941074547..bd641ea2e 100644 --- a/api/model_post_order_copies_201_response_data_relationships_order_subscription_data.go +++ b/api/model_post_order_copies_201_response_data_relationships_order_subscription_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_order_copies_201_response_data_relationships_source_order.go b/api/model_post_order_copies_201_response_data_relationships_source_order.go index 6aaa91763..c892a154a 100644 --- a/api/model_post_order_copies_201_response_data_relationships_source_order.go +++ b/api/model_post_order_copies_201_response_data_relationships_source_order.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_order_copies_201_response_data_relationships_source_order_data.go b/api/model_post_order_copies_201_response_data_relationships_source_order_data.go index 967dca077..b58d91738 100644 --- a/api/model_post_order_copies_201_response_data_relationships_source_order_data.go +++ b/api/model_post_order_copies_201_response_data_relationships_source_order_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_order_copies_201_response_data_relationships_target_order.go b/api/model_post_order_copies_201_response_data_relationships_target_order.go index 49e75b7ff..dbb68691d 100644 --- a/api/model_post_order_copies_201_response_data_relationships_target_order.go +++ b/api/model_post_order_copies_201_response_data_relationships_target_order.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_order_copies_201_response_data_relationships_target_order_data.go b/api/model_post_order_copies_201_response_data_relationships_target_order_data.go index 3668b6200..f702f7b01 100644 --- a/api/model_post_order_copies_201_response_data_relationships_target_order_data.go +++ b/api/model_post_order_copies_201_response_data_relationships_target_order_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_order_subscription_items_201_response.go b/api/model_post_order_subscription_items_201_response.go index 0823bffcc..b0f4aa759 100644 --- a/api/model_post_order_subscription_items_201_response.go +++ b/api/model_post_order_subscription_items_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_order_subscription_items_201_response_data.go b/api/model_post_order_subscription_items_201_response_data.go index c9084f3a2..b73a9d926 100644 --- a/api/model_post_order_subscription_items_201_response_data.go +++ b/api/model_post_order_subscription_items_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_order_subscription_items_201_response_data_attributes.go b/api/model_post_order_subscription_items_201_response_data_attributes.go index 5338e2a32..379b152f2 100644 --- a/api/model_post_order_subscription_items_201_response_data_attributes.go +++ b/api/model_post_order_subscription_items_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_order_subscription_items_201_response_data_relationships.go b/api/model_post_order_subscription_items_201_response_data_relationships.go index decca9857..10a17180d 100644 --- a/api/model_post_order_subscription_items_201_response_data_relationships.go +++ b/api/model_post_order_subscription_items_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_order_subscription_items_201_response_data_relationships_source_line_item.go b/api/model_post_order_subscription_items_201_response_data_relationships_source_line_item.go index 126de3e53..fa01bea13 100644 --- a/api/model_post_order_subscription_items_201_response_data_relationships_source_line_item.go +++ b/api/model_post_order_subscription_items_201_response_data_relationships_source_line_item.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_order_subscription_items_201_response_data_relationships_source_line_item_data.go b/api/model_post_order_subscription_items_201_response_data_relationships_source_line_item_data.go index 8e55798fe..26f80e72d 100644 --- a/api/model_post_order_subscription_items_201_response_data_relationships_source_line_item_data.go +++ b/api/model_post_order_subscription_items_201_response_data_relationships_source_line_item_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_order_subscriptions_201_response.go b/api/model_post_order_subscriptions_201_response.go index d75379cba..b6f01b875 100644 --- a/api/model_post_order_subscriptions_201_response.go +++ b/api/model_post_order_subscriptions_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_order_subscriptions_201_response_data.go b/api/model_post_order_subscriptions_201_response_data.go index d344c1a41..8a73130da 100644 --- a/api/model_post_order_subscriptions_201_response_data.go +++ b/api/model_post_order_subscriptions_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_order_subscriptions_201_response_data_attributes.go b/api/model_post_order_subscriptions_201_response_data_attributes.go index 83c79dfc4..5d15c05f1 100644 --- a/api/model_post_order_subscriptions_201_response_data_attributes.go +++ b/api/model_post_order_subscriptions_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_order_subscriptions_201_response_data_relationships.go b/api/model_post_order_subscriptions_201_response_data_relationships.go index e7feb0c39..89278c57b 100644 --- a/api/model_post_order_subscriptions_201_response_data_relationships.go +++ b/api/model_post_order_subscriptions_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,7 +20,7 @@ var _ MappedNullable = &POSTOrderSubscriptions201ResponseDataRelationships{} // POSTOrderSubscriptions201ResponseDataRelationships struct for POSTOrderSubscriptions201ResponseDataRelationships type POSTOrderSubscriptions201ResponseDataRelationships struct { - Market *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket `json:"market,omitempty"` + Market *POSTBundles201ResponseDataRelationshipsMarket `json:"market,omitempty"` SubscriptionModel *POSTMarkets201ResponseDataRelationshipsSubscriptionModel `json:"subscription_model,omitempty"` SourceOrder *POSTOrderCopies201ResponseDataRelationshipsSourceOrder `json:"source_order,omitempty"` Customer *POSTCouponRecipients201ResponseDataRelationshipsCustomer `json:"customer,omitempty"` @@ -52,9 +52,9 @@ func NewPOSTOrderSubscriptions201ResponseDataRelationshipsWithDefaults() *POSTOr } // GetMarket returns the Market field value if set, zero value otherwise. -func (o *POSTOrderSubscriptions201ResponseDataRelationships) GetMarket() POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket { +func (o *POSTOrderSubscriptions201ResponseDataRelationships) GetMarket() POSTBundles201ResponseDataRelationshipsMarket { if o == nil || IsNil(o.Market) { - var ret POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket + var ret POSTBundles201ResponseDataRelationshipsMarket return ret } return *o.Market @@ -62,7 +62,7 @@ func (o *POSTOrderSubscriptions201ResponseDataRelationships) GetMarket() POSTBil // GetMarketOk returns a tuple with the Market field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *POSTOrderSubscriptions201ResponseDataRelationships) GetMarketOk() (*POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket, bool) { +func (o *POSTOrderSubscriptions201ResponseDataRelationships) GetMarketOk() (*POSTBundles201ResponseDataRelationshipsMarket, bool) { if o == nil || IsNil(o.Market) { return nil, false } @@ -78,8 +78,8 @@ func (o *POSTOrderSubscriptions201ResponseDataRelationships) HasMarket() bool { return false } -// SetMarket gets a reference to the given POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket and assigns it to the Market field. -func (o *POSTOrderSubscriptions201ResponseDataRelationships) SetMarket(v POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) { +// SetMarket gets a reference to the given POSTBundles201ResponseDataRelationshipsMarket and assigns it to the Market field. +func (o *POSTOrderSubscriptions201ResponseDataRelationships) SetMarket(v POSTBundles201ResponseDataRelationshipsMarket) { o.Market = &v } diff --git a/api/model_post_order_subscriptions_201_response_data_relationships_customer_payment_source.go b/api/model_post_order_subscriptions_201_response_data_relationships_customer_payment_source.go index e1ae5a0b3..48463407a 100644 --- a/api/model_post_order_subscriptions_201_response_data_relationships_customer_payment_source.go +++ b/api/model_post_order_subscriptions_201_response_data_relationships_customer_payment_source.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_order_subscriptions_201_response_data_relationships_customer_payment_source_data.go b/api/model_post_order_subscriptions_201_response_data_relationships_customer_payment_source_data.go index 40c9dd757..0c5f03581 100644 --- a/api/model_post_order_subscriptions_201_response_data_relationships_customer_payment_source_data.go +++ b/api/model_post_order_subscriptions_201_response_data_relationships_customer_payment_source_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_order_subscriptions_201_response_data_relationships_order_factories.go b/api/model_post_order_subscriptions_201_response_data_relationships_order_factories.go index 99e55b6e5..38e5175c7 100644 --- a/api/model_post_order_subscriptions_201_response_data_relationships_order_factories.go +++ b/api/model_post_order_subscriptions_201_response_data_relationships_order_factories.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_order_subscriptions_201_response_data_relationships_order_factories_data.go b/api/model_post_order_subscriptions_201_response_data_relationships_order_factories_data.go index 6c43b1b1b..51bdeaec6 100644 --- a/api/model_post_order_subscriptions_201_response_data_relationships_order_factories_data.go +++ b/api/model_post_order_subscriptions_201_response_data_relationships_order_factories_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_order_subscriptions_201_response_data_relationships_order_subscription_items.go b/api/model_post_order_subscriptions_201_response_data_relationships_order_subscription_items.go index cda2cd5da..8b9dfb761 100644 --- a/api/model_post_order_subscriptions_201_response_data_relationships_order_subscription_items.go +++ b/api/model_post_order_subscriptions_201_response_data_relationships_order_subscription_items.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_order_subscriptions_201_response_data_relationships_order_subscription_items_data.go b/api/model_post_order_subscriptions_201_response_data_relationships_order_subscription_items_data.go index 0536eb4cb..27f7ad34a 100644 --- a/api/model_post_order_subscriptions_201_response_data_relationships_order_subscription_items_data.go +++ b/api/model_post_order_subscriptions_201_response_data_relationships_order_subscription_items_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_order_subscriptions_201_response_data_relationships_recurring_order_copies.go b/api/model_post_order_subscriptions_201_response_data_relationships_recurring_order_copies.go index c4775f3a6..a6fac01c4 100644 --- a/api/model_post_order_subscriptions_201_response_data_relationships_recurring_order_copies.go +++ b/api/model_post_order_subscriptions_201_response_data_relationships_recurring_order_copies.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_order_subscriptions_201_response_data_relationships_recurring_order_copies_data.go b/api/model_post_order_subscriptions_201_response_data_relationships_recurring_order_copies_data.go index 62824543f..fd636acc6 100644 --- a/api/model_post_order_subscriptions_201_response_data_relationships_recurring_order_copies_data.go +++ b/api/model_post_order_subscriptions_201_response_data_relationships_recurring_order_copies_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_orders_201_response.go b/api/model_post_orders_201_response.go index 71036f1a0..11db1ea2e 100644 --- a/api/model_post_orders_201_response.go +++ b/api/model_post_orders_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_orders_201_response_data.go b/api/model_post_orders_201_response_data.go index 12f2b5c64..c734145c4 100644 --- a/api/model_post_orders_201_response_data.go +++ b/api/model_post_orders_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_orders_201_response_data_attributes.go b/api/model_post_orders_201_response_data_attributes.go index 68733459e..284274ff5 100644 --- a/api/model_post_orders_201_response_data_attributes.go +++ b/api/model_post_orders_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -22,7 +22,7 @@ var _ MappedNullable = &POSTOrders201ResponseDataAttributes{} type POSTOrders201ResponseDataAttributes struct { // The order identifier. Can be specified if unique within the organization (for enterprise plans only), default to numeric ID otherwise. Cannot be passed by sales channels. Number interface{} `json:"number,omitempty"` - // The affiliate code, if any, the seller will transfer commission on shop by link transactions. + // The affiliate code, if any, to track commissions using any third party services. AffiliateCode interface{} `json:"affiliate_code,omitempty"` // Save this attribute as 'false' if you want prevent the order to be refreshed automatically at each change (much faster). Autorefresh interface{} `json:"autorefresh,omitempty"` diff --git a/api/model_post_orders_201_response_data_relationships.go b/api/model_post_orders_201_response_data_relationships.go index b53234f3a..a7e89a165 100644 --- a/api/model_post_orders_201_response_data_relationships.go +++ b/api/model_post_orders_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,40 +20,42 @@ var _ MappedNullable = &POSTOrders201ResponseDataRelationships{} // POSTOrders201ResponseDataRelationships struct for POSTOrders201ResponseDataRelationships type POSTOrders201ResponseDataRelationships struct { - Market *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket `json:"market,omitempty"` - Customer *POSTCouponRecipients201ResponseDataRelationshipsCustomer `json:"customer,omitempty"` - ShippingAddress *POSTOrders201ResponseDataRelationshipsShippingAddress `json:"shipping_address,omitempty"` - BillingAddress *POSTOrders201ResponseDataRelationshipsBillingAddress `json:"billing_address,omitempty"` - AvailablePaymentMethods *POSTOrders201ResponseDataRelationshipsAvailablePaymentMethods `json:"available_payment_methods,omitempty"` - AvailableCustomerPaymentSources *POSTOrders201ResponseDataRelationshipsAvailableCustomerPaymentSources `json:"available_customer_payment_sources,omitempty"` - AvailableFreeSkus *POSTOrders201ResponseDataRelationshipsAvailableFreeSkus `json:"available_free_skus,omitempty"` - AvailableFreeBundles *POSTOrders201ResponseDataRelationshipsAvailableFreeBundles `json:"available_free_bundles,omitempty"` - PaymentMethod *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentMethod `json:"payment_method,omitempty"` - PaymentSource *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource `json:"payment_source,omitempty"` - LineItems *POSTOrders201ResponseDataRelationshipsLineItems `json:"line_items,omitempty"` - LineItemOptions *POSTLineItems201ResponseDataRelationshipsLineItemOptions `json:"line_item_options,omitempty"` - StockReservations *POSTLineItems201ResponseDataRelationshipsStockReservations `json:"stock_reservations,omitempty"` - StockLineItems *POSTLineItems201ResponseDataRelationshipsStockLineItems `json:"stock_line_items,omitempty"` - StockTransfers *POSTLineItems201ResponseDataRelationshipsStockTransfers `json:"stock_transfers,omitempty"` - Shipments *POSTOrders201ResponseDataRelationshipsShipments `json:"shipments,omitempty"` - PaymentOptions *POSTOrders201ResponseDataRelationshipsPaymentOptions `json:"payment_options,omitempty"` - Transactions *POSTOrders201ResponseDataRelationshipsTransactions `json:"transactions,omitempty"` - Authorizations *POSTOrders201ResponseDataRelationshipsAuthorizations `json:"authorizations,omitempty"` - Captures *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsCaptures `json:"captures,omitempty"` - Voids *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsVoids `json:"voids,omitempty"` - Refunds *GETCapturesCaptureId200ResponseDataRelationshipsRefunds `json:"refunds,omitempty"` - Returns *POSTCustomers201ResponseDataRelationshipsReturns `json:"returns,omitempty"` - OrderSubscription *POSTOrderCopies201ResponseDataRelationshipsOrderSubscription `json:"order_subscription,omitempty"` - OrderSubscriptions *POSTCustomers201ResponseDataRelationshipsOrderSubscriptions `json:"order_subscriptions,omitempty"` - OrderFactories *POSTOrderSubscriptions201ResponseDataRelationshipsOrderFactories `json:"order_factories,omitempty"` - OrderCopies *POSTOrders201ResponseDataRelationshipsOrderCopies `json:"order_copies,omitempty"` - RecurringOrderCopies *POSTOrderSubscriptions201ResponseDataRelationshipsRecurringOrderCopies `json:"recurring_order_copies,omitempty"` - Attachments *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments `json:"attachments,omitempty"` - Links *POSTOrders201ResponseDataRelationshipsLinks `json:"links,omitempty"` - ResourceErrors *POSTOrders201ResponseDataRelationshipsResourceErrors `json:"resource_errors,omitempty"` - Events *POSTAddresses201ResponseDataRelationshipsEvents `json:"events,omitempty"` - Tags *POSTAddresses201ResponseDataRelationshipsTags `json:"tags,omitempty"` - Versions *POSTAddresses201ResponseDataRelationshipsVersions `json:"versions,omitempty"` + Market *POSTBundles201ResponseDataRelationshipsMarket `json:"market,omitempty"` + Customer *POSTCouponRecipients201ResponseDataRelationshipsCustomer `json:"customer,omitempty"` + ShippingAddress *POSTOrders201ResponseDataRelationshipsShippingAddress `json:"shipping_address,omitempty"` + BillingAddress *POSTOrders201ResponseDataRelationshipsBillingAddress `json:"billing_address,omitempty"` + Store *POSTOrders201ResponseDataRelationshipsStore `json:"store,omitempty"` + AvailablePaymentMethods *POSTOrders201ResponseDataRelationshipsAvailablePaymentMethods `json:"available_payment_methods,omitempty"` + AvailableCustomerPaymentSources *POSTOrders201ResponseDataRelationshipsAvailableCustomerPaymentSources `json:"available_customer_payment_sources,omitempty"` + AvailableFreeSkus *POSTOrders201ResponseDataRelationshipsAvailableFreeSkus `json:"available_free_skus,omitempty"` + AvailableFreeBundles *POSTOrders201ResponseDataRelationshipsAvailableFreeBundles `json:"available_free_bundles,omitempty"` + PaymentMethod *POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentMethod `json:"payment_method,omitempty"` + PaymentSource *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource `json:"payment_source,omitempty"` + LineItems *POSTOrders201ResponseDataRelationshipsLineItems `json:"line_items,omitempty"` + LineItemOptions *POSTLineItems201ResponseDataRelationshipsLineItemOptions `json:"line_item_options,omitempty"` + StockReservations *POSTLineItems201ResponseDataRelationshipsStockReservations `json:"stock_reservations,omitempty"` + StockLineItems *POSTLineItems201ResponseDataRelationshipsStockLineItems `json:"stock_line_items,omitempty"` + StockTransfers *POSTLineItems201ResponseDataRelationshipsStockTransfers `json:"stock_transfers,omitempty"` + Shipments *POSTOrders201ResponseDataRelationshipsShipments `json:"shipments,omitempty"` + PaymentOptions *POSTOrders201ResponseDataRelationshipsPaymentOptions `json:"payment_options,omitempty"` + Transactions *POSTOrders201ResponseDataRelationshipsTransactions `json:"transactions,omitempty"` + Authorizations *POSTOrders201ResponseDataRelationshipsAuthorizations `json:"authorizations,omitempty"` + Captures *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsCaptures `json:"captures,omitempty"` + Voids *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsVoids `json:"voids,omitempty"` + Refunds *GETCapturesCaptureId200ResponseDataRelationshipsRefunds `json:"refunds,omitempty"` + Returns *POSTCustomers201ResponseDataRelationshipsReturns `json:"returns,omitempty"` + OrderSubscription *POSTOrderCopies201ResponseDataRelationshipsOrderSubscription `json:"order_subscription,omitempty"` + OrderSubscriptions *POSTCustomers201ResponseDataRelationshipsOrderSubscriptions `json:"order_subscriptions,omitempty"` + OrderFactories *POSTOrderSubscriptions201ResponseDataRelationshipsOrderFactories `json:"order_factories,omitempty"` + OrderCopies *POSTOrders201ResponseDataRelationshipsOrderCopies `json:"order_copies,omitempty"` + RecurringOrderCopies *POSTOrderSubscriptions201ResponseDataRelationshipsRecurringOrderCopies `json:"recurring_order_copies,omitempty"` + Attachments *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments `json:"attachments,omitempty"` + Notifications *POSTLineItems201ResponseDataRelationshipsNotifications `json:"notifications,omitempty"` + Links *POSTOrders201ResponseDataRelationshipsLinks `json:"links,omitempty"` + ResourceErrors *POSTOrders201ResponseDataRelationshipsResourceErrors `json:"resource_errors,omitempty"` + Events *POSTAddresses201ResponseDataRelationshipsEvents `json:"events,omitempty"` + Tags *POSTAddresses201ResponseDataRelationshipsTags `json:"tags,omitempty"` + Versions *POSTAddresses201ResponseDataRelationshipsVersions `json:"versions,omitempty"` } // NewPOSTOrders201ResponseDataRelationships instantiates a new POSTOrders201ResponseDataRelationships object @@ -74,9 +76,9 @@ func NewPOSTOrders201ResponseDataRelationshipsWithDefaults() *POSTOrders201Respo } // GetMarket returns the Market field value if set, zero value otherwise. -func (o *POSTOrders201ResponseDataRelationships) GetMarket() POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket { +func (o *POSTOrders201ResponseDataRelationships) GetMarket() POSTBundles201ResponseDataRelationshipsMarket { if o == nil || IsNil(o.Market) { - var ret POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket + var ret POSTBundles201ResponseDataRelationshipsMarket return ret } return *o.Market @@ -84,7 +86,7 @@ func (o *POSTOrders201ResponseDataRelationships) GetMarket() POSTBillingInfoVali // GetMarketOk returns a tuple with the Market field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *POSTOrders201ResponseDataRelationships) GetMarketOk() (*POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket, bool) { +func (o *POSTOrders201ResponseDataRelationships) GetMarketOk() (*POSTBundles201ResponseDataRelationshipsMarket, bool) { if o == nil || IsNil(o.Market) { return nil, false } @@ -100,8 +102,8 @@ func (o *POSTOrders201ResponseDataRelationships) HasMarket() bool { return false } -// SetMarket gets a reference to the given POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket and assigns it to the Market field. -func (o *POSTOrders201ResponseDataRelationships) SetMarket(v POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) { +// SetMarket gets a reference to the given POSTBundles201ResponseDataRelationshipsMarket and assigns it to the Market field. +func (o *POSTOrders201ResponseDataRelationships) SetMarket(v POSTBundles201ResponseDataRelationshipsMarket) { o.Market = &v } @@ -201,6 +203,38 @@ func (o *POSTOrders201ResponseDataRelationships) SetBillingAddress(v POSTOrders2 o.BillingAddress = &v } +// GetStore returns the Store field value if set, zero value otherwise. +func (o *POSTOrders201ResponseDataRelationships) GetStore() POSTOrders201ResponseDataRelationshipsStore { + if o == nil || IsNil(o.Store) { + var ret POSTOrders201ResponseDataRelationshipsStore + return ret + } + return *o.Store +} + +// GetStoreOk returns a tuple with the Store field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTOrders201ResponseDataRelationships) GetStoreOk() (*POSTOrders201ResponseDataRelationshipsStore, bool) { + if o == nil || IsNil(o.Store) { + return nil, false + } + return o.Store, true +} + +// HasStore returns a boolean if a field has been set. +func (o *POSTOrders201ResponseDataRelationships) HasStore() bool { + if o != nil && !IsNil(o.Store) { + return true + } + + return false +} + +// SetStore gets a reference to the given POSTOrders201ResponseDataRelationshipsStore and assigns it to the Store field. +func (o *POSTOrders201ResponseDataRelationships) SetStore(v POSTOrders201ResponseDataRelationshipsStore) { + o.Store = &v +} + // GetAvailablePaymentMethods returns the AvailablePaymentMethods field value if set, zero value otherwise. func (o *POSTOrders201ResponseDataRelationships) GetAvailablePaymentMethods() POSTOrders201ResponseDataRelationshipsAvailablePaymentMethods { if o == nil || IsNil(o.AvailablePaymentMethods) { @@ -362,9 +396,9 @@ func (o *POSTOrders201ResponseDataRelationships) SetPaymentMethod(v POSTCustomer } // GetPaymentSource returns the PaymentSource field value if set, zero value otherwise. -func (o *POSTOrders201ResponseDataRelationships) GetPaymentSource() POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource { +func (o *POSTOrders201ResponseDataRelationships) GetPaymentSource() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource { if o == nil || IsNil(o.PaymentSource) { - var ret POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource + var ret GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource return ret } return *o.PaymentSource @@ -372,7 +406,7 @@ func (o *POSTOrders201ResponseDataRelationships) GetPaymentSource() POSTCustomer // GetPaymentSourceOk returns a tuple with the PaymentSource field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *POSTOrders201ResponseDataRelationships) GetPaymentSourceOk() (*POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource, bool) { +func (o *POSTOrders201ResponseDataRelationships) GetPaymentSourceOk() (*GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource, bool) { if o == nil || IsNil(o.PaymentSource) { return nil, false } @@ -388,8 +422,8 @@ func (o *POSTOrders201ResponseDataRelationships) HasPaymentSource() bool { return false } -// SetPaymentSource gets a reference to the given POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource and assigns it to the PaymentSource field. -func (o *POSTOrders201ResponseDataRelationships) SetPaymentSource(v POSTCustomerPaymentSources201ResponseDataRelationshipsPaymentSource) { +// SetPaymentSource gets a reference to the given GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource and assigns it to the PaymentSource field. +func (o *POSTOrders201ResponseDataRelationships) SetPaymentSource(v GETAuthorizationsAuthorizationId200ResponseDataRelationshipsPaymentSource) { o.PaymentSource = &v } @@ -1001,6 +1035,38 @@ func (o *POSTOrders201ResponseDataRelationships) SetAttachments(v GETAuthorizati o.Attachments = &v } +// GetNotifications returns the Notifications field value if set, zero value otherwise. +func (o *POSTOrders201ResponseDataRelationships) GetNotifications() POSTLineItems201ResponseDataRelationshipsNotifications { + if o == nil || IsNil(o.Notifications) { + var ret POSTLineItems201ResponseDataRelationshipsNotifications + return ret + } + return *o.Notifications +} + +// GetNotificationsOk returns a tuple with the Notifications field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTOrders201ResponseDataRelationships) GetNotificationsOk() (*POSTLineItems201ResponseDataRelationshipsNotifications, bool) { + if o == nil || IsNil(o.Notifications) { + return nil, false + } + return o.Notifications, true +} + +// HasNotifications returns a boolean if a field has been set. +func (o *POSTOrders201ResponseDataRelationships) HasNotifications() bool { + if o != nil && !IsNil(o.Notifications) { + return true + } + + return false +} + +// SetNotifications gets a reference to the given POSTLineItems201ResponseDataRelationshipsNotifications and assigns it to the Notifications field. +func (o *POSTOrders201ResponseDataRelationships) SetNotifications(v POSTLineItems201ResponseDataRelationshipsNotifications) { + o.Notifications = &v +} + // GetLinks returns the Links field value if set, zero value otherwise. func (o *POSTOrders201ResponseDataRelationships) GetLinks() POSTOrders201ResponseDataRelationshipsLinks { if o == nil || IsNil(o.Links) { @@ -1183,6 +1249,9 @@ func (o POSTOrders201ResponseDataRelationships) ToMap() (map[string]interface{}, if !IsNil(o.BillingAddress) { toSerialize["billing_address"] = o.BillingAddress } + if !IsNil(o.Store) { + toSerialize["store"] = o.Store + } if !IsNil(o.AvailablePaymentMethods) { toSerialize["available_payment_methods"] = o.AvailablePaymentMethods } @@ -1258,6 +1327,9 @@ func (o POSTOrders201ResponseDataRelationships) ToMap() (map[string]interface{}, if !IsNil(o.Attachments) { toSerialize["attachments"] = o.Attachments } + if !IsNil(o.Notifications) { + toSerialize["notifications"] = o.Notifications + } if !IsNil(o.Links) { toSerialize["links"] = o.Links } diff --git a/api/model_post_orders_201_response_data_relationships_authorizations.go b/api/model_post_orders_201_response_data_relationships_authorizations.go index 11e5a45c9..2cda2533b 100644 --- a/api/model_post_orders_201_response_data_relationships_authorizations.go +++ b/api/model_post_orders_201_response_data_relationships_authorizations.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_orders_201_response_data_relationships_authorizations_data.go b/api/model_post_orders_201_response_data_relationships_authorizations_data.go index 43682e044..c9af5e2ef 100644 --- a/api/model_post_orders_201_response_data_relationships_authorizations_data.go +++ b/api/model_post_orders_201_response_data_relationships_authorizations_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_orders_201_response_data_relationships_available_customer_payment_sources.go b/api/model_post_orders_201_response_data_relationships_available_customer_payment_sources.go index 43e1c0199..35f6c1b96 100644 --- a/api/model_post_orders_201_response_data_relationships_available_customer_payment_sources.go +++ b/api/model_post_orders_201_response_data_relationships_available_customer_payment_sources.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_orders_201_response_data_relationships_available_customer_payment_sources_data.go b/api/model_post_orders_201_response_data_relationships_available_customer_payment_sources_data.go index 9eb056ff2..7964c0f55 100644 --- a/api/model_post_orders_201_response_data_relationships_available_customer_payment_sources_data.go +++ b/api/model_post_orders_201_response_data_relationships_available_customer_payment_sources_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_orders_201_response_data_relationships_available_free_bundles.go b/api/model_post_orders_201_response_data_relationships_available_free_bundles.go index ea281a8bb..6d0366047 100644 --- a/api/model_post_orders_201_response_data_relationships_available_free_bundles.go +++ b/api/model_post_orders_201_response_data_relationships_available_free_bundles.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_orders_201_response_data_relationships_available_free_bundles_data.go b/api/model_post_orders_201_response_data_relationships_available_free_bundles_data.go index 0906af18b..6988af388 100644 --- a/api/model_post_orders_201_response_data_relationships_available_free_bundles_data.go +++ b/api/model_post_orders_201_response_data_relationships_available_free_bundles_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_orders_201_response_data_relationships_available_free_skus.go b/api/model_post_orders_201_response_data_relationships_available_free_skus.go index da0af1af5..c4b0cd2cc 100644 --- a/api/model_post_orders_201_response_data_relationships_available_free_skus.go +++ b/api/model_post_orders_201_response_data_relationships_available_free_skus.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_orders_201_response_data_relationships_available_free_skus_data.go b/api/model_post_orders_201_response_data_relationships_available_free_skus_data.go index 5adbaa008..ecea91f45 100644 --- a/api/model_post_orders_201_response_data_relationships_available_free_skus_data.go +++ b/api/model_post_orders_201_response_data_relationships_available_free_skus_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_orders_201_response_data_relationships_available_payment_methods.go b/api/model_post_orders_201_response_data_relationships_available_payment_methods.go index 5f726bf93..4f096daa4 100644 --- a/api/model_post_orders_201_response_data_relationships_available_payment_methods.go +++ b/api/model_post_orders_201_response_data_relationships_available_payment_methods.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_orders_201_response_data_relationships_available_payment_methods_data.go b/api/model_post_orders_201_response_data_relationships_available_payment_methods_data.go index 671a590cd..0403ffc90 100644 --- a/api/model_post_orders_201_response_data_relationships_available_payment_methods_data.go +++ b/api/model_post_orders_201_response_data_relationships_available_payment_methods_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_orders_201_response_data_relationships_billing_address.go b/api/model_post_orders_201_response_data_relationships_billing_address.go index 2a5997254..f9d420c00 100644 --- a/api/model_post_orders_201_response_data_relationships_billing_address.go +++ b/api/model_post_orders_201_response_data_relationships_billing_address.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_orders_201_response_data_relationships_billing_address_data.go b/api/model_post_orders_201_response_data_relationships_billing_address_data.go index 2c32c3bb7..f2b860f38 100644 --- a/api/model_post_orders_201_response_data_relationships_billing_address_data.go +++ b/api/model_post_orders_201_response_data_relationships_billing_address_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_orders_201_response_data_relationships_line_items.go b/api/model_post_orders_201_response_data_relationships_line_items.go index ed8c49bb7..2df100023 100644 --- a/api/model_post_orders_201_response_data_relationships_line_items.go +++ b/api/model_post_orders_201_response_data_relationships_line_items.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_orders_201_response_data_relationships_line_items_data.go b/api/model_post_orders_201_response_data_relationships_line_items_data.go index 491499af3..82e7c850d 100644 --- a/api/model_post_orders_201_response_data_relationships_line_items_data.go +++ b/api/model_post_orders_201_response_data_relationships_line_items_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_orders_201_response_data_relationships_links.go b/api/model_post_orders_201_response_data_relationships_links.go index c81e5cf2a..d37e26ba1 100644 --- a/api/model_post_orders_201_response_data_relationships_links.go +++ b/api/model_post_orders_201_response_data_relationships_links.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_orders_201_response_data_relationships_links_data.go b/api/model_post_orders_201_response_data_relationships_links_data.go index 0d39d72c7..af0416b3b 100644 --- a/api/model_post_orders_201_response_data_relationships_links_data.go +++ b/api/model_post_orders_201_response_data_relationships_links_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_orders_201_response_data_relationships_order_copies.go b/api/model_post_orders_201_response_data_relationships_order_copies.go index ca567a61c..e9306ccc9 100644 --- a/api/model_post_orders_201_response_data_relationships_order_copies.go +++ b/api/model_post_orders_201_response_data_relationships_order_copies.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_orders_201_response_data_relationships_order_copies_data.go b/api/model_post_orders_201_response_data_relationships_order_copies_data.go index ec43fbe3f..fc8765db8 100644 --- a/api/model_post_orders_201_response_data_relationships_order_copies_data.go +++ b/api/model_post_orders_201_response_data_relationships_order_copies_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_orders_201_response_data_relationships_payment_options.go b/api/model_post_orders_201_response_data_relationships_payment_options.go index 82aaf6957..e37ff544f 100644 --- a/api/model_post_orders_201_response_data_relationships_payment_options.go +++ b/api/model_post_orders_201_response_data_relationships_payment_options.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_orders_201_response_data_relationships_payment_options_data.go b/api/model_post_orders_201_response_data_relationships_payment_options_data.go index 4f612d6af..0c1a26534 100644 --- a/api/model_post_orders_201_response_data_relationships_payment_options_data.go +++ b/api/model_post_orders_201_response_data_relationships_payment_options_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_orders_201_response_data_relationships_resource_errors.go b/api/model_post_orders_201_response_data_relationships_resource_errors.go index 4428e366f..0fd21f14c 100644 --- a/api/model_post_orders_201_response_data_relationships_resource_errors.go +++ b/api/model_post_orders_201_response_data_relationships_resource_errors.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_orders_201_response_data_relationships_resource_errors_data.go b/api/model_post_orders_201_response_data_relationships_resource_errors_data.go index 3bd53ddc1..db9dc58ca 100644 --- a/api/model_post_orders_201_response_data_relationships_resource_errors_data.go +++ b/api/model_post_orders_201_response_data_relationships_resource_errors_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_orders_201_response_data_relationships_shipments.go b/api/model_post_orders_201_response_data_relationships_shipments.go index f71446a05..ae3726824 100644 --- a/api/model_post_orders_201_response_data_relationships_shipments.go +++ b/api/model_post_orders_201_response_data_relationships_shipments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_orders_201_response_data_relationships_shipments_data.go b/api/model_post_orders_201_response_data_relationships_shipments_data.go index cda16e8cb..43947eec8 100644 --- a/api/model_post_orders_201_response_data_relationships_shipments_data.go +++ b/api/model_post_orders_201_response_data_relationships_shipments_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_orders_201_response_data_relationships_shipping_address.go b/api/model_post_orders_201_response_data_relationships_shipping_address.go index 76728cbe3..167efa386 100644 --- a/api/model_post_orders_201_response_data_relationships_shipping_address.go +++ b/api/model_post_orders_201_response_data_relationships_shipping_address.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_orders_201_response_data_relationships_shipping_address_data.go b/api/model_post_orders_201_response_data_relationships_shipping_address_data.go index f11597f0f..7ac6be215 100644 --- a/api/model_post_orders_201_response_data_relationships_shipping_address_data.go +++ b/api/model_post_orders_201_response_data_relationships_shipping_address_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_orders_201_response_data_relationships_store.go b/api/model_post_orders_201_response_data_relationships_store.go new file mode 100644 index 000000000..b0bd23fec --- /dev/null +++ b/api/model_post_orders_201_response_data_relationships_store.go @@ -0,0 +1,161 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the POSTOrders201ResponseDataRelationshipsStore type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &POSTOrders201ResponseDataRelationshipsStore{} + +// POSTOrders201ResponseDataRelationshipsStore struct for POSTOrders201ResponseDataRelationshipsStore +type POSTOrders201ResponseDataRelationshipsStore struct { + Links *POSTAddresses201ResponseDataRelationshipsGeocoderLinks `json:"links,omitempty"` + Data *POSTOrders201ResponseDataRelationshipsStoreData `json:"data,omitempty"` +} + +// NewPOSTOrders201ResponseDataRelationshipsStore instantiates a new POSTOrders201ResponseDataRelationshipsStore object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPOSTOrders201ResponseDataRelationshipsStore() *POSTOrders201ResponseDataRelationshipsStore { + this := POSTOrders201ResponseDataRelationshipsStore{} + return &this +} + +// NewPOSTOrders201ResponseDataRelationshipsStoreWithDefaults instantiates a new POSTOrders201ResponseDataRelationshipsStore object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPOSTOrders201ResponseDataRelationshipsStoreWithDefaults() *POSTOrders201ResponseDataRelationshipsStore { + this := POSTOrders201ResponseDataRelationshipsStore{} + return &this +} + +// GetLinks returns the Links field value if set, zero value otherwise. +func (o *POSTOrders201ResponseDataRelationshipsStore) GetLinks() POSTAddresses201ResponseDataRelationshipsGeocoderLinks { + if o == nil || IsNil(o.Links) { + var ret POSTAddresses201ResponseDataRelationshipsGeocoderLinks + return ret + } + return *o.Links +} + +// GetLinksOk returns a tuple with the Links field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTOrders201ResponseDataRelationshipsStore) GetLinksOk() (*POSTAddresses201ResponseDataRelationshipsGeocoderLinks, bool) { + if o == nil || IsNil(o.Links) { + return nil, false + } + return o.Links, true +} + +// HasLinks returns a boolean if a field has been set. +func (o *POSTOrders201ResponseDataRelationshipsStore) HasLinks() bool { + if o != nil && !IsNil(o.Links) { + return true + } + + return false +} + +// SetLinks gets a reference to the given POSTAddresses201ResponseDataRelationshipsGeocoderLinks and assigns it to the Links field. +func (o *POSTOrders201ResponseDataRelationshipsStore) SetLinks(v POSTAddresses201ResponseDataRelationshipsGeocoderLinks) { + o.Links = &v +} + +// GetData returns the Data field value if set, zero value otherwise. +func (o *POSTOrders201ResponseDataRelationshipsStore) GetData() POSTOrders201ResponseDataRelationshipsStoreData { + if o == nil || IsNil(o.Data) { + var ret POSTOrders201ResponseDataRelationshipsStoreData + return ret + } + return *o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTOrders201ResponseDataRelationshipsStore) GetDataOk() (*POSTOrders201ResponseDataRelationshipsStoreData, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *POSTOrders201ResponseDataRelationshipsStore) HasData() bool { + if o != nil && !IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given POSTOrders201ResponseDataRelationshipsStoreData and assigns it to the Data field. +func (o *POSTOrders201ResponseDataRelationshipsStore) SetData(v POSTOrders201ResponseDataRelationshipsStoreData) { + o.Data = &v +} + +func (o POSTOrders201ResponseDataRelationshipsStore) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o POSTOrders201ResponseDataRelationshipsStore) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Links) { + toSerialize["links"] = o.Links + } + if !IsNil(o.Data) { + toSerialize["data"] = o.Data + } + return toSerialize, nil +} + +type NullablePOSTOrders201ResponseDataRelationshipsStore struct { + value *POSTOrders201ResponseDataRelationshipsStore + isSet bool +} + +func (v NullablePOSTOrders201ResponseDataRelationshipsStore) Get() *POSTOrders201ResponseDataRelationshipsStore { + return v.value +} + +func (v *NullablePOSTOrders201ResponseDataRelationshipsStore) Set(val *POSTOrders201ResponseDataRelationshipsStore) { + v.value = val + v.isSet = true +} + +func (v NullablePOSTOrders201ResponseDataRelationshipsStore) IsSet() bool { + return v.isSet +} + +func (v *NullablePOSTOrders201ResponseDataRelationshipsStore) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePOSTOrders201ResponseDataRelationshipsStore(val *POSTOrders201ResponseDataRelationshipsStore) *NullablePOSTOrders201ResponseDataRelationshipsStore { + return &NullablePOSTOrders201ResponseDataRelationshipsStore{value: val, isSet: true} +} + +func (v NullablePOSTOrders201ResponseDataRelationshipsStore) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePOSTOrders201ResponseDataRelationshipsStore) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_post_orders_201_response_data_relationships_store_data.go b/api/model_post_orders_201_response_data_relationships_store_data.go new file mode 100644 index 000000000..f161f3aa3 --- /dev/null +++ b/api/model_post_orders_201_response_data_relationships_store_data.go @@ -0,0 +1,165 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the POSTOrders201ResponseDataRelationshipsStoreData type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &POSTOrders201ResponseDataRelationshipsStoreData{} + +// POSTOrders201ResponseDataRelationshipsStoreData struct for POSTOrders201ResponseDataRelationshipsStoreData +type POSTOrders201ResponseDataRelationshipsStoreData struct { + // The resource's type + Type interface{} `json:"type,omitempty"` + // The resource ID + Id interface{} `json:"id,omitempty"` +} + +// NewPOSTOrders201ResponseDataRelationshipsStoreData instantiates a new POSTOrders201ResponseDataRelationshipsStoreData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPOSTOrders201ResponseDataRelationshipsStoreData() *POSTOrders201ResponseDataRelationshipsStoreData { + this := POSTOrders201ResponseDataRelationshipsStoreData{} + return &this +} + +// NewPOSTOrders201ResponseDataRelationshipsStoreDataWithDefaults instantiates a new POSTOrders201ResponseDataRelationshipsStoreData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPOSTOrders201ResponseDataRelationshipsStoreDataWithDefaults() *POSTOrders201ResponseDataRelationshipsStoreData { + this := POSTOrders201ResponseDataRelationshipsStoreData{} + return &this +} + +// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTOrders201ResponseDataRelationshipsStoreData) GetType() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *POSTOrders201ResponseDataRelationshipsStoreData) GetTypeOk() (*interface{}, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return &o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *POSTOrders201ResponseDataRelationshipsStoreData) HasType() bool { + if o != nil && IsNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given interface{} and assigns it to the Type field. +func (o *POSTOrders201ResponseDataRelationshipsStoreData) SetType(v interface{}) { + o.Type = v +} + +// GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTOrders201ResponseDataRelationshipsStoreData) GetId() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *POSTOrders201ResponseDataRelationshipsStoreData) GetIdOk() (*interface{}, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return &o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *POSTOrders201ResponseDataRelationshipsStoreData) HasId() bool { + if o != nil && IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given interface{} and assigns it to the Id field. +func (o *POSTOrders201ResponseDataRelationshipsStoreData) SetId(v interface{}) { + o.Id = v +} + +func (o POSTOrders201ResponseDataRelationshipsStoreData) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o POSTOrders201ResponseDataRelationshipsStoreData) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Type != nil { + toSerialize["type"] = o.Type + } + if o.Id != nil { + toSerialize["id"] = o.Id + } + return toSerialize, nil +} + +type NullablePOSTOrders201ResponseDataRelationshipsStoreData struct { + value *POSTOrders201ResponseDataRelationshipsStoreData + isSet bool +} + +func (v NullablePOSTOrders201ResponseDataRelationshipsStoreData) Get() *POSTOrders201ResponseDataRelationshipsStoreData { + return v.value +} + +func (v *NullablePOSTOrders201ResponseDataRelationshipsStoreData) Set(val *POSTOrders201ResponseDataRelationshipsStoreData) { + v.value = val + v.isSet = true +} + +func (v NullablePOSTOrders201ResponseDataRelationshipsStoreData) IsSet() bool { + return v.isSet +} + +func (v *NullablePOSTOrders201ResponseDataRelationshipsStoreData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePOSTOrders201ResponseDataRelationshipsStoreData(val *POSTOrders201ResponseDataRelationshipsStoreData) *NullablePOSTOrders201ResponseDataRelationshipsStoreData { + return &NullablePOSTOrders201ResponseDataRelationshipsStoreData{value: val, isSet: true} +} + +func (v NullablePOSTOrders201ResponseDataRelationshipsStoreData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePOSTOrders201ResponseDataRelationshipsStoreData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_post_orders_201_response_data_relationships_transactions.go b/api/model_post_orders_201_response_data_relationships_transactions.go index c544dd270..f89aa7a24 100644 --- a/api/model_post_orders_201_response_data_relationships_transactions.go +++ b/api/model_post_orders_201_response_data_relationships_transactions.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_orders_201_response_data_relationships_transactions_data.go b/api/model_post_orders_201_response_data_relationships_transactions_data.go index f20535689..96fad40ff 100644 --- a/api/model_post_orders_201_response_data_relationships_transactions_data.go +++ b/api/model_post_orders_201_response_data_relationships_transactions_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_packages_201_response.go b/api/model_post_packages_201_response.go index e4702cafd..756ba116d 100644 --- a/api/model_post_packages_201_response.go +++ b/api/model_post_packages_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_packages_201_response_data.go b/api/model_post_packages_201_response_data.go index 5601121a0..a64bf56a9 100644 --- a/api/model_post_packages_201_response_data.go +++ b/api/model_post_packages_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_packages_201_response_data_attributes.go b/api/model_post_packages_201_response_data_attributes.go index dbaa7b4fd..1e511042f 100644 --- a/api/model_post_packages_201_response_data_attributes.go +++ b/api/model_post_packages_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_packages_201_response_data_relationships.go b/api/model_post_packages_201_response_data_relationships.go index 8b2557afe..9532b7977 100644 --- a/api/model_post_packages_201_response_data_relationships.go +++ b/api/model_post_packages_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_packages_201_response_data_relationships_parcels.go b/api/model_post_packages_201_response_data_relationships_parcels.go index 36db86968..3630cfff3 100644 --- a/api/model_post_packages_201_response_data_relationships_parcels.go +++ b/api/model_post_packages_201_response_data_relationships_parcels.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_packages_201_response_data_relationships_parcels_data.go b/api/model_post_packages_201_response_data_relationships_parcels_data.go index 0a755d9de..2d8fb5918 100644 --- a/api/model_post_packages_201_response_data_relationships_parcels_data.go +++ b/api/model_post_packages_201_response_data_relationships_parcels_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_parcel_line_items_201_response.go b/api/model_post_parcel_line_items_201_response.go index 24a3e7fd1..6fb85873d 100644 --- a/api/model_post_parcel_line_items_201_response.go +++ b/api/model_post_parcel_line_items_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_parcel_line_items_201_response_data.go b/api/model_post_parcel_line_items_201_response_data.go index 2737e9402..577242052 100644 --- a/api/model_post_parcel_line_items_201_response_data.go +++ b/api/model_post_parcel_line_items_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_parcel_line_items_201_response_data_attributes.go b/api/model_post_parcel_line_items_201_response_data_attributes.go index fd858d481..efa8bcd97 100644 --- a/api/model_post_parcel_line_items_201_response_data_attributes.go +++ b/api/model_post_parcel_line_items_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_parcel_line_items_201_response_data_relationships.go b/api/model_post_parcel_line_items_201_response_data_relationships.go index e940ecd2f..e08083a95 100644 --- a/api/model_post_parcel_line_items_201_response_data_relationships.go +++ b/api/model_post_parcel_line_items_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_parcel_line_items_201_response_data_relationships_parcel.go b/api/model_post_parcel_line_items_201_response_data_relationships_parcel.go index 3bb9e4a8f..fa8aebebc 100644 --- a/api/model_post_parcel_line_items_201_response_data_relationships_parcel.go +++ b/api/model_post_parcel_line_items_201_response_data_relationships_parcel.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_parcel_line_items_201_response_data_relationships_parcel_data.go b/api/model_post_parcel_line_items_201_response_data_relationships_parcel_data.go index f66199183..a07cf448d 100644 --- a/api/model_post_parcel_line_items_201_response_data_relationships_parcel_data.go +++ b/api/model_post_parcel_line_items_201_response_data_relationships_parcel_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_parcel_line_items_201_response_data_relationships_stock_line_item.go b/api/model_post_parcel_line_items_201_response_data_relationships_stock_line_item.go index a39dc4541..8127940cf 100644 --- a/api/model_post_parcel_line_items_201_response_data_relationships_stock_line_item.go +++ b/api/model_post_parcel_line_items_201_response_data_relationships_stock_line_item.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_parcel_line_items_201_response_data_relationships_stock_line_item_data.go b/api/model_post_parcel_line_items_201_response_data_relationships_stock_line_item_data.go index 79f3e39ba..1635557b8 100644 --- a/api/model_post_parcel_line_items_201_response_data_relationships_stock_line_item_data.go +++ b/api/model_post_parcel_line_items_201_response_data_relationships_stock_line_item_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_parcels_201_response.go b/api/model_post_parcels_201_response.go index b91f15c8a..959f51922 100644 --- a/api/model_post_parcels_201_response.go +++ b/api/model_post_parcels_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_parcels_201_response_data.go b/api/model_post_parcels_201_response_data.go index c954a5dc0..2dbd4757d 100644 --- a/api/model_post_parcels_201_response_data.go +++ b/api/model_post_parcels_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_parcels_201_response_data_attributes.go b/api/model_post_parcels_201_response_data_attributes.go index 81e2897b0..9a86bac81 100644 --- a/api/model_post_parcels_201_response_data_attributes.go +++ b/api/model_post_parcels_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_parcels_201_response_data_relationships.go b/api/model_post_parcels_201_response_data_relationships.go index 36b65228c..7a18ac3a0 100644 --- a/api/model_post_parcels_201_response_data_relationships.go +++ b/api/model_post_parcels_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_parcels_201_response_data_relationships_package.go b/api/model_post_parcels_201_response_data_relationships_package.go index e3b2a5576..0463ccd1d 100644 --- a/api/model_post_parcels_201_response_data_relationships_package.go +++ b/api/model_post_parcels_201_response_data_relationships_package.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_parcels_201_response_data_relationships_package_data.go b/api/model_post_parcels_201_response_data_relationships_package_data.go index a054b8218..91df68e12 100644 --- a/api/model_post_parcels_201_response_data_relationships_package_data.go +++ b/api/model_post_parcels_201_response_data_relationships_package_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_parcels_201_response_data_relationships_parcel_line_items.go b/api/model_post_parcels_201_response_data_relationships_parcel_line_items.go index 56556193e..abd09fe68 100644 --- a/api/model_post_parcels_201_response_data_relationships_parcel_line_items.go +++ b/api/model_post_parcels_201_response_data_relationships_parcel_line_items.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_parcels_201_response_data_relationships_parcel_line_items_data.go b/api/model_post_parcels_201_response_data_relationships_parcel_line_items_data.go index 2fbd234ff..412b191c5 100644 --- a/api/model_post_parcels_201_response_data_relationships_parcel_line_items_data.go +++ b/api/model_post_parcels_201_response_data_relationships_parcel_line_items_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_payment_methods_201_response.go b/api/model_post_payment_methods_201_response.go index 2adac4915..ae6ac7fce 100644 --- a/api/model_post_payment_methods_201_response.go +++ b/api/model_post_payment_methods_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_payment_methods_201_response_data.go b/api/model_post_payment_methods_201_response_data.go index 1c9a764d6..f546e1ee9 100644 --- a/api/model_post_payment_methods_201_response_data.go +++ b/api/model_post_payment_methods_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_payment_methods_201_response_data_attributes.go b/api/model_post_payment_methods_201_response_data_attributes.go index d071250e8..b03b81f75 100644 --- a/api/model_post_payment_methods_201_response_data_attributes.go +++ b/api/model_post_payment_methods_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_payment_methods_201_response_data_relationships.go b/api/model_post_payment_methods_201_response_data_relationships.go index 89ce79042..f5f57db5d 100644 --- a/api/model_post_payment_methods_201_response_data_relationships.go +++ b/api/model_post_payment_methods_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,8 +20,10 @@ var _ MappedNullable = &POSTPaymentMethods201ResponseDataRelationships{} // POSTPaymentMethods201ResponseDataRelationships struct for POSTPaymentMethods201ResponseDataRelationships type POSTPaymentMethods201ResponseDataRelationships struct { - Market *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket `json:"market,omitempty"` + Market *POSTBundles201ResponseDataRelationshipsMarket `json:"market,omitempty"` PaymentGateway *POSTAdyenPayments201ResponseDataRelationshipsPaymentGateway `json:"payment_gateway,omitempty"` + Store *POSTOrders201ResponseDataRelationshipsStore `json:"store,omitempty"` + Orders *POSTCustomers201ResponseDataRelationshipsOrders `json:"orders,omitempty"` Attachments *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments `json:"attachments,omitempty"` Versions *POSTAddresses201ResponseDataRelationshipsVersions `json:"versions,omitempty"` } @@ -44,9 +46,9 @@ func NewPOSTPaymentMethods201ResponseDataRelationshipsWithDefaults() *POSTPaymen } // GetMarket returns the Market field value if set, zero value otherwise. -func (o *POSTPaymentMethods201ResponseDataRelationships) GetMarket() POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket { +func (o *POSTPaymentMethods201ResponseDataRelationships) GetMarket() POSTBundles201ResponseDataRelationshipsMarket { if o == nil || IsNil(o.Market) { - var ret POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket + var ret POSTBundles201ResponseDataRelationshipsMarket return ret } return *o.Market @@ -54,7 +56,7 @@ func (o *POSTPaymentMethods201ResponseDataRelationships) GetMarket() POSTBilling // GetMarketOk returns a tuple with the Market field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *POSTPaymentMethods201ResponseDataRelationships) GetMarketOk() (*POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket, bool) { +func (o *POSTPaymentMethods201ResponseDataRelationships) GetMarketOk() (*POSTBundles201ResponseDataRelationshipsMarket, bool) { if o == nil || IsNil(o.Market) { return nil, false } @@ -70,8 +72,8 @@ func (o *POSTPaymentMethods201ResponseDataRelationships) HasMarket() bool { return false } -// SetMarket gets a reference to the given POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket and assigns it to the Market field. -func (o *POSTPaymentMethods201ResponseDataRelationships) SetMarket(v POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) { +// SetMarket gets a reference to the given POSTBundles201ResponseDataRelationshipsMarket and assigns it to the Market field. +func (o *POSTPaymentMethods201ResponseDataRelationships) SetMarket(v POSTBundles201ResponseDataRelationshipsMarket) { o.Market = &v } @@ -107,6 +109,70 @@ func (o *POSTPaymentMethods201ResponseDataRelationships) SetPaymentGateway(v POS o.PaymentGateway = &v } +// GetStore returns the Store field value if set, zero value otherwise. +func (o *POSTPaymentMethods201ResponseDataRelationships) GetStore() POSTOrders201ResponseDataRelationshipsStore { + if o == nil || IsNil(o.Store) { + var ret POSTOrders201ResponseDataRelationshipsStore + return ret + } + return *o.Store +} + +// GetStoreOk returns a tuple with the Store field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTPaymentMethods201ResponseDataRelationships) GetStoreOk() (*POSTOrders201ResponseDataRelationshipsStore, bool) { + if o == nil || IsNil(o.Store) { + return nil, false + } + return o.Store, true +} + +// HasStore returns a boolean if a field has been set. +func (o *POSTPaymentMethods201ResponseDataRelationships) HasStore() bool { + if o != nil && !IsNil(o.Store) { + return true + } + + return false +} + +// SetStore gets a reference to the given POSTOrders201ResponseDataRelationshipsStore and assigns it to the Store field. +func (o *POSTPaymentMethods201ResponseDataRelationships) SetStore(v POSTOrders201ResponseDataRelationshipsStore) { + o.Store = &v +} + +// GetOrders returns the Orders field value if set, zero value otherwise. +func (o *POSTPaymentMethods201ResponseDataRelationships) GetOrders() POSTCustomers201ResponseDataRelationshipsOrders { + if o == nil || IsNil(o.Orders) { + var ret POSTCustomers201ResponseDataRelationshipsOrders + return ret + } + return *o.Orders +} + +// GetOrdersOk returns a tuple with the Orders field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTPaymentMethods201ResponseDataRelationships) GetOrdersOk() (*POSTCustomers201ResponseDataRelationshipsOrders, bool) { + if o == nil || IsNil(o.Orders) { + return nil, false + } + return o.Orders, true +} + +// HasOrders returns a boolean if a field has been set. +func (o *POSTPaymentMethods201ResponseDataRelationships) HasOrders() bool { + if o != nil && !IsNil(o.Orders) { + return true + } + + return false +} + +// SetOrders gets a reference to the given POSTCustomers201ResponseDataRelationshipsOrders and assigns it to the Orders field. +func (o *POSTPaymentMethods201ResponseDataRelationships) SetOrders(v POSTCustomers201ResponseDataRelationshipsOrders) { + o.Orders = &v +} + // GetAttachments returns the Attachments field value if set, zero value otherwise. func (o *POSTPaymentMethods201ResponseDataRelationships) GetAttachments() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments { if o == nil || IsNil(o.Attachments) { @@ -187,6 +253,12 @@ func (o POSTPaymentMethods201ResponseDataRelationships) ToMap() (map[string]inte if !IsNil(o.PaymentGateway) { toSerialize["payment_gateway"] = o.PaymentGateway } + if !IsNil(o.Store) { + toSerialize["store"] = o.Store + } + if !IsNil(o.Orders) { + toSerialize["orders"] = o.Orders + } if !IsNil(o.Attachments) { toSerialize["attachments"] = o.Attachments } diff --git a/api/model_post_payment_options_201_response.go b/api/model_post_payment_options_201_response.go index f26c7a3e2..19b1160a3 100644 --- a/api/model_post_payment_options_201_response.go +++ b/api/model_post_payment_options_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_payment_options_201_response_data.go b/api/model_post_payment_options_201_response_data.go index 07af28bed..1d64d4e5a 100644 --- a/api/model_post_payment_options_201_response_data.go +++ b/api/model_post_payment_options_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_payment_options_201_response_data_attributes.go b/api/model_post_payment_options_201_response_data_attributes.go index a8ddf7a06..5aa31314e 100644 --- a/api/model_post_payment_options_201_response_data_attributes.go +++ b/api/model_post_payment_options_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_payment_options_201_response_data_relationships.go b/api/model_post_payment_options_201_response_data_relationships.go index 487969ff1..766f84ba3 100644 --- a/api/model_post_payment_options_201_response_data_relationships.go +++ b/api/model_post_payment_options_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_paypal_gateways_201_response.go b/api/model_post_paypal_gateways_201_response.go index a08e0ca82..2c67242c7 100644 --- a/api/model_post_paypal_gateways_201_response.go +++ b/api/model_post_paypal_gateways_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_paypal_gateways_201_response_data.go b/api/model_post_paypal_gateways_201_response_data.go index 5bf507020..cf2cc585e 100644 --- a/api/model_post_paypal_gateways_201_response_data.go +++ b/api/model_post_paypal_gateways_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_paypal_gateways_201_response_data_attributes.go b/api/model_post_paypal_gateways_201_response_data_attributes.go index 79749b9e4..c7d35af62 100644 --- a/api/model_post_paypal_gateways_201_response_data_attributes.go +++ b/api/model_post_paypal_gateways_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_paypal_gateways_201_response_data_relationships.go b/api/model_post_paypal_gateways_201_response_data_relationships.go index 59a76c1ec..1348f3903 100644 --- a/api/model_post_paypal_gateways_201_response_data_relationships.go +++ b/api/model_post_paypal_gateways_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_paypal_gateways_201_response_data_relationships_paypal_payments.go b/api/model_post_paypal_gateways_201_response_data_relationships_paypal_payments.go index 351107e54..93429b94e 100644 --- a/api/model_post_paypal_gateways_201_response_data_relationships_paypal_payments.go +++ b/api/model_post_paypal_gateways_201_response_data_relationships_paypal_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_paypal_gateways_201_response_data_relationships_paypal_payments_data.go b/api/model_post_paypal_gateways_201_response_data_relationships_paypal_payments_data.go index 104f20c5d..d1ce90f4f 100644 --- a/api/model_post_paypal_gateways_201_response_data_relationships_paypal_payments_data.go +++ b/api/model_post_paypal_gateways_201_response_data_relationships_paypal_payments_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_paypal_payments_201_response.go b/api/model_post_paypal_payments_201_response.go index be077db87..97e27fbac 100644 --- a/api/model_post_paypal_payments_201_response.go +++ b/api/model_post_paypal_payments_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_paypal_payments_201_response_data.go b/api/model_post_paypal_payments_201_response_data.go index 1b191b1e6..cc2004119 100644 --- a/api/model_post_paypal_payments_201_response_data.go +++ b/api/model_post_paypal_payments_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_paypal_payments_201_response_data_attributes.go b/api/model_post_paypal_payments_201_response_data_attributes.go index d38b4ad81..7e65f98b6 100644 --- a/api/model_post_paypal_payments_201_response_data_attributes.go +++ b/api/model_post_paypal_payments_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_percentage_discount_promotions_201_response.go b/api/model_post_percentage_discount_promotions_201_response.go index 4900e2876..71d035055 100644 --- a/api/model_post_percentage_discount_promotions_201_response.go +++ b/api/model_post_percentage_discount_promotions_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_percentage_discount_promotions_201_response_data.go b/api/model_post_percentage_discount_promotions_201_response_data.go index c1eb4d94e..fa6c08bb3 100644 --- a/api/model_post_percentage_discount_promotions_201_response_data.go +++ b/api/model_post_percentage_discount_promotions_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_percentage_discount_promotions_201_response_data_attributes.go b/api/model_post_percentage_discount_promotions_201_response_data_attributes.go index 66bb21c33..64bdfef15 100644 --- a/api/model_post_percentage_discount_promotions_201_response_data_attributes.go +++ b/api/model_post_percentage_discount_promotions_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_price_frequency_tiers_201_response.go b/api/model_post_price_frequency_tiers_201_response.go index 691889dd8..d61e882be 100644 --- a/api/model_post_price_frequency_tiers_201_response.go +++ b/api/model_post_price_frequency_tiers_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_price_frequency_tiers_201_response_data.go b/api/model_post_price_frequency_tiers_201_response_data.go index 98f5eb80d..3d55b4890 100644 --- a/api/model_post_price_frequency_tiers_201_response_data.go +++ b/api/model_post_price_frequency_tiers_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_price_frequency_tiers_201_response_data_attributes.go b/api/model_post_price_frequency_tiers_201_response_data_attributes.go index f1605056a..757078d95 100644 --- a/api/model_post_price_frequency_tiers_201_response_data_attributes.go +++ b/api/model_post_price_frequency_tiers_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_price_frequency_tiers_201_response_data_relationships.go b/api/model_post_price_frequency_tiers_201_response_data_relationships.go index aa65a4c94..b58148431 100644 --- a/api/model_post_price_frequency_tiers_201_response_data_relationships.go +++ b/api/model_post_price_frequency_tiers_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_price_frequency_tiers_201_response_data_relationships_price.go b/api/model_post_price_frequency_tiers_201_response_data_relationships_price.go index 22eb31619..0f4c4d768 100644 --- a/api/model_post_price_frequency_tiers_201_response_data_relationships_price.go +++ b/api/model_post_price_frequency_tiers_201_response_data_relationships_price.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_price_frequency_tiers_201_response_data_relationships_price_data.go b/api/model_post_price_frequency_tiers_201_response_data_relationships_price_data.go index 3eec30c53..70f16cf93 100644 --- a/api/model_post_price_frequency_tiers_201_response_data_relationships_price_data.go +++ b/api/model_post_price_frequency_tiers_201_response_data_relationships_price_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_price_list_schedulers_201_response.go b/api/model_post_price_list_schedulers_201_response.go index 9a0b41eeb..1c0a01a84 100644 --- a/api/model_post_price_list_schedulers_201_response.go +++ b/api/model_post_price_list_schedulers_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_price_list_schedulers_201_response_data.go b/api/model_post_price_list_schedulers_201_response_data.go index 735ab5f7d..1840676af 100644 --- a/api/model_post_price_list_schedulers_201_response_data.go +++ b/api/model_post_price_list_schedulers_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_price_list_schedulers_201_response_data_attributes.go b/api/model_post_price_list_schedulers_201_response_data_attributes.go index 3f6c3267c..45f78cbb6 100644 --- a/api/model_post_price_list_schedulers_201_response_data_attributes.go +++ b/api/model_post_price_list_schedulers_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_price_list_schedulers_201_response_data_relationships.go b/api/model_post_price_list_schedulers_201_response_data_relationships.go index c00be5518..a69fd6faa 100644 --- a/api/model_post_price_list_schedulers_201_response_data_relationships.go +++ b/api/model_post_price_list_schedulers_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,10 +20,10 @@ var _ MappedNullable = &POSTPriceListSchedulers201ResponseDataRelationships{} // POSTPriceListSchedulers201ResponseDataRelationships struct for POSTPriceListSchedulers201ResponseDataRelationships type POSTPriceListSchedulers201ResponseDataRelationships struct { - Market *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket `json:"market,omitempty"` - PriceList *POSTMarkets201ResponseDataRelationshipsPriceList `json:"price_list,omitempty"` - Events *POSTAddresses201ResponseDataRelationshipsEvents `json:"events,omitempty"` - Versions *POSTAddresses201ResponseDataRelationshipsVersions `json:"versions,omitempty"` + Market *POSTBundles201ResponseDataRelationshipsMarket `json:"market,omitempty"` + PriceList *POSTMarkets201ResponseDataRelationshipsPriceList `json:"price_list,omitempty"` + Events *POSTAddresses201ResponseDataRelationshipsEvents `json:"events,omitempty"` + Versions *POSTAddresses201ResponseDataRelationshipsVersions `json:"versions,omitempty"` } // NewPOSTPriceListSchedulers201ResponseDataRelationships instantiates a new POSTPriceListSchedulers201ResponseDataRelationships object @@ -44,9 +44,9 @@ func NewPOSTPriceListSchedulers201ResponseDataRelationshipsWithDefaults() *POSTP } // GetMarket returns the Market field value if set, zero value otherwise. -func (o *POSTPriceListSchedulers201ResponseDataRelationships) GetMarket() POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket { +func (o *POSTPriceListSchedulers201ResponseDataRelationships) GetMarket() POSTBundles201ResponseDataRelationshipsMarket { if o == nil || IsNil(o.Market) { - var ret POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket + var ret POSTBundles201ResponseDataRelationshipsMarket return ret } return *o.Market @@ -54,7 +54,7 @@ func (o *POSTPriceListSchedulers201ResponseDataRelationships) GetMarket() POSTBi // GetMarketOk returns a tuple with the Market field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *POSTPriceListSchedulers201ResponseDataRelationships) GetMarketOk() (*POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket, bool) { +func (o *POSTPriceListSchedulers201ResponseDataRelationships) GetMarketOk() (*POSTBundles201ResponseDataRelationshipsMarket, bool) { if o == nil || IsNil(o.Market) { return nil, false } @@ -70,8 +70,8 @@ func (o *POSTPriceListSchedulers201ResponseDataRelationships) HasMarket() bool { return false } -// SetMarket gets a reference to the given POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket and assigns it to the Market field. -func (o *POSTPriceListSchedulers201ResponseDataRelationships) SetMarket(v POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) { +// SetMarket gets a reference to the given POSTBundles201ResponseDataRelationshipsMarket and assigns it to the Market field. +func (o *POSTPriceListSchedulers201ResponseDataRelationships) SetMarket(v POSTBundles201ResponseDataRelationshipsMarket) { o.Market = &v } diff --git a/api/model_post_price_lists_201_response.go b/api/model_post_price_lists_201_response.go index 4610d000f..5c7059290 100644 --- a/api/model_post_price_lists_201_response.go +++ b/api/model_post_price_lists_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_price_lists_201_response_data.go b/api/model_post_price_lists_201_response_data.go index e1451f35b..21770a6b2 100644 --- a/api/model_post_price_lists_201_response_data.go +++ b/api/model_post_price_lists_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_price_lists_201_response_data_attributes.go b/api/model_post_price_lists_201_response_data_attributes.go index 4e7aa04c6..98255e99d 100644 --- a/api/model_post_price_lists_201_response_data_attributes.go +++ b/api/model_post_price_lists_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_price_lists_201_response_data_relationships.go b/api/model_post_price_lists_201_response_data_relationships.go index 33e84eb8a..b011151b2 100644 --- a/api/model_post_price_lists_201_response_data_relationships.go +++ b/api/model_post_price_lists_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_price_lists_201_response_data_relationships_prices.go b/api/model_post_price_lists_201_response_data_relationships_prices.go index 4f2337fd9..a9f0b16c8 100644 --- a/api/model_post_price_lists_201_response_data_relationships_prices.go +++ b/api/model_post_price_lists_201_response_data_relationships_prices.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_price_lists_201_response_data_relationships_prices_data.go b/api/model_post_price_lists_201_response_data_relationships_prices_data.go index bd7fd27e4..ea3164167 100644 --- a/api/model_post_price_lists_201_response_data_relationships_prices_data.go +++ b/api/model_post_price_lists_201_response_data_relationships_prices_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_price_volume_tiers_201_response.go b/api/model_post_price_volume_tiers_201_response.go index 0e8aea653..1066a4a41 100644 --- a/api/model_post_price_volume_tiers_201_response.go +++ b/api/model_post_price_volume_tiers_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_price_volume_tiers_201_response_data.go b/api/model_post_price_volume_tiers_201_response_data.go index 7130f9316..8f7297205 100644 --- a/api/model_post_price_volume_tiers_201_response_data.go +++ b/api/model_post_price_volume_tiers_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_price_volume_tiers_201_response_data_attributes.go b/api/model_post_price_volume_tiers_201_response_data_attributes.go index 07c80dc0f..395217c28 100644 --- a/api/model_post_price_volume_tiers_201_response_data_attributes.go +++ b/api/model_post_price_volume_tiers_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_prices_201_response.go b/api/model_post_prices_201_response.go index bfa1661af..6449fd3c8 100644 --- a/api/model_post_prices_201_response.go +++ b/api/model_post_prices_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_prices_201_response_data.go b/api/model_post_prices_201_response_data.go index 322fb215f..864e847fc 100644 --- a/api/model_post_prices_201_response_data.go +++ b/api/model_post_prices_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_prices_201_response_data_attributes.go b/api/model_post_prices_201_response_data_attributes.go index ddfc76dd2..265abcf34 100644 --- a/api/model_post_prices_201_response_data_attributes.go +++ b/api/model_post_prices_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_prices_201_response_data_relationships.go b/api/model_post_prices_201_response_data_relationships.go index 73a6c3f78..453d79038 100644 --- a/api/model_post_prices_201_response_data_relationships.go +++ b/api/model_post_prices_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_prices_201_response_data_relationships_jwt_customer.go b/api/model_post_prices_201_response_data_relationships_jwt_customer.go index c916af952..8bb4a6a65 100644 --- a/api/model_post_prices_201_response_data_relationships_jwt_customer.go +++ b/api/model_post_prices_201_response_data_relationships_jwt_customer.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_prices_201_response_data_relationships_jwt_customer_data.go b/api/model_post_prices_201_response_data_relationships_jwt_customer_data.go index 114481f85..00d75f257 100644 --- a/api/model_post_prices_201_response_data_relationships_jwt_customer_data.go +++ b/api/model_post_prices_201_response_data_relationships_jwt_customer_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_prices_201_response_data_relationships_jwt_markets.go b/api/model_post_prices_201_response_data_relationships_jwt_markets.go index 0565bec25..2af487e7a 100644 --- a/api/model_post_prices_201_response_data_relationships_jwt_markets.go +++ b/api/model_post_prices_201_response_data_relationships_jwt_markets.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_prices_201_response_data_relationships_jwt_markets_data.go b/api/model_post_prices_201_response_data_relationships_jwt_markets_data.go index 713601fbc..93ef0a272 100644 --- a/api/model_post_prices_201_response_data_relationships_jwt_markets_data.go +++ b/api/model_post_prices_201_response_data_relationships_jwt_markets_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_prices_201_response_data_relationships_jwt_stock_locations.go b/api/model_post_prices_201_response_data_relationships_jwt_stock_locations.go index 3c5ec6de0..e22361cdb 100644 --- a/api/model_post_prices_201_response_data_relationships_jwt_stock_locations.go +++ b/api/model_post_prices_201_response_data_relationships_jwt_stock_locations.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_prices_201_response_data_relationships_jwt_stock_locations_data.go b/api/model_post_prices_201_response_data_relationships_jwt_stock_locations_data.go index 96b6d4007..6c67f7bd1 100644 --- a/api/model_post_prices_201_response_data_relationships_jwt_stock_locations_data.go +++ b/api/model_post_prices_201_response_data_relationships_jwt_stock_locations_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_prices_201_response_data_relationships_price_frequency_tiers.go b/api/model_post_prices_201_response_data_relationships_price_frequency_tiers.go index fd705fab7..8a0420dc5 100644 --- a/api/model_post_prices_201_response_data_relationships_price_frequency_tiers.go +++ b/api/model_post_prices_201_response_data_relationships_price_frequency_tiers.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_prices_201_response_data_relationships_price_frequency_tiers_data.go b/api/model_post_prices_201_response_data_relationships_price_frequency_tiers_data.go index 4510e68df..7238ad267 100644 --- a/api/model_post_prices_201_response_data_relationships_price_frequency_tiers_data.go +++ b/api/model_post_prices_201_response_data_relationships_price_frequency_tiers_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_prices_201_response_data_relationships_price_tiers.go b/api/model_post_prices_201_response_data_relationships_price_tiers.go index 4312e5aa4..31d2988a3 100644 --- a/api/model_post_prices_201_response_data_relationships_price_tiers.go +++ b/api/model_post_prices_201_response_data_relationships_price_tiers.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_prices_201_response_data_relationships_price_tiers_data.go b/api/model_post_prices_201_response_data_relationships_price_tiers_data.go index c32361e0b..cb6ef7477 100644 --- a/api/model_post_prices_201_response_data_relationships_price_tiers_data.go +++ b/api/model_post_prices_201_response_data_relationships_price_tiers_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_prices_201_response_data_relationships_price_volume_tiers.go b/api/model_post_prices_201_response_data_relationships_price_volume_tiers.go index 57c31f7db..78fae0992 100644 --- a/api/model_post_prices_201_response_data_relationships_price_volume_tiers.go +++ b/api/model_post_prices_201_response_data_relationships_price_volume_tiers.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_prices_201_response_data_relationships_price_volume_tiers_data.go b/api/model_post_prices_201_response_data_relationships_price_volume_tiers_data.go index a0de2b85a..ac0f762b9 100644 --- a/api/model_post_prices_201_response_data_relationships_price_volume_tiers_data.go +++ b/api/model_post_prices_201_response_data_relationships_price_volume_tiers_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_recurring_order_copies_201_response.go b/api/model_post_recurring_order_copies_201_response.go index db1b1274e..ef056e583 100644 --- a/api/model_post_recurring_order_copies_201_response.go +++ b/api/model_post_recurring_order_copies_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_recurring_order_copies_201_response_data.go b/api/model_post_recurring_order_copies_201_response_data.go index 8f7ea9f64..f707a1cb8 100644 --- a/api/model_post_recurring_order_copies_201_response_data.go +++ b/api/model_post_recurring_order_copies_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_recurring_order_copies_201_response_data_attributes.go b/api/model_post_recurring_order_copies_201_response_data_attributes.go index 14f39cab3..e78aab0f3 100644 --- a/api/model_post_recurring_order_copies_201_response_data_attributes.go +++ b/api/model_post_recurring_order_copies_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_return_line_items_201_response.go b/api/model_post_return_line_items_201_response.go index 0ce820109..61a4012ee 100644 --- a/api/model_post_return_line_items_201_response.go +++ b/api/model_post_return_line_items_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_return_line_items_201_response_data.go b/api/model_post_return_line_items_201_response_data.go index 6353ef7b8..246df12e3 100644 --- a/api/model_post_return_line_items_201_response_data.go +++ b/api/model_post_return_line_items_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_return_line_items_201_response_data_attributes.go b/api/model_post_return_line_items_201_response_data_attributes.go index 87b184b8e..bfeb12480 100644 --- a/api/model_post_return_line_items_201_response_data_attributes.go +++ b/api/model_post_return_line_items_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_return_line_items_201_response_data_relationships.go b/api/model_post_return_line_items_201_response_data_relationships.go index f99198d76..3d9c16a25 100644 --- a/api/model_post_return_line_items_201_response_data_relationships.go +++ b/api/model_post_return_line_items_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_returns_201_response.go b/api/model_post_returns_201_response.go index b8fe3a74a..61fd618c3 100644 --- a/api/model_post_returns_201_response.go +++ b/api/model_post_returns_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_returns_201_response_data.go b/api/model_post_returns_201_response_data.go index 7a087cf09..7c0b810ea 100644 --- a/api/model_post_returns_201_response_data.go +++ b/api/model_post_returns_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_returns_201_response_data_relationships.go b/api/model_post_returns_201_response_data_relationships.go index aacfc0fa6..87dcf1cd0 100644 --- a/api/model_post_returns_201_response_data_relationships.go +++ b/api/model_post_returns_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_returns_201_response_data_relationships_destination_address.go b/api/model_post_returns_201_response_data_relationships_destination_address.go index bb50910e1..5390a4885 100644 --- a/api/model_post_returns_201_response_data_relationships_destination_address.go +++ b/api/model_post_returns_201_response_data_relationships_destination_address.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_returns_201_response_data_relationships_destination_address_data.go b/api/model_post_returns_201_response_data_relationships_destination_address_data.go index 7e022b4e1..1930723c1 100644 --- a/api/model_post_returns_201_response_data_relationships_destination_address_data.go +++ b/api/model_post_returns_201_response_data_relationships_destination_address_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_returns_201_response_data_relationships_origin_address.go b/api/model_post_returns_201_response_data_relationships_origin_address.go index 819b35eae..4b50dfdca 100644 --- a/api/model_post_returns_201_response_data_relationships_origin_address.go +++ b/api/model_post_returns_201_response_data_relationships_origin_address.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_returns_201_response_data_relationships_origin_address_data.go b/api/model_post_returns_201_response_data_relationships_origin_address_data.go index ca56d7a83..5c53de715 100644 --- a/api/model_post_returns_201_response_data_relationships_origin_address_data.go +++ b/api/model_post_returns_201_response_data_relationships_origin_address_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_returns_201_response_data_relationships_reference_refund.go b/api/model_post_returns_201_response_data_relationships_reference_refund.go index 9ed6a3d4e..6de84d358 100644 --- a/api/model_post_returns_201_response_data_relationships_reference_refund.go +++ b/api/model_post_returns_201_response_data_relationships_reference_refund.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_returns_201_response_data_relationships_reference_refund_data.go b/api/model_post_returns_201_response_data_relationships_reference_refund_data.go index 23c860be2..0f3437a6b 100644 --- a/api/model_post_returns_201_response_data_relationships_reference_refund_data.go +++ b/api/model_post_returns_201_response_data_relationships_reference_refund_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_satispay_gateways_201_response.go b/api/model_post_satispay_gateways_201_response.go index 540bb5ede..0b1bcd84a 100644 --- a/api/model_post_satispay_gateways_201_response.go +++ b/api/model_post_satispay_gateways_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_satispay_gateways_201_response_data.go b/api/model_post_satispay_gateways_201_response_data.go index 86dcbebd9..4b5805b67 100644 --- a/api/model_post_satispay_gateways_201_response_data.go +++ b/api/model_post_satispay_gateways_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_satispay_gateways_201_response_data_attributes.go b/api/model_post_satispay_gateways_201_response_data_attributes.go index 12a75f28e..12a8fb077 100644 --- a/api/model_post_satispay_gateways_201_response_data_attributes.go +++ b/api/model_post_satispay_gateways_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_satispay_gateways_201_response_data_relationships.go b/api/model_post_satispay_gateways_201_response_data_relationships.go index e4182a573..cb0ecc0a0 100644 --- a/api/model_post_satispay_gateways_201_response_data_relationships.go +++ b/api/model_post_satispay_gateways_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_satispay_gateways_201_response_data_relationships_satispay_payments.go b/api/model_post_satispay_gateways_201_response_data_relationships_satispay_payments.go index c3a4454f0..fa1864442 100644 --- a/api/model_post_satispay_gateways_201_response_data_relationships_satispay_payments.go +++ b/api/model_post_satispay_gateways_201_response_data_relationships_satispay_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_satispay_gateways_201_response_data_relationships_satispay_payments_data.go b/api/model_post_satispay_gateways_201_response_data_relationships_satispay_payments_data.go index b6d604343..baf7505bc 100644 --- a/api/model_post_satispay_gateways_201_response_data_relationships_satispay_payments_data.go +++ b/api/model_post_satispay_gateways_201_response_data_relationships_satispay_payments_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_satispay_payments_201_response.go b/api/model_post_satispay_payments_201_response.go index bb07bcaf1..db485d800 100644 --- a/api/model_post_satispay_payments_201_response.go +++ b/api/model_post_satispay_payments_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_satispay_payments_201_response_data.go b/api/model_post_satispay_payments_201_response_data.go index 956790c82..8efbcd1d6 100644 --- a/api/model_post_satispay_payments_201_response_data.go +++ b/api/model_post_satispay_payments_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_satispay_payments_201_response_data_attributes.go b/api/model_post_satispay_payments_201_response_data_attributes.go index 21f417433..65490ecb7 100644 --- a/api/model_post_satispay_payments_201_response_data_attributes.go +++ b/api/model_post_satispay_payments_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipments_201_response.go b/api/model_post_shipments_201_response.go index f0895c234..422bc311c 100644 --- a/api/model_post_shipments_201_response.go +++ b/api/model_post_shipments_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipments_201_response_data.go b/api/model_post_shipments_201_response_data.go index 4dafa06f0..898eaae2d 100644 --- a/api/model_post_shipments_201_response_data.go +++ b/api/model_post_shipments_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipments_201_response_data_relationships.go b/api/model_post_shipments_201_response_data_relationships.go index 0636f862a..cf265fabd 100644 --- a/api/model_post_shipments_201_response_data_relationships.go +++ b/api/model_post_shipments_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipments_201_response_data_relationships_available_shipping_methods.go b/api/model_post_shipments_201_response_data_relationships_available_shipping_methods.go index 6b86a2fdb..87ed44b3a 100644 --- a/api/model_post_shipments_201_response_data_relationships_available_shipping_methods.go +++ b/api/model_post_shipments_201_response_data_relationships_available_shipping_methods.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipments_201_response_data_relationships_available_shipping_methods_data.go b/api/model_post_shipments_201_response_data_relationships_available_shipping_methods_data.go index 72b5be4d7..d315dce43 100644 --- a/api/model_post_shipments_201_response_data_relationships_available_shipping_methods_data.go +++ b/api/model_post_shipments_201_response_data_relationships_available_shipping_methods_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipments_201_response_data_relationships_carrier_accounts.go b/api/model_post_shipments_201_response_data_relationships_carrier_accounts.go index 3d3436240..9fa1fcb4b 100644 --- a/api/model_post_shipments_201_response_data_relationships_carrier_accounts.go +++ b/api/model_post_shipments_201_response_data_relationships_carrier_accounts.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipments_201_response_data_relationships_carrier_accounts_data.go b/api/model_post_shipments_201_response_data_relationships_carrier_accounts_data.go index b7742ff02..c95ba8f86 100644 --- a/api/model_post_shipments_201_response_data_relationships_carrier_accounts_data.go +++ b/api/model_post_shipments_201_response_data_relationships_carrier_accounts_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipments_201_response_data_relationships_delivery_lead_time.go b/api/model_post_shipments_201_response_data_relationships_delivery_lead_time.go index 12cad39de..0ced20776 100644 --- a/api/model_post_shipments_201_response_data_relationships_delivery_lead_time.go +++ b/api/model_post_shipments_201_response_data_relationships_delivery_lead_time.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipments_201_response_data_relationships_delivery_lead_time_data.go b/api/model_post_shipments_201_response_data_relationships_delivery_lead_time_data.go index 9993c93a7..366c836bc 100644 --- a/api/model_post_shipments_201_response_data_relationships_delivery_lead_time_data.go +++ b/api/model_post_shipments_201_response_data_relationships_delivery_lead_time_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipments_201_response_data_relationships_inventory_stock_location.go b/api/model_post_shipments_201_response_data_relationships_inventory_stock_location.go index d2ae81db0..c873038a7 100644 --- a/api/model_post_shipments_201_response_data_relationships_inventory_stock_location.go +++ b/api/model_post_shipments_201_response_data_relationships_inventory_stock_location.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipments_201_response_data_relationships_inventory_stock_location_data.go b/api/model_post_shipments_201_response_data_relationships_inventory_stock_location_data.go index bf845d9e7..b6b2db426 100644 --- a/api/model_post_shipments_201_response_data_relationships_inventory_stock_location_data.go +++ b/api/model_post_shipments_201_response_data_relationships_inventory_stock_location_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipments_201_response_data_relationships_shipping_category.go b/api/model_post_shipments_201_response_data_relationships_shipping_category.go index a30ff01a6..81ada4e47 100644 --- a/api/model_post_shipments_201_response_data_relationships_shipping_category.go +++ b/api/model_post_shipments_201_response_data_relationships_shipping_category.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipments_201_response_data_relationships_shipping_category_data.go b/api/model_post_shipments_201_response_data_relationships_shipping_category_data.go index f352498ca..8ef8609fd 100644 --- a/api/model_post_shipments_201_response_data_relationships_shipping_category_data.go +++ b/api/model_post_shipments_201_response_data_relationships_shipping_category_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipping_categories_201_response.go b/api/model_post_shipping_categories_201_response.go index 6b0e6e5e6..ac31e167b 100644 --- a/api/model_post_shipping_categories_201_response.go +++ b/api/model_post_shipping_categories_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipping_categories_201_response_data.go b/api/model_post_shipping_categories_201_response_data.go index 4c4ac5616..8e5b9a023 100644 --- a/api/model_post_shipping_categories_201_response_data.go +++ b/api/model_post_shipping_categories_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipping_categories_201_response_data_attributes.go b/api/model_post_shipping_categories_201_response_data_attributes.go index 51bb4f701..a313e5732 100644 --- a/api/model_post_shipping_categories_201_response_data_attributes.go +++ b/api/model_post_shipping_categories_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipping_categories_201_response_data_relationships.go b/api/model_post_shipping_categories_201_response_data_relationships.go index 60bb917a0..c31056511 100644 --- a/api/model_post_shipping_categories_201_response_data_relationships.go +++ b/api/model_post_shipping_categories_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipping_methods_201_response.go b/api/model_post_shipping_methods_201_response.go index cc8c6341f..618659c1b 100644 --- a/api/model_post_shipping_methods_201_response.go +++ b/api/model_post_shipping_methods_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipping_methods_201_response_data.go b/api/model_post_shipping_methods_201_response_data.go index dce02272b..381395d2c 100644 --- a/api/model_post_shipping_methods_201_response_data.go +++ b/api/model_post_shipping_methods_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipping_methods_201_response_data_attributes.go b/api/model_post_shipping_methods_201_response_data_attributes.go index adf73d2c5..62db84ef4 100644 --- a/api/model_post_shipping_methods_201_response_data_attributes.go +++ b/api/model_post_shipping_methods_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipping_methods_201_response_data_relationships.go b/api/model_post_shipping_methods_201_response_data_relationships.go index c75f17b84..564e327b2 100644 --- a/api/model_post_shipping_methods_201_response_data_relationships.go +++ b/api/model_post_shipping_methods_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,7 +20,7 @@ var _ MappedNullable = &POSTShippingMethods201ResponseDataRelationships{} // POSTShippingMethods201ResponseDataRelationships struct for POSTShippingMethods201ResponseDataRelationships type POSTShippingMethods201ResponseDataRelationships struct { - Market *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket `json:"market,omitempty"` + Market *POSTBundles201ResponseDataRelationshipsMarket `json:"market,omitempty"` ShippingZone *POSTShippingMethods201ResponseDataRelationshipsShippingZone `json:"shipping_zone,omitempty"` ShippingCategory *POSTShipments201ResponseDataRelationshipsShippingCategory `json:"shipping_category,omitempty"` StockLocation *POSTDeliveryLeadTimes201ResponseDataRelationshipsStockLocation `json:"stock_location,omitempty"` @@ -49,9 +49,9 @@ func NewPOSTShippingMethods201ResponseDataRelationshipsWithDefaults() *POSTShipp } // GetMarket returns the Market field value if set, zero value otherwise. -func (o *POSTShippingMethods201ResponseDataRelationships) GetMarket() POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket { +func (o *POSTShippingMethods201ResponseDataRelationships) GetMarket() POSTBundles201ResponseDataRelationshipsMarket { if o == nil || IsNil(o.Market) { - var ret POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket + var ret POSTBundles201ResponseDataRelationshipsMarket return ret } return *o.Market @@ -59,7 +59,7 @@ func (o *POSTShippingMethods201ResponseDataRelationships) GetMarket() POSTBillin // GetMarketOk returns a tuple with the Market field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *POSTShippingMethods201ResponseDataRelationships) GetMarketOk() (*POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket, bool) { +func (o *POSTShippingMethods201ResponseDataRelationships) GetMarketOk() (*POSTBundles201ResponseDataRelationshipsMarket, bool) { if o == nil || IsNil(o.Market) { return nil, false } @@ -75,8 +75,8 @@ func (o *POSTShippingMethods201ResponseDataRelationships) HasMarket() bool { return false } -// SetMarket gets a reference to the given POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket and assigns it to the Market field. -func (o *POSTShippingMethods201ResponseDataRelationships) SetMarket(v POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) { +// SetMarket gets a reference to the given POSTBundles201ResponseDataRelationshipsMarket and assigns it to the Market field. +func (o *POSTShippingMethods201ResponseDataRelationships) SetMarket(v POSTBundles201ResponseDataRelationshipsMarket) { o.Market = &v } diff --git a/api/model_post_shipping_methods_201_response_data_relationships_delivery_lead_time_for_shipment.go b/api/model_post_shipping_methods_201_response_data_relationships_delivery_lead_time_for_shipment.go index f790a437e..97d782ae4 100644 --- a/api/model_post_shipping_methods_201_response_data_relationships_delivery_lead_time_for_shipment.go +++ b/api/model_post_shipping_methods_201_response_data_relationships_delivery_lead_time_for_shipment.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipping_methods_201_response_data_relationships_delivery_lead_time_for_shipment_data.go b/api/model_post_shipping_methods_201_response_data_relationships_delivery_lead_time_for_shipment_data.go index 5b818a9ba..8a4f76d0e 100644 --- a/api/model_post_shipping_methods_201_response_data_relationships_delivery_lead_time_for_shipment_data.go +++ b/api/model_post_shipping_methods_201_response_data_relationships_delivery_lead_time_for_shipment_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipping_methods_201_response_data_relationships_shipping_method_tiers.go b/api/model_post_shipping_methods_201_response_data_relationships_shipping_method_tiers.go index 79537eef0..8b626ddd1 100644 --- a/api/model_post_shipping_methods_201_response_data_relationships_shipping_method_tiers.go +++ b/api/model_post_shipping_methods_201_response_data_relationships_shipping_method_tiers.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipping_methods_201_response_data_relationships_shipping_method_tiers_data.go b/api/model_post_shipping_methods_201_response_data_relationships_shipping_method_tiers_data.go index 5f555323b..69aec2a1f 100644 --- a/api/model_post_shipping_methods_201_response_data_relationships_shipping_method_tiers_data.go +++ b/api/model_post_shipping_methods_201_response_data_relationships_shipping_method_tiers_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipping_methods_201_response_data_relationships_shipping_weight_tiers.go b/api/model_post_shipping_methods_201_response_data_relationships_shipping_weight_tiers.go index 2582434af..0ce44f6ab 100644 --- a/api/model_post_shipping_methods_201_response_data_relationships_shipping_weight_tiers.go +++ b/api/model_post_shipping_methods_201_response_data_relationships_shipping_weight_tiers.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipping_methods_201_response_data_relationships_shipping_weight_tiers_data.go b/api/model_post_shipping_methods_201_response_data_relationships_shipping_weight_tiers_data.go index 1cd465eb4..608448a0e 100644 --- a/api/model_post_shipping_methods_201_response_data_relationships_shipping_weight_tiers_data.go +++ b/api/model_post_shipping_methods_201_response_data_relationships_shipping_weight_tiers_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipping_methods_201_response_data_relationships_shipping_zone.go b/api/model_post_shipping_methods_201_response_data_relationships_shipping_zone.go index d7c774ce1..f8f4de925 100644 --- a/api/model_post_shipping_methods_201_response_data_relationships_shipping_zone.go +++ b/api/model_post_shipping_methods_201_response_data_relationships_shipping_zone.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipping_methods_201_response_data_relationships_shipping_zone_data.go b/api/model_post_shipping_methods_201_response_data_relationships_shipping_zone_data.go index 06dc79435..e9058348a 100644 --- a/api/model_post_shipping_methods_201_response_data_relationships_shipping_zone_data.go +++ b/api/model_post_shipping_methods_201_response_data_relationships_shipping_zone_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipping_weight_tiers_201_response.go b/api/model_post_shipping_weight_tiers_201_response.go index 5acc0e8a6..acde773ac 100644 --- a/api/model_post_shipping_weight_tiers_201_response.go +++ b/api/model_post_shipping_weight_tiers_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipping_weight_tiers_201_response_data.go b/api/model_post_shipping_weight_tiers_201_response_data.go index 3708ff836..abf447562 100644 --- a/api/model_post_shipping_weight_tiers_201_response_data.go +++ b/api/model_post_shipping_weight_tiers_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipping_weight_tiers_201_response_data_attributes.go b/api/model_post_shipping_weight_tiers_201_response_data_attributes.go index 49868b48d..6d1161603 100644 --- a/api/model_post_shipping_weight_tiers_201_response_data_attributes.go +++ b/api/model_post_shipping_weight_tiers_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipping_zones_201_response.go b/api/model_post_shipping_zones_201_response.go index 40641095d..67183c613 100644 --- a/api/model_post_shipping_zones_201_response.go +++ b/api/model_post_shipping_zones_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipping_zones_201_response_data.go b/api/model_post_shipping_zones_201_response_data.go index 5a8abbe74..984ac3a4c 100644 --- a/api/model_post_shipping_zones_201_response_data.go +++ b/api/model_post_shipping_zones_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_shipping_zones_201_response_data_attributes.go b/api/model_post_shipping_zones_201_response_data_attributes.go index c3aa85684..b2d817c8a 100644 --- a/api/model_post_shipping_zones_201_response_data_attributes.go +++ b/api/model_post_shipping_zones_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -22,17 +22,17 @@ var _ MappedNullable = &POSTShippingZones201ResponseDataAttributes{} type POSTShippingZones201ResponseDataAttributes struct { // The shipping zone's internal name. Name interface{} `json:"name"` - // The regex that will be evaluated to match the shipping address country code. + // The regex that will be evaluated to match the shipping address country code, max size is 5000. CountryCodeRegex interface{} `json:"country_code_regex,omitempty"` - // The regex that will be evaluated as negative match for the shipping address country code. + // The regex that will be evaluated as negative match for the shipping address country code, max size is 5000. NotCountryCodeRegex interface{} `json:"not_country_code_regex,omitempty"` - // The regex that will be evaluated to match the shipping address state code. + // The regex that will be evaluated to match the shipping address state code, max size is 5000. StateCodeRegex interface{} `json:"state_code_regex,omitempty"` - // The regex that will be evaluated as negative match for the shipping address state code. + // The regex that will be evaluated as negative match for the shipping address state code, max size is 5000. NotStateCodeRegex interface{} `json:"not_state_code_regex,omitempty"` - // The regex that will be evaluated to match the shipping address zip code. + // The regex that will be evaluated to match the shipping address zip code, max size is 5000. ZipCodeRegex interface{} `json:"zip_code_regex,omitempty"` - // The regex that will be evaluated as negative match for the shipping zip country code. + // The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000. NotZipCodeRegex interface{} `json:"not_zip_code_regex,omitempty"` // A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. Reference interface{} `json:"reference,omitempty"` diff --git a/api/model_post_shipping_zones_201_response_data_relationships.go b/api/model_post_shipping_zones_201_response_data_relationships.go index 7bc8dcf70..81da4fb23 100644 --- a/api/model_post_shipping_zones_201_response_data_relationships.go +++ b/api/model_post_shipping_zones_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_sku_list_items_201_response.go b/api/model_post_sku_list_items_201_response.go index 0b4f79423..a5962dbf1 100644 --- a/api/model_post_sku_list_items_201_response.go +++ b/api/model_post_sku_list_items_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_sku_list_items_201_response_data.go b/api/model_post_sku_list_items_201_response_data.go index 3e685620a..7ee8aaa51 100644 --- a/api/model_post_sku_list_items_201_response_data.go +++ b/api/model_post_sku_list_items_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_sku_list_items_201_response_data_attributes.go b/api/model_post_sku_list_items_201_response_data_attributes.go index f567f500c..3680e01f3 100644 --- a/api/model_post_sku_list_items_201_response_data_attributes.go +++ b/api/model_post_sku_list_items_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_sku_list_items_201_response_data_relationships.go b/api/model_post_sku_list_items_201_response_data_relationships.go index d802fdd3f..8b127f2ce 100644 --- a/api/model_post_sku_list_items_201_response_data_relationships.go +++ b/api/model_post_sku_list_items_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_sku_list_promotion_rules_201_response.go b/api/model_post_sku_list_promotion_rules_201_response.go index 69c698430..dc7c142c8 100644 --- a/api/model_post_sku_list_promotion_rules_201_response.go +++ b/api/model_post_sku_list_promotion_rules_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_sku_list_promotion_rules_201_response_data.go b/api/model_post_sku_list_promotion_rules_201_response_data.go index 78edfd64f..9498dc56f 100644 --- a/api/model_post_sku_list_promotion_rules_201_response_data.go +++ b/api/model_post_sku_list_promotion_rules_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_sku_list_promotion_rules_201_response_data_attributes.go b/api/model_post_sku_list_promotion_rules_201_response_data_attributes.go index 004bcfbf1..337a1e932 100644 --- a/api/model_post_sku_list_promotion_rules_201_response_data_attributes.go +++ b/api/model_post_sku_list_promotion_rules_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_sku_list_promotion_rules_201_response_data_relationships.go b/api/model_post_sku_list_promotion_rules_201_response_data_relationships.go index 9d4e77012..372335870 100644 --- a/api/model_post_sku_list_promotion_rules_201_response_data_relationships.go +++ b/api/model_post_sku_list_promotion_rules_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_sku_lists_201_response.go b/api/model_post_sku_lists_201_response.go index 02714f77c..1d6ab9c45 100644 --- a/api/model_post_sku_lists_201_response.go +++ b/api/model_post_sku_lists_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_sku_lists_201_response_data.go b/api/model_post_sku_lists_201_response_data.go index dfb6a1263..bcbbf3e80 100644 --- a/api/model_post_sku_lists_201_response_data.go +++ b/api/model_post_sku_lists_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_sku_lists_201_response_data_attributes.go b/api/model_post_sku_lists_201_response_data_attributes.go index f4101347a..6b81d6649 100644 --- a/api/model_post_sku_lists_201_response_data_attributes.go +++ b/api/model_post_sku_lists_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -28,7 +28,7 @@ type POSTSkuLists201ResponseDataAttributes struct { ImageUrl interface{} `json:"image_url,omitempty"` // Indicates if the SKU list is populated manually. Manual interface{} `json:"manual,omitempty"` - // The regex that will be evaluated to match the SKU codes. + // The regex that will be evaluated to match the SKU codes, max size is 5000. SkuCodeRegex interface{} `json:"sku_code_regex,omitempty"` // A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. Reference interface{} `json:"reference,omitempty"` diff --git a/api/model_post_sku_lists_201_response_data_relationships.go b/api/model_post_sku_lists_201_response_data_relationships.go index 4b7a72c0b..30f311b31 100644 --- a/api/model_post_sku_lists_201_response_data_relationships.go +++ b/api/model_post_sku_lists_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_sku_lists_201_response_data_relationships_bundles.go b/api/model_post_sku_lists_201_response_data_relationships_bundles.go index c004b3eed..66c72a081 100644 --- a/api/model_post_sku_lists_201_response_data_relationships_bundles.go +++ b/api/model_post_sku_lists_201_response_data_relationships_bundles.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_sku_lists_201_response_data_relationships_bundles_data.go b/api/model_post_sku_lists_201_response_data_relationships_bundles_data.go index a6953348d..c8c290fb2 100644 --- a/api/model_post_sku_lists_201_response_data_relationships_bundles_data.go +++ b/api/model_post_sku_lists_201_response_data_relationships_bundles_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_sku_lists_201_response_data_relationships_sku_list_items.go b/api/model_post_sku_lists_201_response_data_relationships_sku_list_items.go index c7447bfcb..024a80e6b 100644 --- a/api/model_post_sku_lists_201_response_data_relationships_sku_list_items.go +++ b/api/model_post_sku_lists_201_response_data_relationships_sku_list_items.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_sku_lists_201_response_data_relationships_sku_list_items_data.go b/api/model_post_sku_lists_201_response_data_relationships_sku_list_items_data.go index e33da7082..03f74a7f2 100644 --- a/api/model_post_sku_lists_201_response_data_relationships_sku_list_items_data.go +++ b/api/model_post_sku_lists_201_response_data_relationships_sku_list_items_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_sku_options_201_response.go b/api/model_post_sku_options_201_response.go index 8110196f8..b00111405 100644 --- a/api/model_post_sku_options_201_response.go +++ b/api/model_post_sku_options_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_sku_options_201_response_data.go b/api/model_post_sku_options_201_response_data.go index a7249a627..91b2e0429 100644 --- a/api/model_post_sku_options_201_response_data.go +++ b/api/model_post_sku_options_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_sku_options_201_response_data_attributes.go b/api/model_post_sku_options_201_response_data_attributes.go index 19831186f..1421ca770 100644 --- a/api/model_post_sku_options_201_response_data_attributes.go +++ b/api/model_post_sku_options_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -30,7 +30,7 @@ type POSTSkuOptions201ResponseDataAttributes struct { PriceAmountCents interface{} `json:"price_amount_cents,omitempty"` // The delay time (in hours) that should be added to the delivery lead time when this option is purchased. DelayHours interface{} `json:"delay_hours,omitempty"` - // The regex that will be evaluated to match the SKU codes. + // The regex that will be evaluated to match the SKU codes, max size is 5000. SkuCodeRegex interface{} `json:"sku_code_regex,omitempty"` // A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. Reference interface{} `json:"reference,omitempty"` diff --git a/api/model_post_sku_options_201_response_data_relationships.go b/api/model_post_sku_options_201_response_data_relationships.go index 9fa30389f..71ebd0749 100644 --- a/api/model_post_sku_options_201_response_data_relationships.go +++ b/api/model_post_sku_options_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,7 +20,7 @@ var _ MappedNullable = &POSTSkuOptions201ResponseDataRelationships{} // POSTSkuOptions201ResponseDataRelationships struct for POSTSkuOptions201ResponseDataRelationships type POSTSkuOptions201ResponseDataRelationships struct { - Market *POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket `json:"market,omitempty"` + Market *POSTBundles201ResponseDataRelationshipsMarket `json:"market,omitempty"` Attachments *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments `json:"attachments,omitempty"` Events *POSTAddresses201ResponseDataRelationshipsEvents `json:"events,omitempty"` Tags *POSTAddresses201ResponseDataRelationshipsTags `json:"tags,omitempty"` @@ -45,9 +45,9 @@ func NewPOSTSkuOptions201ResponseDataRelationshipsWithDefaults() *POSTSkuOptions } // GetMarket returns the Market field value if set, zero value otherwise. -func (o *POSTSkuOptions201ResponseDataRelationships) GetMarket() POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket { +func (o *POSTSkuOptions201ResponseDataRelationships) GetMarket() POSTBundles201ResponseDataRelationshipsMarket { if o == nil || IsNil(o.Market) { - var ret POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket + var ret POSTBundles201ResponseDataRelationshipsMarket return ret } return *o.Market @@ -55,7 +55,7 @@ func (o *POSTSkuOptions201ResponseDataRelationships) GetMarket() POSTBillingInfo // GetMarketOk returns a tuple with the Market field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *POSTSkuOptions201ResponseDataRelationships) GetMarketOk() (*POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket, bool) { +func (o *POSTSkuOptions201ResponseDataRelationships) GetMarketOk() (*POSTBundles201ResponseDataRelationshipsMarket, bool) { if o == nil || IsNil(o.Market) { return nil, false } @@ -71,8 +71,8 @@ func (o *POSTSkuOptions201ResponseDataRelationships) HasMarket() bool { return false } -// SetMarket gets a reference to the given POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket and assigns it to the Market field. -func (o *POSTSkuOptions201ResponseDataRelationships) SetMarket(v POSTBillingInfoValidationRules201ResponseDataRelationshipsMarket) { +// SetMarket gets a reference to the given POSTBundles201ResponseDataRelationshipsMarket and assigns it to the Market field. +func (o *POSTSkuOptions201ResponseDataRelationships) SetMarket(v POSTBundles201ResponseDataRelationshipsMarket) { o.Market = &v } diff --git a/api/model_post_skus_201_response.go b/api/model_post_skus_201_response.go index 7620a8a28..6636cd1f0 100644 --- a/api/model_post_skus_201_response.go +++ b/api/model_post_skus_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_skus_201_response_data.go b/api/model_post_skus_201_response_data.go index 6beba52b1..15b333d4a 100644 --- a/api/model_post_skus_201_response_data.go +++ b/api/model_post_skus_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_skus_201_response_data_attributes.go b/api/model_post_skus_201_response_data_attributes.go index 1069ee033..a49ede478 100644 --- a/api/model_post_skus_201_response_data_attributes.go +++ b/api/model_post_skus_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_skus_201_response_data_relationships.go b/api/model_post_skus_201_response_data_relationships.go index 232bd4ebd..5f2622614 100644 --- a/api/model_post_skus_201_response_data_relationships.go +++ b/api/model_post_skus_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_skus_201_response_data_relationships_delivery_lead_times.go b/api/model_post_skus_201_response_data_relationships_delivery_lead_times.go index d5d8879a9..b2b45c4d4 100644 --- a/api/model_post_skus_201_response_data_relationships_delivery_lead_times.go +++ b/api/model_post_skus_201_response_data_relationships_delivery_lead_times.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_skus_201_response_data_relationships_delivery_lead_times_data.go b/api/model_post_skus_201_response_data_relationships_delivery_lead_times_data.go index fe9b459e6..7691f806c 100644 --- a/api/model_post_skus_201_response_data_relationships_delivery_lead_times_data.go +++ b/api/model_post_skus_201_response_data_relationships_delivery_lead_times_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_skus_201_response_data_relationships_sku_options.go b/api/model_post_skus_201_response_data_relationships_sku_options.go index 730d48f42..1f909eca1 100644 --- a/api/model_post_skus_201_response_data_relationships_sku_options.go +++ b/api/model_post_skus_201_response_data_relationships_sku_options.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_skus_201_response_data_relationships_sku_options_data.go b/api/model_post_skus_201_response_data_relationships_sku_options_data.go index 0f0e12991..aef7e2e06 100644 --- a/api/model_post_skus_201_response_data_relationships_sku_options_data.go +++ b/api/model_post_skus_201_response_data_relationships_sku_options_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_skus_201_response_data_relationships_stock_items.go b/api/model_post_skus_201_response_data_relationships_stock_items.go index 08afaca02..cd68d7f01 100644 --- a/api/model_post_skus_201_response_data_relationships_stock_items.go +++ b/api/model_post_skus_201_response_data_relationships_stock_items.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_skus_201_response_data_relationships_stock_items_data.go b/api/model_post_skus_201_response_data_relationships_stock_items_data.go index bd25175fc..412fe91bc 100644 --- a/api/model_post_skus_201_response_data_relationships_stock_items_data.go +++ b/api/model_post_skus_201_response_data_relationships_stock_items_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stock_items_201_response.go b/api/model_post_stock_items_201_response.go index 67e33f4bc..d3d33720f 100644 --- a/api/model_post_stock_items_201_response.go +++ b/api/model_post_stock_items_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stock_items_201_response_data.go b/api/model_post_stock_items_201_response_data.go index 6b2b5c463..d5dbc7add 100644 --- a/api/model_post_stock_items_201_response_data.go +++ b/api/model_post_stock_items_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stock_items_201_response_data_attributes.go b/api/model_post_stock_items_201_response_data_attributes.go index 3ddbea18f..6f8050f33 100644 --- a/api/model_post_stock_items_201_response_data_attributes.go +++ b/api/model_post_stock_items_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stock_items_201_response_data_relationships.go b/api/model_post_stock_items_201_response_data_relationships.go index 48574f73f..121c3a548 100644 --- a/api/model_post_stock_items_201_response_data_relationships.go +++ b/api/model_post_stock_items_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stock_items_201_response_data_relationships_reserved_stock.go b/api/model_post_stock_items_201_response_data_relationships_reserved_stock.go index 430eee132..f98bc6041 100644 --- a/api/model_post_stock_items_201_response_data_relationships_reserved_stock.go +++ b/api/model_post_stock_items_201_response_data_relationships_reserved_stock.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stock_items_201_response_data_relationships_reserved_stock_data.go b/api/model_post_stock_items_201_response_data_relationships_reserved_stock_data.go index 7b5c8a033..6a5858f32 100644 --- a/api/model_post_stock_items_201_response_data_relationships_reserved_stock_data.go +++ b/api/model_post_stock_items_201_response_data_relationships_reserved_stock_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stock_line_items_201_response.go b/api/model_post_stock_line_items_201_response.go index ea585686f..e5e3df596 100644 --- a/api/model_post_stock_line_items_201_response.go +++ b/api/model_post_stock_line_items_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stock_line_items_201_response_data.go b/api/model_post_stock_line_items_201_response_data.go index 1d933efa8..cb5748f7f 100644 --- a/api/model_post_stock_line_items_201_response_data.go +++ b/api/model_post_stock_line_items_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stock_line_items_201_response_data_attributes.go b/api/model_post_stock_line_items_201_response_data_attributes.go index a82c0b315..c56dd452d 100644 --- a/api/model_post_stock_line_items_201_response_data_attributes.go +++ b/api/model_post_stock_line_items_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stock_line_items_201_response_data_relationships.go b/api/model_post_stock_line_items_201_response_data_relationships.go index 84e5e83be..4a387a6cf 100644 --- a/api/model_post_stock_line_items_201_response_data_relationships.go +++ b/api/model_post_stock_line_items_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stock_line_items_201_response_data_relationships_stock_reservation.go b/api/model_post_stock_line_items_201_response_data_relationships_stock_reservation.go index 06e8c0393..c47bd5501 100644 --- a/api/model_post_stock_line_items_201_response_data_relationships_stock_reservation.go +++ b/api/model_post_stock_line_items_201_response_data_relationships_stock_reservation.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stock_line_items_201_response_data_relationships_stock_reservation_data.go b/api/model_post_stock_line_items_201_response_data_relationships_stock_reservation_data.go index 5e523f43c..f7f06998e 100644 --- a/api/model_post_stock_line_items_201_response_data_relationships_stock_reservation_data.go +++ b/api/model_post_stock_line_items_201_response_data_relationships_stock_reservation_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stock_locations_201_response.go b/api/model_post_stock_locations_201_response.go index 3a251d68d..337962136 100644 --- a/api/model_post_stock_locations_201_response.go +++ b/api/model_post_stock_locations_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stock_locations_201_response_data.go b/api/model_post_stock_locations_201_response_data.go index d28fa7558..fa2826ad8 100644 --- a/api/model_post_stock_locations_201_response_data.go +++ b/api/model_post_stock_locations_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stock_locations_201_response_data_attributes.go b/api/model_post_stock_locations_201_response_data_attributes.go index 82ae3ae34..e61cc3695 100644 --- a/api/model_post_stock_locations_201_response_data_attributes.go +++ b/api/model_post_stock_locations_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stock_locations_201_response_data_relationships.go b/api/model_post_stock_locations_201_response_data_relationships.go index 948616e31..40b3a19f6 100644 --- a/api/model_post_stock_locations_201_response_data_relationships.go +++ b/api/model_post_stock_locations_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -25,6 +25,7 @@ type POSTStockLocations201ResponseDataRelationships struct { InventoryReturnLocations *POSTInventoryModels201ResponseDataRelationshipsInventoryReturnLocations `json:"inventory_return_locations,omitempty"` StockItems *POSTSkus201ResponseDataRelationshipsStockItems `json:"stock_items,omitempty"` StockTransfers *POSTLineItems201ResponseDataRelationshipsStockTransfers `json:"stock_transfers,omitempty"` + Stores *POSTMarkets201ResponseDataRelationshipsStores `json:"stores,omitempty"` Attachments *GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments `json:"attachments,omitempty"` Versions *POSTAddresses201ResponseDataRelationshipsVersions `json:"versions,omitempty"` } @@ -206,6 +207,38 @@ func (o *POSTStockLocations201ResponseDataRelationships) SetStockTransfers(v POS o.StockTransfers = &v } +// GetStores returns the Stores field value if set, zero value otherwise. +func (o *POSTStockLocations201ResponseDataRelationships) GetStores() POSTMarkets201ResponseDataRelationshipsStores { + if o == nil || IsNil(o.Stores) { + var ret POSTMarkets201ResponseDataRelationshipsStores + return ret + } + return *o.Stores +} + +// GetStoresOk returns a tuple with the Stores field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTStockLocations201ResponseDataRelationships) GetStoresOk() (*POSTMarkets201ResponseDataRelationshipsStores, bool) { + if o == nil || IsNil(o.Stores) { + return nil, false + } + return o.Stores, true +} + +// HasStores returns a boolean if a field has been set. +func (o *POSTStockLocations201ResponseDataRelationships) HasStores() bool { + if o != nil && !IsNil(o.Stores) { + return true + } + + return false +} + +// SetStores gets a reference to the given POSTMarkets201ResponseDataRelationshipsStores and assigns it to the Stores field. +func (o *POSTStockLocations201ResponseDataRelationships) SetStores(v POSTMarkets201ResponseDataRelationshipsStores) { + o.Stores = &v +} + // GetAttachments returns the Attachments field value if set, zero value otherwise. func (o *POSTStockLocations201ResponseDataRelationships) GetAttachments() GETAuthorizationsAuthorizationId200ResponseDataRelationshipsAttachments { if o == nil || IsNil(o.Attachments) { @@ -295,6 +328,9 @@ func (o POSTStockLocations201ResponseDataRelationships) ToMap() (map[string]inte if !IsNil(o.StockTransfers) { toSerialize["stock_transfers"] = o.StockTransfers } + if !IsNil(o.Stores) { + toSerialize["stores"] = o.Stores + } if !IsNil(o.Attachments) { toSerialize["attachments"] = o.Attachments } diff --git a/api/model_post_stock_reservations_201_response.go b/api/model_post_stock_reservations_201_response.go index 6313856ff..1cf003fd1 100644 --- a/api/model_post_stock_reservations_201_response.go +++ b/api/model_post_stock_reservations_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stock_reservations_201_response_data.go b/api/model_post_stock_reservations_201_response_data.go index f3c4d73fa..34b8ab607 100644 --- a/api/model_post_stock_reservations_201_response_data.go +++ b/api/model_post_stock_reservations_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stock_reservations_201_response_data_attributes.go b/api/model_post_stock_reservations_201_response_data_attributes.go index d573f12f3..7ba33c267 100644 --- a/api/model_post_stock_reservations_201_response_data_attributes.go +++ b/api/model_post_stock_reservations_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stock_reservations_201_response_data_relationships.go b/api/model_post_stock_reservations_201_response_data_relationships.go index efe3c3fe0..4fcce4cdb 100644 --- a/api/model_post_stock_reservations_201_response_data_relationships.go +++ b/api/model_post_stock_reservations_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stock_reservations_201_response_data_relationships_stock_transfer.go b/api/model_post_stock_reservations_201_response_data_relationships_stock_transfer.go index d4f7b8c62..db0adf0ac 100644 --- a/api/model_post_stock_reservations_201_response_data_relationships_stock_transfer.go +++ b/api/model_post_stock_reservations_201_response_data_relationships_stock_transfer.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stock_reservations_201_response_data_relationships_stock_transfer_data.go b/api/model_post_stock_reservations_201_response_data_relationships_stock_transfer_data.go index e4f9def71..accb1055d 100644 --- a/api/model_post_stock_reservations_201_response_data_relationships_stock_transfer_data.go +++ b/api/model_post_stock_reservations_201_response_data_relationships_stock_transfer_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stock_transfers_201_response.go b/api/model_post_stock_transfers_201_response.go index 7461822a4..af14655b8 100644 --- a/api/model_post_stock_transfers_201_response.go +++ b/api/model_post_stock_transfers_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stock_transfers_201_response_data.go b/api/model_post_stock_transfers_201_response_data.go index 6603cab11..6ce494e58 100644 --- a/api/model_post_stock_transfers_201_response_data.go +++ b/api/model_post_stock_transfers_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stock_transfers_201_response_data_attributes.go b/api/model_post_stock_transfers_201_response_data_attributes.go index 3a34d41cb..438fd91ac 100644 --- a/api/model_post_stock_transfers_201_response_data_attributes.go +++ b/api/model_post_stock_transfers_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -24,7 +24,7 @@ type POSTStockTransfers201ResponseDataAttributes struct { Number interface{} `json:"number,omitempty"` // The code of the associated SKU. SkuCode interface{} `json:"sku_code,omitempty"` - // The stock quantity to be transferred from the origin stock location to destination one. + // The stock quantity to be transferred from the origin stock location to destination one. Updatable unless stock transfer is completed or cancelled and depending on origin stock availability. Quantity interface{} `json:"quantity"` // A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. Reference interface{} `json:"reference,omitempty"` diff --git a/api/model_post_stock_transfers_201_response_data_relationships.go b/api/model_post_stock_transfers_201_response_data_relationships.go index 3f25506ac..38114612b 100644 --- a/api/model_post_stock_transfers_201_response_data_relationships.go +++ b/api/model_post_stock_transfers_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stock_transfers_201_response_data_relationships_destination_stock_location.go b/api/model_post_stock_transfers_201_response_data_relationships_destination_stock_location.go index 45a5deaed..eba533063 100644 --- a/api/model_post_stock_transfers_201_response_data_relationships_destination_stock_location.go +++ b/api/model_post_stock_transfers_201_response_data_relationships_destination_stock_location.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stock_transfers_201_response_data_relationships_destination_stock_location_data.go b/api/model_post_stock_transfers_201_response_data_relationships_destination_stock_location_data.go index 746e4db53..52d807700 100644 --- a/api/model_post_stock_transfers_201_response_data_relationships_destination_stock_location_data.go +++ b/api/model_post_stock_transfers_201_response_data_relationships_destination_stock_location_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stock_transfers_201_response_data_relationships_origin_stock_location.go b/api/model_post_stock_transfers_201_response_data_relationships_origin_stock_location.go index a96bea791..8a58a47c6 100644 --- a/api/model_post_stock_transfers_201_response_data_relationships_origin_stock_location.go +++ b/api/model_post_stock_transfers_201_response_data_relationships_origin_stock_location.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stock_transfers_201_response_data_relationships_origin_stock_location_data.go b/api/model_post_stock_transfers_201_response_data_relationships_origin_stock_location_data.go index 2dd6812c9..f331fb5bf 100644 --- a/api/model_post_stock_transfers_201_response_data_relationships_origin_stock_location_data.go +++ b/api/model_post_stock_transfers_201_response_data_relationships_origin_stock_location_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stores_201_response.go b/api/model_post_stores_201_response.go new file mode 100644 index 000000000..914ba008b --- /dev/null +++ b/api/model_post_stores_201_response.go @@ -0,0 +1,125 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the POSTStores201Response type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &POSTStores201Response{} + +// POSTStores201Response struct for POSTStores201Response +type POSTStores201Response struct { + Data *POSTStores201ResponseData `json:"data,omitempty"` +} + +// NewPOSTStores201Response instantiates a new POSTStores201Response object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPOSTStores201Response() *POSTStores201Response { + this := POSTStores201Response{} + return &this +} + +// NewPOSTStores201ResponseWithDefaults instantiates a new POSTStores201Response object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPOSTStores201ResponseWithDefaults() *POSTStores201Response { + this := POSTStores201Response{} + return &this +} + +// GetData returns the Data field value if set, zero value otherwise. +func (o *POSTStores201Response) GetData() POSTStores201ResponseData { + if o == nil || IsNil(o.Data) { + var ret POSTStores201ResponseData + return ret + } + return *o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTStores201Response) GetDataOk() (*POSTStores201ResponseData, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *POSTStores201Response) HasData() bool { + if o != nil && !IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given POSTStores201ResponseData and assigns it to the Data field. +func (o *POSTStores201Response) SetData(v POSTStores201ResponseData) { + o.Data = &v +} + +func (o POSTStores201Response) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o POSTStores201Response) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Data) { + toSerialize["data"] = o.Data + } + return toSerialize, nil +} + +type NullablePOSTStores201Response struct { + value *POSTStores201Response + isSet bool +} + +func (v NullablePOSTStores201Response) Get() *POSTStores201Response { + return v.value +} + +func (v *NullablePOSTStores201Response) Set(val *POSTStores201Response) { + v.value = val + v.isSet = true +} + +func (v NullablePOSTStores201Response) IsSet() bool { + return v.isSet +} + +func (v *NullablePOSTStores201Response) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePOSTStores201Response(val *POSTStores201Response) *NullablePOSTStores201Response { + return &NullablePOSTStores201Response{value: val, isSet: true} +} + +func (v NullablePOSTStores201Response) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePOSTStores201Response) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_post_stores_201_response_data.go b/api/model_post_stores_201_response_data.go new file mode 100644 index 000000000..e8d76b4c5 --- /dev/null +++ b/api/model_post_stores_201_response_data.go @@ -0,0 +1,273 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the POSTStores201ResponseData type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &POSTStores201ResponseData{} + +// POSTStores201ResponseData struct for POSTStores201ResponseData +type POSTStores201ResponseData struct { + // The resource's id + Id interface{} `json:"id,omitempty"` + // The resource's type + Type interface{} `json:"type,omitempty"` + Links *POSTAddresses201ResponseDataLinks `json:"links,omitempty"` + Attributes *POSTStores201ResponseDataAttributes `json:"attributes,omitempty"` + Relationships *POSTStores201ResponseDataRelationships `json:"relationships,omitempty"` +} + +// NewPOSTStores201ResponseData instantiates a new POSTStores201ResponseData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPOSTStores201ResponseData() *POSTStores201ResponseData { + this := POSTStores201ResponseData{} + return &this +} + +// NewPOSTStores201ResponseDataWithDefaults instantiates a new POSTStores201ResponseData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPOSTStores201ResponseDataWithDefaults() *POSTStores201ResponseData { + this := POSTStores201ResponseData{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTStores201ResponseData) GetId() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *POSTStores201ResponseData) GetIdOk() (*interface{}, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return &o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *POSTStores201ResponseData) HasId() bool { + if o != nil && IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given interface{} and assigns it to the Id field. +func (o *POSTStores201ResponseData) SetId(v interface{}) { + o.Id = v +} + +// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTStores201ResponseData) GetType() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *POSTStores201ResponseData) GetTypeOk() (*interface{}, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return &o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *POSTStores201ResponseData) HasType() bool { + if o != nil && IsNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given interface{} and assigns it to the Type field. +func (o *POSTStores201ResponseData) SetType(v interface{}) { + o.Type = v +} + +// GetLinks returns the Links field value if set, zero value otherwise. +func (o *POSTStores201ResponseData) GetLinks() POSTAddresses201ResponseDataLinks { + if o == nil || IsNil(o.Links) { + var ret POSTAddresses201ResponseDataLinks + return ret + } + return *o.Links +} + +// GetLinksOk returns a tuple with the Links field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTStores201ResponseData) GetLinksOk() (*POSTAddresses201ResponseDataLinks, bool) { + if o == nil || IsNil(o.Links) { + return nil, false + } + return o.Links, true +} + +// HasLinks returns a boolean if a field has been set. +func (o *POSTStores201ResponseData) HasLinks() bool { + if o != nil && !IsNil(o.Links) { + return true + } + + return false +} + +// SetLinks gets a reference to the given POSTAddresses201ResponseDataLinks and assigns it to the Links field. +func (o *POSTStores201ResponseData) SetLinks(v POSTAddresses201ResponseDataLinks) { + o.Links = &v +} + +// GetAttributes returns the Attributes field value if set, zero value otherwise. +func (o *POSTStores201ResponseData) GetAttributes() POSTStores201ResponseDataAttributes { + if o == nil || IsNil(o.Attributes) { + var ret POSTStores201ResponseDataAttributes + return ret + } + return *o.Attributes +} + +// GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTStores201ResponseData) GetAttributesOk() (*POSTStores201ResponseDataAttributes, bool) { + if o == nil || IsNil(o.Attributes) { + return nil, false + } + return o.Attributes, true +} + +// HasAttributes returns a boolean if a field has been set. +func (o *POSTStores201ResponseData) HasAttributes() bool { + if o != nil && !IsNil(o.Attributes) { + return true + } + + return false +} + +// SetAttributes gets a reference to the given POSTStores201ResponseDataAttributes and assigns it to the Attributes field. +func (o *POSTStores201ResponseData) SetAttributes(v POSTStores201ResponseDataAttributes) { + o.Attributes = &v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *POSTStores201ResponseData) GetRelationships() POSTStores201ResponseDataRelationships { + if o == nil || IsNil(o.Relationships) { + var ret POSTStores201ResponseDataRelationships + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTStores201ResponseData) GetRelationshipsOk() (*POSTStores201ResponseDataRelationships, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *POSTStores201ResponseData) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given POSTStores201ResponseDataRelationships and assigns it to the Relationships field. +func (o *POSTStores201ResponseData) SetRelationships(v POSTStores201ResponseDataRelationships) { + o.Relationships = &v +} + +func (o POSTStores201ResponseData) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o POSTStores201ResponseData) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Id != nil { + toSerialize["id"] = o.Id + } + if o.Type != nil { + toSerialize["type"] = o.Type + } + if !IsNil(o.Links) { + toSerialize["links"] = o.Links + } + if !IsNil(o.Attributes) { + toSerialize["attributes"] = o.Attributes + } + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + return toSerialize, nil +} + +type NullablePOSTStores201ResponseData struct { + value *POSTStores201ResponseData + isSet bool +} + +func (v NullablePOSTStores201ResponseData) Get() *POSTStores201ResponseData { + return v.value +} + +func (v *NullablePOSTStores201ResponseData) Set(val *POSTStores201ResponseData) { + v.value = val + v.isSet = true +} + +func (v NullablePOSTStores201ResponseData) IsSet() bool { + return v.isSet +} + +func (v *NullablePOSTStores201ResponseData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePOSTStores201ResponseData(val *POSTStores201ResponseData) *NullablePOSTStores201ResponseData { + return &NullablePOSTStores201ResponseData{value: val, isSet: true} +} + +func (v NullablePOSTStores201ResponseData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePOSTStores201ResponseData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_post_stores_201_response_data_attributes.go b/api/model_post_stores_201_response_data_attributes.go new file mode 100644 index 000000000..805a3386a --- /dev/null +++ b/api/model_post_stores_201_response_data_attributes.go @@ -0,0 +1,273 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the POSTStores201ResponseDataAttributes type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &POSTStores201ResponseDataAttributes{} + +// POSTStores201ResponseDataAttributes struct for POSTStores201ResponseDataAttributes +type POSTStores201ResponseDataAttributes struct { + // The store's internal name. + Name interface{} `json:"name"` + // A string that you can use to identify the store (must be unique within the environment). + Code interface{} `json:"code,omitempty"` + // A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. + Reference interface{} `json:"reference,omitempty"` + // Any identifier of the third party system that defines the reference code. + ReferenceOrigin interface{} `json:"reference_origin,omitempty"` + // Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. + Metadata interface{} `json:"metadata,omitempty"` +} + +// NewPOSTStores201ResponseDataAttributes instantiates a new POSTStores201ResponseDataAttributes object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPOSTStores201ResponseDataAttributes(name interface{}) *POSTStores201ResponseDataAttributes { + this := POSTStores201ResponseDataAttributes{} + this.Name = name + return &this +} + +// NewPOSTStores201ResponseDataAttributesWithDefaults instantiates a new POSTStores201ResponseDataAttributes object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPOSTStores201ResponseDataAttributesWithDefaults() *POSTStores201ResponseDataAttributes { + this := POSTStores201ResponseDataAttributes{} + return &this +} + +// GetName returns the Name field value +// If the value is explicit nil, the zero value for interface{} will be returned +func (o *POSTStores201ResponseDataAttributes) GetName() interface{} { + if o == nil { + var ret interface{} + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *POSTStores201ResponseDataAttributes) GetNameOk() (*interface{}, bool) { + if o == nil || IsNil(o.Name) { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *POSTStores201ResponseDataAttributes) SetName(v interface{}) { + o.Name = v +} + +// GetCode returns the Code field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTStores201ResponseDataAttributes) GetCode() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Code +} + +// GetCodeOk returns a tuple with the Code field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *POSTStores201ResponseDataAttributes) GetCodeOk() (*interface{}, bool) { + if o == nil || IsNil(o.Code) { + return nil, false + } + return &o.Code, true +} + +// HasCode returns a boolean if a field has been set. +func (o *POSTStores201ResponseDataAttributes) HasCode() bool { + if o != nil && IsNil(o.Code) { + return true + } + + return false +} + +// SetCode gets a reference to the given interface{} and assigns it to the Code field. +func (o *POSTStores201ResponseDataAttributes) SetCode(v interface{}) { + o.Code = v +} + +// GetReference returns the Reference field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTStores201ResponseDataAttributes) GetReference() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Reference +} + +// GetReferenceOk returns a tuple with the Reference field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *POSTStores201ResponseDataAttributes) GetReferenceOk() (*interface{}, bool) { + if o == nil || IsNil(o.Reference) { + return nil, false + } + return &o.Reference, true +} + +// HasReference returns a boolean if a field has been set. +func (o *POSTStores201ResponseDataAttributes) HasReference() bool { + if o != nil && IsNil(o.Reference) { + return true + } + + return false +} + +// SetReference gets a reference to the given interface{} and assigns it to the Reference field. +func (o *POSTStores201ResponseDataAttributes) SetReference(v interface{}) { + o.Reference = v +} + +// GetReferenceOrigin returns the ReferenceOrigin field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTStores201ResponseDataAttributes) GetReferenceOrigin() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.ReferenceOrigin +} + +// GetReferenceOriginOk returns a tuple with the ReferenceOrigin field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *POSTStores201ResponseDataAttributes) GetReferenceOriginOk() (*interface{}, bool) { + if o == nil || IsNil(o.ReferenceOrigin) { + return nil, false + } + return &o.ReferenceOrigin, true +} + +// HasReferenceOrigin returns a boolean if a field has been set. +func (o *POSTStores201ResponseDataAttributes) HasReferenceOrigin() bool { + if o != nil && IsNil(o.ReferenceOrigin) { + return true + } + + return false +} + +// SetReferenceOrigin gets a reference to the given interface{} and assigns it to the ReferenceOrigin field. +func (o *POSTStores201ResponseDataAttributes) SetReferenceOrigin(v interface{}) { + o.ReferenceOrigin = v +} + +// GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTStores201ResponseDataAttributes) GetMetadata() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Metadata +} + +// GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *POSTStores201ResponseDataAttributes) GetMetadataOk() (*interface{}, bool) { + if o == nil || IsNil(o.Metadata) { + return nil, false + } + return &o.Metadata, true +} + +// HasMetadata returns a boolean if a field has been set. +func (o *POSTStores201ResponseDataAttributes) HasMetadata() bool { + if o != nil && IsNil(o.Metadata) { + return true + } + + return false +} + +// SetMetadata gets a reference to the given interface{} and assigns it to the Metadata field. +func (o *POSTStores201ResponseDataAttributes) SetMetadata(v interface{}) { + o.Metadata = v +} + +func (o POSTStores201ResponseDataAttributes) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o POSTStores201ResponseDataAttributes) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Name != nil { + toSerialize["name"] = o.Name + } + if o.Code != nil { + toSerialize["code"] = o.Code + } + if o.Reference != nil { + toSerialize["reference"] = o.Reference + } + if o.ReferenceOrigin != nil { + toSerialize["reference_origin"] = o.ReferenceOrigin + } + if o.Metadata != nil { + toSerialize["metadata"] = o.Metadata + } + return toSerialize, nil +} + +type NullablePOSTStores201ResponseDataAttributes struct { + value *POSTStores201ResponseDataAttributes + isSet bool +} + +func (v NullablePOSTStores201ResponseDataAttributes) Get() *POSTStores201ResponseDataAttributes { + return v.value +} + +func (v *NullablePOSTStores201ResponseDataAttributes) Set(val *POSTStores201ResponseDataAttributes) { + v.value = val + v.isSet = true +} + +func (v NullablePOSTStores201ResponseDataAttributes) IsSet() bool { + return v.isSet +} + +func (v *NullablePOSTStores201ResponseDataAttributes) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePOSTStores201ResponseDataAttributes(val *POSTStores201ResponseDataAttributes) *NullablePOSTStores201ResponseDataAttributes { + return &NullablePOSTStores201ResponseDataAttributes{value: val, isSet: true} +} + +func (v NullablePOSTStores201ResponseDataAttributes) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePOSTStores201ResponseDataAttributes) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_post_stores_201_response_data_relationships.go b/api/model_post_stores_201_response_data_relationships.go new file mode 100644 index 000000000..27c8a6b63 --- /dev/null +++ b/api/model_post_stores_201_response_data_relationships.go @@ -0,0 +1,341 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the POSTStores201ResponseDataRelationships type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &POSTStores201ResponseDataRelationships{} + +// POSTStores201ResponseDataRelationships struct for POSTStores201ResponseDataRelationships +type POSTStores201ResponseDataRelationships struct { + Market *POSTBundles201ResponseDataRelationshipsMarket `json:"market,omitempty"` + Merchant *POSTMarkets201ResponseDataRelationshipsMerchant `json:"merchant,omitempty"` + StockLocation *POSTDeliveryLeadTimes201ResponseDataRelationshipsStockLocation `json:"stock_location,omitempty"` + Orders *POSTCustomers201ResponseDataRelationshipsOrders `json:"orders,omitempty"` + PaymentMethods *POSTAdyenGateways201ResponseDataRelationshipsPaymentMethods `json:"payment_methods,omitempty"` + Events *POSTAddresses201ResponseDataRelationshipsEvents `json:"events,omitempty"` + Versions *POSTAddresses201ResponseDataRelationshipsVersions `json:"versions,omitempty"` +} + +// NewPOSTStores201ResponseDataRelationships instantiates a new POSTStores201ResponseDataRelationships object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPOSTStores201ResponseDataRelationships() *POSTStores201ResponseDataRelationships { + this := POSTStores201ResponseDataRelationships{} + return &this +} + +// NewPOSTStores201ResponseDataRelationshipsWithDefaults instantiates a new POSTStores201ResponseDataRelationships object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPOSTStores201ResponseDataRelationshipsWithDefaults() *POSTStores201ResponseDataRelationships { + this := POSTStores201ResponseDataRelationships{} + return &this +} + +// GetMarket returns the Market field value if set, zero value otherwise. +func (o *POSTStores201ResponseDataRelationships) GetMarket() POSTBundles201ResponseDataRelationshipsMarket { + if o == nil || IsNil(o.Market) { + var ret POSTBundles201ResponseDataRelationshipsMarket + return ret + } + return *o.Market +} + +// GetMarketOk returns a tuple with the Market field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTStores201ResponseDataRelationships) GetMarketOk() (*POSTBundles201ResponseDataRelationshipsMarket, bool) { + if o == nil || IsNil(o.Market) { + return nil, false + } + return o.Market, true +} + +// HasMarket returns a boolean if a field has been set. +func (o *POSTStores201ResponseDataRelationships) HasMarket() bool { + if o != nil && !IsNil(o.Market) { + return true + } + + return false +} + +// SetMarket gets a reference to the given POSTBundles201ResponseDataRelationshipsMarket and assigns it to the Market field. +func (o *POSTStores201ResponseDataRelationships) SetMarket(v POSTBundles201ResponseDataRelationshipsMarket) { + o.Market = &v +} + +// GetMerchant returns the Merchant field value if set, zero value otherwise. +func (o *POSTStores201ResponseDataRelationships) GetMerchant() POSTMarkets201ResponseDataRelationshipsMerchant { + if o == nil || IsNil(o.Merchant) { + var ret POSTMarkets201ResponseDataRelationshipsMerchant + return ret + } + return *o.Merchant +} + +// GetMerchantOk returns a tuple with the Merchant field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTStores201ResponseDataRelationships) GetMerchantOk() (*POSTMarkets201ResponseDataRelationshipsMerchant, bool) { + if o == nil || IsNil(o.Merchant) { + return nil, false + } + return o.Merchant, true +} + +// HasMerchant returns a boolean if a field has been set. +func (o *POSTStores201ResponseDataRelationships) HasMerchant() bool { + if o != nil && !IsNil(o.Merchant) { + return true + } + + return false +} + +// SetMerchant gets a reference to the given POSTMarkets201ResponseDataRelationshipsMerchant and assigns it to the Merchant field. +func (o *POSTStores201ResponseDataRelationships) SetMerchant(v POSTMarkets201ResponseDataRelationshipsMerchant) { + o.Merchant = &v +} + +// GetStockLocation returns the StockLocation field value if set, zero value otherwise. +func (o *POSTStores201ResponseDataRelationships) GetStockLocation() POSTDeliveryLeadTimes201ResponseDataRelationshipsStockLocation { + if o == nil || IsNil(o.StockLocation) { + var ret POSTDeliveryLeadTimes201ResponseDataRelationshipsStockLocation + return ret + } + return *o.StockLocation +} + +// GetStockLocationOk returns a tuple with the StockLocation field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTStores201ResponseDataRelationships) GetStockLocationOk() (*POSTDeliveryLeadTimes201ResponseDataRelationshipsStockLocation, bool) { + if o == nil || IsNil(o.StockLocation) { + return nil, false + } + return o.StockLocation, true +} + +// HasStockLocation returns a boolean if a field has been set. +func (o *POSTStores201ResponseDataRelationships) HasStockLocation() bool { + if o != nil && !IsNil(o.StockLocation) { + return true + } + + return false +} + +// SetStockLocation gets a reference to the given POSTDeliveryLeadTimes201ResponseDataRelationshipsStockLocation and assigns it to the StockLocation field. +func (o *POSTStores201ResponseDataRelationships) SetStockLocation(v POSTDeliveryLeadTimes201ResponseDataRelationshipsStockLocation) { + o.StockLocation = &v +} + +// GetOrders returns the Orders field value if set, zero value otherwise. +func (o *POSTStores201ResponseDataRelationships) GetOrders() POSTCustomers201ResponseDataRelationshipsOrders { + if o == nil || IsNil(o.Orders) { + var ret POSTCustomers201ResponseDataRelationshipsOrders + return ret + } + return *o.Orders +} + +// GetOrdersOk returns a tuple with the Orders field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTStores201ResponseDataRelationships) GetOrdersOk() (*POSTCustomers201ResponseDataRelationshipsOrders, bool) { + if o == nil || IsNil(o.Orders) { + return nil, false + } + return o.Orders, true +} + +// HasOrders returns a boolean if a field has been set. +func (o *POSTStores201ResponseDataRelationships) HasOrders() bool { + if o != nil && !IsNil(o.Orders) { + return true + } + + return false +} + +// SetOrders gets a reference to the given POSTCustomers201ResponseDataRelationshipsOrders and assigns it to the Orders field. +func (o *POSTStores201ResponseDataRelationships) SetOrders(v POSTCustomers201ResponseDataRelationshipsOrders) { + o.Orders = &v +} + +// GetPaymentMethods returns the PaymentMethods field value if set, zero value otherwise. +func (o *POSTStores201ResponseDataRelationships) GetPaymentMethods() POSTAdyenGateways201ResponseDataRelationshipsPaymentMethods { + if o == nil || IsNil(o.PaymentMethods) { + var ret POSTAdyenGateways201ResponseDataRelationshipsPaymentMethods + return ret + } + return *o.PaymentMethods +} + +// GetPaymentMethodsOk returns a tuple with the PaymentMethods field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTStores201ResponseDataRelationships) GetPaymentMethodsOk() (*POSTAdyenGateways201ResponseDataRelationshipsPaymentMethods, bool) { + if o == nil || IsNil(o.PaymentMethods) { + return nil, false + } + return o.PaymentMethods, true +} + +// HasPaymentMethods returns a boolean if a field has been set. +func (o *POSTStores201ResponseDataRelationships) HasPaymentMethods() bool { + if o != nil && !IsNil(o.PaymentMethods) { + return true + } + + return false +} + +// SetPaymentMethods gets a reference to the given POSTAdyenGateways201ResponseDataRelationshipsPaymentMethods and assigns it to the PaymentMethods field. +func (o *POSTStores201ResponseDataRelationships) SetPaymentMethods(v POSTAdyenGateways201ResponseDataRelationshipsPaymentMethods) { + o.PaymentMethods = &v +} + +// GetEvents returns the Events field value if set, zero value otherwise. +func (o *POSTStores201ResponseDataRelationships) GetEvents() POSTAddresses201ResponseDataRelationshipsEvents { + if o == nil || IsNil(o.Events) { + var ret POSTAddresses201ResponseDataRelationshipsEvents + return ret + } + return *o.Events +} + +// GetEventsOk returns a tuple with the Events field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTStores201ResponseDataRelationships) GetEventsOk() (*POSTAddresses201ResponseDataRelationshipsEvents, bool) { + if o == nil || IsNil(o.Events) { + return nil, false + } + return o.Events, true +} + +// HasEvents returns a boolean if a field has been set. +func (o *POSTStores201ResponseDataRelationships) HasEvents() bool { + if o != nil && !IsNil(o.Events) { + return true + } + + return false +} + +// SetEvents gets a reference to the given POSTAddresses201ResponseDataRelationshipsEvents and assigns it to the Events field. +func (o *POSTStores201ResponseDataRelationships) SetEvents(v POSTAddresses201ResponseDataRelationshipsEvents) { + o.Events = &v +} + +// GetVersions returns the Versions field value if set, zero value otherwise. +func (o *POSTStores201ResponseDataRelationships) GetVersions() POSTAddresses201ResponseDataRelationshipsVersions { + if o == nil || IsNil(o.Versions) { + var ret POSTAddresses201ResponseDataRelationshipsVersions + return ret + } + return *o.Versions +} + +// GetVersionsOk returns a tuple with the Versions field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *POSTStores201ResponseDataRelationships) GetVersionsOk() (*POSTAddresses201ResponseDataRelationshipsVersions, bool) { + if o == nil || IsNil(o.Versions) { + return nil, false + } + return o.Versions, true +} + +// HasVersions returns a boolean if a field has been set. +func (o *POSTStores201ResponseDataRelationships) HasVersions() bool { + if o != nil && !IsNil(o.Versions) { + return true + } + + return false +} + +// SetVersions gets a reference to the given POSTAddresses201ResponseDataRelationshipsVersions and assigns it to the Versions field. +func (o *POSTStores201ResponseDataRelationships) SetVersions(v POSTAddresses201ResponseDataRelationshipsVersions) { + o.Versions = &v +} + +func (o POSTStores201ResponseDataRelationships) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o POSTStores201ResponseDataRelationships) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Market) { + toSerialize["market"] = o.Market + } + if !IsNil(o.Merchant) { + toSerialize["merchant"] = o.Merchant + } + if !IsNil(o.StockLocation) { + toSerialize["stock_location"] = o.StockLocation + } + if !IsNil(o.Orders) { + toSerialize["orders"] = o.Orders + } + if !IsNil(o.PaymentMethods) { + toSerialize["payment_methods"] = o.PaymentMethods + } + if !IsNil(o.Events) { + toSerialize["events"] = o.Events + } + if !IsNil(o.Versions) { + toSerialize["versions"] = o.Versions + } + return toSerialize, nil +} + +type NullablePOSTStores201ResponseDataRelationships struct { + value *POSTStores201ResponseDataRelationships + isSet bool +} + +func (v NullablePOSTStores201ResponseDataRelationships) Get() *POSTStores201ResponseDataRelationships { + return v.value +} + +func (v *NullablePOSTStores201ResponseDataRelationships) Set(val *POSTStores201ResponseDataRelationships) { + v.value = val + v.isSet = true +} + +func (v NullablePOSTStores201ResponseDataRelationships) IsSet() bool { + return v.isSet +} + +func (v *NullablePOSTStores201ResponseDataRelationships) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePOSTStores201ResponseDataRelationships(val *POSTStores201ResponseDataRelationships) *NullablePOSTStores201ResponseDataRelationships { + return &NullablePOSTStores201ResponseDataRelationships{value: val, isSet: true} +} + +func (v NullablePOSTStores201ResponseDataRelationships) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePOSTStores201ResponseDataRelationships) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_post_stripe_gateways_201_response.go b/api/model_post_stripe_gateways_201_response.go index 96e52c52f..08378efcc 100644 --- a/api/model_post_stripe_gateways_201_response.go +++ b/api/model_post_stripe_gateways_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stripe_gateways_201_response_data.go b/api/model_post_stripe_gateways_201_response_data.go index 7fb7a73ab..298910126 100644 --- a/api/model_post_stripe_gateways_201_response_data.go +++ b/api/model_post_stripe_gateways_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stripe_gateways_201_response_data_attributes.go b/api/model_post_stripe_gateways_201_response_data_attributes.go index d7aa40de0..5c3eae1b5 100644 --- a/api/model_post_stripe_gateways_201_response_data_attributes.go +++ b/api/model_post_stripe_gateways_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stripe_gateways_201_response_data_relationships.go b/api/model_post_stripe_gateways_201_response_data_relationships.go index 2bf504e76..6e6e66123 100644 --- a/api/model_post_stripe_gateways_201_response_data_relationships.go +++ b/api/model_post_stripe_gateways_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stripe_gateways_201_response_data_relationships_stripe_payments.go b/api/model_post_stripe_gateways_201_response_data_relationships_stripe_payments.go index dcce05d88..2438d7528 100644 --- a/api/model_post_stripe_gateways_201_response_data_relationships_stripe_payments.go +++ b/api/model_post_stripe_gateways_201_response_data_relationships_stripe_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stripe_gateways_201_response_data_relationships_stripe_payments_data.go b/api/model_post_stripe_gateways_201_response_data_relationships_stripe_payments_data.go index fc61f3a7f..32527f85c 100644 --- a/api/model_post_stripe_gateways_201_response_data_relationships_stripe_payments_data.go +++ b/api/model_post_stripe_gateways_201_response_data_relationships_stripe_payments_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stripe_payments_201_response.go b/api/model_post_stripe_payments_201_response.go index 533f6e823..9add6b32f 100644 --- a/api/model_post_stripe_payments_201_response.go +++ b/api/model_post_stripe_payments_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stripe_payments_201_response_data.go b/api/model_post_stripe_payments_201_response_data.go index f21bb8983..9fdb6ca2f 100644 --- a/api/model_post_stripe_payments_201_response_data.go +++ b/api/model_post_stripe_payments_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_stripe_payments_201_response_data_attributes.go b/api/model_post_stripe_payments_201_response_data_attributes.go index 96777100c..a616dac46 100644 --- a/api/model_post_stripe_payments_201_response_data_attributes.go +++ b/api/model_post_stripe_payments_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_subscription_models_201_response.go b/api/model_post_subscription_models_201_response.go index 6f587edf4..33d8ea0f9 100644 --- a/api/model_post_subscription_models_201_response.go +++ b/api/model_post_subscription_models_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_subscription_models_201_response_data.go b/api/model_post_subscription_models_201_response_data.go index e23bdb65a..4e0892f18 100644 --- a/api/model_post_subscription_models_201_response_data.go +++ b/api/model_post_subscription_models_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_subscription_models_201_response_data_attributes.go b/api/model_post_subscription_models_201_response_data_attributes.go index e3eb82340..4e230c2fe 100644 --- a/api/model_post_subscription_models_201_response_data_attributes.go +++ b/api/model_post_subscription_models_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_subscription_models_201_response_data_relationships.go b/api/model_post_subscription_models_201_response_data_relationships.go index 2e7485e47..9992dce77 100644 --- a/api/model_post_subscription_models_201_response_data_relationships.go +++ b/api/model_post_subscription_models_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_tags_201_response.go b/api/model_post_tags_201_response.go index a5112fd57..68bd9518b 100644 --- a/api/model_post_tags_201_response.go +++ b/api/model_post_tags_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_tags_201_response_data.go b/api/model_post_tags_201_response_data.go index e3b925905..fd4458f3c 100644 --- a/api/model_post_tags_201_response_data.go +++ b/api/model_post_tags_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_tags_201_response_data_attributes.go b/api/model_post_tags_201_response_data_attributes.go index 41488b032..51ab0b2d7 100644 --- a/api/model_post_tags_201_response_data_attributes.go +++ b/api/model_post_tags_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_tax_categories_201_response.go b/api/model_post_tax_categories_201_response.go index b608bf0c2..6babf08fb 100644 --- a/api/model_post_tax_categories_201_response.go +++ b/api/model_post_tax_categories_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_tax_categories_201_response_data.go b/api/model_post_tax_categories_201_response_data.go index ad08e1378..c054caa81 100644 --- a/api/model_post_tax_categories_201_response_data.go +++ b/api/model_post_tax_categories_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_tax_categories_201_response_data_attributes.go b/api/model_post_tax_categories_201_response_data_attributes.go index 83fc54c2d..40b6f5e7c 100644 --- a/api/model_post_tax_categories_201_response_data_attributes.go +++ b/api/model_post_tax_categories_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_tax_categories_201_response_data_relationships.go b/api/model_post_tax_categories_201_response_data_relationships.go index f8aed0fdd..90b2d6294 100644 --- a/api/model_post_tax_categories_201_response_data_relationships.go +++ b/api/model_post_tax_categories_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_tax_rules_201_response.go b/api/model_post_tax_rules_201_response.go index 0d2a4e001..8daa88191 100644 --- a/api/model_post_tax_rules_201_response.go +++ b/api/model_post_tax_rules_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_tax_rules_201_response_data.go b/api/model_post_tax_rules_201_response_data.go index 6d281426d..21613a88a 100644 --- a/api/model_post_tax_rules_201_response_data.go +++ b/api/model_post_tax_rules_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_tax_rules_201_response_data_attributes.go b/api/model_post_tax_rules_201_response_data_attributes.go index 6f6f603d0..7ec1145d5 100644 --- a/api/model_post_tax_rules_201_response_data_attributes.go +++ b/api/model_post_tax_rules_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -24,18 +24,6 @@ type POSTTaxRules201ResponseDataAttributes struct { Name interface{} `json:"name"` // The tax rate for this rule. TaxRate interface{} `json:"tax_rate,omitempty"` - // The regex that will be evaluated to match the shipping address country code. - CountryCodeRegex interface{} `json:"country_code_regex,omitempty"` - // The regex that will be evaluated as negative match for the shipping address country code. - NotCountryCodeRegex interface{} `json:"not_country_code_regex,omitempty"` - // The regex that will be evaluated to match the shipping address state code. - StateCodeRegex interface{} `json:"state_code_regex,omitempty"` - // The regex that will be evaluated as negative match for the shipping address state code. - NotStateCodeRegex interface{} `json:"not_state_code_regex,omitempty"` - // The regex that will be evaluated to match the shipping address zip code. - ZipCodeRegex interface{} `json:"zip_code_regex,omitempty"` - // The regex that will be evaluated as negative match for the shipping zip country code. - NotZipCodeRegex interface{} `json:"not_zip_code_regex,omitempty"` // Indicates if the freight is taxable. FreightTaxable interface{} `json:"freight_taxable,omitempty"` // Indicates if the payment method is taxable. @@ -44,6 +32,18 @@ type POSTTaxRules201ResponseDataAttributes struct { GiftCardTaxable interface{} `json:"gift_card_taxable,omitempty"` // Indicates if adjustemnts are taxable. AdjustmentTaxable interface{} `json:"adjustment_taxable,omitempty"` + // The regex that will be evaluated to match the shipping address country code, max size is 5000. + CountryCodeRegex interface{} `json:"country_code_regex,omitempty"` + // The regex that will be evaluated as negative match for the shipping address country code, max size is 5000. + NotCountryCodeRegex interface{} `json:"not_country_code_regex,omitempty"` + // The regex that will be evaluated to match the shipping address state code, max size is 5000. + StateCodeRegex interface{} `json:"state_code_regex,omitempty"` + // The regex that will be evaluated as negative match for the shipping address state code, max size is 5000. + NotStateCodeRegex interface{} `json:"not_state_code_regex,omitempty"` + // The regex that will be evaluated to match the shipping address zip code, max size is 5000. + ZipCodeRegex interface{} `json:"zip_code_regex,omitempty"` + // The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000. + NotZipCodeRegex interface{} `json:"not_zip_code_regex,omitempty"` // A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. Reference interface{} `json:"reference,omitempty"` // Any identifier of the third party system that defines the reference code. @@ -129,334 +129,334 @@ func (o *POSTTaxRules201ResponseDataAttributes) SetTaxRate(v interface{}) { o.TaxRate = v } -// GetCountryCodeRegex returns the CountryCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *POSTTaxRules201ResponseDataAttributes) GetCountryCodeRegex() interface{} { +// GetFreightTaxable returns the FreightTaxable field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTTaxRules201ResponseDataAttributes) GetFreightTaxable() interface{} { if o == nil { var ret interface{} return ret } - return o.CountryCodeRegex + return o.FreightTaxable } -// GetCountryCodeRegexOk returns a tuple with the CountryCodeRegex field value if set, nil otherwise +// GetFreightTaxableOk returns a tuple with the FreightTaxable field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *POSTTaxRules201ResponseDataAttributes) GetCountryCodeRegexOk() (*interface{}, bool) { - if o == nil || IsNil(o.CountryCodeRegex) { +func (o *POSTTaxRules201ResponseDataAttributes) GetFreightTaxableOk() (*interface{}, bool) { + if o == nil || IsNil(o.FreightTaxable) { return nil, false } - return &o.CountryCodeRegex, true + return &o.FreightTaxable, true } -// HasCountryCodeRegex returns a boolean if a field has been set. -func (o *POSTTaxRules201ResponseDataAttributes) HasCountryCodeRegex() bool { - if o != nil && IsNil(o.CountryCodeRegex) { +// HasFreightTaxable returns a boolean if a field has been set. +func (o *POSTTaxRules201ResponseDataAttributes) HasFreightTaxable() bool { + if o != nil && IsNil(o.FreightTaxable) { return true } return false } -// SetCountryCodeRegex gets a reference to the given interface{} and assigns it to the CountryCodeRegex field. -func (o *POSTTaxRules201ResponseDataAttributes) SetCountryCodeRegex(v interface{}) { - o.CountryCodeRegex = v +// SetFreightTaxable gets a reference to the given interface{} and assigns it to the FreightTaxable field. +func (o *POSTTaxRules201ResponseDataAttributes) SetFreightTaxable(v interface{}) { + o.FreightTaxable = v } -// GetNotCountryCodeRegex returns the NotCountryCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *POSTTaxRules201ResponseDataAttributes) GetNotCountryCodeRegex() interface{} { +// GetPaymentMethodTaxable returns the PaymentMethodTaxable field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTTaxRules201ResponseDataAttributes) GetPaymentMethodTaxable() interface{} { if o == nil { var ret interface{} return ret } - return o.NotCountryCodeRegex + return o.PaymentMethodTaxable } -// GetNotCountryCodeRegexOk returns a tuple with the NotCountryCodeRegex field value if set, nil otherwise +// GetPaymentMethodTaxableOk returns a tuple with the PaymentMethodTaxable field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *POSTTaxRules201ResponseDataAttributes) GetNotCountryCodeRegexOk() (*interface{}, bool) { - if o == nil || IsNil(o.NotCountryCodeRegex) { +func (o *POSTTaxRules201ResponseDataAttributes) GetPaymentMethodTaxableOk() (*interface{}, bool) { + if o == nil || IsNil(o.PaymentMethodTaxable) { return nil, false } - return &o.NotCountryCodeRegex, true + return &o.PaymentMethodTaxable, true } -// HasNotCountryCodeRegex returns a boolean if a field has been set. -func (o *POSTTaxRules201ResponseDataAttributes) HasNotCountryCodeRegex() bool { - if o != nil && IsNil(o.NotCountryCodeRegex) { +// HasPaymentMethodTaxable returns a boolean if a field has been set. +func (o *POSTTaxRules201ResponseDataAttributes) HasPaymentMethodTaxable() bool { + if o != nil && IsNil(o.PaymentMethodTaxable) { return true } return false } -// SetNotCountryCodeRegex gets a reference to the given interface{} and assigns it to the NotCountryCodeRegex field. -func (o *POSTTaxRules201ResponseDataAttributes) SetNotCountryCodeRegex(v interface{}) { - o.NotCountryCodeRegex = v +// SetPaymentMethodTaxable gets a reference to the given interface{} and assigns it to the PaymentMethodTaxable field. +func (o *POSTTaxRules201ResponseDataAttributes) SetPaymentMethodTaxable(v interface{}) { + o.PaymentMethodTaxable = v } -// GetStateCodeRegex returns the StateCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *POSTTaxRules201ResponseDataAttributes) GetStateCodeRegex() interface{} { +// GetGiftCardTaxable returns the GiftCardTaxable field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTTaxRules201ResponseDataAttributes) GetGiftCardTaxable() interface{} { if o == nil { var ret interface{} return ret } - return o.StateCodeRegex + return o.GiftCardTaxable } -// GetStateCodeRegexOk returns a tuple with the StateCodeRegex field value if set, nil otherwise +// GetGiftCardTaxableOk returns a tuple with the GiftCardTaxable field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *POSTTaxRules201ResponseDataAttributes) GetStateCodeRegexOk() (*interface{}, bool) { - if o == nil || IsNil(o.StateCodeRegex) { +func (o *POSTTaxRules201ResponseDataAttributes) GetGiftCardTaxableOk() (*interface{}, bool) { + if o == nil || IsNil(o.GiftCardTaxable) { return nil, false } - return &o.StateCodeRegex, true + return &o.GiftCardTaxable, true } -// HasStateCodeRegex returns a boolean if a field has been set. -func (o *POSTTaxRules201ResponseDataAttributes) HasStateCodeRegex() bool { - if o != nil && IsNil(o.StateCodeRegex) { +// HasGiftCardTaxable returns a boolean if a field has been set. +func (o *POSTTaxRules201ResponseDataAttributes) HasGiftCardTaxable() bool { + if o != nil && IsNil(o.GiftCardTaxable) { return true } return false } -// SetStateCodeRegex gets a reference to the given interface{} and assigns it to the StateCodeRegex field. -func (o *POSTTaxRules201ResponseDataAttributes) SetStateCodeRegex(v interface{}) { - o.StateCodeRegex = v +// SetGiftCardTaxable gets a reference to the given interface{} and assigns it to the GiftCardTaxable field. +func (o *POSTTaxRules201ResponseDataAttributes) SetGiftCardTaxable(v interface{}) { + o.GiftCardTaxable = v } -// GetNotStateCodeRegex returns the NotStateCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *POSTTaxRules201ResponseDataAttributes) GetNotStateCodeRegex() interface{} { +// GetAdjustmentTaxable returns the AdjustmentTaxable field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTTaxRules201ResponseDataAttributes) GetAdjustmentTaxable() interface{} { if o == nil { var ret interface{} return ret } - return o.NotStateCodeRegex + return o.AdjustmentTaxable } -// GetNotStateCodeRegexOk returns a tuple with the NotStateCodeRegex field value if set, nil otherwise +// GetAdjustmentTaxableOk returns a tuple with the AdjustmentTaxable field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *POSTTaxRules201ResponseDataAttributes) GetNotStateCodeRegexOk() (*interface{}, bool) { - if o == nil || IsNil(o.NotStateCodeRegex) { +func (o *POSTTaxRules201ResponseDataAttributes) GetAdjustmentTaxableOk() (*interface{}, bool) { + if o == nil || IsNil(o.AdjustmentTaxable) { return nil, false } - return &o.NotStateCodeRegex, true + return &o.AdjustmentTaxable, true } -// HasNotStateCodeRegex returns a boolean if a field has been set. -func (o *POSTTaxRules201ResponseDataAttributes) HasNotStateCodeRegex() bool { - if o != nil && IsNil(o.NotStateCodeRegex) { +// HasAdjustmentTaxable returns a boolean if a field has been set. +func (o *POSTTaxRules201ResponseDataAttributes) HasAdjustmentTaxable() bool { + if o != nil && IsNil(o.AdjustmentTaxable) { return true } return false } -// SetNotStateCodeRegex gets a reference to the given interface{} and assigns it to the NotStateCodeRegex field. -func (o *POSTTaxRules201ResponseDataAttributes) SetNotStateCodeRegex(v interface{}) { - o.NotStateCodeRegex = v +// SetAdjustmentTaxable gets a reference to the given interface{} and assigns it to the AdjustmentTaxable field. +func (o *POSTTaxRules201ResponseDataAttributes) SetAdjustmentTaxable(v interface{}) { + o.AdjustmentTaxable = v } -// GetZipCodeRegex returns the ZipCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *POSTTaxRules201ResponseDataAttributes) GetZipCodeRegex() interface{} { +// GetCountryCodeRegex returns the CountryCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTTaxRules201ResponseDataAttributes) GetCountryCodeRegex() interface{} { if o == nil { var ret interface{} return ret } - return o.ZipCodeRegex + return o.CountryCodeRegex } -// GetZipCodeRegexOk returns a tuple with the ZipCodeRegex field value if set, nil otherwise +// GetCountryCodeRegexOk returns a tuple with the CountryCodeRegex field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *POSTTaxRules201ResponseDataAttributes) GetZipCodeRegexOk() (*interface{}, bool) { - if o == nil || IsNil(o.ZipCodeRegex) { +func (o *POSTTaxRules201ResponseDataAttributes) GetCountryCodeRegexOk() (*interface{}, bool) { + if o == nil || IsNil(o.CountryCodeRegex) { return nil, false } - return &o.ZipCodeRegex, true + return &o.CountryCodeRegex, true } -// HasZipCodeRegex returns a boolean if a field has been set. -func (o *POSTTaxRules201ResponseDataAttributes) HasZipCodeRegex() bool { - if o != nil && IsNil(o.ZipCodeRegex) { +// HasCountryCodeRegex returns a boolean if a field has been set. +func (o *POSTTaxRules201ResponseDataAttributes) HasCountryCodeRegex() bool { + if o != nil && IsNil(o.CountryCodeRegex) { return true } return false } -// SetZipCodeRegex gets a reference to the given interface{} and assigns it to the ZipCodeRegex field. -func (o *POSTTaxRules201ResponseDataAttributes) SetZipCodeRegex(v interface{}) { - o.ZipCodeRegex = v +// SetCountryCodeRegex gets a reference to the given interface{} and assigns it to the CountryCodeRegex field. +func (o *POSTTaxRules201ResponseDataAttributes) SetCountryCodeRegex(v interface{}) { + o.CountryCodeRegex = v } -// GetNotZipCodeRegex returns the NotZipCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *POSTTaxRules201ResponseDataAttributes) GetNotZipCodeRegex() interface{} { +// GetNotCountryCodeRegex returns the NotCountryCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTTaxRules201ResponseDataAttributes) GetNotCountryCodeRegex() interface{} { if o == nil { var ret interface{} return ret } - return o.NotZipCodeRegex + return o.NotCountryCodeRegex } -// GetNotZipCodeRegexOk returns a tuple with the NotZipCodeRegex field value if set, nil otherwise +// GetNotCountryCodeRegexOk returns a tuple with the NotCountryCodeRegex field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *POSTTaxRules201ResponseDataAttributes) GetNotZipCodeRegexOk() (*interface{}, bool) { - if o == nil || IsNil(o.NotZipCodeRegex) { +func (o *POSTTaxRules201ResponseDataAttributes) GetNotCountryCodeRegexOk() (*interface{}, bool) { + if o == nil || IsNil(o.NotCountryCodeRegex) { return nil, false } - return &o.NotZipCodeRegex, true + return &o.NotCountryCodeRegex, true } -// HasNotZipCodeRegex returns a boolean if a field has been set. -func (o *POSTTaxRules201ResponseDataAttributes) HasNotZipCodeRegex() bool { - if o != nil && IsNil(o.NotZipCodeRegex) { +// HasNotCountryCodeRegex returns a boolean if a field has been set. +func (o *POSTTaxRules201ResponseDataAttributes) HasNotCountryCodeRegex() bool { + if o != nil && IsNil(o.NotCountryCodeRegex) { return true } return false } -// SetNotZipCodeRegex gets a reference to the given interface{} and assigns it to the NotZipCodeRegex field. -func (o *POSTTaxRules201ResponseDataAttributes) SetNotZipCodeRegex(v interface{}) { - o.NotZipCodeRegex = v +// SetNotCountryCodeRegex gets a reference to the given interface{} and assigns it to the NotCountryCodeRegex field. +func (o *POSTTaxRules201ResponseDataAttributes) SetNotCountryCodeRegex(v interface{}) { + o.NotCountryCodeRegex = v } -// GetFreightTaxable returns the FreightTaxable field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *POSTTaxRules201ResponseDataAttributes) GetFreightTaxable() interface{} { +// GetStateCodeRegex returns the StateCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTTaxRules201ResponseDataAttributes) GetStateCodeRegex() interface{} { if o == nil { var ret interface{} return ret } - return o.FreightTaxable + return o.StateCodeRegex } -// GetFreightTaxableOk returns a tuple with the FreightTaxable field value if set, nil otherwise +// GetStateCodeRegexOk returns a tuple with the StateCodeRegex field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *POSTTaxRules201ResponseDataAttributes) GetFreightTaxableOk() (*interface{}, bool) { - if o == nil || IsNil(o.FreightTaxable) { +func (o *POSTTaxRules201ResponseDataAttributes) GetStateCodeRegexOk() (*interface{}, bool) { + if o == nil || IsNil(o.StateCodeRegex) { return nil, false } - return &o.FreightTaxable, true + return &o.StateCodeRegex, true } -// HasFreightTaxable returns a boolean if a field has been set. -func (o *POSTTaxRules201ResponseDataAttributes) HasFreightTaxable() bool { - if o != nil && IsNil(o.FreightTaxable) { +// HasStateCodeRegex returns a boolean if a field has been set. +func (o *POSTTaxRules201ResponseDataAttributes) HasStateCodeRegex() bool { + if o != nil && IsNil(o.StateCodeRegex) { return true } return false } -// SetFreightTaxable gets a reference to the given interface{} and assigns it to the FreightTaxable field. -func (o *POSTTaxRules201ResponseDataAttributes) SetFreightTaxable(v interface{}) { - o.FreightTaxable = v +// SetStateCodeRegex gets a reference to the given interface{} and assigns it to the StateCodeRegex field. +func (o *POSTTaxRules201ResponseDataAttributes) SetStateCodeRegex(v interface{}) { + o.StateCodeRegex = v } -// GetPaymentMethodTaxable returns the PaymentMethodTaxable field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *POSTTaxRules201ResponseDataAttributes) GetPaymentMethodTaxable() interface{} { +// GetNotStateCodeRegex returns the NotStateCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTTaxRules201ResponseDataAttributes) GetNotStateCodeRegex() interface{} { if o == nil { var ret interface{} return ret } - return o.PaymentMethodTaxable + return o.NotStateCodeRegex } -// GetPaymentMethodTaxableOk returns a tuple with the PaymentMethodTaxable field value if set, nil otherwise +// GetNotStateCodeRegexOk returns a tuple with the NotStateCodeRegex field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *POSTTaxRules201ResponseDataAttributes) GetPaymentMethodTaxableOk() (*interface{}, bool) { - if o == nil || IsNil(o.PaymentMethodTaxable) { +func (o *POSTTaxRules201ResponseDataAttributes) GetNotStateCodeRegexOk() (*interface{}, bool) { + if o == nil || IsNil(o.NotStateCodeRegex) { return nil, false } - return &o.PaymentMethodTaxable, true + return &o.NotStateCodeRegex, true } -// HasPaymentMethodTaxable returns a boolean if a field has been set. -func (o *POSTTaxRules201ResponseDataAttributes) HasPaymentMethodTaxable() bool { - if o != nil && IsNil(o.PaymentMethodTaxable) { +// HasNotStateCodeRegex returns a boolean if a field has been set. +func (o *POSTTaxRules201ResponseDataAttributes) HasNotStateCodeRegex() bool { + if o != nil && IsNil(o.NotStateCodeRegex) { return true } return false } -// SetPaymentMethodTaxable gets a reference to the given interface{} and assigns it to the PaymentMethodTaxable field. -func (o *POSTTaxRules201ResponseDataAttributes) SetPaymentMethodTaxable(v interface{}) { - o.PaymentMethodTaxable = v +// SetNotStateCodeRegex gets a reference to the given interface{} and assigns it to the NotStateCodeRegex field. +func (o *POSTTaxRules201ResponseDataAttributes) SetNotStateCodeRegex(v interface{}) { + o.NotStateCodeRegex = v } -// GetGiftCardTaxable returns the GiftCardTaxable field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *POSTTaxRules201ResponseDataAttributes) GetGiftCardTaxable() interface{} { +// GetZipCodeRegex returns the ZipCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTTaxRules201ResponseDataAttributes) GetZipCodeRegex() interface{} { if o == nil { var ret interface{} return ret } - return o.GiftCardTaxable + return o.ZipCodeRegex } -// GetGiftCardTaxableOk returns a tuple with the GiftCardTaxable field value if set, nil otherwise +// GetZipCodeRegexOk returns a tuple with the ZipCodeRegex field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *POSTTaxRules201ResponseDataAttributes) GetGiftCardTaxableOk() (*interface{}, bool) { - if o == nil || IsNil(o.GiftCardTaxable) { +func (o *POSTTaxRules201ResponseDataAttributes) GetZipCodeRegexOk() (*interface{}, bool) { + if o == nil || IsNil(o.ZipCodeRegex) { return nil, false } - return &o.GiftCardTaxable, true + return &o.ZipCodeRegex, true } -// HasGiftCardTaxable returns a boolean if a field has been set. -func (o *POSTTaxRules201ResponseDataAttributes) HasGiftCardTaxable() bool { - if o != nil && IsNil(o.GiftCardTaxable) { +// HasZipCodeRegex returns a boolean if a field has been set. +func (o *POSTTaxRules201ResponseDataAttributes) HasZipCodeRegex() bool { + if o != nil && IsNil(o.ZipCodeRegex) { return true } return false } -// SetGiftCardTaxable gets a reference to the given interface{} and assigns it to the GiftCardTaxable field. -func (o *POSTTaxRules201ResponseDataAttributes) SetGiftCardTaxable(v interface{}) { - o.GiftCardTaxable = v +// SetZipCodeRegex gets a reference to the given interface{} and assigns it to the ZipCodeRegex field. +func (o *POSTTaxRules201ResponseDataAttributes) SetZipCodeRegex(v interface{}) { + o.ZipCodeRegex = v } -// GetAdjustmentTaxable returns the AdjustmentTaxable field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *POSTTaxRules201ResponseDataAttributes) GetAdjustmentTaxable() interface{} { +// GetNotZipCodeRegex returns the NotZipCodeRegex field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *POSTTaxRules201ResponseDataAttributes) GetNotZipCodeRegex() interface{} { if o == nil { var ret interface{} return ret } - return o.AdjustmentTaxable + return o.NotZipCodeRegex } -// GetAdjustmentTaxableOk returns a tuple with the AdjustmentTaxable field value if set, nil otherwise +// GetNotZipCodeRegexOk returns a tuple with the NotZipCodeRegex field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *POSTTaxRules201ResponseDataAttributes) GetAdjustmentTaxableOk() (*interface{}, bool) { - if o == nil || IsNil(o.AdjustmentTaxable) { +func (o *POSTTaxRules201ResponseDataAttributes) GetNotZipCodeRegexOk() (*interface{}, bool) { + if o == nil || IsNil(o.NotZipCodeRegex) { return nil, false } - return &o.AdjustmentTaxable, true + return &o.NotZipCodeRegex, true } -// HasAdjustmentTaxable returns a boolean if a field has been set. -func (o *POSTTaxRules201ResponseDataAttributes) HasAdjustmentTaxable() bool { - if o != nil && IsNil(o.AdjustmentTaxable) { +// HasNotZipCodeRegex returns a boolean if a field has been set. +func (o *POSTTaxRules201ResponseDataAttributes) HasNotZipCodeRegex() bool { + if o != nil && IsNil(o.NotZipCodeRegex) { return true } return false } -// SetAdjustmentTaxable gets a reference to the given interface{} and assigns it to the AdjustmentTaxable field. -func (o *POSTTaxRules201ResponseDataAttributes) SetAdjustmentTaxable(v interface{}) { - o.AdjustmentTaxable = v +// SetNotZipCodeRegex gets a reference to the given interface{} and assigns it to the NotZipCodeRegex field. +func (o *POSTTaxRules201ResponseDataAttributes) SetNotZipCodeRegex(v interface{}) { + o.NotZipCodeRegex = v } // GetReference returns the Reference field value if set, zero value otherwise (both if not set or set to explicit null). @@ -574,6 +574,18 @@ func (o POSTTaxRules201ResponseDataAttributes) ToMap() (map[string]interface{}, if o.TaxRate != nil { toSerialize["tax_rate"] = o.TaxRate } + if o.FreightTaxable != nil { + toSerialize["freight_taxable"] = o.FreightTaxable + } + if o.PaymentMethodTaxable != nil { + toSerialize["payment_method_taxable"] = o.PaymentMethodTaxable + } + if o.GiftCardTaxable != nil { + toSerialize["gift_card_taxable"] = o.GiftCardTaxable + } + if o.AdjustmentTaxable != nil { + toSerialize["adjustment_taxable"] = o.AdjustmentTaxable + } if o.CountryCodeRegex != nil { toSerialize["country_code_regex"] = o.CountryCodeRegex } @@ -592,18 +604,6 @@ func (o POSTTaxRules201ResponseDataAttributes) ToMap() (map[string]interface{}, if o.NotZipCodeRegex != nil { toSerialize["not_zip_code_regex"] = o.NotZipCodeRegex } - if o.FreightTaxable != nil { - toSerialize["freight_taxable"] = o.FreightTaxable - } - if o.PaymentMethodTaxable != nil { - toSerialize["payment_method_taxable"] = o.PaymentMethodTaxable - } - if o.GiftCardTaxable != nil { - toSerialize["gift_card_taxable"] = o.GiftCardTaxable - } - if o.AdjustmentTaxable != nil { - toSerialize["adjustment_taxable"] = o.AdjustmentTaxable - } if o.Reference != nil { toSerialize["reference"] = o.Reference } diff --git a/api/model_post_tax_rules_201_response_data_relationships.go b/api/model_post_tax_rules_201_response_data_relationships.go index 2666646a2..28c6797e2 100644 --- a/api/model_post_tax_rules_201_response_data_relationships.go +++ b/api/model_post_tax_rules_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_tax_rules_201_response_data_relationships_manual_tax_calculator.go b/api/model_post_tax_rules_201_response_data_relationships_manual_tax_calculator.go index a680490e7..a4e2a65c0 100644 --- a/api/model_post_tax_rules_201_response_data_relationships_manual_tax_calculator.go +++ b/api/model_post_tax_rules_201_response_data_relationships_manual_tax_calculator.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_tax_rules_201_response_data_relationships_manual_tax_calculator_data.go b/api/model_post_tax_rules_201_response_data_relationships_manual_tax_calculator_data.go index aa8ce024b..7c13ba222 100644 --- a/api/model_post_tax_rules_201_response_data_relationships_manual_tax_calculator_data.go +++ b/api/model_post_tax_rules_201_response_data_relationships_manual_tax_calculator_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_taxjar_accounts_201_response.go b/api/model_post_taxjar_accounts_201_response.go index c0cf3dde0..db8ca41e2 100644 --- a/api/model_post_taxjar_accounts_201_response.go +++ b/api/model_post_taxjar_accounts_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_taxjar_accounts_201_response_data.go b/api/model_post_taxjar_accounts_201_response_data.go index 65808d97e..5f84d65de 100644 --- a/api/model_post_taxjar_accounts_201_response_data.go +++ b/api/model_post_taxjar_accounts_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_taxjar_accounts_201_response_data_attributes.go b/api/model_post_taxjar_accounts_201_response_data_attributes.go index 54e88ac22..d69449657 100644 --- a/api/model_post_taxjar_accounts_201_response_data_attributes.go +++ b/api/model_post_taxjar_accounts_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_taxjar_accounts_201_response_data_relationships.go b/api/model_post_taxjar_accounts_201_response_data_relationships.go index 1d5e372b0..02e950cfc 100644 --- a/api/model_post_taxjar_accounts_201_response_data_relationships.go +++ b/api/model_post_taxjar_accounts_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_webhooks_201_response.go b/api/model_post_webhooks_201_response.go index 9fd89da5f..b931f9a51 100644 --- a/api/model_post_webhooks_201_response.go +++ b/api/model_post_webhooks_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_webhooks_201_response_data.go b/api/model_post_webhooks_201_response_data.go index 8cdf33534..45c35066d 100644 --- a/api/model_post_webhooks_201_response_data.go +++ b/api/model_post_webhooks_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_webhooks_201_response_data_attributes.go b/api/model_post_webhooks_201_response_data_attributes.go index e2460bc05..914495691 100644 --- a/api/model_post_webhooks_201_response_data_attributes.go +++ b/api/model_post_webhooks_201_response_data_attributes.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_webhooks_201_response_data_relationships.go b/api/model_post_webhooks_201_response_data_relationships.go index 070e0a358..cfe9b5f59 100644 --- a/api/model_post_webhooks_201_response_data_relationships.go +++ b/api/model_post_webhooks_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_wire_transfers_201_response.go b/api/model_post_wire_transfers_201_response.go index 8de81de7f..0597d2cb9 100644 --- a/api/model_post_wire_transfers_201_response.go +++ b/api/model_post_wire_transfers_201_response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_wire_transfers_201_response_data.go b/api/model_post_wire_transfers_201_response_data.go index aa41e16b8..2ce5575bd 100644 --- a/api/model_post_wire_transfers_201_response_data.go +++ b/api/model_post_wire_transfers_201_response_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_post_wire_transfers_201_response_data_relationships.go b/api/model_post_wire_transfers_201_response_data_relationships.go index 7afc068ef..f4d9314f2 100644 --- a/api/model_post_wire_transfers_201_response_data_relationships.go +++ b/api/model_post_wire_transfers_201_response_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price.go b/api/model_price.go index 43740fa06..f7536ae3a 100644 --- a/api/model_price.go +++ b/api/model_price.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_create.go b/api/model_price_create.go index 2013da05f..cd5666052 100644 --- a/api/model_price_create.go +++ b/api/model_price_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_create_data.go b/api/model_price_create_data.go index a70f38dfd..7ca7be41c 100644 --- a/api/model_price_create_data.go +++ b/api/model_price_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_create_data_relationships.go b/api/model_price_create_data_relationships.go index 6b7e59c5b..93a45e76c 100644 --- a/api/model_price_create_data_relationships.go +++ b/api/model_price_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_create_data_relationships_price_tiers.go b/api/model_price_create_data_relationships_price_tiers.go index fe5f05f82..8e8e11088 100644 --- a/api/model_price_create_data_relationships_price_tiers.go +++ b/api/model_price_create_data_relationships_price_tiers.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_data.go b/api/model_price_data.go index 32c79a64b..b556683fd 100644 --- a/api/model_price_data.go +++ b/api/model_price_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_data_relationships.go b/api/model_price_data_relationships.go index 489911e32..f2b2410a1 100644 --- a/api/model_price_data_relationships.go +++ b/api/model_price_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_data_relationships_price_frequency_tiers.go b/api/model_price_data_relationships_price_frequency_tiers.go index 84e6d65b4..70d947704 100644 --- a/api/model_price_data_relationships_price_frequency_tiers.go +++ b/api/model_price_data_relationships_price_frequency_tiers.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_data_relationships_price_frequency_tiers_data.go b/api/model_price_data_relationships_price_frequency_tiers_data.go index feb7ab6fe..ff945e490 100644 --- a/api/model_price_data_relationships_price_frequency_tiers_data.go +++ b/api/model_price_data_relationships_price_frequency_tiers_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_data_relationships_price_tiers.go b/api/model_price_data_relationships_price_tiers.go index 8ae634741..df167f0ca 100644 --- a/api/model_price_data_relationships_price_tiers.go +++ b/api/model_price_data_relationships_price_tiers.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_data_relationships_price_tiers_data.go b/api/model_price_data_relationships_price_tiers_data.go index 39f94415e..eea251217 100644 --- a/api/model_price_data_relationships_price_tiers_data.go +++ b/api/model_price_data_relationships_price_tiers_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_data_relationships_price_volume_tiers.go b/api/model_price_data_relationships_price_volume_tiers.go index ef77e6690..2bff0a19b 100644 --- a/api/model_price_data_relationships_price_volume_tiers.go +++ b/api/model_price_data_relationships_price_volume_tiers.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_data_relationships_price_volume_tiers_data.go b/api/model_price_data_relationships_price_volume_tiers_data.go index b80890a6d..da90e5fa9 100644 --- a/api/model_price_data_relationships_price_volume_tiers_data.go +++ b/api/model_price_data_relationships_price_volume_tiers_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_frequency_tier.go b/api/model_price_frequency_tier.go index cc006e446..4ba8bdd04 100644 --- a/api/model_price_frequency_tier.go +++ b/api/model_price_frequency_tier.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_frequency_tier_create.go b/api/model_price_frequency_tier_create.go index 69f13daab..737798896 100644 --- a/api/model_price_frequency_tier_create.go +++ b/api/model_price_frequency_tier_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_frequency_tier_create_data.go b/api/model_price_frequency_tier_create_data.go index 316c71cfd..5ede1405b 100644 --- a/api/model_price_frequency_tier_create_data.go +++ b/api/model_price_frequency_tier_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_frequency_tier_create_data_relationships.go b/api/model_price_frequency_tier_create_data_relationships.go index c19ce672a..72324d2e0 100644 --- a/api/model_price_frequency_tier_create_data_relationships.go +++ b/api/model_price_frequency_tier_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_frequency_tier_create_data_relationships_price.go b/api/model_price_frequency_tier_create_data_relationships_price.go index 962111c65..56ddc72ad 100644 --- a/api/model_price_frequency_tier_create_data_relationships_price.go +++ b/api/model_price_frequency_tier_create_data_relationships_price.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_frequency_tier_data.go b/api/model_price_frequency_tier_data.go index c39e35eb8..9bdd28733 100644 --- a/api/model_price_frequency_tier_data.go +++ b/api/model_price_frequency_tier_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_frequency_tier_data_relationships.go b/api/model_price_frequency_tier_data_relationships.go index f1e25151d..14ebd682c 100644 --- a/api/model_price_frequency_tier_data_relationships.go +++ b/api/model_price_frequency_tier_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_frequency_tier_data_relationships_price.go b/api/model_price_frequency_tier_data_relationships_price.go index 81f3290f7..fd235d5df 100644 --- a/api/model_price_frequency_tier_data_relationships_price.go +++ b/api/model_price_frequency_tier_data_relationships_price.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_frequency_tier_data_relationships_price_data.go b/api/model_price_frequency_tier_data_relationships_price_data.go index bf0f74207..b79330770 100644 --- a/api/model_price_frequency_tier_data_relationships_price_data.go +++ b/api/model_price_frequency_tier_data_relationships_price_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_frequency_tier_update.go b/api/model_price_frequency_tier_update.go index 959ca9842..7f879b721 100644 --- a/api/model_price_frequency_tier_update.go +++ b/api/model_price_frequency_tier_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_frequency_tier_update_data.go b/api/model_price_frequency_tier_update_data.go index b511e121c..f0cfed6bf 100644 --- a/api/model_price_frequency_tier_update_data.go +++ b/api/model_price_frequency_tier_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_frequency_tier_update_data_relationships.go b/api/model_price_frequency_tier_update_data_relationships.go index a1397a2d7..a707699ee 100644 --- a/api/model_price_frequency_tier_update_data_relationships.go +++ b/api/model_price_frequency_tier_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_list.go b/api/model_price_list.go index 2691c56a6..2740c4895 100644 --- a/api/model_price_list.go +++ b/api/model_price_list.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_list_create.go b/api/model_price_list_create.go index 23a66034c..5f36ff523 100644 --- a/api/model_price_list_create.go +++ b/api/model_price_list_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_list_create_data.go b/api/model_price_list_create_data.go index 3857e101c..7be37cdd9 100644 --- a/api/model_price_list_create_data.go +++ b/api/model_price_list_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_list_data.go b/api/model_price_list_data.go index 628396e33..9e7f0898b 100644 --- a/api/model_price_list_data.go +++ b/api/model_price_list_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_list_data_relationships.go b/api/model_price_list_data_relationships.go index 7331cf3e5..95a7627e3 100644 --- a/api/model_price_list_data_relationships.go +++ b/api/model_price_list_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_list_scheduler.go b/api/model_price_list_scheduler.go index 9fda503d5..ef4004d0c 100644 --- a/api/model_price_list_scheduler.go +++ b/api/model_price_list_scheduler.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_list_scheduler_create.go b/api/model_price_list_scheduler_create.go index 7d336189f..bf0fe9358 100644 --- a/api/model_price_list_scheduler_create.go +++ b/api/model_price_list_scheduler_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_list_scheduler_create_data.go b/api/model_price_list_scheduler_create_data.go index ed4e4435f..8455d8be2 100644 --- a/api/model_price_list_scheduler_create_data.go +++ b/api/model_price_list_scheduler_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_list_scheduler_create_data_relationships.go b/api/model_price_list_scheduler_create_data_relationships.go index 0cef86a05..3c9ad1d5b 100644 --- a/api/model_price_list_scheduler_create_data_relationships.go +++ b/api/model_price_list_scheduler_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,15 +20,15 @@ var _ MappedNullable = &PriceListSchedulerCreateDataRelationships{} // PriceListSchedulerCreateDataRelationships struct for PriceListSchedulerCreateDataRelationships type PriceListSchedulerCreateDataRelationships struct { - Market BillingInfoValidationRuleCreateDataRelationshipsMarket `json:"market"` - PriceList MarketCreateDataRelationshipsPriceList `json:"price_list"` + Market BundleCreateDataRelationshipsMarket `json:"market"` + PriceList MarketCreateDataRelationshipsPriceList `json:"price_list"` } // NewPriceListSchedulerCreateDataRelationships instantiates a new PriceListSchedulerCreateDataRelationships object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewPriceListSchedulerCreateDataRelationships(market BillingInfoValidationRuleCreateDataRelationshipsMarket, priceList MarketCreateDataRelationshipsPriceList) *PriceListSchedulerCreateDataRelationships { +func NewPriceListSchedulerCreateDataRelationships(market BundleCreateDataRelationshipsMarket, priceList MarketCreateDataRelationshipsPriceList) *PriceListSchedulerCreateDataRelationships { this := PriceListSchedulerCreateDataRelationships{} this.Market = market this.PriceList = priceList @@ -44,9 +44,9 @@ func NewPriceListSchedulerCreateDataRelationshipsWithDefaults() *PriceListSchedu } // GetMarket returns the Market field value -func (o *PriceListSchedulerCreateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket { +func (o *PriceListSchedulerCreateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket { if o == nil { - var ret BillingInfoValidationRuleCreateDataRelationshipsMarket + var ret BundleCreateDataRelationshipsMarket return ret } @@ -55,7 +55,7 @@ func (o *PriceListSchedulerCreateDataRelationships) GetMarket() BillingInfoValid // GetMarketOk returns a tuple with the Market field value // and a boolean to check if the value has been set. -func (o *PriceListSchedulerCreateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool) { +func (o *PriceListSchedulerCreateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool) { if o == nil { return nil, false } @@ -63,7 +63,7 @@ func (o *PriceListSchedulerCreateDataRelationships) GetMarketOk() (*BillingInfoV } // SetMarket sets field value -func (o *PriceListSchedulerCreateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket) { +func (o *PriceListSchedulerCreateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket) { o.Market = v } diff --git a/api/model_price_list_scheduler_data.go b/api/model_price_list_scheduler_data.go index 17739f059..e2fd0ffe6 100644 --- a/api/model_price_list_scheduler_data.go +++ b/api/model_price_list_scheduler_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_list_scheduler_data_relationships.go b/api/model_price_list_scheduler_data_relationships.go index 85a6420f2..844e396f8 100644 --- a/api/model_price_list_scheduler_data_relationships.go +++ b/api/model_price_list_scheduler_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_list_scheduler_update.go b/api/model_price_list_scheduler_update.go index 28b5d77e5..5118c95ee 100644 --- a/api/model_price_list_scheduler_update.go +++ b/api/model_price_list_scheduler_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_list_scheduler_update_data.go b/api/model_price_list_scheduler_update_data.go index 6240fa54a..53ff610d5 100644 --- a/api/model_price_list_scheduler_update_data.go +++ b/api/model_price_list_scheduler_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_list_scheduler_update_data_relationships.go b/api/model_price_list_scheduler_update_data_relationships.go index f796cd315..b465180c1 100644 --- a/api/model_price_list_scheduler_update_data_relationships.go +++ b/api/model_price_list_scheduler_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,8 +20,8 @@ var _ MappedNullable = &PriceListSchedulerUpdateDataRelationships{} // PriceListSchedulerUpdateDataRelationships struct for PriceListSchedulerUpdateDataRelationships type PriceListSchedulerUpdateDataRelationships struct { - Market *BillingInfoValidationRuleCreateDataRelationshipsMarket `json:"market,omitempty"` - PriceList *MarketCreateDataRelationshipsPriceList `json:"price_list,omitempty"` + Market *BundleCreateDataRelationshipsMarket `json:"market,omitempty"` + PriceList *MarketCreateDataRelationshipsPriceList `json:"price_list,omitempty"` } // NewPriceListSchedulerUpdateDataRelationships instantiates a new PriceListSchedulerUpdateDataRelationships object @@ -42,9 +42,9 @@ func NewPriceListSchedulerUpdateDataRelationshipsWithDefaults() *PriceListSchedu } // GetMarket returns the Market field value if set, zero value otherwise. -func (o *PriceListSchedulerUpdateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket { +func (o *PriceListSchedulerUpdateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket { if o == nil || IsNil(o.Market) { - var ret BillingInfoValidationRuleCreateDataRelationshipsMarket + var ret BundleCreateDataRelationshipsMarket return ret } return *o.Market @@ -52,7 +52,7 @@ func (o *PriceListSchedulerUpdateDataRelationships) GetMarket() BillingInfoValid // GetMarketOk returns a tuple with the Market field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PriceListSchedulerUpdateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool) { +func (o *PriceListSchedulerUpdateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool) { if o == nil || IsNil(o.Market) { return nil, false } @@ -68,8 +68,8 @@ func (o *PriceListSchedulerUpdateDataRelationships) HasMarket() bool { return false } -// SetMarket gets a reference to the given BillingInfoValidationRuleCreateDataRelationshipsMarket and assigns it to the Market field. -func (o *PriceListSchedulerUpdateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket) { +// SetMarket gets a reference to the given BundleCreateDataRelationshipsMarket and assigns it to the Market field. +func (o *PriceListSchedulerUpdateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket) { o.Market = &v } diff --git a/api/model_price_list_update.go b/api/model_price_list_update.go index b9bb8dca1..9dfb34939 100644 --- a/api/model_price_list_update.go +++ b/api/model_price_list_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_list_update_data.go b/api/model_price_list_update_data.go index f0ae87ad5..47480280e 100644 --- a/api/model_price_list_update_data.go +++ b/api/model_price_list_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_tier.go b/api/model_price_tier.go index 00cbbdd20..e3f559f9c 100644 --- a/api/model_price_tier.go +++ b/api/model_price_tier.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_tier_data.go b/api/model_price_tier_data.go index e6f421577..f762c970e 100644 --- a/api/model_price_tier_data.go +++ b/api/model_price_tier_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_tier_data_relationships.go b/api/model_price_tier_data_relationships.go index 16230b8d1..72e1b7876 100644 --- a/api/model_price_tier_data_relationships.go +++ b/api/model_price_tier_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_update.go b/api/model_price_update.go index 1252c1d80..c6fc2875f 100644 --- a/api/model_price_update.go +++ b/api/model_price_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_update_data.go b/api/model_price_update_data.go index 8e95fdce9..54922bcf9 100644 --- a/api/model_price_update_data.go +++ b/api/model_price_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_update_data_relationships.go b/api/model_price_update_data_relationships.go index 40524e9f6..0993adef2 100644 --- a/api/model_price_update_data_relationships.go +++ b/api/model_price_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_volume_tier.go b/api/model_price_volume_tier.go index 37cf763a7..0fb43b644 100644 --- a/api/model_price_volume_tier.go +++ b/api/model_price_volume_tier.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_volume_tier_create.go b/api/model_price_volume_tier_create.go index 5ea62dbab..dd4ebc118 100644 --- a/api/model_price_volume_tier_create.go +++ b/api/model_price_volume_tier_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_volume_tier_create_data.go b/api/model_price_volume_tier_create_data.go index 0084d8b43..5e7d174e3 100644 --- a/api/model_price_volume_tier_create_data.go +++ b/api/model_price_volume_tier_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_volume_tier_data.go b/api/model_price_volume_tier_data.go index 241ae4349..488a9e9c7 100644 --- a/api/model_price_volume_tier_data.go +++ b/api/model_price_volume_tier_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_volume_tier_update.go b/api/model_price_volume_tier_update.go index 2392e16a7..3b32d30c6 100644 --- a/api/model_price_volume_tier_update.go +++ b/api/model_price_volume_tier_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_price_volume_tier_update_data.go b/api/model_price_volume_tier_update_data.go index 4429d60fd..ec3511118 100644 --- a/api/model_price_volume_tier_update_data.go +++ b/api/model_price_volume_tier_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_promotion.go b/api/model_promotion.go index 15fd8e79e..bc17397d9 100644 --- a/api/model_promotion.go +++ b/api/model_promotion.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_promotion_data.go b/api/model_promotion_data.go index 1d812bfc5..596eca175 100644 --- a/api/model_promotion_data.go +++ b/api/model_promotion_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_promotion_rule.go b/api/model_promotion_rule.go index cb14ba97b..020ade826 100644 --- a/api/model_promotion_rule.go +++ b/api/model_promotion_rule.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_promotion_rule_data.go b/api/model_promotion_rule_data.go index 259a4d4e8..06057940c 100644 --- a/api/model_promotion_rule_data.go +++ b/api/model_promotion_rule_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_recurring_order_copy.go b/api/model_recurring_order_copy.go index 52b1502d1..afa05d4bd 100644 --- a/api/model_recurring_order_copy.go +++ b/api/model_recurring_order_copy.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_recurring_order_copy_create.go b/api/model_recurring_order_copy_create.go index f5c219400..99219b61f 100644 --- a/api/model_recurring_order_copy_create.go +++ b/api/model_recurring_order_copy_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_recurring_order_copy_create_data.go b/api/model_recurring_order_copy_create_data.go index 7d768785b..f816ba80d 100644 --- a/api/model_recurring_order_copy_create_data.go +++ b/api/model_recurring_order_copy_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_recurring_order_copy_create_data_relationships.go b/api/model_recurring_order_copy_create_data_relationships.go index 2063f36be..0af2f0870 100644 --- a/api/model_recurring_order_copy_create_data_relationships.go +++ b/api/model_recurring_order_copy_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_recurring_order_copy_data.go b/api/model_recurring_order_copy_data.go index aa92a801f..37ae24d8e 100644 --- a/api/model_recurring_order_copy_data.go +++ b/api/model_recurring_order_copy_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_recurring_order_copy_update.go b/api/model_recurring_order_copy_update.go index 3f9048fd4..95db41421 100644 --- a/api/model_recurring_order_copy_update.go +++ b/api/model_recurring_order_copy_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_recurring_order_copy_update_data.go b/api/model_recurring_order_copy_update_data.go index ff78b20bd..d56967d83 100644 --- a/api/model_recurring_order_copy_update_data.go +++ b/api/model_recurring_order_copy_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -23,16 +23,16 @@ type RecurringOrderCopyUpdateData struct { // The resource's type Type interface{} `json:"type"` // The resource's id - Id interface{} `json:"id"` - Attributes PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes `json:"attributes"` - Relationships interface{} `json:"relationships,omitempty"` + Id interface{} `json:"id"` + Attributes PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes `json:"attributes"` + Relationships interface{} `json:"relationships,omitempty"` } // NewRecurringOrderCopyUpdateData instantiates a new RecurringOrderCopyUpdateData object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewRecurringOrderCopyUpdateData(type_ interface{}, id interface{}, attributes PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) *RecurringOrderCopyUpdateData { +func NewRecurringOrderCopyUpdateData(type_ interface{}, id interface{}, attributes PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) *RecurringOrderCopyUpdateData { this := RecurringOrderCopyUpdateData{} this.Type = type_ this.Id = id @@ -101,9 +101,9 @@ func (o *RecurringOrderCopyUpdateData) SetId(v interface{}) { } // GetAttributes returns the Attributes field value -func (o *RecurringOrderCopyUpdateData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes { +func (o *RecurringOrderCopyUpdateData) GetAttributes() PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes { if o == nil { - var ret PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes + var ret PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes return ret } @@ -112,7 +112,7 @@ func (o *RecurringOrderCopyUpdateData) GetAttributes() PATCHBillingInfoValidatio // GetAttributesOk returns a tuple with the Attributes field value // and a boolean to check if the value has been set. -func (o *RecurringOrderCopyUpdateData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool) { +func (o *RecurringOrderCopyUpdateData) GetAttributesOk() (*PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes, bool) { if o == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *RecurringOrderCopyUpdateData) GetAttributesOk() (*PATCHBillingInfoValid } // SetAttributes sets field value -func (o *RecurringOrderCopyUpdateData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) { +func (o *RecurringOrderCopyUpdateData) SetAttributes(v PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) { o.Attributes = v } diff --git a/api/model_refund.go b/api/model_refund.go index 052821c5d..42bafc9d5 100644 --- a/api/model_refund.go +++ b/api/model_refund.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_refund_data.go b/api/model_refund_data.go index 95a91cb24..242163a4d 100644 --- a/api/model_refund_data.go +++ b/api/model_refund_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_refund_data_relationships.go b/api/model_refund_data_relationships.go index 79a31f1c6..90961748d 100644 --- a/api/model_refund_data_relationships.go +++ b/api/model_refund_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,12 +20,13 @@ var _ MappedNullable = &RefundDataRelationships{} // RefundDataRelationships struct for RefundDataRelationships type RefundDataRelationships struct { - Order *AdyenPaymentDataRelationshipsOrder `json:"order,omitempty"` - Attachments *AuthorizationDataRelationshipsAttachments `json:"attachments,omitempty"` - Events *AddressDataRelationshipsEvents `json:"events,omitempty"` - Versions *AddressDataRelationshipsVersions `json:"versions,omitempty"` - ReferenceCapture *AuthorizationDataRelationshipsCaptures `json:"reference_capture,omitempty"` - Return *CaptureDataRelationshipsReturn `json:"return,omitempty"` + Order *AdyenPaymentDataRelationshipsOrder `json:"order,omitempty"` + PaymentSource *AuthorizationDataRelationshipsPaymentSource `json:"payment_source,omitempty"` + Attachments *AuthorizationDataRelationshipsAttachments `json:"attachments,omitempty"` + Events *AddressDataRelationshipsEvents `json:"events,omitempty"` + Versions *AddressDataRelationshipsVersions `json:"versions,omitempty"` + ReferenceCapture *AuthorizationDataRelationshipsCaptures `json:"reference_capture,omitempty"` + Return *CaptureDataRelationshipsReturn `json:"return,omitempty"` } // NewRefundDataRelationships instantiates a new RefundDataRelationships object @@ -77,6 +78,38 @@ func (o *RefundDataRelationships) SetOrder(v AdyenPaymentDataRelationshipsOrder) o.Order = &v } +// GetPaymentSource returns the PaymentSource field value if set, zero value otherwise. +func (o *RefundDataRelationships) GetPaymentSource() AuthorizationDataRelationshipsPaymentSource { + if o == nil || IsNil(o.PaymentSource) { + var ret AuthorizationDataRelationshipsPaymentSource + return ret + } + return *o.PaymentSource +} + +// GetPaymentSourceOk returns a tuple with the PaymentSource field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RefundDataRelationships) GetPaymentSourceOk() (*AuthorizationDataRelationshipsPaymentSource, bool) { + if o == nil || IsNil(o.PaymentSource) { + return nil, false + } + return o.PaymentSource, true +} + +// HasPaymentSource returns a boolean if a field has been set. +func (o *RefundDataRelationships) HasPaymentSource() bool { + if o != nil && !IsNil(o.PaymentSource) { + return true + } + + return false +} + +// SetPaymentSource gets a reference to the given AuthorizationDataRelationshipsPaymentSource and assigns it to the PaymentSource field. +func (o *RefundDataRelationships) SetPaymentSource(v AuthorizationDataRelationshipsPaymentSource) { + o.PaymentSource = &v +} + // GetAttachments returns the Attachments field value if set, zero value otherwise. func (o *RefundDataRelationships) GetAttachments() AuthorizationDataRelationshipsAttachments { if o == nil || IsNil(o.Attachments) { @@ -250,6 +283,9 @@ func (o RefundDataRelationships) ToMap() (map[string]interface{}, error) { if !IsNil(o.Order) { toSerialize["order"] = o.Order } + if !IsNil(o.PaymentSource) { + toSerialize["payment_source"] = o.PaymentSource + } if !IsNil(o.Attachments) { toSerialize["attachments"] = o.Attachments } diff --git a/api/model_refund_update.go b/api/model_refund_update.go index 1c3643213..6b0fbcba5 100644 --- a/api/model_refund_update.go +++ b/api/model_refund_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_refund_update_data.go b/api/model_refund_update_data.go index 267e2f7e4..95c7537f2 100644 --- a/api/model_refund_update_data.go +++ b/api/model_refund_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_reserved_stock.go b/api/model_reserved_stock.go index 0b61288cb..5739a0d30 100644 --- a/api/model_reserved_stock.go +++ b/api/model_reserved_stock.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_reserved_stock_data.go b/api/model_reserved_stock_data.go index 24a5ac1cf..dfd2bc6af 100644 --- a/api/model_reserved_stock_data.go +++ b/api/model_reserved_stock_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_reserved_stock_data_relationships.go b/api/model_reserved_stock_data_relationships.go index e6b13d886..0cff5db6e 100644 --- a/api/model_reserved_stock_data_relationships.go +++ b/api/model_reserved_stock_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_reserved_stock_data_relationships_stock_item.go b/api/model_reserved_stock_data_relationships_stock_item.go index f4cabc7c9..03a008b91 100644 --- a/api/model_reserved_stock_data_relationships_stock_item.go +++ b/api/model_reserved_stock_data_relationships_stock_item.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_reserved_stock_data_relationships_stock_item_data.go b/api/model_reserved_stock_data_relationships_stock_item_data.go index 1279172dd..2defd728b 100644 --- a/api/model_reserved_stock_data_relationships_stock_item_data.go +++ b/api/model_reserved_stock_data_relationships_stock_item_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_resource_error.go b/api/model_resource_error.go index 47c883918..6d3119774 100644 --- a/api/model_resource_error.go +++ b/api/model_resource_error.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_resource_error_data.go b/api/model_resource_error_data.go index 3660ed781..58a3ce888 100644 --- a/api/model_resource_error_data.go +++ b/api/model_resource_error_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_resource_error_data_relationships.go b/api/model_resource_error_data_relationships.go index 60a7882a3..28be4feb3 100644 --- a/api/model_resource_error_data_relationships.go +++ b/api/model_resource_error_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_resource_error_data_relationships_resource.go b/api/model_resource_error_data_relationships_resource.go index 13939134c..396a410f1 100644 --- a/api/model_resource_error_data_relationships_resource.go +++ b/api/model_resource_error_data_relationships_resource.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_resource_error_data_relationships_resource_data.go b/api/model_resource_error_data_relationships_resource_data.go index f2d7b188e..d87779e82 100644 --- a/api/model_resource_error_data_relationships_resource_data.go +++ b/api/model_resource_error_data_relationships_resource_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_return.go b/api/model_return.go index a7ea8d878..2201e38d6 100644 --- a/api/model_return.go +++ b/api/model_return.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_return_create.go b/api/model_return_create.go index b6f023e9b..13bec49b2 100644 --- a/api/model_return_create.go +++ b/api/model_return_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_return_create_data.go b/api/model_return_create_data.go index 2df7e9012..6b45afd76 100644 --- a/api/model_return_create_data.go +++ b/api/model_return_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_return_create_data_relationships.go b/api/model_return_create_data_relationships.go index 2635108da..2bd20a585 100644 --- a/api/model_return_create_data_relationships.go +++ b/api/model_return_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_return_create_data_relationships_reference_capture.go b/api/model_return_create_data_relationships_reference_capture.go index 607900367..449e0d67e 100644 --- a/api/model_return_create_data_relationships_reference_capture.go +++ b/api/model_return_create_data_relationships_reference_capture.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_return_data.go b/api/model_return_data.go index 91c64bc74..74b1b77f0 100644 --- a/api/model_return_data.go +++ b/api/model_return_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_return_data_relationships.go b/api/model_return_data_relationships.go index 7a6af17be..257e7ce42 100644 --- a/api/model_return_data_relationships.go +++ b/api/model_return_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_return_line_item.go b/api/model_return_line_item.go index 73ed26089..d90af9edb 100644 --- a/api/model_return_line_item.go +++ b/api/model_return_line_item.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_return_line_item_create.go b/api/model_return_line_item_create.go index f78abd6f9..65de7f7a6 100644 --- a/api/model_return_line_item_create.go +++ b/api/model_return_line_item_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_return_line_item_create_data.go b/api/model_return_line_item_create_data.go index 817926ba8..0245bb40c 100644 --- a/api/model_return_line_item_create_data.go +++ b/api/model_return_line_item_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_return_line_item_create_data_relationships.go b/api/model_return_line_item_create_data_relationships.go index 657929e93..047fcf001 100644 --- a/api/model_return_line_item_create_data_relationships.go +++ b/api/model_return_line_item_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_return_line_item_create_data_relationships_return.go b/api/model_return_line_item_create_data_relationships_return.go index cedeebaad..c31f7b4aa 100644 --- a/api/model_return_line_item_create_data_relationships_return.go +++ b/api/model_return_line_item_create_data_relationships_return.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_return_line_item_data.go b/api/model_return_line_item_data.go index 104c8af4b..dd79bab96 100644 --- a/api/model_return_line_item_data.go +++ b/api/model_return_line_item_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_return_line_item_data_relationships.go b/api/model_return_line_item_data_relationships.go index 31eb3b8b8..b3aa16e7f 100644 --- a/api/model_return_line_item_data_relationships.go +++ b/api/model_return_line_item_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_return_line_item_update.go b/api/model_return_line_item_update.go index 4cca3d7d3..b2b2f634e 100644 --- a/api/model_return_line_item_update.go +++ b/api/model_return_line_item_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_return_line_item_update_data.go b/api/model_return_line_item_update_data.go index b57920b47..d52352d1e 100644 --- a/api/model_return_line_item_update_data.go +++ b/api/model_return_line_item_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_return_update.go b/api/model_return_update.go index def2bbe5c..904553003 100644 --- a/api/model_return_update.go +++ b/api/model_return_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_return_update_data.go b/api/model_return_update_data.go index 77ca654bb..a85108296 100644 --- a/api/model_return_update_data.go +++ b/api/model_return_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_return_update_data_relationships.go b/api/model_return_update_data_relationships.go index 59f2e231c..50960c077 100644 --- a/api/model_return_update_data_relationships.go +++ b/api/model_return_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_satispay_gateway.go b/api/model_satispay_gateway.go index a9090fc13..7b51b2e36 100644 --- a/api/model_satispay_gateway.go +++ b/api/model_satispay_gateway.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_satispay_gateway_create.go b/api/model_satispay_gateway_create.go index 61f4b34fd..6149f8936 100644 --- a/api/model_satispay_gateway_create.go +++ b/api/model_satispay_gateway_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_satispay_gateway_create_data.go b/api/model_satispay_gateway_create_data.go index 9061e971a..5f170cccc 100644 --- a/api/model_satispay_gateway_create_data.go +++ b/api/model_satispay_gateway_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_satispay_gateway_create_data_relationships.go b/api/model_satispay_gateway_create_data_relationships.go index 01f2e3ded..97f0c90f7 100644 --- a/api/model_satispay_gateway_create_data_relationships.go +++ b/api/model_satispay_gateway_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_satispay_gateway_create_data_relationships_satispay_payments.go b/api/model_satispay_gateway_create_data_relationships_satispay_payments.go index 32c7125a3..e99d55b35 100644 --- a/api/model_satispay_gateway_create_data_relationships_satispay_payments.go +++ b/api/model_satispay_gateway_create_data_relationships_satispay_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_satispay_gateway_data.go b/api/model_satispay_gateway_data.go index 1f6bc4e87..d1aaad94a 100644 --- a/api/model_satispay_gateway_data.go +++ b/api/model_satispay_gateway_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_satispay_gateway_data_relationships.go b/api/model_satispay_gateway_data_relationships.go index 2945a0f14..4a4d619c8 100644 --- a/api/model_satispay_gateway_data_relationships.go +++ b/api/model_satispay_gateway_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_satispay_gateway_data_relationships_satispay_payments.go b/api/model_satispay_gateway_data_relationships_satispay_payments.go index 5b1cef644..b7f2641ae 100644 --- a/api/model_satispay_gateway_data_relationships_satispay_payments.go +++ b/api/model_satispay_gateway_data_relationships_satispay_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_satispay_gateway_data_relationships_satispay_payments_data.go b/api/model_satispay_gateway_data_relationships_satispay_payments_data.go index e1df55731..01b1ecacd 100644 --- a/api/model_satispay_gateway_data_relationships_satispay_payments_data.go +++ b/api/model_satispay_gateway_data_relationships_satispay_payments_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_satispay_gateway_update.go b/api/model_satispay_gateway_update.go index 40722186a..97c4caab0 100644 --- a/api/model_satispay_gateway_update.go +++ b/api/model_satispay_gateway_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_satispay_gateway_update_data.go b/api/model_satispay_gateway_update_data.go index 840b9213e..d7bbd2a6c 100644 --- a/api/model_satispay_gateway_update_data.go +++ b/api/model_satispay_gateway_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_satispay_payment.go b/api/model_satispay_payment.go index 790405005..3d99a20f0 100644 --- a/api/model_satispay_payment.go +++ b/api/model_satispay_payment.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_satispay_payment_create.go b/api/model_satispay_payment_create.go index 9855c1792..751d1cde1 100644 --- a/api/model_satispay_payment_create.go +++ b/api/model_satispay_payment_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_satispay_payment_create_data.go b/api/model_satispay_payment_create_data.go index 985078a65..eb3fb82ea 100644 --- a/api/model_satispay_payment_create_data.go +++ b/api/model_satispay_payment_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_satispay_payment_data.go b/api/model_satispay_payment_data.go index 68d639a67..3d7cb9cfa 100644 --- a/api/model_satispay_payment_data.go +++ b/api/model_satispay_payment_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_satispay_payment_update.go b/api/model_satispay_payment_update.go index fabb942fa..f196e64a0 100644 --- a/api/model_satispay_payment_update.go +++ b/api/model_satispay_payment_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_satispay_payment_update_data.go b/api/model_satispay_payment_update_data.go index 99a00d153..d14427a38 100644 --- a/api/model_satispay_payment_update_data.go +++ b/api/model_satispay_payment_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipment.go b/api/model_shipment.go index 38ec505c6..a5dddea7f 100644 --- a/api/model_shipment.go +++ b/api/model_shipment.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipment_create.go b/api/model_shipment_create.go index 6f9ab1f34..1afe9d1ad 100644 --- a/api/model_shipment_create.go +++ b/api/model_shipment_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipment_create_data.go b/api/model_shipment_create_data.go index ee11c3511..0f3470f6d 100644 --- a/api/model_shipment_create_data.go +++ b/api/model_shipment_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipment_create_data_relationships.go b/api/model_shipment_create_data_relationships.go index be5217299..5d724b740 100644 --- a/api/model_shipment_create_data_relationships.go +++ b/api/model_shipment_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipment_create_data_relationships_inventory_stock_location.go b/api/model_shipment_create_data_relationships_inventory_stock_location.go index 9a1bf3e84..982a60d69 100644 --- a/api/model_shipment_create_data_relationships_inventory_stock_location.go +++ b/api/model_shipment_create_data_relationships_inventory_stock_location.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipment_create_data_relationships_shipping_category.go b/api/model_shipment_create_data_relationships_shipping_category.go index 6de8bde1b..3f30ec4a1 100644 --- a/api/model_shipment_create_data_relationships_shipping_category.go +++ b/api/model_shipment_create_data_relationships_shipping_category.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipment_data.go b/api/model_shipment_data.go index 89ab44d63..cfd17a64e 100644 --- a/api/model_shipment_data.go +++ b/api/model_shipment_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipment_data_relationships.go b/api/model_shipment_data_relationships.go index 43ff568e5..23119b3ab 100644 --- a/api/model_shipment_data_relationships.go +++ b/api/model_shipment_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipment_data_relationships_carrier_accounts.go b/api/model_shipment_data_relationships_carrier_accounts.go index acc74bc78..1b43c7d1b 100644 --- a/api/model_shipment_data_relationships_carrier_accounts.go +++ b/api/model_shipment_data_relationships_carrier_accounts.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipment_data_relationships_carrier_accounts_data.go b/api/model_shipment_data_relationships_carrier_accounts_data.go index fd4566866..cc364c6c9 100644 --- a/api/model_shipment_data_relationships_carrier_accounts_data.go +++ b/api/model_shipment_data_relationships_carrier_accounts_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipment_data_relationships_delivery_lead_time.go b/api/model_shipment_data_relationships_delivery_lead_time.go index a16eff382..b90e92a08 100644 --- a/api/model_shipment_data_relationships_delivery_lead_time.go +++ b/api/model_shipment_data_relationships_delivery_lead_time.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipment_data_relationships_delivery_lead_time_data.go b/api/model_shipment_data_relationships_delivery_lead_time_data.go index 2fd334753..bc4f1d63a 100644 --- a/api/model_shipment_data_relationships_delivery_lead_time_data.go +++ b/api/model_shipment_data_relationships_delivery_lead_time_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipment_data_relationships_shipping_category.go b/api/model_shipment_data_relationships_shipping_category.go index 87353efbf..20954f867 100644 --- a/api/model_shipment_data_relationships_shipping_category.go +++ b/api/model_shipment_data_relationships_shipping_category.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipment_data_relationships_shipping_category_data.go b/api/model_shipment_data_relationships_shipping_category_data.go index 56d8e4416..d6df36bdd 100644 --- a/api/model_shipment_data_relationships_shipping_category_data.go +++ b/api/model_shipment_data_relationships_shipping_category_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipment_update.go b/api/model_shipment_update.go index 3d81d7ccd..7279c7fcf 100644 --- a/api/model_shipment_update.go +++ b/api/model_shipment_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipment_update_data.go b/api/model_shipment_update_data.go index ab2e86379..cb6dde641 100644 --- a/api/model_shipment_update_data.go +++ b/api/model_shipment_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipment_update_data_relationships.go b/api/model_shipment_update_data_relationships.go index ebd41f96c..33908c008 100644 --- a/api/model_shipment_update_data_relationships.go +++ b/api/model_shipment_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_category.go b/api/model_shipping_category.go index 6ddb03741..86a40b043 100644 --- a/api/model_shipping_category.go +++ b/api/model_shipping_category.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_category_create.go b/api/model_shipping_category_create.go index 14f605246..344b59095 100644 --- a/api/model_shipping_category_create.go +++ b/api/model_shipping_category_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_category_create_data.go b/api/model_shipping_category_create_data.go index be87e58ed..476085eb3 100644 --- a/api/model_shipping_category_create_data.go +++ b/api/model_shipping_category_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_category_data.go b/api/model_shipping_category_data.go index dd39894d5..37ddb2533 100644 --- a/api/model_shipping_category_data.go +++ b/api/model_shipping_category_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_category_data_relationships.go b/api/model_shipping_category_data_relationships.go index 80534f9c0..2527aa5aa 100644 --- a/api/model_shipping_category_data_relationships.go +++ b/api/model_shipping_category_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_category_update.go b/api/model_shipping_category_update.go index 648c8321b..d57db95c1 100644 --- a/api/model_shipping_category_update.go +++ b/api/model_shipping_category_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_category_update_data.go b/api/model_shipping_category_update_data.go index 2e795bb9b..cd27738db 100644 --- a/api/model_shipping_category_update_data.go +++ b/api/model_shipping_category_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_method.go b/api/model_shipping_method.go index 06ec37a94..6f15e94f1 100644 --- a/api/model_shipping_method.go +++ b/api/model_shipping_method.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_method_create.go b/api/model_shipping_method_create.go index 32cc81735..f57d138db 100644 --- a/api/model_shipping_method_create.go +++ b/api/model_shipping_method_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_method_create_data.go b/api/model_shipping_method_create_data.go index 96c0ec3fa..92cd0ad77 100644 --- a/api/model_shipping_method_create_data.go +++ b/api/model_shipping_method_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_method_create_data_relationships.go b/api/model_shipping_method_create_data_relationships.go index 86374c01c..bf24ddbc3 100644 --- a/api/model_shipping_method_create_data_relationships.go +++ b/api/model_shipping_method_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,7 +20,7 @@ var _ MappedNullable = &ShippingMethodCreateDataRelationships{} // ShippingMethodCreateDataRelationships struct for ShippingMethodCreateDataRelationships type ShippingMethodCreateDataRelationships struct { - Market *BillingInfoValidationRuleCreateDataRelationshipsMarket `json:"market,omitempty"` + Market *BundleCreateDataRelationshipsMarket `json:"market,omitempty"` ShippingZone *ShippingMethodCreateDataRelationshipsShippingZone `json:"shipping_zone,omitempty"` ShippingCategory *ShipmentCreateDataRelationshipsShippingCategory `json:"shipping_category,omitempty"` StockLocation *DeliveryLeadTimeCreateDataRelationshipsStockLocation `json:"stock_location,omitempty"` @@ -45,9 +45,9 @@ func NewShippingMethodCreateDataRelationshipsWithDefaults() *ShippingMethodCreat } // GetMarket returns the Market field value if set, zero value otherwise. -func (o *ShippingMethodCreateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket { +func (o *ShippingMethodCreateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket { if o == nil || IsNil(o.Market) { - var ret BillingInfoValidationRuleCreateDataRelationshipsMarket + var ret BundleCreateDataRelationshipsMarket return ret } return *o.Market @@ -55,7 +55,7 @@ func (o *ShippingMethodCreateDataRelationships) GetMarket() BillingInfoValidatio // GetMarketOk returns a tuple with the Market field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ShippingMethodCreateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool) { +func (o *ShippingMethodCreateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool) { if o == nil || IsNil(o.Market) { return nil, false } @@ -71,8 +71,8 @@ func (o *ShippingMethodCreateDataRelationships) HasMarket() bool { return false } -// SetMarket gets a reference to the given BillingInfoValidationRuleCreateDataRelationshipsMarket and assigns it to the Market field. -func (o *ShippingMethodCreateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket) { +// SetMarket gets a reference to the given BundleCreateDataRelationshipsMarket and assigns it to the Market field. +func (o *ShippingMethodCreateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket) { o.Market = &v } diff --git a/api/model_shipping_method_create_data_relationships_shipping_method_tiers.go b/api/model_shipping_method_create_data_relationships_shipping_method_tiers.go index 3838ea3ce..ff14bd26f 100644 --- a/api/model_shipping_method_create_data_relationships_shipping_method_tiers.go +++ b/api/model_shipping_method_create_data_relationships_shipping_method_tiers.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_method_create_data_relationships_shipping_zone.go b/api/model_shipping_method_create_data_relationships_shipping_zone.go index f7e922c91..e0983ac8e 100644 --- a/api/model_shipping_method_create_data_relationships_shipping_zone.go +++ b/api/model_shipping_method_create_data_relationships_shipping_zone.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_method_data.go b/api/model_shipping_method_data.go index 812772f41..7cf75b995 100644 --- a/api/model_shipping_method_data.go +++ b/api/model_shipping_method_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_method_data_relationships.go b/api/model_shipping_method_data_relationships.go index b00013b50..9e0c78ea6 100644 --- a/api/model_shipping_method_data_relationships.go +++ b/api/model_shipping_method_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_method_data_relationships_shipping_method_tiers.go b/api/model_shipping_method_data_relationships_shipping_method_tiers.go index 0aee3eb09..1cb309a97 100644 --- a/api/model_shipping_method_data_relationships_shipping_method_tiers.go +++ b/api/model_shipping_method_data_relationships_shipping_method_tiers.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_method_data_relationships_shipping_method_tiers_data.go b/api/model_shipping_method_data_relationships_shipping_method_tiers_data.go index 5d4b06d46..9b6b4bbe8 100644 --- a/api/model_shipping_method_data_relationships_shipping_method_tiers_data.go +++ b/api/model_shipping_method_data_relationships_shipping_method_tiers_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_method_data_relationships_shipping_weight_tiers.go b/api/model_shipping_method_data_relationships_shipping_weight_tiers.go index 8d8c32921..82c6100cc 100644 --- a/api/model_shipping_method_data_relationships_shipping_weight_tiers.go +++ b/api/model_shipping_method_data_relationships_shipping_weight_tiers.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_method_data_relationships_shipping_weight_tiers_data.go b/api/model_shipping_method_data_relationships_shipping_weight_tiers_data.go index 05635bf84..8890d8b58 100644 --- a/api/model_shipping_method_data_relationships_shipping_weight_tiers_data.go +++ b/api/model_shipping_method_data_relationships_shipping_weight_tiers_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_method_data_relationships_shipping_zone.go b/api/model_shipping_method_data_relationships_shipping_zone.go index cbbda59f4..165437aa7 100644 --- a/api/model_shipping_method_data_relationships_shipping_zone.go +++ b/api/model_shipping_method_data_relationships_shipping_zone.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_method_data_relationships_shipping_zone_data.go b/api/model_shipping_method_data_relationships_shipping_zone_data.go index aa04748f7..a4d5f10e8 100644 --- a/api/model_shipping_method_data_relationships_shipping_zone_data.go +++ b/api/model_shipping_method_data_relationships_shipping_zone_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_method_tier.go b/api/model_shipping_method_tier.go index 6b2248a92..ab329e305 100644 --- a/api/model_shipping_method_tier.go +++ b/api/model_shipping_method_tier.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_method_tier_data.go b/api/model_shipping_method_tier_data.go index 78738b592..73b4270f3 100644 --- a/api/model_shipping_method_tier_data.go +++ b/api/model_shipping_method_tier_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_method_tier_data_relationships.go b/api/model_shipping_method_tier_data_relationships.go index 996fee5a8..98fbf64b7 100644 --- a/api/model_shipping_method_tier_data_relationships.go +++ b/api/model_shipping_method_tier_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_method_update.go b/api/model_shipping_method_update.go index 78b1da10c..e70798b8e 100644 --- a/api/model_shipping_method_update.go +++ b/api/model_shipping_method_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_method_update_data.go b/api/model_shipping_method_update_data.go index 3df1cc16b..089a590e1 100644 --- a/api/model_shipping_method_update_data.go +++ b/api/model_shipping_method_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_weight_tier.go b/api/model_shipping_weight_tier.go index 7e5665a0c..bf1b9dbd9 100644 --- a/api/model_shipping_weight_tier.go +++ b/api/model_shipping_weight_tier.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_weight_tier_create.go b/api/model_shipping_weight_tier_create.go index df2de02f6..6ddb023dc 100644 --- a/api/model_shipping_weight_tier_create.go +++ b/api/model_shipping_weight_tier_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_weight_tier_create_data.go b/api/model_shipping_weight_tier_create_data.go index 9eb21a15d..2c2887250 100644 --- a/api/model_shipping_weight_tier_create_data.go +++ b/api/model_shipping_weight_tier_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_weight_tier_create_data_relationships.go b/api/model_shipping_weight_tier_create_data_relationships.go index 98c70de9b..56a2a6a90 100644 --- a/api/model_shipping_weight_tier_create_data_relationships.go +++ b/api/model_shipping_weight_tier_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_weight_tier_data.go b/api/model_shipping_weight_tier_data.go index f39e9af85..1c400ba99 100644 --- a/api/model_shipping_weight_tier_data.go +++ b/api/model_shipping_weight_tier_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_weight_tier_update.go b/api/model_shipping_weight_tier_update.go index e562b042f..329ebdbe7 100644 --- a/api/model_shipping_weight_tier_update.go +++ b/api/model_shipping_weight_tier_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_weight_tier_update_data.go b/api/model_shipping_weight_tier_update_data.go index 0696f7861..3f6800c5e 100644 --- a/api/model_shipping_weight_tier_update_data.go +++ b/api/model_shipping_weight_tier_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_weight_tier_update_data_relationships.go b/api/model_shipping_weight_tier_update_data_relationships.go index b2944ab27..6a33764f3 100644 --- a/api/model_shipping_weight_tier_update_data_relationships.go +++ b/api/model_shipping_weight_tier_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_zone.go b/api/model_shipping_zone.go index 0fb839680..212fb791c 100644 --- a/api/model_shipping_zone.go +++ b/api/model_shipping_zone.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_zone_create.go b/api/model_shipping_zone_create.go index a9fd46081..eca9ffd91 100644 --- a/api/model_shipping_zone_create.go +++ b/api/model_shipping_zone_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_zone_create_data.go b/api/model_shipping_zone_create_data.go index 47293b780..165c34d25 100644 --- a/api/model_shipping_zone_create_data.go +++ b/api/model_shipping_zone_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_zone_data.go b/api/model_shipping_zone_data.go index 2c055b605..a8fa046f1 100644 --- a/api/model_shipping_zone_data.go +++ b/api/model_shipping_zone_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_zone_data_relationships.go b/api/model_shipping_zone_data_relationships.go index f76cf57c7..fb4225af9 100644 --- a/api/model_shipping_zone_data_relationships.go +++ b/api/model_shipping_zone_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_zone_update.go b/api/model_shipping_zone_update.go index cccc0501d..f8bf3a399 100644 --- a/api/model_shipping_zone_update.go +++ b/api/model_shipping_zone_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_shipping_zone_update_data.go b/api/model_shipping_zone_update_data.go index c5d0c00ba..a047c6fa8 100644 --- a/api/model_shipping_zone_update_data.go +++ b/api/model_shipping_zone_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku.go b/api/model_sku.go index 58ff4afd2..e481eef00 100644 --- a/api/model_sku.go +++ b/api/model_sku.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_create.go b/api/model_sku_create.go index 1482b7590..b21da8ca9 100644 --- a/api/model_sku_create.go +++ b/api/model_sku_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_create_data.go b/api/model_sku_create_data.go index 0fb27d275..a4c533c12 100644 --- a/api/model_sku_create_data.go +++ b/api/model_sku_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_create_data_relationships.go b/api/model_sku_create_data_relationships.go index 848004348..1b2e7a87a 100644 --- a/api/model_sku_create_data_relationships.go +++ b/api/model_sku_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_data.go b/api/model_sku_data.go index c04911ced..b5bf4af35 100644 --- a/api/model_sku_data.go +++ b/api/model_sku_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_data_relationships.go b/api/model_sku_data_relationships.go index 3c376c6b6..b867eef49 100644 --- a/api/model_sku_data_relationships.go +++ b/api/model_sku_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_list.go b/api/model_sku_list.go index 3e8982cf4..f6a0fa11c 100644 --- a/api/model_sku_list.go +++ b/api/model_sku_list.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_list_create.go b/api/model_sku_list_create.go index 73e7bbd9b..d00a44cfe 100644 --- a/api/model_sku_list_create.go +++ b/api/model_sku_list_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_list_create_data.go b/api/model_sku_list_create_data.go index 771dce33c..0318c492f 100644 --- a/api/model_sku_list_create_data.go +++ b/api/model_sku_list_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_list_data.go b/api/model_sku_list_data.go index 6d2492fff..ca0f419bf 100644 --- a/api/model_sku_list_data.go +++ b/api/model_sku_list_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_list_data_relationships.go b/api/model_sku_list_data_relationships.go index d2b35f655..197f49340 100644 --- a/api/model_sku_list_data_relationships.go +++ b/api/model_sku_list_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_list_data_relationships_sku_list_items.go b/api/model_sku_list_data_relationships_sku_list_items.go index effff1c7b..0b6c99ebf 100644 --- a/api/model_sku_list_data_relationships_sku_list_items.go +++ b/api/model_sku_list_data_relationships_sku_list_items.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_list_data_relationships_sku_list_items_data.go b/api/model_sku_list_data_relationships_sku_list_items_data.go index 69907b6c3..1b6733d5a 100644 --- a/api/model_sku_list_data_relationships_sku_list_items_data.go +++ b/api/model_sku_list_data_relationships_sku_list_items_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_list_item.go b/api/model_sku_list_item.go index afae22bbd..4e046684f 100644 --- a/api/model_sku_list_item.go +++ b/api/model_sku_list_item.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_list_item_create.go b/api/model_sku_list_item_create.go index 226be1c7c..848365d4b 100644 --- a/api/model_sku_list_item_create.go +++ b/api/model_sku_list_item_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_list_item_create_data.go b/api/model_sku_list_item_create_data.go index e328bab2f..0166f47fb 100644 --- a/api/model_sku_list_item_create_data.go +++ b/api/model_sku_list_item_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_list_item_create_data_relationships.go b/api/model_sku_list_item_create_data_relationships.go index 0ada0873d..3a0586b5e 100644 --- a/api/model_sku_list_item_create_data_relationships.go +++ b/api/model_sku_list_item_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_list_item_data.go b/api/model_sku_list_item_data.go index fbb736182..f671f7432 100644 --- a/api/model_sku_list_item_data.go +++ b/api/model_sku_list_item_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_list_item_data_relationships.go b/api/model_sku_list_item_data_relationships.go index 5c9bf630d..397305e93 100644 --- a/api/model_sku_list_item_data_relationships.go +++ b/api/model_sku_list_item_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_list_item_update.go b/api/model_sku_list_item_update.go index 223cd99ca..360f372ec 100644 --- a/api/model_sku_list_item_update.go +++ b/api/model_sku_list_item_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_list_item_update_data.go b/api/model_sku_list_item_update_data.go index 079f067b3..fa03de9fe 100644 --- a/api/model_sku_list_item_update_data.go +++ b/api/model_sku_list_item_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_list_promotion_rule.go b/api/model_sku_list_promotion_rule.go index 00febf3e1..c5f79b72f 100644 --- a/api/model_sku_list_promotion_rule.go +++ b/api/model_sku_list_promotion_rule.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_list_promotion_rule_create.go b/api/model_sku_list_promotion_rule_create.go index 3c942e4c0..f9ec08a3f 100644 --- a/api/model_sku_list_promotion_rule_create.go +++ b/api/model_sku_list_promotion_rule_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_list_promotion_rule_create_data.go b/api/model_sku_list_promotion_rule_create_data.go index 0f98eb984..17f6d6331 100644 --- a/api/model_sku_list_promotion_rule_create_data.go +++ b/api/model_sku_list_promotion_rule_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_list_promotion_rule_create_data_relationships.go b/api/model_sku_list_promotion_rule_create_data_relationships.go index 859db5908..092378718 100644 --- a/api/model_sku_list_promotion_rule_create_data_relationships.go +++ b/api/model_sku_list_promotion_rule_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_list_promotion_rule_data.go b/api/model_sku_list_promotion_rule_data.go index deb502ea4..27227cd66 100644 --- a/api/model_sku_list_promotion_rule_data.go +++ b/api/model_sku_list_promotion_rule_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_list_promotion_rule_data_relationships.go b/api/model_sku_list_promotion_rule_data_relationships.go index 64faecfa0..b83837cdb 100644 --- a/api/model_sku_list_promotion_rule_data_relationships.go +++ b/api/model_sku_list_promotion_rule_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_list_promotion_rule_update.go b/api/model_sku_list_promotion_rule_update.go index 964c6bdd4..2ebb9455c 100644 --- a/api/model_sku_list_promotion_rule_update.go +++ b/api/model_sku_list_promotion_rule_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_list_promotion_rule_update_data.go b/api/model_sku_list_promotion_rule_update_data.go index c96bbd900..e72c080fe 100644 --- a/api/model_sku_list_promotion_rule_update_data.go +++ b/api/model_sku_list_promotion_rule_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_list_promotion_rule_update_data_relationships.go b/api/model_sku_list_promotion_rule_update_data_relationships.go index f7b69e470..8f1309288 100644 --- a/api/model_sku_list_promotion_rule_update_data_relationships.go +++ b/api/model_sku_list_promotion_rule_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_list_update.go b/api/model_sku_list_update.go index b4155a886..5e7e2fc01 100644 --- a/api/model_sku_list_update.go +++ b/api/model_sku_list_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_list_update_data.go b/api/model_sku_list_update_data.go index 1c7d70b8e..74bc8016c 100644 --- a/api/model_sku_list_update_data.go +++ b/api/model_sku_list_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_option.go b/api/model_sku_option.go index 8e00894a1..f8a21d4d3 100644 --- a/api/model_sku_option.go +++ b/api/model_sku_option.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_option_create.go b/api/model_sku_option_create.go index 773a57974..ed7fa4aa4 100644 --- a/api/model_sku_option_create.go +++ b/api/model_sku_option_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_option_create_data.go b/api/model_sku_option_create_data.go index fc518288f..5fe78b695 100644 --- a/api/model_sku_option_create_data.go +++ b/api/model_sku_option_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_option_create_data_relationships.go b/api/model_sku_option_create_data_relationships.go index b3c256b97..ef8b8e8c8 100644 --- a/api/model_sku_option_create_data_relationships.go +++ b/api/model_sku_option_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,8 +20,8 @@ var _ MappedNullable = &SkuOptionCreateDataRelationships{} // SkuOptionCreateDataRelationships struct for SkuOptionCreateDataRelationships type SkuOptionCreateDataRelationships struct { - Market *BillingInfoValidationRuleCreateDataRelationshipsMarket `json:"market,omitempty"` - Tags *AddressCreateDataRelationshipsTags `json:"tags,omitempty"` + Market *BundleCreateDataRelationshipsMarket `json:"market,omitempty"` + Tags *AddressCreateDataRelationshipsTags `json:"tags,omitempty"` } // NewSkuOptionCreateDataRelationships instantiates a new SkuOptionCreateDataRelationships object @@ -42,9 +42,9 @@ func NewSkuOptionCreateDataRelationshipsWithDefaults() *SkuOptionCreateDataRelat } // GetMarket returns the Market field value if set, zero value otherwise. -func (o *SkuOptionCreateDataRelationships) GetMarket() BillingInfoValidationRuleCreateDataRelationshipsMarket { +func (o *SkuOptionCreateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket { if o == nil || IsNil(o.Market) { - var ret BillingInfoValidationRuleCreateDataRelationshipsMarket + var ret BundleCreateDataRelationshipsMarket return ret } return *o.Market @@ -52,7 +52,7 @@ func (o *SkuOptionCreateDataRelationships) GetMarket() BillingInfoValidationRule // GetMarketOk returns a tuple with the Market field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *SkuOptionCreateDataRelationships) GetMarketOk() (*BillingInfoValidationRuleCreateDataRelationshipsMarket, bool) { +func (o *SkuOptionCreateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool) { if o == nil || IsNil(o.Market) { return nil, false } @@ -68,8 +68,8 @@ func (o *SkuOptionCreateDataRelationships) HasMarket() bool { return false } -// SetMarket gets a reference to the given BillingInfoValidationRuleCreateDataRelationshipsMarket and assigns it to the Market field. -func (o *SkuOptionCreateDataRelationships) SetMarket(v BillingInfoValidationRuleCreateDataRelationshipsMarket) { +// SetMarket gets a reference to the given BundleCreateDataRelationshipsMarket and assigns it to the Market field. +func (o *SkuOptionCreateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket) { o.Market = &v } diff --git a/api/model_sku_option_data.go b/api/model_sku_option_data.go index 323169837..6cbb71d0d 100644 --- a/api/model_sku_option_data.go +++ b/api/model_sku_option_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_option_data_relationships.go b/api/model_sku_option_data_relationships.go index a2871e81c..c82b774db 100644 --- a/api/model_sku_option_data_relationships.go +++ b/api/model_sku_option_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_option_update.go b/api/model_sku_option_update.go index 78ae87c74..e98667ec4 100644 --- a/api/model_sku_option_update.go +++ b/api/model_sku_option_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_option_update_data.go b/api/model_sku_option_update_data.go index 4cae80cdf..4a2076959 100644 --- a/api/model_sku_option_update_data.go +++ b/api/model_sku_option_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_update.go b/api/model_sku_update.go index 8b459e613..a61045451 100644 --- a/api/model_sku_update.go +++ b/api/model_sku_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_update_data.go b/api/model_sku_update_data.go index 99e7e38be..05ae7c409 100644 --- a/api/model_sku_update_data.go +++ b/api/model_sku_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_sku_update_data_relationships.go b/api/model_sku_update_data_relationships.go index 23be6cc36..0b5aa668d 100644 --- a/api/model_sku_update_data_relationships.go +++ b/api/model_sku_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_item.go b/api/model_stock_item.go index cc2cdcfcc..36f77b6b8 100644 --- a/api/model_stock_item.go +++ b/api/model_stock_item.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_item_create.go b/api/model_stock_item_create.go index dd67417c8..377a9d53e 100644 --- a/api/model_stock_item_create.go +++ b/api/model_stock_item_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_item_create_data.go b/api/model_stock_item_create_data.go index 149350018..0ddf0159d 100644 --- a/api/model_stock_item_create_data.go +++ b/api/model_stock_item_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_item_create_data_relationships.go b/api/model_stock_item_create_data_relationships.go index ac5a3b3f8..388221ca0 100644 --- a/api/model_stock_item_create_data_relationships.go +++ b/api/model_stock_item_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_item_data.go b/api/model_stock_item_data.go index b204d75c7..565ac5526 100644 --- a/api/model_stock_item_data.go +++ b/api/model_stock_item_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_item_data_relationships.go b/api/model_stock_item_data_relationships.go index 253299f78..b5a1fc511 100644 --- a/api/model_stock_item_data_relationships.go +++ b/api/model_stock_item_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_item_data_relationships_reserved_stock.go b/api/model_stock_item_data_relationships_reserved_stock.go index 8043b68b4..94fb18dc2 100644 --- a/api/model_stock_item_data_relationships_reserved_stock.go +++ b/api/model_stock_item_data_relationships_reserved_stock.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_item_data_relationships_reserved_stock_data.go b/api/model_stock_item_data_relationships_reserved_stock_data.go index 800b99131..a4be21090 100644 --- a/api/model_stock_item_data_relationships_reserved_stock_data.go +++ b/api/model_stock_item_data_relationships_reserved_stock_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_item_update.go b/api/model_stock_item_update.go index f4114fa7c..1d312ee85 100644 --- a/api/model_stock_item_update.go +++ b/api/model_stock_item_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_item_update_data.go b/api/model_stock_item_update_data.go index 3ed2afcac..38ec63bfb 100644 --- a/api/model_stock_item_update_data.go +++ b/api/model_stock_item_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_item_update_data_relationships.go b/api/model_stock_item_update_data_relationships.go index bbd722183..4405b830f 100644 --- a/api/model_stock_item_update_data_relationships.go +++ b/api/model_stock_item_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_line_item.go b/api/model_stock_line_item.go index 6edbaefb5..c0600f90e 100644 --- a/api/model_stock_line_item.go +++ b/api/model_stock_line_item.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_line_item_create.go b/api/model_stock_line_item_create.go index 10c7c3ef4..1a51ff846 100644 --- a/api/model_stock_line_item_create.go +++ b/api/model_stock_line_item_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_line_item_create_data.go b/api/model_stock_line_item_create_data.go index 235f533cc..a288dccd1 100644 --- a/api/model_stock_line_item_create_data.go +++ b/api/model_stock_line_item_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_line_item_create_data_relationships.go b/api/model_stock_line_item_create_data_relationships.go index 221c28dd7..5e1723496 100644 --- a/api/model_stock_line_item_create_data_relationships.go +++ b/api/model_stock_line_item_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_line_item_create_data_relationships_stock_item.go b/api/model_stock_line_item_create_data_relationships_stock_item.go index fcf0ef986..0f185be7d 100644 --- a/api/model_stock_line_item_create_data_relationships_stock_item.go +++ b/api/model_stock_line_item_create_data_relationships_stock_item.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_line_item_data.go b/api/model_stock_line_item_data.go index c7d3ed1d6..3b46a63e2 100644 --- a/api/model_stock_line_item_data.go +++ b/api/model_stock_line_item_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_line_item_data_relationships.go b/api/model_stock_line_item_data_relationships.go index 50ebf176a..b3570d399 100644 --- a/api/model_stock_line_item_data_relationships.go +++ b/api/model_stock_line_item_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_line_item_update.go b/api/model_stock_line_item_update.go index a321803c4..14f8b23ac 100644 --- a/api/model_stock_line_item_update.go +++ b/api/model_stock_line_item_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_line_item_update_data.go b/api/model_stock_line_item_update_data.go index a4a8177f4..52f101d66 100644 --- a/api/model_stock_line_item_update_data.go +++ b/api/model_stock_line_item_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_location.go b/api/model_stock_location.go index 5c2c59157..4f8ef6f99 100644 --- a/api/model_stock_location.go +++ b/api/model_stock_location.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_location_create.go b/api/model_stock_location_create.go index 196fc809c..a336b94b6 100644 --- a/api/model_stock_location_create.go +++ b/api/model_stock_location_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_location_create_data.go b/api/model_stock_location_create_data.go index fdbe6b9c3..32990fd19 100644 --- a/api/model_stock_location_create_data.go +++ b/api/model_stock_location_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_location_data.go b/api/model_stock_location_data.go index c48d81ff2..c491a82d5 100644 --- a/api/model_stock_location_data.go +++ b/api/model_stock_location_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_location_data_relationships.go b/api/model_stock_location_data_relationships.go index 6aee401bb..99e9ac223 100644 --- a/api/model_stock_location_data_relationships.go +++ b/api/model_stock_location_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -25,6 +25,7 @@ type StockLocationDataRelationships struct { InventoryReturnLocations *InventoryModelDataRelationshipsInventoryReturnLocations `json:"inventory_return_locations,omitempty"` StockItems *ReservedStockDataRelationshipsStockItem `json:"stock_items,omitempty"` StockTransfers *LineItemDataRelationshipsStockTransfers `json:"stock_transfers,omitempty"` + Stores *MarketDataRelationshipsStores `json:"stores,omitempty"` Attachments *AuthorizationDataRelationshipsAttachments `json:"attachments,omitempty"` Versions *AddressDataRelationshipsVersions `json:"versions,omitempty"` } @@ -206,6 +207,38 @@ func (o *StockLocationDataRelationships) SetStockTransfers(v LineItemDataRelatio o.StockTransfers = &v } +// GetStores returns the Stores field value if set, zero value otherwise. +func (o *StockLocationDataRelationships) GetStores() MarketDataRelationshipsStores { + if o == nil || IsNil(o.Stores) { + var ret MarketDataRelationshipsStores + return ret + } + return *o.Stores +} + +// GetStoresOk returns a tuple with the Stores field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *StockLocationDataRelationships) GetStoresOk() (*MarketDataRelationshipsStores, bool) { + if o == nil || IsNil(o.Stores) { + return nil, false + } + return o.Stores, true +} + +// HasStores returns a boolean if a field has been set. +func (o *StockLocationDataRelationships) HasStores() bool { + if o != nil && !IsNil(o.Stores) { + return true + } + + return false +} + +// SetStores gets a reference to the given MarketDataRelationshipsStores and assigns it to the Stores field. +func (o *StockLocationDataRelationships) SetStores(v MarketDataRelationshipsStores) { + o.Stores = &v +} + // GetAttachments returns the Attachments field value if set, zero value otherwise. func (o *StockLocationDataRelationships) GetAttachments() AuthorizationDataRelationshipsAttachments { if o == nil || IsNil(o.Attachments) { @@ -295,6 +328,9 @@ func (o StockLocationDataRelationships) ToMap() (map[string]interface{}, error) if !IsNil(o.StockTransfers) { toSerialize["stock_transfers"] = o.StockTransfers } + if !IsNil(o.Stores) { + toSerialize["stores"] = o.Stores + } if !IsNil(o.Attachments) { toSerialize["attachments"] = o.Attachments } diff --git a/api/model_stock_location_update.go b/api/model_stock_location_update.go index 427e20e77..e4cc1caf2 100644 --- a/api/model_stock_location_update.go +++ b/api/model_stock_location_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_location_update_data.go b/api/model_stock_location_update_data.go index 6b8ae75f4..d6614e4e1 100644 --- a/api/model_stock_location_update_data.go +++ b/api/model_stock_location_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_reservation.go b/api/model_stock_reservation.go index ebb6a7164..d97f75a47 100644 --- a/api/model_stock_reservation.go +++ b/api/model_stock_reservation.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_reservation_create.go b/api/model_stock_reservation_create.go index a44d973ba..af610dad5 100644 --- a/api/model_stock_reservation_create.go +++ b/api/model_stock_reservation_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_reservation_create_data.go b/api/model_stock_reservation_create_data.go index 9d0e774cf..7532340c1 100644 --- a/api/model_stock_reservation_create_data.go +++ b/api/model_stock_reservation_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_reservation_create_data_relationships.go b/api/model_stock_reservation_create_data_relationships.go index d5d78d9e0..0e83cbc6d 100644 --- a/api/model_stock_reservation_create_data_relationships.go +++ b/api/model_stock_reservation_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_reservation_data.go b/api/model_stock_reservation_data.go index 3b3d7da40..5f5248e21 100644 --- a/api/model_stock_reservation_data.go +++ b/api/model_stock_reservation_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_reservation_data_relationships.go b/api/model_stock_reservation_data_relationships.go index 999682303..1d0e8ea11 100644 --- a/api/model_stock_reservation_data_relationships.go +++ b/api/model_stock_reservation_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_reservation_update.go b/api/model_stock_reservation_update.go index 26d2cc0f0..be52c15f7 100644 --- a/api/model_stock_reservation_update.go +++ b/api/model_stock_reservation_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_reservation_update_data.go b/api/model_stock_reservation_update_data.go index f7166e241..80777a78e 100644 --- a/api/model_stock_reservation_update_data.go +++ b/api/model_stock_reservation_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_transfer.go b/api/model_stock_transfer.go index 365c838b1..ce45aa5f3 100644 --- a/api/model_stock_transfer.go +++ b/api/model_stock_transfer.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_transfer_create.go b/api/model_stock_transfer_create.go index aa28477b8..b211764d5 100644 --- a/api/model_stock_transfer_create.go +++ b/api/model_stock_transfer_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_transfer_create_data.go b/api/model_stock_transfer_create_data.go index 8b75db7ca..7ff68433f 100644 --- a/api/model_stock_transfer_create_data.go +++ b/api/model_stock_transfer_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_transfer_create_data_relationships.go b/api/model_stock_transfer_create_data_relationships.go index f20e72de3..7666f6bd3 100644 --- a/api/model_stock_transfer_create_data_relationships.go +++ b/api/model_stock_transfer_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_transfer_data.go b/api/model_stock_transfer_data.go index 3e00b87b9..62704c0c7 100644 --- a/api/model_stock_transfer_data.go +++ b/api/model_stock_transfer_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_transfer_data_relationships.go b/api/model_stock_transfer_data_relationships.go index ea1702c31..233b2f5e9 100644 --- a/api/model_stock_transfer_data_relationships.go +++ b/api/model_stock_transfer_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_transfer_update.go b/api/model_stock_transfer_update.go index 2ee7d0a16..0fc0c4a96 100644 --- a/api/model_stock_transfer_update.go +++ b/api/model_stock_transfer_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_transfer_update_data.go b/api/model_stock_transfer_update_data.go index 260da84d9..df99d2c32 100644 --- a/api/model_stock_transfer_update_data.go +++ b/api/model_stock_transfer_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stock_transfer_update_data_relationships.go b/api/model_stock_transfer_update_data_relationships.go index 4afb0ddfb..b9aa8ac8d 100644 --- a/api/model_stock_transfer_update_data_relationships.go +++ b/api/model_stock_transfer_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_store.go b/api/model_store.go new file mode 100644 index 000000000..7ca225bf3 --- /dev/null +++ b/api/model_store.go @@ -0,0 +1,125 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the Store type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Store{} + +// Store struct for Store +type Store struct { + Data *StoreData `json:"data,omitempty"` +} + +// NewStore instantiates a new Store object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewStore() *Store { + this := Store{} + return &this +} + +// NewStoreWithDefaults instantiates a new Store object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewStoreWithDefaults() *Store { + this := Store{} + return &this +} + +// GetData returns the Data field value if set, zero value otherwise. +func (o *Store) GetData() StoreData { + if o == nil || IsNil(o.Data) { + var ret StoreData + return ret + } + return *o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Store) GetDataOk() (*StoreData, bool) { + if o == nil || IsNil(o.Data) { + return nil, false + } + return o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *Store) HasData() bool { + if o != nil && !IsNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given StoreData and assigns it to the Data field. +func (o *Store) SetData(v StoreData) { + o.Data = &v +} + +func (o Store) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Store) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Data) { + toSerialize["data"] = o.Data + } + return toSerialize, nil +} + +type NullableStore struct { + value *Store + isSet bool +} + +func (v NullableStore) Get() *Store { + return v.value +} + +func (v *NullableStore) Set(val *Store) { + v.value = val + v.isSet = true +} + +func (v NullableStore) IsSet() bool { + return v.isSet +} + +func (v *NullableStore) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableStore(val *Store) *NullableStore { + return &NullableStore{value: val, isSet: true} +} + +func (v NullableStore) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableStore) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_store_create.go b/api/model_store_create.go new file mode 100644 index 000000000..9cce42ed1 --- /dev/null +++ b/api/model_store_create.go @@ -0,0 +1,116 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the StoreCreate type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &StoreCreate{} + +// StoreCreate struct for StoreCreate +type StoreCreate struct { + Data StoreCreateData `json:"data"` +} + +// NewStoreCreate instantiates a new StoreCreate object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewStoreCreate(data StoreCreateData) *StoreCreate { + this := StoreCreate{} + this.Data = data + return &this +} + +// NewStoreCreateWithDefaults instantiates a new StoreCreate object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewStoreCreateWithDefaults() *StoreCreate { + this := StoreCreate{} + return &this +} + +// GetData returns the Data field value +func (o *StoreCreate) GetData() StoreCreateData { + if o == nil { + var ret StoreCreateData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *StoreCreate) GetDataOk() (*StoreCreateData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *StoreCreate) SetData(v StoreCreateData) { + o.Data = v +} + +func (o StoreCreate) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o StoreCreate) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["data"] = o.Data + return toSerialize, nil +} + +type NullableStoreCreate struct { + value *StoreCreate + isSet bool +} + +func (v NullableStoreCreate) Get() *StoreCreate { + return v.value +} + +func (v *NullableStoreCreate) Set(val *StoreCreate) { + v.value = val + v.isSet = true +} + +func (v NullableStoreCreate) IsSet() bool { + return v.isSet +} + +func (v *NullableStoreCreate) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableStoreCreate(val *StoreCreate) *NullableStoreCreate { + return &NullableStoreCreate{value: val, isSet: true} +} + +func (v NullableStoreCreate) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableStoreCreate) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_store_create_data.go b/api/model_store_create_data.go new file mode 100644 index 000000000..44851cc11 --- /dev/null +++ b/api/model_store_create_data.go @@ -0,0 +1,184 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the StoreCreateData type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &StoreCreateData{} + +// StoreCreateData struct for StoreCreateData +type StoreCreateData struct { + // The resource's type + Type interface{} `json:"type"` + Attributes POSTStores201ResponseDataAttributes `json:"attributes"` + Relationships *StoreCreateDataRelationships `json:"relationships,omitempty"` +} + +// NewStoreCreateData instantiates a new StoreCreateData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewStoreCreateData(type_ interface{}, attributes POSTStores201ResponseDataAttributes) *StoreCreateData { + this := StoreCreateData{} + this.Type = type_ + this.Attributes = attributes + return &this +} + +// NewStoreCreateDataWithDefaults instantiates a new StoreCreateData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewStoreCreateDataWithDefaults() *StoreCreateData { + this := StoreCreateData{} + return &this +} + +// GetType returns the Type field value +// If the value is explicit nil, the zero value for interface{} will be returned +func (o *StoreCreateData) GetType() interface{} { + if o == nil { + var ret interface{} + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *StoreCreateData) GetTypeOk() (*interface{}, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *StoreCreateData) SetType(v interface{}) { + o.Type = v +} + +// GetAttributes returns the Attributes field value +func (o *StoreCreateData) GetAttributes() POSTStores201ResponseDataAttributes { + if o == nil { + var ret POSTStores201ResponseDataAttributes + return ret + } + + return o.Attributes +} + +// GetAttributesOk returns a tuple with the Attributes field value +// and a boolean to check if the value has been set. +func (o *StoreCreateData) GetAttributesOk() (*POSTStores201ResponseDataAttributes, bool) { + if o == nil { + return nil, false + } + return &o.Attributes, true +} + +// SetAttributes sets field value +func (o *StoreCreateData) SetAttributes(v POSTStores201ResponseDataAttributes) { + o.Attributes = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *StoreCreateData) GetRelationships() StoreCreateDataRelationships { + if o == nil || IsNil(o.Relationships) { + var ret StoreCreateDataRelationships + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *StoreCreateData) GetRelationshipsOk() (*StoreCreateDataRelationships, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *StoreCreateData) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given StoreCreateDataRelationships and assigns it to the Relationships field. +func (o *StoreCreateData) SetRelationships(v StoreCreateDataRelationships) { + o.Relationships = &v +} + +func (o StoreCreateData) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o StoreCreateData) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Type != nil { + toSerialize["type"] = o.Type + } + toSerialize["attributes"] = o.Attributes + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + return toSerialize, nil +} + +type NullableStoreCreateData struct { + value *StoreCreateData + isSet bool +} + +func (v NullableStoreCreateData) Get() *StoreCreateData { + return v.value +} + +func (v *NullableStoreCreateData) Set(val *StoreCreateData) { + v.value = val + v.isSet = true +} + +func (v NullableStoreCreateData) IsSet() bool { + return v.isSet +} + +func (v *NullableStoreCreateData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableStoreCreateData(val *StoreCreateData) *NullableStoreCreateData { + return &NullableStoreCreateData{value: val, isSet: true} +} + +func (v NullableStoreCreateData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableStoreCreateData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_store_create_data_relationships.go b/api/model_store_create_data_relationships.go new file mode 100644 index 000000000..e14ce7009 --- /dev/null +++ b/api/model_store_create_data_relationships.go @@ -0,0 +1,188 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the StoreCreateDataRelationships type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &StoreCreateDataRelationships{} + +// StoreCreateDataRelationships struct for StoreCreateDataRelationships +type StoreCreateDataRelationships struct { + Market BundleCreateDataRelationshipsMarket `json:"market"` + Merchant *MarketCreateDataRelationshipsMerchant `json:"merchant,omitempty"` + StockLocation *DeliveryLeadTimeCreateDataRelationshipsStockLocation `json:"stock_location,omitempty"` +} + +// NewStoreCreateDataRelationships instantiates a new StoreCreateDataRelationships object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewStoreCreateDataRelationships(market BundleCreateDataRelationshipsMarket) *StoreCreateDataRelationships { + this := StoreCreateDataRelationships{} + this.Market = market + return &this +} + +// NewStoreCreateDataRelationshipsWithDefaults instantiates a new StoreCreateDataRelationships object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewStoreCreateDataRelationshipsWithDefaults() *StoreCreateDataRelationships { + this := StoreCreateDataRelationships{} + return &this +} + +// GetMarket returns the Market field value +func (o *StoreCreateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket { + if o == nil { + var ret BundleCreateDataRelationshipsMarket + return ret + } + + return o.Market +} + +// GetMarketOk returns a tuple with the Market field value +// and a boolean to check if the value has been set. +func (o *StoreCreateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool) { + if o == nil { + return nil, false + } + return &o.Market, true +} + +// SetMarket sets field value +func (o *StoreCreateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket) { + o.Market = v +} + +// GetMerchant returns the Merchant field value if set, zero value otherwise. +func (o *StoreCreateDataRelationships) GetMerchant() MarketCreateDataRelationshipsMerchant { + if o == nil || IsNil(o.Merchant) { + var ret MarketCreateDataRelationshipsMerchant + return ret + } + return *o.Merchant +} + +// GetMerchantOk returns a tuple with the Merchant field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *StoreCreateDataRelationships) GetMerchantOk() (*MarketCreateDataRelationshipsMerchant, bool) { + if o == nil || IsNil(o.Merchant) { + return nil, false + } + return o.Merchant, true +} + +// HasMerchant returns a boolean if a field has been set. +func (o *StoreCreateDataRelationships) HasMerchant() bool { + if o != nil && !IsNil(o.Merchant) { + return true + } + + return false +} + +// SetMerchant gets a reference to the given MarketCreateDataRelationshipsMerchant and assigns it to the Merchant field. +func (o *StoreCreateDataRelationships) SetMerchant(v MarketCreateDataRelationshipsMerchant) { + o.Merchant = &v +} + +// GetStockLocation returns the StockLocation field value if set, zero value otherwise. +func (o *StoreCreateDataRelationships) GetStockLocation() DeliveryLeadTimeCreateDataRelationshipsStockLocation { + if o == nil || IsNil(o.StockLocation) { + var ret DeliveryLeadTimeCreateDataRelationshipsStockLocation + return ret + } + return *o.StockLocation +} + +// GetStockLocationOk returns a tuple with the StockLocation field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *StoreCreateDataRelationships) GetStockLocationOk() (*DeliveryLeadTimeCreateDataRelationshipsStockLocation, bool) { + if o == nil || IsNil(o.StockLocation) { + return nil, false + } + return o.StockLocation, true +} + +// HasStockLocation returns a boolean if a field has been set. +func (o *StoreCreateDataRelationships) HasStockLocation() bool { + if o != nil && !IsNil(o.StockLocation) { + return true + } + + return false +} + +// SetStockLocation gets a reference to the given DeliveryLeadTimeCreateDataRelationshipsStockLocation and assigns it to the StockLocation field. +func (o *StoreCreateDataRelationships) SetStockLocation(v DeliveryLeadTimeCreateDataRelationshipsStockLocation) { + o.StockLocation = &v +} + +func (o StoreCreateDataRelationships) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o StoreCreateDataRelationships) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["market"] = o.Market + if !IsNil(o.Merchant) { + toSerialize["merchant"] = o.Merchant + } + if !IsNil(o.StockLocation) { + toSerialize["stock_location"] = o.StockLocation + } + return toSerialize, nil +} + +type NullableStoreCreateDataRelationships struct { + value *StoreCreateDataRelationships + isSet bool +} + +func (v NullableStoreCreateDataRelationships) Get() *StoreCreateDataRelationships { + return v.value +} + +func (v *NullableStoreCreateDataRelationships) Set(val *StoreCreateDataRelationships) { + v.value = val + v.isSet = true +} + +func (v NullableStoreCreateDataRelationships) IsSet() bool { + return v.isSet +} + +func (v *NullableStoreCreateDataRelationships) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableStoreCreateDataRelationships(val *StoreCreateDataRelationships) *NullableStoreCreateDataRelationships { + return &NullableStoreCreateDataRelationships{value: val, isSet: true} +} + +func (v NullableStoreCreateDataRelationships) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableStoreCreateDataRelationships) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_store_data.go b/api/model_store_data.go new file mode 100644 index 000000000..824ea9f2e --- /dev/null +++ b/api/model_store_data.go @@ -0,0 +1,184 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the StoreData type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &StoreData{} + +// StoreData struct for StoreData +type StoreData struct { + // The resource's type + Type interface{} `json:"type"` + Attributes GETStoresStoreId200ResponseDataAttributes `json:"attributes"` + Relationships *StoreDataRelationships `json:"relationships,omitempty"` +} + +// NewStoreData instantiates a new StoreData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewStoreData(type_ interface{}, attributes GETStoresStoreId200ResponseDataAttributes) *StoreData { + this := StoreData{} + this.Type = type_ + this.Attributes = attributes + return &this +} + +// NewStoreDataWithDefaults instantiates a new StoreData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewStoreDataWithDefaults() *StoreData { + this := StoreData{} + return &this +} + +// GetType returns the Type field value +// If the value is explicit nil, the zero value for interface{} will be returned +func (o *StoreData) GetType() interface{} { + if o == nil { + var ret interface{} + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *StoreData) GetTypeOk() (*interface{}, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *StoreData) SetType(v interface{}) { + o.Type = v +} + +// GetAttributes returns the Attributes field value +func (o *StoreData) GetAttributes() GETStoresStoreId200ResponseDataAttributes { + if o == nil { + var ret GETStoresStoreId200ResponseDataAttributes + return ret + } + + return o.Attributes +} + +// GetAttributesOk returns a tuple with the Attributes field value +// and a boolean to check if the value has been set. +func (o *StoreData) GetAttributesOk() (*GETStoresStoreId200ResponseDataAttributes, bool) { + if o == nil { + return nil, false + } + return &o.Attributes, true +} + +// SetAttributes sets field value +func (o *StoreData) SetAttributes(v GETStoresStoreId200ResponseDataAttributes) { + o.Attributes = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *StoreData) GetRelationships() StoreDataRelationships { + if o == nil || IsNil(o.Relationships) { + var ret StoreDataRelationships + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *StoreData) GetRelationshipsOk() (*StoreDataRelationships, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *StoreData) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given StoreDataRelationships and assigns it to the Relationships field. +func (o *StoreData) SetRelationships(v StoreDataRelationships) { + o.Relationships = &v +} + +func (o StoreData) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o StoreData) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Type != nil { + toSerialize["type"] = o.Type + } + toSerialize["attributes"] = o.Attributes + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + return toSerialize, nil +} + +type NullableStoreData struct { + value *StoreData + isSet bool +} + +func (v NullableStoreData) Get() *StoreData { + return v.value +} + +func (v *NullableStoreData) Set(val *StoreData) { + v.value = val + v.isSet = true +} + +func (v NullableStoreData) IsSet() bool { + return v.isSet +} + +func (v *NullableStoreData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableStoreData(val *StoreData) *NullableStoreData { + return &NullableStoreData{value: val, isSet: true} +} + +func (v NullableStoreData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableStoreData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_store_data_relationships.go b/api/model_store_data_relationships.go new file mode 100644 index 000000000..56b4a3729 --- /dev/null +++ b/api/model_store_data_relationships.go @@ -0,0 +1,341 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the StoreDataRelationships type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &StoreDataRelationships{} + +// StoreDataRelationships struct for StoreDataRelationships +type StoreDataRelationships struct { + Market *AvalaraAccountDataRelationshipsMarkets `json:"market,omitempty"` + Merchant *MarketDataRelationshipsMerchant `json:"merchant,omitempty"` + StockLocation *DeliveryLeadTimeDataRelationshipsStockLocation `json:"stock_location,omitempty"` + Orders *AdyenPaymentDataRelationshipsOrder `json:"orders,omitempty"` + PaymentMethods *AdyenGatewayDataRelationshipsPaymentMethods `json:"payment_methods,omitempty"` + Events *AddressDataRelationshipsEvents `json:"events,omitempty"` + Versions *AddressDataRelationshipsVersions `json:"versions,omitempty"` +} + +// NewStoreDataRelationships instantiates a new StoreDataRelationships object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewStoreDataRelationships() *StoreDataRelationships { + this := StoreDataRelationships{} + return &this +} + +// NewStoreDataRelationshipsWithDefaults instantiates a new StoreDataRelationships object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewStoreDataRelationshipsWithDefaults() *StoreDataRelationships { + this := StoreDataRelationships{} + return &this +} + +// GetMarket returns the Market field value if set, zero value otherwise. +func (o *StoreDataRelationships) GetMarket() AvalaraAccountDataRelationshipsMarkets { + if o == nil || IsNil(o.Market) { + var ret AvalaraAccountDataRelationshipsMarkets + return ret + } + return *o.Market +} + +// GetMarketOk returns a tuple with the Market field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *StoreDataRelationships) GetMarketOk() (*AvalaraAccountDataRelationshipsMarkets, bool) { + if o == nil || IsNil(o.Market) { + return nil, false + } + return o.Market, true +} + +// HasMarket returns a boolean if a field has been set. +func (o *StoreDataRelationships) HasMarket() bool { + if o != nil && !IsNil(o.Market) { + return true + } + + return false +} + +// SetMarket gets a reference to the given AvalaraAccountDataRelationshipsMarkets and assigns it to the Market field. +func (o *StoreDataRelationships) SetMarket(v AvalaraAccountDataRelationshipsMarkets) { + o.Market = &v +} + +// GetMerchant returns the Merchant field value if set, zero value otherwise. +func (o *StoreDataRelationships) GetMerchant() MarketDataRelationshipsMerchant { + if o == nil || IsNil(o.Merchant) { + var ret MarketDataRelationshipsMerchant + return ret + } + return *o.Merchant +} + +// GetMerchantOk returns a tuple with the Merchant field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *StoreDataRelationships) GetMerchantOk() (*MarketDataRelationshipsMerchant, bool) { + if o == nil || IsNil(o.Merchant) { + return nil, false + } + return o.Merchant, true +} + +// HasMerchant returns a boolean if a field has been set. +func (o *StoreDataRelationships) HasMerchant() bool { + if o != nil && !IsNil(o.Merchant) { + return true + } + + return false +} + +// SetMerchant gets a reference to the given MarketDataRelationshipsMerchant and assigns it to the Merchant field. +func (o *StoreDataRelationships) SetMerchant(v MarketDataRelationshipsMerchant) { + o.Merchant = &v +} + +// GetStockLocation returns the StockLocation field value if set, zero value otherwise. +func (o *StoreDataRelationships) GetStockLocation() DeliveryLeadTimeDataRelationshipsStockLocation { + if o == nil || IsNil(o.StockLocation) { + var ret DeliveryLeadTimeDataRelationshipsStockLocation + return ret + } + return *o.StockLocation +} + +// GetStockLocationOk returns a tuple with the StockLocation field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *StoreDataRelationships) GetStockLocationOk() (*DeliveryLeadTimeDataRelationshipsStockLocation, bool) { + if o == nil || IsNil(o.StockLocation) { + return nil, false + } + return o.StockLocation, true +} + +// HasStockLocation returns a boolean if a field has been set. +func (o *StoreDataRelationships) HasStockLocation() bool { + if o != nil && !IsNil(o.StockLocation) { + return true + } + + return false +} + +// SetStockLocation gets a reference to the given DeliveryLeadTimeDataRelationshipsStockLocation and assigns it to the StockLocation field. +func (o *StoreDataRelationships) SetStockLocation(v DeliveryLeadTimeDataRelationshipsStockLocation) { + o.StockLocation = &v +} + +// GetOrders returns the Orders field value if set, zero value otherwise. +func (o *StoreDataRelationships) GetOrders() AdyenPaymentDataRelationshipsOrder { + if o == nil || IsNil(o.Orders) { + var ret AdyenPaymentDataRelationshipsOrder + return ret + } + return *o.Orders +} + +// GetOrdersOk returns a tuple with the Orders field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *StoreDataRelationships) GetOrdersOk() (*AdyenPaymentDataRelationshipsOrder, bool) { + if o == nil || IsNil(o.Orders) { + return nil, false + } + return o.Orders, true +} + +// HasOrders returns a boolean if a field has been set. +func (o *StoreDataRelationships) HasOrders() bool { + if o != nil && !IsNil(o.Orders) { + return true + } + + return false +} + +// SetOrders gets a reference to the given AdyenPaymentDataRelationshipsOrder and assigns it to the Orders field. +func (o *StoreDataRelationships) SetOrders(v AdyenPaymentDataRelationshipsOrder) { + o.Orders = &v +} + +// GetPaymentMethods returns the PaymentMethods field value if set, zero value otherwise. +func (o *StoreDataRelationships) GetPaymentMethods() AdyenGatewayDataRelationshipsPaymentMethods { + if o == nil || IsNil(o.PaymentMethods) { + var ret AdyenGatewayDataRelationshipsPaymentMethods + return ret + } + return *o.PaymentMethods +} + +// GetPaymentMethodsOk returns a tuple with the PaymentMethods field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *StoreDataRelationships) GetPaymentMethodsOk() (*AdyenGatewayDataRelationshipsPaymentMethods, bool) { + if o == nil || IsNil(o.PaymentMethods) { + return nil, false + } + return o.PaymentMethods, true +} + +// HasPaymentMethods returns a boolean if a field has been set. +func (o *StoreDataRelationships) HasPaymentMethods() bool { + if o != nil && !IsNil(o.PaymentMethods) { + return true + } + + return false +} + +// SetPaymentMethods gets a reference to the given AdyenGatewayDataRelationshipsPaymentMethods and assigns it to the PaymentMethods field. +func (o *StoreDataRelationships) SetPaymentMethods(v AdyenGatewayDataRelationshipsPaymentMethods) { + o.PaymentMethods = &v +} + +// GetEvents returns the Events field value if set, zero value otherwise. +func (o *StoreDataRelationships) GetEvents() AddressDataRelationshipsEvents { + if o == nil || IsNil(o.Events) { + var ret AddressDataRelationshipsEvents + return ret + } + return *o.Events +} + +// GetEventsOk returns a tuple with the Events field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *StoreDataRelationships) GetEventsOk() (*AddressDataRelationshipsEvents, bool) { + if o == nil || IsNil(o.Events) { + return nil, false + } + return o.Events, true +} + +// HasEvents returns a boolean if a field has been set. +func (o *StoreDataRelationships) HasEvents() bool { + if o != nil && !IsNil(o.Events) { + return true + } + + return false +} + +// SetEvents gets a reference to the given AddressDataRelationshipsEvents and assigns it to the Events field. +func (o *StoreDataRelationships) SetEvents(v AddressDataRelationshipsEvents) { + o.Events = &v +} + +// GetVersions returns the Versions field value if set, zero value otherwise. +func (o *StoreDataRelationships) GetVersions() AddressDataRelationshipsVersions { + if o == nil || IsNil(o.Versions) { + var ret AddressDataRelationshipsVersions + return ret + } + return *o.Versions +} + +// GetVersionsOk returns a tuple with the Versions field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *StoreDataRelationships) GetVersionsOk() (*AddressDataRelationshipsVersions, bool) { + if o == nil || IsNil(o.Versions) { + return nil, false + } + return o.Versions, true +} + +// HasVersions returns a boolean if a field has been set. +func (o *StoreDataRelationships) HasVersions() bool { + if o != nil && !IsNil(o.Versions) { + return true + } + + return false +} + +// SetVersions gets a reference to the given AddressDataRelationshipsVersions and assigns it to the Versions field. +func (o *StoreDataRelationships) SetVersions(v AddressDataRelationshipsVersions) { + o.Versions = &v +} + +func (o StoreDataRelationships) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o StoreDataRelationships) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Market) { + toSerialize["market"] = o.Market + } + if !IsNil(o.Merchant) { + toSerialize["merchant"] = o.Merchant + } + if !IsNil(o.StockLocation) { + toSerialize["stock_location"] = o.StockLocation + } + if !IsNil(o.Orders) { + toSerialize["orders"] = o.Orders + } + if !IsNil(o.PaymentMethods) { + toSerialize["payment_methods"] = o.PaymentMethods + } + if !IsNil(o.Events) { + toSerialize["events"] = o.Events + } + if !IsNil(o.Versions) { + toSerialize["versions"] = o.Versions + } + return toSerialize, nil +} + +type NullableStoreDataRelationships struct { + value *StoreDataRelationships + isSet bool +} + +func (v NullableStoreDataRelationships) Get() *StoreDataRelationships { + return v.value +} + +func (v *NullableStoreDataRelationships) Set(val *StoreDataRelationships) { + v.value = val + v.isSet = true +} + +func (v NullableStoreDataRelationships) IsSet() bool { + return v.isSet +} + +func (v *NullableStoreDataRelationships) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableStoreDataRelationships(val *StoreDataRelationships) *NullableStoreDataRelationships { + return &NullableStoreDataRelationships{value: val, isSet: true} +} + +func (v NullableStoreDataRelationships) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableStoreDataRelationships) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_store_update.go b/api/model_store_update.go new file mode 100644 index 000000000..5aee7de76 --- /dev/null +++ b/api/model_store_update.go @@ -0,0 +1,116 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the StoreUpdate type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &StoreUpdate{} + +// StoreUpdate struct for StoreUpdate +type StoreUpdate struct { + Data StoreUpdateData `json:"data"` +} + +// NewStoreUpdate instantiates a new StoreUpdate object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewStoreUpdate(data StoreUpdateData) *StoreUpdate { + this := StoreUpdate{} + this.Data = data + return &this +} + +// NewStoreUpdateWithDefaults instantiates a new StoreUpdate object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewStoreUpdateWithDefaults() *StoreUpdate { + this := StoreUpdate{} + return &this +} + +// GetData returns the Data field value +func (o *StoreUpdate) GetData() StoreUpdateData { + if o == nil { + var ret StoreUpdateData + return ret + } + + return o.Data +} + +// GetDataOk returns a tuple with the Data field value +// and a boolean to check if the value has been set. +func (o *StoreUpdate) GetDataOk() (*StoreUpdateData, bool) { + if o == nil { + return nil, false + } + return &o.Data, true +} + +// SetData sets field value +func (o *StoreUpdate) SetData(v StoreUpdateData) { + o.Data = v +} + +func (o StoreUpdate) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o StoreUpdate) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["data"] = o.Data + return toSerialize, nil +} + +type NullableStoreUpdate struct { + value *StoreUpdate + isSet bool +} + +func (v NullableStoreUpdate) Get() *StoreUpdate { + return v.value +} + +func (v *NullableStoreUpdate) Set(val *StoreUpdate) { + v.value = val + v.isSet = true +} + +func (v NullableStoreUpdate) IsSet() bool { + return v.isSet +} + +func (v *NullableStoreUpdate) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableStoreUpdate(val *StoreUpdate) *NullableStoreUpdate { + return &NullableStoreUpdate{value: val, isSet: true} +} + +func (v NullableStoreUpdate) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableStoreUpdate) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_store_update_data.go b/api/model_store_update_data.go new file mode 100644 index 000000000..7221d0041 --- /dev/null +++ b/api/model_store_update_data.go @@ -0,0 +1,216 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the StoreUpdateData type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &StoreUpdateData{} + +// StoreUpdateData struct for StoreUpdateData +type StoreUpdateData struct { + // The resource's type + Type interface{} `json:"type"` + // The resource's id + Id interface{} `json:"id"` + Attributes PATCHStoresStoreId200ResponseDataAttributes `json:"attributes"` + Relationships *StoreUpdateDataRelationships `json:"relationships,omitempty"` +} + +// NewStoreUpdateData instantiates a new StoreUpdateData object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewStoreUpdateData(type_ interface{}, id interface{}, attributes PATCHStoresStoreId200ResponseDataAttributes) *StoreUpdateData { + this := StoreUpdateData{} + this.Type = type_ + this.Id = id + this.Attributes = attributes + return &this +} + +// NewStoreUpdateDataWithDefaults instantiates a new StoreUpdateData object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewStoreUpdateDataWithDefaults() *StoreUpdateData { + this := StoreUpdateData{} + return &this +} + +// GetType returns the Type field value +// If the value is explicit nil, the zero value for interface{} will be returned +func (o *StoreUpdateData) GetType() interface{} { + if o == nil { + var ret interface{} + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *StoreUpdateData) GetTypeOk() (*interface{}, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *StoreUpdateData) SetType(v interface{}) { + o.Type = v +} + +// GetId returns the Id field value +// If the value is explicit nil, the zero value for interface{} will be returned +func (o *StoreUpdateData) GetId() interface{} { + if o == nil { + var ret interface{} + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *StoreUpdateData) GetIdOk() (*interface{}, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *StoreUpdateData) SetId(v interface{}) { + o.Id = v +} + +// GetAttributes returns the Attributes field value +func (o *StoreUpdateData) GetAttributes() PATCHStoresStoreId200ResponseDataAttributes { + if o == nil { + var ret PATCHStoresStoreId200ResponseDataAttributes + return ret + } + + return o.Attributes +} + +// GetAttributesOk returns a tuple with the Attributes field value +// and a boolean to check if the value has been set. +func (o *StoreUpdateData) GetAttributesOk() (*PATCHStoresStoreId200ResponseDataAttributes, bool) { + if o == nil { + return nil, false + } + return &o.Attributes, true +} + +// SetAttributes sets field value +func (o *StoreUpdateData) SetAttributes(v PATCHStoresStoreId200ResponseDataAttributes) { + o.Attributes = v +} + +// GetRelationships returns the Relationships field value if set, zero value otherwise. +func (o *StoreUpdateData) GetRelationships() StoreUpdateDataRelationships { + if o == nil || IsNil(o.Relationships) { + var ret StoreUpdateDataRelationships + return ret + } + return *o.Relationships +} + +// GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *StoreUpdateData) GetRelationshipsOk() (*StoreUpdateDataRelationships, bool) { + if o == nil || IsNil(o.Relationships) { + return nil, false + } + return o.Relationships, true +} + +// HasRelationships returns a boolean if a field has been set. +func (o *StoreUpdateData) HasRelationships() bool { + if o != nil && !IsNil(o.Relationships) { + return true + } + + return false +} + +// SetRelationships gets a reference to the given StoreUpdateDataRelationships and assigns it to the Relationships field. +func (o *StoreUpdateData) SetRelationships(v StoreUpdateDataRelationships) { + o.Relationships = &v +} + +func (o StoreUpdateData) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o StoreUpdateData) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Type != nil { + toSerialize["type"] = o.Type + } + if o.Id != nil { + toSerialize["id"] = o.Id + } + toSerialize["attributes"] = o.Attributes + if !IsNil(o.Relationships) { + toSerialize["relationships"] = o.Relationships + } + return toSerialize, nil +} + +type NullableStoreUpdateData struct { + value *StoreUpdateData + isSet bool +} + +func (v NullableStoreUpdateData) Get() *StoreUpdateData { + return v.value +} + +func (v *NullableStoreUpdateData) Set(val *StoreUpdateData) { + v.value = val + v.isSet = true +} + +func (v NullableStoreUpdateData) IsSet() bool { + return v.isSet +} + +func (v *NullableStoreUpdateData) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableStoreUpdateData(val *StoreUpdateData) *NullableStoreUpdateData { + return &NullableStoreUpdateData{value: val, isSet: true} +} + +func (v NullableStoreUpdateData) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableStoreUpdateData) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_store_update_data_relationships.go b/api/model_store_update_data_relationships.go new file mode 100644 index 000000000..464cdc482 --- /dev/null +++ b/api/model_store_update_data_relationships.go @@ -0,0 +1,197 @@ +/* +Commerce Layer API + +Headless Commerce for Global Brands. + +API version: 7.6.1 +Contact: support@commercelayer.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api + +import ( + "encoding/json" +) + +// checks if the StoreUpdateDataRelationships type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &StoreUpdateDataRelationships{} + +// StoreUpdateDataRelationships struct for StoreUpdateDataRelationships +type StoreUpdateDataRelationships struct { + Market *BundleCreateDataRelationshipsMarket `json:"market,omitempty"` + Merchant *MarketCreateDataRelationshipsMerchant `json:"merchant,omitempty"` + StockLocation *DeliveryLeadTimeCreateDataRelationshipsStockLocation `json:"stock_location,omitempty"` +} + +// NewStoreUpdateDataRelationships instantiates a new StoreUpdateDataRelationships object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewStoreUpdateDataRelationships() *StoreUpdateDataRelationships { + this := StoreUpdateDataRelationships{} + return &this +} + +// NewStoreUpdateDataRelationshipsWithDefaults instantiates a new StoreUpdateDataRelationships object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewStoreUpdateDataRelationshipsWithDefaults() *StoreUpdateDataRelationships { + this := StoreUpdateDataRelationships{} + return &this +} + +// GetMarket returns the Market field value if set, zero value otherwise. +func (o *StoreUpdateDataRelationships) GetMarket() BundleCreateDataRelationshipsMarket { + if o == nil || IsNil(o.Market) { + var ret BundleCreateDataRelationshipsMarket + return ret + } + return *o.Market +} + +// GetMarketOk returns a tuple with the Market field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *StoreUpdateDataRelationships) GetMarketOk() (*BundleCreateDataRelationshipsMarket, bool) { + if o == nil || IsNil(o.Market) { + return nil, false + } + return o.Market, true +} + +// HasMarket returns a boolean if a field has been set. +func (o *StoreUpdateDataRelationships) HasMarket() bool { + if o != nil && !IsNil(o.Market) { + return true + } + + return false +} + +// SetMarket gets a reference to the given BundleCreateDataRelationshipsMarket and assigns it to the Market field. +func (o *StoreUpdateDataRelationships) SetMarket(v BundleCreateDataRelationshipsMarket) { + o.Market = &v +} + +// GetMerchant returns the Merchant field value if set, zero value otherwise. +func (o *StoreUpdateDataRelationships) GetMerchant() MarketCreateDataRelationshipsMerchant { + if o == nil || IsNil(o.Merchant) { + var ret MarketCreateDataRelationshipsMerchant + return ret + } + return *o.Merchant +} + +// GetMerchantOk returns a tuple with the Merchant field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *StoreUpdateDataRelationships) GetMerchantOk() (*MarketCreateDataRelationshipsMerchant, bool) { + if o == nil || IsNil(o.Merchant) { + return nil, false + } + return o.Merchant, true +} + +// HasMerchant returns a boolean if a field has been set. +func (o *StoreUpdateDataRelationships) HasMerchant() bool { + if o != nil && !IsNil(o.Merchant) { + return true + } + + return false +} + +// SetMerchant gets a reference to the given MarketCreateDataRelationshipsMerchant and assigns it to the Merchant field. +func (o *StoreUpdateDataRelationships) SetMerchant(v MarketCreateDataRelationshipsMerchant) { + o.Merchant = &v +} + +// GetStockLocation returns the StockLocation field value if set, zero value otherwise. +func (o *StoreUpdateDataRelationships) GetStockLocation() DeliveryLeadTimeCreateDataRelationshipsStockLocation { + if o == nil || IsNil(o.StockLocation) { + var ret DeliveryLeadTimeCreateDataRelationshipsStockLocation + return ret + } + return *o.StockLocation +} + +// GetStockLocationOk returns a tuple with the StockLocation field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *StoreUpdateDataRelationships) GetStockLocationOk() (*DeliveryLeadTimeCreateDataRelationshipsStockLocation, bool) { + if o == nil || IsNil(o.StockLocation) { + return nil, false + } + return o.StockLocation, true +} + +// HasStockLocation returns a boolean if a field has been set. +func (o *StoreUpdateDataRelationships) HasStockLocation() bool { + if o != nil && !IsNil(o.StockLocation) { + return true + } + + return false +} + +// SetStockLocation gets a reference to the given DeliveryLeadTimeCreateDataRelationshipsStockLocation and assigns it to the StockLocation field. +func (o *StoreUpdateDataRelationships) SetStockLocation(v DeliveryLeadTimeCreateDataRelationshipsStockLocation) { + o.StockLocation = &v +} + +func (o StoreUpdateDataRelationships) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o StoreUpdateDataRelationships) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Market) { + toSerialize["market"] = o.Market + } + if !IsNil(o.Merchant) { + toSerialize["merchant"] = o.Merchant + } + if !IsNil(o.StockLocation) { + toSerialize["stock_location"] = o.StockLocation + } + return toSerialize, nil +} + +type NullableStoreUpdateDataRelationships struct { + value *StoreUpdateDataRelationships + isSet bool +} + +func (v NullableStoreUpdateDataRelationships) Get() *StoreUpdateDataRelationships { + return v.value +} + +func (v *NullableStoreUpdateDataRelationships) Set(val *StoreUpdateDataRelationships) { + v.value = val + v.isSet = true +} + +func (v NullableStoreUpdateDataRelationships) IsSet() bool { + return v.isSet +} + +func (v *NullableStoreUpdateDataRelationships) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableStoreUpdateDataRelationships(val *StoreUpdateDataRelationships) *NullableStoreUpdateDataRelationships { + return &NullableStoreUpdateDataRelationships{value: val, isSet: true} +} + +func (v NullableStoreUpdateDataRelationships) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableStoreUpdateDataRelationships) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/api/model_stripe_gateway.go b/api/model_stripe_gateway.go index 12b06636e..7c176ae21 100644 --- a/api/model_stripe_gateway.go +++ b/api/model_stripe_gateway.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stripe_gateway_create.go b/api/model_stripe_gateway_create.go index f980c7494..8973d5125 100644 --- a/api/model_stripe_gateway_create.go +++ b/api/model_stripe_gateway_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stripe_gateway_create_data.go b/api/model_stripe_gateway_create_data.go index ce56ca6bd..3a11f4199 100644 --- a/api/model_stripe_gateway_create_data.go +++ b/api/model_stripe_gateway_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stripe_gateway_data.go b/api/model_stripe_gateway_data.go index cc5954ede..8ff4016e4 100644 --- a/api/model_stripe_gateway_data.go +++ b/api/model_stripe_gateway_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stripe_gateway_data_relationships.go b/api/model_stripe_gateway_data_relationships.go index acbc13064..b46ce3778 100644 --- a/api/model_stripe_gateway_data_relationships.go +++ b/api/model_stripe_gateway_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stripe_gateway_data_relationships_stripe_payments.go b/api/model_stripe_gateway_data_relationships_stripe_payments.go index a2d119743..8045e9379 100644 --- a/api/model_stripe_gateway_data_relationships_stripe_payments.go +++ b/api/model_stripe_gateway_data_relationships_stripe_payments.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stripe_gateway_data_relationships_stripe_payments_data.go b/api/model_stripe_gateway_data_relationships_stripe_payments_data.go index 78d78957a..37d30d2be 100644 --- a/api/model_stripe_gateway_data_relationships_stripe_payments_data.go +++ b/api/model_stripe_gateway_data_relationships_stripe_payments_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stripe_gateway_update.go b/api/model_stripe_gateway_update.go index da2fe7223..500bbf815 100644 --- a/api/model_stripe_gateway_update.go +++ b/api/model_stripe_gateway_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stripe_gateway_update_data.go b/api/model_stripe_gateway_update_data.go index eb86aa99e..eb8fb5bbf 100644 --- a/api/model_stripe_gateway_update_data.go +++ b/api/model_stripe_gateway_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stripe_payment.go b/api/model_stripe_payment.go index 182de7950..cd0a8663a 100644 --- a/api/model_stripe_payment.go +++ b/api/model_stripe_payment.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stripe_payment_create.go b/api/model_stripe_payment_create.go index b8c8d2b5d..4a4540f36 100644 --- a/api/model_stripe_payment_create.go +++ b/api/model_stripe_payment_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stripe_payment_create_data.go b/api/model_stripe_payment_create_data.go index e7f3c829b..8dc52e9ad 100644 --- a/api/model_stripe_payment_create_data.go +++ b/api/model_stripe_payment_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stripe_payment_data.go b/api/model_stripe_payment_data.go index 487de46db..7c852d56e 100644 --- a/api/model_stripe_payment_data.go +++ b/api/model_stripe_payment_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stripe_payment_update.go b/api/model_stripe_payment_update.go index b616252fd..3afe0411e 100644 --- a/api/model_stripe_payment_update.go +++ b/api/model_stripe_payment_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_stripe_payment_update_data.go b/api/model_stripe_payment_update_data.go index 1e7fef3e0..35e141f58 100644 --- a/api/model_stripe_payment_update_data.go +++ b/api/model_stripe_payment_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_subscription_model.go b/api/model_subscription_model.go index a23d8fedf..a49f0f79d 100644 --- a/api/model_subscription_model.go +++ b/api/model_subscription_model.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_subscription_model_create.go b/api/model_subscription_model_create.go index 97e3f6f74..44d65df0c 100644 --- a/api/model_subscription_model_create.go +++ b/api/model_subscription_model_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_subscription_model_create_data.go b/api/model_subscription_model_create_data.go index 2409932dd..4a38973e1 100644 --- a/api/model_subscription_model_create_data.go +++ b/api/model_subscription_model_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_subscription_model_data.go b/api/model_subscription_model_data.go index 73c6a9405..b8e5df75b 100644 --- a/api/model_subscription_model_data.go +++ b/api/model_subscription_model_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_subscription_model_data_relationships.go b/api/model_subscription_model_data_relationships.go index 6f07a61e0..9426ca0d6 100644 --- a/api/model_subscription_model_data_relationships.go +++ b/api/model_subscription_model_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_subscription_model_update.go b/api/model_subscription_model_update.go index bd9f4e745..8b5ed2073 100644 --- a/api/model_subscription_model_update.go +++ b/api/model_subscription_model_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_subscription_model_update_data.go b/api/model_subscription_model_update_data.go index ffd36e0dd..def7ef846 100644 --- a/api/model_subscription_model_update_data.go +++ b/api/model_subscription_model_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_tag.go b/api/model_tag.go index a23eafa34..692346eba 100644 --- a/api/model_tag.go +++ b/api/model_tag.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_tag_create.go b/api/model_tag_create.go index db503ce55..62220105b 100644 --- a/api/model_tag_create.go +++ b/api/model_tag_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_tag_create_data.go b/api/model_tag_create_data.go index edea70bad..ad74a45fc 100644 --- a/api/model_tag_create_data.go +++ b/api/model_tag_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_tag_data.go b/api/model_tag_data.go index 41d47636a..7dcc0a796 100644 --- a/api/model_tag_data.go +++ b/api/model_tag_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_tag_update.go b/api/model_tag_update.go index 370e25c5e..64022769c 100644 --- a/api/model_tag_update.go +++ b/api/model_tag_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_tag_update_data.go b/api/model_tag_update_data.go index 52fad3483..3a8451fb7 100644 --- a/api/model_tag_update_data.go +++ b/api/model_tag_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_tax_calculator.go b/api/model_tax_calculator.go index cee3259f3..af2213367 100644 --- a/api/model_tax_calculator.go +++ b/api/model_tax_calculator.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_tax_calculator_data.go b/api/model_tax_calculator_data.go index decf8806a..2f445e899 100644 --- a/api/model_tax_calculator_data.go +++ b/api/model_tax_calculator_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_tax_category.go b/api/model_tax_category.go index 6c82dd7c2..84be0e305 100644 --- a/api/model_tax_category.go +++ b/api/model_tax_category.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_tax_category_create.go b/api/model_tax_category_create.go index 33f76a3cc..cb28f9a22 100644 --- a/api/model_tax_category_create.go +++ b/api/model_tax_category_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_tax_category_create_data.go b/api/model_tax_category_create_data.go index 12af63608..6e8eb6f5a 100644 --- a/api/model_tax_category_create_data.go +++ b/api/model_tax_category_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_tax_category_create_data_relationships.go b/api/model_tax_category_create_data_relationships.go index ab90669ec..25fbd7025 100644 --- a/api/model_tax_category_create_data_relationships.go +++ b/api/model_tax_category_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_tax_category_data.go b/api/model_tax_category_data.go index 1b2899bd7..f19ce1c06 100644 --- a/api/model_tax_category_data.go +++ b/api/model_tax_category_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_tax_category_data_relationships.go b/api/model_tax_category_data_relationships.go index 05470e780..e71851716 100644 --- a/api/model_tax_category_data_relationships.go +++ b/api/model_tax_category_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_tax_category_update.go b/api/model_tax_category_update.go index db8e999f7..bc5456dd9 100644 --- a/api/model_tax_category_update.go +++ b/api/model_tax_category_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_tax_category_update_data.go b/api/model_tax_category_update_data.go index 44cc67a57..c8f2d65cd 100644 --- a/api/model_tax_category_update_data.go +++ b/api/model_tax_category_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_tax_category_update_data_relationships.go b/api/model_tax_category_update_data_relationships.go index 918af09a2..de12e3a2d 100644 --- a/api/model_tax_category_update_data_relationships.go +++ b/api/model_tax_category_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_tax_rule.go b/api/model_tax_rule.go index c5ccdefbd..069b41fdb 100644 --- a/api/model_tax_rule.go +++ b/api/model_tax_rule.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_tax_rule_create.go b/api/model_tax_rule_create.go index ae663be32..8d30610e0 100644 --- a/api/model_tax_rule_create.go +++ b/api/model_tax_rule_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_tax_rule_create_data.go b/api/model_tax_rule_create_data.go index 43ea87393..e0b557cac 100644 --- a/api/model_tax_rule_create_data.go +++ b/api/model_tax_rule_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_tax_rule_create_data_relationships.go b/api/model_tax_rule_create_data_relationships.go index 76accf78a..0035a1b76 100644 --- a/api/model_tax_rule_create_data_relationships.go +++ b/api/model_tax_rule_create_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_tax_rule_create_data_relationships_manual_tax_calculator.go b/api/model_tax_rule_create_data_relationships_manual_tax_calculator.go index 2946e50e5..6582d3579 100644 --- a/api/model_tax_rule_create_data_relationships_manual_tax_calculator.go +++ b/api/model_tax_rule_create_data_relationships_manual_tax_calculator.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_tax_rule_data.go b/api/model_tax_rule_data.go index f23253075..6d0c32d64 100644 --- a/api/model_tax_rule_data.go +++ b/api/model_tax_rule_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_tax_rule_data_relationships.go b/api/model_tax_rule_data_relationships.go index e1baf02f0..16f6ed137 100644 --- a/api/model_tax_rule_data_relationships.go +++ b/api/model_tax_rule_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_tax_rule_data_relationships_manual_tax_calculator.go b/api/model_tax_rule_data_relationships_manual_tax_calculator.go index 196143efd..4a3113a77 100644 --- a/api/model_tax_rule_data_relationships_manual_tax_calculator.go +++ b/api/model_tax_rule_data_relationships_manual_tax_calculator.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_tax_rule_data_relationships_manual_tax_calculator_data.go b/api/model_tax_rule_data_relationships_manual_tax_calculator_data.go index c9112c0d7..4106e8c70 100644 --- a/api/model_tax_rule_data_relationships_manual_tax_calculator_data.go +++ b/api/model_tax_rule_data_relationships_manual_tax_calculator_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_tax_rule_update.go b/api/model_tax_rule_update.go index 0f7b4f34a..eb0f0a5a5 100644 --- a/api/model_tax_rule_update.go +++ b/api/model_tax_rule_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_tax_rule_update_data.go b/api/model_tax_rule_update_data.go index 7ec2ee7d9..f1a11ee03 100644 --- a/api/model_tax_rule_update_data.go +++ b/api/model_tax_rule_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_tax_rule_update_data_relationships.go b/api/model_tax_rule_update_data_relationships.go index cb7642f41..3b0cab9c1 100644 --- a/api/model_tax_rule_update_data_relationships.go +++ b/api/model_tax_rule_update_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_taxjar_account.go b/api/model_taxjar_account.go index 4b629d4a9..08d655931 100644 --- a/api/model_taxjar_account.go +++ b/api/model_taxjar_account.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_taxjar_account_create.go b/api/model_taxjar_account_create.go index 160467269..bc0fb7d84 100644 --- a/api/model_taxjar_account_create.go +++ b/api/model_taxjar_account_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_taxjar_account_create_data.go b/api/model_taxjar_account_create_data.go index a17fd30b1..6ff3a6c66 100644 --- a/api/model_taxjar_account_create_data.go +++ b/api/model_taxjar_account_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_taxjar_account_data.go b/api/model_taxjar_account_data.go index 82e99fe33..4c72f1bc3 100644 --- a/api/model_taxjar_account_data.go +++ b/api/model_taxjar_account_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_taxjar_account_data_relationships.go b/api/model_taxjar_account_data_relationships.go index 8ccfc4ebf..ea1a2bc55 100644 --- a/api/model_taxjar_account_data_relationships.go +++ b/api/model_taxjar_account_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_taxjar_account_update.go b/api/model_taxjar_account_update.go index 5fd131eb9..577b65657 100644 --- a/api/model_taxjar_account_update.go +++ b/api/model_taxjar_account_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_taxjar_account_update_data.go b/api/model_taxjar_account_update_data.go index b7db148c9..431d14d1d 100644 --- a/api/model_taxjar_account_update_data.go +++ b/api/model_taxjar_account_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_transaction.go b/api/model_transaction.go index 964a6f11d..90dd65fc3 100644 --- a/api/model_transaction.go +++ b/api/model_transaction.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_transaction_data.go b/api/model_transaction_data.go index 933dacb56..97be35f1e 100644 --- a/api/model_transaction_data.go +++ b/api/model_transaction_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_transaction_data_relationships.go b/api/model_transaction_data_relationships.go index 5f5b5f262..85505b534 100644 --- a/api/model_transaction_data_relationships.go +++ b/api/model_transaction_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -20,10 +20,11 @@ var _ MappedNullable = &TransactionDataRelationships{} // TransactionDataRelationships struct for TransactionDataRelationships type TransactionDataRelationships struct { - Order *AdyenPaymentDataRelationshipsOrder `json:"order,omitempty"` - Attachments *AuthorizationDataRelationshipsAttachments `json:"attachments,omitempty"` - Events *AddressDataRelationshipsEvents `json:"events,omitempty"` - Versions *AddressDataRelationshipsVersions `json:"versions,omitempty"` + Order *AdyenPaymentDataRelationshipsOrder `json:"order,omitempty"` + PaymentSource *AuthorizationDataRelationshipsPaymentSource `json:"payment_source,omitempty"` + Attachments *AuthorizationDataRelationshipsAttachments `json:"attachments,omitempty"` + Events *AddressDataRelationshipsEvents `json:"events,omitempty"` + Versions *AddressDataRelationshipsVersions `json:"versions,omitempty"` } // NewTransactionDataRelationships instantiates a new TransactionDataRelationships object @@ -75,6 +76,38 @@ func (o *TransactionDataRelationships) SetOrder(v AdyenPaymentDataRelationshipsO o.Order = &v } +// GetPaymentSource returns the PaymentSource field value if set, zero value otherwise. +func (o *TransactionDataRelationships) GetPaymentSource() AuthorizationDataRelationshipsPaymentSource { + if o == nil || IsNil(o.PaymentSource) { + var ret AuthorizationDataRelationshipsPaymentSource + return ret + } + return *o.PaymentSource +} + +// GetPaymentSourceOk returns a tuple with the PaymentSource field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TransactionDataRelationships) GetPaymentSourceOk() (*AuthorizationDataRelationshipsPaymentSource, bool) { + if o == nil || IsNil(o.PaymentSource) { + return nil, false + } + return o.PaymentSource, true +} + +// HasPaymentSource returns a boolean if a field has been set. +func (o *TransactionDataRelationships) HasPaymentSource() bool { + if o != nil && !IsNil(o.PaymentSource) { + return true + } + + return false +} + +// SetPaymentSource gets a reference to the given AuthorizationDataRelationshipsPaymentSource and assigns it to the PaymentSource field. +func (o *TransactionDataRelationships) SetPaymentSource(v AuthorizationDataRelationshipsPaymentSource) { + o.PaymentSource = &v +} + // GetAttachments returns the Attachments field value if set, zero value otherwise. func (o *TransactionDataRelationships) GetAttachments() AuthorizationDataRelationshipsAttachments { if o == nil || IsNil(o.Attachments) { @@ -184,6 +217,9 @@ func (o TransactionDataRelationships) ToMap() (map[string]interface{}, error) { if !IsNil(o.Order) { toSerialize["order"] = o.Order } + if !IsNil(o.PaymentSource) { + toSerialize["payment_source"] = o.PaymentSource + } if !IsNil(o.Attachments) { toSerialize["attachments"] = o.Attachments } diff --git a/api/model_version.go b/api/model_version.go index 3d07b506b..2f6ce6fcd 100644 --- a/api/model_version.go +++ b/api/model_version.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_version_data.go b/api/model_version_data.go index 42dcae41c..0c1af3544 100644 --- a/api/model_version_data.go +++ b/api/model_version_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_void.go b/api/model_void.go index 064240f88..f46f40f5c 100644 --- a/api/model_void.go +++ b/api/model_void.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_void_data.go b/api/model_void_data.go index bad3871f0..66045e3a8 100644 --- a/api/model_void_data.go +++ b/api/model_void_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_void_data_relationships.go b/api/model_void_data_relationships.go index 5390f3fb7..50472d531 100644 --- a/api/model_void_data_relationships.go +++ b/api/model_void_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -21,6 +21,7 @@ var _ MappedNullable = &VoidDataRelationships{} // VoidDataRelationships struct for VoidDataRelationships type VoidDataRelationships struct { Order *AdyenPaymentDataRelationshipsOrder `json:"order,omitempty"` + PaymentSource *AuthorizationDataRelationshipsPaymentSource `json:"payment_source,omitempty"` Attachments *AuthorizationDataRelationshipsAttachments `json:"attachments,omitempty"` Events *AddressDataRelationshipsEvents `json:"events,omitempty"` Versions *AddressDataRelationshipsVersions `json:"versions,omitempty"` @@ -76,6 +77,38 @@ func (o *VoidDataRelationships) SetOrder(v AdyenPaymentDataRelationshipsOrder) { o.Order = &v } +// GetPaymentSource returns the PaymentSource field value if set, zero value otherwise. +func (o *VoidDataRelationships) GetPaymentSource() AuthorizationDataRelationshipsPaymentSource { + if o == nil || IsNil(o.PaymentSource) { + var ret AuthorizationDataRelationshipsPaymentSource + return ret + } + return *o.PaymentSource +} + +// GetPaymentSourceOk returns a tuple with the PaymentSource field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VoidDataRelationships) GetPaymentSourceOk() (*AuthorizationDataRelationshipsPaymentSource, bool) { + if o == nil || IsNil(o.PaymentSource) { + return nil, false + } + return o.PaymentSource, true +} + +// HasPaymentSource returns a boolean if a field has been set. +func (o *VoidDataRelationships) HasPaymentSource() bool { + if o != nil && !IsNil(o.PaymentSource) { + return true + } + + return false +} + +// SetPaymentSource gets a reference to the given AuthorizationDataRelationshipsPaymentSource and assigns it to the PaymentSource field. +func (o *VoidDataRelationships) SetPaymentSource(v AuthorizationDataRelationshipsPaymentSource) { + o.PaymentSource = &v +} + // GetAttachments returns the Attachments field value if set, zero value otherwise. func (o *VoidDataRelationships) GetAttachments() AuthorizationDataRelationshipsAttachments { if o == nil || IsNil(o.Attachments) { @@ -217,6 +250,9 @@ func (o VoidDataRelationships) ToMap() (map[string]interface{}, error) { if !IsNil(o.Order) { toSerialize["order"] = o.Order } + if !IsNil(o.PaymentSource) { + toSerialize["payment_source"] = o.PaymentSource + } if !IsNil(o.Attachments) { toSerialize["attachments"] = o.Attachments } diff --git a/api/model_void_update.go b/api/model_void_update.go index aeb1236c2..0228684f0 100644 --- a/api/model_void_update.go +++ b/api/model_void_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_void_update_data.go b/api/model_void_update_data.go index 18b8aadb9..7ddbea411 100644 --- a/api/model_void_update_data.go +++ b/api/model_void_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_webhook.go b/api/model_webhook.go index c7ef407f8..6f16dd28b 100644 --- a/api/model_webhook.go +++ b/api/model_webhook.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_webhook_create.go b/api/model_webhook_create.go index 43feaec3e..889437643 100644 --- a/api/model_webhook_create.go +++ b/api/model_webhook_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_webhook_create_data.go b/api/model_webhook_create_data.go index 52fea3a5a..850071452 100644 --- a/api/model_webhook_create_data.go +++ b/api/model_webhook_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_webhook_data.go b/api/model_webhook_data.go index 0fd31de15..c34c1e5fc 100644 --- a/api/model_webhook_data.go +++ b/api/model_webhook_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_webhook_data_relationships.go b/api/model_webhook_data_relationships.go index 01eccfe33..9e000e5d6 100644 --- a/api/model_webhook_data_relationships.go +++ b/api/model_webhook_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_webhook_update.go b/api/model_webhook_update.go index 099ec5ff0..9848ac45a 100644 --- a/api/model_webhook_update.go +++ b/api/model_webhook_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_webhook_update_data.go b/api/model_webhook_update_data.go index a0f7ac82a..c492041f1 100644 --- a/api/model_webhook_update_data.go +++ b/api/model_webhook_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_wire_transfer.go b/api/model_wire_transfer.go index 44619756f..6201b66af 100644 --- a/api/model_wire_transfer.go +++ b/api/model_wire_transfer.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_wire_transfer_create.go b/api/model_wire_transfer_create.go index 96fa0522e..3febc5976 100644 --- a/api/model_wire_transfer_create.go +++ b/api/model_wire_transfer_create.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_wire_transfer_create_data.go b/api/model_wire_transfer_create_data.go index bbe3f2f62..b542e0540 100644 --- a/api/model_wire_transfer_create_data.go +++ b/api/model_wire_transfer_create_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_wire_transfer_data.go b/api/model_wire_transfer_data.go index 018f9d4c8..519cbd061 100644 --- a/api/model_wire_transfer_data.go +++ b/api/model_wire_transfer_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_wire_transfer_data_relationships.go b/api/model_wire_transfer_data_relationships.go index c33553615..5d3078e30 100644 --- a/api/model_wire_transfer_data_relationships.go +++ b/api/model_wire_transfer_data_relationships.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_wire_transfer_update.go b/api/model_wire_transfer_update.go index 01d83b774..590228219 100644 --- a/api/model_wire_transfer_update.go +++ b/api/model_wire_transfer_update.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/model_wire_transfer_update_data.go b/api/model_wire_transfer_update_data.go index ed3ae0023..e76fa92b8 100644 --- a/api/model_wire_transfer_update_data.go +++ b/api/model_wire_transfer_update_data.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ @@ -23,16 +23,16 @@ type WireTransferUpdateData struct { // The resource's type Type interface{} `json:"type"` // The resource's id - Id interface{} `json:"id"` - Attributes PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes `json:"attributes"` - Relationships *AdyenPaymentUpdateDataRelationships `json:"relationships,omitempty"` + Id interface{} `json:"id"` + Attributes PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes `json:"attributes"` + Relationships *AdyenPaymentUpdateDataRelationships `json:"relationships,omitempty"` } // NewWireTransferUpdateData instantiates a new WireTransferUpdateData object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewWireTransferUpdateData(type_ interface{}, id interface{}, attributes PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) *WireTransferUpdateData { +func NewWireTransferUpdateData(type_ interface{}, id interface{}, attributes PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) *WireTransferUpdateData { this := WireTransferUpdateData{} this.Type = type_ this.Id = id @@ -101,9 +101,9 @@ func (o *WireTransferUpdateData) SetId(v interface{}) { } // GetAttributes returns the Attributes field value -func (o *WireTransferUpdateData) GetAttributes() PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes { +func (o *WireTransferUpdateData) GetAttributes() PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes { if o == nil { - var ret PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes + var ret PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes return ret } @@ -112,7 +112,7 @@ func (o *WireTransferUpdateData) GetAttributes() PATCHBillingInfoValidationRules // GetAttributesOk returns a tuple with the Attributes field value // and a boolean to check if the value has been set. -func (o *WireTransferUpdateData) GetAttributesOk() (*PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes, bool) { +func (o *WireTransferUpdateData) GetAttributesOk() (*PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes, bool) { if o == nil { return nil, false } @@ -120,7 +120,7 @@ func (o *WireTransferUpdateData) GetAttributesOk() (*PATCHBillingInfoValidationR } // SetAttributes sets field value -func (o *WireTransferUpdateData) SetAttributes(v PATCHBillingInfoValidationRulesBillingInfoValidationRuleId200ResponseDataAttributes) { +func (o *WireTransferUpdateData) SetAttributes(v PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId200ResponseDataAttributes) { o.Attributes = v } diff --git a/api/response.go b/api/response.go index 07c510fd0..a7e2c20a1 100644 --- a/api/response.go +++ b/api/response.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/api/test/api_addresses_test.go b/api/test/api_addresses_test.go deleted file mode 100644 index d03aa5b49..000000000 --- a/api/test/api_addresses_test.go +++ /dev/null @@ -1,246 +0,0 @@ -/* -Commerce Layer API - -Testing AddressesApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_AddressesApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test AddressesApiService DELETEAddressesAddressId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var addressId interface{} - - httpRes, err := apiClient.AddressesApi.DELETEAddressesAddressId(context.Background(), addressId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AddressesApiService GETAddresses", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.AddressesApi.GETAddresses(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AddressesApiService GETAddressesAddressId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var addressId interface{} - - resp, httpRes, err := apiClient.AddressesApi.GETAddressesAddressId(context.Background(), addressId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AddressesApiService GETBingGeocoderIdAddresses", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var bingGeocoderId interface{} - - httpRes, err := apiClient.AddressesApi.GETBingGeocoderIdAddresses(context.Background(), bingGeocoderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AddressesApiService GETCustomerAddressIdAddress", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerAddressId interface{} - - httpRes, err := apiClient.AddressesApi.GETCustomerAddressIdAddress(context.Background(), customerAddressId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AddressesApiService GETGeocoderIdAddresses", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var geocoderId interface{} - - httpRes, err := apiClient.AddressesApi.GETGeocoderIdAddresses(context.Background(), geocoderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AddressesApiService GETGoogleGeocoderIdAddresses", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var googleGeocoderId interface{} - - httpRes, err := apiClient.AddressesApi.GETGoogleGeocoderIdAddresses(context.Background(), googleGeocoderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AddressesApiService GETMerchantIdAddress", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var merchantId interface{} - - httpRes, err := apiClient.AddressesApi.GETMerchantIdAddress(context.Background(), merchantId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AddressesApiService GETOrderIdBillingAddress", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.AddressesApi.GETOrderIdBillingAddress(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AddressesApiService GETOrderIdShippingAddress", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.AddressesApi.GETOrderIdShippingAddress(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AddressesApiService GETReturnIdDestinationAddress", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnId interface{} - - httpRes, err := apiClient.AddressesApi.GETReturnIdDestinationAddress(context.Background(), returnId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AddressesApiService GETReturnIdOriginAddress", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnId interface{} - - httpRes, err := apiClient.AddressesApi.GETReturnIdOriginAddress(context.Background(), returnId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AddressesApiService GETShipmentIdOriginAddress", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.AddressesApi.GETShipmentIdOriginAddress(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AddressesApiService GETShipmentIdShippingAddress", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.AddressesApi.GETShipmentIdShippingAddress(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AddressesApiService GETStockLocationIdAddress", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLocationId interface{} - - httpRes, err := apiClient.AddressesApi.GETStockLocationIdAddress(context.Background(), stockLocationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AddressesApiService PATCHAddressesAddressId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var addressId interface{} - - resp, httpRes, err := apiClient.AddressesApi.PATCHAddressesAddressId(context.Background(), addressId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AddressesApiService POSTAddresses", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.AddressesApi.POSTAddresses(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_adjustments_test.go b/api/test/api_adjustments_test.go deleted file mode 100644 index 17335d12c..000000000 --- a/api/test/api_adjustments_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing AdjustmentsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_AdjustmentsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test AdjustmentsApiService DELETEAdjustmentsAdjustmentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var adjustmentId interface{} - - httpRes, err := apiClient.AdjustmentsApi.DELETEAdjustmentsAdjustmentId(context.Background(), adjustmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AdjustmentsApiService GETAdjustments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.AdjustmentsApi.GETAdjustments(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AdjustmentsApiService GETAdjustmentsAdjustmentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var adjustmentId interface{} - - resp, httpRes, err := apiClient.AdjustmentsApi.GETAdjustmentsAdjustmentId(context.Background(), adjustmentId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AdjustmentsApiService PATCHAdjustmentsAdjustmentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var adjustmentId interface{} - - resp, httpRes, err := apiClient.AdjustmentsApi.PATCHAdjustmentsAdjustmentId(context.Background(), adjustmentId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AdjustmentsApiService POSTAdjustments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.AdjustmentsApi.POSTAdjustments(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_adyen_gateways_test.go b/api/test/api_adyen_gateways_test.go deleted file mode 100644 index f8d22d69e..000000000 --- a/api/test/api_adyen_gateways_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing AdyenGatewaysApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_AdyenGatewaysApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test AdyenGatewaysApiService DELETEAdyenGatewaysAdyenGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var adyenGatewayId interface{} - - httpRes, err := apiClient.AdyenGatewaysApi.DELETEAdyenGatewaysAdyenGatewayId(context.Background(), adyenGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AdyenGatewaysApiService GETAdyenGateways", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.AdyenGatewaysApi.GETAdyenGateways(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AdyenGatewaysApiService GETAdyenGatewaysAdyenGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var adyenGatewayId interface{} - - resp, httpRes, err := apiClient.AdyenGatewaysApi.GETAdyenGatewaysAdyenGatewayId(context.Background(), adyenGatewayId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AdyenGatewaysApiService PATCHAdyenGatewaysAdyenGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var adyenGatewayId interface{} - - resp, httpRes, err := apiClient.AdyenGatewaysApi.PATCHAdyenGatewaysAdyenGatewayId(context.Background(), adyenGatewayId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AdyenGatewaysApiService POSTAdyenGateways", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.AdyenGatewaysApi.POSTAdyenGateways(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_adyen_payments_test.go b/api/test/api_adyen_payments_test.go deleted file mode 100644 index 63b043bee..000000000 --- a/api/test/api_adyen_payments_test.go +++ /dev/null @@ -1,103 +0,0 @@ -/* -Commerce Layer API - -Testing AdyenPaymentsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_AdyenPaymentsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test AdyenPaymentsApiService DELETEAdyenPaymentsAdyenPaymentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var adyenPaymentId interface{} - - httpRes, err := apiClient.AdyenPaymentsApi.DELETEAdyenPaymentsAdyenPaymentId(context.Background(), adyenPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AdyenPaymentsApiService GETAdyenGatewayIdAdyenPayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var adyenGatewayId interface{} - - httpRes, err := apiClient.AdyenPaymentsApi.GETAdyenGatewayIdAdyenPayments(context.Background(), adyenGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AdyenPaymentsApiService GETAdyenPayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.AdyenPaymentsApi.GETAdyenPayments(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AdyenPaymentsApiService GETAdyenPaymentsAdyenPaymentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var adyenPaymentId interface{} - - resp, httpRes, err := apiClient.AdyenPaymentsApi.GETAdyenPaymentsAdyenPaymentId(context.Background(), adyenPaymentId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AdyenPaymentsApiService PATCHAdyenPaymentsAdyenPaymentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var adyenPaymentId interface{} - - resp, httpRes, err := apiClient.AdyenPaymentsApi.PATCHAdyenPaymentsAdyenPaymentId(context.Background(), adyenPaymentId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AdyenPaymentsApiService POSTAdyenPayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.AdyenPaymentsApi.POSTAdyenPayments(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_application_test.go b/api/test/api_application_test.go deleted file mode 100644 index fb278b7a7..000000000 --- a/api/test/api_application_test.go +++ /dev/null @@ -1,37 +0,0 @@ -/* -Commerce Layer API - -Testing ApplicationApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_ApplicationApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test ApplicationApiService GETApplicationApplicationId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ApplicationApi.GETApplicationApplicationId(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_attachments_test.go b/api/test/api_attachments_test.go deleted file mode 100644 index ceab93bfd..000000000 --- a/api/test/api_attachments_test.go +++ /dev/null @@ -1,857 +0,0 @@ -/* -Commerce Layer API - -Testing AttachmentsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_AttachmentsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test AttachmentsApiService DELETEAttachmentsAttachmentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var attachmentId interface{} - - httpRes, err := apiClient.AttachmentsApi.DELETEAttachmentsAttachmentId(context.Background(), attachmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.AttachmentsApi.GETAttachments(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETAttachmentsAttachmentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var attachmentId interface{} - - resp, httpRes, err := apiClient.AttachmentsApi.GETAttachmentsAttachmentId(context.Background(), attachmentId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETAuthorizationIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var authorizationId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETAuthorizationIdAttachments(context.Background(), authorizationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETAvalaraAccountIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var avalaraAccountId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETAvalaraAccountIdAttachments(context.Background(), avalaraAccountId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETBillingInfoValidationRuleIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var billingInfoValidationRuleId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETBillingInfoValidationRuleIdAttachments(context.Background(), billingInfoValidationRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETBingGeocoderIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var bingGeocoderId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETBingGeocoderIdAttachments(context.Background(), bingGeocoderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETBundleIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var bundleId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETBundleIdAttachments(context.Background(), bundleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETBuyXPayYPromotionIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var buyXPayYPromotionId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETBuyXPayYPromotionIdAttachments(context.Background(), buyXPayYPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETCaptureIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var captureId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETCaptureIdAttachments(context.Background(), captureId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETCarrierAccountIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var carrierAccountId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETCarrierAccountIdAttachments(context.Background(), carrierAccountId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETCouponRecipientIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var couponRecipientId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETCouponRecipientIdAttachments(context.Background(), couponRecipientId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETCustomerGroupIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerGroupId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETCustomerGroupIdAttachments(context.Background(), customerGroupId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETCustomerIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETCustomerIdAttachments(context.Background(), customerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETDeliveryLeadTimeIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var deliveryLeadTimeId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETDeliveryLeadTimeIdAttachments(context.Background(), deliveryLeadTimeId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETExternalPromotionIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPromotionId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETExternalPromotionIdAttachments(context.Background(), externalPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETExternalTaxCalculatorIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalTaxCalculatorId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETExternalTaxCalculatorIdAttachments(context.Background(), externalTaxCalculatorId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETFixedAmountPromotionIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedAmountPromotionId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETFixedAmountPromotionIdAttachments(context.Background(), fixedAmountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETFixedPricePromotionIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedPricePromotionId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETFixedPricePromotionIdAttachments(context.Background(), fixedPricePromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETFlexPromotionIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var flexPromotionId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETFlexPromotionIdAttachments(context.Background(), flexPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETFreeGiftPromotionIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeGiftPromotionId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETFreeGiftPromotionIdAttachments(context.Background(), freeGiftPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETFreeShippingPromotionIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeShippingPromotionId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETFreeShippingPromotionIdAttachments(context.Background(), freeShippingPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETGeocoderIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var geocoderId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETGeocoderIdAttachments(context.Background(), geocoderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETGiftCardIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var giftCardId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETGiftCardIdAttachments(context.Background(), giftCardId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETGiftCardRecipientIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var giftCardRecipientId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETGiftCardRecipientIdAttachments(context.Background(), giftCardRecipientId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETGoogleGeocoderIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var googleGeocoderId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETGoogleGeocoderIdAttachments(context.Background(), googleGeocoderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETInventoryModelIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inventoryModelId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETInventoryModelIdAttachments(context.Background(), inventoryModelId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETManualTaxCalculatorIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var manualTaxCalculatorId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETManualTaxCalculatorIdAttachments(context.Background(), manualTaxCalculatorId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETMarketIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var marketId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETMarketIdAttachments(context.Background(), marketId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETMerchantIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var merchantId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETMerchantIdAttachments(context.Background(), merchantId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETOrderIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETOrderIdAttachments(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETPackageIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var packageId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETPackageIdAttachments(context.Background(), packageId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETParcelIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var parcelId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETParcelIdAttachments(context.Background(), parcelId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETPaymentMethodIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paymentMethodId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETPaymentMethodIdAttachments(context.Background(), paymentMethodId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETPaymentOptionIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paymentOptionId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETPaymentOptionIdAttachments(context.Background(), paymentOptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETPercentageDiscountPromotionIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var percentageDiscountPromotionId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETPercentageDiscountPromotionIdAttachments(context.Background(), percentageDiscountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETPriceFrequencyTierIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceFrequencyTierId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETPriceFrequencyTierIdAttachments(context.Background(), priceFrequencyTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETPriceIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETPriceIdAttachments(context.Background(), priceId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETPriceListIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceListId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETPriceListIdAttachments(context.Background(), priceListId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETPriceTierIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceTierId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETPriceTierIdAttachments(context.Background(), priceTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETPriceVolumeTierIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceVolumeTierId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETPriceVolumeTierIdAttachments(context.Background(), priceVolumeTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETPromotionIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var promotionId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETPromotionIdAttachments(context.Background(), promotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETRefundIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var refundId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETRefundIdAttachments(context.Background(), refundId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETReturnIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETReturnIdAttachments(context.Background(), returnId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETShipmentIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETShipmentIdAttachments(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETShippingCategoryIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingCategoryId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETShippingCategoryIdAttachments(context.Background(), shippingCategoryId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETShippingMethodIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingMethodId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETShippingMethodIdAttachments(context.Background(), shippingMethodId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETShippingMethodTierIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingMethodTierId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETShippingMethodTierIdAttachments(context.Background(), shippingMethodTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETShippingWeightTierIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingWeightTierId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETShippingWeightTierIdAttachments(context.Background(), shippingWeightTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETShippingZoneIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingZoneId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETShippingZoneIdAttachments(context.Background(), shippingZoneId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETSkuIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETSkuIdAttachments(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETSkuListIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETSkuListIdAttachments(context.Background(), skuListId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETSkuOptionIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuOptionId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETSkuOptionIdAttachments(context.Background(), skuOptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETStockItemIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockItemId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETStockItemIdAttachments(context.Background(), stockItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETStockLocationIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLocationId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETStockLocationIdAttachments(context.Background(), stockLocationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETStockTransferIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockTransferId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETStockTransferIdAttachments(context.Background(), stockTransferId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETSubscriptionModelIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var subscriptionModelId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETSubscriptionModelIdAttachments(context.Background(), subscriptionModelId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETTaxCalculatorIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxCalculatorId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETTaxCalculatorIdAttachments(context.Background(), taxCalculatorId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETTaxCategoryIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxCategoryId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETTaxCategoryIdAttachments(context.Background(), taxCategoryId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETTaxjarAccountIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxjarAccountId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETTaxjarAccountIdAttachments(context.Background(), taxjarAccountId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETTransactionIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var transactionId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETTransactionIdAttachments(context.Background(), transactionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService GETVoidIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var voidId interface{} - - httpRes, err := apiClient.AttachmentsApi.GETVoidIdAttachments(context.Background(), voidId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService PATCHAttachmentsAttachmentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var attachmentId interface{} - - resp, httpRes, err := apiClient.AttachmentsApi.PATCHAttachmentsAttachmentId(context.Background(), attachmentId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AttachmentsApiService POSTAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.AttachmentsApi.POSTAttachments(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_authorizations_test.go b/api/test/api_authorizations_test.go deleted file mode 100644 index dc554bd5e..000000000 --- a/api/test/api_authorizations_test.go +++ /dev/null @@ -1,104 +0,0 @@ -/* -Commerce Layer API - -Testing AuthorizationsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_AuthorizationsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test AuthorizationsApiService GETAuthorizations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.AuthorizationsApi.GETAuthorizations(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AuthorizationsApiService GETAuthorizationsAuthorizationId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var authorizationId interface{} - - resp, httpRes, err := apiClient.AuthorizationsApi.GETAuthorizationsAuthorizationId(context.Background(), authorizationId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AuthorizationsApiService GETCaptureIdReferenceAuthorization", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var captureId interface{} - - httpRes, err := apiClient.AuthorizationsApi.GETCaptureIdReferenceAuthorization(context.Background(), captureId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AuthorizationsApiService GETOrderIdAuthorizations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.AuthorizationsApi.GETOrderIdAuthorizations(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AuthorizationsApiService GETVoidIdReferenceAuthorization", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var voidId interface{} - - httpRes, err := apiClient.AuthorizationsApi.GETVoidIdReferenceAuthorization(context.Background(), voidId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AuthorizationsApiService PATCHAuthorizationsAuthorizationId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var authorizationId interface{} - - resp, httpRes, err := apiClient.AuthorizationsApi.PATCHAuthorizationsAuthorizationId(context.Background(), authorizationId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_avalara_accounts_test.go b/api/test/api_avalara_accounts_test.go deleted file mode 100644 index 7d30c179f..000000000 --- a/api/test/api_avalara_accounts_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing AvalaraAccountsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_AvalaraAccountsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test AvalaraAccountsApiService DELETEAvalaraAccountsAvalaraAccountId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var avalaraAccountId interface{} - - httpRes, err := apiClient.AvalaraAccountsApi.DELETEAvalaraAccountsAvalaraAccountId(context.Background(), avalaraAccountId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AvalaraAccountsApiService GETAvalaraAccounts", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.AvalaraAccountsApi.GETAvalaraAccounts(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AvalaraAccountsApiService GETAvalaraAccountsAvalaraAccountId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var avalaraAccountId interface{} - - resp, httpRes, err := apiClient.AvalaraAccountsApi.GETAvalaraAccountsAvalaraAccountId(context.Background(), avalaraAccountId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AvalaraAccountsApiService PATCHAvalaraAccountsAvalaraAccountId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var avalaraAccountId interface{} - - resp, httpRes, err := apiClient.AvalaraAccountsApi.PATCHAvalaraAccountsAvalaraAccountId(context.Background(), avalaraAccountId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AvalaraAccountsApiService POSTAvalaraAccounts", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.AvalaraAccountsApi.POSTAvalaraAccounts(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_axerve_gateways_test.go b/api/test/api_axerve_gateways_test.go deleted file mode 100644 index 4ee055e46..000000000 --- a/api/test/api_axerve_gateways_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing AxerveGatewaysApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_AxerveGatewaysApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test AxerveGatewaysApiService DELETEAxerveGatewaysAxerveGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var axerveGatewayId interface{} - - httpRes, err := apiClient.AxerveGatewaysApi.DELETEAxerveGatewaysAxerveGatewayId(context.Background(), axerveGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AxerveGatewaysApiService GETAxerveGateways", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.AxerveGatewaysApi.GETAxerveGateways(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AxerveGatewaysApiService GETAxerveGatewaysAxerveGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var axerveGatewayId interface{} - - resp, httpRes, err := apiClient.AxerveGatewaysApi.GETAxerveGatewaysAxerveGatewayId(context.Background(), axerveGatewayId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AxerveGatewaysApiService PATCHAxerveGatewaysAxerveGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var axerveGatewayId interface{} - - resp, httpRes, err := apiClient.AxerveGatewaysApi.PATCHAxerveGatewaysAxerveGatewayId(context.Background(), axerveGatewayId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AxerveGatewaysApiService POSTAxerveGateways", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.AxerveGatewaysApi.POSTAxerveGateways(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_axerve_payments_test.go b/api/test/api_axerve_payments_test.go deleted file mode 100644 index 72761c43f..000000000 --- a/api/test/api_axerve_payments_test.go +++ /dev/null @@ -1,103 +0,0 @@ -/* -Commerce Layer API - -Testing AxervePaymentsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_AxervePaymentsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test AxervePaymentsApiService DELETEAxervePaymentsAxervePaymentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var axervePaymentId interface{} - - httpRes, err := apiClient.AxervePaymentsApi.DELETEAxervePaymentsAxervePaymentId(context.Background(), axervePaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AxervePaymentsApiService GETAxerveGatewayIdAxervePayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var axerveGatewayId interface{} - - httpRes, err := apiClient.AxervePaymentsApi.GETAxerveGatewayIdAxervePayments(context.Background(), axerveGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AxervePaymentsApiService GETAxervePayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.AxervePaymentsApi.GETAxervePayments(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AxervePaymentsApiService GETAxervePaymentsAxervePaymentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var axervePaymentId interface{} - - resp, httpRes, err := apiClient.AxervePaymentsApi.GETAxervePaymentsAxervePaymentId(context.Background(), axervePaymentId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AxervePaymentsApiService PATCHAxervePaymentsAxervePaymentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var axervePaymentId interface{} - - resp, httpRes, err := apiClient.AxervePaymentsApi.PATCHAxervePaymentsAxervePaymentId(context.Background(), axervePaymentId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test AxervePaymentsApiService POSTAxervePayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.AxervePaymentsApi.POSTAxervePayments(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_billing_info_validation_rules_test.go b/api/test/api_billing_info_validation_rules_test.go deleted file mode 100644 index 87f597241..000000000 --- a/api/test/api_billing_info_validation_rules_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing BillingInfoValidationRulesApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_BillingInfoValidationRulesApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test BillingInfoValidationRulesApiService DELETEBillingInfoValidationRulesBillingInfoValidationRuleId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var billingInfoValidationRuleId interface{} - - httpRes, err := apiClient.BillingInfoValidationRulesApi.DELETEBillingInfoValidationRulesBillingInfoValidationRuleId(context.Background(), billingInfoValidationRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test BillingInfoValidationRulesApiService GETBillingInfoValidationRules", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.BillingInfoValidationRulesApi.GETBillingInfoValidationRules(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test BillingInfoValidationRulesApiService GETBillingInfoValidationRulesBillingInfoValidationRuleId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var billingInfoValidationRuleId interface{} - - resp, httpRes, err := apiClient.BillingInfoValidationRulesApi.GETBillingInfoValidationRulesBillingInfoValidationRuleId(context.Background(), billingInfoValidationRuleId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test BillingInfoValidationRulesApiService PATCHBillingInfoValidationRulesBillingInfoValidationRuleId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var billingInfoValidationRuleId interface{} - - resp, httpRes, err := apiClient.BillingInfoValidationRulesApi.PATCHBillingInfoValidationRulesBillingInfoValidationRuleId(context.Background(), billingInfoValidationRuleId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test BillingInfoValidationRulesApiService POSTBillingInfoValidationRules", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.BillingInfoValidationRulesApi.POSTBillingInfoValidationRules(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_bing_geocoders_test.go b/api/test/api_bing_geocoders_test.go deleted file mode 100644 index fb0abc725..000000000 --- a/api/test/api_bing_geocoders_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing BingGeocodersApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_BingGeocodersApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test BingGeocodersApiService DELETEBingGeocodersBingGeocoderId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var bingGeocoderId interface{} - - httpRes, err := apiClient.BingGeocodersApi.DELETEBingGeocodersBingGeocoderId(context.Background(), bingGeocoderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test BingGeocodersApiService GETBingGeocoders", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.BingGeocodersApi.GETBingGeocoders(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test BingGeocodersApiService GETBingGeocodersBingGeocoderId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var bingGeocoderId interface{} - - resp, httpRes, err := apiClient.BingGeocodersApi.GETBingGeocodersBingGeocoderId(context.Background(), bingGeocoderId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test BingGeocodersApiService PATCHBingGeocodersBingGeocoderId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var bingGeocoderId interface{} - - resp, httpRes, err := apiClient.BingGeocodersApi.PATCHBingGeocodersBingGeocoderId(context.Background(), bingGeocoderId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test BingGeocodersApiService POSTBingGeocoders", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.BingGeocodersApi.POSTBingGeocoders(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_braintree_gateways_test.go b/api/test/api_braintree_gateways_test.go deleted file mode 100644 index 9f75e01e7..000000000 --- a/api/test/api_braintree_gateways_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing BraintreeGatewaysApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_BraintreeGatewaysApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test BraintreeGatewaysApiService DELETEBraintreeGatewaysBraintreeGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var braintreeGatewayId interface{} - - httpRes, err := apiClient.BraintreeGatewaysApi.DELETEBraintreeGatewaysBraintreeGatewayId(context.Background(), braintreeGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test BraintreeGatewaysApiService GETBraintreeGateways", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.BraintreeGatewaysApi.GETBraintreeGateways(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test BraintreeGatewaysApiService GETBraintreeGatewaysBraintreeGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var braintreeGatewayId interface{} - - resp, httpRes, err := apiClient.BraintreeGatewaysApi.GETBraintreeGatewaysBraintreeGatewayId(context.Background(), braintreeGatewayId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test BraintreeGatewaysApiService PATCHBraintreeGatewaysBraintreeGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var braintreeGatewayId interface{} - - resp, httpRes, err := apiClient.BraintreeGatewaysApi.PATCHBraintreeGatewaysBraintreeGatewayId(context.Background(), braintreeGatewayId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test BraintreeGatewaysApiService POSTBraintreeGateways", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.BraintreeGatewaysApi.POSTBraintreeGateways(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_braintree_payments_test.go b/api/test/api_braintree_payments_test.go deleted file mode 100644 index dd96c3606..000000000 --- a/api/test/api_braintree_payments_test.go +++ /dev/null @@ -1,103 +0,0 @@ -/* -Commerce Layer API - -Testing BraintreePaymentsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_BraintreePaymentsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test BraintreePaymentsApiService DELETEBraintreePaymentsBraintreePaymentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var braintreePaymentId interface{} - - httpRes, err := apiClient.BraintreePaymentsApi.DELETEBraintreePaymentsBraintreePaymentId(context.Background(), braintreePaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test BraintreePaymentsApiService GETBraintreeGatewayIdBraintreePayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var braintreeGatewayId interface{} - - httpRes, err := apiClient.BraintreePaymentsApi.GETBraintreeGatewayIdBraintreePayments(context.Background(), braintreeGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test BraintreePaymentsApiService GETBraintreePayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.BraintreePaymentsApi.GETBraintreePayments(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test BraintreePaymentsApiService GETBraintreePaymentsBraintreePaymentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var braintreePaymentId interface{} - - resp, httpRes, err := apiClient.BraintreePaymentsApi.GETBraintreePaymentsBraintreePaymentId(context.Background(), braintreePaymentId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test BraintreePaymentsApiService PATCHBraintreePaymentsBraintreePaymentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var braintreePaymentId interface{} - - resp, httpRes, err := apiClient.BraintreePaymentsApi.PATCHBraintreePaymentsBraintreePaymentId(context.Background(), braintreePaymentId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test BraintreePaymentsApiService POSTBraintreePayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.BraintreePaymentsApi.POSTBraintreePayments(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_bundles_test.go b/api/test/api_bundles_test.go deleted file mode 100644 index 634be8c85..000000000 --- a/api/test/api_bundles_test.go +++ /dev/null @@ -1,116 +0,0 @@ -/* -Commerce Layer API - -Testing BundlesApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_BundlesApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test BundlesApiService DELETEBundlesBundleId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var bundleId interface{} - - httpRes, err := apiClient.BundlesApi.DELETEBundlesBundleId(context.Background(), bundleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test BundlesApiService GETBundles", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.BundlesApi.GETBundles(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test BundlesApiService GETBundlesBundleId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var bundleId interface{} - - resp, httpRes, err := apiClient.BundlesApi.GETBundlesBundleId(context.Background(), bundleId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test BundlesApiService GETOrderIdAvailableFreeBundles", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.BundlesApi.GETOrderIdAvailableFreeBundles(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test BundlesApiService GETSkuListIdBundles", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListId interface{} - - httpRes, err := apiClient.BundlesApi.GETSkuListIdBundles(context.Background(), skuListId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test BundlesApiService PATCHBundlesBundleId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var bundleId interface{} - - resp, httpRes, err := apiClient.BundlesApi.PATCHBundlesBundleId(context.Background(), bundleId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test BundlesApiService POSTBundles", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.BundlesApi.POSTBundles(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_buy_x_pay_y_promotions_test.go b/api/test/api_buy_x_pay_y_promotions_test.go deleted file mode 100644 index 00da276dd..000000000 --- a/api/test/api_buy_x_pay_y_promotions_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing BuyXPayYPromotionsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_BuyXPayYPromotionsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test BuyXPayYPromotionsApiService DELETEBuyXPayYPromotionsBuyXPayYPromotionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var buyXPayYPromotionId interface{} - - httpRes, err := apiClient.BuyXPayYPromotionsApi.DELETEBuyXPayYPromotionsBuyXPayYPromotionId(context.Background(), buyXPayYPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test BuyXPayYPromotionsApiService GETBuyXPayYPromotions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.BuyXPayYPromotionsApi.GETBuyXPayYPromotions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test BuyXPayYPromotionsApiService GETBuyXPayYPromotionsBuyXPayYPromotionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var buyXPayYPromotionId interface{} - - resp, httpRes, err := apiClient.BuyXPayYPromotionsApi.GETBuyXPayYPromotionsBuyXPayYPromotionId(context.Background(), buyXPayYPromotionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test BuyXPayYPromotionsApiService PATCHBuyXPayYPromotionsBuyXPayYPromotionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var buyXPayYPromotionId interface{} - - resp, httpRes, err := apiClient.BuyXPayYPromotionsApi.PATCHBuyXPayYPromotionsBuyXPayYPromotionId(context.Background(), buyXPayYPromotionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test BuyXPayYPromotionsApiService POSTBuyXPayYPromotions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.BuyXPayYPromotionsApi.POSTBuyXPayYPromotions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_captures_test.go b/api/test/api_captures_test.go deleted file mode 100644 index 62160dcd0..000000000 --- a/api/test/api_captures_test.go +++ /dev/null @@ -1,117 +0,0 @@ -/* -Commerce Layer API - -Testing CapturesApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_CapturesApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test CapturesApiService GETAuthorizationIdCaptures", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var authorizationId interface{} - - httpRes, err := apiClient.CapturesApi.GETAuthorizationIdCaptures(context.Background(), authorizationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CapturesApiService GETCaptures", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.CapturesApi.GETCaptures(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CapturesApiService GETCapturesCaptureId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var captureId interface{} - - resp, httpRes, err := apiClient.CapturesApi.GETCapturesCaptureId(context.Background(), captureId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CapturesApiService GETOrderIdCaptures", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.CapturesApi.GETOrderIdCaptures(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CapturesApiService GETRefundIdReferenceCapture", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var refundId interface{} - - httpRes, err := apiClient.CapturesApi.GETRefundIdReferenceCapture(context.Background(), refundId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CapturesApiService GETReturnIdReferenceCapture", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnId interface{} - - httpRes, err := apiClient.CapturesApi.GETReturnIdReferenceCapture(context.Background(), returnId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CapturesApiService PATCHCapturesCaptureId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var captureId interface{} - - resp, httpRes, err := apiClient.CapturesApi.PATCHCapturesCaptureId(context.Background(), captureId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_carrier_accounts_test.go b/api/test/api_carrier_accounts_test.go deleted file mode 100644 index d22195b68..000000000 --- a/api/test/api_carrier_accounts_test.go +++ /dev/null @@ -1,103 +0,0 @@ -/* -Commerce Layer API - -Testing CarrierAccountsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_CarrierAccountsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test CarrierAccountsApiService DELETECarrierAccountsCarrierAccountId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var carrierAccountId interface{} - - httpRes, err := apiClient.CarrierAccountsApi.DELETECarrierAccountsCarrierAccountId(context.Background(), carrierAccountId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CarrierAccountsApiService GETCarrierAccounts", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.CarrierAccountsApi.GETCarrierAccounts(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CarrierAccountsApiService GETCarrierAccountsCarrierAccountId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var carrierAccountId interface{} - - resp, httpRes, err := apiClient.CarrierAccountsApi.GETCarrierAccountsCarrierAccountId(context.Background(), carrierAccountId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CarrierAccountsApiService GETShipmentIdCarrierAccounts", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.CarrierAccountsApi.GETShipmentIdCarrierAccounts(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CarrierAccountsApiService PATCHCarrierAccountsCarrierAccountId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var carrierAccountId interface{} - - resp, httpRes, err := apiClient.CarrierAccountsApi.PATCHCarrierAccountsCarrierAccountId(context.Background(), carrierAccountId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CarrierAccountsApiService POSTCarrierAccounts", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.CarrierAccountsApi.POSTCarrierAccounts(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_checkout_com_gateways_test.go b/api/test/api_checkout_com_gateways_test.go deleted file mode 100644 index d614141d9..000000000 --- a/api/test/api_checkout_com_gateways_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing CheckoutComGatewaysApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_CheckoutComGatewaysApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test CheckoutComGatewaysApiService DELETECheckoutComGatewaysCheckoutComGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var checkoutComGatewayId interface{} - - httpRes, err := apiClient.CheckoutComGatewaysApi.DELETECheckoutComGatewaysCheckoutComGatewayId(context.Background(), checkoutComGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CheckoutComGatewaysApiService GETCheckoutComGateways", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.CheckoutComGatewaysApi.GETCheckoutComGateways(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CheckoutComGatewaysApiService GETCheckoutComGatewaysCheckoutComGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var checkoutComGatewayId interface{} - - resp, httpRes, err := apiClient.CheckoutComGatewaysApi.GETCheckoutComGatewaysCheckoutComGatewayId(context.Background(), checkoutComGatewayId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CheckoutComGatewaysApiService PATCHCheckoutComGatewaysCheckoutComGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var checkoutComGatewayId interface{} - - resp, httpRes, err := apiClient.CheckoutComGatewaysApi.PATCHCheckoutComGatewaysCheckoutComGatewayId(context.Background(), checkoutComGatewayId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CheckoutComGatewaysApiService POSTCheckoutComGateways", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.CheckoutComGatewaysApi.POSTCheckoutComGateways(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_checkout_com_payments_test.go b/api/test/api_checkout_com_payments_test.go deleted file mode 100644 index 617da5d6d..000000000 --- a/api/test/api_checkout_com_payments_test.go +++ /dev/null @@ -1,103 +0,0 @@ -/* -Commerce Layer API - -Testing CheckoutComPaymentsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_CheckoutComPaymentsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test CheckoutComPaymentsApiService DELETECheckoutComPaymentsCheckoutComPaymentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var checkoutComPaymentId interface{} - - httpRes, err := apiClient.CheckoutComPaymentsApi.DELETECheckoutComPaymentsCheckoutComPaymentId(context.Background(), checkoutComPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CheckoutComPaymentsApiService GETCheckoutComGatewayIdCheckoutComPayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var checkoutComGatewayId interface{} - - httpRes, err := apiClient.CheckoutComPaymentsApi.GETCheckoutComGatewayIdCheckoutComPayments(context.Background(), checkoutComGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CheckoutComPaymentsApiService GETCheckoutComPayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.CheckoutComPaymentsApi.GETCheckoutComPayments(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CheckoutComPaymentsApiService GETCheckoutComPaymentsCheckoutComPaymentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var checkoutComPaymentId interface{} - - resp, httpRes, err := apiClient.CheckoutComPaymentsApi.GETCheckoutComPaymentsCheckoutComPaymentId(context.Background(), checkoutComPaymentId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CheckoutComPaymentsApiService PATCHCheckoutComPaymentsCheckoutComPaymentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var checkoutComPaymentId interface{} - - resp, httpRes, err := apiClient.CheckoutComPaymentsApi.PATCHCheckoutComPaymentsCheckoutComPaymentId(context.Background(), checkoutComPaymentId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CheckoutComPaymentsApiService POSTCheckoutComPayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.CheckoutComPaymentsApi.POSTCheckoutComPayments(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_cleanups_test.go b/api/test/api_cleanups_test.go deleted file mode 100644 index ea1c64919..000000000 --- a/api/test/api_cleanups_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing CleanupsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_CleanupsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test CleanupsApiService DELETECleanupsCleanupId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var cleanupId interface{} - - httpRes, err := apiClient.CleanupsApi.DELETECleanupsCleanupId(context.Background(), cleanupId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CleanupsApiService GETCleanups", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.CleanupsApi.GETCleanups(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CleanupsApiService GETCleanupsCleanupId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var cleanupId interface{} - - resp, httpRes, err := apiClient.CleanupsApi.GETCleanupsCleanupId(context.Background(), cleanupId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CleanupsApiService PATCHCleanupsCleanupId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var cleanupId interface{} - - resp, httpRes, err := apiClient.CleanupsApi.PATCHCleanupsCleanupId(context.Background(), cleanupId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CleanupsApiService POSTCleanups", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.CleanupsApi.POSTCleanups(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_coupon_codes_promotion_rules_test.go b/api/test/api_coupon_codes_promotion_rules_test.go deleted file mode 100644 index 4e91bbc0d..000000000 --- a/api/test/api_coupon_codes_promotion_rules_test.go +++ /dev/null @@ -1,220 +0,0 @@ -/* -Commerce Layer API - -Testing CouponCodesPromotionRulesApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_CouponCodesPromotionRulesApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test CouponCodesPromotionRulesApiService DELETECouponCodesPromotionRulesCouponCodesPromotionRuleId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var couponCodesPromotionRuleId interface{} - - httpRes, err := apiClient.CouponCodesPromotionRulesApi.DELETECouponCodesPromotionRulesCouponCodesPromotionRuleId(context.Background(), couponCodesPromotionRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponCodesPromotionRulesApiService GETBuyXPayYPromotionIdCouponCodesPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var buyXPayYPromotionId interface{} - - httpRes, err := apiClient.CouponCodesPromotionRulesApi.GETBuyXPayYPromotionIdCouponCodesPromotionRule(context.Background(), buyXPayYPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponCodesPromotionRulesApiService GETCouponCodesPromotionRules", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.CouponCodesPromotionRulesApi.GETCouponCodesPromotionRules(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponCodesPromotionRulesApiService GETCouponCodesPromotionRulesCouponCodesPromotionRuleId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var couponCodesPromotionRuleId interface{} - - resp, httpRes, err := apiClient.CouponCodesPromotionRulesApi.GETCouponCodesPromotionRulesCouponCodesPromotionRuleId(context.Background(), couponCodesPromotionRuleId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponCodesPromotionRulesApiService GETCouponIdPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var couponId interface{} - - httpRes, err := apiClient.CouponCodesPromotionRulesApi.GETCouponIdPromotionRule(context.Background(), couponId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponCodesPromotionRulesApiService GETExternalPromotionIdCouponCodesPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPromotionId interface{} - - httpRes, err := apiClient.CouponCodesPromotionRulesApi.GETExternalPromotionIdCouponCodesPromotionRule(context.Background(), externalPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponCodesPromotionRulesApiService GETFixedAmountPromotionIdCouponCodesPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedAmountPromotionId interface{} - - httpRes, err := apiClient.CouponCodesPromotionRulesApi.GETFixedAmountPromotionIdCouponCodesPromotionRule(context.Background(), fixedAmountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponCodesPromotionRulesApiService GETFixedPricePromotionIdCouponCodesPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedPricePromotionId interface{} - - httpRes, err := apiClient.CouponCodesPromotionRulesApi.GETFixedPricePromotionIdCouponCodesPromotionRule(context.Background(), fixedPricePromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponCodesPromotionRulesApiService GETFlexPromotionIdCouponCodesPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var flexPromotionId interface{} - - httpRes, err := apiClient.CouponCodesPromotionRulesApi.GETFlexPromotionIdCouponCodesPromotionRule(context.Background(), flexPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponCodesPromotionRulesApiService GETFreeGiftPromotionIdCouponCodesPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeGiftPromotionId interface{} - - httpRes, err := apiClient.CouponCodesPromotionRulesApi.GETFreeGiftPromotionIdCouponCodesPromotionRule(context.Background(), freeGiftPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponCodesPromotionRulesApiService GETFreeShippingPromotionIdCouponCodesPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeShippingPromotionId interface{} - - httpRes, err := apiClient.CouponCodesPromotionRulesApi.GETFreeShippingPromotionIdCouponCodesPromotionRule(context.Background(), freeShippingPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponCodesPromotionRulesApiService GETPercentageDiscountPromotionIdCouponCodesPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var percentageDiscountPromotionId interface{} - - httpRes, err := apiClient.CouponCodesPromotionRulesApi.GETPercentageDiscountPromotionIdCouponCodesPromotionRule(context.Background(), percentageDiscountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponCodesPromotionRulesApiService GETPromotionIdCouponCodesPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var promotionId interface{} - - httpRes, err := apiClient.CouponCodesPromotionRulesApi.GETPromotionIdCouponCodesPromotionRule(context.Background(), promotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponCodesPromotionRulesApiService PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var couponCodesPromotionRuleId interface{} - - resp, httpRes, err := apiClient.CouponCodesPromotionRulesApi.PATCHCouponCodesPromotionRulesCouponCodesPromotionRuleId(context.Background(), couponCodesPromotionRuleId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponCodesPromotionRulesApiService POSTCouponCodesPromotionRules", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.CouponCodesPromotionRulesApi.POSTCouponCodesPromotionRules(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_coupon_recipients_test.go b/api/test/api_coupon_recipients_test.go deleted file mode 100644 index e6ef44f9e..000000000 --- a/api/test/api_coupon_recipients_test.go +++ /dev/null @@ -1,103 +0,0 @@ -/* -Commerce Layer API - -Testing CouponRecipientsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_CouponRecipientsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test CouponRecipientsApiService DELETECouponRecipientsCouponRecipientId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var couponRecipientId interface{} - - httpRes, err := apiClient.CouponRecipientsApi.DELETECouponRecipientsCouponRecipientId(context.Background(), couponRecipientId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponRecipientsApiService GETCouponIdCouponRecipient", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var couponId interface{} - - httpRes, err := apiClient.CouponRecipientsApi.GETCouponIdCouponRecipient(context.Background(), couponId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponRecipientsApiService GETCouponRecipients", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.CouponRecipientsApi.GETCouponRecipients(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponRecipientsApiService GETCouponRecipientsCouponRecipientId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var couponRecipientId interface{} - - resp, httpRes, err := apiClient.CouponRecipientsApi.GETCouponRecipientsCouponRecipientId(context.Background(), couponRecipientId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponRecipientsApiService PATCHCouponRecipientsCouponRecipientId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var couponRecipientId interface{} - - resp, httpRes, err := apiClient.CouponRecipientsApi.PATCHCouponRecipientsCouponRecipientId(context.Background(), couponRecipientId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponRecipientsApiService POSTCouponRecipients", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.CouponRecipientsApi.POSTCouponRecipients(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_coupons_test.go b/api/test/api_coupons_test.go deleted file mode 100644 index 5ea685c62..000000000 --- a/api/test/api_coupons_test.go +++ /dev/null @@ -1,220 +0,0 @@ -/* -Commerce Layer API - -Testing CouponsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_CouponsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test CouponsApiService DELETECouponsCouponId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var couponId interface{} - - httpRes, err := apiClient.CouponsApi.DELETECouponsCouponId(context.Background(), couponId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponsApiService GETBuyXPayYPromotionIdCoupons", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var buyXPayYPromotionId interface{} - - httpRes, err := apiClient.CouponsApi.GETBuyXPayYPromotionIdCoupons(context.Background(), buyXPayYPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponsApiService GETCouponCodesPromotionRuleIdCoupons", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var couponCodesPromotionRuleId interface{} - - httpRes, err := apiClient.CouponsApi.GETCouponCodesPromotionRuleIdCoupons(context.Background(), couponCodesPromotionRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponsApiService GETCoupons", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.CouponsApi.GETCoupons(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponsApiService GETCouponsCouponId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var couponId interface{} - - resp, httpRes, err := apiClient.CouponsApi.GETCouponsCouponId(context.Background(), couponId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponsApiService GETExternalPromotionIdCoupons", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPromotionId interface{} - - httpRes, err := apiClient.CouponsApi.GETExternalPromotionIdCoupons(context.Background(), externalPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponsApiService GETFixedAmountPromotionIdCoupons", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedAmountPromotionId interface{} - - httpRes, err := apiClient.CouponsApi.GETFixedAmountPromotionIdCoupons(context.Background(), fixedAmountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponsApiService GETFixedPricePromotionIdCoupons", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedPricePromotionId interface{} - - httpRes, err := apiClient.CouponsApi.GETFixedPricePromotionIdCoupons(context.Background(), fixedPricePromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponsApiService GETFlexPromotionIdCoupons", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var flexPromotionId interface{} - - httpRes, err := apiClient.CouponsApi.GETFlexPromotionIdCoupons(context.Background(), flexPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponsApiService GETFreeGiftPromotionIdCoupons", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeGiftPromotionId interface{} - - httpRes, err := apiClient.CouponsApi.GETFreeGiftPromotionIdCoupons(context.Background(), freeGiftPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponsApiService GETFreeShippingPromotionIdCoupons", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeShippingPromotionId interface{} - - httpRes, err := apiClient.CouponsApi.GETFreeShippingPromotionIdCoupons(context.Background(), freeShippingPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponsApiService GETPercentageDiscountPromotionIdCoupons", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var percentageDiscountPromotionId interface{} - - httpRes, err := apiClient.CouponsApi.GETPercentageDiscountPromotionIdCoupons(context.Background(), percentageDiscountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponsApiService GETPromotionIdCoupons", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var promotionId interface{} - - httpRes, err := apiClient.CouponsApi.GETPromotionIdCoupons(context.Background(), promotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponsApiService PATCHCouponsCouponId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var couponId interface{} - - resp, httpRes, err := apiClient.CouponsApi.PATCHCouponsCouponId(context.Background(), couponId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CouponsApiService POSTCoupons", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.CouponsApi.POSTCoupons(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_custom_promotion_rules_test.go b/api/test/api_custom_promotion_rules_test.go deleted file mode 100644 index dd903c969..000000000 --- a/api/test/api_custom_promotion_rules_test.go +++ /dev/null @@ -1,194 +0,0 @@ -/* -Commerce Layer API - -Testing CustomPromotionRulesApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_CustomPromotionRulesApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test CustomPromotionRulesApiService DELETECustomPromotionRulesCustomPromotionRuleId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customPromotionRuleId interface{} - - httpRes, err := apiClient.CustomPromotionRulesApi.DELETECustomPromotionRulesCustomPromotionRuleId(context.Background(), customPromotionRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomPromotionRulesApiService GETBuyXPayYPromotionIdCustomPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var buyXPayYPromotionId interface{} - - httpRes, err := apiClient.CustomPromotionRulesApi.GETBuyXPayYPromotionIdCustomPromotionRule(context.Background(), buyXPayYPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomPromotionRulesApiService GETCustomPromotionRules", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.CustomPromotionRulesApi.GETCustomPromotionRules(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomPromotionRulesApiService GETCustomPromotionRulesCustomPromotionRuleId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customPromotionRuleId interface{} - - resp, httpRes, err := apiClient.CustomPromotionRulesApi.GETCustomPromotionRulesCustomPromotionRuleId(context.Background(), customPromotionRuleId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomPromotionRulesApiService GETExternalPromotionIdCustomPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPromotionId interface{} - - httpRes, err := apiClient.CustomPromotionRulesApi.GETExternalPromotionIdCustomPromotionRule(context.Background(), externalPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomPromotionRulesApiService GETFixedAmountPromotionIdCustomPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedAmountPromotionId interface{} - - httpRes, err := apiClient.CustomPromotionRulesApi.GETFixedAmountPromotionIdCustomPromotionRule(context.Background(), fixedAmountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomPromotionRulesApiService GETFixedPricePromotionIdCustomPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedPricePromotionId interface{} - - httpRes, err := apiClient.CustomPromotionRulesApi.GETFixedPricePromotionIdCustomPromotionRule(context.Background(), fixedPricePromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomPromotionRulesApiService GETFreeGiftPromotionIdCustomPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeGiftPromotionId interface{} - - httpRes, err := apiClient.CustomPromotionRulesApi.GETFreeGiftPromotionIdCustomPromotionRule(context.Background(), freeGiftPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomPromotionRulesApiService GETFreeShippingPromotionIdCustomPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeShippingPromotionId interface{} - - httpRes, err := apiClient.CustomPromotionRulesApi.GETFreeShippingPromotionIdCustomPromotionRule(context.Background(), freeShippingPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomPromotionRulesApiService GETPercentageDiscountPromotionIdCustomPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var percentageDiscountPromotionId interface{} - - httpRes, err := apiClient.CustomPromotionRulesApi.GETPercentageDiscountPromotionIdCustomPromotionRule(context.Background(), percentageDiscountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomPromotionRulesApiService GETPromotionIdCustomPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var promotionId interface{} - - httpRes, err := apiClient.CustomPromotionRulesApi.GETPromotionIdCustomPromotionRule(context.Background(), promotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomPromotionRulesApiService PATCHCustomPromotionRulesCustomPromotionRuleId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customPromotionRuleId interface{} - - resp, httpRes, err := apiClient.CustomPromotionRulesApi.PATCHCustomPromotionRulesCustomPromotionRuleId(context.Background(), customPromotionRuleId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomPromotionRulesApiService POSTCustomPromotionRules", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.CustomPromotionRulesApi.POSTCustomPromotionRules(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_customer_addresses_test.go b/api/test/api_customer_addresses_test.go deleted file mode 100644 index 5f00f66d8..000000000 --- a/api/test/api_customer_addresses_test.go +++ /dev/null @@ -1,103 +0,0 @@ -/* -Commerce Layer API - -Testing CustomerAddressesApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_CustomerAddressesApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test CustomerAddressesApiService DELETECustomerAddressesCustomerAddressId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerAddressId interface{} - - httpRes, err := apiClient.CustomerAddressesApi.DELETECustomerAddressesCustomerAddressId(context.Background(), customerAddressId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomerAddressesApiService GETCustomerAddresses", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.CustomerAddressesApi.GETCustomerAddresses(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomerAddressesApiService GETCustomerAddressesCustomerAddressId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerAddressId interface{} - - resp, httpRes, err := apiClient.CustomerAddressesApi.GETCustomerAddressesCustomerAddressId(context.Background(), customerAddressId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomerAddressesApiService GETCustomerIdCustomerAddresses", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerId interface{} - - httpRes, err := apiClient.CustomerAddressesApi.GETCustomerIdCustomerAddresses(context.Background(), customerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomerAddressesApiService PATCHCustomerAddressesCustomerAddressId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerAddressId interface{} - - resp, httpRes, err := apiClient.CustomerAddressesApi.PATCHCustomerAddressesCustomerAddressId(context.Background(), customerAddressId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomerAddressesApiService POSTCustomerAddresses", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.CustomerAddressesApi.POSTCustomerAddresses(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_customer_groups_test.go b/api/test/api_customer_groups_test.go deleted file mode 100644 index d74a42a0a..000000000 --- a/api/test/api_customer_groups_test.go +++ /dev/null @@ -1,116 +0,0 @@ -/* -Commerce Layer API - -Testing CustomerGroupsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_CustomerGroupsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test CustomerGroupsApiService DELETECustomerGroupsCustomerGroupId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerGroupId interface{} - - httpRes, err := apiClient.CustomerGroupsApi.DELETECustomerGroupsCustomerGroupId(context.Background(), customerGroupId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomerGroupsApiService GETCustomerGroups", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.CustomerGroupsApi.GETCustomerGroups(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomerGroupsApiService GETCustomerGroupsCustomerGroupId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerGroupId interface{} - - resp, httpRes, err := apiClient.CustomerGroupsApi.GETCustomerGroupsCustomerGroupId(context.Background(), customerGroupId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomerGroupsApiService GETCustomerIdCustomerGroup", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerId interface{} - - httpRes, err := apiClient.CustomerGroupsApi.GETCustomerIdCustomerGroup(context.Background(), customerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomerGroupsApiService GETMarketIdCustomerGroup", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var marketId interface{} - - httpRes, err := apiClient.CustomerGroupsApi.GETMarketIdCustomerGroup(context.Background(), marketId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomerGroupsApiService PATCHCustomerGroupsCustomerGroupId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerGroupId interface{} - - resp, httpRes, err := apiClient.CustomerGroupsApi.PATCHCustomerGroupsCustomerGroupId(context.Background(), customerGroupId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomerGroupsApiService POSTCustomerGroups", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.CustomerGroupsApi.POSTCustomerGroups(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_customer_password_resets_test.go b/api/test/api_customer_password_resets_test.go deleted file mode 100644 index 6920a000e..000000000 --- a/api/test/api_customer_password_resets_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing CustomerPasswordResetsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_CustomerPasswordResetsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test CustomerPasswordResetsApiService DELETECustomerPasswordResetsCustomerPasswordResetId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerPasswordResetId interface{} - - httpRes, err := apiClient.CustomerPasswordResetsApi.DELETECustomerPasswordResetsCustomerPasswordResetId(context.Background(), customerPasswordResetId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomerPasswordResetsApiService GETCustomerPasswordResets", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.CustomerPasswordResetsApi.GETCustomerPasswordResets(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomerPasswordResetsApiService GETCustomerPasswordResetsCustomerPasswordResetId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerPasswordResetId interface{} - - resp, httpRes, err := apiClient.CustomerPasswordResetsApi.GETCustomerPasswordResetsCustomerPasswordResetId(context.Background(), customerPasswordResetId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomerPasswordResetsApiService PATCHCustomerPasswordResetsCustomerPasswordResetId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerPasswordResetId interface{} - - resp, httpRes, err := apiClient.CustomerPasswordResetsApi.PATCHCustomerPasswordResetsCustomerPasswordResetId(context.Background(), customerPasswordResetId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomerPasswordResetsApiService POSTCustomerPasswordResets", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.CustomerPasswordResetsApi.POSTCustomerPasswordResets(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_customer_payment_sources_test.go b/api/test/api_customer_payment_sources_test.go deleted file mode 100644 index f8ec6dcf2..000000000 --- a/api/test/api_customer_payment_sources_test.go +++ /dev/null @@ -1,142 +0,0 @@ -/* -Commerce Layer API - -Testing CustomerPaymentSourcesApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_CustomerPaymentSourcesApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test CustomerPaymentSourcesApiService DELETECustomerPaymentSourcesCustomerPaymentSourceId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerPaymentSourceId interface{} - - httpRes, err := apiClient.CustomerPaymentSourcesApi.DELETECustomerPaymentSourcesCustomerPaymentSourceId(context.Background(), customerPaymentSourceId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomerPaymentSourcesApiService GETCustomerIdCustomerPaymentSources", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerId interface{} - - httpRes, err := apiClient.CustomerPaymentSourcesApi.GETCustomerIdCustomerPaymentSources(context.Background(), customerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomerPaymentSourcesApiService GETCustomerPaymentSources", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.CustomerPaymentSourcesApi.GETCustomerPaymentSources(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomerPaymentSourcesApiService GETCustomerPaymentSourcesCustomerPaymentSourceId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerPaymentSourceId interface{} - - resp, httpRes, err := apiClient.CustomerPaymentSourcesApi.GETCustomerPaymentSourcesCustomerPaymentSourceId(context.Background(), customerPaymentSourceId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomerPaymentSourcesApiService GETExternalPaymentIdWallet", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPaymentId interface{} - - httpRes, err := apiClient.CustomerPaymentSourcesApi.GETExternalPaymentIdWallet(context.Background(), externalPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomerPaymentSourcesApiService GETOrderIdAvailableCustomerPaymentSources", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.CustomerPaymentSourcesApi.GETOrderIdAvailableCustomerPaymentSources(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomerPaymentSourcesApiService GETOrderSubscriptionIdCustomerPaymentSource", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionId interface{} - - httpRes, err := apiClient.CustomerPaymentSourcesApi.GETOrderSubscriptionIdCustomerPaymentSource(context.Background(), orderSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomerPaymentSourcesApiService PATCHCustomerPaymentSourcesCustomerPaymentSourceId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerPaymentSourceId interface{} - - resp, httpRes, err := apiClient.CustomerPaymentSourcesApi.PATCHCustomerPaymentSourcesCustomerPaymentSourceId(context.Background(), customerPaymentSourceId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomerPaymentSourcesApiService POSTCustomerPaymentSources", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.CustomerPaymentSourcesApi.POSTCustomerPaymentSources(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_customer_subscriptions_test.go b/api/test/api_customer_subscriptions_test.go deleted file mode 100644 index 8919912ca..000000000 --- a/api/test/api_customer_subscriptions_test.go +++ /dev/null @@ -1,103 +0,0 @@ -/* -Commerce Layer API - -Testing CustomerSubscriptionsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_CustomerSubscriptionsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test CustomerSubscriptionsApiService DELETECustomerSubscriptionsCustomerSubscriptionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerSubscriptionId interface{} - - httpRes, err := apiClient.CustomerSubscriptionsApi.DELETECustomerSubscriptionsCustomerSubscriptionId(context.Background(), customerSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomerSubscriptionsApiService GETCustomerIdCustomerSubscriptions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerId interface{} - - httpRes, err := apiClient.CustomerSubscriptionsApi.GETCustomerIdCustomerSubscriptions(context.Background(), customerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomerSubscriptionsApiService GETCustomerSubscriptions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.CustomerSubscriptionsApi.GETCustomerSubscriptions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomerSubscriptionsApiService GETCustomerSubscriptionsCustomerSubscriptionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerSubscriptionId interface{} - - resp, httpRes, err := apiClient.CustomerSubscriptionsApi.GETCustomerSubscriptionsCustomerSubscriptionId(context.Background(), customerSubscriptionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomerSubscriptionsApiService PATCHCustomerSubscriptionsCustomerSubscriptionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerSubscriptionId interface{} - - resp, httpRes, err := apiClient.CustomerSubscriptionsApi.PATCHCustomerSubscriptionsCustomerSubscriptionId(context.Background(), customerSubscriptionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomerSubscriptionsApiService POSTCustomerSubscriptions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.CustomerSubscriptionsApi.POSTCustomerSubscriptions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_customers_test.go b/api/test/api_customers_test.go deleted file mode 100644 index ef4d8571f..000000000 --- a/api/test/api_customers_test.go +++ /dev/null @@ -1,272 +0,0 @@ -/* -Commerce Layer API - -Testing CustomersApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_CustomersApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test CustomersApiService DELETECustomersCustomerId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerId interface{} - - httpRes, err := apiClient.CustomersApi.DELETECustomersCustomerId(context.Background(), customerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomersApiService GETCouponRecipientIdCustomer", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var couponRecipientId interface{} - - httpRes, err := apiClient.CustomersApi.GETCouponRecipientIdCustomer(context.Background(), couponRecipientId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomersApiService GETCustomerAddressIdCustomer", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerAddressId interface{} - - httpRes, err := apiClient.CustomersApi.GETCustomerAddressIdCustomer(context.Background(), customerAddressId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomersApiService GETCustomerGroupIdCustomers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerGroupId interface{} - - httpRes, err := apiClient.CustomersApi.GETCustomerGroupIdCustomers(context.Background(), customerGroupId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomersApiService GETCustomerPasswordResetIdCustomer", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerPasswordResetId interface{} - - httpRes, err := apiClient.CustomersApi.GETCustomerPasswordResetIdCustomer(context.Background(), customerPasswordResetId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomersApiService GETCustomerPaymentSourceIdCustomer", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerPaymentSourceId interface{} - - httpRes, err := apiClient.CustomersApi.GETCustomerPaymentSourceIdCustomer(context.Background(), customerPaymentSourceId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomersApiService GETCustomerSubscriptionIdCustomer", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerSubscriptionId interface{} - - httpRes, err := apiClient.CustomersApi.GETCustomerSubscriptionIdCustomer(context.Background(), customerSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomersApiService GETCustomers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.CustomersApi.GETCustomers(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomersApiService GETCustomersCustomerId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerId interface{} - - resp, httpRes, err := apiClient.CustomersApi.GETCustomersCustomerId(context.Background(), customerId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomersApiService GETGiftCardRecipientIdCustomer", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var giftCardRecipientId interface{} - - httpRes, err := apiClient.CustomersApi.GETGiftCardRecipientIdCustomer(context.Background(), giftCardRecipientId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomersApiService GETInStockSubscriptionIdCustomer", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inStockSubscriptionId interface{} - - httpRes, err := apiClient.CustomersApi.GETInStockSubscriptionIdCustomer(context.Background(), inStockSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomersApiService GETOrderIdCustomer", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.CustomersApi.GETOrderIdCustomer(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomersApiService GETOrderSubscriptionIdCustomer", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionId interface{} - - httpRes, err := apiClient.CustomersApi.GETOrderSubscriptionIdCustomer(context.Background(), orderSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomersApiService GETPriceIdJwtCustomer", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceId interface{} - - httpRes, err := apiClient.CustomersApi.GETPriceIdJwtCustomer(context.Background(), priceId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomersApiService GETReturnIdCustomer", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnId interface{} - - httpRes, err := apiClient.CustomersApi.GETReturnIdCustomer(context.Background(), returnId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomersApiService GETSkuIdJwtCustomer", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.CustomersApi.GETSkuIdJwtCustomer(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomersApiService GETSkuListIdCustomer", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListId interface{} - - httpRes, err := apiClient.CustomersApi.GETSkuListIdCustomer(context.Background(), skuListId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomersApiService PATCHCustomersCustomerId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerId interface{} - - resp, httpRes, err := apiClient.CustomersApi.PATCHCustomersCustomerId(context.Background(), customerId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test CustomersApiService POSTCustomers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.CustomersApi.POSTCustomers(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_delivery_lead_times_test.go b/api/test/api_delivery_lead_times_test.go deleted file mode 100644 index 878c89e01..000000000 --- a/api/test/api_delivery_lead_times_test.go +++ /dev/null @@ -1,129 +0,0 @@ -/* -Commerce Layer API - -Testing DeliveryLeadTimesApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_DeliveryLeadTimesApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test DeliveryLeadTimesApiService DELETEDeliveryLeadTimesDeliveryLeadTimeId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var deliveryLeadTimeId interface{} - - httpRes, err := apiClient.DeliveryLeadTimesApi.DELETEDeliveryLeadTimesDeliveryLeadTimeId(context.Background(), deliveryLeadTimeId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test DeliveryLeadTimesApiService GETDeliveryLeadTimes", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.DeliveryLeadTimesApi.GETDeliveryLeadTimes(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test DeliveryLeadTimesApiService GETDeliveryLeadTimesDeliveryLeadTimeId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var deliveryLeadTimeId interface{} - - resp, httpRes, err := apiClient.DeliveryLeadTimesApi.GETDeliveryLeadTimesDeliveryLeadTimeId(context.Background(), deliveryLeadTimeId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test DeliveryLeadTimesApiService GETShipmentIdDeliveryLeadTime", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.DeliveryLeadTimesApi.GETShipmentIdDeliveryLeadTime(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test DeliveryLeadTimesApiService GETShippingMethodIdDeliveryLeadTimeForShipment", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingMethodId interface{} - - httpRes, err := apiClient.DeliveryLeadTimesApi.GETShippingMethodIdDeliveryLeadTimeForShipment(context.Background(), shippingMethodId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test DeliveryLeadTimesApiService GETSkuIdDeliveryLeadTimes", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.DeliveryLeadTimesApi.GETSkuIdDeliveryLeadTimes(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test DeliveryLeadTimesApiService PATCHDeliveryLeadTimesDeliveryLeadTimeId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var deliveryLeadTimeId interface{} - - resp, httpRes, err := apiClient.DeliveryLeadTimesApi.PATCHDeliveryLeadTimesDeliveryLeadTimeId(context.Background(), deliveryLeadTimeId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test DeliveryLeadTimesApiService POSTDeliveryLeadTimes", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.DeliveryLeadTimesApi.POSTDeliveryLeadTimes(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_event_callbacks_test.go b/api/test/api_event_callbacks_test.go deleted file mode 100644 index afe27a537..000000000 --- a/api/test/api_event_callbacks_test.go +++ /dev/null @@ -1,77 +0,0 @@ -/* -Commerce Layer API - -Testing EventCallbacksApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_EventCallbacksApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test EventCallbacksApiService GETEventCallbacks", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.EventCallbacksApi.GETEventCallbacks(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventCallbacksApiService GETEventCallbacksEventCallbackId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var eventCallbackId interface{} - - resp, httpRes, err := apiClient.EventCallbacksApi.GETEventCallbacksEventCallbackId(context.Background(), eventCallbackId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventCallbacksApiService GETEventIdLastEventCallbacks", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var eventId interface{} - - httpRes, err := apiClient.EventCallbacksApi.GETEventIdLastEventCallbacks(context.Background(), eventId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventCallbacksApiService GETWebhookIdLastEventCallbacks", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var webhookId interface{} - - httpRes, err := apiClient.EventCallbacksApi.GETWebhookIdLastEventCallbacks(context.Background(), webhookId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_events_test.go b/api/test/api_events_test.go deleted file mode 100644 index 23d2fc677..000000000 --- a/api/test/api_events_test.go +++ /dev/null @@ -1,637 +0,0 @@ -/* -Commerce Layer API - -Testing EventsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_EventsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test EventsApiService GETAddressIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var addressId interface{} - - httpRes, err := apiClient.EventsApi.GETAddressIdEvents(context.Background(), addressId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETAuthorizationIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var authorizationId interface{} - - httpRes, err := apiClient.EventsApi.GETAuthorizationIdEvents(context.Background(), authorizationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETAvalaraAccountIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var avalaraAccountId interface{} - - httpRes, err := apiClient.EventsApi.GETAvalaraAccountIdEvents(context.Background(), avalaraAccountId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETBundleIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var bundleId interface{} - - httpRes, err := apiClient.EventsApi.GETBundleIdEvents(context.Background(), bundleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETBuyXPayYPromotionIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var buyXPayYPromotionId interface{} - - httpRes, err := apiClient.EventsApi.GETBuyXPayYPromotionIdEvents(context.Background(), buyXPayYPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETCaptureIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var captureId interface{} - - httpRes, err := apiClient.EventsApi.GETCaptureIdEvents(context.Background(), captureId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETCleanupIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var cleanupId interface{} - - httpRes, err := apiClient.EventsApi.GETCleanupIdEvents(context.Background(), cleanupId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETCouponIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var couponId interface{} - - httpRes, err := apiClient.EventsApi.GETCouponIdEvents(context.Background(), couponId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETCustomerAddressIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerAddressId interface{} - - httpRes, err := apiClient.EventsApi.GETCustomerAddressIdEvents(context.Background(), customerAddressId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETCustomerIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerId interface{} - - httpRes, err := apiClient.EventsApi.GETCustomerIdEvents(context.Background(), customerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETCustomerPasswordResetIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerPasswordResetId interface{} - - httpRes, err := apiClient.EventsApi.GETCustomerPasswordResetIdEvents(context.Background(), customerPasswordResetId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETCustomerSubscriptionIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerSubscriptionId interface{} - - httpRes, err := apiClient.EventsApi.GETCustomerSubscriptionIdEvents(context.Background(), customerSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.EventsApi.GETEvents(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETEventsEventId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var eventId interface{} - - resp, httpRes, err := apiClient.EventsApi.GETEventsEventId(context.Background(), eventId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETExportIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var exportId interface{} - - httpRes, err := apiClient.EventsApi.GETExportIdEvents(context.Background(), exportId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETExternalPromotionIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPromotionId interface{} - - httpRes, err := apiClient.EventsApi.GETExternalPromotionIdEvents(context.Background(), externalPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETFixedAmountPromotionIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedAmountPromotionId interface{} - - httpRes, err := apiClient.EventsApi.GETFixedAmountPromotionIdEvents(context.Background(), fixedAmountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETFixedPricePromotionIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedPricePromotionId interface{} - - httpRes, err := apiClient.EventsApi.GETFixedPricePromotionIdEvents(context.Background(), fixedPricePromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETFlexPromotionIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var flexPromotionId interface{} - - httpRes, err := apiClient.EventsApi.GETFlexPromotionIdEvents(context.Background(), flexPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETFreeGiftPromotionIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeGiftPromotionId interface{} - - httpRes, err := apiClient.EventsApi.GETFreeGiftPromotionIdEvents(context.Background(), freeGiftPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETFreeShippingPromotionIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeShippingPromotionId interface{} - - httpRes, err := apiClient.EventsApi.GETFreeShippingPromotionIdEvents(context.Background(), freeShippingPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETGiftCardIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var giftCardId interface{} - - httpRes, err := apiClient.EventsApi.GETGiftCardIdEvents(context.Background(), giftCardId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETImportIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var importId interface{} - - httpRes, err := apiClient.EventsApi.GETImportIdEvents(context.Background(), importId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETInStockSubscriptionIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inStockSubscriptionId interface{} - - httpRes, err := apiClient.EventsApi.GETInStockSubscriptionIdEvents(context.Background(), inStockSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETLineItemIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var lineItemId interface{} - - httpRes, err := apiClient.EventsApi.GETLineItemIdEvents(context.Background(), lineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETLineItemOptionIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var lineItemOptionId interface{} - - httpRes, err := apiClient.EventsApi.GETLineItemOptionIdEvents(context.Background(), lineItemOptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETLinkIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var linkId interface{} - - httpRes, err := apiClient.EventsApi.GETLinkIdEvents(context.Background(), linkId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETOrderCopyIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderCopyId interface{} - - httpRes, err := apiClient.EventsApi.GETOrderCopyIdEvents(context.Background(), orderCopyId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETOrderFactoryIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderFactoryId interface{} - - httpRes, err := apiClient.EventsApi.GETOrderFactoryIdEvents(context.Background(), orderFactoryId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETOrderIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.EventsApi.GETOrderIdEvents(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETOrderSubscriptionIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionId interface{} - - httpRes, err := apiClient.EventsApi.GETOrderSubscriptionIdEvents(context.Background(), orderSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETParcelIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var parcelId interface{} - - httpRes, err := apiClient.EventsApi.GETParcelIdEvents(context.Background(), parcelId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETPercentageDiscountPromotionIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var percentageDiscountPromotionId interface{} - - httpRes, err := apiClient.EventsApi.GETPercentageDiscountPromotionIdEvents(context.Background(), percentageDiscountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETPriceFrequencyTierIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceFrequencyTierId interface{} - - httpRes, err := apiClient.EventsApi.GETPriceFrequencyTierIdEvents(context.Background(), priceFrequencyTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETPriceListSchedulerIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceListSchedulerId interface{} - - httpRes, err := apiClient.EventsApi.GETPriceListSchedulerIdEvents(context.Background(), priceListSchedulerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETPriceVolumeTierIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceVolumeTierId interface{} - - httpRes, err := apiClient.EventsApi.GETPriceVolumeTierIdEvents(context.Background(), priceVolumeTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETPromotionIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var promotionId interface{} - - httpRes, err := apiClient.EventsApi.GETPromotionIdEvents(context.Background(), promotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETRecurringOrderCopyIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var recurringOrderCopyId interface{} - - httpRes, err := apiClient.EventsApi.GETRecurringOrderCopyIdEvents(context.Background(), recurringOrderCopyId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETRefundIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var refundId interface{} - - httpRes, err := apiClient.EventsApi.GETRefundIdEvents(context.Background(), refundId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETReturnIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnId interface{} - - httpRes, err := apiClient.EventsApi.GETReturnIdEvents(context.Background(), returnId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETShipmentIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.EventsApi.GETShipmentIdEvents(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETSkuIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.EventsApi.GETSkuIdEvents(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETSkuOptionIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuOptionId interface{} - - httpRes, err := apiClient.EventsApi.GETSkuOptionIdEvents(context.Background(), skuOptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETStockTransferIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockTransferId interface{} - - httpRes, err := apiClient.EventsApi.GETStockTransferIdEvents(context.Background(), stockTransferId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETTransactionIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var transactionId interface{} - - httpRes, err := apiClient.EventsApi.GETTransactionIdEvents(context.Background(), transactionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService GETVoidIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var voidId interface{} - - httpRes, err := apiClient.EventsApi.GETVoidIdEvents(context.Background(), voidId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test EventsApiService PATCHEventsEventId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var eventId interface{} - - resp, httpRes, err := apiClient.EventsApi.PATCHEventsEventId(context.Background(), eventId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_exports_test.go b/api/test/api_exports_test.go deleted file mode 100644 index 8a69e0452..000000000 --- a/api/test/api_exports_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing ExportsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_ExportsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test ExportsApiService DELETEExportsExportId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var exportId interface{} - - httpRes, err := apiClient.ExportsApi.DELETEExportsExportId(context.Background(), exportId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ExportsApiService GETExports", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ExportsApi.GETExports(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ExportsApiService GETExportsExportId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var exportId interface{} - - resp, httpRes, err := apiClient.ExportsApi.GETExportsExportId(context.Background(), exportId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ExportsApiService PATCHExportsExportId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var exportId interface{} - - resp, httpRes, err := apiClient.ExportsApi.PATCHExportsExportId(context.Background(), exportId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ExportsApiService POSTExports", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ExportsApi.POSTExports(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_external_gateways_test.go b/api/test/api_external_gateways_test.go deleted file mode 100644 index b23dd2ac6..000000000 --- a/api/test/api_external_gateways_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing ExternalGatewaysApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_ExternalGatewaysApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test ExternalGatewaysApiService DELETEExternalGatewaysExternalGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalGatewayId interface{} - - httpRes, err := apiClient.ExternalGatewaysApi.DELETEExternalGatewaysExternalGatewayId(context.Background(), externalGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ExternalGatewaysApiService GETExternalGateways", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ExternalGatewaysApi.GETExternalGateways(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ExternalGatewaysApiService GETExternalGatewaysExternalGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalGatewayId interface{} - - resp, httpRes, err := apiClient.ExternalGatewaysApi.GETExternalGatewaysExternalGatewayId(context.Background(), externalGatewayId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ExternalGatewaysApiService PATCHExternalGatewaysExternalGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalGatewayId interface{} - - resp, httpRes, err := apiClient.ExternalGatewaysApi.PATCHExternalGatewaysExternalGatewayId(context.Background(), externalGatewayId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ExternalGatewaysApiService POSTExternalGateways", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ExternalGatewaysApi.POSTExternalGateways(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_external_payments_test.go b/api/test/api_external_payments_test.go deleted file mode 100644 index 3d813420f..000000000 --- a/api/test/api_external_payments_test.go +++ /dev/null @@ -1,103 +0,0 @@ -/* -Commerce Layer API - -Testing ExternalPaymentsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_ExternalPaymentsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test ExternalPaymentsApiService DELETEExternalPaymentsExternalPaymentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPaymentId interface{} - - httpRes, err := apiClient.ExternalPaymentsApi.DELETEExternalPaymentsExternalPaymentId(context.Background(), externalPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ExternalPaymentsApiService GETExternalGatewayIdExternalPayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalGatewayId interface{} - - httpRes, err := apiClient.ExternalPaymentsApi.GETExternalGatewayIdExternalPayments(context.Background(), externalGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ExternalPaymentsApiService GETExternalPayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ExternalPaymentsApi.GETExternalPayments(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ExternalPaymentsApiService GETExternalPaymentsExternalPaymentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPaymentId interface{} - - resp, httpRes, err := apiClient.ExternalPaymentsApi.GETExternalPaymentsExternalPaymentId(context.Background(), externalPaymentId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ExternalPaymentsApiService PATCHExternalPaymentsExternalPaymentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPaymentId interface{} - - resp, httpRes, err := apiClient.ExternalPaymentsApi.PATCHExternalPaymentsExternalPaymentId(context.Background(), externalPaymentId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ExternalPaymentsApiService POSTExternalPayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ExternalPaymentsApi.POSTExternalPayments(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_external_promotions_test.go b/api/test/api_external_promotions_test.go deleted file mode 100644 index 5d3c11623..000000000 --- a/api/test/api_external_promotions_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing ExternalPromotionsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_ExternalPromotionsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test ExternalPromotionsApiService DELETEExternalPromotionsExternalPromotionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPromotionId interface{} - - httpRes, err := apiClient.ExternalPromotionsApi.DELETEExternalPromotionsExternalPromotionId(context.Background(), externalPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ExternalPromotionsApiService GETExternalPromotions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ExternalPromotionsApi.GETExternalPromotions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ExternalPromotionsApiService GETExternalPromotionsExternalPromotionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPromotionId interface{} - - resp, httpRes, err := apiClient.ExternalPromotionsApi.GETExternalPromotionsExternalPromotionId(context.Background(), externalPromotionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ExternalPromotionsApiService PATCHExternalPromotionsExternalPromotionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPromotionId interface{} - - resp, httpRes, err := apiClient.ExternalPromotionsApi.PATCHExternalPromotionsExternalPromotionId(context.Background(), externalPromotionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ExternalPromotionsApiService POSTExternalPromotions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ExternalPromotionsApi.POSTExternalPromotions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_external_tax_calculators_test.go b/api/test/api_external_tax_calculators_test.go deleted file mode 100644 index c69a7283e..000000000 --- a/api/test/api_external_tax_calculators_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing ExternalTaxCalculatorsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_ExternalTaxCalculatorsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test ExternalTaxCalculatorsApiService DELETEExternalTaxCalculatorsExternalTaxCalculatorId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalTaxCalculatorId interface{} - - httpRes, err := apiClient.ExternalTaxCalculatorsApi.DELETEExternalTaxCalculatorsExternalTaxCalculatorId(context.Background(), externalTaxCalculatorId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ExternalTaxCalculatorsApiService GETExternalTaxCalculators", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ExternalTaxCalculatorsApi.GETExternalTaxCalculators(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ExternalTaxCalculatorsApiService GETExternalTaxCalculatorsExternalTaxCalculatorId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalTaxCalculatorId interface{} - - resp, httpRes, err := apiClient.ExternalTaxCalculatorsApi.GETExternalTaxCalculatorsExternalTaxCalculatorId(context.Background(), externalTaxCalculatorId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ExternalTaxCalculatorsApiService PATCHExternalTaxCalculatorsExternalTaxCalculatorId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalTaxCalculatorId interface{} - - resp, httpRes, err := apiClient.ExternalTaxCalculatorsApi.PATCHExternalTaxCalculatorsExternalTaxCalculatorId(context.Background(), externalTaxCalculatorId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ExternalTaxCalculatorsApiService POSTExternalTaxCalculators", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ExternalTaxCalculatorsApi.POSTExternalTaxCalculators(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_fixed_amount_promotions_test.go b/api/test/api_fixed_amount_promotions_test.go deleted file mode 100644 index 0c9145cda..000000000 --- a/api/test/api_fixed_amount_promotions_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing FixedAmountPromotionsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_FixedAmountPromotionsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test FixedAmountPromotionsApiService DELETEFixedAmountPromotionsFixedAmountPromotionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedAmountPromotionId interface{} - - httpRes, err := apiClient.FixedAmountPromotionsApi.DELETEFixedAmountPromotionsFixedAmountPromotionId(context.Background(), fixedAmountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test FixedAmountPromotionsApiService GETFixedAmountPromotions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.FixedAmountPromotionsApi.GETFixedAmountPromotions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test FixedAmountPromotionsApiService GETFixedAmountPromotionsFixedAmountPromotionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedAmountPromotionId interface{} - - resp, httpRes, err := apiClient.FixedAmountPromotionsApi.GETFixedAmountPromotionsFixedAmountPromotionId(context.Background(), fixedAmountPromotionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test FixedAmountPromotionsApiService PATCHFixedAmountPromotionsFixedAmountPromotionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedAmountPromotionId interface{} - - resp, httpRes, err := apiClient.FixedAmountPromotionsApi.PATCHFixedAmountPromotionsFixedAmountPromotionId(context.Background(), fixedAmountPromotionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test FixedAmountPromotionsApiService POSTFixedAmountPromotions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.FixedAmountPromotionsApi.POSTFixedAmountPromotions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_fixed_price_promotions_test.go b/api/test/api_fixed_price_promotions_test.go deleted file mode 100644 index 1d980bae7..000000000 --- a/api/test/api_fixed_price_promotions_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing FixedPricePromotionsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_FixedPricePromotionsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test FixedPricePromotionsApiService DELETEFixedPricePromotionsFixedPricePromotionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedPricePromotionId interface{} - - httpRes, err := apiClient.FixedPricePromotionsApi.DELETEFixedPricePromotionsFixedPricePromotionId(context.Background(), fixedPricePromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test FixedPricePromotionsApiService GETFixedPricePromotions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.FixedPricePromotionsApi.GETFixedPricePromotions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test FixedPricePromotionsApiService GETFixedPricePromotionsFixedPricePromotionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedPricePromotionId interface{} - - resp, httpRes, err := apiClient.FixedPricePromotionsApi.GETFixedPricePromotionsFixedPricePromotionId(context.Background(), fixedPricePromotionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test FixedPricePromotionsApiService PATCHFixedPricePromotionsFixedPricePromotionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedPricePromotionId interface{} - - resp, httpRes, err := apiClient.FixedPricePromotionsApi.PATCHFixedPricePromotionsFixedPricePromotionId(context.Background(), fixedPricePromotionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test FixedPricePromotionsApiService POSTFixedPricePromotions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.FixedPricePromotionsApi.POSTFixedPricePromotions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_flex_promotions_test.go b/api/test/api_flex_promotions_test.go deleted file mode 100644 index e9be54d3f..000000000 --- a/api/test/api_flex_promotions_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing FlexPromotionsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_FlexPromotionsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test FlexPromotionsApiService DELETEFlexPromotionsFlexPromotionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var flexPromotionId interface{} - - httpRes, err := apiClient.FlexPromotionsApi.DELETEFlexPromotionsFlexPromotionId(context.Background(), flexPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test FlexPromotionsApiService GETFlexPromotions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.FlexPromotionsApi.GETFlexPromotions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test FlexPromotionsApiService GETFlexPromotionsFlexPromotionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var flexPromotionId interface{} - - resp, httpRes, err := apiClient.FlexPromotionsApi.GETFlexPromotionsFlexPromotionId(context.Background(), flexPromotionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test FlexPromotionsApiService PATCHFlexPromotionsFlexPromotionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var flexPromotionId interface{} - - resp, httpRes, err := apiClient.FlexPromotionsApi.PATCHFlexPromotionsFlexPromotionId(context.Background(), flexPromotionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test FlexPromotionsApiService POSTFlexPromotions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.FlexPromotionsApi.POSTFlexPromotions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_free_gift_promotions_test.go b/api/test/api_free_gift_promotions_test.go deleted file mode 100644 index 951441746..000000000 --- a/api/test/api_free_gift_promotions_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing FreeGiftPromotionsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_FreeGiftPromotionsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test FreeGiftPromotionsApiService DELETEFreeGiftPromotionsFreeGiftPromotionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeGiftPromotionId interface{} - - httpRes, err := apiClient.FreeGiftPromotionsApi.DELETEFreeGiftPromotionsFreeGiftPromotionId(context.Background(), freeGiftPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test FreeGiftPromotionsApiService GETFreeGiftPromotions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.FreeGiftPromotionsApi.GETFreeGiftPromotions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test FreeGiftPromotionsApiService GETFreeGiftPromotionsFreeGiftPromotionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeGiftPromotionId interface{} - - resp, httpRes, err := apiClient.FreeGiftPromotionsApi.GETFreeGiftPromotionsFreeGiftPromotionId(context.Background(), freeGiftPromotionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test FreeGiftPromotionsApiService PATCHFreeGiftPromotionsFreeGiftPromotionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeGiftPromotionId interface{} - - resp, httpRes, err := apiClient.FreeGiftPromotionsApi.PATCHFreeGiftPromotionsFreeGiftPromotionId(context.Background(), freeGiftPromotionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test FreeGiftPromotionsApiService POSTFreeGiftPromotions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.FreeGiftPromotionsApi.POSTFreeGiftPromotions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_free_shipping_promotions_test.go b/api/test/api_free_shipping_promotions_test.go deleted file mode 100644 index 42292be92..000000000 --- a/api/test/api_free_shipping_promotions_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing FreeShippingPromotionsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_FreeShippingPromotionsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test FreeShippingPromotionsApiService DELETEFreeShippingPromotionsFreeShippingPromotionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeShippingPromotionId interface{} - - httpRes, err := apiClient.FreeShippingPromotionsApi.DELETEFreeShippingPromotionsFreeShippingPromotionId(context.Background(), freeShippingPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test FreeShippingPromotionsApiService GETFreeShippingPromotions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.FreeShippingPromotionsApi.GETFreeShippingPromotions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test FreeShippingPromotionsApiService GETFreeShippingPromotionsFreeShippingPromotionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeShippingPromotionId interface{} - - resp, httpRes, err := apiClient.FreeShippingPromotionsApi.GETFreeShippingPromotionsFreeShippingPromotionId(context.Background(), freeShippingPromotionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test FreeShippingPromotionsApiService PATCHFreeShippingPromotionsFreeShippingPromotionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeShippingPromotionId interface{} - - resp, httpRes, err := apiClient.FreeShippingPromotionsApi.PATCHFreeShippingPromotionsFreeShippingPromotionId(context.Background(), freeShippingPromotionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test FreeShippingPromotionsApiService POSTFreeShippingPromotions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.FreeShippingPromotionsApi.POSTFreeShippingPromotions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_geocoders_test.go b/api/test/api_geocoders_test.go deleted file mode 100644 index ffa097790..000000000 --- a/api/test/api_geocoders_test.go +++ /dev/null @@ -1,77 +0,0 @@ -/* -Commerce Layer API - -Testing GeocodersApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_GeocodersApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test GeocodersApiService GETAddressIdGeocoder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var addressId interface{} - - httpRes, err := apiClient.GeocodersApi.GETAddressIdGeocoder(context.Background(), addressId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test GeocodersApiService GETGeocoders", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.GeocodersApi.GETGeocoders(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test GeocodersApiService GETGeocodersGeocoderId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var geocoderId interface{} - - resp, httpRes, err := apiClient.GeocodersApi.GETGeocodersGeocoderId(context.Background(), geocoderId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test GeocodersApiService GETMarketIdGeocoder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var marketId interface{} - - httpRes, err := apiClient.GeocodersApi.GETMarketIdGeocoder(context.Background(), marketId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_gift_card_recipients_test.go b/api/test/api_gift_card_recipients_test.go deleted file mode 100644 index d2979ae67..000000000 --- a/api/test/api_gift_card_recipients_test.go +++ /dev/null @@ -1,103 +0,0 @@ -/* -Commerce Layer API - -Testing GiftCardRecipientsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_GiftCardRecipientsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test GiftCardRecipientsApiService DELETEGiftCardRecipientsGiftCardRecipientId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var giftCardRecipientId interface{} - - httpRes, err := apiClient.GiftCardRecipientsApi.DELETEGiftCardRecipientsGiftCardRecipientId(context.Background(), giftCardRecipientId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test GiftCardRecipientsApiService GETGiftCardIdGiftCardRecipient", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var giftCardId interface{} - - httpRes, err := apiClient.GiftCardRecipientsApi.GETGiftCardIdGiftCardRecipient(context.Background(), giftCardId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test GiftCardRecipientsApiService GETGiftCardRecipients", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.GiftCardRecipientsApi.GETGiftCardRecipients(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test GiftCardRecipientsApiService GETGiftCardRecipientsGiftCardRecipientId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var giftCardRecipientId interface{} - - resp, httpRes, err := apiClient.GiftCardRecipientsApi.GETGiftCardRecipientsGiftCardRecipientId(context.Background(), giftCardRecipientId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test GiftCardRecipientsApiService PATCHGiftCardRecipientsGiftCardRecipientId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var giftCardRecipientId interface{} - - resp, httpRes, err := apiClient.GiftCardRecipientsApi.PATCHGiftCardRecipientsGiftCardRecipientId(context.Background(), giftCardRecipientId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test GiftCardRecipientsApiService POSTGiftCardRecipients", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.GiftCardRecipientsApi.POSTGiftCardRecipients(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_gift_cards_test.go b/api/test/api_gift_cards_test.go deleted file mode 100644 index b1082b896..000000000 --- a/api/test/api_gift_cards_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing GiftCardsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_GiftCardsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test GiftCardsApiService DELETEGiftCardsGiftCardId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var giftCardId interface{} - - httpRes, err := apiClient.GiftCardsApi.DELETEGiftCardsGiftCardId(context.Background(), giftCardId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test GiftCardsApiService GETGiftCards", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.GiftCardsApi.GETGiftCards(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test GiftCardsApiService GETGiftCardsGiftCardId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var giftCardId interface{} - - resp, httpRes, err := apiClient.GiftCardsApi.GETGiftCardsGiftCardId(context.Background(), giftCardId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test GiftCardsApiService PATCHGiftCardsGiftCardId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var giftCardId interface{} - - resp, httpRes, err := apiClient.GiftCardsApi.PATCHGiftCardsGiftCardId(context.Background(), giftCardId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test GiftCardsApiService POSTGiftCards", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.GiftCardsApi.POSTGiftCards(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_google_geocoders_test.go b/api/test/api_google_geocoders_test.go deleted file mode 100644 index 9618a3030..000000000 --- a/api/test/api_google_geocoders_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing GoogleGeocodersApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_GoogleGeocodersApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test GoogleGeocodersApiService DELETEGoogleGeocodersGoogleGeocoderId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var googleGeocoderId interface{} - - httpRes, err := apiClient.GoogleGeocodersApi.DELETEGoogleGeocodersGoogleGeocoderId(context.Background(), googleGeocoderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test GoogleGeocodersApiService GETGoogleGeocoders", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.GoogleGeocodersApi.GETGoogleGeocoders(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test GoogleGeocodersApiService GETGoogleGeocodersGoogleGeocoderId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var googleGeocoderId interface{} - - resp, httpRes, err := apiClient.GoogleGeocodersApi.GETGoogleGeocodersGoogleGeocoderId(context.Background(), googleGeocoderId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test GoogleGeocodersApiService PATCHGoogleGeocodersGoogleGeocoderId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var googleGeocoderId interface{} - - resp, httpRes, err := apiClient.GoogleGeocodersApi.PATCHGoogleGeocodersGoogleGeocoderId(context.Background(), googleGeocoderId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test GoogleGeocodersApiService POSTGoogleGeocoders", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.GoogleGeocodersApi.POSTGoogleGeocoders(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_has_many_test.go b/api/test/api_has_many_test.go deleted file mode 100644 index 7cca7c781..000000000 --- a/api/test/api_has_many_test.go +++ /dev/null @@ -1,4770 +0,0 @@ -/* -Commerce Layer API - -Testing HasManyApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_HasManyApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test HasManyApiService GETAddressIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var addressId interface{} - - httpRes, err := apiClient.HasManyApi.GETAddressIdEvents(context.Background(), addressId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETAddressIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var addressId interface{} - - httpRes, err := apiClient.HasManyApi.GETAddressIdTags(context.Background(), addressId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETAddressIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var addressId interface{} - - httpRes, err := apiClient.HasManyApi.GETAddressIdVersions(context.Background(), addressId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETAdjustmentIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var adjustmentId interface{} - - httpRes, err := apiClient.HasManyApi.GETAdjustmentIdVersions(context.Background(), adjustmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETAdyenGatewayIdAdyenPayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var adyenGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETAdyenGatewayIdAdyenPayments(context.Background(), adyenGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETAdyenGatewayIdPaymentMethods", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var adyenGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETAdyenGatewayIdPaymentMethods(context.Background(), adyenGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETAdyenGatewayIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var adyenGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETAdyenGatewayIdVersions(context.Background(), adyenGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETAdyenPaymentIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var adyenPaymentId interface{} - - httpRes, err := apiClient.HasManyApi.GETAdyenPaymentIdVersions(context.Background(), adyenPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETAuthorizationIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var authorizationId interface{} - - httpRes, err := apiClient.HasManyApi.GETAuthorizationIdAttachments(context.Background(), authorizationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETAuthorizationIdCaptures", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var authorizationId interface{} - - httpRes, err := apiClient.HasManyApi.GETAuthorizationIdCaptures(context.Background(), authorizationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETAuthorizationIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var authorizationId interface{} - - httpRes, err := apiClient.HasManyApi.GETAuthorizationIdEvents(context.Background(), authorizationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETAuthorizationIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var authorizationId interface{} - - httpRes, err := apiClient.HasManyApi.GETAuthorizationIdVersions(context.Background(), authorizationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETAuthorizationIdVoids", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var authorizationId interface{} - - httpRes, err := apiClient.HasManyApi.GETAuthorizationIdVoids(context.Background(), authorizationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETAvalaraAccountIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var avalaraAccountId interface{} - - httpRes, err := apiClient.HasManyApi.GETAvalaraAccountIdAttachments(context.Background(), avalaraAccountId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETAvalaraAccountIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var avalaraAccountId interface{} - - httpRes, err := apiClient.HasManyApi.GETAvalaraAccountIdEvents(context.Background(), avalaraAccountId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETAvalaraAccountIdMarkets", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var avalaraAccountId interface{} - - httpRes, err := apiClient.HasManyApi.GETAvalaraAccountIdMarkets(context.Background(), avalaraAccountId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETAvalaraAccountIdTaxCategories", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var avalaraAccountId interface{} - - httpRes, err := apiClient.HasManyApi.GETAvalaraAccountIdTaxCategories(context.Background(), avalaraAccountId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETAvalaraAccountIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var avalaraAccountId interface{} - - httpRes, err := apiClient.HasManyApi.GETAvalaraAccountIdVersions(context.Background(), avalaraAccountId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETAxerveGatewayIdAxervePayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var axerveGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETAxerveGatewayIdAxervePayments(context.Background(), axerveGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETAxerveGatewayIdPaymentMethods", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var axerveGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETAxerveGatewayIdPaymentMethods(context.Background(), axerveGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETAxerveGatewayIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var axerveGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETAxerveGatewayIdVersions(context.Background(), axerveGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETAxervePaymentIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var axervePaymentId interface{} - - httpRes, err := apiClient.HasManyApi.GETAxervePaymentIdVersions(context.Background(), axervePaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETBillingInfoValidationRuleIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var billingInfoValidationRuleId interface{} - - httpRes, err := apiClient.HasManyApi.GETBillingInfoValidationRuleIdAttachments(context.Background(), billingInfoValidationRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETBillingInfoValidationRuleIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var billingInfoValidationRuleId interface{} - - httpRes, err := apiClient.HasManyApi.GETBillingInfoValidationRuleIdVersions(context.Background(), billingInfoValidationRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETBingGeocoderIdAddresses", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var bingGeocoderId interface{} - - httpRes, err := apiClient.HasManyApi.GETBingGeocoderIdAddresses(context.Background(), bingGeocoderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETBingGeocoderIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var bingGeocoderId interface{} - - httpRes, err := apiClient.HasManyApi.GETBingGeocoderIdAttachments(context.Background(), bingGeocoderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETBingGeocoderIdMarkets", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var bingGeocoderId interface{} - - httpRes, err := apiClient.HasManyApi.GETBingGeocoderIdMarkets(context.Background(), bingGeocoderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETBraintreeGatewayIdBraintreePayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var braintreeGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETBraintreeGatewayIdBraintreePayments(context.Background(), braintreeGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETBraintreeGatewayIdPaymentMethods", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var braintreeGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETBraintreeGatewayIdPaymentMethods(context.Background(), braintreeGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETBraintreeGatewayIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var braintreeGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETBraintreeGatewayIdVersions(context.Background(), braintreeGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETBraintreePaymentIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var braintreePaymentId interface{} - - httpRes, err := apiClient.HasManyApi.GETBraintreePaymentIdVersions(context.Background(), braintreePaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETBundleIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var bundleId interface{} - - httpRes, err := apiClient.HasManyApi.GETBundleIdAttachments(context.Background(), bundleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETBundleIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var bundleId interface{} - - httpRes, err := apiClient.HasManyApi.GETBundleIdEvents(context.Background(), bundleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETBundleIdSkus", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var bundleId interface{} - - httpRes, err := apiClient.HasManyApi.GETBundleIdSkus(context.Background(), bundleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETBundleIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var bundleId interface{} - - httpRes, err := apiClient.HasManyApi.GETBundleIdTags(context.Background(), bundleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETBundleIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var bundleId interface{} - - httpRes, err := apiClient.HasManyApi.GETBundleIdVersions(context.Background(), bundleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETBuyXPayYPromotionIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var buyXPayYPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETBuyXPayYPromotionIdAttachments(context.Background(), buyXPayYPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETBuyXPayYPromotionIdCoupons", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var buyXPayYPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETBuyXPayYPromotionIdCoupons(context.Background(), buyXPayYPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETBuyXPayYPromotionIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var buyXPayYPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETBuyXPayYPromotionIdEvents(context.Background(), buyXPayYPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETBuyXPayYPromotionIdSkus", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var buyXPayYPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETBuyXPayYPromotionIdSkus(context.Background(), buyXPayYPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETBuyXPayYPromotionIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var buyXPayYPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETBuyXPayYPromotionIdTags(context.Background(), buyXPayYPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETBuyXPayYPromotionIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var buyXPayYPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETBuyXPayYPromotionIdVersions(context.Background(), buyXPayYPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCaptureIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var captureId interface{} - - httpRes, err := apiClient.HasManyApi.GETCaptureIdAttachments(context.Background(), captureId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCaptureIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var captureId interface{} - - httpRes, err := apiClient.HasManyApi.GETCaptureIdEvents(context.Background(), captureId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCaptureIdRefunds", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var captureId interface{} - - httpRes, err := apiClient.HasManyApi.GETCaptureIdRefunds(context.Background(), captureId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCaptureIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var captureId interface{} - - httpRes, err := apiClient.HasManyApi.GETCaptureIdVersions(context.Background(), captureId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCarrierAccountIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var carrierAccountId interface{} - - httpRes, err := apiClient.HasManyApi.GETCarrierAccountIdAttachments(context.Background(), carrierAccountId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCarrierAccountIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var carrierAccountId interface{} - - httpRes, err := apiClient.HasManyApi.GETCarrierAccountIdVersions(context.Background(), carrierAccountId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCheckoutComGatewayIdCheckoutComPayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var checkoutComGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETCheckoutComGatewayIdCheckoutComPayments(context.Background(), checkoutComGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCheckoutComGatewayIdPaymentMethods", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var checkoutComGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETCheckoutComGatewayIdPaymentMethods(context.Background(), checkoutComGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCheckoutComGatewayIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var checkoutComGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETCheckoutComGatewayIdVersions(context.Background(), checkoutComGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCheckoutComPaymentIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var checkoutComPaymentId interface{} - - httpRes, err := apiClient.HasManyApi.GETCheckoutComPaymentIdVersions(context.Background(), checkoutComPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCleanupIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var cleanupId interface{} - - httpRes, err := apiClient.HasManyApi.GETCleanupIdEvents(context.Background(), cleanupId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCleanupIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var cleanupId interface{} - - httpRes, err := apiClient.HasManyApi.GETCleanupIdVersions(context.Background(), cleanupId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCouponCodesPromotionRuleIdCoupons", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var couponCodesPromotionRuleId interface{} - - httpRes, err := apiClient.HasManyApi.GETCouponCodesPromotionRuleIdCoupons(context.Background(), couponCodesPromotionRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCouponCodesPromotionRuleIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var couponCodesPromotionRuleId interface{} - - httpRes, err := apiClient.HasManyApi.GETCouponCodesPromotionRuleIdVersions(context.Background(), couponCodesPromotionRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCouponIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var couponId interface{} - - httpRes, err := apiClient.HasManyApi.GETCouponIdEvents(context.Background(), couponId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCouponIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var couponId interface{} - - httpRes, err := apiClient.HasManyApi.GETCouponIdTags(context.Background(), couponId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCouponIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var couponId interface{} - - httpRes, err := apiClient.HasManyApi.GETCouponIdVersions(context.Background(), couponId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCouponRecipientIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var couponRecipientId interface{} - - httpRes, err := apiClient.HasManyApi.GETCouponRecipientIdAttachments(context.Background(), couponRecipientId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCouponRecipientIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var couponRecipientId interface{} - - httpRes, err := apiClient.HasManyApi.GETCouponRecipientIdVersions(context.Background(), couponRecipientId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCustomPromotionRuleIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customPromotionRuleId interface{} - - httpRes, err := apiClient.HasManyApi.GETCustomPromotionRuleIdVersions(context.Background(), customPromotionRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCustomerAddressIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerAddressId interface{} - - httpRes, err := apiClient.HasManyApi.GETCustomerAddressIdEvents(context.Background(), customerAddressId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCustomerAddressIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerAddressId interface{} - - httpRes, err := apiClient.HasManyApi.GETCustomerAddressIdVersions(context.Background(), customerAddressId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCustomerGroupIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerGroupId interface{} - - httpRes, err := apiClient.HasManyApi.GETCustomerGroupIdAttachments(context.Background(), customerGroupId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCustomerGroupIdCustomers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerGroupId interface{} - - httpRes, err := apiClient.HasManyApi.GETCustomerGroupIdCustomers(context.Background(), customerGroupId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCustomerGroupIdMarkets", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerGroupId interface{} - - httpRes, err := apiClient.HasManyApi.GETCustomerGroupIdMarkets(context.Background(), customerGroupId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCustomerGroupIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerGroupId interface{} - - httpRes, err := apiClient.HasManyApi.GETCustomerGroupIdVersions(context.Background(), customerGroupId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCustomerIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerId interface{} - - httpRes, err := apiClient.HasManyApi.GETCustomerIdAttachments(context.Background(), customerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCustomerIdCustomerAddresses", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerId interface{} - - httpRes, err := apiClient.HasManyApi.GETCustomerIdCustomerAddresses(context.Background(), customerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCustomerIdCustomerPaymentSources", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerId interface{} - - httpRes, err := apiClient.HasManyApi.GETCustomerIdCustomerPaymentSources(context.Background(), customerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCustomerIdCustomerSubscriptions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerId interface{} - - httpRes, err := apiClient.HasManyApi.GETCustomerIdCustomerSubscriptions(context.Background(), customerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCustomerIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerId interface{} - - httpRes, err := apiClient.HasManyApi.GETCustomerIdEvents(context.Background(), customerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCustomerIdOrderSubscriptions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerId interface{} - - httpRes, err := apiClient.HasManyApi.GETCustomerIdOrderSubscriptions(context.Background(), customerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCustomerIdOrders", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerId interface{} - - httpRes, err := apiClient.HasManyApi.GETCustomerIdOrders(context.Background(), customerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCustomerIdReturns", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerId interface{} - - httpRes, err := apiClient.HasManyApi.GETCustomerIdReturns(context.Background(), customerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCustomerIdSkuLists", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerId interface{} - - httpRes, err := apiClient.HasManyApi.GETCustomerIdSkuLists(context.Background(), customerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCustomerIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerId interface{} - - httpRes, err := apiClient.HasManyApi.GETCustomerIdTags(context.Background(), customerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCustomerPasswordResetIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerPasswordResetId interface{} - - httpRes, err := apiClient.HasManyApi.GETCustomerPasswordResetIdEvents(context.Background(), customerPasswordResetId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCustomerPaymentSourceIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerPaymentSourceId interface{} - - httpRes, err := apiClient.HasManyApi.GETCustomerPaymentSourceIdVersions(context.Background(), customerPaymentSourceId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCustomerSubscriptionIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerSubscriptionId interface{} - - httpRes, err := apiClient.HasManyApi.GETCustomerSubscriptionIdEvents(context.Background(), customerSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETCustomerSubscriptionIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerSubscriptionId interface{} - - httpRes, err := apiClient.HasManyApi.GETCustomerSubscriptionIdVersions(context.Background(), customerSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETDeliveryLeadTimeIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var deliveryLeadTimeId interface{} - - httpRes, err := apiClient.HasManyApi.GETDeliveryLeadTimeIdAttachments(context.Background(), deliveryLeadTimeId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETDeliveryLeadTimeIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var deliveryLeadTimeId interface{} - - httpRes, err := apiClient.HasManyApi.GETDeliveryLeadTimeIdVersions(context.Background(), deliveryLeadTimeId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETEventIdLastEventCallbacks", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var eventId interface{} - - httpRes, err := apiClient.HasManyApi.GETEventIdLastEventCallbacks(context.Background(), eventId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETEventIdWebhooks", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var eventId interface{} - - httpRes, err := apiClient.HasManyApi.GETEventIdWebhooks(context.Background(), eventId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETExportIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var exportId interface{} - - httpRes, err := apiClient.HasManyApi.GETExportIdEvents(context.Background(), exportId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETExternalGatewayIdExternalPayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETExternalGatewayIdExternalPayments(context.Background(), externalGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETExternalGatewayIdPaymentMethods", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETExternalGatewayIdPaymentMethods(context.Background(), externalGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETExternalGatewayIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETExternalGatewayIdVersions(context.Background(), externalGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETExternalPaymentIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPaymentId interface{} - - httpRes, err := apiClient.HasManyApi.GETExternalPaymentIdVersions(context.Background(), externalPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETExternalPromotionIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETExternalPromotionIdAttachments(context.Background(), externalPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETExternalPromotionIdCoupons", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETExternalPromotionIdCoupons(context.Background(), externalPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETExternalPromotionIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETExternalPromotionIdEvents(context.Background(), externalPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETExternalPromotionIdSkus", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETExternalPromotionIdSkus(context.Background(), externalPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETExternalPromotionIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETExternalPromotionIdTags(context.Background(), externalPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETExternalPromotionIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETExternalPromotionIdVersions(context.Background(), externalPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETExternalTaxCalculatorIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalTaxCalculatorId interface{} - - httpRes, err := apiClient.HasManyApi.GETExternalTaxCalculatorIdAttachments(context.Background(), externalTaxCalculatorId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETExternalTaxCalculatorIdMarkets", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalTaxCalculatorId interface{} - - httpRes, err := apiClient.HasManyApi.GETExternalTaxCalculatorIdMarkets(context.Background(), externalTaxCalculatorId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETExternalTaxCalculatorIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalTaxCalculatorId interface{} - - httpRes, err := apiClient.HasManyApi.GETExternalTaxCalculatorIdVersions(context.Background(), externalTaxCalculatorId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETFixedAmountPromotionIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedAmountPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETFixedAmountPromotionIdAttachments(context.Background(), fixedAmountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETFixedAmountPromotionIdCoupons", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedAmountPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETFixedAmountPromotionIdCoupons(context.Background(), fixedAmountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETFixedAmountPromotionIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedAmountPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETFixedAmountPromotionIdEvents(context.Background(), fixedAmountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETFixedAmountPromotionIdSkus", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedAmountPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETFixedAmountPromotionIdSkus(context.Background(), fixedAmountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETFixedAmountPromotionIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedAmountPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETFixedAmountPromotionIdTags(context.Background(), fixedAmountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETFixedAmountPromotionIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedAmountPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETFixedAmountPromotionIdVersions(context.Background(), fixedAmountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETFixedPricePromotionIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedPricePromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETFixedPricePromotionIdAttachments(context.Background(), fixedPricePromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETFixedPricePromotionIdCoupons", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedPricePromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETFixedPricePromotionIdCoupons(context.Background(), fixedPricePromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETFixedPricePromotionIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedPricePromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETFixedPricePromotionIdEvents(context.Background(), fixedPricePromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETFixedPricePromotionIdSkus", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedPricePromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETFixedPricePromotionIdSkus(context.Background(), fixedPricePromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETFixedPricePromotionIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedPricePromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETFixedPricePromotionIdTags(context.Background(), fixedPricePromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETFixedPricePromotionIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedPricePromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETFixedPricePromotionIdVersions(context.Background(), fixedPricePromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETFlexPromotionIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var flexPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETFlexPromotionIdAttachments(context.Background(), flexPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETFlexPromotionIdCoupons", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var flexPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETFlexPromotionIdCoupons(context.Background(), flexPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETFlexPromotionIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var flexPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETFlexPromotionIdEvents(context.Background(), flexPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETFlexPromotionIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var flexPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETFlexPromotionIdTags(context.Background(), flexPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETFlexPromotionIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var flexPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETFlexPromotionIdVersions(context.Background(), flexPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETFreeGiftPromotionIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeGiftPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETFreeGiftPromotionIdAttachments(context.Background(), freeGiftPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETFreeGiftPromotionIdCoupons", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeGiftPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETFreeGiftPromotionIdCoupons(context.Background(), freeGiftPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETFreeGiftPromotionIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeGiftPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETFreeGiftPromotionIdEvents(context.Background(), freeGiftPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETFreeGiftPromotionIdSkus", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeGiftPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETFreeGiftPromotionIdSkus(context.Background(), freeGiftPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETFreeGiftPromotionIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeGiftPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETFreeGiftPromotionIdTags(context.Background(), freeGiftPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETFreeGiftPromotionIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeGiftPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETFreeGiftPromotionIdVersions(context.Background(), freeGiftPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETFreeShippingPromotionIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeShippingPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETFreeShippingPromotionIdAttachments(context.Background(), freeShippingPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETFreeShippingPromotionIdCoupons", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeShippingPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETFreeShippingPromotionIdCoupons(context.Background(), freeShippingPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETFreeShippingPromotionIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeShippingPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETFreeShippingPromotionIdEvents(context.Background(), freeShippingPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETFreeShippingPromotionIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeShippingPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETFreeShippingPromotionIdTags(context.Background(), freeShippingPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETFreeShippingPromotionIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeShippingPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETFreeShippingPromotionIdVersions(context.Background(), freeShippingPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETGeocoderIdAddresses", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var geocoderId interface{} - - httpRes, err := apiClient.HasManyApi.GETGeocoderIdAddresses(context.Background(), geocoderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETGeocoderIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var geocoderId interface{} - - httpRes, err := apiClient.HasManyApi.GETGeocoderIdAttachments(context.Background(), geocoderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETGeocoderIdMarkets", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var geocoderId interface{} - - httpRes, err := apiClient.HasManyApi.GETGeocoderIdMarkets(context.Background(), geocoderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETGiftCardIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var giftCardId interface{} - - httpRes, err := apiClient.HasManyApi.GETGiftCardIdAttachments(context.Background(), giftCardId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETGiftCardIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var giftCardId interface{} - - httpRes, err := apiClient.HasManyApi.GETGiftCardIdEvents(context.Background(), giftCardId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETGiftCardIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var giftCardId interface{} - - httpRes, err := apiClient.HasManyApi.GETGiftCardIdTags(context.Background(), giftCardId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETGiftCardIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var giftCardId interface{} - - httpRes, err := apiClient.HasManyApi.GETGiftCardIdVersions(context.Background(), giftCardId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETGiftCardRecipientIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var giftCardRecipientId interface{} - - httpRes, err := apiClient.HasManyApi.GETGiftCardRecipientIdAttachments(context.Background(), giftCardRecipientId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETGiftCardRecipientIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var giftCardRecipientId interface{} - - httpRes, err := apiClient.HasManyApi.GETGiftCardRecipientIdVersions(context.Background(), giftCardRecipientId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETGoogleGeocoderIdAddresses", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var googleGeocoderId interface{} - - httpRes, err := apiClient.HasManyApi.GETGoogleGeocoderIdAddresses(context.Background(), googleGeocoderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETGoogleGeocoderIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var googleGeocoderId interface{} - - httpRes, err := apiClient.HasManyApi.GETGoogleGeocoderIdAttachments(context.Background(), googleGeocoderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETGoogleGeocoderIdMarkets", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var googleGeocoderId interface{} - - httpRes, err := apiClient.HasManyApi.GETGoogleGeocoderIdMarkets(context.Background(), googleGeocoderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETImportIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var importId interface{} - - httpRes, err := apiClient.HasManyApi.GETImportIdEvents(context.Background(), importId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETInStockSubscriptionIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inStockSubscriptionId interface{} - - httpRes, err := apiClient.HasManyApi.GETInStockSubscriptionIdEvents(context.Background(), inStockSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETInStockSubscriptionIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inStockSubscriptionId interface{} - - httpRes, err := apiClient.HasManyApi.GETInStockSubscriptionIdVersions(context.Background(), inStockSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETInventoryModelIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inventoryModelId interface{} - - httpRes, err := apiClient.HasManyApi.GETInventoryModelIdAttachments(context.Background(), inventoryModelId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETInventoryModelIdInventoryReturnLocations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inventoryModelId interface{} - - httpRes, err := apiClient.HasManyApi.GETInventoryModelIdInventoryReturnLocations(context.Background(), inventoryModelId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETInventoryModelIdInventoryStockLocations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inventoryModelId interface{} - - httpRes, err := apiClient.HasManyApi.GETInventoryModelIdInventoryStockLocations(context.Background(), inventoryModelId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETInventoryModelIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inventoryModelId interface{} - - httpRes, err := apiClient.HasManyApi.GETInventoryModelIdVersions(context.Background(), inventoryModelId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETInventoryReturnLocationIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inventoryReturnLocationId interface{} - - httpRes, err := apiClient.HasManyApi.GETInventoryReturnLocationIdVersions(context.Background(), inventoryReturnLocationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETInventoryStockLocationIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inventoryStockLocationId interface{} - - httpRes, err := apiClient.HasManyApi.GETInventoryStockLocationIdVersions(context.Background(), inventoryStockLocationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETKlarnaGatewayIdKlarnaPayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var klarnaGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETKlarnaGatewayIdKlarnaPayments(context.Background(), klarnaGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETKlarnaGatewayIdPaymentMethods", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var klarnaGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETKlarnaGatewayIdPaymentMethods(context.Background(), klarnaGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETKlarnaGatewayIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var klarnaGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETKlarnaGatewayIdVersions(context.Background(), klarnaGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETKlarnaPaymentIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var klarnaPaymentId interface{} - - httpRes, err := apiClient.HasManyApi.GETKlarnaPaymentIdVersions(context.Background(), klarnaPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETLineItemIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var lineItemId interface{} - - httpRes, err := apiClient.HasManyApi.GETLineItemIdEvents(context.Background(), lineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETLineItemIdLineItemOptions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var lineItemId interface{} - - httpRes, err := apiClient.HasManyApi.GETLineItemIdLineItemOptions(context.Background(), lineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETLineItemIdReturnLineItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var lineItemId interface{} - - httpRes, err := apiClient.HasManyApi.GETLineItemIdReturnLineItems(context.Background(), lineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETLineItemIdStockLineItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var lineItemId interface{} - - httpRes, err := apiClient.HasManyApi.GETLineItemIdStockLineItems(context.Background(), lineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETLineItemIdStockReservations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var lineItemId interface{} - - httpRes, err := apiClient.HasManyApi.GETLineItemIdStockReservations(context.Background(), lineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETLineItemIdStockTransfers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var lineItemId interface{} - - httpRes, err := apiClient.HasManyApi.GETLineItemIdStockTransfers(context.Background(), lineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETLineItemIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var lineItemId interface{} - - httpRes, err := apiClient.HasManyApi.GETLineItemIdTags(context.Background(), lineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETLineItemOptionIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var lineItemOptionId interface{} - - httpRes, err := apiClient.HasManyApi.GETLineItemOptionIdEvents(context.Background(), lineItemOptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETLineItemOptionIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var lineItemOptionId interface{} - - httpRes, err := apiClient.HasManyApi.GETLineItemOptionIdTags(context.Background(), lineItemOptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETLinkIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var linkId interface{} - - httpRes, err := apiClient.HasManyApi.GETLinkIdEvents(context.Background(), linkId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETManualGatewayIdPaymentMethods", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var manualGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETManualGatewayIdPaymentMethods(context.Background(), manualGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETManualGatewayIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var manualGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETManualGatewayIdVersions(context.Background(), manualGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETManualTaxCalculatorIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var manualTaxCalculatorId interface{} - - httpRes, err := apiClient.HasManyApi.GETManualTaxCalculatorIdAttachments(context.Background(), manualTaxCalculatorId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETManualTaxCalculatorIdMarkets", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var manualTaxCalculatorId interface{} - - httpRes, err := apiClient.HasManyApi.GETManualTaxCalculatorIdMarkets(context.Background(), manualTaxCalculatorId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETManualTaxCalculatorIdTaxRules", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var manualTaxCalculatorId interface{} - - httpRes, err := apiClient.HasManyApi.GETManualTaxCalculatorIdTaxRules(context.Background(), manualTaxCalculatorId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETManualTaxCalculatorIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var manualTaxCalculatorId interface{} - - httpRes, err := apiClient.HasManyApi.GETManualTaxCalculatorIdVersions(context.Background(), manualTaxCalculatorId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETMarketIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var marketId interface{} - - httpRes, err := apiClient.HasManyApi.GETMarketIdAttachments(context.Background(), marketId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETMarketIdPriceListSchedulers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var marketId interface{} - - httpRes, err := apiClient.HasManyApi.GETMarketIdPriceListSchedulers(context.Background(), marketId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETMarketIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var marketId interface{} - - httpRes, err := apiClient.HasManyApi.GETMarketIdVersions(context.Background(), marketId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETMerchantIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var merchantId interface{} - - httpRes, err := apiClient.HasManyApi.GETMerchantIdAttachments(context.Background(), merchantId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETMerchantIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var merchantId interface{} - - httpRes, err := apiClient.HasManyApi.GETMerchantIdVersions(context.Background(), merchantId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderAmountPromotionRuleIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderAmountPromotionRuleId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderAmountPromotionRuleIdVersions(context.Background(), orderAmountPromotionRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderCopyIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderCopyId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderCopyIdEvents(context.Background(), orderCopyId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderFactoryIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderFactoryId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderFactoryIdEvents(context.Background(), orderFactoryId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderIdAttachments(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderIdAuthorizations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderIdAuthorizations(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderIdAvailableCustomerPaymentSources", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderIdAvailableCustomerPaymentSources(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderIdAvailableFreeBundles", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderIdAvailableFreeBundles(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderIdAvailableFreeSkus", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderIdAvailableFreeSkus(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderIdAvailablePaymentMethods", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderIdAvailablePaymentMethods(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderIdCaptures", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderIdCaptures(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderIdEvents(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderIdLineItemOptions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderIdLineItemOptions(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderIdLineItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderIdLineItems(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderIdLinks", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderIdLinks(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderIdOrderCopies", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderIdOrderCopies(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderIdOrderFactories", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderIdOrderFactories(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderIdOrderSubscriptions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderIdOrderSubscriptions(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderIdPaymentOptions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderIdPaymentOptions(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderIdRecurringOrderCopies", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderIdRecurringOrderCopies(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderIdRefunds", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderIdRefunds(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderIdResourceErrors", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderIdResourceErrors(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderIdReturns", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderIdReturns(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderIdShipments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderIdShipments(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderIdStockLineItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderIdStockLineItems(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderIdStockReservations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderIdStockReservations(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderIdStockTransfers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderIdStockTransfers(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderIdTags(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderIdVersions(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderIdVoids", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderIdVoids(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderSubscriptionIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderSubscriptionIdEvents(context.Background(), orderSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderSubscriptionIdOrderFactories", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderSubscriptionIdOrderFactories(context.Background(), orderSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderSubscriptionIdOrderSubscriptionItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderSubscriptionIdOrderSubscriptionItems(context.Background(), orderSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderSubscriptionIdOrders", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderSubscriptionIdOrders(context.Background(), orderSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderSubscriptionIdRecurringOrderCopies", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderSubscriptionIdRecurringOrderCopies(context.Background(), orderSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderSubscriptionIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderSubscriptionIdTags(context.Background(), orderSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETOrderSubscriptionIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionId interface{} - - httpRes, err := apiClient.HasManyApi.GETOrderSubscriptionIdVersions(context.Background(), orderSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPackageIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var packageId interface{} - - httpRes, err := apiClient.HasManyApi.GETPackageIdAttachments(context.Background(), packageId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPackageIdParcels", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var packageId interface{} - - httpRes, err := apiClient.HasManyApi.GETPackageIdParcels(context.Background(), packageId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPackageIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var packageId interface{} - - httpRes, err := apiClient.HasManyApi.GETPackageIdVersions(context.Background(), packageId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETParcelIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var parcelId interface{} - - httpRes, err := apiClient.HasManyApi.GETParcelIdAttachments(context.Background(), parcelId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETParcelIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var parcelId interface{} - - httpRes, err := apiClient.HasManyApi.GETParcelIdEvents(context.Background(), parcelId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETParcelIdParcelLineItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var parcelId interface{} - - httpRes, err := apiClient.HasManyApi.GETParcelIdParcelLineItems(context.Background(), parcelId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETParcelIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var parcelId interface{} - - httpRes, err := apiClient.HasManyApi.GETParcelIdVersions(context.Background(), parcelId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETParcelLineItemIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var parcelLineItemId interface{} - - httpRes, err := apiClient.HasManyApi.GETParcelLineItemIdVersions(context.Background(), parcelLineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPaymentGatewayIdPaymentMethods", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paymentGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETPaymentGatewayIdPaymentMethods(context.Background(), paymentGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPaymentGatewayIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paymentGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETPaymentGatewayIdVersions(context.Background(), paymentGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPaymentMethodIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paymentMethodId interface{} - - httpRes, err := apiClient.HasManyApi.GETPaymentMethodIdAttachments(context.Background(), paymentMethodId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPaymentMethodIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paymentMethodId interface{} - - httpRes, err := apiClient.HasManyApi.GETPaymentMethodIdVersions(context.Background(), paymentMethodId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPaymentOptionIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paymentOptionId interface{} - - httpRes, err := apiClient.HasManyApi.GETPaymentOptionIdAttachments(context.Background(), paymentOptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPaypalGatewayIdPaymentMethods", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paypalGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETPaypalGatewayIdPaymentMethods(context.Background(), paypalGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPaypalGatewayIdPaypalPayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paypalGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETPaypalGatewayIdPaypalPayments(context.Background(), paypalGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPaypalGatewayIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paypalGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETPaypalGatewayIdVersions(context.Background(), paypalGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPaypalPaymentIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paypalPaymentId interface{} - - httpRes, err := apiClient.HasManyApi.GETPaypalPaymentIdVersions(context.Background(), paypalPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPercentageDiscountPromotionIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var percentageDiscountPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETPercentageDiscountPromotionIdAttachments(context.Background(), percentageDiscountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPercentageDiscountPromotionIdCoupons", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var percentageDiscountPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETPercentageDiscountPromotionIdCoupons(context.Background(), percentageDiscountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPercentageDiscountPromotionIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var percentageDiscountPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETPercentageDiscountPromotionIdEvents(context.Background(), percentageDiscountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPercentageDiscountPromotionIdSkus", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var percentageDiscountPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETPercentageDiscountPromotionIdSkus(context.Background(), percentageDiscountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPercentageDiscountPromotionIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var percentageDiscountPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETPercentageDiscountPromotionIdTags(context.Background(), percentageDiscountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPercentageDiscountPromotionIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var percentageDiscountPromotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETPercentageDiscountPromotionIdVersions(context.Background(), percentageDiscountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPriceFrequencyTierIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceFrequencyTierId interface{} - - httpRes, err := apiClient.HasManyApi.GETPriceFrequencyTierIdAttachments(context.Background(), priceFrequencyTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPriceFrequencyTierIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceFrequencyTierId interface{} - - httpRes, err := apiClient.HasManyApi.GETPriceFrequencyTierIdEvents(context.Background(), priceFrequencyTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPriceFrequencyTierIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceFrequencyTierId interface{} - - httpRes, err := apiClient.HasManyApi.GETPriceFrequencyTierIdVersions(context.Background(), priceFrequencyTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPriceIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceId interface{} - - httpRes, err := apiClient.HasManyApi.GETPriceIdAttachments(context.Background(), priceId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPriceIdJwtMarkets", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceId interface{} - - httpRes, err := apiClient.HasManyApi.GETPriceIdJwtMarkets(context.Background(), priceId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPriceIdJwtStockLocations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceId interface{} - - httpRes, err := apiClient.HasManyApi.GETPriceIdJwtStockLocations(context.Background(), priceId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPriceIdPriceFrequencyTiers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceId interface{} - - httpRes, err := apiClient.HasManyApi.GETPriceIdPriceFrequencyTiers(context.Background(), priceId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPriceIdPriceTiers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceId interface{} - - httpRes, err := apiClient.HasManyApi.GETPriceIdPriceTiers(context.Background(), priceId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPriceIdPriceVolumeTiers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceId interface{} - - httpRes, err := apiClient.HasManyApi.GETPriceIdPriceVolumeTiers(context.Background(), priceId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPriceIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceId interface{} - - httpRes, err := apiClient.HasManyApi.GETPriceIdVersions(context.Background(), priceId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPriceListIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceListId interface{} - - httpRes, err := apiClient.HasManyApi.GETPriceListIdAttachments(context.Background(), priceListId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPriceListIdPriceListSchedulers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceListId interface{} - - httpRes, err := apiClient.HasManyApi.GETPriceListIdPriceListSchedulers(context.Background(), priceListId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPriceListIdPrices", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceListId interface{} - - httpRes, err := apiClient.HasManyApi.GETPriceListIdPrices(context.Background(), priceListId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPriceListIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceListId interface{} - - httpRes, err := apiClient.HasManyApi.GETPriceListIdVersions(context.Background(), priceListId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPriceListSchedulerIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceListSchedulerId interface{} - - httpRes, err := apiClient.HasManyApi.GETPriceListSchedulerIdEvents(context.Background(), priceListSchedulerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPriceListSchedulerIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceListSchedulerId interface{} - - httpRes, err := apiClient.HasManyApi.GETPriceListSchedulerIdVersions(context.Background(), priceListSchedulerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPriceTierIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceTierId interface{} - - httpRes, err := apiClient.HasManyApi.GETPriceTierIdAttachments(context.Background(), priceTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPriceTierIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceTierId interface{} - - httpRes, err := apiClient.HasManyApi.GETPriceTierIdVersions(context.Background(), priceTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPriceVolumeTierIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceVolumeTierId interface{} - - httpRes, err := apiClient.HasManyApi.GETPriceVolumeTierIdAttachments(context.Background(), priceVolumeTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPriceVolumeTierIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceVolumeTierId interface{} - - httpRes, err := apiClient.HasManyApi.GETPriceVolumeTierIdEvents(context.Background(), priceVolumeTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPriceVolumeTierIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceVolumeTierId interface{} - - httpRes, err := apiClient.HasManyApi.GETPriceVolumeTierIdVersions(context.Background(), priceVolumeTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPromotionIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var promotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETPromotionIdAttachments(context.Background(), promotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPromotionIdCoupons", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var promotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETPromotionIdCoupons(context.Background(), promotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPromotionIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var promotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETPromotionIdEvents(context.Background(), promotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPromotionIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var promotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETPromotionIdTags(context.Background(), promotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPromotionIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var promotionId interface{} - - httpRes, err := apiClient.HasManyApi.GETPromotionIdVersions(context.Background(), promotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETPromotionRuleIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var promotionRuleId interface{} - - httpRes, err := apiClient.HasManyApi.GETPromotionRuleIdVersions(context.Background(), promotionRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETRecurringOrderCopyIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var recurringOrderCopyId interface{} - - httpRes, err := apiClient.HasManyApi.GETRecurringOrderCopyIdEvents(context.Background(), recurringOrderCopyId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETRefundIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var refundId interface{} - - httpRes, err := apiClient.HasManyApi.GETRefundIdAttachments(context.Background(), refundId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETRefundIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var refundId interface{} - - httpRes, err := apiClient.HasManyApi.GETRefundIdEvents(context.Background(), refundId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETRefundIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var refundId interface{} - - httpRes, err := apiClient.HasManyApi.GETRefundIdVersions(context.Background(), refundId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETReservedStockIdStockReservations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var reservedStockId interface{} - - httpRes, err := apiClient.HasManyApi.GETReservedStockIdStockReservations(context.Background(), reservedStockId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETReservedStockIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var reservedStockId interface{} - - httpRes, err := apiClient.HasManyApi.GETReservedStockIdVersions(context.Background(), reservedStockId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETReturnIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnId interface{} - - httpRes, err := apiClient.HasManyApi.GETReturnIdAttachments(context.Background(), returnId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETReturnIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnId interface{} - - httpRes, err := apiClient.HasManyApi.GETReturnIdEvents(context.Background(), returnId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETReturnIdResourceErrors", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnId interface{} - - httpRes, err := apiClient.HasManyApi.GETReturnIdResourceErrors(context.Background(), returnId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETReturnIdReturnLineItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnId interface{} - - httpRes, err := apiClient.HasManyApi.GETReturnIdReturnLineItems(context.Background(), returnId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETReturnIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnId interface{} - - httpRes, err := apiClient.HasManyApi.GETReturnIdTags(context.Background(), returnId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETReturnIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnId interface{} - - httpRes, err := apiClient.HasManyApi.GETReturnIdVersions(context.Background(), returnId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSatispayGatewayIdPaymentMethods", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var satispayGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETSatispayGatewayIdPaymentMethods(context.Background(), satispayGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSatispayGatewayIdSatispayPayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var satispayGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETSatispayGatewayIdSatispayPayments(context.Background(), satispayGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSatispayGatewayIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var satispayGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETSatispayGatewayIdVersions(context.Background(), satispayGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSatispayPaymentIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var satispayPaymentId interface{} - - httpRes, err := apiClient.HasManyApi.GETSatispayPaymentIdVersions(context.Background(), satispayPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETShipmentIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.HasManyApi.GETShipmentIdAttachments(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETShipmentIdAvailableShippingMethods", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.HasManyApi.GETShipmentIdAvailableShippingMethods(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETShipmentIdCarrierAccounts", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.HasManyApi.GETShipmentIdCarrierAccounts(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETShipmentIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.HasManyApi.GETShipmentIdEvents(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETShipmentIdLineItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.HasManyApi.GETShipmentIdLineItems(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETShipmentIdParcels", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.HasManyApi.GETShipmentIdParcels(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETShipmentIdStockLineItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.HasManyApi.GETShipmentIdStockLineItems(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETShipmentIdStockTransfers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.HasManyApi.GETShipmentIdStockTransfers(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETShipmentIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.HasManyApi.GETShipmentIdTags(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETShipmentIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.HasManyApi.GETShipmentIdVersions(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETShippingCategoryIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingCategoryId interface{} - - httpRes, err := apiClient.HasManyApi.GETShippingCategoryIdAttachments(context.Background(), shippingCategoryId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETShippingCategoryIdSkus", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingCategoryId interface{} - - httpRes, err := apiClient.HasManyApi.GETShippingCategoryIdSkus(context.Background(), shippingCategoryId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETShippingCategoryIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingCategoryId interface{} - - httpRes, err := apiClient.HasManyApi.GETShippingCategoryIdVersions(context.Background(), shippingCategoryId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETShippingMethodIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingMethodId interface{} - - httpRes, err := apiClient.HasManyApi.GETShippingMethodIdAttachments(context.Background(), shippingMethodId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETShippingMethodIdShippingMethodTiers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingMethodId interface{} - - httpRes, err := apiClient.HasManyApi.GETShippingMethodIdShippingMethodTiers(context.Background(), shippingMethodId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETShippingMethodIdShippingWeightTiers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingMethodId interface{} - - httpRes, err := apiClient.HasManyApi.GETShippingMethodIdShippingWeightTiers(context.Background(), shippingMethodId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETShippingMethodIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingMethodId interface{} - - httpRes, err := apiClient.HasManyApi.GETShippingMethodIdVersions(context.Background(), shippingMethodId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETShippingMethodTierIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingMethodTierId interface{} - - httpRes, err := apiClient.HasManyApi.GETShippingMethodTierIdAttachments(context.Background(), shippingMethodTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETShippingMethodTierIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingMethodTierId interface{} - - httpRes, err := apiClient.HasManyApi.GETShippingMethodTierIdVersions(context.Background(), shippingMethodTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETShippingWeightTierIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingWeightTierId interface{} - - httpRes, err := apiClient.HasManyApi.GETShippingWeightTierIdAttachments(context.Background(), shippingWeightTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETShippingWeightTierIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingWeightTierId interface{} - - httpRes, err := apiClient.HasManyApi.GETShippingWeightTierIdVersions(context.Background(), shippingWeightTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETShippingZoneIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingZoneId interface{} - - httpRes, err := apiClient.HasManyApi.GETShippingZoneIdAttachments(context.Background(), shippingZoneId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETShippingZoneIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingZoneId interface{} - - httpRes, err := apiClient.HasManyApi.GETShippingZoneIdVersions(context.Background(), shippingZoneId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSkuIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.HasManyApi.GETSkuIdAttachments(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSkuIdDeliveryLeadTimes", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.HasManyApi.GETSkuIdDeliveryLeadTimes(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSkuIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.HasManyApi.GETSkuIdEvents(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSkuIdJwtMarkets", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.HasManyApi.GETSkuIdJwtMarkets(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSkuIdJwtStockLocations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.HasManyApi.GETSkuIdJwtStockLocations(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSkuIdLinks", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.HasManyApi.GETSkuIdLinks(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSkuIdPrices", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.HasManyApi.GETSkuIdPrices(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSkuIdSkuListItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.HasManyApi.GETSkuIdSkuListItems(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSkuIdSkuLists", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.HasManyApi.GETSkuIdSkuLists(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSkuIdSkuOptions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.HasManyApi.GETSkuIdSkuOptions(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSkuIdStockItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.HasManyApi.GETSkuIdStockItems(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSkuIdStockReservations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.HasManyApi.GETSkuIdStockReservations(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSkuIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.HasManyApi.GETSkuIdTags(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSkuIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.HasManyApi.GETSkuIdVersions(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSkuListIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListId interface{} - - httpRes, err := apiClient.HasManyApi.GETSkuListIdAttachments(context.Background(), skuListId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSkuListIdBundles", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListId interface{} - - httpRes, err := apiClient.HasManyApi.GETSkuListIdBundles(context.Background(), skuListId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSkuListIdLinks", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListId interface{} - - httpRes, err := apiClient.HasManyApi.GETSkuListIdLinks(context.Background(), skuListId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSkuListIdSkuListItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListId interface{} - - httpRes, err := apiClient.HasManyApi.GETSkuListIdSkuListItems(context.Background(), skuListId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSkuListIdSkus", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListId interface{} - - httpRes, err := apiClient.HasManyApi.GETSkuListIdSkus(context.Background(), skuListId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSkuListIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListId interface{} - - httpRes, err := apiClient.HasManyApi.GETSkuListIdVersions(context.Background(), skuListId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSkuListItemIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListItemId interface{} - - httpRes, err := apiClient.HasManyApi.GETSkuListItemIdVersions(context.Background(), skuListItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSkuListPromotionRuleIdSkus", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListPromotionRuleId interface{} - - httpRes, err := apiClient.HasManyApi.GETSkuListPromotionRuleIdSkus(context.Background(), skuListPromotionRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSkuListPromotionRuleIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListPromotionRuleId interface{} - - httpRes, err := apiClient.HasManyApi.GETSkuListPromotionRuleIdVersions(context.Background(), skuListPromotionRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSkuOptionIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuOptionId interface{} - - httpRes, err := apiClient.HasManyApi.GETSkuOptionIdAttachments(context.Background(), skuOptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSkuOptionIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuOptionId interface{} - - httpRes, err := apiClient.HasManyApi.GETSkuOptionIdEvents(context.Background(), skuOptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSkuOptionIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuOptionId interface{} - - httpRes, err := apiClient.HasManyApi.GETSkuOptionIdTags(context.Background(), skuOptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSkuOptionIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuOptionId interface{} - - httpRes, err := apiClient.HasManyApi.GETSkuOptionIdVersions(context.Background(), skuOptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETStockItemIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockItemId interface{} - - httpRes, err := apiClient.HasManyApi.GETStockItemIdAttachments(context.Background(), stockItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETStockItemIdStockReservations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockItemId interface{} - - httpRes, err := apiClient.HasManyApi.GETStockItemIdStockReservations(context.Background(), stockItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETStockItemIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockItemId interface{} - - httpRes, err := apiClient.HasManyApi.GETStockItemIdVersions(context.Background(), stockItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETStockLineItemIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLineItemId interface{} - - httpRes, err := apiClient.HasManyApi.GETStockLineItemIdVersions(context.Background(), stockLineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETStockLocationIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLocationId interface{} - - httpRes, err := apiClient.HasManyApi.GETStockLocationIdAttachments(context.Background(), stockLocationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETStockLocationIdInventoryReturnLocations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLocationId interface{} - - httpRes, err := apiClient.HasManyApi.GETStockLocationIdInventoryReturnLocations(context.Background(), stockLocationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETStockLocationIdInventoryStockLocations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLocationId interface{} - - httpRes, err := apiClient.HasManyApi.GETStockLocationIdInventoryStockLocations(context.Background(), stockLocationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETStockLocationIdStockItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLocationId interface{} - - httpRes, err := apiClient.HasManyApi.GETStockLocationIdStockItems(context.Background(), stockLocationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETStockLocationIdStockTransfers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLocationId interface{} - - httpRes, err := apiClient.HasManyApi.GETStockLocationIdStockTransfers(context.Background(), stockLocationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETStockLocationIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLocationId interface{} - - httpRes, err := apiClient.HasManyApi.GETStockLocationIdVersions(context.Background(), stockLocationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETStockTransferIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockTransferId interface{} - - httpRes, err := apiClient.HasManyApi.GETStockTransferIdAttachments(context.Background(), stockTransferId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETStockTransferIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockTransferId interface{} - - httpRes, err := apiClient.HasManyApi.GETStockTransferIdEvents(context.Background(), stockTransferId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETStockTransferIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockTransferId interface{} - - httpRes, err := apiClient.HasManyApi.GETStockTransferIdVersions(context.Background(), stockTransferId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETStripeGatewayIdPaymentMethods", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stripeGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETStripeGatewayIdPaymentMethods(context.Background(), stripeGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETStripeGatewayIdStripePayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stripeGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETStripeGatewayIdStripePayments(context.Background(), stripeGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETStripeGatewayIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stripeGatewayId interface{} - - httpRes, err := apiClient.HasManyApi.GETStripeGatewayIdVersions(context.Background(), stripeGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETStripePaymentIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stripePaymentId interface{} - - httpRes, err := apiClient.HasManyApi.GETStripePaymentIdVersions(context.Background(), stripePaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSubscriptionModelIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var subscriptionModelId interface{} - - httpRes, err := apiClient.HasManyApi.GETSubscriptionModelIdAttachments(context.Background(), subscriptionModelId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSubscriptionModelIdMarkets", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var subscriptionModelId interface{} - - httpRes, err := apiClient.HasManyApi.GETSubscriptionModelIdMarkets(context.Background(), subscriptionModelId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETSubscriptionModelIdOrderSubscriptions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var subscriptionModelId interface{} - - httpRes, err := apiClient.HasManyApi.GETSubscriptionModelIdOrderSubscriptions(context.Background(), subscriptionModelId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETTaxCalculatorIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxCalculatorId interface{} - - httpRes, err := apiClient.HasManyApi.GETTaxCalculatorIdAttachments(context.Background(), taxCalculatorId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETTaxCalculatorIdMarkets", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxCalculatorId interface{} - - httpRes, err := apiClient.HasManyApi.GETTaxCalculatorIdMarkets(context.Background(), taxCalculatorId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETTaxCalculatorIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxCalculatorId interface{} - - httpRes, err := apiClient.HasManyApi.GETTaxCalculatorIdVersions(context.Background(), taxCalculatorId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETTaxCategoryIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxCategoryId interface{} - - httpRes, err := apiClient.HasManyApi.GETTaxCategoryIdAttachments(context.Background(), taxCategoryId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETTaxCategoryIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxCategoryId interface{} - - httpRes, err := apiClient.HasManyApi.GETTaxCategoryIdVersions(context.Background(), taxCategoryId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETTaxRuleIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxRuleId interface{} - - httpRes, err := apiClient.HasManyApi.GETTaxRuleIdVersions(context.Background(), taxRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETTaxjarAccountIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxjarAccountId interface{} - - httpRes, err := apiClient.HasManyApi.GETTaxjarAccountIdAttachments(context.Background(), taxjarAccountId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETTaxjarAccountIdMarkets", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxjarAccountId interface{} - - httpRes, err := apiClient.HasManyApi.GETTaxjarAccountIdMarkets(context.Background(), taxjarAccountId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETTaxjarAccountIdTaxCategories", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxjarAccountId interface{} - - httpRes, err := apiClient.HasManyApi.GETTaxjarAccountIdTaxCategories(context.Background(), taxjarAccountId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETTaxjarAccountIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxjarAccountId interface{} - - httpRes, err := apiClient.HasManyApi.GETTaxjarAccountIdVersions(context.Background(), taxjarAccountId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETTransactionIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var transactionId interface{} - - httpRes, err := apiClient.HasManyApi.GETTransactionIdAttachments(context.Background(), transactionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETTransactionIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var transactionId interface{} - - httpRes, err := apiClient.HasManyApi.GETTransactionIdEvents(context.Background(), transactionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETTransactionIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var transactionId interface{} - - httpRes, err := apiClient.HasManyApi.GETTransactionIdVersions(context.Background(), transactionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETVoidIdAttachments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var voidId interface{} - - httpRes, err := apiClient.HasManyApi.GETVoidIdAttachments(context.Background(), voidId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETVoidIdEvents", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var voidId interface{} - - httpRes, err := apiClient.HasManyApi.GETVoidIdEvents(context.Background(), voidId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETVoidIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var voidId interface{} - - httpRes, err := apiClient.HasManyApi.GETVoidIdVersions(context.Background(), voidId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETWebhookIdLastEventCallbacks", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var webhookId interface{} - - httpRes, err := apiClient.HasManyApi.GETWebhookIdLastEventCallbacks(context.Background(), webhookId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETWebhookIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var webhookId interface{} - - httpRes, err := apiClient.HasManyApi.GETWebhookIdVersions(context.Background(), webhookId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasManyApiService GETWireTransferIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var wireTransferId interface{} - - httpRes, err := apiClient.HasManyApi.GETWireTransferIdVersions(context.Background(), wireTransferId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_has_one_test.go b/api/test/api_has_one_test.go deleted file mode 100644 index b23e88b5b..000000000 --- a/api/test/api_has_one_test.go +++ /dev/null @@ -1,2794 +0,0 @@ -/* -Commerce Layer API - -Testing HasOneApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_HasOneApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test HasOneApiService GETAddressIdGeocoder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var addressId interface{} - - httpRes, err := apiClient.HasOneApi.GETAddressIdGeocoder(context.Background(), addressId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETAdyenPaymentIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var adyenPaymentId interface{} - - httpRes, err := apiClient.HasOneApi.GETAdyenPaymentIdOrder(context.Background(), adyenPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETAdyenPaymentIdPaymentGateway", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var adyenPaymentId interface{} - - httpRes, err := apiClient.HasOneApi.GETAdyenPaymentIdPaymentGateway(context.Background(), adyenPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETAuthorizationIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var authorizationId interface{} - - httpRes, err := apiClient.HasOneApi.GETAuthorizationIdOrder(context.Background(), authorizationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETAxervePaymentIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var axervePaymentId interface{} - - httpRes, err := apiClient.HasOneApi.GETAxervePaymentIdOrder(context.Background(), axervePaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETAxervePaymentIdPaymentGateway", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var axervePaymentId interface{} - - httpRes, err := apiClient.HasOneApi.GETAxervePaymentIdPaymentGateway(context.Background(), axervePaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETBillingInfoValidationRuleIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var billingInfoValidationRuleId interface{} - - httpRes, err := apiClient.HasOneApi.GETBillingInfoValidationRuleIdMarket(context.Background(), billingInfoValidationRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETBraintreePaymentIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var braintreePaymentId interface{} - - httpRes, err := apiClient.HasOneApi.GETBraintreePaymentIdOrder(context.Background(), braintreePaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETBraintreePaymentIdPaymentGateway", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var braintreePaymentId interface{} - - httpRes, err := apiClient.HasOneApi.GETBraintreePaymentIdPaymentGateway(context.Background(), braintreePaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETBundleIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var bundleId interface{} - - httpRes, err := apiClient.HasOneApi.GETBundleIdMarket(context.Background(), bundleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETBundleIdSkuList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var bundleId interface{} - - httpRes, err := apiClient.HasOneApi.GETBundleIdSkuList(context.Background(), bundleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETBuyXPayYPromotionIdCouponCodesPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var buyXPayYPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETBuyXPayYPromotionIdCouponCodesPromotionRule(context.Background(), buyXPayYPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETBuyXPayYPromotionIdCustomPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var buyXPayYPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETBuyXPayYPromotionIdCustomPromotionRule(context.Background(), buyXPayYPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETBuyXPayYPromotionIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var buyXPayYPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETBuyXPayYPromotionIdMarket(context.Background(), buyXPayYPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETBuyXPayYPromotionIdOrderAmountPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var buyXPayYPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETBuyXPayYPromotionIdOrderAmountPromotionRule(context.Background(), buyXPayYPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETBuyXPayYPromotionIdSkuList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var buyXPayYPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETBuyXPayYPromotionIdSkuList(context.Background(), buyXPayYPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETBuyXPayYPromotionIdSkuListPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var buyXPayYPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETBuyXPayYPromotionIdSkuListPromotionRule(context.Background(), buyXPayYPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETCaptureIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var captureId interface{} - - httpRes, err := apiClient.HasOneApi.GETCaptureIdOrder(context.Background(), captureId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETCaptureIdReferenceAuthorization", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var captureId interface{} - - httpRes, err := apiClient.HasOneApi.GETCaptureIdReferenceAuthorization(context.Background(), captureId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETCaptureIdReturn", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var captureId interface{} - - httpRes, err := apiClient.HasOneApi.GETCaptureIdReturn(context.Background(), captureId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETCarrierAccountIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var carrierAccountId interface{} - - httpRes, err := apiClient.HasOneApi.GETCarrierAccountIdMarket(context.Background(), carrierAccountId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETCheckoutComPaymentIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var checkoutComPaymentId interface{} - - httpRes, err := apiClient.HasOneApi.GETCheckoutComPaymentIdOrder(context.Background(), checkoutComPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETCheckoutComPaymentIdPaymentGateway", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var checkoutComPaymentId interface{} - - httpRes, err := apiClient.HasOneApi.GETCheckoutComPaymentIdPaymentGateway(context.Background(), checkoutComPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETCouponIdCouponRecipient", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var couponId interface{} - - httpRes, err := apiClient.HasOneApi.GETCouponIdCouponRecipient(context.Background(), couponId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETCouponIdPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var couponId interface{} - - httpRes, err := apiClient.HasOneApi.GETCouponIdPromotionRule(context.Background(), couponId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETCouponRecipientIdCustomer", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var couponRecipientId interface{} - - httpRes, err := apiClient.HasOneApi.GETCouponRecipientIdCustomer(context.Background(), couponRecipientId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETCustomerAddressIdAddress", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerAddressId interface{} - - httpRes, err := apiClient.HasOneApi.GETCustomerAddressIdAddress(context.Background(), customerAddressId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETCustomerAddressIdCustomer", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerAddressId interface{} - - httpRes, err := apiClient.HasOneApi.GETCustomerAddressIdCustomer(context.Background(), customerAddressId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETCustomerIdCustomerGroup", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerId interface{} - - httpRes, err := apiClient.HasOneApi.GETCustomerIdCustomerGroup(context.Background(), customerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETCustomerPasswordResetIdCustomer", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerPasswordResetId interface{} - - httpRes, err := apiClient.HasOneApi.GETCustomerPasswordResetIdCustomer(context.Background(), customerPasswordResetId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETCustomerPaymentSourceIdCustomer", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerPaymentSourceId interface{} - - httpRes, err := apiClient.HasOneApi.GETCustomerPaymentSourceIdCustomer(context.Background(), customerPaymentSourceId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETCustomerPaymentSourceIdPaymentMethod", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerPaymentSourceId interface{} - - httpRes, err := apiClient.HasOneApi.GETCustomerPaymentSourceIdPaymentMethod(context.Background(), customerPaymentSourceId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETCustomerSubscriptionIdCustomer", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerSubscriptionId interface{} - - httpRes, err := apiClient.HasOneApi.GETCustomerSubscriptionIdCustomer(context.Background(), customerSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETDeliveryLeadTimeIdShippingMethod", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var deliveryLeadTimeId interface{} - - httpRes, err := apiClient.HasOneApi.GETDeliveryLeadTimeIdShippingMethod(context.Background(), deliveryLeadTimeId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETDeliveryLeadTimeIdStockLocation", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var deliveryLeadTimeId interface{} - - httpRes, err := apiClient.HasOneApi.GETDeliveryLeadTimeIdStockLocation(context.Background(), deliveryLeadTimeId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETEventCallbackIdWebhook", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var eventCallbackId interface{} - - httpRes, err := apiClient.HasOneApi.GETEventCallbackIdWebhook(context.Background(), eventCallbackId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETExternalPaymentIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPaymentId interface{} - - httpRes, err := apiClient.HasOneApi.GETExternalPaymentIdOrder(context.Background(), externalPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETExternalPaymentIdPaymentGateway", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPaymentId interface{} - - httpRes, err := apiClient.HasOneApi.GETExternalPaymentIdPaymentGateway(context.Background(), externalPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETExternalPaymentIdWallet", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPaymentId interface{} - - httpRes, err := apiClient.HasOneApi.GETExternalPaymentIdWallet(context.Background(), externalPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETExternalPromotionIdCouponCodesPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETExternalPromotionIdCouponCodesPromotionRule(context.Background(), externalPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETExternalPromotionIdCustomPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETExternalPromotionIdCustomPromotionRule(context.Background(), externalPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETExternalPromotionIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETExternalPromotionIdMarket(context.Background(), externalPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETExternalPromotionIdOrderAmountPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETExternalPromotionIdOrderAmountPromotionRule(context.Background(), externalPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETExternalPromotionIdSkuList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETExternalPromotionIdSkuList(context.Background(), externalPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETExternalPromotionIdSkuListPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETExternalPromotionIdSkuListPromotionRule(context.Background(), externalPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETFixedAmountPromotionIdCouponCodesPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedAmountPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETFixedAmountPromotionIdCouponCodesPromotionRule(context.Background(), fixedAmountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETFixedAmountPromotionIdCustomPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedAmountPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETFixedAmountPromotionIdCustomPromotionRule(context.Background(), fixedAmountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETFixedAmountPromotionIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedAmountPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETFixedAmountPromotionIdMarket(context.Background(), fixedAmountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETFixedAmountPromotionIdOrderAmountPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedAmountPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETFixedAmountPromotionIdOrderAmountPromotionRule(context.Background(), fixedAmountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETFixedAmountPromotionIdSkuList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedAmountPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETFixedAmountPromotionIdSkuList(context.Background(), fixedAmountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETFixedAmountPromotionIdSkuListPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedAmountPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETFixedAmountPromotionIdSkuListPromotionRule(context.Background(), fixedAmountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETFixedPricePromotionIdCouponCodesPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedPricePromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETFixedPricePromotionIdCouponCodesPromotionRule(context.Background(), fixedPricePromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETFixedPricePromotionIdCustomPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedPricePromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETFixedPricePromotionIdCustomPromotionRule(context.Background(), fixedPricePromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETFixedPricePromotionIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedPricePromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETFixedPricePromotionIdMarket(context.Background(), fixedPricePromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETFixedPricePromotionIdOrderAmountPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedPricePromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETFixedPricePromotionIdOrderAmountPromotionRule(context.Background(), fixedPricePromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETFixedPricePromotionIdSkuList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedPricePromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETFixedPricePromotionIdSkuList(context.Background(), fixedPricePromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETFixedPricePromotionIdSkuListPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedPricePromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETFixedPricePromotionIdSkuListPromotionRule(context.Background(), fixedPricePromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETFlexPromotionIdCouponCodesPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var flexPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETFlexPromotionIdCouponCodesPromotionRule(context.Background(), flexPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETFreeGiftPromotionIdCouponCodesPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeGiftPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETFreeGiftPromotionIdCouponCodesPromotionRule(context.Background(), freeGiftPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETFreeGiftPromotionIdCustomPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeGiftPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETFreeGiftPromotionIdCustomPromotionRule(context.Background(), freeGiftPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETFreeGiftPromotionIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeGiftPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETFreeGiftPromotionIdMarket(context.Background(), freeGiftPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETFreeGiftPromotionIdOrderAmountPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeGiftPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETFreeGiftPromotionIdOrderAmountPromotionRule(context.Background(), freeGiftPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETFreeGiftPromotionIdSkuList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeGiftPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETFreeGiftPromotionIdSkuList(context.Background(), freeGiftPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETFreeGiftPromotionIdSkuListPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeGiftPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETFreeGiftPromotionIdSkuListPromotionRule(context.Background(), freeGiftPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETFreeShippingPromotionIdCouponCodesPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeShippingPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETFreeShippingPromotionIdCouponCodesPromotionRule(context.Background(), freeShippingPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETFreeShippingPromotionIdCustomPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeShippingPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETFreeShippingPromotionIdCustomPromotionRule(context.Background(), freeShippingPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETFreeShippingPromotionIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeShippingPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETFreeShippingPromotionIdMarket(context.Background(), freeShippingPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETFreeShippingPromotionIdOrderAmountPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeShippingPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETFreeShippingPromotionIdOrderAmountPromotionRule(context.Background(), freeShippingPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETFreeShippingPromotionIdSkuList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeShippingPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETFreeShippingPromotionIdSkuList(context.Background(), freeShippingPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETFreeShippingPromotionIdSkuListPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeShippingPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETFreeShippingPromotionIdSkuListPromotionRule(context.Background(), freeShippingPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETGiftCardIdGiftCardRecipient", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var giftCardId interface{} - - httpRes, err := apiClient.HasOneApi.GETGiftCardIdGiftCardRecipient(context.Background(), giftCardId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETGiftCardIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var giftCardId interface{} - - httpRes, err := apiClient.HasOneApi.GETGiftCardIdMarket(context.Background(), giftCardId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETGiftCardRecipientIdCustomer", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var giftCardRecipientId interface{} - - httpRes, err := apiClient.HasOneApi.GETGiftCardRecipientIdCustomer(context.Background(), giftCardRecipientId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETInStockSubscriptionIdCustomer", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inStockSubscriptionId interface{} - - httpRes, err := apiClient.HasOneApi.GETInStockSubscriptionIdCustomer(context.Background(), inStockSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETInStockSubscriptionIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inStockSubscriptionId interface{} - - httpRes, err := apiClient.HasOneApi.GETInStockSubscriptionIdMarket(context.Background(), inStockSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETInStockSubscriptionIdSku", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inStockSubscriptionId interface{} - - httpRes, err := apiClient.HasOneApi.GETInStockSubscriptionIdSku(context.Background(), inStockSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETInventoryReturnLocationIdInventoryModel", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inventoryReturnLocationId interface{} - - httpRes, err := apiClient.HasOneApi.GETInventoryReturnLocationIdInventoryModel(context.Background(), inventoryReturnLocationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETInventoryReturnLocationIdStockLocation", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inventoryReturnLocationId interface{} - - httpRes, err := apiClient.HasOneApi.GETInventoryReturnLocationIdStockLocation(context.Background(), inventoryReturnLocationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETInventoryStockLocationIdInventoryModel", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inventoryStockLocationId interface{} - - httpRes, err := apiClient.HasOneApi.GETInventoryStockLocationIdInventoryModel(context.Background(), inventoryStockLocationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETInventoryStockLocationIdStockLocation", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inventoryStockLocationId interface{} - - httpRes, err := apiClient.HasOneApi.GETInventoryStockLocationIdStockLocation(context.Background(), inventoryStockLocationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETKlarnaPaymentIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var klarnaPaymentId interface{} - - httpRes, err := apiClient.HasOneApi.GETKlarnaPaymentIdOrder(context.Background(), klarnaPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETKlarnaPaymentIdPaymentGateway", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var klarnaPaymentId interface{} - - httpRes, err := apiClient.HasOneApi.GETKlarnaPaymentIdPaymentGateway(context.Background(), klarnaPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETLineItemIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var lineItemId interface{} - - httpRes, err := apiClient.HasOneApi.GETLineItemIdOrder(context.Background(), lineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETLineItemOptionIdLineItem", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var lineItemOptionId interface{} - - httpRes, err := apiClient.HasOneApi.GETLineItemOptionIdLineItem(context.Background(), lineItemOptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETLineItemOptionIdSkuOption", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var lineItemOptionId interface{} - - httpRes, err := apiClient.HasOneApi.GETLineItemOptionIdSkuOption(context.Background(), lineItemOptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETMarketIdBasePriceList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var marketId interface{} - - httpRes, err := apiClient.HasOneApi.GETMarketIdBasePriceList(context.Background(), marketId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETMarketIdCustomerGroup", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var marketId interface{} - - httpRes, err := apiClient.HasOneApi.GETMarketIdCustomerGroup(context.Background(), marketId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETMarketIdGeocoder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var marketId interface{} - - httpRes, err := apiClient.HasOneApi.GETMarketIdGeocoder(context.Background(), marketId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETMarketIdInventoryModel", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var marketId interface{} - - httpRes, err := apiClient.HasOneApi.GETMarketIdInventoryModel(context.Background(), marketId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETMarketIdMerchant", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var marketId interface{} - - httpRes, err := apiClient.HasOneApi.GETMarketIdMerchant(context.Background(), marketId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETMarketIdPriceList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var marketId interface{} - - httpRes, err := apiClient.HasOneApi.GETMarketIdPriceList(context.Background(), marketId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETMarketIdSubscriptionModel", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var marketId interface{} - - httpRes, err := apiClient.HasOneApi.GETMarketIdSubscriptionModel(context.Background(), marketId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETMarketIdTaxCalculator", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var marketId interface{} - - httpRes, err := apiClient.HasOneApi.GETMarketIdTaxCalculator(context.Background(), marketId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETMerchantIdAddress", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var merchantId interface{} - - httpRes, err := apiClient.HasOneApi.GETMerchantIdAddress(context.Background(), merchantId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETOrderCopyIdOrderSubscription", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderCopyId interface{} - - httpRes, err := apiClient.HasOneApi.GETOrderCopyIdOrderSubscription(context.Background(), orderCopyId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETOrderCopyIdSourceOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderCopyId interface{} - - httpRes, err := apiClient.HasOneApi.GETOrderCopyIdSourceOrder(context.Background(), orderCopyId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETOrderCopyIdTargetOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderCopyId interface{} - - httpRes, err := apiClient.HasOneApi.GETOrderCopyIdTargetOrder(context.Background(), orderCopyId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETOrderFactoryIdSourceOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderFactoryId interface{} - - httpRes, err := apiClient.HasOneApi.GETOrderFactoryIdSourceOrder(context.Background(), orderFactoryId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETOrderFactoryIdTargetOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderFactoryId interface{} - - httpRes, err := apiClient.HasOneApi.GETOrderFactoryIdTargetOrder(context.Background(), orderFactoryId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETOrderIdBillingAddress", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasOneApi.GETOrderIdBillingAddress(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETOrderIdCustomer", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasOneApi.GETOrderIdCustomer(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETOrderIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasOneApi.GETOrderIdMarket(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETOrderIdOrderSubscription", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasOneApi.GETOrderIdOrderSubscription(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETOrderIdPaymentMethod", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasOneApi.GETOrderIdPaymentMethod(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETOrderIdShippingAddress", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.HasOneApi.GETOrderIdShippingAddress(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETOrderSubscriptionIdCustomer", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionId interface{} - - httpRes, err := apiClient.HasOneApi.GETOrderSubscriptionIdCustomer(context.Background(), orderSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETOrderSubscriptionIdCustomerPaymentSource", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionId interface{} - - httpRes, err := apiClient.HasOneApi.GETOrderSubscriptionIdCustomerPaymentSource(context.Background(), orderSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETOrderSubscriptionIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionId interface{} - - httpRes, err := apiClient.HasOneApi.GETOrderSubscriptionIdMarket(context.Background(), orderSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETOrderSubscriptionIdSourceOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionId interface{} - - httpRes, err := apiClient.HasOneApi.GETOrderSubscriptionIdSourceOrder(context.Background(), orderSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETOrderSubscriptionIdSubscriptionModel", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionId interface{} - - httpRes, err := apiClient.HasOneApi.GETOrderSubscriptionIdSubscriptionModel(context.Background(), orderSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETOrderSubscriptionItemIdOrderSubscription", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionItemId interface{} - - httpRes, err := apiClient.HasOneApi.GETOrderSubscriptionItemIdOrderSubscription(context.Background(), orderSubscriptionItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETOrderSubscriptionItemIdSourceLineItem", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionItemId interface{} - - httpRes, err := apiClient.HasOneApi.GETOrderSubscriptionItemIdSourceLineItem(context.Background(), orderSubscriptionItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETPackageIdStockLocation", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var packageId interface{} - - httpRes, err := apiClient.HasOneApi.GETPackageIdStockLocation(context.Background(), packageId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETParcelIdPackage", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var parcelId interface{} - - httpRes, err := apiClient.HasOneApi.GETParcelIdPackage(context.Background(), parcelId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETParcelIdShipment", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var parcelId interface{} - - httpRes, err := apiClient.HasOneApi.GETParcelIdShipment(context.Background(), parcelId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETParcelLineItemIdParcel", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var parcelLineItemId interface{} - - httpRes, err := apiClient.HasOneApi.GETParcelLineItemIdParcel(context.Background(), parcelLineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETParcelLineItemIdStockLineItem", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var parcelLineItemId interface{} - - httpRes, err := apiClient.HasOneApi.GETParcelLineItemIdStockLineItem(context.Background(), parcelLineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETPaymentMethodIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paymentMethodId interface{} - - httpRes, err := apiClient.HasOneApi.GETPaymentMethodIdMarket(context.Background(), paymentMethodId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETPaymentMethodIdPaymentGateway", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paymentMethodId interface{} - - httpRes, err := apiClient.HasOneApi.GETPaymentMethodIdPaymentGateway(context.Background(), paymentMethodId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETPaymentOptionIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paymentOptionId interface{} - - httpRes, err := apiClient.HasOneApi.GETPaymentOptionIdOrder(context.Background(), paymentOptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETPaypalPaymentIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paypalPaymentId interface{} - - httpRes, err := apiClient.HasOneApi.GETPaypalPaymentIdOrder(context.Background(), paypalPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETPaypalPaymentIdPaymentGateway", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paypalPaymentId interface{} - - httpRes, err := apiClient.HasOneApi.GETPaypalPaymentIdPaymentGateway(context.Background(), paypalPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETPercentageDiscountPromotionIdCouponCodesPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var percentageDiscountPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETPercentageDiscountPromotionIdCouponCodesPromotionRule(context.Background(), percentageDiscountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETPercentageDiscountPromotionIdCustomPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var percentageDiscountPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETPercentageDiscountPromotionIdCustomPromotionRule(context.Background(), percentageDiscountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETPercentageDiscountPromotionIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var percentageDiscountPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETPercentageDiscountPromotionIdMarket(context.Background(), percentageDiscountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETPercentageDiscountPromotionIdOrderAmountPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var percentageDiscountPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETPercentageDiscountPromotionIdOrderAmountPromotionRule(context.Background(), percentageDiscountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETPercentageDiscountPromotionIdSkuList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var percentageDiscountPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETPercentageDiscountPromotionIdSkuList(context.Background(), percentageDiscountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETPercentageDiscountPromotionIdSkuListPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var percentageDiscountPromotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETPercentageDiscountPromotionIdSkuListPromotionRule(context.Background(), percentageDiscountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETPriceFrequencyTierIdPrice", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceFrequencyTierId interface{} - - httpRes, err := apiClient.HasOneApi.GETPriceFrequencyTierIdPrice(context.Background(), priceFrequencyTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETPriceIdJwtCustomer", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceId interface{} - - httpRes, err := apiClient.HasOneApi.GETPriceIdJwtCustomer(context.Background(), priceId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETPriceIdPriceList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceId interface{} - - httpRes, err := apiClient.HasOneApi.GETPriceIdPriceList(context.Background(), priceId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETPriceIdSku", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceId interface{} - - httpRes, err := apiClient.HasOneApi.GETPriceIdSku(context.Background(), priceId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETPriceListSchedulerIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceListSchedulerId interface{} - - httpRes, err := apiClient.HasOneApi.GETPriceListSchedulerIdMarket(context.Background(), priceListSchedulerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETPriceListSchedulerIdPriceList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceListSchedulerId interface{} - - httpRes, err := apiClient.HasOneApi.GETPriceListSchedulerIdPriceList(context.Background(), priceListSchedulerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETPriceTierIdPrice", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceTierId interface{} - - httpRes, err := apiClient.HasOneApi.GETPriceTierIdPrice(context.Background(), priceTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETPriceVolumeTierIdPrice", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceVolumeTierId interface{} - - httpRes, err := apiClient.HasOneApi.GETPriceVolumeTierIdPrice(context.Background(), priceVolumeTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETPromotionIdCouponCodesPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var promotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETPromotionIdCouponCodesPromotionRule(context.Background(), promotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETPromotionIdCustomPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var promotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETPromotionIdCustomPromotionRule(context.Background(), promotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETPromotionIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var promotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETPromotionIdMarket(context.Background(), promotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETPromotionIdOrderAmountPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var promotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETPromotionIdOrderAmountPromotionRule(context.Background(), promotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETPromotionIdSkuList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var promotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETPromotionIdSkuList(context.Background(), promotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETPromotionIdSkuListPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var promotionId interface{} - - httpRes, err := apiClient.HasOneApi.GETPromotionIdSkuListPromotionRule(context.Background(), promotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETRecurringOrderCopyIdOrderSubscription", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var recurringOrderCopyId interface{} - - httpRes, err := apiClient.HasOneApi.GETRecurringOrderCopyIdOrderSubscription(context.Background(), recurringOrderCopyId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETRecurringOrderCopyIdSourceOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var recurringOrderCopyId interface{} - - httpRes, err := apiClient.HasOneApi.GETRecurringOrderCopyIdSourceOrder(context.Background(), recurringOrderCopyId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETRecurringOrderCopyIdTargetOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var recurringOrderCopyId interface{} - - httpRes, err := apiClient.HasOneApi.GETRecurringOrderCopyIdTargetOrder(context.Background(), recurringOrderCopyId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETRefundIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var refundId interface{} - - httpRes, err := apiClient.HasOneApi.GETRefundIdOrder(context.Background(), refundId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETRefundIdReferenceCapture", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var refundId interface{} - - httpRes, err := apiClient.HasOneApi.GETRefundIdReferenceCapture(context.Background(), refundId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETRefundIdReturn", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var refundId interface{} - - httpRes, err := apiClient.HasOneApi.GETRefundIdReturn(context.Background(), refundId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETReservedStockIdSku", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var reservedStockId interface{} - - httpRes, err := apiClient.HasOneApi.GETReservedStockIdSku(context.Background(), reservedStockId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETReservedStockIdStockItem", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var reservedStockId interface{} - - httpRes, err := apiClient.HasOneApi.GETReservedStockIdStockItem(context.Background(), reservedStockId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETReturnIdCustomer", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnId interface{} - - httpRes, err := apiClient.HasOneApi.GETReturnIdCustomer(context.Background(), returnId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETReturnIdDestinationAddress", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnId interface{} - - httpRes, err := apiClient.HasOneApi.GETReturnIdDestinationAddress(context.Background(), returnId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETReturnIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnId interface{} - - httpRes, err := apiClient.HasOneApi.GETReturnIdOrder(context.Background(), returnId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETReturnIdOriginAddress", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnId interface{} - - httpRes, err := apiClient.HasOneApi.GETReturnIdOriginAddress(context.Background(), returnId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETReturnIdReferenceCapture", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnId interface{} - - httpRes, err := apiClient.HasOneApi.GETReturnIdReferenceCapture(context.Background(), returnId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETReturnIdReferenceRefund", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnId interface{} - - httpRes, err := apiClient.HasOneApi.GETReturnIdReferenceRefund(context.Background(), returnId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETReturnIdStockLocation", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnId interface{} - - httpRes, err := apiClient.HasOneApi.GETReturnIdStockLocation(context.Background(), returnId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETReturnLineItemIdLineItem", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnLineItemId interface{} - - httpRes, err := apiClient.HasOneApi.GETReturnLineItemIdLineItem(context.Background(), returnLineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETReturnLineItemIdReturn", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnLineItemId interface{} - - httpRes, err := apiClient.HasOneApi.GETReturnLineItemIdReturn(context.Background(), returnLineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETSatispayPaymentIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var satispayPaymentId interface{} - - httpRes, err := apiClient.HasOneApi.GETSatispayPaymentIdOrder(context.Background(), satispayPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETSatispayPaymentIdPaymentGateway", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var satispayPaymentId interface{} - - httpRes, err := apiClient.HasOneApi.GETSatispayPaymentIdPaymentGateway(context.Background(), satispayPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETShipmentIdDeliveryLeadTime", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.HasOneApi.GETShipmentIdDeliveryLeadTime(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETShipmentIdInventoryStockLocation", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.HasOneApi.GETShipmentIdInventoryStockLocation(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETShipmentIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.HasOneApi.GETShipmentIdOrder(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETShipmentIdOriginAddress", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.HasOneApi.GETShipmentIdOriginAddress(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETShipmentIdShippingAddress", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.HasOneApi.GETShipmentIdShippingAddress(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETShipmentIdShippingCategory", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.HasOneApi.GETShipmentIdShippingCategory(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETShipmentIdShippingMethod", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.HasOneApi.GETShipmentIdShippingMethod(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETShipmentIdStockLocation", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.HasOneApi.GETShipmentIdStockLocation(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETShippingMethodIdDeliveryLeadTimeForShipment", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingMethodId interface{} - - httpRes, err := apiClient.HasOneApi.GETShippingMethodIdDeliveryLeadTimeForShipment(context.Background(), shippingMethodId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETShippingMethodIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingMethodId interface{} - - httpRes, err := apiClient.HasOneApi.GETShippingMethodIdMarket(context.Background(), shippingMethodId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETShippingMethodIdShippingCategory", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingMethodId interface{} - - httpRes, err := apiClient.HasOneApi.GETShippingMethodIdShippingCategory(context.Background(), shippingMethodId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETShippingMethodIdShippingZone", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingMethodId interface{} - - httpRes, err := apiClient.HasOneApi.GETShippingMethodIdShippingZone(context.Background(), shippingMethodId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETShippingMethodIdStockLocation", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingMethodId interface{} - - httpRes, err := apiClient.HasOneApi.GETShippingMethodIdStockLocation(context.Background(), shippingMethodId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETShippingMethodTierIdShippingMethod", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingMethodTierId interface{} - - httpRes, err := apiClient.HasOneApi.GETShippingMethodTierIdShippingMethod(context.Background(), shippingMethodTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETShippingWeightTierIdShippingMethod", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingWeightTierId interface{} - - httpRes, err := apiClient.HasOneApi.GETShippingWeightTierIdShippingMethod(context.Background(), shippingWeightTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETSkuIdJwtCustomer", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.HasOneApi.GETSkuIdJwtCustomer(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETSkuIdShippingCategory", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.HasOneApi.GETSkuIdShippingCategory(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETSkuListIdCustomer", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListId interface{} - - httpRes, err := apiClient.HasOneApi.GETSkuListIdCustomer(context.Background(), skuListId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETSkuListItemIdSku", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListItemId interface{} - - httpRes, err := apiClient.HasOneApi.GETSkuListItemIdSku(context.Background(), skuListItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETSkuListItemIdSkuList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListItemId interface{} - - httpRes, err := apiClient.HasOneApi.GETSkuListItemIdSkuList(context.Background(), skuListItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETSkuListPromotionRuleIdSkuList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListPromotionRuleId interface{} - - httpRes, err := apiClient.HasOneApi.GETSkuListPromotionRuleIdSkuList(context.Background(), skuListPromotionRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETSkuOptionIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuOptionId interface{} - - httpRes, err := apiClient.HasOneApi.GETSkuOptionIdMarket(context.Background(), skuOptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETStockItemIdReservedStock", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockItemId interface{} - - httpRes, err := apiClient.HasOneApi.GETStockItemIdReservedStock(context.Background(), stockItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETStockItemIdSku", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockItemId interface{} - - httpRes, err := apiClient.HasOneApi.GETStockItemIdSku(context.Background(), stockItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETStockItemIdStockLocation", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockItemId interface{} - - httpRes, err := apiClient.HasOneApi.GETStockItemIdStockLocation(context.Background(), stockItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETStockLineItemIdLineItem", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLineItemId interface{} - - httpRes, err := apiClient.HasOneApi.GETStockLineItemIdLineItem(context.Background(), stockLineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETStockLineItemIdShipment", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLineItemId interface{} - - httpRes, err := apiClient.HasOneApi.GETStockLineItemIdShipment(context.Background(), stockLineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETStockLineItemIdSku", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLineItemId interface{} - - httpRes, err := apiClient.HasOneApi.GETStockLineItemIdSku(context.Background(), stockLineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETStockLineItemIdStockItem", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLineItemId interface{} - - httpRes, err := apiClient.HasOneApi.GETStockLineItemIdStockItem(context.Background(), stockLineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETStockLineItemIdStockReservation", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLineItemId interface{} - - httpRes, err := apiClient.HasOneApi.GETStockLineItemIdStockReservation(context.Background(), stockLineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETStockLocationIdAddress", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLocationId interface{} - - httpRes, err := apiClient.HasOneApi.GETStockLocationIdAddress(context.Background(), stockLocationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETStockReservationIdLineItem", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockReservationId interface{} - - httpRes, err := apiClient.HasOneApi.GETStockReservationIdLineItem(context.Background(), stockReservationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETStockReservationIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockReservationId interface{} - - httpRes, err := apiClient.HasOneApi.GETStockReservationIdOrder(context.Background(), stockReservationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETStockReservationIdReservedStock", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockReservationId interface{} - - httpRes, err := apiClient.HasOneApi.GETStockReservationIdReservedStock(context.Background(), stockReservationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETStockReservationIdSku", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockReservationId interface{} - - httpRes, err := apiClient.HasOneApi.GETStockReservationIdSku(context.Background(), stockReservationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETStockReservationIdStockItem", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockReservationId interface{} - - httpRes, err := apiClient.HasOneApi.GETStockReservationIdStockItem(context.Background(), stockReservationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETStockReservationIdStockLineItem", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockReservationId interface{} - - httpRes, err := apiClient.HasOneApi.GETStockReservationIdStockLineItem(context.Background(), stockReservationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETStockReservationIdStockTransfer", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockReservationId interface{} - - httpRes, err := apiClient.HasOneApi.GETStockReservationIdStockTransfer(context.Background(), stockReservationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETStockTransferIdDestinationStockLocation", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockTransferId interface{} - - httpRes, err := apiClient.HasOneApi.GETStockTransferIdDestinationStockLocation(context.Background(), stockTransferId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETStockTransferIdLineItem", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockTransferId interface{} - - httpRes, err := apiClient.HasOneApi.GETStockTransferIdLineItem(context.Background(), stockTransferId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETStockTransferIdOriginStockLocation", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockTransferId interface{} - - httpRes, err := apiClient.HasOneApi.GETStockTransferIdOriginStockLocation(context.Background(), stockTransferId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETStockTransferIdShipment", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockTransferId interface{} - - httpRes, err := apiClient.HasOneApi.GETStockTransferIdShipment(context.Background(), stockTransferId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETStockTransferIdSku", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockTransferId interface{} - - httpRes, err := apiClient.HasOneApi.GETStockTransferIdSku(context.Background(), stockTransferId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETStockTransferIdStockReservation", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockTransferId interface{} - - httpRes, err := apiClient.HasOneApi.GETStockTransferIdStockReservation(context.Background(), stockTransferId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETStripePaymentIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stripePaymentId interface{} - - httpRes, err := apiClient.HasOneApi.GETStripePaymentIdOrder(context.Background(), stripePaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETStripePaymentIdPaymentGateway", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stripePaymentId interface{} - - httpRes, err := apiClient.HasOneApi.GETStripePaymentIdPaymentGateway(context.Background(), stripePaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETTaxCategoryIdSku", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxCategoryId interface{} - - httpRes, err := apiClient.HasOneApi.GETTaxCategoryIdSku(context.Background(), taxCategoryId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETTaxRuleIdManualTaxCalculator", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxRuleId interface{} - - httpRes, err := apiClient.HasOneApi.GETTaxRuleIdManualTaxCalculator(context.Background(), taxRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETTransactionIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var transactionId interface{} - - httpRes, err := apiClient.HasOneApi.GETTransactionIdOrder(context.Background(), transactionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETVoidIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var voidId interface{} - - httpRes, err := apiClient.HasOneApi.GETVoidIdOrder(context.Background(), voidId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETVoidIdReferenceAuthorization", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var voidId interface{} - - httpRes, err := apiClient.HasOneApi.GETVoidIdReferenceAuthorization(context.Background(), voidId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test HasOneApiService GETWireTransferIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var wireTransferId interface{} - - httpRes, err := apiClient.HasOneApi.GETWireTransferIdOrder(context.Background(), wireTransferId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_imports_test.go b/api/test/api_imports_test.go deleted file mode 100644 index 0addecffd..000000000 --- a/api/test/api_imports_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing ImportsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_ImportsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test ImportsApiService DELETEImportsImportId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var importId interface{} - - httpRes, err := apiClient.ImportsApi.DELETEImportsImportId(context.Background(), importId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ImportsApiService GETImports", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ImportsApi.GETImports(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ImportsApiService GETImportsImportId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var importId interface{} - - resp, httpRes, err := apiClient.ImportsApi.GETImportsImportId(context.Background(), importId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ImportsApiService PATCHImportsImportId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var importId interface{} - - resp, httpRes, err := apiClient.ImportsApi.PATCHImportsImportId(context.Background(), importId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ImportsApiService POSTImports", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ImportsApi.POSTImports(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_in_stock_subscriptions_test.go b/api/test/api_in_stock_subscriptions_test.go deleted file mode 100644 index fa9824234..000000000 --- a/api/test/api_in_stock_subscriptions_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing InStockSubscriptionsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_InStockSubscriptionsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test InStockSubscriptionsApiService DELETEInStockSubscriptionsInStockSubscriptionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inStockSubscriptionId interface{} - - httpRes, err := apiClient.InStockSubscriptionsApi.DELETEInStockSubscriptionsInStockSubscriptionId(context.Background(), inStockSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test InStockSubscriptionsApiService GETInStockSubscriptions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.InStockSubscriptionsApi.GETInStockSubscriptions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test InStockSubscriptionsApiService GETInStockSubscriptionsInStockSubscriptionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inStockSubscriptionId interface{} - - resp, httpRes, err := apiClient.InStockSubscriptionsApi.GETInStockSubscriptionsInStockSubscriptionId(context.Background(), inStockSubscriptionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test InStockSubscriptionsApiService PATCHInStockSubscriptionsInStockSubscriptionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inStockSubscriptionId interface{} - - resp, httpRes, err := apiClient.InStockSubscriptionsApi.PATCHInStockSubscriptionsInStockSubscriptionId(context.Background(), inStockSubscriptionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test InStockSubscriptionsApiService POSTInStockSubscriptions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.InStockSubscriptionsApi.POSTInStockSubscriptions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_inventory_models_test.go b/api/test/api_inventory_models_test.go deleted file mode 100644 index 7e561369a..000000000 --- a/api/test/api_inventory_models_test.go +++ /dev/null @@ -1,129 +0,0 @@ -/* -Commerce Layer API - -Testing InventoryModelsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_InventoryModelsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test InventoryModelsApiService DELETEInventoryModelsInventoryModelId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inventoryModelId interface{} - - httpRes, err := apiClient.InventoryModelsApi.DELETEInventoryModelsInventoryModelId(context.Background(), inventoryModelId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test InventoryModelsApiService GETInventoryModels", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.InventoryModelsApi.GETInventoryModels(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test InventoryModelsApiService GETInventoryModelsInventoryModelId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inventoryModelId interface{} - - resp, httpRes, err := apiClient.InventoryModelsApi.GETInventoryModelsInventoryModelId(context.Background(), inventoryModelId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test InventoryModelsApiService GETInventoryReturnLocationIdInventoryModel", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inventoryReturnLocationId interface{} - - httpRes, err := apiClient.InventoryModelsApi.GETInventoryReturnLocationIdInventoryModel(context.Background(), inventoryReturnLocationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test InventoryModelsApiService GETInventoryStockLocationIdInventoryModel", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inventoryStockLocationId interface{} - - httpRes, err := apiClient.InventoryModelsApi.GETInventoryStockLocationIdInventoryModel(context.Background(), inventoryStockLocationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test InventoryModelsApiService GETMarketIdInventoryModel", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var marketId interface{} - - httpRes, err := apiClient.InventoryModelsApi.GETMarketIdInventoryModel(context.Background(), marketId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test InventoryModelsApiService PATCHInventoryModelsInventoryModelId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inventoryModelId interface{} - - resp, httpRes, err := apiClient.InventoryModelsApi.PATCHInventoryModelsInventoryModelId(context.Background(), inventoryModelId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test InventoryModelsApiService POSTInventoryModels", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.InventoryModelsApi.POSTInventoryModels(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_inventory_return_locations_test.go b/api/test/api_inventory_return_locations_test.go deleted file mode 100644 index 7898ca523..000000000 --- a/api/test/api_inventory_return_locations_test.go +++ /dev/null @@ -1,116 +0,0 @@ -/* -Commerce Layer API - -Testing InventoryReturnLocationsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_InventoryReturnLocationsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test InventoryReturnLocationsApiService DELETEInventoryReturnLocationsInventoryReturnLocationId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inventoryReturnLocationId interface{} - - httpRes, err := apiClient.InventoryReturnLocationsApi.DELETEInventoryReturnLocationsInventoryReturnLocationId(context.Background(), inventoryReturnLocationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test InventoryReturnLocationsApiService GETInventoryModelIdInventoryReturnLocations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inventoryModelId interface{} - - httpRes, err := apiClient.InventoryReturnLocationsApi.GETInventoryModelIdInventoryReturnLocations(context.Background(), inventoryModelId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test InventoryReturnLocationsApiService GETInventoryReturnLocations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.InventoryReturnLocationsApi.GETInventoryReturnLocations(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test InventoryReturnLocationsApiService GETInventoryReturnLocationsInventoryReturnLocationId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inventoryReturnLocationId interface{} - - resp, httpRes, err := apiClient.InventoryReturnLocationsApi.GETInventoryReturnLocationsInventoryReturnLocationId(context.Background(), inventoryReturnLocationId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test InventoryReturnLocationsApiService GETStockLocationIdInventoryReturnLocations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLocationId interface{} - - httpRes, err := apiClient.InventoryReturnLocationsApi.GETStockLocationIdInventoryReturnLocations(context.Background(), stockLocationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test InventoryReturnLocationsApiService PATCHInventoryReturnLocationsInventoryReturnLocationId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inventoryReturnLocationId interface{} - - resp, httpRes, err := apiClient.InventoryReturnLocationsApi.PATCHInventoryReturnLocationsInventoryReturnLocationId(context.Background(), inventoryReturnLocationId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test InventoryReturnLocationsApiService POSTInventoryReturnLocations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.InventoryReturnLocationsApi.POSTInventoryReturnLocations(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_inventory_stock_locations_test.go b/api/test/api_inventory_stock_locations_test.go deleted file mode 100644 index 94b61d7e0..000000000 --- a/api/test/api_inventory_stock_locations_test.go +++ /dev/null @@ -1,129 +0,0 @@ -/* -Commerce Layer API - -Testing InventoryStockLocationsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_InventoryStockLocationsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test InventoryStockLocationsApiService DELETEInventoryStockLocationsInventoryStockLocationId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inventoryStockLocationId interface{} - - httpRes, err := apiClient.InventoryStockLocationsApi.DELETEInventoryStockLocationsInventoryStockLocationId(context.Background(), inventoryStockLocationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test InventoryStockLocationsApiService GETInventoryModelIdInventoryStockLocations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inventoryModelId interface{} - - httpRes, err := apiClient.InventoryStockLocationsApi.GETInventoryModelIdInventoryStockLocations(context.Background(), inventoryModelId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test InventoryStockLocationsApiService GETInventoryStockLocations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.InventoryStockLocationsApi.GETInventoryStockLocations(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test InventoryStockLocationsApiService GETInventoryStockLocationsInventoryStockLocationId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inventoryStockLocationId interface{} - - resp, httpRes, err := apiClient.InventoryStockLocationsApi.GETInventoryStockLocationsInventoryStockLocationId(context.Background(), inventoryStockLocationId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test InventoryStockLocationsApiService GETShipmentIdInventoryStockLocation", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.InventoryStockLocationsApi.GETShipmentIdInventoryStockLocation(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test InventoryStockLocationsApiService GETStockLocationIdInventoryStockLocations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLocationId interface{} - - httpRes, err := apiClient.InventoryStockLocationsApi.GETStockLocationIdInventoryStockLocations(context.Background(), stockLocationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test InventoryStockLocationsApiService PATCHInventoryStockLocationsInventoryStockLocationId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inventoryStockLocationId interface{} - - resp, httpRes, err := apiClient.InventoryStockLocationsApi.PATCHInventoryStockLocationsInventoryStockLocationId(context.Background(), inventoryStockLocationId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test InventoryStockLocationsApiService POSTInventoryStockLocations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.InventoryStockLocationsApi.POSTInventoryStockLocations(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_klarna_gateways_test.go b/api/test/api_klarna_gateways_test.go deleted file mode 100644 index 0a135b26c..000000000 --- a/api/test/api_klarna_gateways_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing KlarnaGatewaysApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_KlarnaGatewaysApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test KlarnaGatewaysApiService DELETEKlarnaGatewaysKlarnaGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var klarnaGatewayId interface{} - - httpRes, err := apiClient.KlarnaGatewaysApi.DELETEKlarnaGatewaysKlarnaGatewayId(context.Background(), klarnaGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test KlarnaGatewaysApiService GETKlarnaGateways", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.KlarnaGatewaysApi.GETKlarnaGateways(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test KlarnaGatewaysApiService GETKlarnaGatewaysKlarnaGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var klarnaGatewayId interface{} - - resp, httpRes, err := apiClient.KlarnaGatewaysApi.GETKlarnaGatewaysKlarnaGatewayId(context.Background(), klarnaGatewayId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test KlarnaGatewaysApiService PATCHKlarnaGatewaysKlarnaGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var klarnaGatewayId interface{} - - resp, httpRes, err := apiClient.KlarnaGatewaysApi.PATCHKlarnaGatewaysKlarnaGatewayId(context.Background(), klarnaGatewayId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test KlarnaGatewaysApiService POSTKlarnaGateways", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.KlarnaGatewaysApi.POSTKlarnaGateways(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_klarna_payments_test.go b/api/test/api_klarna_payments_test.go deleted file mode 100644 index 557617c70..000000000 --- a/api/test/api_klarna_payments_test.go +++ /dev/null @@ -1,103 +0,0 @@ -/* -Commerce Layer API - -Testing KlarnaPaymentsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_KlarnaPaymentsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test KlarnaPaymentsApiService DELETEKlarnaPaymentsKlarnaPaymentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var klarnaPaymentId interface{} - - httpRes, err := apiClient.KlarnaPaymentsApi.DELETEKlarnaPaymentsKlarnaPaymentId(context.Background(), klarnaPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test KlarnaPaymentsApiService GETKlarnaGatewayIdKlarnaPayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var klarnaGatewayId interface{} - - httpRes, err := apiClient.KlarnaPaymentsApi.GETKlarnaGatewayIdKlarnaPayments(context.Background(), klarnaGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test KlarnaPaymentsApiService GETKlarnaPayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.KlarnaPaymentsApi.GETKlarnaPayments(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test KlarnaPaymentsApiService GETKlarnaPaymentsKlarnaPaymentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var klarnaPaymentId interface{} - - resp, httpRes, err := apiClient.KlarnaPaymentsApi.GETKlarnaPaymentsKlarnaPaymentId(context.Background(), klarnaPaymentId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test KlarnaPaymentsApiService PATCHKlarnaPaymentsKlarnaPaymentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var klarnaPaymentId interface{} - - resp, httpRes, err := apiClient.KlarnaPaymentsApi.PATCHKlarnaPaymentsKlarnaPaymentId(context.Background(), klarnaPaymentId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test KlarnaPaymentsApiService POSTKlarnaPayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.KlarnaPaymentsApi.POSTKlarnaPayments(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_line_item_options_test.go b/api/test/api_line_item_options_test.go deleted file mode 100644 index f331f2bf5..000000000 --- a/api/test/api_line_item_options_test.go +++ /dev/null @@ -1,116 +0,0 @@ -/* -Commerce Layer API - -Testing LineItemOptionsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_LineItemOptionsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test LineItemOptionsApiService DELETELineItemOptionsLineItemOptionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var lineItemOptionId interface{} - - httpRes, err := apiClient.LineItemOptionsApi.DELETELineItemOptionsLineItemOptionId(context.Background(), lineItemOptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test LineItemOptionsApiService GETLineItemIdLineItemOptions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var lineItemId interface{} - - httpRes, err := apiClient.LineItemOptionsApi.GETLineItemIdLineItemOptions(context.Background(), lineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test LineItemOptionsApiService GETLineItemOptions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.LineItemOptionsApi.GETLineItemOptions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test LineItemOptionsApiService GETLineItemOptionsLineItemOptionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var lineItemOptionId interface{} - - resp, httpRes, err := apiClient.LineItemOptionsApi.GETLineItemOptionsLineItemOptionId(context.Background(), lineItemOptionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test LineItemOptionsApiService GETOrderIdLineItemOptions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.LineItemOptionsApi.GETOrderIdLineItemOptions(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test LineItemOptionsApiService PATCHLineItemOptionsLineItemOptionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var lineItemOptionId interface{} - - resp, httpRes, err := apiClient.LineItemOptionsApi.PATCHLineItemOptionsLineItemOptionId(context.Background(), lineItemOptionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test LineItemOptionsApiService POSTLineItemOptions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.LineItemOptionsApi.POSTLineItemOptions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_line_items_test.go b/api/test/api_line_items_test.go deleted file mode 100644 index 4a9b3c2e7..000000000 --- a/api/test/api_line_items_test.go +++ /dev/null @@ -1,194 +0,0 @@ -/* -Commerce Layer API - -Testing LineItemsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_LineItemsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test LineItemsApiService DELETELineItemsLineItemId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var lineItemId interface{} - - httpRes, err := apiClient.LineItemsApi.DELETELineItemsLineItemId(context.Background(), lineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test LineItemsApiService GETLineItemOptionIdLineItem", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var lineItemOptionId interface{} - - httpRes, err := apiClient.LineItemsApi.GETLineItemOptionIdLineItem(context.Background(), lineItemOptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test LineItemsApiService GETLineItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.LineItemsApi.GETLineItems(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test LineItemsApiService GETLineItemsLineItemId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var lineItemId interface{} - - resp, httpRes, err := apiClient.LineItemsApi.GETLineItemsLineItemId(context.Background(), lineItemId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test LineItemsApiService GETOrderIdLineItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.LineItemsApi.GETOrderIdLineItems(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test LineItemsApiService GETOrderSubscriptionItemIdSourceLineItem", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionItemId interface{} - - httpRes, err := apiClient.LineItemsApi.GETOrderSubscriptionItemIdSourceLineItem(context.Background(), orderSubscriptionItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test LineItemsApiService GETReturnLineItemIdLineItem", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnLineItemId interface{} - - httpRes, err := apiClient.LineItemsApi.GETReturnLineItemIdLineItem(context.Background(), returnLineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test LineItemsApiService GETShipmentIdLineItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.LineItemsApi.GETShipmentIdLineItems(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test LineItemsApiService GETStockLineItemIdLineItem", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLineItemId interface{} - - httpRes, err := apiClient.LineItemsApi.GETStockLineItemIdLineItem(context.Background(), stockLineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test LineItemsApiService GETStockReservationIdLineItem", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockReservationId interface{} - - httpRes, err := apiClient.LineItemsApi.GETStockReservationIdLineItem(context.Background(), stockReservationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test LineItemsApiService GETStockTransferIdLineItem", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockTransferId interface{} - - httpRes, err := apiClient.LineItemsApi.GETStockTransferIdLineItem(context.Background(), stockTransferId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test LineItemsApiService PATCHLineItemsLineItemId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var lineItemId interface{} - - resp, httpRes, err := apiClient.LineItemsApi.PATCHLineItemsLineItemId(context.Background(), lineItemId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test LineItemsApiService POSTLineItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.LineItemsApi.POSTLineItems(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_links_test.go b/api/test/api_links_test.go deleted file mode 100644 index 033da3d77..000000000 --- a/api/test/api_links_test.go +++ /dev/null @@ -1,129 +0,0 @@ -/* -Commerce Layer API - -Testing LinksApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_LinksApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test LinksApiService DELETELinksLinkId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var linkId interface{} - - httpRes, err := apiClient.LinksApi.DELETELinksLinkId(context.Background(), linkId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test LinksApiService GETLinks", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.LinksApi.GETLinks(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test LinksApiService GETLinksLinkId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var linkId interface{} - - resp, httpRes, err := apiClient.LinksApi.GETLinksLinkId(context.Background(), linkId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test LinksApiService GETOrderIdLinks", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.LinksApi.GETOrderIdLinks(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test LinksApiService GETSkuIdLinks", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.LinksApi.GETSkuIdLinks(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test LinksApiService GETSkuListIdLinks", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListId interface{} - - httpRes, err := apiClient.LinksApi.GETSkuListIdLinks(context.Background(), skuListId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test LinksApiService PATCHLinksLinkId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var linkId interface{} - - resp, httpRes, err := apiClient.LinksApi.PATCHLinksLinkId(context.Background(), linkId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test LinksApiService POSTLinks", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.LinksApi.POSTLinks(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_manual_gateways_test.go b/api/test/api_manual_gateways_test.go deleted file mode 100644 index 6a1fd7fe9..000000000 --- a/api/test/api_manual_gateways_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing ManualGatewaysApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_ManualGatewaysApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test ManualGatewaysApiService DELETEManualGatewaysManualGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var manualGatewayId interface{} - - httpRes, err := apiClient.ManualGatewaysApi.DELETEManualGatewaysManualGatewayId(context.Background(), manualGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ManualGatewaysApiService GETManualGateways", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ManualGatewaysApi.GETManualGateways(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ManualGatewaysApiService GETManualGatewaysManualGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var manualGatewayId interface{} - - resp, httpRes, err := apiClient.ManualGatewaysApi.GETManualGatewaysManualGatewayId(context.Background(), manualGatewayId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ManualGatewaysApiService PATCHManualGatewaysManualGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var manualGatewayId interface{} - - resp, httpRes, err := apiClient.ManualGatewaysApi.PATCHManualGatewaysManualGatewayId(context.Background(), manualGatewayId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ManualGatewaysApiService POSTManualGateways", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ManualGatewaysApi.POSTManualGateways(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_manual_tax_calculators_test.go b/api/test/api_manual_tax_calculators_test.go deleted file mode 100644 index e17d77131..000000000 --- a/api/test/api_manual_tax_calculators_test.go +++ /dev/null @@ -1,103 +0,0 @@ -/* -Commerce Layer API - -Testing ManualTaxCalculatorsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_ManualTaxCalculatorsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test ManualTaxCalculatorsApiService DELETEManualTaxCalculatorsManualTaxCalculatorId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var manualTaxCalculatorId interface{} - - httpRes, err := apiClient.ManualTaxCalculatorsApi.DELETEManualTaxCalculatorsManualTaxCalculatorId(context.Background(), manualTaxCalculatorId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ManualTaxCalculatorsApiService GETManualTaxCalculators", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ManualTaxCalculatorsApi.GETManualTaxCalculators(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ManualTaxCalculatorsApiService GETManualTaxCalculatorsManualTaxCalculatorId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var manualTaxCalculatorId interface{} - - resp, httpRes, err := apiClient.ManualTaxCalculatorsApi.GETManualTaxCalculatorsManualTaxCalculatorId(context.Background(), manualTaxCalculatorId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ManualTaxCalculatorsApiService GETTaxRuleIdManualTaxCalculator", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxRuleId interface{} - - httpRes, err := apiClient.ManualTaxCalculatorsApi.GETTaxRuleIdManualTaxCalculator(context.Background(), taxRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ManualTaxCalculatorsApiService PATCHManualTaxCalculatorsManualTaxCalculatorId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var manualTaxCalculatorId interface{} - - resp, httpRes, err := apiClient.ManualTaxCalculatorsApi.PATCHManualTaxCalculatorsManualTaxCalculatorId(context.Background(), manualTaxCalculatorId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ManualTaxCalculatorsApiService POSTManualTaxCalculators", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ManualTaxCalculatorsApi.POSTManualTaxCalculators(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_markets_test.go b/api/test/api_markets_test.go deleted file mode 100644 index a8c22e95d..000000000 --- a/api/test/api_markets_test.go +++ /dev/null @@ -1,493 +0,0 @@ -/* -Commerce Layer API - -Testing MarketsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_MarketsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test MarketsApiService DELETEMarketsMarketId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var marketId interface{} - - httpRes, err := apiClient.MarketsApi.DELETEMarketsMarketId(context.Background(), marketId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETAvalaraAccountIdMarkets", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var avalaraAccountId interface{} - - httpRes, err := apiClient.MarketsApi.GETAvalaraAccountIdMarkets(context.Background(), avalaraAccountId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETBillingInfoValidationRuleIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var billingInfoValidationRuleId interface{} - - httpRes, err := apiClient.MarketsApi.GETBillingInfoValidationRuleIdMarket(context.Background(), billingInfoValidationRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETBingGeocoderIdMarkets", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var bingGeocoderId interface{} - - httpRes, err := apiClient.MarketsApi.GETBingGeocoderIdMarkets(context.Background(), bingGeocoderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETBundleIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var bundleId interface{} - - httpRes, err := apiClient.MarketsApi.GETBundleIdMarket(context.Background(), bundleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETBuyXPayYPromotionIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var buyXPayYPromotionId interface{} - - httpRes, err := apiClient.MarketsApi.GETBuyXPayYPromotionIdMarket(context.Background(), buyXPayYPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETCarrierAccountIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var carrierAccountId interface{} - - httpRes, err := apiClient.MarketsApi.GETCarrierAccountIdMarket(context.Background(), carrierAccountId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETCustomerGroupIdMarkets", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerGroupId interface{} - - httpRes, err := apiClient.MarketsApi.GETCustomerGroupIdMarkets(context.Background(), customerGroupId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETExternalPromotionIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPromotionId interface{} - - httpRes, err := apiClient.MarketsApi.GETExternalPromotionIdMarket(context.Background(), externalPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETExternalTaxCalculatorIdMarkets", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalTaxCalculatorId interface{} - - httpRes, err := apiClient.MarketsApi.GETExternalTaxCalculatorIdMarkets(context.Background(), externalTaxCalculatorId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETFixedAmountPromotionIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedAmountPromotionId interface{} - - httpRes, err := apiClient.MarketsApi.GETFixedAmountPromotionIdMarket(context.Background(), fixedAmountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETFixedPricePromotionIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedPricePromotionId interface{} - - httpRes, err := apiClient.MarketsApi.GETFixedPricePromotionIdMarket(context.Background(), fixedPricePromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETFreeGiftPromotionIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeGiftPromotionId interface{} - - httpRes, err := apiClient.MarketsApi.GETFreeGiftPromotionIdMarket(context.Background(), freeGiftPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETFreeShippingPromotionIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeShippingPromotionId interface{} - - httpRes, err := apiClient.MarketsApi.GETFreeShippingPromotionIdMarket(context.Background(), freeShippingPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETGeocoderIdMarkets", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var geocoderId interface{} - - httpRes, err := apiClient.MarketsApi.GETGeocoderIdMarkets(context.Background(), geocoderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETGiftCardIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var giftCardId interface{} - - httpRes, err := apiClient.MarketsApi.GETGiftCardIdMarket(context.Background(), giftCardId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETGoogleGeocoderIdMarkets", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var googleGeocoderId interface{} - - httpRes, err := apiClient.MarketsApi.GETGoogleGeocoderIdMarkets(context.Background(), googleGeocoderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETInStockSubscriptionIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inStockSubscriptionId interface{} - - httpRes, err := apiClient.MarketsApi.GETInStockSubscriptionIdMarket(context.Background(), inStockSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETManualTaxCalculatorIdMarkets", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var manualTaxCalculatorId interface{} - - httpRes, err := apiClient.MarketsApi.GETManualTaxCalculatorIdMarkets(context.Background(), manualTaxCalculatorId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETMarkets", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.MarketsApi.GETMarkets(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETMarketsMarketId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var marketId interface{} - - resp, httpRes, err := apiClient.MarketsApi.GETMarketsMarketId(context.Background(), marketId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETOrderIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.MarketsApi.GETOrderIdMarket(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETOrderSubscriptionIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionId interface{} - - httpRes, err := apiClient.MarketsApi.GETOrderSubscriptionIdMarket(context.Background(), orderSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETPaymentMethodIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paymentMethodId interface{} - - httpRes, err := apiClient.MarketsApi.GETPaymentMethodIdMarket(context.Background(), paymentMethodId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETPercentageDiscountPromotionIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var percentageDiscountPromotionId interface{} - - httpRes, err := apiClient.MarketsApi.GETPercentageDiscountPromotionIdMarket(context.Background(), percentageDiscountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETPriceIdJwtMarkets", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceId interface{} - - httpRes, err := apiClient.MarketsApi.GETPriceIdJwtMarkets(context.Background(), priceId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETPriceListSchedulerIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceListSchedulerId interface{} - - httpRes, err := apiClient.MarketsApi.GETPriceListSchedulerIdMarket(context.Background(), priceListSchedulerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETPromotionIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var promotionId interface{} - - httpRes, err := apiClient.MarketsApi.GETPromotionIdMarket(context.Background(), promotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETShippingMethodIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingMethodId interface{} - - httpRes, err := apiClient.MarketsApi.GETShippingMethodIdMarket(context.Background(), shippingMethodId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETSkuIdJwtMarkets", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.MarketsApi.GETSkuIdJwtMarkets(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETSkuOptionIdMarket", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuOptionId interface{} - - httpRes, err := apiClient.MarketsApi.GETSkuOptionIdMarket(context.Background(), skuOptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETSubscriptionModelIdMarkets", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var subscriptionModelId interface{} - - httpRes, err := apiClient.MarketsApi.GETSubscriptionModelIdMarkets(context.Background(), subscriptionModelId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETTaxCalculatorIdMarkets", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxCalculatorId interface{} - - httpRes, err := apiClient.MarketsApi.GETTaxCalculatorIdMarkets(context.Background(), taxCalculatorId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService GETTaxjarAccountIdMarkets", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxjarAccountId interface{} - - httpRes, err := apiClient.MarketsApi.GETTaxjarAccountIdMarkets(context.Background(), taxjarAccountId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService PATCHMarketsMarketId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var marketId interface{} - - resp, httpRes, err := apiClient.MarketsApi.PATCHMarketsMarketId(context.Background(), marketId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MarketsApiService POSTMarkets", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.MarketsApi.POSTMarkets(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_merchants_test.go b/api/test/api_merchants_test.go deleted file mode 100644 index 2fea47aee..000000000 --- a/api/test/api_merchants_test.go +++ /dev/null @@ -1,103 +0,0 @@ -/* -Commerce Layer API - -Testing MerchantsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_MerchantsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test MerchantsApiService DELETEMerchantsMerchantId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var merchantId interface{} - - httpRes, err := apiClient.MerchantsApi.DELETEMerchantsMerchantId(context.Background(), merchantId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MerchantsApiService GETMarketIdMerchant", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var marketId interface{} - - httpRes, err := apiClient.MerchantsApi.GETMarketIdMerchant(context.Background(), marketId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MerchantsApiService GETMerchants", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.MerchantsApi.GETMerchants(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MerchantsApiService GETMerchantsMerchantId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var merchantId interface{} - - resp, httpRes, err := apiClient.MerchantsApi.GETMerchantsMerchantId(context.Background(), merchantId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MerchantsApiService PATCHMerchantsMerchantId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var merchantId interface{} - - resp, httpRes, err := apiClient.MerchantsApi.PATCHMerchantsMerchantId(context.Background(), merchantId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test MerchantsApiService POSTMerchants", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.MerchantsApi.POSTMerchants(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_order_amount_promotion_rules_test.go b/api/test/api_order_amount_promotion_rules_test.go deleted file mode 100644 index d354af9a9..000000000 --- a/api/test/api_order_amount_promotion_rules_test.go +++ /dev/null @@ -1,194 +0,0 @@ -/* -Commerce Layer API - -Testing OrderAmountPromotionRulesApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_OrderAmountPromotionRulesApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test OrderAmountPromotionRulesApiService DELETEOrderAmountPromotionRulesOrderAmountPromotionRuleId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderAmountPromotionRuleId interface{} - - httpRes, err := apiClient.OrderAmountPromotionRulesApi.DELETEOrderAmountPromotionRulesOrderAmountPromotionRuleId(context.Background(), orderAmountPromotionRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderAmountPromotionRulesApiService GETBuyXPayYPromotionIdOrderAmountPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var buyXPayYPromotionId interface{} - - httpRes, err := apiClient.OrderAmountPromotionRulesApi.GETBuyXPayYPromotionIdOrderAmountPromotionRule(context.Background(), buyXPayYPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderAmountPromotionRulesApiService GETExternalPromotionIdOrderAmountPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPromotionId interface{} - - httpRes, err := apiClient.OrderAmountPromotionRulesApi.GETExternalPromotionIdOrderAmountPromotionRule(context.Background(), externalPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderAmountPromotionRulesApiService GETFixedAmountPromotionIdOrderAmountPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedAmountPromotionId interface{} - - httpRes, err := apiClient.OrderAmountPromotionRulesApi.GETFixedAmountPromotionIdOrderAmountPromotionRule(context.Background(), fixedAmountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderAmountPromotionRulesApiService GETFixedPricePromotionIdOrderAmountPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedPricePromotionId interface{} - - httpRes, err := apiClient.OrderAmountPromotionRulesApi.GETFixedPricePromotionIdOrderAmountPromotionRule(context.Background(), fixedPricePromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderAmountPromotionRulesApiService GETFreeGiftPromotionIdOrderAmountPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeGiftPromotionId interface{} - - httpRes, err := apiClient.OrderAmountPromotionRulesApi.GETFreeGiftPromotionIdOrderAmountPromotionRule(context.Background(), freeGiftPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderAmountPromotionRulesApiService GETFreeShippingPromotionIdOrderAmountPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeShippingPromotionId interface{} - - httpRes, err := apiClient.OrderAmountPromotionRulesApi.GETFreeShippingPromotionIdOrderAmountPromotionRule(context.Background(), freeShippingPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderAmountPromotionRulesApiService GETOrderAmountPromotionRules", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.OrderAmountPromotionRulesApi.GETOrderAmountPromotionRules(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderAmountPromotionRulesApiService GETOrderAmountPromotionRulesOrderAmountPromotionRuleId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderAmountPromotionRuleId interface{} - - resp, httpRes, err := apiClient.OrderAmountPromotionRulesApi.GETOrderAmountPromotionRulesOrderAmountPromotionRuleId(context.Background(), orderAmountPromotionRuleId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderAmountPromotionRulesApiService GETPercentageDiscountPromotionIdOrderAmountPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var percentageDiscountPromotionId interface{} - - httpRes, err := apiClient.OrderAmountPromotionRulesApi.GETPercentageDiscountPromotionIdOrderAmountPromotionRule(context.Background(), percentageDiscountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderAmountPromotionRulesApiService GETPromotionIdOrderAmountPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var promotionId interface{} - - httpRes, err := apiClient.OrderAmountPromotionRulesApi.GETPromotionIdOrderAmountPromotionRule(context.Background(), promotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderAmountPromotionRulesApiService PATCHOrderAmountPromotionRulesOrderAmountPromotionRuleId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderAmountPromotionRuleId interface{} - - resp, httpRes, err := apiClient.OrderAmountPromotionRulesApi.PATCHOrderAmountPromotionRulesOrderAmountPromotionRuleId(context.Background(), orderAmountPromotionRuleId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderAmountPromotionRulesApiService POSTOrderAmountPromotionRules", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.OrderAmountPromotionRulesApi.POSTOrderAmountPromotionRules(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_order_copies_test.go b/api/test/api_order_copies_test.go deleted file mode 100644 index cc73d81c5..000000000 --- a/api/test/api_order_copies_test.go +++ /dev/null @@ -1,103 +0,0 @@ -/* -Commerce Layer API - -Testing OrderCopiesApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_OrderCopiesApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test OrderCopiesApiService DELETEOrderCopiesOrderCopyId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderCopyId interface{} - - httpRes, err := apiClient.OrderCopiesApi.DELETEOrderCopiesOrderCopyId(context.Background(), orderCopyId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderCopiesApiService GETOrderCopies", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.OrderCopiesApi.GETOrderCopies(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderCopiesApiService GETOrderCopiesOrderCopyId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderCopyId interface{} - - resp, httpRes, err := apiClient.OrderCopiesApi.GETOrderCopiesOrderCopyId(context.Background(), orderCopyId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderCopiesApiService GETOrderIdOrderCopies", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.OrderCopiesApi.GETOrderIdOrderCopies(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderCopiesApiService PATCHOrderCopiesOrderCopyId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderCopyId interface{} - - resp, httpRes, err := apiClient.OrderCopiesApi.PATCHOrderCopiesOrderCopyId(context.Background(), orderCopyId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderCopiesApiService POSTOrderCopies", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.OrderCopiesApi.POSTOrderCopies(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_order_factories_test.go b/api/test/api_order_factories_test.go deleted file mode 100644 index d588e5b81..000000000 --- a/api/test/api_order_factories_test.go +++ /dev/null @@ -1,77 +0,0 @@ -/* -Commerce Layer API - -Testing OrderFactoriesApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_OrderFactoriesApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test OrderFactoriesApiService GETOrderFactories", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.OrderFactoriesApi.GETOrderFactories(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderFactoriesApiService GETOrderFactoriesOrderFactoryId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderFactoryId interface{} - - resp, httpRes, err := apiClient.OrderFactoriesApi.GETOrderFactoriesOrderFactoryId(context.Background(), orderFactoryId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderFactoriesApiService GETOrderIdOrderFactories", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.OrderFactoriesApi.GETOrderIdOrderFactories(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderFactoriesApiService GETOrderSubscriptionIdOrderFactories", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionId interface{} - - httpRes, err := apiClient.OrderFactoriesApi.GETOrderSubscriptionIdOrderFactories(context.Background(), orderSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_order_subscription_items_test.go b/api/test/api_order_subscription_items_test.go deleted file mode 100644 index dd425f8ab..000000000 --- a/api/test/api_order_subscription_items_test.go +++ /dev/null @@ -1,103 +0,0 @@ -/* -Commerce Layer API - -Testing OrderSubscriptionItemsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_OrderSubscriptionItemsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test OrderSubscriptionItemsApiService DELETEOrderSubscriptionItemsOrderSubscriptionItemId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionItemId interface{} - - httpRes, err := apiClient.OrderSubscriptionItemsApi.DELETEOrderSubscriptionItemsOrderSubscriptionItemId(context.Background(), orderSubscriptionItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderSubscriptionItemsApiService GETOrderSubscriptionIdOrderSubscriptionItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionId interface{} - - httpRes, err := apiClient.OrderSubscriptionItemsApi.GETOrderSubscriptionIdOrderSubscriptionItems(context.Background(), orderSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderSubscriptionItemsApiService GETOrderSubscriptionItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.OrderSubscriptionItemsApi.GETOrderSubscriptionItems(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderSubscriptionItemsApiService GETOrderSubscriptionItemsOrderSubscriptionItemId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionItemId interface{} - - resp, httpRes, err := apiClient.OrderSubscriptionItemsApi.GETOrderSubscriptionItemsOrderSubscriptionItemId(context.Background(), orderSubscriptionItemId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderSubscriptionItemsApiService PATCHOrderSubscriptionItemsOrderSubscriptionItemId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionItemId interface{} - - resp, httpRes, err := apiClient.OrderSubscriptionItemsApi.PATCHOrderSubscriptionItemsOrderSubscriptionItemId(context.Background(), orderSubscriptionItemId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderSubscriptionItemsApiService POSTOrderSubscriptionItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.OrderSubscriptionItemsApi.POSTOrderSubscriptionItems(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_order_subscriptions_test.go b/api/test/api_order_subscriptions_test.go deleted file mode 100644 index 1cb64212c..000000000 --- a/api/test/api_order_subscriptions_test.go +++ /dev/null @@ -1,181 +0,0 @@ -/* -Commerce Layer API - -Testing OrderSubscriptionsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_OrderSubscriptionsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test OrderSubscriptionsApiService DELETEOrderSubscriptionsOrderSubscriptionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionId interface{} - - httpRes, err := apiClient.OrderSubscriptionsApi.DELETEOrderSubscriptionsOrderSubscriptionId(context.Background(), orderSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderSubscriptionsApiService GETCustomerIdOrderSubscriptions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerId interface{} - - httpRes, err := apiClient.OrderSubscriptionsApi.GETCustomerIdOrderSubscriptions(context.Background(), customerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderSubscriptionsApiService GETOrderCopyIdOrderSubscription", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderCopyId interface{} - - httpRes, err := apiClient.OrderSubscriptionsApi.GETOrderCopyIdOrderSubscription(context.Background(), orderCopyId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderSubscriptionsApiService GETOrderIdOrderSubscription", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.OrderSubscriptionsApi.GETOrderIdOrderSubscription(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderSubscriptionsApiService GETOrderIdOrderSubscriptions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.OrderSubscriptionsApi.GETOrderIdOrderSubscriptions(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderSubscriptionsApiService GETOrderSubscriptionItemIdOrderSubscription", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionItemId interface{} - - httpRes, err := apiClient.OrderSubscriptionsApi.GETOrderSubscriptionItemIdOrderSubscription(context.Background(), orderSubscriptionItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderSubscriptionsApiService GETOrderSubscriptions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.OrderSubscriptionsApi.GETOrderSubscriptions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderSubscriptionsApiService GETOrderSubscriptionsOrderSubscriptionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionId interface{} - - resp, httpRes, err := apiClient.OrderSubscriptionsApi.GETOrderSubscriptionsOrderSubscriptionId(context.Background(), orderSubscriptionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderSubscriptionsApiService GETRecurringOrderCopyIdOrderSubscription", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var recurringOrderCopyId interface{} - - httpRes, err := apiClient.OrderSubscriptionsApi.GETRecurringOrderCopyIdOrderSubscription(context.Background(), recurringOrderCopyId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderSubscriptionsApiService GETSubscriptionModelIdOrderSubscriptions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var subscriptionModelId interface{} - - httpRes, err := apiClient.OrderSubscriptionsApi.GETSubscriptionModelIdOrderSubscriptions(context.Background(), subscriptionModelId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderSubscriptionsApiService PATCHOrderSubscriptionsOrderSubscriptionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionId interface{} - - resp, httpRes, err := apiClient.OrderSubscriptionsApi.PATCHOrderSubscriptionsOrderSubscriptionId(context.Background(), orderSubscriptionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrderSubscriptionsApiService POSTOrderSubscriptions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.OrderSubscriptionsApi.POSTOrderSubscriptions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_orders_test.go b/api/test/api_orders_test.go deleted file mode 100644 index 329461b9d..000000000 --- a/api/test/api_orders_test.go +++ /dev/null @@ -1,467 +0,0 @@ -/* -Commerce Layer API - -Testing OrdersApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_OrdersApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test OrdersApiService DELETEOrdersOrderId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.OrdersApi.DELETEOrdersOrderId(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETAdyenPaymentIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var adyenPaymentId interface{} - - httpRes, err := apiClient.OrdersApi.GETAdyenPaymentIdOrder(context.Background(), adyenPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETAuthorizationIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var authorizationId interface{} - - httpRes, err := apiClient.OrdersApi.GETAuthorizationIdOrder(context.Background(), authorizationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETAxervePaymentIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var axervePaymentId interface{} - - httpRes, err := apiClient.OrdersApi.GETAxervePaymentIdOrder(context.Background(), axervePaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETBraintreePaymentIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var braintreePaymentId interface{} - - httpRes, err := apiClient.OrdersApi.GETBraintreePaymentIdOrder(context.Background(), braintreePaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETCaptureIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var captureId interface{} - - httpRes, err := apiClient.OrdersApi.GETCaptureIdOrder(context.Background(), captureId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETCheckoutComPaymentIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var checkoutComPaymentId interface{} - - httpRes, err := apiClient.OrdersApi.GETCheckoutComPaymentIdOrder(context.Background(), checkoutComPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETCustomerIdOrders", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerId interface{} - - httpRes, err := apiClient.OrdersApi.GETCustomerIdOrders(context.Background(), customerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETExternalPaymentIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPaymentId interface{} - - httpRes, err := apiClient.OrdersApi.GETExternalPaymentIdOrder(context.Background(), externalPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETKlarnaPaymentIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var klarnaPaymentId interface{} - - httpRes, err := apiClient.OrdersApi.GETKlarnaPaymentIdOrder(context.Background(), klarnaPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETLineItemIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var lineItemId interface{} - - httpRes, err := apiClient.OrdersApi.GETLineItemIdOrder(context.Background(), lineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETOrderCopyIdSourceOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderCopyId interface{} - - httpRes, err := apiClient.OrdersApi.GETOrderCopyIdSourceOrder(context.Background(), orderCopyId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETOrderCopyIdTargetOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderCopyId interface{} - - httpRes, err := apiClient.OrdersApi.GETOrderCopyIdTargetOrder(context.Background(), orderCopyId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETOrderFactoryIdSourceOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderFactoryId interface{} - - httpRes, err := apiClient.OrdersApi.GETOrderFactoryIdSourceOrder(context.Background(), orderFactoryId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETOrderFactoryIdTargetOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderFactoryId interface{} - - httpRes, err := apiClient.OrdersApi.GETOrderFactoryIdTargetOrder(context.Background(), orderFactoryId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETOrderSubscriptionIdOrders", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionId interface{} - - httpRes, err := apiClient.OrdersApi.GETOrderSubscriptionIdOrders(context.Background(), orderSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETOrderSubscriptionIdSourceOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionId interface{} - - httpRes, err := apiClient.OrdersApi.GETOrderSubscriptionIdSourceOrder(context.Background(), orderSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETOrders", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.OrdersApi.GETOrders(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETOrdersOrderId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - resp, httpRes, err := apiClient.OrdersApi.GETOrdersOrderId(context.Background(), orderId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETPaymentOptionIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paymentOptionId interface{} - - httpRes, err := apiClient.OrdersApi.GETPaymentOptionIdOrder(context.Background(), paymentOptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETPaypalPaymentIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paypalPaymentId interface{} - - httpRes, err := apiClient.OrdersApi.GETPaypalPaymentIdOrder(context.Background(), paypalPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETRecurringOrderCopyIdSourceOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var recurringOrderCopyId interface{} - - httpRes, err := apiClient.OrdersApi.GETRecurringOrderCopyIdSourceOrder(context.Background(), recurringOrderCopyId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETRecurringOrderCopyIdTargetOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var recurringOrderCopyId interface{} - - httpRes, err := apiClient.OrdersApi.GETRecurringOrderCopyIdTargetOrder(context.Background(), recurringOrderCopyId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETRefundIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var refundId interface{} - - httpRes, err := apiClient.OrdersApi.GETRefundIdOrder(context.Background(), refundId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETReturnIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnId interface{} - - httpRes, err := apiClient.OrdersApi.GETReturnIdOrder(context.Background(), returnId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETSatispayPaymentIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var satispayPaymentId interface{} - - httpRes, err := apiClient.OrdersApi.GETSatispayPaymentIdOrder(context.Background(), satispayPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETShipmentIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.OrdersApi.GETShipmentIdOrder(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETStockReservationIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockReservationId interface{} - - httpRes, err := apiClient.OrdersApi.GETStockReservationIdOrder(context.Background(), stockReservationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETStripePaymentIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stripePaymentId interface{} - - httpRes, err := apiClient.OrdersApi.GETStripePaymentIdOrder(context.Background(), stripePaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETTransactionIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var transactionId interface{} - - httpRes, err := apiClient.OrdersApi.GETTransactionIdOrder(context.Background(), transactionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETVoidIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var voidId interface{} - - httpRes, err := apiClient.OrdersApi.GETVoidIdOrder(context.Background(), voidId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService GETWireTransferIdOrder", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var wireTransferId interface{} - - httpRes, err := apiClient.OrdersApi.GETWireTransferIdOrder(context.Background(), wireTransferId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService PATCHOrdersOrderId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - resp, httpRes, err := apiClient.OrdersApi.PATCHOrdersOrderId(context.Background(), orderId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test OrdersApiService POSTOrders", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.OrdersApi.POSTOrders(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_organization_test.go b/api/test/api_organization_test.go deleted file mode 100644 index c17e7b68b..000000000 --- a/api/test/api_organization_test.go +++ /dev/null @@ -1,37 +0,0 @@ -/* -Commerce Layer API - -Testing OrganizationApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_OrganizationApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test OrganizationApiService GETOrganizationOrganizationId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.OrganizationApi.GETOrganizationOrganizationId(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_packages_test.go b/api/test/api_packages_test.go deleted file mode 100644 index 425f1b933..000000000 --- a/api/test/api_packages_test.go +++ /dev/null @@ -1,103 +0,0 @@ -/* -Commerce Layer API - -Testing PackagesApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_PackagesApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test PackagesApiService DELETEPackagesPackageId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var packageId interface{} - - httpRes, err := apiClient.PackagesApi.DELETEPackagesPackageId(context.Background(), packageId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PackagesApiService GETPackages", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.PackagesApi.GETPackages(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PackagesApiService GETPackagesPackageId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var packageId interface{} - - resp, httpRes, err := apiClient.PackagesApi.GETPackagesPackageId(context.Background(), packageId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PackagesApiService GETParcelIdPackage", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var parcelId interface{} - - httpRes, err := apiClient.PackagesApi.GETParcelIdPackage(context.Background(), parcelId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PackagesApiService PATCHPackagesPackageId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var packageId interface{} - - resp, httpRes, err := apiClient.PackagesApi.PATCHPackagesPackageId(context.Background(), packageId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PackagesApiService POSTPackages", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.PackagesApi.POSTPackages(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_parcel_line_items_test.go b/api/test/api_parcel_line_items_test.go deleted file mode 100644 index d0cc7dd4f..000000000 --- a/api/test/api_parcel_line_items_test.go +++ /dev/null @@ -1,103 +0,0 @@ -/* -Commerce Layer API - -Testing ParcelLineItemsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_ParcelLineItemsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test ParcelLineItemsApiService DELETEParcelLineItemsParcelLineItemId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var parcelLineItemId interface{} - - httpRes, err := apiClient.ParcelLineItemsApi.DELETEParcelLineItemsParcelLineItemId(context.Background(), parcelLineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ParcelLineItemsApiService GETParcelIdParcelLineItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var parcelId interface{} - - httpRes, err := apiClient.ParcelLineItemsApi.GETParcelIdParcelLineItems(context.Background(), parcelId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ParcelLineItemsApiService GETParcelLineItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ParcelLineItemsApi.GETParcelLineItems(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ParcelLineItemsApiService GETParcelLineItemsParcelLineItemId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var parcelLineItemId interface{} - - resp, httpRes, err := apiClient.ParcelLineItemsApi.GETParcelLineItemsParcelLineItemId(context.Background(), parcelLineItemId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ParcelLineItemsApiService PATCHParcelLineItemsParcelLineItemId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var parcelLineItemId interface{} - - resp, httpRes, err := apiClient.ParcelLineItemsApi.PATCHParcelLineItemsParcelLineItemId(context.Background(), parcelLineItemId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ParcelLineItemsApiService POSTParcelLineItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ParcelLineItemsApi.POSTParcelLineItems(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_parcels_test.go b/api/test/api_parcels_test.go deleted file mode 100644 index d65bb0857..000000000 --- a/api/test/api_parcels_test.go +++ /dev/null @@ -1,129 +0,0 @@ -/* -Commerce Layer API - -Testing ParcelsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_ParcelsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test ParcelsApiService DELETEParcelsParcelId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var parcelId interface{} - - httpRes, err := apiClient.ParcelsApi.DELETEParcelsParcelId(context.Background(), parcelId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ParcelsApiService GETPackageIdParcels", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var packageId interface{} - - httpRes, err := apiClient.ParcelsApi.GETPackageIdParcels(context.Background(), packageId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ParcelsApiService GETParcelLineItemIdParcel", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var parcelLineItemId interface{} - - httpRes, err := apiClient.ParcelsApi.GETParcelLineItemIdParcel(context.Background(), parcelLineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ParcelsApiService GETParcels", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ParcelsApi.GETParcels(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ParcelsApiService GETParcelsParcelId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var parcelId interface{} - - resp, httpRes, err := apiClient.ParcelsApi.GETParcelsParcelId(context.Background(), parcelId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ParcelsApiService GETShipmentIdParcels", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.ParcelsApi.GETShipmentIdParcels(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ParcelsApiService PATCHParcelsParcelId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var parcelId interface{} - - resp, httpRes, err := apiClient.ParcelsApi.PATCHParcelsParcelId(context.Background(), parcelId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ParcelsApiService POSTParcels", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ParcelsApi.POSTParcels(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_payment_gateways_test.go b/api/test/api_payment_gateways_test.go deleted file mode 100644 index bc7680afc..000000000 --- a/api/test/api_payment_gateways_test.go +++ /dev/null @@ -1,181 +0,0 @@ -/* -Commerce Layer API - -Testing PaymentGatewaysApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_PaymentGatewaysApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test PaymentGatewaysApiService GETAdyenPaymentIdPaymentGateway", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var adyenPaymentId interface{} - - httpRes, err := apiClient.PaymentGatewaysApi.GETAdyenPaymentIdPaymentGateway(context.Background(), adyenPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentGatewaysApiService GETAxervePaymentIdPaymentGateway", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var axervePaymentId interface{} - - httpRes, err := apiClient.PaymentGatewaysApi.GETAxervePaymentIdPaymentGateway(context.Background(), axervePaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentGatewaysApiService GETBraintreePaymentIdPaymentGateway", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var braintreePaymentId interface{} - - httpRes, err := apiClient.PaymentGatewaysApi.GETBraintreePaymentIdPaymentGateway(context.Background(), braintreePaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentGatewaysApiService GETCheckoutComPaymentIdPaymentGateway", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var checkoutComPaymentId interface{} - - httpRes, err := apiClient.PaymentGatewaysApi.GETCheckoutComPaymentIdPaymentGateway(context.Background(), checkoutComPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentGatewaysApiService GETExternalPaymentIdPaymentGateway", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPaymentId interface{} - - httpRes, err := apiClient.PaymentGatewaysApi.GETExternalPaymentIdPaymentGateway(context.Background(), externalPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentGatewaysApiService GETKlarnaPaymentIdPaymentGateway", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var klarnaPaymentId interface{} - - httpRes, err := apiClient.PaymentGatewaysApi.GETKlarnaPaymentIdPaymentGateway(context.Background(), klarnaPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentGatewaysApiService GETPaymentGateways", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.PaymentGatewaysApi.GETPaymentGateways(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentGatewaysApiService GETPaymentGatewaysPaymentGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paymentGatewayId interface{} - - resp, httpRes, err := apiClient.PaymentGatewaysApi.GETPaymentGatewaysPaymentGatewayId(context.Background(), paymentGatewayId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentGatewaysApiService GETPaymentMethodIdPaymentGateway", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paymentMethodId interface{} - - httpRes, err := apiClient.PaymentGatewaysApi.GETPaymentMethodIdPaymentGateway(context.Background(), paymentMethodId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentGatewaysApiService GETPaypalPaymentIdPaymentGateway", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paypalPaymentId interface{} - - httpRes, err := apiClient.PaymentGatewaysApi.GETPaypalPaymentIdPaymentGateway(context.Background(), paypalPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentGatewaysApiService GETSatispayPaymentIdPaymentGateway", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var satispayPaymentId interface{} - - httpRes, err := apiClient.PaymentGatewaysApi.GETSatispayPaymentIdPaymentGateway(context.Background(), satispayPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentGatewaysApiService GETStripePaymentIdPaymentGateway", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stripePaymentId interface{} - - httpRes, err := apiClient.PaymentGatewaysApi.GETStripePaymentIdPaymentGateway(context.Background(), stripePaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_payment_methods_test.go b/api/test/api_payment_methods_test.go deleted file mode 100644 index b9f78a98b..000000000 --- a/api/test/api_payment_methods_test.go +++ /dev/null @@ -1,272 +0,0 @@ -/* -Commerce Layer API - -Testing PaymentMethodsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_PaymentMethodsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test PaymentMethodsApiService DELETEPaymentMethodsPaymentMethodId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paymentMethodId interface{} - - httpRes, err := apiClient.PaymentMethodsApi.DELETEPaymentMethodsPaymentMethodId(context.Background(), paymentMethodId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentMethodsApiService GETAdyenGatewayIdPaymentMethods", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var adyenGatewayId interface{} - - httpRes, err := apiClient.PaymentMethodsApi.GETAdyenGatewayIdPaymentMethods(context.Background(), adyenGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentMethodsApiService GETAxerveGatewayIdPaymentMethods", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var axerveGatewayId interface{} - - httpRes, err := apiClient.PaymentMethodsApi.GETAxerveGatewayIdPaymentMethods(context.Background(), axerveGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentMethodsApiService GETBraintreeGatewayIdPaymentMethods", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var braintreeGatewayId interface{} - - httpRes, err := apiClient.PaymentMethodsApi.GETBraintreeGatewayIdPaymentMethods(context.Background(), braintreeGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentMethodsApiService GETCheckoutComGatewayIdPaymentMethods", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var checkoutComGatewayId interface{} - - httpRes, err := apiClient.PaymentMethodsApi.GETCheckoutComGatewayIdPaymentMethods(context.Background(), checkoutComGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentMethodsApiService GETCustomerPaymentSourceIdPaymentMethod", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerPaymentSourceId interface{} - - httpRes, err := apiClient.PaymentMethodsApi.GETCustomerPaymentSourceIdPaymentMethod(context.Background(), customerPaymentSourceId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentMethodsApiService GETExternalGatewayIdPaymentMethods", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalGatewayId interface{} - - httpRes, err := apiClient.PaymentMethodsApi.GETExternalGatewayIdPaymentMethods(context.Background(), externalGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentMethodsApiService GETKlarnaGatewayIdPaymentMethods", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var klarnaGatewayId interface{} - - httpRes, err := apiClient.PaymentMethodsApi.GETKlarnaGatewayIdPaymentMethods(context.Background(), klarnaGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentMethodsApiService GETManualGatewayIdPaymentMethods", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var manualGatewayId interface{} - - httpRes, err := apiClient.PaymentMethodsApi.GETManualGatewayIdPaymentMethods(context.Background(), manualGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentMethodsApiService GETOrderIdAvailablePaymentMethods", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.PaymentMethodsApi.GETOrderIdAvailablePaymentMethods(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentMethodsApiService GETOrderIdPaymentMethod", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.PaymentMethodsApi.GETOrderIdPaymentMethod(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentMethodsApiService GETPaymentGatewayIdPaymentMethods", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paymentGatewayId interface{} - - httpRes, err := apiClient.PaymentMethodsApi.GETPaymentGatewayIdPaymentMethods(context.Background(), paymentGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentMethodsApiService GETPaymentMethods", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.PaymentMethodsApi.GETPaymentMethods(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentMethodsApiService GETPaymentMethodsPaymentMethodId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paymentMethodId interface{} - - resp, httpRes, err := apiClient.PaymentMethodsApi.GETPaymentMethodsPaymentMethodId(context.Background(), paymentMethodId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentMethodsApiService GETPaypalGatewayIdPaymentMethods", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paypalGatewayId interface{} - - httpRes, err := apiClient.PaymentMethodsApi.GETPaypalGatewayIdPaymentMethods(context.Background(), paypalGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentMethodsApiService GETSatispayGatewayIdPaymentMethods", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var satispayGatewayId interface{} - - httpRes, err := apiClient.PaymentMethodsApi.GETSatispayGatewayIdPaymentMethods(context.Background(), satispayGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentMethodsApiService GETStripeGatewayIdPaymentMethods", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stripeGatewayId interface{} - - httpRes, err := apiClient.PaymentMethodsApi.GETStripeGatewayIdPaymentMethods(context.Background(), stripeGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentMethodsApiService PATCHPaymentMethodsPaymentMethodId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paymentMethodId interface{} - - resp, httpRes, err := apiClient.PaymentMethodsApi.PATCHPaymentMethodsPaymentMethodId(context.Background(), paymentMethodId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentMethodsApiService POSTPaymentMethods", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.PaymentMethodsApi.POSTPaymentMethods(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_payment_options_test.go b/api/test/api_payment_options_test.go deleted file mode 100644 index 7abfa1d0d..000000000 --- a/api/test/api_payment_options_test.go +++ /dev/null @@ -1,103 +0,0 @@ -/* -Commerce Layer API - -Testing PaymentOptionsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_PaymentOptionsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test PaymentOptionsApiService DELETEPaymentOptionsPaymentOptionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paymentOptionId interface{} - - httpRes, err := apiClient.PaymentOptionsApi.DELETEPaymentOptionsPaymentOptionId(context.Background(), paymentOptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentOptionsApiService GETOrderIdPaymentOptions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.PaymentOptionsApi.GETOrderIdPaymentOptions(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentOptionsApiService GETPaymentOptions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.PaymentOptionsApi.GETPaymentOptions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentOptionsApiService GETPaymentOptionsPaymentOptionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paymentOptionId interface{} - - resp, httpRes, err := apiClient.PaymentOptionsApi.GETPaymentOptionsPaymentOptionId(context.Background(), paymentOptionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentOptionsApiService PATCHPaymentOptionsPaymentOptionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paymentOptionId interface{} - - resp, httpRes, err := apiClient.PaymentOptionsApi.PATCHPaymentOptionsPaymentOptionId(context.Background(), paymentOptionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaymentOptionsApiService POSTPaymentOptions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.PaymentOptionsApi.POSTPaymentOptions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_paypal_gateways_test.go b/api/test/api_paypal_gateways_test.go deleted file mode 100644 index 0882888d7..000000000 --- a/api/test/api_paypal_gateways_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing PaypalGatewaysApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_PaypalGatewaysApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test PaypalGatewaysApiService DELETEPaypalGatewaysPaypalGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paypalGatewayId interface{} - - httpRes, err := apiClient.PaypalGatewaysApi.DELETEPaypalGatewaysPaypalGatewayId(context.Background(), paypalGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaypalGatewaysApiService GETPaypalGateways", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.PaypalGatewaysApi.GETPaypalGateways(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaypalGatewaysApiService GETPaypalGatewaysPaypalGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paypalGatewayId interface{} - - resp, httpRes, err := apiClient.PaypalGatewaysApi.GETPaypalGatewaysPaypalGatewayId(context.Background(), paypalGatewayId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaypalGatewaysApiService PATCHPaypalGatewaysPaypalGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paypalGatewayId interface{} - - resp, httpRes, err := apiClient.PaypalGatewaysApi.PATCHPaypalGatewaysPaypalGatewayId(context.Background(), paypalGatewayId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaypalGatewaysApiService POSTPaypalGateways", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.PaypalGatewaysApi.POSTPaypalGateways(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_paypal_payments_test.go b/api/test/api_paypal_payments_test.go deleted file mode 100644 index 6a97ddedb..000000000 --- a/api/test/api_paypal_payments_test.go +++ /dev/null @@ -1,103 +0,0 @@ -/* -Commerce Layer API - -Testing PaypalPaymentsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_PaypalPaymentsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test PaypalPaymentsApiService DELETEPaypalPaymentsPaypalPaymentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paypalPaymentId interface{} - - httpRes, err := apiClient.PaypalPaymentsApi.DELETEPaypalPaymentsPaypalPaymentId(context.Background(), paypalPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaypalPaymentsApiService GETPaypalGatewayIdPaypalPayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paypalGatewayId interface{} - - httpRes, err := apiClient.PaypalPaymentsApi.GETPaypalGatewayIdPaypalPayments(context.Background(), paypalGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaypalPaymentsApiService GETPaypalPayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.PaypalPaymentsApi.GETPaypalPayments(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaypalPaymentsApiService GETPaypalPaymentsPaypalPaymentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paypalPaymentId interface{} - - resp, httpRes, err := apiClient.PaypalPaymentsApi.GETPaypalPaymentsPaypalPaymentId(context.Background(), paypalPaymentId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaypalPaymentsApiService PATCHPaypalPaymentsPaypalPaymentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paypalPaymentId interface{} - - resp, httpRes, err := apiClient.PaypalPaymentsApi.PATCHPaypalPaymentsPaypalPaymentId(context.Background(), paypalPaymentId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PaypalPaymentsApiService POSTPaypalPayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.PaypalPaymentsApi.POSTPaypalPayments(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_percentage_discount_promotions_test.go b/api/test/api_percentage_discount_promotions_test.go deleted file mode 100644 index b032f5763..000000000 --- a/api/test/api_percentage_discount_promotions_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing PercentageDiscountPromotionsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_PercentageDiscountPromotionsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test PercentageDiscountPromotionsApiService DELETEPercentageDiscountPromotionsPercentageDiscountPromotionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var percentageDiscountPromotionId interface{} - - httpRes, err := apiClient.PercentageDiscountPromotionsApi.DELETEPercentageDiscountPromotionsPercentageDiscountPromotionId(context.Background(), percentageDiscountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PercentageDiscountPromotionsApiService GETPercentageDiscountPromotions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.PercentageDiscountPromotionsApi.GETPercentageDiscountPromotions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PercentageDiscountPromotionsApiService GETPercentageDiscountPromotionsPercentageDiscountPromotionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var percentageDiscountPromotionId interface{} - - resp, httpRes, err := apiClient.PercentageDiscountPromotionsApi.GETPercentageDiscountPromotionsPercentageDiscountPromotionId(context.Background(), percentageDiscountPromotionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PercentageDiscountPromotionsApiService PATCHPercentageDiscountPromotionsPercentageDiscountPromotionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var percentageDiscountPromotionId interface{} - - resp, httpRes, err := apiClient.PercentageDiscountPromotionsApi.PATCHPercentageDiscountPromotionsPercentageDiscountPromotionId(context.Background(), percentageDiscountPromotionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PercentageDiscountPromotionsApiService POSTPercentageDiscountPromotions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.PercentageDiscountPromotionsApi.POSTPercentageDiscountPromotions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_price_frequency_tiers_test.go b/api/test/api_price_frequency_tiers_test.go deleted file mode 100644 index a05385f9a..000000000 --- a/api/test/api_price_frequency_tiers_test.go +++ /dev/null @@ -1,103 +0,0 @@ -/* -Commerce Layer API - -Testing PriceFrequencyTiersApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_PriceFrequencyTiersApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test PriceFrequencyTiersApiService DELETEPriceFrequencyTiersPriceFrequencyTierId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceFrequencyTierId interface{} - - httpRes, err := apiClient.PriceFrequencyTiersApi.DELETEPriceFrequencyTiersPriceFrequencyTierId(context.Background(), priceFrequencyTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PriceFrequencyTiersApiService GETPriceFrequencyTiers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.PriceFrequencyTiersApi.GETPriceFrequencyTiers(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PriceFrequencyTiersApiService GETPriceFrequencyTiersPriceFrequencyTierId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceFrequencyTierId interface{} - - resp, httpRes, err := apiClient.PriceFrequencyTiersApi.GETPriceFrequencyTiersPriceFrequencyTierId(context.Background(), priceFrequencyTierId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PriceFrequencyTiersApiService GETPriceIdPriceFrequencyTiers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceId interface{} - - httpRes, err := apiClient.PriceFrequencyTiersApi.GETPriceIdPriceFrequencyTiers(context.Background(), priceId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PriceFrequencyTiersApiService PATCHPriceFrequencyTiersPriceFrequencyTierId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceFrequencyTierId interface{} - - resp, httpRes, err := apiClient.PriceFrequencyTiersApi.PATCHPriceFrequencyTiersPriceFrequencyTierId(context.Background(), priceFrequencyTierId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PriceFrequencyTiersApiService POSTPriceFrequencyTiers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.PriceFrequencyTiersApi.POSTPriceFrequencyTiers(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_price_list_schedulers_test.go b/api/test/api_price_list_schedulers_test.go deleted file mode 100644 index b9ec3d524..000000000 --- a/api/test/api_price_list_schedulers_test.go +++ /dev/null @@ -1,116 +0,0 @@ -/* -Commerce Layer API - -Testing PriceListSchedulersApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_PriceListSchedulersApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test PriceListSchedulersApiService DELETEPriceListSchedulersPriceListSchedulerId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceListSchedulerId interface{} - - httpRes, err := apiClient.PriceListSchedulersApi.DELETEPriceListSchedulersPriceListSchedulerId(context.Background(), priceListSchedulerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PriceListSchedulersApiService GETMarketIdPriceListSchedulers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var marketId interface{} - - httpRes, err := apiClient.PriceListSchedulersApi.GETMarketIdPriceListSchedulers(context.Background(), marketId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PriceListSchedulersApiService GETPriceListIdPriceListSchedulers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceListId interface{} - - httpRes, err := apiClient.PriceListSchedulersApi.GETPriceListIdPriceListSchedulers(context.Background(), priceListId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PriceListSchedulersApiService GETPriceListSchedulers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.PriceListSchedulersApi.GETPriceListSchedulers(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PriceListSchedulersApiService GETPriceListSchedulersPriceListSchedulerId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceListSchedulerId interface{} - - resp, httpRes, err := apiClient.PriceListSchedulersApi.GETPriceListSchedulersPriceListSchedulerId(context.Background(), priceListSchedulerId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PriceListSchedulersApiService PATCHPriceListSchedulersPriceListSchedulerId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceListSchedulerId interface{} - - resp, httpRes, err := apiClient.PriceListSchedulersApi.PATCHPriceListSchedulersPriceListSchedulerId(context.Background(), priceListSchedulerId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PriceListSchedulersApiService POSTPriceListSchedulers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.PriceListSchedulersApi.POSTPriceListSchedulers(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_price_lists_test.go b/api/test/api_price_lists_test.go deleted file mode 100644 index ffc64bf18..000000000 --- a/api/test/api_price_lists_test.go +++ /dev/null @@ -1,142 +0,0 @@ -/* -Commerce Layer API - -Testing PriceListsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_PriceListsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test PriceListsApiService DELETEPriceListsPriceListId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceListId interface{} - - httpRes, err := apiClient.PriceListsApi.DELETEPriceListsPriceListId(context.Background(), priceListId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PriceListsApiService GETMarketIdBasePriceList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var marketId interface{} - - httpRes, err := apiClient.PriceListsApi.GETMarketIdBasePriceList(context.Background(), marketId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PriceListsApiService GETMarketIdPriceList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var marketId interface{} - - httpRes, err := apiClient.PriceListsApi.GETMarketIdPriceList(context.Background(), marketId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PriceListsApiService GETPriceIdPriceList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceId interface{} - - httpRes, err := apiClient.PriceListsApi.GETPriceIdPriceList(context.Background(), priceId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PriceListsApiService GETPriceListSchedulerIdPriceList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceListSchedulerId interface{} - - httpRes, err := apiClient.PriceListsApi.GETPriceListSchedulerIdPriceList(context.Background(), priceListSchedulerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PriceListsApiService GETPriceLists", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.PriceListsApi.GETPriceLists(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PriceListsApiService GETPriceListsPriceListId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceListId interface{} - - resp, httpRes, err := apiClient.PriceListsApi.GETPriceListsPriceListId(context.Background(), priceListId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PriceListsApiService PATCHPriceListsPriceListId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceListId interface{} - - resp, httpRes, err := apiClient.PriceListsApi.PATCHPriceListsPriceListId(context.Background(), priceListId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PriceListsApiService POSTPriceLists", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.PriceListsApi.POSTPriceLists(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_price_tiers_test.go b/api/test/api_price_tiers_test.go deleted file mode 100644 index 54b748a50..000000000 --- a/api/test/api_price_tiers_test.go +++ /dev/null @@ -1,64 +0,0 @@ -/* -Commerce Layer API - -Testing PriceTiersApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_PriceTiersApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test PriceTiersApiService GETPriceIdPriceTiers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceId interface{} - - httpRes, err := apiClient.PriceTiersApi.GETPriceIdPriceTiers(context.Background(), priceId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PriceTiersApiService GETPriceTiers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.PriceTiersApi.GETPriceTiers(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PriceTiersApiService GETPriceTiersPriceTierId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceTierId interface{} - - resp, httpRes, err := apiClient.PriceTiersApi.GETPriceTiersPriceTierId(context.Background(), priceTierId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_price_volume_tiers_test.go b/api/test/api_price_volume_tiers_test.go deleted file mode 100644 index b62e5f446..000000000 --- a/api/test/api_price_volume_tiers_test.go +++ /dev/null @@ -1,103 +0,0 @@ -/* -Commerce Layer API - -Testing PriceVolumeTiersApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_PriceVolumeTiersApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test PriceVolumeTiersApiService DELETEPriceVolumeTiersPriceVolumeTierId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceVolumeTierId interface{} - - httpRes, err := apiClient.PriceVolumeTiersApi.DELETEPriceVolumeTiersPriceVolumeTierId(context.Background(), priceVolumeTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PriceVolumeTiersApiService GETPriceIdPriceVolumeTiers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceId interface{} - - httpRes, err := apiClient.PriceVolumeTiersApi.GETPriceIdPriceVolumeTiers(context.Background(), priceId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PriceVolumeTiersApiService GETPriceVolumeTiers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.PriceVolumeTiersApi.GETPriceVolumeTiers(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PriceVolumeTiersApiService GETPriceVolumeTiersPriceVolumeTierId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceVolumeTierId interface{} - - resp, httpRes, err := apiClient.PriceVolumeTiersApi.GETPriceVolumeTiersPriceVolumeTierId(context.Background(), priceVolumeTierId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PriceVolumeTiersApiService PATCHPriceVolumeTiersPriceVolumeTierId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceVolumeTierId interface{} - - resp, httpRes, err := apiClient.PriceVolumeTiersApi.PATCHPriceVolumeTiersPriceVolumeTierId(context.Background(), priceVolumeTierId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PriceVolumeTiersApiService POSTPriceVolumeTiers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.PriceVolumeTiersApi.POSTPriceVolumeTiers(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_prices_test.go b/api/test/api_prices_test.go deleted file mode 100644 index 7105d562f..000000000 --- a/api/test/api_prices_test.go +++ /dev/null @@ -1,155 +0,0 @@ -/* -Commerce Layer API - -Testing PricesApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_PricesApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test PricesApiService DELETEPricesPriceId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceId interface{} - - httpRes, err := apiClient.PricesApi.DELETEPricesPriceId(context.Background(), priceId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PricesApiService GETPriceFrequencyTierIdPrice", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceFrequencyTierId interface{} - - httpRes, err := apiClient.PricesApi.GETPriceFrequencyTierIdPrice(context.Background(), priceFrequencyTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PricesApiService GETPriceListIdPrices", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceListId interface{} - - httpRes, err := apiClient.PricesApi.GETPriceListIdPrices(context.Background(), priceListId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PricesApiService GETPriceTierIdPrice", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceTierId interface{} - - httpRes, err := apiClient.PricesApi.GETPriceTierIdPrice(context.Background(), priceTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PricesApiService GETPriceVolumeTierIdPrice", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceVolumeTierId interface{} - - httpRes, err := apiClient.PricesApi.GETPriceVolumeTierIdPrice(context.Background(), priceVolumeTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PricesApiService GETPrices", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.PricesApi.GETPrices(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PricesApiService GETPricesPriceId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceId interface{} - - resp, httpRes, err := apiClient.PricesApi.GETPricesPriceId(context.Background(), priceId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PricesApiService GETSkuIdPrices", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.PricesApi.GETSkuIdPrices(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PricesApiService PATCHPricesPriceId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceId interface{} - - resp, httpRes, err := apiClient.PricesApi.PATCHPricesPriceId(context.Background(), priceId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PricesApiService POSTPrices", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.PricesApi.POSTPrices(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_promotion_rules_test.go b/api/test/api_promotion_rules_test.go deleted file mode 100644 index 557d7a81b..000000000 --- a/api/test/api_promotion_rules_test.go +++ /dev/null @@ -1,51 +0,0 @@ -/* -Commerce Layer API - -Testing PromotionRulesApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_PromotionRulesApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test PromotionRulesApiService GETPromotionRules", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.PromotionRulesApi.GETPromotionRules(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PromotionRulesApiService GETPromotionRulesPromotionRuleId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var promotionRuleId interface{} - - resp, httpRes, err := apiClient.PromotionRulesApi.GETPromotionRulesPromotionRuleId(context.Background(), promotionRuleId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_promotions_test.go b/api/test/api_promotions_test.go deleted file mode 100644 index 57f2f0df7..000000000 --- a/api/test/api_promotions_test.go +++ /dev/null @@ -1,51 +0,0 @@ -/* -Commerce Layer API - -Testing PromotionsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_PromotionsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test PromotionsApiService GETPromotions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.PromotionsApi.GETPromotions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test PromotionsApiService GETPromotionsPromotionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var promotionId interface{} - - resp, httpRes, err := apiClient.PromotionsApi.GETPromotionsPromotionId(context.Background(), promotionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_recurring_order_copies_test.go b/api/test/api_recurring_order_copies_test.go deleted file mode 100644 index 61915a9ca..000000000 --- a/api/test/api_recurring_order_copies_test.go +++ /dev/null @@ -1,116 +0,0 @@ -/* -Commerce Layer API - -Testing RecurringOrderCopiesApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_RecurringOrderCopiesApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test RecurringOrderCopiesApiService DELETERecurringOrderCopiesRecurringOrderCopyId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var recurringOrderCopyId interface{} - - httpRes, err := apiClient.RecurringOrderCopiesApi.DELETERecurringOrderCopiesRecurringOrderCopyId(context.Background(), recurringOrderCopyId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test RecurringOrderCopiesApiService GETOrderIdRecurringOrderCopies", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.RecurringOrderCopiesApi.GETOrderIdRecurringOrderCopies(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test RecurringOrderCopiesApiService GETOrderSubscriptionIdRecurringOrderCopies", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionId interface{} - - httpRes, err := apiClient.RecurringOrderCopiesApi.GETOrderSubscriptionIdRecurringOrderCopies(context.Background(), orderSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test RecurringOrderCopiesApiService GETRecurringOrderCopies", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.RecurringOrderCopiesApi.GETRecurringOrderCopies(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test RecurringOrderCopiesApiService GETRecurringOrderCopiesRecurringOrderCopyId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var recurringOrderCopyId interface{} - - resp, httpRes, err := apiClient.RecurringOrderCopiesApi.GETRecurringOrderCopiesRecurringOrderCopyId(context.Background(), recurringOrderCopyId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test RecurringOrderCopiesApiService PATCHRecurringOrderCopiesRecurringOrderCopyId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var recurringOrderCopyId interface{} - - resp, httpRes, err := apiClient.RecurringOrderCopiesApi.PATCHRecurringOrderCopiesRecurringOrderCopyId(context.Background(), recurringOrderCopyId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test RecurringOrderCopiesApiService POSTRecurringOrderCopies", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.RecurringOrderCopiesApi.POSTRecurringOrderCopies(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_refunds_test.go b/api/test/api_refunds_test.go deleted file mode 100644 index 91a9a0234..000000000 --- a/api/test/api_refunds_test.go +++ /dev/null @@ -1,104 +0,0 @@ -/* -Commerce Layer API - -Testing RefundsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_RefundsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test RefundsApiService GETCaptureIdRefunds", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var captureId interface{} - - httpRes, err := apiClient.RefundsApi.GETCaptureIdRefunds(context.Background(), captureId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test RefundsApiService GETOrderIdRefunds", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.RefundsApi.GETOrderIdRefunds(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test RefundsApiService GETRefunds", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.RefundsApi.GETRefunds(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test RefundsApiService GETRefundsRefundId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var refundId interface{} - - resp, httpRes, err := apiClient.RefundsApi.GETRefundsRefundId(context.Background(), refundId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test RefundsApiService GETReturnIdReferenceRefund", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnId interface{} - - httpRes, err := apiClient.RefundsApi.GETReturnIdReferenceRefund(context.Background(), returnId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test RefundsApiService PATCHRefundsRefundId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var refundId interface{} - - resp, httpRes, err := apiClient.RefundsApi.PATCHRefundsRefundId(context.Background(), refundId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_reserved_stocks_test.go b/api/test/api_reserved_stocks_test.go deleted file mode 100644 index 65422d6db..000000000 --- a/api/test/api_reserved_stocks_test.go +++ /dev/null @@ -1,77 +0,0 @@ -/* -Commerce Layer API - -Testing ReservedStocksApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_ReservedStocksApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test ReservedStocksApiService GETReservedStocks", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ReservedStocksApi.GETReservedStocks(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ReservedStocksApiService GETReservedStocksReservedStockId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var reservedStockId interface{} - - resp, httpRes, err := apiClient.ReservedStocksApi.GETReservedStocksReservedStockId(context.Background(), reservedStockId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ReservedStocksApiService GETStockItemIdReservedStock", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockItemId interface{} - - httpRes, err := apiClient.ReservedStocksApi.GETStockItemIdReservedStock(context.Background(), stockItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ReservedStocksApiService GETStockReservationIdReservedStock", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockReservationId interface{} - - httpRes, err := apiClient.ReservedStocksApi.GETStockReservationIdReservedStock(context.Background(), stockReservationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_resource_errors_test.go b/api/test/api_resource_errors_test.go deleted file mode 100644 index e69ee1739..000000000 --- a/api/test/api_resource_errors_test.go +++ /dev/null @@ -1,77 +0,0 @@ -/* -Commerce Layer API - -Testing ResourceErrorsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_ResourceErrorsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test ResourceErrorsApiService GETOrderIdResourceErrors", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.ResourceErrorsApi.GETOrderIdResourceErrors(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ResourceErrorsApiService GETResourceErrors", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ResourceErrorsApi.GETResourceErrors(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ResourceErrorsApiService GETResourceErrorsResourceErrorId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var resourceErrorId interface{} - - resp, httpRes, err := apiClient.ResourceErrorsApi.GETResourceErrorsResourceErrorId(context.Background(), resourceErrorId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ResourceErrorsApiService GETReturnIdResourceErrors", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnId interface{} - - httpRes, err := apiClient.ResourceErrorsApi.GETReturnIdResourceErrors(context.Background(), returnId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_return_line_items_test.go b/api/test/api_return_line_items_test.go deleted file mode 100644 index 2526f72ed..000000000 --- a/api/test/api_return_line_items_test.go +++ /dev/null @@ -1,116 +0,0 @@ -/* -Commerce Layer API - -Testing ReturnLineItemsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_ReturnLineItemsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test ReturnLineItemsApiService DELETEReturnLineItemsReturnLineItemId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnLineItemId interface{} - - httpRes, err := apiClient.ReturnLineItemsApi.DELETEReturnLineItemsReturnLineItemId(context.Background(), returnLineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ReturnLineItemsApiService GETLineItemIdReturnLineItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var lineItemId interface{} - - httpRes, err := apiClient.ReturnLineItemsApi.GETLineItemIdReturnLineItems(context.Background(), lineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ReturnLineItemsApiService GETReturnIdReturnLineItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnId interface{} - - httpRes, err := apiClient.ReturnLineItemsApi.GETReturnIdReturnLineItems(context.Background(), returnId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ReturnLineItemsApiService GETReturnLineItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ReturnLineItemsApi.GETReturnLineItems(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ReturnLineItemsApiService GETReturnLineItemsReturnLineItemId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnLineItemId interface{} - - resp, httpRes, err := apiClient.ReturnLineItemsApi.GETReturnLineItemsReturnLineItemId(context.Background(), returnLineItemId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ReturnLineItemsApiService PATCHReturnLineItemsReturnLineItemId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnLineItemId interface{} - - resp, httpRes, err := apiClient.ReturnLineItemsApi.PATCHReturnLineItemsReturnLineItemId(context.Background(), returnLineItemId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ReturnLineItemsApiService POSTReturnLineItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ReturnLineItemsApi.POSTReturnLineItems(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_returns_test.go b/api/test/api_returns_test.go deleted file mode 100644 index 85da2a066..000000000 --- a/api/test/api_returns_test.go +++ /dev/null @@ -1,155 +0,0 @@ -/* -Commerce Layer API - -Testing ReturnsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_ReturnsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test ReturnsApiService DELETEReturnsReturnId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnId interface{} - - httpRes, err := apiClient.ReturnsApi.DELETEReturnsReturnId(context.Background(), returnId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ReturnsApiService GETCaptureIdReturn", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var captureId interface{} - - httpRes, err := apiClient.ReturnsApi.GETCaptureIdReturn(context.Background(), captureId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ReturnsApiService GETCustomerIdReturns", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerId interface{} - - httpRes, err := apiClient.ReturnsApi.GETCustomerIdReturns(context.Background(), customerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ReturnsApiService GETOrderIdReturns", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.ReturnsApi.GETOrderIdReturns(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ReturnsApiService GETRefundIdReturn", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var refundId interface{} - - httpRes, err := apiClient.ReturnsApi.GETRefundIdReturn(context.Background(), refundId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ReturnsApiService GETReturnLineItemIdReturn", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnLineItemId interface{} - - httpRes, err := apiClient.ReturnsApi.GETReturnLineItemIdReturn(context.Background(), returnLineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ReturnsApiService GETReturns", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ReturnsApi.GETReturns(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ReturnsApiService GETReturnsReturnId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnId interface{} - - resp, httpRes, err := apiClient.ReturnsApi.GETReturnsReturnId(context.Background(), returnId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ReturnsApiService PATCHReturnsReturnId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnId interface{} - - resp, httpRes, err := apiClient.ReturnsApi.PATCHReturnsReturnId(context.Background(), returnId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ReturnsApiService POSTReturns", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ReturnsApi.POSTReturns(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_satispay_gateways_test.go b/api/test/api_satispay_gateways_test.go deleted file mode 100644 index c2730ccf3..000000000 --- a/api/test/api_satispay_gateways_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing SatispayGatewaysApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_SatispayGatewaysApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test SatispayGatewaysApiService DELETESatispayGatewaysSatispayGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var satispayGatewayId interface{} - - httpRes, err := apiClient.SatispayGatewaysApi.DELETESatispayGatewaysSatispayGatewayId(context.Background(), satispayGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SatispayGatewaysApiService GETSatispayGateways", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.SatispayGatewaysApi.GETSatispayGateways(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SatispayGatewaysApiService GETSatispayGatewaysSatispayGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var satispayGatewayId interface{} - - resp, httpRes, err := apiClient.SatispayGatewaysApi.GETSatispayGatewaysSatispayGatewayId(context.Background(), satispayGatewayId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SatispayGatewaysApiService PATCHSatispayGatewaysSatispayGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var satispayGatewayId interface{} - - resp, httpRes, err := apiClient.SatispayGatewaysApi.PATCHSatispayGatewaysSatispayGatewayId(context.Background(), satispayGatewayId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SatispayGatewaysApiService POSTSatispayGateways", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.SatispayGatewaysApi.POSTSatispayGateways(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_satispay_payments_test.go b/api/test/api_satispay_payments_test.go deleted file mode 100644 index 1caf1e823..000000000 --- a/api/test/api_satispay_payments_test.go +++ /dev/null @@ -1,103 +0,0 @@ -/* -Commerce Layer API - -Testing SatispayPaymentsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_SatispayPaymentsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test SatispayPaymentsApiService DELETESatispayPaymentsSatispayPaymentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var satispayPaymentId interface{} - - httpRes, err := apiClient.SatispayPaymentsApi.DELETESatispayPaymentsSatispayPaymentId(context.Background(), satispayPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SatispayPaymentsApiService GETSatispayGatewayIdSatispayPayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var satispayGatewayId interface{} - - httpRes, err := apiClient.SatispayPaymentsApi.GETSatispayGatewayIdSatispayPayments(context.Background(), satispayGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SatispayPaymentsApiService GETSatispayPayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.SatispayPaymentsApi.GETSatispayPayments(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SatispayPaymentsApiService GETSatispayPaymentsSatispayPaymentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var satispayPaymentId interface{} - - resp, httpRes, err := apiClient.SatispayPaymentsApi.GETSatispayPaymentsSatispayPaymentId(context.Background(), satispayPaymentId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SatispayPaymentsApiService PATCHSatispayPaymentsSatispayPaymentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var satispayPaymentId interface{} - - resp, httpRes, err := apiClient.SatispayPaymentsApi.PATCHSatispayPaymentsSatispayPaymentId(context.Background(), satispayPaymentId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SatispayPaymentsApiService POSTSatispayPayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.SatispayPaymentsApi.POSTSatispayPayments(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_shipments_test.go b/api/test/api_shipments_test.go deleted file mode 100644 index 6a3add85f..000000000 --- a/api/test/api_shipments_test.go +++ /dev/null @@ -1,142 +0,0 @@ -/* -Commerce Layer API - -Testing ShipmentsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_ShipmentsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test ShipmentsApiService DELETEShipmentsShipmentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.ShipmentsApi.DELETEShipmentsShipmentId(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShipmentsApiService GETOrderIdShipments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.ShipmentsApi.GETOrderIdShipments(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShipmentsApiService GETParcelIdShipment", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var parcelId interface{} - - httpRes, err := apiClient.ShipmentsApi.GETParcelIdShipment(context.Background(), parcelId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShipmentsApiService GETShipments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ShipmentsApi.GETShipments(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShipmentsApiService GETShipmentsShipmentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - resp, httpRes, err := apiClient.ShipmentsApi.GETShipmentsShipmentId(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShipmentsApiService GETStockLineItemIdShipment", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLineItemId interface{} - - httpRes, err := apiClient.ShipmentsApi.GETStockLineItemIdShipment(context.Background(), stockLineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShipmentsApiService GETStockTransferIdShipment", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockTransferId interface{} - - httpRes, err := apiClient.ShipmentsApi.GETStockTransferIdShipment(context.Background(), stockTransferId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShipmentsApiService PATCHShipmentsShipmentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - resp, httpRes, err := apiClient.ShipmentsApi.PATCHShipmentsShipmentId(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShipmentsApiService POSTShipments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ShipmentsApi.POSTShipments(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_shipping_categories_test.go b/api/test/api_shipping_categories_test.go deleted file mode 100644 index ca8e6acfa..000000000 --- a/api/test/api_shipping_categories_test.go +++ /dev/null @@ -1,129 +0,0 @@ -/* -Commerce Layer API - -Testing ShippingCategoriesApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_ShippingCategoriesApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test ShippingCategoriesApiService DELETEShippingCategoriesShippingCategoryId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingCategoryId interface{} - - httpRes, err := apiClient.ShippingCategoriesApi.DELETEShippingCategoriesShippingCategoryId(context.Background(), shippingCategoryId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShippingCategoriesApiService GETShipmentIdShippingCategory", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.ShippingCategoriesApi.GETShipmentIdShippingCategory(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShippingCategoriesApiService GETShippingCategories", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ShippingCategoriesApi.GETShippingCategories(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShippingCategoriesApiService GETShippingCategoriesShippingCategoryId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingCategoryId interface{} - - resp, httpRes, err := apiClient.ShippingCategoriesApi.GETShippingCategoriesShippingCategoryId(context.Background(), shippingCategoryId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShippingCategoriesApiService GETShippingMethodIdShippingCategory", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingMethodId interface{} - - httpRes, err := apiClient.ShippingCategoriesApi.GETShippingMethodIdShippingCategory(context.Background(), shippingMethodId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShippingCategoriesApiService GETSkuIdShippingCategory", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.ShippingCategoriesApi.GETSkuIdShippingCategory(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShippingCategoriesApiService PATCHShippingCategoriesShippingCategoryId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingCategoryId interface{} - - resp, httpRes, err := apiClient.ShippingCategoriesApi.PATCHShippingCategoriesShippingCategoryId(context.Background(), shippingCategoryId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShippingCategoriesApiService POSTShippingCategories", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ShippingCategoriesApi.POSTShippingCategories(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_shipping_method_tiers_test.go b/api/test/api_shipping_method_tiers_test.go deleted file mode 100644 index d30b6ad4e..000000000 --- a/api/test/api_shipping_method_tiers_test.go +++ /dev/null @@ -1,64 +0,0 @@ -/* -Commerce Layer API - -Testing ShippingMethodTiersApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_ShippingMethodTiersApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test ShippingMethodTiersApiService GETShippingMethodIdShippingMethodTiers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingMethodId interface{} - - httpRes, err := apiClient.ShippingMethodTiersApi.GETShippingMethodIdShippingMethodTiers(context.Background(), shippingMethodId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShippingMethodTiersApiService GETShippingMethodTiers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ShippingMethodTiersApi.GETShippingMethodTiers(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShippingMethodTiersApiService GETShippingMethodTiersShippingMethodTierId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingMethodTierId interface{} - - resp, httpRes, err := apiClient.ShippingMethodTiersApi.GETShippingMethodTiersShippingMethodTierId(context.Background(), shippingMethodTierId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_shipping_methods_test.go b/api/test/api_shipping_methods_test.go deleted file mode 100644 index d992befb4..000000000 --- a/api/test/api_shipping_methods_test.go +++ /dev/null @@ -1,155 +0,0 @@ -/* -Commerce Layer API - -Testing ShippingMethodsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_ShippingMethodsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test ShippingMethodsApiService DELETEShippingMethodsShippingMethodId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingMethodId interface{} - - httpRes, err := apiClient.ShippingMethodsApi.DELETEShippingMethodsShippingMethodId(context.Background(), shippingMethodId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShippingMethodsApiService GETDeliveryLeadTimeIdShippingMethod", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var deliveryLeadTimeId interface{} - - httpRes, err := apiClient.ShippingMethodsApi.GETDeliveryLeadTimeIdShippingMethod(context.Background(), deliveryLeadTimeId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShippingMethodsApiService GETShipmentIdAvailableShippingMethods", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.ShippingMethodsApi.GETShipmentIdAvailableShippingMethods(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShippingMethodsApiService GETShipmentIdShippingMethod", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.ShippingMethodsApi.GETShipmentIdShippingMethod(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShippingMethodsApiService GETShippingMethodTierIdShippingMethod", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingMethodTierId interface{} - - httpRes, err := apiClient.ShippingMethodsApi.GETShippingMethodTierIdShippingMethod(context.Background(), shippingMethodTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShippingMethodsApiService GETShippingMethods", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ShippingMethodsApi.GETShippingMethods(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShippingMethodsApiService GETShippingMethodsShippingMethodId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingMethodId interface{} - - resp, httpRes, err := apiClient.ShippingMethodsApi.GETShippingMethodsShippingMethodId(context.Background(), shippingMethodId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShippingMethodsApiService GETShippingWeightTierIdShippingMethod", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingWeightTierId interface{} - - httpRes, err := apiClient.ShippingMethodsApi.GETShippingWeightTierIdShippingMethod(context.Background(), shippingWeightTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShippingMethodsApiService PATCHShippingMethodsShippingMethodId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingMethodId interface{} - - resp, httpRes, err := apiClient.ShippingMethodsApi.PATCHShippingMethodsShippingMethodId(context.Background(), shippingMethodId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShippingMethodsApiService POSTShippingMethods", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ShippingMethodsApi.POSTShippingMethods(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_shipping_weight_tiers_test.go b/api/test/api_shipping_weight_tiers_test.go deleted file mode 100644 index a559043cb..000000000 --- a/api/test/api_shipping_weight_tiers_test.go +++ /dev/null @@ -1,103 +0,0 @@ -/* -Commerce Layer API - -Testing ShippingWeightTiersApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_ShippingWeightTiersApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test ShippingWeightTiersApiService DELETEShippingWeightTiersShippingWeightTierId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingWeightTierId interface{} - - httpRes, err := apiClient.ShippingWeightTiersApi.DELETEShippingWeightTiersShippingWeightTierId(context.Background(), shippingWeightTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShippingWeightTiersApiService GETShippingMethodIdShippingWeightTiers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingMethodId interface{} - - httpRes, err := apiClient.ShippingWeightTiersApi.GETShippingMethodIdShippingWeightTiers(context.Background(), shippingMethodId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShippingWeightTiersApiService GETShippingWeightTiers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ShippingWeightTiersApi.GETShippingWeightTiers(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShippingWeightTiersApiService GETShippingWeightTiersShippingWeightTierId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingWeightTierId interface{} - - resp, httpRes, err := apiClient.ShippingWeightTiersApi.GETShippingWeightTiersShippingWeightTierId(context.Background(), shippingWeightTierId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShippingWeightTiersApiService PATCHShippingWeightTiersShippingWeightTierId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingWeightTierId interface{} - - resp, httpRes, err := apiClient.ShippingWeightTiersApi.PATCHShippingWeightTiersShippingWeightTierId(context.Background(), shippingWeightTierId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShippingWeightTiersApiService POSTShippingWeightTiers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ShippingWeightTiersApi.POSTShippingWeightTiers(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_shipping_zones_test.go b/api/test/api_shipping_zones_test.go deleted file mode 100644 index 0d2144bc5..000000000 --- a/api/test/api_shipping_zones_test.go +++ /dev/null @@ -1,103 +0,0 @@ -/* -Commerce Layer API - -Testing ShippingZonesApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_ShippingZonesApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test ShippingZonesApiService DELETEShippingZonesShippingZoneId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingZoneId interface{} - - httpRes, err := apiClient.ShippingZonesApi.DELETEShippingZonesShippingZoneId(context.Background(), shippingZoneId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShippingZonesApiService GETShippingMethodIdShippingZone", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingMethodId interface{} - - httpRes, err := apiClient.ShippingZonesApi.GETShippingMethodIdShippingZone(context.Background(), shippingMethodId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShippingZonesApiService GETShippingZones", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ShippingZonesApi.GETShippingZones(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShippingZonesApiService GETShippingZonesShippingZoneId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingZoneId interface{} - - resp, httpRes, err := apiClient.ShippingZonesApi.GETShippingZonesShippingZoneId(context.Background(), shippingZoneId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShippingZonesApiService PATCHShippingZonesShippingZoneId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingZoneId interface{} - - resp, httpRes, err := apiClient.ShippingZonesApi.PATCHShippingZonesShippingZoneId(context.Background(), shippingZoneId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test ShippingZonesApiService POSTShippingZones", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.ShippingZonesApi.POSTShippingZones(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_singleton_test.go b/api/test/api_singleton_test.go deleted file mode 100644 index 6442f69db..000000000 --- a/api/test/api_singleton_test.go +++ /dev/null @@ -1,49 +0,0 @@ -/* -Commerce Layer API - -Testing SingletonApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_SingletonApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test SingletonApiService GETApplicationApplicationId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.SingletonApi.GETApplicationApplicationId(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SingletonApiService GETOrganizationOrganizationId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.SingletonApi.GETOrganizationOrganizationId(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_sku_list_items_test.go b/api/test/api_sku_list_items_test.go deleted file mode 100644 index f3884db7d..000000000 --- a/api/test/api_sku_list_items_test.go +++ /dev/null @@ -1,116 +0,0 @@ -/* -Commerce Layer API - -Testing SkuListItemsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_SkuListItemsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test SkuListItemsApiService DELETESkuListItemsSkuListItemId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListItemId interface{} - - httpRes, err := apiClient.SkuListItemsApi.DELETESkuListItemsSkuListItemId(context.Background(), skuListItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListItemsApiService GETSkuIdSkuListItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.SkuListItemsApi.GETSkuIdSkuListItems(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListItemsApiService GETSkuListIdSkuListItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListId interface{} - - httpRes, err := apiClient.SkuListItemsApi.GETSkuListIdSkuListItems(context.Background(), skuListId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListItemsApiService GETSkuListItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.SkuListItemsApi.GETSkuListItems(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListItemsApiService GETSkuListItemsSkuListItemId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListItemId interface{} - - resp, httpRes, err := apiClient.SkuListItemsApi.GETSkuListItemsSkuListItemId(context.Background(), skuListItemId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListItemsApiService PATCHSkuListItemsSkuListItemId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListItemId interface{} - - resp, httpRes, err := apiClient.SkuListItemsApi.PATCHSkuListItemsSkuListItemId(context.Background(), skuListItemId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListItemsApiService POSTSkuListItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.SkuListItemsApi.POSTSkuListItems(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_sku_list_promotion_rules_test.go b/api/test/api_sku_list_promotion_rules_test.go deleted file mode 100644 index 98a0af6ee..000000000 --- a/api/test/api_sku_list_promotion_rules_test.go +++ /dev/null @@ -1,194 +0,0 @@ -/* -Commerce Layer API - -Testing SkuListPromotionRulesApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_SkuListPromotionRulesApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test SkuListPromotionRulesApiService DELETESkuListPromotionRulesSkuListPromotionRuleId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListPromotionRuleId interface{} - - httpRes, err := apiClient.SkuListPromotionRulesApi.DELETESkuListPromotionRulesSkuListPromotionRuleId(context.Background(), skuListPromotionRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListPromotionRulesApiService GETBuyXPayYPromotionIdSkuListPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var buyXPayYPromotionId interface{} - - httpRes, err := apiClient.SkuListPromotionRulesApi.GETBuyXPayYPromotionIdSkuListPromotionRule(context.Background(), buyXPayYPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListPromotionRulesApiService GETExternalPromotionIdSkuListPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPromotionId interface{} - - httpRes, err := apiClient.SkuListPromotionRulesApi.GETExternalPromotionIdSkuListPromotionRule(context.Background(), externalPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListPromotionRulesApiService GETFixedAmountPromotionIdSkuListPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedAmountPromotionId interface{} - - httpRes, err := apiClient.SkuListPromotionRulesApi.GETFixedAmountPromotionIdSkuListPromotionRule(context.Background(), fixedAmountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListPromotionRulesApiService GETFixedPricePromotionIdSkuListPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedPricePromotionId interface{} - - httpRes, err := apiClient.SkuListPromotionRulesApi.GETFixedPricePromotionIdSkuListPromotionRule(context.Background(), fixedPricePromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListPromotionRulesApiService GETFreeGiftPromotionIdSkuListPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeGiftPromotionId interface{} - - httpRes, err := apiClient.SkuListPromotionRulesApi.GETFreeGiftPromotionIdSkuListPromotionRule(context.Background(), freeGiftPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListPromotionRulesApiService GETFreeShippingPromotionIdSkuListPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeShippingPromotionId interface{} - - httpRes, err := apiClient.SkuListPromotionRulesApi.GETFreeShippingPromotionIdSkuListPromotionRule(context.Background(), freeShippingPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListPromotionRulesApiService GETPercentageDiscountPromotionIdSkuListPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var percentageDiscountPromotionId interface{} - - httpRes, err := apiClient.SkuListPromotionRulesApi.GETPercentageDiscountPromotionIdSkuListPromotionRule(context.Background(), percentageDiscountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListPromotionRulesApiService GETPromotionIdSkuListPromotionRule", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var promotionId interface{} - - httpRes, err := apiClient.SkuListPromotionRulesApi.GETPromotionIdSkuListPromotionRule(context.Background(), promotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListPromotionRulesApiService GETSkuListPromotionRules", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.SkuListPromotionRulesApi.GETSkuListPromotionRules(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListPromotionRulesApiService GETSkuListPromotionRulesSkuListPromotionRuleId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListPromotionRuleId interface{} - - resp, httpRes, err := apiClient.SkuListPromotionRulesApi.GETSkuListPromotionRulesSkuListPromotionRuleId(context.Background(), skuListPromotionRuleId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListPromotionRulesApiService PATCHSkuListPromotionRulesSkuListPromotionRuleId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListPromotionRuleId interface{} - - resp, httpRes, err := apiClient.SkuListPromotionRulesApi.PATCHSkuListPromotionRulesSkuListPromotionRuleId(context.Background(), skuListPromotionRuleId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListPromotionRulesApiService POSTSkuListPromotionRules", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.SkuListPromotionRulesApi.POSTSkuListPromotionRules(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_sku_lists_test.go b/api/test/api_sku_lists_test.go deleted file mode 100644 index 54cc8c72e..000000000 --- a/api/test/api_sku_lists_test.go +++ /dev/null @@ -1,259 +0,0 @@ -/* -Commerce Layer API - -Testing SkuListsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_SkuListsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test SkuListsApiService DELETESkuListsSkuListId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListId interface{} - - httpRes, err := apiClient.SkuListsApi.DELETESkuListsSkuListId(context.Background(), skuListId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListsApiService GETBundleIdSkuList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var bundleId interface{} - - httpRes, err := apiClient.SkuListsApi.GETBundleIdSkuList(context.Background(), bundleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListsApiService GETBuyXPayYPromotionIdSkuList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var buyXPayYPromotionId interface{} - - httpRes, err := apiClient.SkuListsApi.GETBuyXPayYPromotionIdSkuList(context.Background(), buyXPayYPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListsApiService GETCustomerIdSkuLists", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerId interface{} - - httpRes, err := apiClient.SkuListsApi.GETCustomerIdSkuLists(context.Background(), customerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListsApiService GETExternalPromotionIdSkuList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPromotionId interface{} - - httpRes, err := apiClient.SkuListsApi.GETExternalPromotionIdSkuList(context.Background(), externalPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListsApiService GETFixedAmountPromotionIdSkuList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedAmountPromotionId interface{} - - httpRes, err := apiClient.SkuListsApi.GETFixedAmountPromotionIdSkuList(context.Background(), fixedAmountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListsApiService GETFixedPricePromotionIdSkuList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedPricePromotionId interface{} - - httpRes, err := apiClient.SkuListsApi.GETFixedPricePromotionIdSkuList(context.Background(), fixedPricePromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListsApiService GETFreeGiftPromotionIdSkuList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeGiftPromotionId interface{} - - httpRes, err := apiClient.SkuListsApi.GETFreeGiftPromotionIdSkuList(context.Background(), freeGiftPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListsApiService GETFreeShippingPromotionIdSkuList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeShippingPromotionId interface{} - - httpRes, err := apiClient.SkuListsApi.GETFreeShippingPromotionIdSkuList(context.Background(), freeShippingPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListsApiService GETPercentageDiscountPromotionIdSkuList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var percentageDiscountPromotionId interface{} - - httpRes, err := apiClient.SkuListsApi.GETPercentageDiscountPromotionIdSkuList(context.Background(), percentageDiscountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListsApiService GETPromotionIdSkuList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var promotionId interface{} - - httpRes, err := apiClient.SkuListsApi.GETPromotionIdSkuList(context.Background(), promotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListsApiService GETSkuIdSkuLists", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.SkuListsApi.GETSkuIdSkuLists(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListsApiService GETSkuListItemIdSkuList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListItemId interface{} - - httpRes, err := apiClient.SkuListsApi.GETSkuListItemIdSkuList(context.Background(), skuListItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListsApiService GETSkuListPromotionRuleIdSkuList", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListPromotionRuleId interface{} - - httpRes, err := apiClient.SkuListsApi.GETSkuListPromotionRuleIdSkuList(context.Background(), skuListPromotionRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListsApiService GETSkuLists", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.SkuListsApi.GETSkuLists(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListsApiService GETSkuListsSkuListId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListId interface{} - - resp, httpRes, err := apiClient.SkuListsApi.GETSkuListsSkuListId(context.Background(), skuListId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListsApiService PATCHSkuListsSkuListId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListId interface{} - - resp, httpRes, err := apiClient.SkuListsApi.PATCHSkuListsSkuListId(context.Background(), skuListId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuListsApiService POSTSkuLists", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.SkuListsApi.POSTSkuLists(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_sku_options_test.go b/api/test/api_sku_options_test.go deleted file mode 100644 index 741d7132e..000000000 --- a/api/test/api_sku_options_test.go +++ /dev/null @@ -1,116 +0,0 @@ -/* -Commerce Layer API - -Testing SkuOptionsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_SkuOptionsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test SkuOptionsApiService DELETESkuOptionsSkuOptionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuOptionId interface{} - - httpRes, err := apiClient.SkuOptionsApi.DELETESkuOptionsSkuOptionId(context.Background(), skuOptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuOptionsApiService GETLineItemOptionIdSkuOption", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var lineItemOptionId interface{} - - httpRes, err := apiClient.SkuOptionsApi.GETLineItemOptionIdSkuOption(context.Background(), lineItemOptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuOptionsApiService GETSkuIdSkuOptions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.SkuOptionsApi.GETSkuIdSkuOptions(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuOptionsApiService GETSkuOptions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.SkuOptionsApi.GETSkuOptions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuOptionsApiService GETSkuOptionsSkuOptionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuOptionId interface{} - - resp, httpRes, err := apiClient.SkuOptionsApi.GETSkuOptionsSkuOptionId(context.Background(), skuOptionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuOptionsApiService PATCHSkuOptionsSkuOptionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuOptionId interface{} - - resp, httpRes, err := apiClient.SkuOptionsApi.PATCHSkuOptionsSkuOptionId(context.Background(), skuOptionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkuOptionsApiService POSTSkuOptions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.SkuOptionsApi.POSTSkuOptions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_skus_test.go b/api/test/api_skus_test.go deleted file mode 100644 index 249df5af3..000000000 --- a/api/test/api_skus_test.go +++ /dev/null @@ -1,350 +0,0 @@ -/* -Commerce Layer API - -Testing SkusApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_SkusApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test SkusApiService DELETESkusSkuId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.SkusApi.DELETESkusSkuId(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkusApiService GETBundleIdSkus", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var bundleId interface{} - - httpRes, err := apiClient.SkusApi.GETBundleIdSkus(context.Background(), bundleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkusApiService GETBuyXPayYPromotionIdSkus", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var buyXPayYPromotionId interface{} - - httpRes, err := apiClient.SkusApi.GETBuyXPayYPromotionIdSkus(context.Background(), buyXPayYPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkusApiService GETExternalPromotionIdSkus", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPromotionId interface{} - - httpRes, err := apiClient.SkusApi.GETExternalPromotionIdSkus(context.Background(), externalPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkusApiService GETFixedAmountPromotionIdSkus", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedAmountPromotionId interface{} - - httpRes, err := apiClient.SkusApi.GETFixedAmountPromotionIdSkus(context.Background(), fixedAmountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkusApiService GETFixedPricePromotionIdSkus", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedPricePromotionId interface{} - - httpRes, err := apiClient.SkusApi.GETFixedPricePromotionIdSkus(context.Background(), fixedPricePromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkusApiService GETFreeGiftPromotionIdSkus", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeGiftPromotionId interface{} - - httpRes, err := apiClient.SkusApi.GETFreeGiftPromotionIdSkus(context.Background(), freeGiftPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkusApiService GETInStockSubscriptionIdSku", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inStockSubscriptionId interface{} - - httpRes, err := apiClient.SkusApi.GETInStockSubscriptionIdSku(context.Background(), inStockSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkusApiService GETOrderIdAvailableFreeSkus", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.SkusApi.GETOrderIdAvailableFreeSkus(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkusApiService GETPercentageDiscountPromotionIdSkus", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var percentageDiscountPromotionId interface{} - - httpRes, err := apiClient.SkusApi.GETPercentageDiscountPromotionIdSkus(context.Background(), percentageDiscountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkusApiService GETPriceIdSku", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceId interface{} - - httpRes, err := apiClient.SkusApi.GETPriceIdSku(context.Background(), priceId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkusApiService GETReservedStockIdSku", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var reservedStockId interface{} - - httpRes, err := apiClient.SkusApi.GETReservedStockIdSku(context.Background(), reservedStockId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkusApiService GETShippingCategoryIdSkus", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingCategoryId interface{} - - httpRes, err := apiClient.SkusApi.GETShippingCategoryIdSkus(context.Background(), shippingCategoryId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkusApiService GETSkuListIdSkus", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListId interface{} - - httpRes, err := apiClient.SkusApi.GETSkuListIdSkus(context.Background(), skuListId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkusApiService GETSkuListItemIdSku", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListItemId interface{} - - httpRes, err := apiClient.SkusApi.GETSkuListItemIdSku(context.Background(), skuListItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkusApiService GETSkuListPromotionRuleIdSkus", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListPromotionRuleId interface{} - - httpRes, err := apiClient.SkusApi.GETSkuListPromotionRuleIdSkus(context.Background(), skuListPromotionRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkusApiService GETSkus", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.SkusApi.GETSkus(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkusApiService GETSkusSkuId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - resp, httpRes, err := apiClient.SkusApi.GETSkusSkuId(context.Background(), skuId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkusApiService GETStockItemIdSku", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockItemId interface{} - - httpRes, err := apiClient.SkusApi.GETStockItemIdSku(context.Background(), stockItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkusApiService GETStockLineItemIdSku", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLineItemId interface{} - - httpRes, err := apiClient.SkusApi.GETStockLineItemIdSku(context.Background(), stockLineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkusApiService GETStockReservationIdSku", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockReservationId interface{} - - httpRes, err := apiClient.SkusApi.GETStockReservationIdSku(context.Background(), stockReservationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkusApiService GETStockTransferIdSku", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockTransferId interface{} - - httpRes, err := apiClient.SkusApi.GETStockTransferIdSku(context.Background(), stockTransferId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkusApiService GETTaxCategoryIdSku", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxCategoryId interface{} - - httpRes, err := apiClient.SkusApi.GETTaxCategoryIdSku(context.Background(), taxCategoryId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkusApiService PATCHSkusSkuId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - resp, httpRes, err := apiClient.SkusApi.PATCHSkusSkuId(context.Background(), skuId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SkusApiService POSTSkus", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.SkusApi.POSTSkus(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_stock_items_test.go b/api/test/api_stock_items_test.go deleted file mode 100644 index 65c2dfc9c..000000000 --- a/api/test/api_stock_items_test.go +++ /dev/null @@ -1,155 +0,0 @@ -/* -Commerce Layer API - -Testing StockItemsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_StockItemsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test StockItemsApiService DELETEStockItemsStockItemId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockItemId interface{} - - httpRes, err := apiClient.StockItemsApi.DELETEStockItemsStockItemId(context.Background(), stockItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockItemsApiService GETReservedStockIdStockItem", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var reservedStockId interface{} - - httpRes, err := apiClient.StockItemsApi.GETReservedStockIdStockItem(context.Background(), reservedStockId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockItemsApiService GETSkuIdStockItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.StockItemsApi.GETSkuIdStockItems(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockItemsApiService GETStockItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.StockItemsApi.GETStockItems(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockItemsApiService GETStockItemsStockItemId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockItemId interface{} - - resp, httpRes, err := apiClient.StockItemsApi.GETStockItemsStockItemId(context.Background(), stockItemId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockItemsApiService GETStockLineItemIdStockItem", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLineItemId interface{} - - httpRes, err := apiClient.StockItemsApi.GETStockLineItemIdStockItem(context.Background(), stockLineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockItemsApiService GETStockLocationIdStockItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLocationId interface{} - - httpRes, err := apiClient.StockItemsApi.GETStockLocationIdStockItems(context.Background(), stockLocationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockItemsApiService GETStockReservationIdStockItem", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockReservationId interface{} - - httpRes, err := apiClient.StockItemsApi.GETStockReservationIdStockItem(context.Background(), stockReservationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockItemsApiService PATCHStockItemsStockItemId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockItemId interface{} - - resp, httpRes, err := apiClient.StockItemsApi.PATCHStockItemsStockItemId(context.Background(), stockItemId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockItemsApiService POSTStockItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.StockItemsApi.POSTStockItems(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_stock_line_items_test.go b/api/test/api_stock_line_items_test.go deleted file mode 100644 index e14ed10ea..000000000 --- a/api/test/api_stock_line_items_test.go +++ /dev/null @@ -1,155 +0,0 @@ -/* -Commerce Layer API - -Testing StockLineItemsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_StockLineItemsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test StockLineItemsApiService DELETEStockLineItemsStockLineItemId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLineItemId interface{} - - httpRes, err := apiClient.StockLineItemsApi.DELETEStockLineItemsStockLineItemId(context.Background(), stockLineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockLineItemsApiService GETLineItemIdStockLineItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var lineItemId interface{} - - httpRes, err := apiClient.StockLineItemsApi.GETLineItemIdStockLineItems(context.Background(), lineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockLineItemsApiService GETOrderIdStockLineItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.StockLineItemsApi.GETOrderIdStockLineItems(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockLineItemsApiService GETParcelLineItemIdStockLineItem", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var parcelLineItemId interface{} - - httpRes, err := apiClient.StockLineItemsApi.GETParcelLineItemIdStockLineItem(context.Background(), parcelLineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockLineItemsApiService GETShipmentIdStockLineItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.StockLineItemsApi.GETShipmentIdStockLineItems(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockLineItemsApiService GETStockLineItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.StockLineItemsApi.GETStockLineItems(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockLineItemsApiService GETStockLineItemsStockLineItemId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLineItemId interface{} - - resp, httpRes, err := apiClient.StockLineItemsApi.GETStockLineItemsStockLineItemId(context.Background(), stockLineItemId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockLineItemsApiService GETStockReservationIdStockLineItem", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockReservationId interface{} - - httpRes, err := apiClient.StockLineItemsApi.GETStockReservationIdStockLineItem(context.Background(), stockReservationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockLineItemsApiService PATCHStockLineItemsStockLineItemId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLineItemId interface{} - - resp, httpRes, err := apiClient.StockLineItemsApi.PATCHStockLineItemsStockLineItemId(context.Background(), stockLineItemId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockLineItemsApiService POSTStockLineItems", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.StockLineItemsApi.POSTStockLineItems(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_stock_locations_test.go b/api/test/api_stock_locations_test.go deleted file mode 100644 index 06918cac3..000000000 --- a/api/test/api_stock_locations_test.go +++ /dev/null @@ -1,246 +0,0 @@ -/* -Commerce Layer API - -Testing StockLocationsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_StockLocationsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test StockLocationsApiService DELETEStockLocationsStockLocationId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLocationId interface{} - - httpRes, err := apiClient.StockLocationsApi.DELETEStockLocationsStockLocationId(context.Background(), stockLocationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockLocationsApiService GETDeliveryLeadTimeIdStockLocation", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var deliveryLeadTimeId interface{} - - httpRes, err := apiClient.StockLocationsApi.GETDeliveryLeadTimeIdStockLocation(context.Background(), deliveryLeadTimeId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockLocationsApiService GETInventoryReturnLocationIdStockLocation", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inventoryReturnLocationId interface{} - - httpRes, err := apiClient.StockLocationsApi.GETInventoryReturnLocationIdStockLocation(context.Background(), inventoryReturnLocationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockLocationsApiService GETInventoryStockLocationIdStockLocation", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inventoryStockLocationId interface{} - - httpRes, err := apiClient.StockLocationsApi.GETInventoryStockLocationIdStockLocation(context.Background(), inventoryStockLocationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockLocationsApiService GETPackageIdStockLocation", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var packageId interface{} - - httpRes, err := apiClient.StockLocationsApi.GETPackageIdStockLocation(context.Background(), packageId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockLocationsApiService GETPriceIdJwtStockLocations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceId interface{} - - httpRes, err := apiClient.StockLocationsApi.GETPriceIdJwtStockLocations(context.Background(), priceId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockLocationsApiService GETReturnIdStockLocation", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnId interface{} - - httpRes, err := apiClient.StockLocationsApi.GETReturnIdStockLocation(context.Background(), returnId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockLocationsApiService GETShipmentIdStockLocation", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.StockLocationsApi.GETShipmentIdStockLocation(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockLocationsApiService GETShippingMethodIdStockLocation", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingMethodId interface{} - - httpRes, err := apiClient.StockLocationsApi.GETShippingMethodIdStockLocation(context.Background(), shippingMethodId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockLocationsApiService GETSkuIdJwtStockLocations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.StockLocationsApi.GETSkuIdJwtStockLocations(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockLocationsApiService GETStockItemIdStockLocation", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockItemId interface{} - - httpRes, err := apiClient.StockLocationsApi.GETStockItemIdStockLocation(context.Background(), stockItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockLocationsApiService GETStockLocations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.StockLocationsApi.GETStockLocations(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockLocationsApiService GETStockLocationsStockLocationId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLocationId interface{} - - resp, httpRes, err := apiClient.StockLocationsApi.GETStockLocationsStockLocationId(context.Background(), stockLocationId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockLocationsApiService GETStockTransferIdDestinationStockLocation", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockTransferId interface{} - - httpRes, err := apiClient.StockLocationsApi.GETStockTransferIdDestinationStockLocation(context.Background(), stockTransferId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockLocationsApiService GETStockTransferIdOriginStockLocation", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockTransferId interface{} - - httpRes, err := apiClient.StockLocationsApi.GETStockTransferIdOriginStockLocation(context.Background(), stockTransferId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockLocationsApiService PATCHStockLocationsStockLocationId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLocationId interface{} - - resp, httpRes, err := apiClient.StockLocationsApi.PATCHStockLocationsStockLocationId(context.Background(), stockLocationId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockLocationsApiService POSTStockLocations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.StockLocationsApi.POSTStockLocations(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_stock_reservations_test.go b/api/test/api_stock_reservations_test.go deleted file mode 100644 index ea1520c97..000000000 --- a/api/test/api_stock_reservations_test.go +++ /dev/null @@ -1,181 +0,0 @@ -/* -Commerce Layer API - -Testing StockReservationsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_StockReservationsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test StockReservationsApiService DELETEStockReservationsStockReservationId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockReservationId interface{} - - httpRes, err := apiClient.StockReservationsApi.DELETEStockReservationsStockReservationId(context.Background(), stockReservationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockReservationsApiService GETLineItemIdStockReservations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var lineItemId interface{} - - httpRes, err := apiClient.StockReservationsApi.GETLineItemIdStockReservations(context.Background(), lineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockReservationsApiService GETOrderIdStockReservations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.StockReservationsApi.GETOrderIdStockReservations(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockReservationsApiService GETReservedStockIdStockReservations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var reservedStockId interface{} - - httpRes, err := apiClient.StockReservationsApi.GETReservedStockIdStockReservations(context.Background(), reservedStockId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockReservationsApiService GETSkuIdStockReservations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.StockReservationsApi.GETSkuIdStockReservations(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockReservationsApiService GETStockItemIdStockReservations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockItemId interface{} - - httpRes, err := apiClient.StockReservationsApi.GETStockItemIdStockReservations(context.Background(), stockItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockReservationsApiService GETStockLineItemIdStockReservation", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLineItemId interface{} - - httpRes, err := apiClient.StockReservationsApi.GETStockLineItemIdStockReservation(context.Background(), stockLineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockReservationsApiService GETStockReservations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.StockReservationsApi.GETStockReservations(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockReservationsApiService GETStockReservationsStockReservationId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockReservationId interface{} - - resp, httpRes, err := apiClient.StockReservationsApi.GETStockReservationsStockReservationId(context.Background(), stockReservationId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockReservationsApiService GETStockTransferIdStockReservation", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockTransferId interface{} - - httpRes, err := apiClient.StockReservationsApi.GETStockTransferIdStockReservation(context.Background(), stockTransferId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockReservationsApiService PATCHStockReservationsStockReservationId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockReservationId interface{} - - resp, httpRes, err := apiClient.StockReservationsApi.PATCHStockReservationsStockReservationId(context.Background(), stockReservationId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockReservationsApiService POSTStockReservations", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.StockReservationsApi.POSTStockReservations(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_stock_transfers_test.go b/api/test/api_stock_transfers_test.go deleted file mode 100644 index bb2c195ad..000000000 --- a/api/test/api_stock_transfers_test.go +++ /dev/null @@ -1,155 +0,0 @@ -/* -Commerce Layer API - -Testing StockTransfersApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_StockTransfersApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test StockTransfersApiService DELETEStockTransfersStockTransferId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockTransferId interface{} - - httpRes, err := apiClient.StockTransfersApi.DELETEStockTransfersStockTransferId(context.Background(), stockTransferId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockTransfersApiService GETLineItemIdStockTransfers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var lineItemId interface{} - - httpRes, err := apiClient.StockTransfersApi.GETLineItemIdStockTransfers(context.Background(), lineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockTransfersApiService GETOrderIdStockTransfers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.StockTransfersApi.GETOrderIdStockTransfers(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockTransfersApiService GETShipmentIdStockTransfers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.StockTransfersApi.GETShipmentIdStockTransfers(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockTransfersApiService GETStockLocationIdStockTransfers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLocationId interface{} - - httpRes, err := apiClient.StockTransfersApi.GETStockLocationIdStockTransfers(context.Background(), stockLocationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockTransfersApiService GETStockReservationIdStockTransfer", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockReservationId interface{} - - httpRes, err := apiClient.StockTransfersApi.GETStockReservationIdStockTransfer(context.Background(), stockReservationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockTransfersApiService GETStockTransfers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.StockTransfersApi.GETStockTransfers(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockTransfersApiService GETStockTransfersStockTransferId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockTransferId interface{} - - resp, httpRes, err := apiClient.StockTransfersApi.GETStockTransfersStockTransferId(context.Background(), stockTransferId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockTransfersApiService PATCHStockTransfersStockTransferId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockTransferId interface{} - - resp, httpRes, err := apiClient.StockTransfersApi.PATCHStockTransfersStockTransferId(context.Background(), stockTransferId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StockTransfersApiService POSTStockTransfers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.StockTransfersApi.POSTStockTransfers(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_stripe_gateways_test.go b/api/test/api_stripe_gateways_test.go deleted file mode 100644 index 96c204ced..000000000 --- a/api/test/api_stripe_gateways_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing StripeGatewaysApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_StripeGatewaysApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test StripeGatewaysApiService DELETEStripeGatewaysStripeGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stripeGatewayId interface{} - - httpRes, err := apiClient.StripeGatewaysApi.DELETEStripeGatewaysStripeGatewayId(context.Background(), stripeGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StripeGatewaysApiService GETStripeGateways", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.StripeGatewaysApi.GETStripeGateways(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StripeGatewaysApiService GETStripeGatewaysStripeGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stripeGatewayId interface{} - - resp, httpRes, err := apiClient.StripeGatewaysApi.GETStripeGatewaysStripeGatewayId(context.Background(), stripeGatewayId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StripeGatewaysApiService PATCHStripeGatewaysStripeGatewayId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stripeGatewayId interface{} - - resp, httpRes, err := apiClient.StripeGatewaysApi.PATCHStripeGatewaysStripeGatewayId(context.Background(), stripeGatewayId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StripeGatewaysApiService POSTStripeGateways", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.StripeGatewaysApi.POSTStripeGateways(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_stripe_payments_test.go b/api/test/api_stripe_payments_test.go deleted file mode 100644 index 4eadaf4d0..000000000 --- a/api/test/api_stripe_payments_test.go +++ /dev/null @@ -1,103 +0,0 @@ -/* -Commerce Layer API - -Testing StripePaymentsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_StripePaymentsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test StripePaymentsApiService DELETEStripePaymentsStripePaymentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stripePaymentId interface{} - - httpRes, err := apiClient.StripePaymentsApi.DELETEStripePaymentsStripePaymentId(context.Background(), stripePaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StripePaymentsApiService GETStripeGatewayIdStripePayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stripeGatewayId interface{} - - httpRes, err := apiClient.StripePaymentsApi.GETStripeGatewayIdStripePayments(context.Background(), stripeGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StripePaymentsApiService GETStripePayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.StripePaymentsApi.GETStripePayments(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StripePaymentsApiService GETStripePaymentsStripePaymentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stripePaymentId interface{} - - resp, httpRes, err := apiClient.StripePaymentsApi.GETStripePaymentsStripePaymentId(context.Background(), stripePaymentId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StripePaymentsApiService PATCHStripePaymentsStripePaymentId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stripePaymentId interface{} - - resp, httpRes, err := apiClient.StripePaymentsApi.PATCHStripePaymentsStripePaymentId(context.Background(), stripePaymentId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test StripePaymentsApiService POSTStripePayments", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.StripePaymentsApi.POSTStripePayments(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_subscription_models_test.go b/api/test/api_subscription_models_test.go deleted file mode 100644 index 168c798bc..000000000 --- a/api/test/api_subscription_models_test.go +++ /dev/null @@ -1,116 +0,0 @@ -/* -Commerce Layer API - -Testing SubscriptionModelsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_SubscriptionModelsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test SubscriptionModelsApiService DELETESubscriptionModelsSubscriptionModelId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var subscriptionModelId interface{} - - httpRes, err := apiClient.SubscriptionModelsApi.DELETESubscriptionModelsSubscriptionModelId(context.Background(), subscriptionModelId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SubscriptionModelsApiService GETMarketIdSubscriptionModel", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var marketId interface{} - - httpRes, err := apiClient.SubscriptionModelsApi.GETMarketIdSubscriptionModel(context.Background(), marketId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SubscriptionModelsApiService GETOrderSubscriptionIdSubscriptionModel", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionId interface{} - - httpRes, err := apiClient.SubscriptionModelsApi.GETOrderSubscriptionIdSubscriptionModel(context.Background(), orderSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SubscriptionModelsApiService GETSubscriptionModels", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.SubscriptionModelsApi.GETSubscriptionModels(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SubscriptionModelsApiService GETSubscriptionModelsSubscriptionModelId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var subscriptionModelId interface{} - - resp, httpRes, err := apiClient.SubscriptionModelsApi.GETSubscriptionModelsSubscriptionModelId(context.Background(), subscriptionModelId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SubscriptionModelsApiService PATCHSubscriptionModelsSubscriptionModelId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var subscriptionModelId interface{} - - resp, httpRes, err := apiClient.SubscriptionModelsApi.PATCHSubscriptionModelsSubscriptionModelId(context.Background(), subscriptionModelId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test SubscriptionModelsApiService POSTSubscriptionModels", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.SubscriptionModelsApi.POSTSubscriptionModels(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_tags_test.go b/api/test/api_tags_test.go deleted file mode 100644 index 262cf00ff..000000000 --- a/api/test/api_tags_test.go +++ /dev/null @@ -1,376 +0,0 @@ -/* -Commerce Layer API - -Testing TagsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_TagsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test TagsApiService DELETETagsTagId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var tagId interface{} - - httpRes, err := apiClient.TagsApi.DELETETagsTagId(context.Background(), tagId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TagsApiService GETAddressIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var addressId interface{} - - httpRes, err := apiClient.TagsApi.GETAddressIdTags(context.Background(), addressId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TagsApiService GETBundleIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var bundleId interface{} - - httpRes, err := apiClient.TagsApi.GETBundleIdTags(context.Background(), bundleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TagsApiService GETBuyXPayYPromotionIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var buyXPayYPromotionId interface{} - - httpRes, err := apiClient.TagsApi.GETBuyXPayYPromotionIdTags(context.Background(), buyXPayYPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TagsApiService GETCouponIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var couponId interface{} - - httpRes, err := apiClient.TagsApi.GETCouponIdTags(context.Background(), couponId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TagsApiService GETCustomerIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerId interface{} - - httpRes, err := apiClient.TagsApi.GETCustomerIdTags(context.Background(), customerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TagsApiService GETExternalPromotionIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPromotionId interface{} - - httpRes, err := apiClient.TagsApi.GETExternalPromotionIdTags(context.Background(), externalPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TagsApiService GETFixedAmountPromotionIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedAmountPromotionId interface{} - - httpRes, err := apiClient.TagsApi.GETFixedAmountPromotionIdTags(context.Background(), fixedAmountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TagsApiService GETFixedPricePromotionIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedPricePromotionId interface{} - - httpRes, err := apiClient.TagsApi.GETFixedPricePromotionIdTags(context.Background(), fixedPricePromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TagsApiService GETFlexPromotionIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var flexPromotionId interface{} - - httpRes, err := apiClient.TagsApi.GETFlexPromotionIdTags(context.Background(), flexPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TagsApiService GETFreeGiftPromotionIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeGiftPromotionId interface{} - - httpRes, err := apiClient.TagsApi.GETFreeGiftPromotionIdTags(context.Background(), freeGiftPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TagsApiService GETFreeShippingPromotionIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeShippingPromotionId interface{} - - httpRes, err := apiClient.TagsApi.GETFreeShippingPromotionIdTags(context.Background(), freeShippingPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TagsApiService GETGiftCardIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var giftCardId interface{} - - httpRes, err := apiClient.TagsApi.GETGiftCardIdTags(context.Background(), giftCardId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TagsApiService GETLineItemIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var lineItemId interface{} - - httpRes, err := apiClient.TagsApi.GETLineItemIdTags(context.Background(), lineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TagsApiService GETLineItemOptionIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var lineItemOptionId interface{} - - httpRes, err := apiClient.TagsApi.GETLineItemOptionIdTags(context.Background(), lineItemOptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TagsApiService GETOrderIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.TagsApi.GETOrderIdTags(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TagsApiService GETOrderSubscriptionIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionId interface{} - - httpRes, err := apiClient.TagsApi.GETOrderSubscriptionIdTags(context.Background(), orderSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TagsApiService GETPercentageDiscountPromotionIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var percentageDiscountPromotionId interface{} - - httpRes, err := apiClient.TagsApi.GETPercentageDiscountPromotionIdTags(context.Background(), percentageDiscountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TagsApiService GETPromotionIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var promotionId interface{} - - httpRes, err := apiClient.TagsApi.GETPromotionIdTags(context.Background(), promotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TagsApiService GETReturnIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnId interface{} - - httpRes, err := apiClient.TagsApi.GETReturnIdTags(context.Background(), returnId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TagsApiService GETShipmentIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.TagsApi.GETShipmentIdTags(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TagsApiService GETSkuIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.TagsApi.GETSkuIdTags(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TagsApiService GETSkuOptionIdTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuOptionId interface{} - - httpRes, err := apiClient.TagsApi.GETSkuOptionIdTags(context.Background(), skuOptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TagsApiService GETTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.TagsApi.GETTags(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TagsApiService GETTagsTagId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var tagId interface{} - - resp, httpRes, err := apiClient.TagsApi.GETTagsTagId(context.Background(), tagId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TagsApiService PATCHTagsTagId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var tagId interface{} - - resp, httpRes, err := apiClient.TagsApi.PATCHTagsTagId(context.Background(), tagId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TagsApiService POSTTags", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.TagsApi.POSTTags(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_tax_calculators_test.go b/api/test/api_tax_calculators_test.go deleted file mode 100644 index 00bdcccfd..000000000 --- a/api/test/api_tax_calculators_test.go +++ /dev/null @@ -1,64 +0,0 @@ -/* -Commerce Layer API - -Testing TaxCalculatorsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_TaxCalculatorsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test TaxCalculatorsApiService GETMarketIdTaxCalculator", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var marketId interface{} - - httpRes, err := apiClient.TaxCalculatorsApi.GETMarketIdTaxCalculator(context.Background(), marketId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TaxCalculatorsApiService GETTaxCalculators", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.TaxCalculatorsApi.GETTaxCalculators(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TaxCalculatorsApiService GETTaxCalculatorsTaxCalculatorId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxCalculatorId interface{} - - resp, httpRes, err := apiClient.TaxCalculatorsApi.GETTaxCalculatorsTaxCalculatorId(context.Background(), taxCalculatorId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_tax_categories_test.go b/api/test/api_tax_categories_test.go deleted file mode 100644 index f2e0eec22..000000000 --- a/api/test/api_tax_categories_test.go +++ /dev/null @@ -1,116 +0,0 @@ -/* -Commerce Layer API - -Testing TaxCategoriesApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_TaxCategoriesApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test TaxCategoriesApiService DELETETaxCategoriesTaxCategoryId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxCategoryId interface{} - - httpRes, err := apiClient.TaxCategoriesApi.DELETETaxCategoriesTaxCategoryId(context.Background(), taxCategoryId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TaxCategoriesApiService GETAvalaraAccountIdTaxCategories", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var avalaraAccountId interface{} - - httpRes, err := apiClient.TaxCategoriesApi.GETAvalaraAccountIdTaxCategories(context.Background(), avalaraAccountId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TaxCategoriesApiService GETTaxCategories", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.TaxCategoriesApi.GETTaxCategories(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TaxCategoriesApiService GETTaxCategoriesTaxCategoryId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxCategoryId interface{} - - resp, httpRes, err := apiClient.TaxCategoriesApi.GETTaxCategoriesTaxCategoryId(context.Background(), taxCategoryId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TaxCategoriesApiService GETTaxjarAccountIdTaxCategories", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxjarAccountId interface{} - - httpRes, err := apiClient.TaxCategoriesApi.GETTaxjarAccountIdTaxCategories(context.Background(), taxjarAccountId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TaxCategoriesApiService PATCHTaxCategoriesTaxCategoryId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxCategoryId interface{} - - resp, httpRes, err := apiClient.TaxCategoriesApi.PATCHTaxCategoriesTaxCategoryId(context.Background(), taxCategoryId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TaxCategoriesApiService POSTTaxCategories", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.TaxCategoriesApi.POSTTaxCategories(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_tax_rules_test.go b/api/test/api_tax_rules_test.go deleted file mode 100644 index d5060b804..000000000 --- a/api/test/api_tax_rules_test.go +++ /dev/null @@ -1,103 +0,0 @@ -/* -Commerce Layer API - -Testing TaxRulesApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_TaxRulesApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test TaxRulesApiService DELETETaxRulesTaxRuleId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxRuleId interface{} - - httpRes, err := apiClient.TaxRulesApi.DELETETaxRulesTaxRuleId(context.Background(), taxRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TaxRulesApiService GETManualTaxCalculatorIdTaxRules", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var manualTaxCalculatorId interface{} - - httpRes, err := apiClient.TaxRulesApi.GETManualTaxCalculatorIdTaxRules(context.Background(), manualTaxCalculatorId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TaxRulesApiService GETTaxRules", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.TaxRulesApi.GETTaxRules(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TaxRulesApiService GETTaxRulesTaxRuleId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxRuleId interface{} - - resp, httpRes, err := apiClient.TaxRulesApi.GETTaxRulesTaxRuleId(context.Background(), taxRuleId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TaxRulesApiService PATCHTaxRulesTaxRuleId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxRuleId interface{} - - resp, httpRes, err := apiClient.TaxRulesApi.PATCHTaxRulesTaxRuleId(context.Background(), taxRuleId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TaxRulesApiService POSTTaxRules", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.TaxRulesApi.POSTTaxRules(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_taxjar_accounts_test.go b/api/test/api_taxjar_accounts_test.go deleted file mode 100644 index cfc9d9779..000000000 --- a/api/test/api_taxjar_accounts_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing TaxjarAccountsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_TaxjarAccountsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test TaxjarAccountsApiService DELETETaxjarAccountsTaxjarAccountId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxjarAccountId interface{} - - httpRes, err := apiClient.TaxjarAccountsApi.DELETETaxjarAccountsTaxjarAccountId(context.Background(), taxjarAccountId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TaxjarAccountsApiService GETTaxjarAccounts", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.TaxjarAccountsApi.GETTaxjarAccounts(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TaxjarAccountsApiService GETTaxjarAccountsTaxjarAccountId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxjarAccountId interface{} - - resp, httpRes, err := apiClient.TaxjarAccountsApi.GETTaxjarAccountsTaxjarAccountId(context.Background(), taxjarAccountId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TaxjarAccountsApiService PATCHTaxjarAccountsTaxjarAccountId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxjarAccountId interface{} - - resp, httpRes, err := apiClient.TaxjarAccountsApi.PATCHTaxjarAccountsTaxjarAccountId(context.Background(), taxjarAccountId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TaxjarAccountsApiService POSTTaxjarAccounts", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.TaxjarAccountsApi.POSTTaxjarAccounts(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_transactions_test.go b/api/test/api_transactions_test.go deleted file mode 100644 index 7f72b07af..000000000 --- a/api/test/api_transactions_test.go +++ /dev/null @@ -1,51 +0,0 @@ -/* -Commerce Layer API - -Testing TransactionsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_TransactionsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test TransactionsApiService GETTransactions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.TransactionsApi.GETTransactions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test TransactionsApiService GETTransactionsTransactionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var transactionId interface{} - - resp, httpRes, err := apiClient.TransactionsApi.GETTransactionsTransactionId(context.Background(), transactionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_versions_test.go b/api/test/api_versions_test.go deleted file mode 100644 index f903ff323..000000000 --- a/api/test/api_versions_test.go +++ /dev/null @@ -1,1312 +0,0 @@ -/* -Commerce Layer API - -Testing VersionsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_VersionsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test VersionsApiService GETAddressIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var addressId interface{} - - httpRes, err := apiClient.VersionsApi.GETAddressIdVersions(context.Background(), addressId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETAdjustmentIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var adjustmentId interface{} - - httpRes, err := apiClient.VersionsApi.GETAdjustmentIdVersions(context.Background(), adjustmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETAdyenGatewayIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var adyenGatewayId interface{} - - httpRes, err := apiClient.VersionsApi.GETAdyenGatewayIdVersions(context.Background(), adyenGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETAdyenPaymentIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var adyenPaymentId interface{} - - httpRes, err := apiClient.VersionsApi.GETAdyenPaymentIdVersions(context.Background(), adyenPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETAuthorizationIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var authorizationId interface{} - - httpRes, err := apiClient.VersionsApi.GETAuthorizationIdVersions(context.Background(), authorizationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETAvalaraAccountIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var avalaraAccountId interface{} - - httpRes, err := apiClient.VersionsApi.GETAvalaraAccountIdVersions(context.Background(), avalaraAccountId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETAxerveGatewayIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var axerveGatewayId interface{} - - httpRes, err := apiClient.VersionsApi.GETAxerveGatewayIdVersions(context.Background(), axerveGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETAxervePaymentIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var axervePaymentId interface{} - - httpRes, err := apiClient.VersionsApi.GETAxervePaymentIdVersions(context.Background(), axervePaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETBillingInfoValidationRuleIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var billingInfoValidationRuleId interface{} - - httpRes, err := apiClient.VersionsApi.GETBillingInfoValidationRuleIdVersions(context.Background(), billingInfoValidationRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETBraintreeGatewayIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var braintreeGatewayId interface{} - - httpRes, err := apiClient.VersionsApi.GETBraintreeGatewayIdVersions(context.Background(), braintreeGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETBraintreePaymentIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var braintreePaymentId interface{} - - httpRes, err := apiClient.VersionsApi.GETBraintreePaymentIdVersions(context.Background(), braintreePaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETBundleIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var bundleId interface{} - - httpRes, err := apiClient.VersionsApi.GETBundleIdVersions(context.Background(), bundleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETBuyXPayYPromotionIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var buyXPayYPromotionId interface{} - - httpRes, err := apiClient.VersionsApi.GETBuyXPayYPromotionIdVersions(context.Background(), buyXPayYPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETCaptureIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var captureId interface{} - - httpRes, err := apiClient.VersionsApi.GETCaptureIdVersions(context.Background(), captureId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETCarrierAccountIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var carrierAccountId interface{} - - httpRes, err := apiClient.VersionsApi.GETCarrierAccountIdVersions(context.Background(), carrierAccountId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETCheckoutComGatewayIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var checkoutComGatewayId interface{} - - httpRes, err := apiClient.VersionsApi.GETCheckoutComGatewayIdVersions(context.Background(), checkoutComGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETCheckoutComPaymentIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var checkoutComPaymentId interface{} - - httpRes, err := apiClient.VersionsApi.GETCheckoutComPaymentIdVersions(context.Background(), checkoutComPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETCleanupIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var cleanupId interface{} - - httpRes, err := apiClient.VersionsApi.GETCleanupIdVersions(context.Background(), cleanupId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETCouponCodesPromotionRuleIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var couponCodesPromotionRuleId interface{} - - httpRes, err := apiClient.VersionsApi.GETCouponCodesPromotionRuleIdVersions(context.Background(), couponCodesPromotionRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETCouponIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var couponId interface{} - - httpRes, err := apiClient.VersionsApi.GETCouponIdVersions(context.Background(), couponId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETCouponRecipientIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var couponRecipientId interface{} - - httpRes, err := apiClient.VersionsApi.GETCouponRecipientIdVersions(context.Background(), couponRecipientId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETCustomPromotionRuleIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customPromotionRuleId interface{} - - httpRes, err := apiClient.VersionsApi.GETCustomPromotionRuleIdVersions(context.Background(), customPromotionRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETCustomerAddressIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerAddressId interface{} - - httpRes, err := apiClient.VersionsApi.GETCustomerAddressIdVersions(context.Background(), customerAddressId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETCustomerGroupIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerGroupId interface{} - - httpRes, err := apiClient.VersionsApi.GETCustomerGroupIdVersions(context.Background(), customerGroupId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETCustomerPaymentSourceIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerPaymentSourceId interface{} - - httpRes, err := apiClient.VersionsApi.GETCustomerPaymentSourceIdVersions(context.Background(), customerPaymentSourceId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETCustomerSubscriptionIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var customerSubscriptionId interface{} - - httpRes, err := apiClient.VersionsApi.GETCustomerSubscriptionIdVersions(context.Background(), customerSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETDeliveryLeadTimeIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var deliveryLeadTimeId interface{} - - httpRes, err := apiClient.VersionsApi.GETDeliveryLeadTimeIdVersions(context.Background(), deliveryLeadTimeId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETExternalGatewayIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalGatewayId interface{} - - httpRes, err := apiClient.VersionsApi.GETExternalGatewayIdVersions(context.Background(), externalGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETExternalPaymentIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPaymentId interface{} - - httpRes, err := apiClient.VersionsApi.GETExternalPaymentIdVersions(context.Background(), externalPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETExternalPromotionIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalPromotionId interface{} - - httpRes, err := apiClient.VersionsApi.GETExternalPromotionIdVersions(context.Background(), externalPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETExternalTaxCalculatorIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var externalTaxCalculatorId interface{} - - httpRes, err := apiClient.VersionsApi.GETExternalTaxCalculatorIdVersions(context.Background(), externalTaxCalculatorId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETFixedAmountPromotionIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedAmountPromotionId interface{} - - httpRes, err := apiClient.VersionsApi.GETFixedAmountPromotionIdVersions(context.Background(), fixedAmountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETFixedPricePromotionIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var fixedPricePromotionId interface{} - - httpRes, err := apiClient.VersionsApi.GETFixedPricePromotionIdVersions(context.Background(), fixedPricePromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETFlexPromotionIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var flexPromotionId interface{} - - httpRes, err := apiClient.VersionsApi.GETFlexPromotionIdVersions(context.Background(), flexPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETFreeGiftPromotionIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeGiftPromotionId interface{} - - httpRes, err := apiClient.VersionsApi.GETFreeGiftPromotionIdVersions(context.Background(), freeGiftPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETFreeShippingPromotionIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var freeShippingPromotionId interface{} - - httpRes, err := apiClient.VersionsApi.GETFreeShippingPromotionIdVersions(context.Background(), freeShippingPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETGiftCardIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var giftCardId interface{} - - httpRes, err := apiClient.VersionsApi.GETGiftCardIdVersions(context.Background(), giftCardId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETGiftCardRecipientIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var giftCardRecipientId interface{} - - httpRes, err := apiClient.VersionsApi.GETGiftCardRecipientIdVersions(context.Background(), giftCardRecipientId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETInStockSubscriptionIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inStockSubscriptionId interface{} - - httpRes, err := apiClient.VersionsApi.GETInStockSubscriptionIdVersions(context.Background(), inStockSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETInventoryModelIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inventoryModelId interface{} - - httpRes, err := apiClient.VersionsApi.GETInventoryModelIdVersions(context.Background(), inventoryModelId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETInventoryReturnLocationIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inventoryReturnLocationId interface{} - - httpRes, err := apiClient.VersionsApi.GETInventoryReturnLocationIdVersions(context.Background(), inventoryReturnLocationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETInventoryStockLocationIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var inventoryStockLocationId interface{} - - httpRes, err := apiClient.VersionsApi.GETInventoryStockLocationIdVersions(context.Background(), inventoryStockLocationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETKlarnaGatewayIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var klarnaGatewayId interface{} - - httpRes, err := apiClient.VersionsApi.GETKlarnaGatewayIdVersions(context.Background(), klarnaGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETKlarnaPaymentIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var klarnaPaymentId interface{} - - httpRes, err := apiClient.VersionsApi.GETKlarnaPaymentIdVersions(context.Background(), klarnaPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETManualGatewayIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var manualGatewayId interface{} - - httpRes, err := apiClient.VersionsApi.GETManualGatewayIdVersions(context.Background(), manualGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETManualTaxCalculatorIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var manualTaxCalculatorId interface{} - - httpRes, err := apiClient.VersionsApi.GETManualTaxCalculatorIdVersions(context.Background(), manualTaxCalculatorId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETMarketIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var marketId interface{} - - httpRes, err := apiClient.VersionsApi.GETMarketIdVersions(context.Background(), marketId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETMerchantIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var merchantId interface{} - - httpRes, err := apiClient.VersionsApi.GETMerchantIdVersions(context.Background(), merchantId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETOrderAmountPromotionRuleIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderAmountPromotionRuleId interface{} - - httpRes, err := apiClient.VersionsApi.GETOrderAmountPromotionRuleIdVersions(context.Background(), orderAmountPromotionRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETOrderIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.VersionsApi.GETOrderIdVersions(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETOrderSubscriptionIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderSubscriptionId interface{} - - httpRes, err := apiClient.VersionsApi.GETOrderSubscriptionIdVersions(context.Background(), orderSubscriptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETPackageIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var packageId interface{} - - httpRes, err := apiClient.VersionsApi.GETPackageIdVersions(context.Background(), packageId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETParcelIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var parcelId interface{} - - httpRes, err := apiClient.VersionsApi.GETParcelIdVersions(context.Background(), parcelId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETParcelLineItemIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var parcelLineItemId interface{} - - httpRes, err := apiClient.VersionsApi.GETParcelLineItemIdVersions(context.Background(), parcelLineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETPaymentGatewayIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paymentGatewayId interface{} - - httpRes, err := apiClient.VersionsApi.GETPaymentGatewayIdVersions(context.Background(), paymentGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETPaymentMethodIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paymentMethodId interface{} - - httpRes, err := apiClient.VersionsApi.GETPaymentMethodIdVersions(context.Background(), paymentMethodId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETPaypalGatewayIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paypalGatewayId interface{} - - httpRes, err := apiClient.VersionsApi.GETPaypalGatewayIdVersions(context.Background(), paypalGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETPaypalPaymentIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var paypalPaymentId interface{} - - httpRes, err := apiClient.VersionsApi.GETPaypalPaymentIdVersions(context.Background(), paypalPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETPercentageDiscountPromotionIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var percentageDiscountPromotionId interface{} - - httpRes, err := apiClient.VersionsApi.GETPercentageDiscountPromotionIdVersions(context.Background(), percentageDiscountPromotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETPriceFrequencyTierIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceFrequencyTierId interface{} - - httpRes, err := apiClient.VersionsApi.GETPriceFrequencyTierIdVersions(context.Background(), priceFrequencyTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETPriceIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceId interface{} - - httpRes, err := apiClient.VersionsApi.GETPriceIdVersions(context.Background(), priceId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETPriceListIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceListId interface{} - - httpRes, err := apiClient.VersionsApi.GETPriceListIdVersions(context.Background(), priceListId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETPriceListSchedulerIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceListSchedulerId interface{} - - httpRes, err := apiClient.VersionsApi.GETPriceListSchedulerIdVersions(context.Background(), priceListSchedulerId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETPriceTierIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceTierId interface{} - - httpRes, err := apiClient.VersionsApi.GETPriceTierIdVersions(context.Background(), priceTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETPriceVolumeTierIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var priceVolumeTierId interface{} - - httpRes, err := apiClient.VersionsApi.GETPriceVolumeTierIdVersions(context.Background(), priceVolumeTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETPromotionIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var promotionId interface{} - - httpRes, err := apiClient.VersionsApi.GETPromotionIdVersions(context.Background(), promotionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETPromotionRuleIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var promotionRuleId interface{} - - httpRes, err := apiClient.VersionsApi.GETPromotionRuleIdVersions(context.Background(), promotionRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETRefundIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var refundId interface{} - - httpRes, err := apiClient.VersionsApi.GETRefundIdVersions(context.Background(), refundId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETReservedStockIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var reservedStockId interface{} - - httpRes, err := apiClient.VersionsApi.GETReservedStockIdVersions(context.Background(), reservedStockId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETReturnIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var returnId interface{} - - httpRes, err := apiClient.VersionsApi.GETReturnIdVersions(context.Background(), returnId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETSatispayGatewayIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var satispayGatewayId interface{} - - httpRes, err := apiClient.VersionsApi.GETSatispayGatewayIdVersions(context.Background(), satispayGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETSatispayPaymentIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var satispayPaymentId interface{} - - httpRes, err := apiClient.VersionsApi.GETSatispayPaymentIdVersions(context.Background(), satispayPaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETShipmentIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shipmentId interface{} - - httpRes, err := apiClient.VersionsApi.GETShipmentIdVersions(context.Background(), shipmentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETShippingCategoryIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingCategoryId interface{} - - httpRes, err := apiClient.VersionsApi.GETShippingCategoryIdVersions(context.Background(), shippingCategoryId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETShippingMethodIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingMethodId interface{} - - httpRes, err := apiClient.VersionsApi.GETShippingMethodIdVersions(context.Background(), shippingMethodId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETShippingMethodTierIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingMethodTierId interface{} - - httpRes, err := apiClient.VersionsApi.GETShippingMethodTierIdVersions(context.Background(), shippingMethodTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETShippingWeightTierIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingWeightTierId interface{} - - httpRes, err := apiClient.VersionsApi.GETShippingWeightTierIdVersions(context.Background(), shippingWeightTierId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETShippingZoneIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var shippingZoneId interface{} - - httpRes, err := apiClient.VersionsApi.GETShippingZoneIdVersions(context.Background(), shippingZoneId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETSkuIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuId interface{} - - httpRes, err := apiClient.VersionsApi.GETSkuIdVersions(context.Background(), skuId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETSkuListIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListId interface{} - - httpRes, err := apiClient.VersionsApi.GETSkuListIdVersions(context.Background(), skuListId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETSkuListItemIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListItemId interface{} - - httpRes, err := apiClient.VersionsApi.GETSkuListItemIdVersions(context.Background(), skuListItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETSkuListPromotionRuleIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuListPromotionRuleId interface{} - - httpRes, err := apiClient.VersionsApi.GETSkuListPromotionRuleIdVersions(context.Background(), skuListPromotionRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETSkuOptionIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var skuOptionId interface{} - - httpRes, err := apiClient.VersionsApi.GETSkuOptionIdVersions(context.Background(), skuOptionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETStockItemIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockItemId interface{} - - httpRes, err := apiClient.VersionsApi.GETStockItemIdVersions(context.Background(), stockItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETStockLineItemIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLineItemId interface{} - - httpRes, err := apiClient.VersionsApi.GETStockLineItemIdVersions(context.Background(), stockLineItemId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETStockLocationIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockLocationId interface{} - - httpRes, err := apiClient.VersionsApi.GETStockLocationIdVersions(context.Background(), stockLocationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETStockTransferIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stockTransferId interface{} - - httpRes, err := apiClient.VersionsApi.GETStockTransferIdVersions(context.Background(), stockTransferId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETStripeGatewayIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stripeGatewayId interface{} - - httpRes, err := apiClient.VersionsApi.GETStripeGatewayIdVersions(context.Background(), stripeGatewayId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETStripePaymentIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var stripePaymentId interface{} - - httpRes, err := apiClient.VersionsApi.GETStripePaymentIdVersions(context.Background(), stripePaymentId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETTaxCalculatorIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxCalculatorId interface{} - - httpRes, err := apiClient.VersionsApi.GETTaxCalculatorIdVersions(context.Background(), taxCalculatorId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETTaxCategoryIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxCategoryId interface{} - - httpRes, err := apiClient.VersionsApi.GETTaxCategoryIdVersions(context.Background(), taxCategoryId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETTaxRuleIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxRuleId interface{} - - httpRes, err := apiClient.VersionsApi.GETTaxRuleIdVersions(context.Background(), taxRuleId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETTaxjarAccountIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var taxjarAccountId interface{} - - httpRes, err := apiClient.VersionsApi.GETTaxjarAccountIdVersions(context.Background(), taxjarAccountId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETTransactionIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var transactionId interface{} - - httpRes, err := apiClient.VersionsApi.GETTransactionIdVersions(context.Background(), transactionId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.VersionsApi.GETVersions(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETVersionsVersionId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var versionId interface{} - - resp, httpRes, err := apiClient.VersionsApi.GETVersionsVersionId(context.Background(), versionId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETVoidIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var voidId interface{} - - httpRes, err := apiClient.VersionsApi.GETVoidIdVersions(context.Background(), voidId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETWebhookIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var webhookId interface{} - - httpRes, err := apiClient.VersionsApi.GETWebhookIdVersions(context.Background(), webhookId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VersionsApiService GETWireTransferIdVersions", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var wireTransferId interface{} - - httpRes, err := apiClient.VersionsApi.GETWireTransferIdVersions(context.Background(), wireTransferId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_voids_test.go b/api/test/api_voids_test.go deleted file mode 100644 index eab60d9fe..000000000 --- a/api/test/api_voids_test.go +++ /dev/null @@ -1,91 +0,0 @@ -/* -Commerce Layer API - -Testing VoidsApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_VoidsApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test VoidsApiService GETAuthorizationIdVoids", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var authorizationId interface{} - - httpRes, err := apiClient.VoidsApi.GETAuthorizationIdVoids(context.Background(), authorizationId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VoidsApiService GETOrderIdVoids", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var orderId interface{} - - httpRes, err := apiClient.VoidsApi.GETOrderIdVoids(context.Background(), orderId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VoidsApiService GETVoids", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.VoidsApi.GETVoids(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VoidsApiService GETVoidsVoidId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var voidId interface{} - - resp, httpRes, err := apiClient.VoidsApi.GETVoidsVoidId(context.Background(), voidId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test VoidsApiService PATCHVoidsVoidId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var voidId interface{} - - resp, httpRes, err := apiClient.VoidsApi.PATCHVoidsVoidId(context.Background(), voidId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_webhooks_test.go b/api/test/api_webhooks_test.go deleted file mode 100644 index a9f68b98b..000000000 --- a/api/test/api_webhooks_test.go +++ /dev/null @@ -1,116 +0,0 @@ -/* -Commerce Layer API - -Testing WebhooksApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_WebhooksApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test WebhooksApiService DELETEWebhooksWebhookId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var webhookId interface{} - - httpRes, err := apiClient.WebhooksApi.DELETEWebhooksWebhookId(context.Background(), webhookId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test WebhooksApiService GETEventCallbackIdWebhook", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var eventCallbackId interface{} - - httpRes, err := apiClient.WebhooksApi.GETEventCallbackIdWebhook(context.Background(), eventCallbackId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test WebhooksApiService GETEventIdWebhooks", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var eventId interface{} - - httpRes, err := apiClient.WebhooksApi.GETEventIdWebhooks(context.Background(), eventId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test WebhooksApiService GETWebhooks", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.WebhooksApi.GETWebhooks(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test WebhooksApiService GETWebhooksWebhookId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var webhookId interface{} - - resp, httpRes, err := apiClient.WebhooksApi.GETWebhooksWebhookId(context.Background(), webhookId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test WebhooksApiService PATCHWebhooksWebhookId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var webhookId interface{} - - resp, httpRes, err := apiClient.WebhooksApi.PATCHWebhooksWebhookId(context.Background(), webhookId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test WebhooksApiService POSTWebhooks", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.WebhooksApi.POSTWebhooks(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/test/api_wire_transfers_test.go b/api/test/api_wire_transfers_test.go deleted file mode 100644 index 6510172b1..000000000 --- a/api/test/api_wire_transfers_test.go +++ /dev/null @@ -1,90 +0,0 @@ -/* -Commerce Layer API - -Testing WireTransfersApiService - -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); - -package api - -import ( - "context" - openapiclient "github.com/incentro-dc/go-commercelayer-sdk/api" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "testing" -) - -func Test_api_WireTransfersApiService(t *testing.T) { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - - t.Run("Test WireTransfersApiService DELETEWireTransfersWireTransferId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var wireTransferId interface{} - - httpRes, err := apiClient.WireTransfersApi.DELETEWireTransfersWireTransferId(context.Background(), wireTransferId).Execute() - - require.Nil(t, err) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test WireTransfersApiService GETWireTransfers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.WireTransfersApi.GETWireTransfers(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test WireTransfersApiService GETWireTransfersWireTransferId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var wireTransferId interface{} - - resp, httpRes, err := apiClient.WireTransfersApi.GETWireTransfersWireTransferId(context.Background(), wireTransferId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test WireTransfersApiService PATCHWireTransfersWireTransferId", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - var wireTransferId interface{} - - resp, httpRes, err := apiClient.WireTransfersApi.PATCHWireTransfersWireTransferId(context.Background(), wireTransferId).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - - t.Run("Test WireTransfersApiService POSTWireTransfers", func(t *testing.T) { - - t.Skip("skip test") // remove to run test - - resp, httpRes, err := apiClient.WireTransfersApi.POSTWireTransfers(context.Background()).Execute() - - require.Nil(t, err) - require.NotNil(t, resp) - assert.Equal(t, 200, httpRes.StatusCode) - - }) - -} diff --git a/api/utils.go b/api/utils.go index 4c5e88276..e6df69ad4 100644 --- a/api/utils.go +++ b/api/utils.go @@ -3,7 +3,7 @@ Commerce Layer API Headless Commerce for Global Brands. -API version: 7.3.1 +API version: 7.6.1 Contact: support@commercelayer.io */ diff --git a/config.yml b/config.yml index 78e8abe97..9a1912709 100644 --- a/config.yml +++ b/config.yml @@ -1,9 +1,10 @@ --- -gitUserId: incentro-dc +gitUserId: labd gitRepoId: go-commercelayer-sdk enablePostProcessFile: false additionalProperties: packageName: api + withGoMod: false # Generate go.mod and go.sum enumClassPrefix: true # Prefix enum with class name generateInterfaces: false # Generate interfaces for api classes hideGenerationTimestamp: true # Hides the generation timestamp when files are generated. @@ -13,4 +14,4 @@ additionalProperties: structPrefix: true # whether to prefix struct with the class name. e.g. DeletePetOpts => PetApiDeletePetOpts useOneOfDiscriminatorLookup: false # Use the discriminator's mapping in oneOf to speed up the model lookup. IMPORTANT: Validation (e.g. one and only one match in oneOf's schemas) will be skipped. withAWSV4Signature: false # whether to include AWS v4 signature support - withXml: false # whether to include support for application/xml content type and include XML annotations in the model (works with libraries that provide support for JSON and XML) \ No newline at end of file + withXml: false # whether to include support for application/xml content type and include XML annotations in the model (works with libraries that provide support for JSON and XML) diff --git a/go.mod b/go.mod index fa9eef0a2..09e596891 100644 --- a/go.mod +++ b/go.mod @@ -1,14 +1,3 @@ -module github.com/incentro-dc/go-commercelayer-sdk +module github.com/labd/go-commercelayer-sdk -go 1.23 - -require github.com/stretchr/testify v1.9.0 - -require ( - github.com/davecgh/go-spew v1.1.1 // indirect - github.com/kr/pretty v0.3.1 // indirect - github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/rogpeppe/go-internal v1.13.1 // indirect - gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect -) +go 1.18 diff --git a/go.sum b/go.sum index 28fa3a12b..e69de29bb 100644 --- a/go.sum +++ b/go.sum @@ -1,23 +0,0 @@ -github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= -github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= -github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= -github.com/rogpeppe/go-internal v1.13.1 h1:KvO1DLK/DRN07sQ1LQKScxyZJuNnedQ5/wKSR38lUII= -github.com/rogpeppe/go-internal v1.13.1/go.mod h1:uMEvuHeurkdAXX61udpOXGD/AzZDWNMNyH2VO9fmH0o= -github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= -github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= -gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= -gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=