class Io::Flow::V0::Models::Event
Attributes
discriminator[R]
Public Class Methods
from_json(hash)
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 11195 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::TEST_UPSERTED; TestUpserted.new(hash) when Types::TRANSACTION_UPSERTED; TransactionUpserted.new(hash) when Types::ORGANIZATION_TRANSACTION_UPSERTED; OrganizationTransactionUpserted.new(hash) when Types::ORGANIZATION_TRANSACTION_DELETED; OrganizationTransactionDeleted.new(hash) when Types::STATEMENT_UPSERTED; StatementUpserted.new(hash) when Types::STATEMENT_DELETED; StatementDeleted.new(hash) when Types::CHANNEL_TRANSACTION_UPSERTED; ChannelTransactionUpserted.new(hash) when Types::CHANNEL_TRANSACTION_DELETED; ChannelTransactionDeleted.new(hash) when Types::CHANNEL_TRANSACTION_DELETED_V2; ChannelTransactionDeletedV2.new(hash) when Types::CHANNEL_STATEMENT_UPSERTED; ChannelStatementUpserted.new(hash) when Types::CHANNEL_STATEMENT_DELETED; ChannelStatementDeleted.new(hash) when Types::CHANNEL_PAYOUT_UPSERTED; ChannelPayoutUpserted.new(hash) when Types::CHANNEL_PAYOUT_DELETED; ChannelPayoutDeleted.new(hash) when Types::ORGANIZATION_PAYOUT_UPSERTED; OrganizationPayoutUpserted.new(hash) when Types::ORGANIZATION_PAYOUT_DELETED; OrganizationPayoutDeleted.new(hash) 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::CATALOG_STATISTICS_UPSERTED; CatalogStatisticsUpserted.new(hash) when Types::CATALOG_STATISTICS_DELETED; CatalogStatisticsDeleted.new(hash) when Types::CHANNEL_UPSERTED; ChannelUpserted.new(hash) when Types::CHANNEL_DELETED; ChannelDeleted.new(hash) when Types::CHANNEL_CURRENCY_UPSERTED; ChannelCurrencyUpserted.new(hash) when Types::CHANNEL_CURRENCY_DELETED; ChannelCurrencyDeleted.new(hash) when Types::CHANNEL_ORGANIZATION_UPSERTED; ChannelOrganizationUpserted.new(hash) when Types::CHANNEL_ORGANIZATION_DELETED; ChannelOrganizationDeleted.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::COUNTRY_STATUS_UPSERTED; CountryStatusUpserted.new(hash) when Types::COUNTRY_STATUS_DELETED; CountryStatusDeleted.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_V2; ItemMarginDeletedV2.new(hash) when Types::ITEM_MARGIN_UPSERTED_V2; ItemMarginUpsertedV2.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::ORDER_REPLACEMENT_UPSERTED; OrderReplacementUpserted.new(hash) when Types::ORDER_REPLACEMENT_DELETED; OrderReplacementDeleted.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::IMPORT_COMPLETED_V2; ImportCompletedV2.new(hash) when Types::IMPORT_FAILED_V2; ImportFailedV2.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_V2; NotificationUpsertedV2.new(hash) when Types::NOTIFICATION_DELETED_V2; NotificationDeletedV2.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::MERCHANT_APPLICATION_UPSERTED; MerchantApplicationUpserted.new(hash) when Types::MERCHANT_APPLICATION_DELETED; MerchantApplicationDeleted.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::READY_TO_FULFILL_V2; ReadyToFulfillV2.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_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::ORGANIZATION_ONBOARDING_STATE_UPSERTED; OrganizationOnboardingStateUpserted.new(hash) when Types::ORGANIZATION_ONBOARDING_STATE_DELETED; OrganizationOnboardingStateDeleted.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::PAYMENT_REQUEST_UPSERTED; PaymentRequestUpserted.new(hash) when Types::PAYMENT_REQUEST_DELETED; PaymentRequestDeleted.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::PRODUCT_RESTRICTION_RESULT_UPSERTED; ProductRestrictionResultUpserted.new(hash) when Types::PRODUCT_RESTRICTION_RESULT_DELETED; ProductRestrictionResultDeleted.new(hash) when Types::RETURN_UPSERTED; ReturnUpserted.new(hash) when Types::RETURN_DELETED; ReturnDeleted.new(hash) when Types::RETURN_UPSERTED_V2; ReturnUpsertedV2.new(hash) when Types::RETURN_DELETED_V2; ReturnDeletedV2.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
new(incoming={})
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 11181 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
Public Instance Methods
subtype_to_hash()
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 11187 def subtype_to_hash raise 'Cannot serialize an instance of event directly - must use one of the specific types: test_upserted, transaction_upserted, organization_transaction_upserted, organization_transaction_deleted, statement_upserted, statement_deleted, channel_transaction_upserted, channel_transaction_deleted, channel_transaction_deleted_v2, channel_statement_upserted, channel_statement_deleted, channel_payout_upserted, channel_payout_deleted, organization_payout_upserted, organization_payout_deleted, 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, catalog_statistics_upserted, catalog_statistics_deleted, channel_upserted, channel_deleted, channel_currency_upserted, channel_currency_deleted, channel_organization_upserted, channel_organization_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, country_status_upserted, country_status_deleted, experience_price_book_mapping_deleted, experience_price_book_mapping_upserted, experience_logistics_settings_upserted, experience_logistics_settings_deleted, item_margin_deleted_v2, item_margin_upserted_v2, 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, order_replacement_upserted, order_replacement_deleted, 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, import_completed_v2, import_failed_v2, rule_upserted, rule_deleted, snapshot_upserted, snapshot_deleted, label_upserted, label_deleted_v2, label_upserted_v2, notification_upserted_v2, notification_deleted_v2, manifested_label_upserted, manifested_label_deleted, local_item_upserted, local_item_deleted, merchant_application_upserted, merchant_application_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, ready_to_fulfill_v2, membership_upserted_v2, membership_deleted_v2, organization_upserted, organization_deleted, organization_upserted_v2, organization_deleted_v2, organization_default_configurations_upserted, organization_default_configurations_deleted, ecommerce_platform_upserted, ecommerce_platform_deleted, organization_onboarding_state_upserted, organization_onboarding_state_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, payment_request_upserted, payment_request_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, product_restriction_result_upserted, product_restriction_result_deleted, return_upserted, return_deleted, return_upserted_v2, return_deleted_v2, shopify_localization_setting_upserted, shopify_localization_setting_deleted, tracking_label_event_upserted' end
to_hash()
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 11191 def to_hash subtype_to_hash.merge(:discriminator => @discriminator) end