class Io::Flow::V0::Client

Attributes

url[R]

Public Class Methods

at_base_url(opts={}) click to toggle source

Creates an instance of the client using the base url specified in the API spec.

# File lib/flow_commerce/flow_api_v0_client.rb, line 48
def Client.at_base_url(opts={})
  Client.new(Constants::BASE_URL, opts)
end
new(url, opts={}) click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 36
def initialize(url, opts={})
  @url = HttpClient::Preconditions.assert_class('url', url, String)
  @base_url = URI(url)
  @authorization = HttpClient::Preconditions.assert_class_or_nil('authorization', opts.delete(:authorization), HttpClient::Authorization)
  @default_headers = HttpClient::Preconditions.assert_class('default_headers', opts.delete(:default_headers) || {}, Hash)
  @http_handler = opts.delete(:http_handler) || HttpClient::DefaultHttpHandler.new

  HttpClient::Preconditions.assert_empty_opts(opts)
  HttpClient::Preconditions.check_state(url.match(/http.+/i), "URL[%s] must start with http" % url)
end

Public Instance Methods

abandoned_order_promotions() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 399
def abandoned_order_promotions
  @abandoned_order_promotions ||= ::Io::Flow::V0::Clients::AbandonedOrderPromotions.new(self)
end
abandoned_order_settings() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 403
def abandoned_order_settings
  @abandoned_order_settings ||= ::Io::Flow::V0::Clients::AbandonedOrderSettings.new(self)
end
address_configurations() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 67
def address_configurations
  @address_configurations ||= ::Io::Flow::V0::Clients::AddressConfigurations.new(self)
end
addresses() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 347
def addresses
  @addresses ||= ::Io::Flow::V0::Clients::Addresses.new(self)
end
allocations() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 71
def allocations
  @allocations ||= ::Io::Flow::V0::Clients::Allocations.new(self)
end
attributes() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 75
def attributes
  @attributes ||= ::Io::Flow::V0::Clients::Attributes.new(self)
end
authorizations() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 199
def authorizations
  @authorizations ||= ::Io::Flow::V0::Clients::Authorizations.new(self)
end
b2b_credit_memos() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 407
def b2b_credit_memos
  @b2b_credit_memos ||= ::Io::Flow::V0::Clients::B2bCreditMemos.new(self)
end
b2b_invoices() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 411
def b2b_invoices
  @b2b_invoices ||= ::Io::Flow::V0::Clients::B2bInvoices.new(self)
end
bank_account_forms() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 415
def bank_account_forms
  @bank_account_forms ||= ::Io::Flow::V0::Clients::BankAccountForms.new(self)
end
captures() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 203
def captures
  @captures ||= ::Io::Flow::V0::Clients::Captures.new(self)
end
card_payment_sources() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 211
def card_payment_sources
  @card_payment_sources ||= ::Io::Flow::V0::Clients::CardPaymentSources.new(self)
end
cards() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 207
def cards
  @cards ||= ::Io::Flow::V0::Clients::Cards.new(self)
end
carrier_services() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 363
def carrier_services
  @carrier_services ||= ::Io::Flow::V0::Clients::CarrierServices.new(self)
end
carriers() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 359
def carriers
  @carriers ||= ::Io::Flow::V0::Clients::Carriers.new(self)
end
catalog_price_book_item_documents() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 419
def catalog_price_book_item_documents
  @catalog_price_book_item_documents ||= ::Io::Flow::V0::Clients::CatalogPriceBookItemDocuments.new(self)
end
catalogs() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 79
def catalogs
  @catalogs ||= ::Io::Flow::V0::Clients::Catalogs.new(self)
end
centers() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 247
def centers
  @centers ||= ::Io::Flow::V0::Clients::Centers.new(self)
end
channel_authorizations() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 423
def channel_authorizations
  @channel_authorizations ||= ::Io::Flow::V0::Clients::ChannelAuthorizations.new(self)
end
channel_bank_accounts() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 427
def channel_bank_accounts
  @channel_bank_accounts ||= ::Io::Flow::V0::Clients::ChannelBankAccounts.new(self)
end
channel_default_bank_accounts() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 431
def channel_default_bank_accounts
  @channel_default_bank_accounts ||= ::Io::Flow::V0::Clients::ChannelDefaultBankAccounts.new(self)
end
channel_organization_authorizations() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 439
def channel_organization_authorizations
  @channel_organization_authorizations ||= ::Io::Flow::V0::Clients::ChannelOrganizationAuthorizations.new(self)
end
channel_organizations() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 435
def channel_organizations
  @channel_organizations ||= ::Io::Flow::V0::Clients::ChannelOrganizations.new(self)
end
channel_payouts() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 443
def channel_payouts
  @channel_payouts ||= ::Io::Flow::V0::Clients::ChannelPayouts.new(self)
end
channel_rates() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 447
def channel_rates
  @channel_rates ||= ::Io::Flow::V0::Clients::ChannelRates.new(self)
end
channel_statements() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 451
def channel_statements
  @channel_statements ||= ::Io::Flow::V0::Clients::ChannelStatements.new(self)
end
channel_tokens() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 455
def channel_tokens
  @channel_tokens ||= ::Io::Flow::V0::Clients::ChannelTokens.new(self)
end
channel_transactions() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 459
def channel_transactions
  @channel_transactions ||= ::Io::Flow::V0::Clients::ChannelTransactions.new(self)
end
channel_vies_registrations() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 463
def channel_vies_registrations
  @channel_vies_registrations ||= ::Io::Flow::V0::Clients::ChannelViesRegistrations.new(self)
end
checkout_attributes() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 83
def checkout_attributes
  @checkout_attributes ||= ::Io::Flow::V0::Clients::CheckoutAttributes.new(self)
end
checkout_item_contents() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 87
def checkout_item_contents
  @checkout_item_contents ||= ::Io::Flow::V0::Clients::CheckoutItemContents.new(self)
end
checkout_tokens() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 467
def checkout_tokens
  @checkout_tokens ||= ::Io::Flow::V0::Clients::CheckoutTokens.new(self)
end
consumer_invoice_documents() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 475
def consumer_invoice_documents
  @consumer_invoice_documents ||= ::Io::Flow::V0::Clients::ConsumerInvoiceDocuments.new(self)
end
consumer_invoices() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 471
def consumer_invoices
  @consumer_invoices ||= ::Io::Flow::V0::Clients::ConsumerInvoices.new(self)
end
countries() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 367
def countries
  @countries ||= ::Io::Flow::V0::Clients::Countries.new(self)
end
country_defaults() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 351
def country_defaults
  @country_defaults ||= ::Io::Flow::V0::Clients::CountryDefaults.new(self)
end
country_pickers() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 479
def country_pickers
  @country_pickers ||= ::Io::Flow::V0::Clients::CountryPickers.new(self)
end
credit_memos() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 483
def credit_memos
  @credit_memos ||= ::Io::Flow::V0::Clients::CreditMemos.new(self)
end
credit_payments() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 91
def credit_payments
  @credit_payments ||= ::Io::Flow::V0::Clients::CreditPayments.new(self)
end
currencies() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 371
def currencies
  @currencies ||= ::Io::Flow::V0::Clients::Currencies.new(self)
end
customer_address_book() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 491
def customer_address_book
  @customer_address_book ||= ::Io::Flow::V0::Clients::CustomerAddressBook.new(self)
end
customer_address_book_contacts() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 495
def customer_address_book_contacts
  @customer_address_book_contacts ||= ::Io::Flow::V0::Clients::CustomerAddressBookContacts.new(self)
end
customer_bundles() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 499
def customer_bundles
  @customer_bundles ||= ::Io::Flow::V0::Clients::CustomerBundles.new(self)
end
customer_purge_settings() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 503
def customer_purge_settings
  @customer_purge_settings ||= ::Io::Flow::V0::Clients::CustomerPurgeSettings.new(self)
end
customer_tokens() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 507
def customer_tokens
  @customer_tokens ||= ::Io::Flow::V0::Clients::CustomerTokens.new(self)
end
customers() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 487
def customers
  @customers ||= ::Io::Flow::V0::Clients::Customers.new(self)
end
delivery_windows() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 251
def delivery_windows
  @delivery_windows ||= ::Io::Flow::V0::Clients::DeliveryWindows.new(self)
end
dimension_estimates() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 255
def dimension_estimates
  @dimension_estimates ||= ::Io::Flow::V0::Clients::DimensionEstimates.new(self)
end
discount_rule_settings() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 95
def discount_rule_settings
  @discount_rule_settings ||= ::Io::Flow::V0::Clients::DiscountRuleSettings.new(self)
end
documents() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 511
def documents
  @documents ||= ::Io::Flow::V0::Clients::Documents.new(self)
end
duty_item_approvals() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 519
def duty_item_approvals
  @duty_item_approvals ||= ::Io::Flow::V0::Clients::DutyItemApprovals.new(self)
end
duty_item_producers() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 523
def duty_item_producers
  @duty_item_producers ||= ::Io::Flow::V0::Clients::DutyItemProducers.new(self)
end
duty_items() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 515
def duty_items
  @duty_items ||= ::Io::Flow::V0::Clients::DutyItems.new(self)
end
ecommerce_platforms() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 527
def ecommerce_platforms
  @ecommerce_platforms ||= ::Io::Flow::V0::Clients::EcommercePlatforms.new(self)
end
email_verifications() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 531
def email_verifications
  @email_verifications ||= ::Io::Flow::V0::Clients::EmailVerifications.new(self)
end
exclusion_rules() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 535
def exclusion_rules
  @exclusion_rules ||= ::Io::Flow::V0::Clients::ExclusionRules.new(self)
end
experience_checkout_settings() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 103
def experience_checkout_settings
  @experience_checkout_settings ||= ::Io::Flow::V0::Clients::ExperienceCheckoutSettings.new(self)
end
experience_defaults() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 107
def experience_defaults
  @experience_defaults ||= ::Io::Flow::V0::Clients::ExperienceDefaults.new(self)
end
experience_logistics_settings() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 111
def experience_logistics_settings
  @experience_logistics_settings ||= ::Io::Flow::V0::Clients::ExperienceLogisticsSettings.new(self)
end
experience_price_conversions() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 115
def experience_price_conversions
  @experience_price_conversions ||= ::Io::Flow::V0::Clients::ExperiencePriceConversions.new(self)
end
experience_price_facet_conversions() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 119
def experience_price_facet_conversions
  @experience_price_facet_conversions ||= ::Io::Flow::V0::Clients::ExperiencePriceFacetConversions.new(self)
end
experiences() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 99
def experiences
  @experiences ||= ::Io::Flow::V0::Clients::Experiences.new(self)
end
exports() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 539
def exports
  @exports ||= ::Io::Flow::V0::Clients::Exports.new(self)
end
flow_roles() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 543
def flow_roles
  @flow_roles ||= ::Io::Flow::V0::Clients::FlowRoles.new(self)
end
fraud_email_rules() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 547
def fraud_email_rules
  @fraud_email_rules ||= ::Io::Flow::V0::Clients::FraudEmailRules.new(self)
end
ftp_files() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 551
def ftp_files
  @ftp_files ||= ::Io::Flow::V0::Clients::FtpFiles.new(self)
end
ftp_folders() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 555
def ftp_folders
  @ftp_folders ||= ::Io::Flow::V0::Clients::FtpFolders.new(self)
end
ftp_organization_settings() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 559
def ftp_organization_settings
  @ftp_organization_settings ||= ::Io::Flow::V0::Clients::FtpOrganizationSettings.new(self)
end
fulfillments() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 563
def fulfillments
  @fulfillments ||= ::Io::Flow::V0::Clients::Fulfillments.new(self)
end
gateway_authentication_data() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 215
def gateway_authentication_data
  @gateway_authentication_data ||= ::Io::Flow::V0::Clients::GatewayAuthenticationData.new(self)
end
harmonized_landed_costs() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 187
def harmonized_landed_costs
  @harmonized_landed_costs ||= ::Io::Flow::V0::Clients::HarmonizedLandedCosts.new(self)
end
healthchecks() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 567
def healthchecks
  @healthchecks ||= ::Io::Flow::V0::Clients::Healthchecks.new(self)
end
hs10() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 191
def hs10
  @hs10 ||= ::Io::Flow::V0::Clients::Hs10.new(self)
end
import_templates() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 575
def import_templates
  @import_templates ||= ::Io::Flow::V0::Clients::ImportTemplates.new(self)
end
imports() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 571
def imports
  @imports ||= ::Io::Flow::V0::Clients::Imports.new(self)
end
inventory_rules() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 259
def inventory_rules
  @inventory_rules ||= ::Io::Flow::V0::Clients::InventoryRules.new(self)
end
inventory_snapshots() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 263
def inventory_snapshots
  @inventory_snapshots ||= ::Io::Flow::V0::Clients::InventorySnapshots.new(self)
end
inventory_updates() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 267
def inventory_updates
  @inventory_updates ||= ::Io::Flow::V0::Clients::InventoryUpdates.new(self)
end
invitations() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 579
def invitations
  @invitations ||= ::Io::Flow::V0::Clients::Invitations.new(self)
end
item_form_overlays() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 127
def item_form_overlays
  @item_form_overlays ||= ::Io::Flow::V0::Clients::ItemFormOverlays.new(self)
end
item_query_suggestions() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 587
def item_query_suggestions
  @item_query_suggestions ||= ::Io::Flow::V0::Clients::ItemQuerySuggestions.new(self)
end
items() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 123
def items
  @items ||= ::Io::Flow::V0::Clients::Items.new(self)
end
kube_healthchecks() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 591
def kube_healthchecks
  @kube_healthchecks ||= ::Io::Flow::V0::Clients::KubeHealthchecks.new(self)
end
languages() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 375
def languages
  @languages ||= ::Io::Flow::V0::Clients::Languages.new(self)
end
locales() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 379
def locales
  @locales ||= ::Io::Flow::V0::Clients::Locales.new(self)
end
manifests() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 271
def manifests
  @manifests ||= ::Io::Flow::V0::Clients::Manifests.new(self)
end
memberships() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 599
def memberships
  @memberships ||= ::Io::Flow::V0::Clients::Memberships.new(self)
end
merchant_applications() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 603
def merchant_applications
  @merchant_applications ||= ::Io::Flow::V0::Clients::MerchantApplications.new(self)
end
merchant_gift_card_balances() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 607
def merchant_gift_card_balances
  @merchant_gift_card_balances ||= ::Io::Flow::V0::Clients::MerchantGiftCardBalances.new(self)
end
merchant_gift_card_redemptions() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 611
def merchant_gift_card_redemptions
  @merchant_gift_card_redemptions ||= ::Io::Flow::V0::Clients::MerchantGiftCardRedemptions.new(self)
end
merchant_gift_card_reversals() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 615
def merchant_gift_card_reversals
  @merchant_gift_card_reversals ||= ::Io::Flow::V0::Clients::MerchantGiftCardReversals.new(self)
end
order_builders() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 135
def order_builders
  @order_builders ||= ::Io::Flow::V0::Clients::OrderBuilders.new(self)
end
order_estimates() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 139
def order_estimates
  @order_estimates ||= ::Io::Flow::V0::Clients::OrderEstimates.new(self)
end
order_identifiers() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 143
def order_identifiers
  @order_identifiers ||= ::Io::Flow::V0::Clients::OrderIdentifiers.new(self)
end
order_number_generators() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 147
def order_number_generators
  @order_number_generators ||= ::Io::Flow::V0::Clients::OrderNumberGenerators.new(self)
end
order_promotions() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 151
def order_promotions
  @order_promotions ||= ::Io::Flow::V0::Clients::OrderPromotions.new(self)
end
order_quotes() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 619
def order_quotes
  @order_quotes ||= ::Io::Flow::V0::Clients::OrderQuotes.new(self)
end
order_summaries() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 155
def order_summaries
  @order_summaries ||= ::Io::Flow::V0::Clients::OrderSummaries.new(self)
end
orders() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 131
def orders
  @orders ||= ::Io::Flow::V0::Clients::Orders.new(self)
end
organization_authorizations() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 623
def organization_authorizations
  @organization_authorizations ||= ::Io::Flow::V0::Clients::OrganizationAuthorizations.new(self)
end
organization_bank_accounts() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 627
def organization_bank_accounts
  @organization_bank_accounts ||= ::Io::Flow::V0::Clients::OrganizationBankAccounts.new(self)
end
organization_default_bank_accounts() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 631
def organization_default_bank_accounts
  @organization_default_bank_accounts ||= ::Io::Flow::V0::Clients::OrganizationDefaultBankAccounts.new(self)
end
organization_default_configurations() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 635
def organization_default_configurations
  @organization_default_configurations ||= ::Io::Flow::V0::Clients::OrganizationDefaultConfigurations.new(self)
end
organization_onboarding_states() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 639
def organization_onboarding_states
  @organization_onboarding_states ||= ::Io::Flow::V0::Clients::OrganizationOnboardingStates.new(self)
end
organization_payouts() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 643
def organization_payouts
  @organization_payouts ||= ::Io::Flow::V0::Clients::OrganizationPayouts.new(self)
end
organization_token_v2() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 651
def organization_token_v2
  @organization_token_v2 ||= ::Io::Flow::V0::Clients::OrganizationTokenV2.new(self)
end
organization_tokens() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 647
def organization_tokens
  @organization_tokens ||= ::Io::Flow::V0::Clients::OrganizationTokens.new(self)
end
organizations() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 159
def organizations
  @organizations ||= ::Io::Flow::V0::Clients::Organizations.new(self)
end
partner_tokens() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 655
def partner_tokens
  @partner_tokens ||= ::Io::Flow::V0::Clients::PartnerTokens.new(self)
end
password_reset_forms() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 659
def password_reset_forms
  @password_reset_forms ||= ::Io::Flow::V0::Clients::PasswordResetForms.new(self)
end
payment_method_rules() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 163
def payment_method_rules
  @payment_method_rules ||= ::Io::Flow::V0::Clients::PaymentMethodRules.new(self)
end
payment_methods() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 383
def payment_methods
  @payment_methods ||= ::Io::Flow::V0::Clients::PaymentMethods.new(self)
end
payment_payment_methods() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 663
def payment_payment_methods
  @payment_payment_methods ||= ::Io::Flow::V0::Clients::PaymentPaymentMethods.new(self)
end
payment_request_bundles() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 671
def payment_request_bundles
  @payment_request_bundles ||= ::Io::Flow::V0::Clients::PaymentRequestBundles.new(self)
end
payment_requests() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 667
def payment_requests
  @payment_requests ||= ::Io::Flow::V0::Clients::PaymentRequests.new(self)
end
payments() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 219
def payments
  @payments ||= ::Io::Flow::V0::Clients::Payments.new(self)
end
permission_checks() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 675
def permission_checks
  @permission_checks ||= ::Io::Flow::V0::Clients::PermissionChecks.new(self)
end
price_book_item_export_options() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 679
def price_book_item_export_options
  @price_book_item_export_options ||= ::Io::Flow::V0::Clients::PriceBookItemExportOptions.new(self)
end
price_book_items() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 171
def price_book_items
  @price_book_items ||= ::Io::Flow::V0::Clients::PriceBookItems.new(self)
end
price_books() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 167
def price_books
  @price_books ||= ::Io::Flow::V0::Clients::PriceBooks.new(self)
end
price_rules() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 583
def price_rules
  @price_rules ||= ::Io::Flow::V0::Clients::PriceRules.new(self)
end
provinces() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 387
def provinces
  @provinces ||= ::Io::Flow::V0::Clients::Provinces.new(self)
end
public_keys() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 223
def public_keys
  @public_keys ||= ::Io::Flow::V0::Clients::PublicKeys.new(self)
end
quotes() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 275
def quotes
  @quotes ||= ::Io::Flow::V0::Clients::Quotes.new(self)
end
ratecard_estimates() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 283
def ratecard_estimates
  @ratecard_estimates ||= ::Io::Flow::V0::Clients::RatecardEstimates.new(self)
end
ratecard_lanes() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 287
def ratecard_lanes
  @ratecard_lanes ||= ::Io::Flow::V0::Clients::RatecardLanes.new(self)
end
ratecard_rates() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 291
def ratecard_rates
  @ratecard_rates ||= ::Io::Flow::V0::Clients::RatecardRates.new(self)
end
ratecards() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 279
def ratecards
  @ratecards ||= ::Io::Flow::V0::Clients::Ratecards.new(self)
end
rates() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 183
def rates
  @rates ||= ::Io::Flow::V0::Clients::Rates.new(self)
end
refunds() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 227
def refunds
  @refunds ||= ::Io::Flow::V0::Clients::Refunds.new(self)
end
regions() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 391
def regions
  @regions ||= ::Io::Flow::V0::Clients::Regions.new(self)
end
request(path=nil) click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 52
def request(path=nil)
  HttpClient::Preconditions.assert_class_or_nil('path', path, String)
  request = HttpClient::Request.new(@http_handler, @base_url, path.to_s).with_header('User-Agent', Constants::USER_AGENT).with_header('X-Apidoc-Version', Constants::VERSION).with_header('X-Apidoc-Version-Major', Constants::VERSION_MAJOR)

  @default_headers.each do |key, value|
    request = request.with_header(key, value)
  end

  if @authorization
    request = request.with_auth(@authorization)
  end

  request
end
return_policies() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 683
def return_policies
  @return_policies ||= ::Io::Flow::V0::Clients::ReturnPolicies.new(self)
end
returns() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 295
def returns
  @returns ||= ::Io::Flow::V0::Clients::Returns.new(self)
end
reversals() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 231
def reversals
  @reversals ||= ::Io::Flow::V0::Clients::Reversals.new(self)
end
romanizations() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 687
def romanizations
  @romanizations ||= ::Io::Flow::V0::Clients::Romanizations.new(self)
end
scheduled_exports() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 691
def scheduled_exports
  @scheduled_exports ||= ::Io::Flow::V0::Clients::ScheduledExports.new(self)
end
session_authorizations() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 699
def session_authorizations
  @session_authorizations ||= ::Io::Flow::V0::Clients::SessionAuthorizations.new(self)
end
sessions() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 695
def sessions
  @sessions ||= ::Io::Flow::V0::Clients::Sessions.new(self)
end
shipping_configuration_copies() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 303
def shipping_configuration_copies
  @shipping_configuration_copies ||= ::Io::Flow::V0::Clients::ShippingConfigurationCopies.new(self)
end
shipping_configurations() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 299
def shipping_configurations
  @shipping_configurations ||= ::Io::Flow::V0::Clients::ShippingConfigurations.new(self)
end
shipping_labels() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 307
def shipping_labels
  @shipping_labels ||= ::Io::Flow::V0::Clients::ShippingLabels.new(self)
end
shipping_notifications() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 311
def shipping_notifications
  @shipping_notifications ||= ::Io::Flow::V0::Clients::ShippingNotifications.new(self)
end
shopify_cart_conversions() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 707
def shopify_cart_conversions
  @shopify_cart_conversions ||= ::Io::Flow::V0::Clients::ShopifyCartConversions.new(self)
end
shopify_carts() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 703
def shopify_carts
  @shopify_carts ||= ::Io::Flow::V0::Clients::ShopifyCarts.new(self)
end
shopify_localization_settings() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 711
def shopify_localization_settings
  @shopify_localization_settings ||= ::Io::Flow::V0::Clients::ShopifyLocalizationSettings.new(self)
end
shopify_location_flow_center_mappings() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 715
def shopify_location_flow_center_mappings
  @shopify_location_flow_center_mappings ||= ::Io::Flow::V0::Clients::ShopifyLocationFlowCenterMappings.new(self)
end
shopify_private_apps() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 719
def shopify_private_apps
  @shopify_private_apps ||= ::Io::Flow::V0::Clients::ShopifyPrivateApps.new(self)
end
shopify_sync_statuses() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 723
def shopify_sync_statuses
  @shopify_sync_statuses ||= ::Io::Flow::V0::Clients::ShopifySyncStatuses.new(self)
end
statements() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 727
def statements
  @statements ||= ::Io::Flow::V0::Clients::Statements.new(self)
end
subcatalog_items() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 179
def subcatalog_items
  @subcatalog_items ||= ::Io::Flow::V0::Clients::SubcatalogItems.new(self)
end
subcatalogs() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 175
def subcatalogs
  @subcatalogs ||= ::Io::Flow::V0::Clients::Subcatalogs.new(self)
end
suggestions() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 731
def suggestions
  @suggestions ||= ::Io::Flow::V0::Clients::Suggestions.new(self)
end
surcharge_settings() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 315
def surcharge_settings
  @surcharge_settings ||= ::Io::Flow::V0::Clients::SurchargeSettings.new(self)
end
sync_pending_records() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 735
def sync_pending_records
  @sync_pending_records ||= ::Io::Flow::V0::Clients::SyncPendingRecords.new(self)
end
sync_record_failures() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 743
def sync_record_failures
  @sync_record_failures ||= ::Io::Flow::V0::Clients::SyncRecordFailures.new(self)
end
sync_records() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 739
def sync_records
  @sync_records ||= ::Io::Flow::V0::Clients::SyncRecords.new(self)
end
sync_streams() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 747
def sync_streams
  @sync_streams ||= ::Io::Flow::V0::Clients::SyncStreams.new(self)
end
tax_duty_quotes() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 395
def tax_duty_quotes
  @tax_duty_quotes ||= ::Io::Flow::V0::Clients::TaxDutyQuotes.new(self)
end
tax_registrations() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 195
def tax_registrations
  @tax_registrations ||= ::Io::Flow::V0::Clients::TaxRegistrations.new(self)
end
tax_settings() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 751
def tax_settings
  @tax_settings ||= ::Io::Flow::V0::Clients::TaxSettings.new(self)
end
tiers() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 319
def tiers
  @tiers ||= ::Io::Flow::V0::Clients::Tiers.new(self)
end
timezones() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 355
def timezones
  @timezones ||= ::Io::Flow::V0::Clients::Timezones.new(self)
end
token_validations() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 759
def token_validations
  @token_validations ||= ::Io::Flow::V0::Clients::TokenValidations.new(self)
end
tokens() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 755
def tokens
  @tokens ||= ::Io::Flow::V0::Clients::Tokens.new(self)
end
tracking_events() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 327
def tracking_events
  @tracking_events ||= ::Io::Flow::V0::Clients::TrackingEvents.new(self)
end
tracking_labels() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 331
def tracking_labels
  @tracking_labels ||= ::Io::Flow::V0::Clients::TrackingLabels.new(self)
end
trackings() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 323
def trackings
  @trackings ||= ::Io::Flow::V0::Clients::Trackings.new(self)
end
trade_agreement_certifiers() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 767
def trade_agreement_certifiers
  @trade_agreement_certifiers ||= ::Io::Flow::V0::Clients::TradeAgreementCertifiers.new(self)
end
trade_agreements() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 763
def trade_agreements
  @trade_agreements ||= ::Io::Flow::V0::Clients::TradeAgreements.new(self)
end
transactions() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 771
def transactions
  @transactions ||= ::Io::Flow::V0::Clients::Transactions.new(self)
end
ultimate_beneficiary_owners() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 775
def ultimate_beneficiary_owners
  @ultimate_beneficiary_owners ||= ::Io::Flow::V0::Clients::UltimateBeneficiaryOwners.new(self)
end
uploads() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 779
def uploads
  @uploads ||= ::Io::Flow::V0::Clients::Uploads.new(self)
end
users() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 783
def users
  @users ||= ::Io::Flow::V0::Clients::Users.new(self)
end
virtual_card_captures() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 239
def virtual_card_captures
  @virtual_card_captures ||= ::Io::Flow::V0::Clients::VirtualCardCaptures.new(self)
end
virtual_card_refunds() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 243
def virtual_card_refunds
  @virtual_card_refunds ||= ::Io::Flow::V0::Clients::VirtualCardRefunds.new(self)
end
virtual_cards() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 235
def virtual_cards
  @virtual_cards ||= ::Io::Flow::V0::Clients::VirtualCards.new(self)
end
webhook_deliveries() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 339
def webhook_deliveries
  @webhook_deliveries ||= ::Io::Flow::V0::Clients::WebhookDeliveries.new(self)
end
webhook_settings() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 343
def webhook_settings
  @webhook_settings ||= ::Io::Flow::V0::Clients::WebhookSettings.new(self)
end
webhooks() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 335
def webhooks
  @webhooks ||= ::Io::Flow::V0::Clients::Webhooks.new(self)
end