Class: Io::Flow::V0::Models::EventType
- Inherits:
-
Object
- Object
- Io::Flow::V0::Models::EventType
- Defined in:
- lib/flow_commerce/flow_api_v0_client.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Class Method Summary collapse
- .ALL ⇒ Object
- .allocation_deleted ⇒ Object
- .allocation_upserted ⇒ Object
-
.apply(value) ⇒ Object
Returns the instance of EventType for this value, creating a new instance for an unknown value.
- .attribute_deleted ⇒ Object
- .attribute_upserted ⇒ Object
- .authorization_deleted ⇒ Object
- .authorization_deleted_v2 ⇒ Object
- .authorization_status_changed ⇒ Object
- .authorization_upserted ⇒ Object
- .available_promotions_deleted ⇒ Object
- .available_promotions_upserted ⇒ Object
- .capture_upserted ⇒ Object
- .capture_upserted_v2 ⇒ Object
- .card_authorization_upserted ⇒ Object
- .card_authorization_upserted_v2 ⇒ Object
- .card_deleted ⇒ Object
- .card_upserted ⇒ Object
- .card_upserted_v2 ⇒ Object
- .catalog_deleted ⇒ Object
- .catalog_item_deleted ⇒ Object
- .catalog_item_upserted ⇒ Object
- .catalog_upserted ⇒ Object
- .experience_deleted ⇒ Object
- .experience_upserted ⇒ Object
-
.from_string(value) ⇒ Object
Returns the instance of EventType for this value, or nil if not found.
- .harmonized_item_deleted ⇒ Object
- .harmonized_item_upserted ⇒ Object
- .hs10_code_deleted ⇒ Object
- .hs10_code_upserted ⇒ Object
- .hs6_code_deleted ⇒ Object
- .hs6_code_upserted ⇒ Object
- .item_margin_deleted ⇒ Object
- .item_margin_upserted ⇒ Object
- .item_origin_deleted ⇒ Object
- .item_origin_upserted ⇒ Object
- .item_sales_margin_deleted ⇒ Object
- .item_sales_margin_upserted ⇒ Object
- .label_format_deleted ⇒ Object
- .label_format_upserted ⇒ Object
- .label_upserted ⇒ Object
- .localized_item_deleted ⇒ Object
- .localized_item_snapshot ⇒ Object
- .localized_item_upserted ⇒ Object
- .membership_deleted ⇒ Object
- .membership_upserted ⇒ Object
- .notification_deleted ⇒ Object
- .notification_upserted ⇒ Object
- .online_authorization_upserted ⇒ Object
- .online_authorization_upserted_v2 ⇒ Object
- .order_deleted ⇒ Object
- .order_identifier_deleted ⇒ Object
- .order_identifier_upserted ⇒ Object
- .order_upserted ⇒ Object
- .organization_deleted ⇒ Object
- .organization_upserted ⇒ Object
- .payment_deleted ⇒ Object
- .payment_upserted ⇒ Object
- .pricing_deleted ⇒ Object
- .pricing_upserted ⇒ Object
- .rate_deleted ⇒ Object
- .rate_upserted ⇒ Object
- .refund_upserted ⇒ Object
- .refund_upserted_v2 ⇒ Object
- .return_deleted ⇒ Object
- .return_upserted ⇒ Object
- .snapshot_deleted ⇒ Object
- .snapshot_upserted ⇒ Object
- .subcatalog_deleted ⇒ Object
- .subcatalog_item_deleted ⇒ Object
- .subcatalog_item_upserted ⇒ Object
- .subcatalog_upserted ⇒ Object
- .targeting_item_deleted ⇒ Object
- .targeting_item_upserted ⇒ Object
- .tier_deleted ⇒ Object
- .tier_upserted ⇒ Object
- .tracking_label_event_upserted ⇒ Object
Instance Method Summary collapse
-
#initialize(value) ⇒ EventType
constructor
A new instance of EventType.
- #to_hash ⇒ Object
Constructor Details
#initialize(value) ⇒ EventType
Returns a new instance of EventType.
7394 7395 7396 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7394 def initialize(value) @value = HttpClient::Preconditions.assert_class('value', value, String) end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
7392 7393 7394 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7392 def value @value end |
Class Method Details
.ALL ⇒ Object
.allocation_deleted ⇒ Object
7474 7475 7476 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7474 def EventType.allocation_deleted @@_allocation_deleted ||= EventType.new('allocation_deleted') end |
.allocation_upserted ⇒ Object
7478 7479 7480 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7478 def EventType.allocation_upserted @@_allocation_upserted ||= EventType.new('allocation_upserted') end |
.apply(value) ⇒ Object
Returns the instance of EventType for this value, creating a new instance for an unknown value
7399 7400 7401 7402 7403 7404 7405 7406 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7399 def EventType.apply(value) if value.instance_of?(EventType) value else HttpClient::Preconditions.assert_class_or_nil('value', value, String) value.nil? ? nil : (from_string(value) || EventType.new(value)) end end |
.attribute_deleted ⇒ Object
7422 7423 7424 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7422 def EventType.attribute_deleted @@_attribute_deleted ||= EventType.new('attribute_deleted') end |
.attribute_upserted ⇒ Object
7418 7419 7420 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7418 def EventType.attribute_upserted @@_attribute_upserted ||= EventType.new('attribute_upserted') end |
.authorization_deleted ⇒ Object
7630 7631 7632 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7630 def EventType. @@_authorization_deleted ||= EventType.new('authorization_deleted') end |
.authorization_deleted_v2 ⇒ Object
7634 7635 7636 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7634 def EventType. @@_authorization_deleted_v2 ||= EventType.new('authorization_deleted_v2') end |
.authorization_status_changed ⇒ Object
7638 7639 7640 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7638 def EventType. @@_authorization_status_changed ||= EventType.new('authorization_status_changed') end |
.authorization_upserted ⇒ Object
7626 7627 7628 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7626 def EventType. @@_authorization_upserted ||= EventType.new('authorization_upserted') end |
.available_promotions_deleted ⇒ Object
7470 7471 7472 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7470 def EventType.available_promotions_deleted @@_available_promotions_deleted ||= EventType.new('available_promotions_deleted') end |
.available_promotions_upserted ⇒ Object
7466 7467 7468 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7466 def EventType.available_promotions_upserted @@_available_promotions_upserted ||= EventType.new('available_promotions_upserted') end |
.capture_upserted ⇒ Object
7658 7659 7660 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7658 def EventType.capture_upserted @@_capture_upserted ||= EventType.new('capture_upserted') end |
.capture_upserted_v2 ⇒ Object
7662 7663 7664 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7662 def EventType.capture_upserted_v2 @@_capture_upserted_v2 ||= EventType.new('capture_upserted_v2') end |
.card_authorization_upserted ⇒ Object
7642 7643 7644 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7642 def EventType. @@_card_authorization_upserted ||= EventType.new('card_authorization_upserted') end |
.card_authorization_upserted_v2 ⇒ Object
7646 7647 7648 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7646 def EventType. @@_card_authorization_upserted_v2 ||= EventType.new('card_authorization_upserted_v2') end |
.card_deleted ⇒ Object
7674 7675 7676 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7674 def EventType.card_deleted @@_card_deleted ||= EventType.new('card_deleted') end |
.card_upserted ⇒ Object
7666 7667 7668 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7666 def EventType.card_upserted @@_card_upserted ||= EventType.new('card_upserted') end |
.card_upserted_v2 ⇒ Object
7670 7671 7672 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7670 def EventType.card_upserted_v2 @@_card_upserted_v2 ||= EventType.new('card_upserted_v2') end |
.catalog_deleted ⇒ Object
7430 7431 7432 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7430 def EventType.catalog_deleted @@_catalog_deleted ||= EventType.new('catalog_deleted') end |
.catalog_item_deleted ⇒ Object
7446 7447 7448 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7446 def EventType.catalog_item_deleted @@_catalog_item_deleted ||= EventType.new('catalog_item_deleted') end |
.catalog_item_upserted ⇒ Object
7442 7443 7444 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7442 def EventType.catalog_item_upserted @@_catalog_item_upserted ||= EventType.new('catalog_item_upserted') end |
.catalog_upserted ⇒ Object
7426 7427 7428 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7426 def EventType.catalog_upserted @@_catalog_upserted ||= EventType.new('catalog_upserted') end |
.experience_deleted ⇒ Object
7482 7483 7484 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7482 def EventType.experience_deleted @@_experience_deleted ||= EventType.new('experience_deleted') end |
.experience_upserted ⇒ Object
7486 7487 7488 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7486 def EventType.experience_upserted @@_experience_upserted ||= EventType.new('experience_upserted') end |
.from_string(value) ⇒ Object
Returns the instance of EventType for this value, or nil if not found
7409 7410 7411 7412 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7409 def EventType.from_string(value) HttpClient::Preconditions.assert_class('value', value, String) EventType.ALL.find { |v| v.value == value } end |
.harmonized_item_deleted ⇒ Object
7574 7575 7576 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7574 def EventType.harmonized_item_deleted @@_harmonized_item_deleted ||= EventType.new('harmonized_item_deleted') end |
.harmonized_item_upserted ⇒ Object
7570 7571 7572 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7570 def EventType.harmonized_item_upserted @@_harmonized_item_upserted ||= EventType.new('harmonized_item_upserted') end |
.hs10_code_deleted ⇒ Object
7558 7559 7560 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7558 def EventType.hs10_code_deleted @@_hs10_code_deleted ||= EventType.new('hs10_code_deleted') end |
.hs10_code_upserted ⇒ Object
7554 7555 7556 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7554 def EventType.hs10_code_upserted @@_hs10_code_upserted ||= EventType.new('hs10_code_upserted') end |
.hs6_code_deleted ⇒ Object
7550 7551 7552 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7550 def EventType.hs6_code_deleted @@_hs6_code_deleted ||= EventType.new('hs6_code_deleted') end |
.hs6_code_upserted ⇒ Object
7546 7547 7548 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7546 def EventType.hs6_code_upserted @@_hs6_code_upserted ||= EventType.new('hs6_code_upserted') end |
.item_margin_deleted ⇒ Object
7490 7491 7492 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7490 def EventType.item_margin_deleted @@_item_margin_deleted ||= EventType.new('item_margin_deleted') end |
.item_margin_upserted ⇒ Object
7494 7495 7496 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7494 def EventType.item_margin_upserted @@_item_margin_upserted ||= EventType.new('item_margin_upserted') end |
.item_origin_deleted ⇒ Object
7566 7567 7568 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7566 def EventType.item_origin_deleted @@_item_origin_deleted ||= EventType.new('item_origin_deleted') end |
.item_origin_upserted ⇒ Object
7562 7563 7564 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7562 def EventType.item_origin_upserted @@_item_origin_upserted ||= EventType.new('item_origin_upserted') end |
.item_sales_margin_deleted ⇒ Object
7498 7499 7500 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7498 def EventType.item_sales_margin_deleted @@_item_sales_margin_deleted ||= EventType.new('item_sales_margin_deleted') end |
.item_sales_margin_upserted ⇒ Object
7502 7503 7504 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7502 def EventType.item_sales_margin_upserted @@_item_sales_margin_upserted ||= EventType.new('item_sales_margin_upserted') end |
.label_format_deleted ⇒ Object
7506 7507 7508 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7506 def EventType.label_format_deleted @@_label_format_deleted ||= EventType.new('label_format_deleted') end |
.label_format_upserted ⇒ Object
7510 7511 7512 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7510 def EventType.label_format_upserted @@_label_format_upserted ||= EventType.new('label_format_upserted') end |
.label_upserted ⇒ Object
7586 7587 7588 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7586 def EventType.label_upserted @@_label_upserted ||= EventType.new('label_upserted') end |
.localized_item_deleted ⇒ Object
7602 7603 7604 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7602 def EventType.localized_item_deleted @@_localized_item_deleted ||= EventType.new('localized_item_deleted') end |
.localized_item_snapshot ⇒ Object
7606 7607 7608 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7606 def EventType.localized_item_snapshot @@_localized_item_snapshot ||= EventType.new('localized_item_snapshot') end |
.localized_item_upserted ⇒ Object
7598 7599 7600 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7598 def EventType.localized_item_upserted @@_localized_item_upserted ||= EventType.new('localized_item_upserted') end |
.membership_deleted ⇒ Object
7614 7615 7616 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7614 def EventType.membership_deleted @@_membership_deleted ||= EventType.new('membership_deleted') end |
.membership_upserted ⇒ Object
7610 7611 7612 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7610 def EventType.membership_upserted @@_membership_upserted ||= EventType.new('membership_upserted') end |
.notification_deleted ⇒ Object
7594 7595 7596 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7594 def EventType.notification_deleted @@_notification_deleted ||= EventType.new('notification_deleted') end |
.notification_upserted ⇒ Object
7590 7591 7592 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7590 def EventType.notification_upserted @@_notification_upserted ||= EventType.new('notification_upserted') end |
.online_authorization_upserted ⇒ Object
7650 7651 7652 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7650 def EventType. @@_online_authorization_upserted ||= EventType.new('online_authorization_upserted') end |
.online_authorization_upserted_v2 ⇒ Object
7654 7655 7656 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7654 def EventType. @@_online_authorization_upserted_v2 ||= EventType.new('online_authorization_upserted_v2') end |
.order_deleted ⇒ Object
7514 7515 7516 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7514 def EventType.order_deleted @@_order_deleted ||= EventType.new('order_deleted') end |
.order_identifier_deleted ⇒ Object
7522 7523 7524 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7522 def EventType.order_identifier_deleted @@_order_identifier_deleted ||= EventType.new('order_identifier_deleted') end |
.order_identifier_upserted ⇒ Object
7526 7527 7528 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7526 def EventType.order_identifier_upserted @@_order_identifier_upserted ||= EventType.new('order_identifier_upserted') end |
.order_upserted ⇒ Object
7518 7519 7520 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7518 def EventType.order_upserted @@_order_upserted ||= EventType.new('order_upserted') end |
.organization_deleted ⇒ Object
7622 7623 7624 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7622 def EventType.organization_deleted @@_organization_deleted ||= EventType.new('organization_deleted') end |
.organization_upserted ⇒ Object
7618 7619 7620 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7618 def EventType.organization_upserted @@_organization_upserted ||= EventType.new('organization_upserted') end |
.payment_deleted ⇒ Object
7682 7683 7684 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7682 def EventType.payment_deleted @@_payment_deleted ||= EventType.new('payment_deleted') end |
.payment_upserted ⇒ Object
7678 7679 7680 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7678 def EventType.payment_upserted @@_payment_upserted ||= EventType.new('payment_upserted') end |
.pricing_deleted ⇒ Object
7530 7531 7532 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7530 def EventType.pricing_deleted @@_pricing_deleted ||= EventType.new('pricing_deleted') end |
.pricing_upserted ⇒ Object
7534 7535 7536 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7534 def EventType.pricing_upserted @@_pricing_upserted ||= EventType.new('pricing_upserted') end |
.rate_deleted ⇒ Object
7458 7459 7460 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7458 def EventType.rate_deleted @@_rate_deleted ||= EventType.new('rate_deleted') end |
.rate_upserted ⇒ Object
7462 7463 7464 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7462 def EventType.rate_upserted @@_rate_upserted ||= EventType.new('rate_upserted') end |
.refund_upserted ⇒ Object
7686 7687 7688 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7686 def EventType.refund_upserted @@_refund_upserted ||= EventType.new('refund_upserted') end |
.refund_upserted_v2 ⇒ Object
7690 7691 7692 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7690 def EventType.refund_upserted_v2 @@_refund_upserted_v2 ||= EventType.new('refund_upserted_v2') end |
.return_deleted ⇒ Object
7698 7699 7700 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7698 def EventType.return_deleted @@_return_deleted ||= EventType.new('return_deleted') end |
.return_upserted ⇒ Object
7694 7695 7696 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7694 def EventType.return_upserted @@_return_upserted ||= EventType.new('return_upserted') end |
.snapshot_deleted ⇒ Object
7582 7583 7584 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7582 def EventType.snapshot_deleted @@_snapshot_deleted ||= EventType.new('snapshot_deleted') end |
.snapshot_upserted ⇒ Object
7578 7579 7580 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7578 def EventType.snapshot_upserted @@_snapshot_upserted ||= EventType.new('snapshot_upserted') end |
.subcatalog_deleted ⇒ Object
7438 7439 7440 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7438 def EventType.subcatalog_deleted @@_subcatalog_deleted ||= EventType.new('subcatalog_deleted') end |
.subcatalog_item_deleted ⇒ Object
7454 7455 7456 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7454 def EventType.subcatalog_item_deleted @@_subcatalog_item_deleted ||= EventType.new('subcatalog_item_deleted') end |
.subcatalog_item_upserted ⇒ Object
7450 7451 7452 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7450 def EventType.subcatalog_item_upserted @@_subcatalog_item_upserted ||= EventType.new('subcatalog_item_upserted') end |
.subcatalog_upserted ⇒ Object
7434 7435 7436 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7434 def EventType.subcatalog_upserted @@_subcatalog_upserted ||= EventType.new('subcatalog_upserted') end |
.targeting_item_deleted ⇒ Object
7706 7707 7708 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7706 def EventType.targeting_item_deleted @@_targeting_item_deleted ||= EventType.new('targeting_item_deleted') end |
.targeting_item_upserted ⇒ Object
7702 7703 7704 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7702 def EventType.targeting_item_upserted @@_targeting_item_upserted ||= EventType.new('targeting_item_upserted') end |
.tier_deleted ⇒ Object
7542 7543 7544 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7542 def EventType.tier_deleted @@_tier_deleted ||= EventType.new('tier_deleted') end |
Instance Method Details
#to_hash ⇒ Object
7714 7715 7716 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7714 def to_hash value end |