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
-
.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_upserted ⇒ Object
- .capture_upserted ⇒ Object
- .card_deleted ⇒ Object
- .card_upserted ⇒ 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
- .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
- .order_deleted ⇒ Object
- .order_identifier_deleted ⇒ Object
- .order_identifier_upserted ⇒ Object
- .order_upserted ⇒ Object
- .organization_deleted ⇒ Object
- .organization_upserted ⇒ Object
- .pricing_deleted ⇒ Object
- .pricing_upserted ⇒ Object
- .rate_deleted ⇒ Object
- .rate_upserted ⇒ Object
- .refund_upserted ⇒ 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.
6597 6598 6599 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6597 def initialize(value) @value = HttpClient::Preconditions.assert_class('value', value, String) end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
6595 6596 6597 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6595 def value @value end |
Class Method Details
.ALL ⇒ Object
.apply(value) ⇒ Object
Returns the instance of EventType for this value, creating a new instance for an unknown value
6602 6603 6604 6605 6606 6607 6608 6609 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6602 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
6625 6626 6627 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6625 def EventType.attribute_deleted @@_attribute_deleted ||= EventType.new('attribute_deleted') end |
.attribute_upserted ⇒ Object
6621 6622 6623 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6621 def EventType.attribute_upserted @@_attribute_upserted ||= EventType.new('attribute_upserted') end |
.authorization_deleted ⇒ Object
6809 6810 6811 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6809 def EventType. @@_authorization_deleted ||= EventType.new('authorization_deleted') end |
.authorization_upserted ⇒ Object
6805 6806 6807 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6805 def EventType. @@_authorization_upserted ||= EventType.new('authorization_upserted') end |
.capture_upserted ⇒ Object
6813 6814 6815 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6813 def EventType.capture_upserted @@_capture_upserted ||= EventType.new('capture_upserted') end |
.card_deleted ⇒ Object
6821 6822 6823 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6821 def EventType.card_deleted @@_card_deleted ||= EventType.new('card_deleted') end |
.card_upserted ⇒ Object
6817 6818 6819 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6817 def EventType.card_upserted @@_card_upserted ||= EventType.new('card_upserted') end |
.catalog_deleted ⇒ Object
6633 6634 6635 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6633 def EventType.catalog_deleted @@_catalog_deleted ||= EventType.new('catalog_deleted') end |
.catalog_item_deleted ⇒ Object
6649 6650 6651 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6649 def EventType.catalog_item_deleted @@_catalog_item_deleted ||= EventType.new('catalog_item_deleted') end |
.catalog_item_upserted ⇒ Object
6645 6646 6647 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6645 def EventType.catalog_item_upserted @@_catalog_item_upserted ||= EventType.new('catalog_item_upserted') end |
.catalog_upserted ⇒ Object
6629 6630 6631 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6629 def EventType.catalog_upserted @@_catalog_upserted ||= EventType.new('catalog_upserted') end |
.experience_deleted ⇒ Object
6669 6670 6671 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6669 def EventType.experience_deleted @@_experience_deleted ||= EventType.new('experience_deleted') end |
.experience_upserted ⇒ Object
6673 6674 6675 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6673 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
6612 6613 6614 6615 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6612 def EventType.from_string(value) HttpClient::Preconditions.assert_class('value', value, String) EventType.ALL.find { |v| v.value == value } end |
.harmonized_item_deleted ⇒ Object
6753 6754 6755 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6753 def EventType.harmonized_item_deleted @@_harmonized_item_deleted ||= EventType.new('harmonized_item_deleted') end |
.harmonized_item_upserted ⇒ Object
6749 6750 6751 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6749 def EventType.harmonized_item_upserted @@_harmonized_item_upserted ||= EventType.new('harmonized_item_upserted') end |
.hs10_code_deleted ⇒ Object
6737 6738 6739 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6737 def EventType.hs10_code_deleted @@_hs10_code_deleted ||= EventType.new('hs10_code_deleted') end |
.hs10_code_upserted ⇒ Object
6733 6734 6735 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6733 def EventType.hs10_code_upserted @@_hs10_code_upserted ||= EventType.new('hs10_code_upserted') end |
.hs6_code_deleted ⇒ Object
6729 6730 6731 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6729 def EventType.hs6_code_deleted @@_hs6_code_deleted ||= EventType.new('hs6_code_deleted') end |
.hs6_code_upserted ⇒ Object
6725 6726 6727 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6725 def EventType.hs6_code_upserted @@_hs6_code_upserted ||= EventType.new('hs6_code_upserted') end |
.item_margin_deleted ⇒ Object
6677 6678 6679 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6677 def EventType.item_margin_deleted @@_item_margin_deleted ||= EventType.new('item_margin_deleted') end |
.item_margin_upserted ⇒ Object
6681 6682 6683 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6681 def EventType.item_margin_upserted @@_item_margin_upserted ||= EventType.new('item_margin_upserted') end |
.item_origin_deleted ⇒ Object
6745 6746 6747 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6745 def EventType.item_origin_deleted @@_item_origin_deleted ||= EventType.new('item_origin_deleted') end |
.item_origin_upserted ⇒ Object
6741 6742 6743 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6741 def EventType.item_origin_upserted @@_item_origin_upserted ||= EventType.new('item_origin_upserted') end |
.label_format_deleted ⇒ Object
6685 6686 6687 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6685 def EventType.label_format_deleted @@_label_format_deleted ||= EventType.new('label_format_deleted') end |
.label_format_upserted ⇒ Object
6689 6690 6691 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6689 def EventType.label_format_upserted @@_label_format_upserted ||= EventType.new('label_format_upserted') end |
.label_upserted ⇒ Object
6765 6766 6767 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6765 def EventType.label_upserted @@_label_upserted ||= EventType.new('label_upserted') end |
.localized_item_deleted ⇒ Object
6781 6782 6783 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6781 def EventType.localized_item_deleted @@_localized_item_deleted ||= EventType.new('localized_item_deleted') end |
.localized_item_snapshot ⇒ Object
6785 6786 6787 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6785 def EventType.localized_item_snapshot @@_localized_item_snapshot ||= EventType.new('localized_item_snapshot') end |
.localized_item_upserted ⇒ Object
6777 6778 6779 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6777 def EventType.localized_item_upserted @@_localized_item_upserted ||= EventType.new('localized_item_upserted') end |
.membership_deleted ⇒ Object
6793 6794 6795 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6793 def EventType.membership_deleted @@_membership_deleted ||= EventType.new('membership_deleted') end |
.membership_upserted ⇒ Object
6789 6790 6791 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6789 def EventType.membership_upserted @@_membership_upserted ||= EventType.new('membership_upserted') end |
.notification_deleted ⇒ Object
6773 6774 6775 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6773 def EventType.notification_deleted @@_notification_deleted ||= EventType.new('notification_deleted') end |
.notification_upserted ⇒ Object
6769 6770 6771 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6769 def EventType.notification_upserted @@_notification_upserted ||= EventType.new('notification_upserted') end |
.order_deleted ⇒ Object
6693 6694 6695 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6693 def EventType.order_deleted @@_order_deleted ||= EventType.new('order_deleted') end |
.order_identifier_deleted ⇒ Object
6701 6702 6703 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6701 def EventType.order_identifier_deleted @@_order_identifier_deleted ||= EventType.new('order_identifier_deleted') end |
.order_identifier_upserted ⇒ Object
6705 6706 6707 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6705 def EventType.order_identifier_upserted @@_order_identifier_upserted ||= EventType.new('order_identifier_upserted') end |
.order_upserted ⇒ Object
6697 6698 6699 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6697 def EventType.order_upserted @@_order_upserted ||= EventType.new('order_upserted') end |
.organization_deleted ⇒ Object
6801 6802 6803 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6801 def EventType.organization_deleted @@_organization_deleted ||= EventType.new('organization_deleted') end |
.organization_upserted ⇒ Object
6797 6798 6799 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6797 def EventType.organization_upserted @@_organization_upserted ||= EventType.new('organization_upserted') end |
.pricing_deleted ⇒ Object
6709 6710 6711 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6709 def EventType.pricing_deleted @@_pricing_deleted ||= EventType.new('pricing_deleted') end |
.pricing_upserted ⇒ Object
6713 6714 6715 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6713 def EventType.pricing_upserted @@_pricing_upserted ||= EventType.new('pricing_upserted') end |
.rate_deleted ⇒ Object
6661 6662 6663 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6661 def EventType.rate_deleted @@_rate_deleted ||= EventType.new('rate_deleted') end |
.rate_upserted ⇒ Object
6665 6666 6667 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6665 def EventType.rate_upserted @@_rate_upserted ||= EventType.new('rate_upserted') end |
.refund_upserted ⇒ Object
6825 6826 6827 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6825 def EventType.refund_upserted @@_refund_upserted ||= EventType.new('refund_upserted') end |
.return_deleted ⇒ Object
6833 6834 6835 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6833 def EventType.return_deleted @@_return_deleted ||= EventType.new('return_deleted') end |
.return_upserted ⇒ Object
6829 6830 6831 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6829 def EventType.return_upserted @@_return_upserted ||= EventType.new('return_upserted') end |
.snapshot_deleted ⇒ Object
6761 6762 6763 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6761 def EventType.snapshot_deleted @@_snapshot_deleted ||= EventType.new('snapshot_deleted') end |
.snapshot_upserted ⇒ Object
6757 6758 6759 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6757 def EventType.snapshot_upserted @@_snapshot_upserted ||= EventType.new('snapshot_upserted') end |
.subcatalog_deleted ⇒ Object
6641 6642 6643 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6641 def EventType.subcatalog_deleted @@_subcatalog_deleted ||= EventType.new('subcatalog_deleted') end |
.subcatalog_item_deleted ⇒ Object
6657 6658 6659 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6657 def EventType.subcatalog_item_deleted @@_subcatalog_item_deleted ||= EventType.new('subcatalog_item_deleted') end |
.subcatalog_item_upserted ⇒ Object
6653 6654 6655 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6653 def EventType.subcatalog_item_upserted @@_subcatalog_item_upserted ||= EventType.new('subcatalog_item_upserted') end |
.subcatalog_upserted ⇒ Object
6637 6638 6639 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6637 def EventType.subcatalog_upserted @@_subcatalog_upserted ||= EventType.new('subcatalog_upserted') end |
.targeting_item_deleted ⇒ Object
6841 6842 6843 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6841 def EventType.targeting_item_deleted @@_targeting_item_deleted ||= EventType.new('targeting_item_deleted') end |
.targeting_item_upserted ⇒ Object
6837 6838 6839 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6837 def EventType.targeting_item_upserted @@_targeting_item_upserted ||= EventType.new('targeting_item_upserted') end |
.tier_deleted ⇒ Object
6721 6722 6723 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6721 def EventType.tier_deleted @@_tier_deleted ||= EventType.new('tier_deleted') end |
Instance Method Details
#to_hash ⇒ Object
6849 6850 6851 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 6849 def to_hash value end |