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.



9125
9126
9127
9128
9129
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 9125

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.



9123
9124
9125
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 9123

def discriminator
  @discriminator
end

Class Method Details

.from_json(hash) ⇒ Object



9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 9139

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



9131
9132
9133
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 9131

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



9135
9136
9137
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 9135

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