Class: Io::Flow::V0::Models::Event

Inherits:
Object
  • Object
show all
Defined in:
lib/flow_commerce/flow_api_v0_client.rb

Direct Known Subclasses

AllocationDeletedV2, AllocationUpsertedV2, AttributeDeleted, AttributeDeletedV2, AttributeUpserted, AttributeUpsertedV2, AuthorizationDeletedV2, AuthorizationStatusChanged, AvailablePromotionsDeleted, AvailablePromotionsDeletedV2, AvailablePromotionsUpserted, AvailablePromotionsUpsertedV2, B2bCreditMemoDeleted, B2bCreditMemoUpserted, B2bInvoiceDeleted, B2bInvoiceUpserted, BrowseOptinResponsesDeleted, BrowseOptinResponsesUpserted, CaptureDeleted, CaptureIdentifierDeleted, CaptureIdentifierUpserted, CaptureUpsertedV2, CardAuthorizationDeletedV2, CardAuthorizationUpsertedV2, CardDeleted, CardUpsertedV2, CatalogDeleted, CatalogItemDeleted, CatalogItemDeletedV2, CatalogItemUpserted, CatalogItemUpsertedV2, CatalogUpserted, CenterDeleted, CenterUpserted, CheckoutOptinResponsesDeleted, CheckoutOptinResponsesUpserted, ConsumerInvoiceDeleted, ConsumerInvoiceUpserted, CreditMemoDeleted, CreditMemoUpserted, CrossdockShipmentUpserted, CurrencyFormatDeleted, CurrencyFormatUpserted, CustomerAddressBookContactDeleted, CustomerAddressBookContactUpserted, CustomerDeleted, CustomerUpserted, EcommercePlatformDeleted, EcommercePlatformUpserted, EmailNotificationDeleted, EmailNotificationUpserted, EventUndefinedType, ExperienceDeleted, ExperienceDeletedV2, ExperienceLogisticsSettingsDeleted, ExperienceLogisticsSettingsUpserted, ExperiencePriceBookMappingDeleted, ExperiencePriceBookMappingUpserted, ExperienceUpserted, ExperienceUpsertedV2, FraudStatusChanged, FullyHarmonizedItemUpserted, HarmonizedLandedCostUpserted, Hs10CodeDeleted, Hs10CodeUpserted, Hs6CodeDeleted, Hs6CodeUpserted, ItemMarginDeleted, ItemMarginUpserted, ItemOriginDeleted, ItemOriginUpserted, ItemSalesMarginDeleted, ItemSalesMarginUpserted, LabelDeletedV2, LabelFormatDeleted, LabelFormatUpserted, LabelUpserted, LabelUpsertedV2, LocalItemDeleted, LocalItemUpserted, ManifestedLabelDeleted, ManifestedLabelUpserted, MembershipDeletedV2, MembershipUpsertedV2, NotificationDeleted, NotificationUpserted, OnlineAuthorizationDeletedV2, OnlineAuthorizationUpsertedV2, OrderDeleted, OrderDeletedV2, OrderIdentifierDeleted, OrderIdentifierDeletedV2, OrderIdentifierUpserted, OrderIdentifierUpsertedV2, OrderIdentifierUpsertedV3, OrderPlaced, OrderPlacedV2, OrderServiceChangeRequest, OrderUpserted, OrderUpsertedV2, OrganizationDefaultConfigurationsDeleted, OrganizationDefaultConfigurationsUpserted, OrganizationDeleted, OrganizationDeletedV2, OrganizationRatesPublished, OrganizationShortIdDeleted, OrganizationShortIdUpserted, OrganizationUpserted, OrganizationUpsertedV2, PaymentDeleted, PaymentUpserted, PriceBookDeleted, PriceBookItemDeleted, PriceBookItemUpserted, PriceBookUpserted, PricingDeleted, PricingUpserted, RateDeleted, RateDeletedV3, RateUpserted, RateUpsertedV3, RatecardDeleted, RatecardLaneDeleted, RatecardLaneUpserted, RatecardUpserted, ReadyToFulfill, RefundCaptureUpsertedV2, RefundDeletedV2, RefundIdentifierDeleted, RefundIdentifierUpserted, RefundUpsertedV2, ReturnDeleted, ReturnUpserted, ReversalDeleted, ReversalUpserted, RuleDeleted, RuleUpserted, ShippingConfigurationDeleted, ShippingConfigurationItemAvailabilityDeleted, ShippingConfigurationItemAvailabilityUpserted, ShippingConfigurationItemShippingPricingDeleted, ShippingConfigurationItemShippingPricingUpserted, ShippingConfigurationUpserted, ShippingLaneDeleted, ShippingLaneUpserted, ShopifyLocalizationSettingDeleted, ShopifyLocalizationSettingUpserted, SnapshotDeleted, SnapshotUpserted, SubcatalogDeleted, SubcatalogItemDeleted, SubcatalogItemUpserted, SubcatalogUpserted, TierDeletedV2, TierUpsertedV2, TrackingLabelEventUpserted, VirtualCardCaptureDeleted, VirtualCardCaptureUpserted, VirtualCardRefundDeleted, VirtualCardRefundUpserted

Defined Under Namespace

Modules: Types

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(incoming = {}) ⇒ Event

Returns a new instance of Event.



8874
8875
8876
8877
8878
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8874

def initialize(incoming={})
  opts = HttpClient::Helper.symbolize_keys(incoming)
  HttpClient::Preconditions.require_keys(opts, [:discriminator], 'Event')
  @discriminator = HttpClient::Preconditions.assert_class('discriminator', opts.delete(:discriminator), String)
end

Instance Attribute Details

#discriminatorObject (readonly)

Returns the value of attribute discriminator.



8872
8873
8874
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8872

def discriminator
  @discriminator
end

Class Method Details

.from_json(hash) ⇒ Object



8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8888

def Event.from_json(hash)
  HttpClient::Preconditions.assert_class('hash', hash, Hash)
  discriminator = HttpClient::Helper.symbolize_keys(hash)[:discriminator].to_s.strip
  if discriminator.empty?
    raise "Union type[event] requires a field named 'discriminator'"
  end
  case discriminator
    when Types::ATTRIBUTE_UPSERTED; AttributeUpserted.new(hash)
    when Types::ATTRIBUTE_DELETED; AttributeDeleted.new(hash)
    when Types::ATTRIBUTE_UPSERTED_V2; AttributeUpsertedV2.new(hash)
    when Types::ATTRIBUTE_DELETED_V2; AttributeDeletedV2.new(hash)
    when Types::CATALOG_UPSERTED; CatalogUpserted.new(hash)
    when Types::CATALOG_DELETED; CatalogDeleted.new(hash)
    when Types::SUBCATALOG_UPSERTED; SubcatalogUpserted.new(hash)
    when Types::SUBCATALOG_DELETED; SubcatalogDeleted.new(hash)
    when Types::CATALOG_ITEM_UPSERTED; CatalogItemUpserted.new(hash)
    when Types::CATALOG_ITEM_DELETED; CatalogItemDeleted.new(hash)
    when Types::CATALOG_ITEM_UPSERTED_V2; CatalogItemUpsertedV2.new(hash)
    when Types::CATALOG_ITEM_DELETED_V2; CatalogItemDeletedV2.new(hash)
    when Types::SUBCATALOG_ITEM_UPSERTED; SubcatalogItemUpserted.new(hash)
    when Types::SUBCATALOG_ITEM_DELETED; SubcatalogItemDeleted.new(hash)
    when Types::B2B_INVOICE_UPSERTED; B2bInvoiceUpserted.new(hash)
    when Types::B2B_INVOICE_DELETED; B2bInvoiceDeleted.new(hash)
    when Types::B2B_CREDIT_MEMO_UPSERTED; B2bCreditMemoUpserted.new(hash)
    when Types::B2B_CREDIT_MEMO_DELETED; B2bCreditMemoDeleted.new(hash)
    when Types::CONSUMER_INVOICE_UPSERTED; ConsumerInvoiceUpserted.new(hash)
    when Types::CONSUMER_INVOICE_DELETED; ConsumerInvoiceDeleted.new(hash)
    when Types::CREDIT_MEMO_UPSERTED; CreditMemoUpserted.new(hash)
    when Types::CREDIT_MEMO_DELETED; CreditMemoDeleted.new(hash)
    when Types::CROSSDOCK_SHIPMENT_UPSERTED; CrossdockShipmentUpserted.new(hash)
    when Types::RATE_DELETED; RateDeleted.new(hash)
    when Types::RATE_UPSERTED; RateUpserted.new(hash)
    when Types::RATE_DELETED_V3; RateDeletedV3.new(hash)
    when Types::RATE_UPSERTED_V3; RateUpsertedV3.new(hash)
    when Types::CUSTOMER_UPSERTED; CustomerUpserted.new(hash)
    when Types::CUSTOMER_DELETED; CustomerDeleted.new(hash)
    when Types::CUSTOMER_ADDRESS_BOOK_CONTACT_UPSERTED; CustomerAddressBookContactUpserted.new(hash)
    when Types::CUSTOMER_ADDRESS_BOOK_CONTACT_DELETED; CustomerAddressBookContactDeleted.new(hash)
    when Types::EMAIL_NOTIFICATION_UPSERTED; EmailNotificationUpserted.new(hash)
    when Types::EMAIL_NOTIFICATION_DELETED; EmailNotificationDeleted.new(hash)
    when Types::AVAILABLE_PROMOTIONS_UPSERTED; AvailablePromotionsUpserted.new(hash)
    when Types::AVAILABLE_PROMOTIONS_DELETED; AvailablePromotionsDeleted.new(hash)
    when Types::AVAILABLE_PROMOTIONS_UPSERTED_V2; AvailablePromotionsUpsertedV2.new(hash)
    when Types::AVAILABLE_PROMOTIONS_DELETED_V2; AvailablePromotionsDeletedV2.new(hash)
    when Types::ALLOCATION_DELETED_V2; AllocationDeletedV2.new(hash)
    when Types::ALLOCATION_UPSERTED_V2; AllocationUpsertedV2.new(hash)
    when Types::CURRENCY_FORMAT_DELETED; CurrencyFormatDeleted.new(hash)
    when Types::CURRENCY_FORMAT_UPSERTED; CurrencyFormatUpserted.new(hash)
    when Types::EXPERIENCE_DELETED; ExperienceDeleted.new(hash)
    when Types::EXPERIENCE_UPSERTED; ExperienceUpserted.new(hash)
    when Types::EXPERIENCE_DELETED_V2; ExperienceDeletedV2.new(hash)
    when Types::EXPERIENCE_UPSERTED_V2; ExperienceUpsertedV2.new(hash)
    when Types::EXPERIENCE_PRICE_BOOK_MAPPING_DELETED; ExperiencePriceBookMappingDeleted.new(hash)
    when Types::EXPERIENCE_PRICE_BOOK_MAPPING_UPSERTED; ExperiencePriceBookMappingUpserted.new(hash)
    when Types::EXPERIENCE_LOGISTICS_SETTINGS_UPSERTED; ExperienceLogisticsSettingsUpserted.new(hash)
    when Types::EXPERIENCE_LOGISTICS_SETTINGS_DELETED; ExperienceLogisticsSettingsDeleted.new(hash)
    when Types::ITEM_MARGIN_DELETED; ItemMarginDeleted.new(hash)
    when Types::ITEM_MARGIN_UPSERTED; ItemMarginUpserted.new(hash)
    when Types::ITEM_SALES_MARGIN_DELETED; ItemSalesMarginDeleted.new(hash)
    when Types::ITEM_SALES_MARGIN_UPSERTED; ItemSalesMarginUpserted.new(hash)
    when Types::LABEL_FORMAT_DELETED; LabelFormatDeleted.new(hash)
    when Types::LABEL_FORMAT_UPSERTED; LabelFormatUpserted.new(hash)
    when Types::ORDER_DELETED; OrderDeleted.new(hash)
    when Types::ORDER_UPSERTED; OrderUpserted.new(hash)
    when Types::ORDER_DELETED_V2; OrderDeletedV2.new(hash)
    when Types::ORDER_UPSERTED_V2; OrderUpsertedV2.new(hash)
    when Types::ORDER_IDENTIFIER_DELETED; OrderIdentifierDeleted.new(hash)
    when Types::ORDER_IDENTIFIER_UPSERTED; OrderIdentifierUpserted.new(hash)
    when Types::ORDER_IDENTIFIER_DELETED_V2; OrderIdentifierDeletedV2.new(hash)
    when Types::ORDER_IDENTIFIER_UPSERTED_V2; OrderIdentifierUpsertedV2.new(hash)
    when Types::ORDER_IDENTIFIER_UPSERTED_V3; OrderIdentifierUpsertedV3.new(hash)
    when Types::PRICING_DELETED; PricingDeleted.new(hash)
    when Types::PRICING_UPSERTED; PricingUpserted.new(hash)
    when Types::ORDER_SERVICE_CHANGE_REQUEST; OrderServiceChangeRequest.new(hash)
    when Types::FRAUD_STATUS_CHANGED; FraudStatusChanged.new(hash)
    when Types::CENTER_UPSERTED; CenterUpserted.new(hash)
    when Types::CENTER_DELETED; CenterDeleted.new(hash)
    when Types::SHIPPING_CONFIGURATION_UPSERTED; ShippingConfigurationUpserted.new(hash)
    when Types::SHIPPING_CONFIGURATION_DELETED; ShippingConfigurationDeleted.new(hash)
    when Types::TIER_UPSERTED_V2; TierUpsertedV2.new(hash)
    when Types::TIER_DELETED_V2; TierDeletedV2.new(hash)
    when Types::SHIPPING_LANE_UPSERTED; ShippingLaneUpserted.new(hash)
    when Types::SHIPPING_LANE_DELETED; ShippingLaneDeleted.new(hash)
    when Types::SHIPPING_CONFIGURATION_ITEM_AVAILABILITY_UPSERTED; ShippingConfigurationItemAvailabilityUpserted.new(hash)
    when Types::SHIPPING_CONFIGURATION_ITEM_AVAILABILITY_DELETED; ShippingConfigurationItemAvailabilityDeleted.new(hash)
    when Types::SHIPPING_CONFIGURATION_ITEM_SHIPPING_PRICING_UPSERTED; ShippingConfigurationItemShippingPricingUpserted.new(hash)
    when Types::SHIPPING_CONFIGURATION_ITEM_SHIPPING_PRICING_DELETED; ShippingConfigurationItemShippingPricingDeleted.new(hash)
    when Types::HS6_CODE_UPSERTED; Hs6CodeUpserted.new(hash)
    when Types::HS6_CODE_DELETED; Hs6CodeDeleted.new(hash)
    when Types::HS10_CODE_UPSERTED; Hs10CodeUpserted.new(hash)
    when Types::HS10_CODE_DELETED; Hs10CodeDeleted.new(hash)
    when Types::ITEM_ORIGIN_UPSERTED; ItemOriginUpserted.new(hash)
    when Types::ITEM_ORIGIN_DELETED; ItemOriginDeleted.new(hash)
    when Types::HARMONIZED_LANDED_COST_UPSERTED; HarmonizedLandedCostUpserted.new(hash)
    when Types::FULLY_HARMONIZED_ITEM_UPSERTED; FullyHarmonizedItemUpserted.new(hash)
    when Types::RULE_UPSERTED; RuleUpserted.new(hash)
    when Types::RULE_DELETED; RuleDeleted.new(hash)
    when Types::SNAPSHOT_UPSERTED; SnapshotUpserted.new(hash)
    when Types::SNAPSHOT_DELETED; SnapshotDeleted.new(hash)
    when Types::LABEL_UPSERTED; LabelUpserted.new(hash)
    when Types::LABEL_DELETED_V2; LabelDeletedV2.new(hash)
    when Types::LABEL_UPSERTED_V2; LabelUpsertedV2.new(hash)
    when Types::NOTIFICATION_UPSERTED; NotificationUpserted.new(hash)
    when Types::NOTIFICATION_DELETED; NotificationDeleted.new(hash)
    when Types::MANIFESTED_LABEL_UPSERTED; ManifestedLabelUpserted.new(hash)
    when Types::MANIFESTED_LABEL_DELETED; ManifestedLabelDeleted.new(hash)
    when Types::LOCAL_ITEM_UPSERTED; LocalItemUpserted.new(hash)
    when Types::LOCAL_ITEM_DELETED; LocalItemDeleted.new(hash)
    when Types::CHECKOUT_OPTIN_RESPONSES_UPSERTED; CheckoutOptinResponsesUpserted.new(hash)
    when Types::CHECKOUT_OPTIN_RESPONSES_DELETED; CheckoutOptinResponsesDeleted.new(hash)
    when Types::BROWSE_OPTIN_RESPONSES_UPSERTED; BrowseOptinResponsesUpserted.new(hash)
    when Types::BROWSE_OPTIN_RESPONSES_DELETED; BrowseOptinResponsesDeleted.new(hash)
    when Types::ORDER_PLACED; OrderPlaced.new(hash)
    when Types::ORDER_PLACED_V2; OrderPlacedV2.new(hash)
    when Types::READY_TO_FULFILL; ReadyToFulfill.new(hash)
    when Types::MEMBERSHIP_UPSERTED_V2; MembershipUpsertedV2.new(hash)
    when Types::MEMBERSHIP_DELETED_V2; MembershipDeletedV2.new(hash)
    when Types::ORGANIZATION_UPSERTED; OrganizationUpserted.new(hash)
    when Types::ORGANIZATION_DELETED; OrganizationDeleted.new(hash)
    when Types::ORGANIZATION_UPSERTED_V2; OrganizationUpsertedV2.new(hash)
    when Types::ORGANIZATION_DELETED_V2; OrganizationDeletedV2.new(hash)
    when Types::ORGANIZATION_SHORT_ID_UPSERTED; OrganizationShortIdUpserted.new(hash)
    when Types::ORGANIZATION_SHORT_ID_DELETED; OrganizationShortIdDeleted.new(hash)
    when Types::ORGANIZATION_DEFAULT_CONFIGURATIONS_UPSERTED; OrganizationDefaultConfigurationsUpserted.new(hash)
    when Types::ORGANIZATION_DEFAULT_CONFIGURATIONS_DELETED; OrganizationDefaultConfigurationsDeleted.new(hash)
    when Types::ECOMMERCE_PLATFORM_UPSERTED; EcommercePlatformUpserted.new(hash)
    when Types::ECOMMERCE_PLATFORM_DELETED; EcommercePlatformDeleted.new(hash)
    when Types::AUTHORIZATION_DELETED_V2; AuthorizationDeletedV2.new(hash)
    when Types::AUTHORIZATION_STATUS_CHANGED; AuthorizationStatusChanged.new(hash)
    when Types::CARD_AUTHORIZATION_UPSERTED_V2; CardAuthorizationUpsertedV2.new(hash)
    when Types::CARD_AUTHORIZATION_DELETED_V2; CardAuthorizationDeletedV2.new(hash)
    when Types::ONLINE_AUTHORIZATION_UPSERTED_V2; OnlineAuthorizationUpsertedV2.new(hash)
    when Types::ONLINE_AUTHORIZATION_DELETED_V2; OnlineAuthorizationDeletedV2.new(hash)
    when Types::CAPTURE_UPSERTED_V2; CaptureUpsertedV2.new(hash)
    when Types::CAPTURE_DELETED; CaptureDeleted.new(hash)
    when Types::CARD_UPSERTED_V2; CardUpsertedV2.new(hash)
    when Types::CARD_DELETED; CardDeleted.new(hash)
    when Types::PAYMENT_UPSERTED; PaymentUpserted.new(hash)
    when Types::PAYMENT_DELETED; PaymentDeleted.new(hash)
    when Types::REFUND_UPSERTED_V2; RefundUpsertedV2.new(hash)
    when Types::REFUND_DELETED_V2; RefundDeletedV2.new(hash)
    when Types::REFUND_CAPTURE_UPSERTED_V2; RefundCaptureUpsertedV2.new(hash)
    when Types::REVERSAL_UPSERTED; ReversalUpserted.new(hash)
    when Types::REVERSAL_DELETED; ReversalDeleted.new(hash)
    when Types::CAPTURE_IDENTIFIER_UPSERTED; CaptureIdentifierUpserted.new(hash)
    when Types::CAPTURE_IDENTIFIER_DELETED; CaptureIdentifierDeleted.new(hash)
    when Types::REFUND_IDENTIFIER_UPSERTED; RefundIdentifierUpserted.new(hash)
    when Types::REFUND_IDENTIFIER_DELETED; RefundIdentifierDeleted.new(hash)
    when Types::VIRTUAL_CARD_CAPTURE_UPSERTED; VirtualCardCaptureUpserted.new(hash)
    when Types::VIRTUAL_CARD_CAPTURE_DELETED; VirtualCardCaptureDeleted.new(hash)
    when Types::VIRTUAL_CARD_REFUND_UPSERTED; VirtualCardRefundUpserted.new(hash)
    when Types::VIRTUAL_CARD_REFUND_DELETED; VirtualCardRefundDeleted.new(hash)
    when Types::PRICE_BOOK_UPSERTED; PriceBookUpserted.new(hash)
    when Types::PRICE_BOOK_DELETED; PriceBookDeleted.new(hash)
    when Types::PRICE_BOOK_ITEM_UPSERTED; PriceBookItemUpserted.new(hash)
    when Types::PRICE_BOOK_ITEM_DELETED; PriceBookItemDeleted.new(hash)
    when Types::ORGANIZATION_RATES_PUBLISHED; OrganizationRatesPublished.new(hash)
    when Types::RATECARD_LANE_UPSERTED; RatecardLaneUpserted.new(hash)
    when Types::RATECARD_LANE_DELETED; RatecardLaneDeleted.new(hash)
    when Types::RATECARD_UPSERTED; RatecardUpserted.new(hash)
    when Types::RATECARD_DELETED; RatecardDeleted.new(hash)
    when Types::RETURN_UPSERTED; ReturnUpserted.new(hash)
    when Types::RETURN_DELETED; ReturnDeleted.new(hash)
    when Types::SHOPIFY_LOCALIZATION_SETTING_UPSERTED; ShopifyLocalizationSettingUpserted.new(hash)
    when Types::SHOPIFY_LOCALIZATION_SETTING_DELETED; ShopifyLocalizationSettingDeleted.new(hash)
    when Types::TRACKING_LABEL_EVENT_UPSERTED; TrackingLabelEventUpserted.new(hash)
    else EventUndefinedType.new(:discriminator => discriminator)
  end
end

Instance Method Details

#subtype_to_hashObject



8880
8881
8882
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8880

def subtype_to_hash
  raise 'Cannot serialize an instance of event directly - must use one of the specific types: attribute_upserted, attribute_deleted, attribute_upserted_v2, attribute_deleted_v2, catalog_upserted, catalog_deleted, subcatalog_upserted, subcatalog_deleted, catalog_item_upserted, catalog_item_deleted, catalog_item_upserted_v2, catalog_item_deleted_v2, subcatalog_item_upserted, subcatalog_item_deleted, b2b_invoice_upserted, b2b_invoice_deleted, b2b_credit_memo_upserted, b2b_credit_memo_deleted, consumer_invoice_upserted, consumer_invoice_deleted, credit_memo_upserted, credit_memo_deleted, crossdock_shipment_upserted, rate_deleted, rate_upserted, rate_deleted_v3, rate_upserted_v3, customer_upserted, customer_deleted, customer_address_book_contact_upserted, customer_address_book_contact_deleted, email_notification_upserted, email_notification_deleted, available_promotions_upserted, available_promotions_deleted, available_promotions_upserted_v2, available_promotions_deleted_v2, allocation_deleted_v2, allocation_upserted_v2, currency_format_deleted, currency_format_upserted, experience_deleted, experience_upserted, experience_deleted_v2, experience_upserted_v2, experience_price_book_mapping_deleted, experience_price_book_mapping_upserted, experience_logistics_settings_upserted, experience_logistics_settings_deleted, item_margin_deleted, item_margin_upserted, item_sales_margin_deleted, item_sales_margin_upserted, label_format_deleted, label_format_upserted, order_deleted, order_upserted, order_deleted_v2, order_upserted_v2, order_identifier_deleted, order_identifier_upserted, order_identifier_deleted_v2, order_identifier_upserted_v2, order_identifier_upserted_v3, pricing_deleted, pricing_upserted, order_service_change_request, fraud_status_changed, center_upserted, center_deleted, shipping_configuration_upserted, shipping_configuration_deleted, tier_upserted_v2, tier_deleted_v2, shipping_lane_upserted, shipping_lane_deleted, shipping_configuration_item_availability_upserted, shipping_configuration_item_availability_deleted, shipping_configuration_item_shipping_pricing_upserted, shipping_configuration_item_shipping_pricing_deleted, hs6_code_upserted, hs6_code_deleted, hs10_code_upserted, hs10_code_deleted, item_origin_upserted, item_origin_deleted, harmonized_landed_cost_upserted, fully_harmonized_item_upserted, rule_upserted, rule_deleted, snapshot_upserted, snapshot_deleted, label_upserted, label_deleted_v2, label_upserted_v2, notification_upserted, notification_deleted, manifested_label_upserted, manifested_label_deleted, local_item_upserted, local_item_deleted, checkout_optin_responses_upserted, checkout_optin_responses_deleted, browse_optin_responses_upserted, browse_optin_responses_deleted, order_placed, order_placed_v2, ready_to_fulfill, membership_upserted_v2, membership_deleted_v2, organization_upserted, organization_deleted, organization_upserted_v2, organization_deleted_v2, organization_short_id_upserted, organization_short_id_deleted, organization_default_configurations_upserted, organization_default_configurations_deleted, ecommerce_platform_upserted, ecommerce_platform_deleted, authorization_deleted_v2, authorization_status_changed, card_authorization_upserted_v2, card_authorization_deleted_v2, online_authorization_upserted_v2, online_authorization_deleted_v2, capture_upserted_v2, capture_deleted, card_upserted_v2, card_deleted, payment_upserted, payment_deleted, refund_upserted_v2, refund_deleted_v2, refund_capture_upserted_v2, reversal_upserted, reversal_deleted, capture_identifier_upserted, capture_identifier_deleted, refund_identifier_upserted, refund_identifier_deleted, virtual_card_capture_upserted, virtual_card_capture_deleted, virtual_card_refund_upserted, virtual_card_refund_deleted, price_book_upserted, price_book_deleted, price_book_item_upserted, price_book_item_deleted, organization_rates_published, ratecard_lane_upserted, ratecard_lane_deleted, ratecard_upserted, ratecard_deleted, return_upserted, return_deleted, shopify_localization_setting_upserted, shopify_localization_setting_deleted, tracking_label_event_upserted'
end

#to_hashObject



8884
8885
8886
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8884

def to_hash
  subtype_to_hash.merge(:discriminator => @discriminator)
end