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.
- .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
- .contracted_rate_upserted ⇒ Object
- .experience_deleted ⇒ Object
- .experience_upserted ⇒ Object
- .flow_currency_setting_deleted ⇒ Object
- .flow_currency_setting_upserted ⇒ Object
-
.from_string(value) ⇒ Object
Returns the instance of EventType for this value, or nil if not found.
- .hs10_code_deleted ⇒ Object
- .hs10_code_upserted ⇒ Object
- .hs6_code_deleted ⇒ Object
- .hs6_code_upserted ⇒ Object
- .item_margin_deleted ⇒ Object
- .item_margin_upserted ⇒ Object
- .label_upserted ⇒ Object
- .localized_item_deleted ⇒ Object
- .localized_item_snapshot ⇒ Object
- .localized_item_upserted ⇒ Object
- .notification_deleted ⇒ Object
- .notification_upserted ⇒ Object
- .order_booking_deleted ⇒ Object
- .order_booking_upserted ⇒ Object
- .order_deleted ⇒ Object
- .order_upserted ⇒ Object
- .organization_currency_setting_deleted ⇒ Object
- .organization_currency_setting_upserted ⇒ Object
- .organization_deleted ⇒ Object
- .organization_upserted ⇒ Object
- .rate_deleted ⇒ Object
- .rate_upserted ⇒ Object
- .refund_upserted ⇒ Object
- .spot_rate_deleted ⇒ Object
- .spot_rate_upserted ⇒ Object
- .subcatalog_deleted ⇒ Object
- .subcatalog_item_deleted ⇒ Object
- .subcatalog_item_upserted ⇒ Object
- .subcatalog_upserted ⇒ Object
- .targeting_item_deleted ⇒ Object
- .targeting_item_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.
5712 5713 5714 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5712 def initialize(value) @value = HttpClient::Preconditions.assert_class('value', value, String) end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
5710 5711 5712 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5710 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
5717 5718 5719 5720 5721 5722 5723 5724 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5717 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 |
.authorization_deleted ⇒ Object
5888 5889 5890 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5888 def EventType. @@_authorization_deleted ||= EventType.new('authorization_deleted') end |
.authorization_upserted ⇒ Object
5884 5885 5886 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5884 def EventType. @@_authorization_upserted ||= EventType.new('authorization_upserted') end |
.capture_upserted ⇒ Object
5892 5893 5894 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5892 def EventType.capture_upserted @@_capture_upserted ||= EventType.new('capture_upserted') end |
.card_deleted ⇒ Object
5900 5901 5902 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5900 def EventType.card_deleted @@_card_deleted ||= EventType.new('card_deleted') end |
.card_upserted ⇒ Object
5896 5897 5898 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5896 def EventType.card_upserted @@_card_upserted ||= EventType.new('card_upserted') end |
.catalog_deleted ⇒ Object
5740 5741 5742 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5740 def EventType.catalog_deleted @@_catalog_deleted ||= EventType.new('catalog_deleted') end |
.catalog_item_deleted ⇒ Object
5756 5757 5758 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5756 def EventType.catalog_item_deleted @@_catalog_item_deleted ||= EventType.new('catalog_item_deleted') end |
.catalog_item_upserted ⇒ Object
5752 5753 5754 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5752 def EventType.catalog_item_upserted @@_catalog_item_upserted ||= EventType.new('catalog_item_upserted') end |
.catalog_upserted ⇒ Object
5736 5737 5738 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5736 def EventType.catalog_upserted @@_catalog_upserted ||= EventType.new('catalog_upserted') end |
.contracted_rate_upserted ⇒ Object
5800 5801 5802 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5800 def EventType.contracted_rate_upserted @@_contracted_rate_upserted ||= EventType.new('contracted_rate_upserted') end |
.experience_deleted ⇒ Object
5804 5805 5806 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5804 def EventType.experience_deleted @@_experience_deleted ||= EventType.new('experience_deleted') end |
.experience_upserted ⇒ Object
5808 5809 5810 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5808 def EventType.experience_upserted @@_experience_upserted ||= EventType.new('experience_upserted') end |
.flow_currency_setting_deleted ⇒ Object
5768 5769 5770 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5768 def EventType.flow_currency_setting_deleted @@_flow_currency_setting_deleted ||= EventType.new('flow_currency_setting_deleted') end |
.flow_currency_setting_upserted ⇒ Object
5772 5773 5774 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5772 def EventType.flow_currency_setting_upserted @@_flow_currency_setting_upserted ||= EventType.new('flow_currency_setting_upserted') end |
.from_string(value) ⇒ Object
Returns the instance of EventType for this value, or nil if not found
5727 5728 5729 5730 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5727 def EventType.from_string(value) HttpClient::Preconditions.assert_class('value', value, String) EventType.ALL.find { |v| v.value == value } end |
.hs10_code_deleted ⇒ Object
5848 5849 5850 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5848 def EventType.hs10_code_deleted @@_hs10_code_deleted ||= EventType.new('hs10_code_deleted') end |
.hs10_code_upserted ⇒ Object
5844 5845 5846 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5844 def EventType.hs10_code_upserted @@_hs10_code_upserted ||= EventType.new('hs10_code_upserted') end |
.hs6_code_deleted ⇒ Object
5840 5841 5842 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5840 def EventType.hs6_code_deleted @@_hs6_code_deleted ||= EventType.new('hs6_code_deleted') end |
.hs6_code_upserted ⇒ Object
5836 5837 5838 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5836 def EventType.hs6_code_upserted @@_hs6_code_upserted ||= EventType.new('hs6_code_upserted') end |
.item_margin_deleted ⇒ Object
5812 5813 5814 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5812 def EventType.item_margin_deleted @@_item_margin_deleted ||= EventType.new('item_margin_deleted') end |
.item_margin_upserted ⇒ Object
5816 5817 5818 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5816 def EventType.item_margin_upserted @@_item_margin_upserted ||= EventType.new('item_margin_upserted') end |
.label_upserted ⇒ Object
5852 5853 5854 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5852 def EventType.label_upserted @@_label_upserted ||= EventType.new('label_upserted') end |
.localized_item_deleted ⇒ Object
5868 5869 5870 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5868 def EventType.localized_item_deleted @@_localized_item_deleted ||= EventType.new('localized_item_deleted') end |
.localized_item_snapshot ⇒ Object
5872 5873 5874 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5872 def EventType.localized_item_snapshot @@_localized_item_snapshot ||= EventType.new('localized_item_snapshot') end |
.localized_item_upserted ⇒ Object
5864 5865 5866 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5864 def EventType.localized_item_upserted @@_localized_item_upserted ||= EventType.new('localized_item_upserted') end |
.notification_deleted ⇒ Object
5860 5861 5862 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5860 def EventType.notification_deleted @@_notification_deleted ||= EventType.new('notification_deleted') end |
.notification_upserted ⇒ Object
5856 5857 5858 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5856 def EventType.notification_upserted @@_notification_upserted ||= EventType.new('notification_upserted') end |
.order_booking_deleted ⇒ Object
5828 5829 5830 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5828 def EventType.order_booking_deleted @@_order_booking_deleted ||= EventType.new('order_booking_deleted') end |
.order_booking_upserted ⇒ Object
5832 5833 5834 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5832 def EventType.order_booking_upserted @@_order_booking_upserted ||= EventType.new('order_booking_upserted') end |
.order_deleted ⇒ Object
5820 5821 5822 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5820 def EventType.order_deleted @@_order_deleted ||= EventType.new('order_deleted') end |
.order_upserted ⇒ Object
5824 5825 5826 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5824 def EventType.order_upserted @@_order_upserted ||= EventType.new('order_upserted') end |
.organization_currency_setting_deleted ⇒ Object
5792 5793 5794 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5792 def EventType.organization_currency_setting_deleted @@_organization_currency_setting_deleted ||= EventType.new('organization_currency_setting_deleted') end |
.organization_currency_setting_upserted ⇒ Object
5796 5797 5798 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5796 def EventType.organization_currency_setting_upserted @@_organization_currency_setting_upserted ||= EventType.new('organization_currency_setting_upserted') end |
.organization_deleted ⇒ Object
5880 5881 5882 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5880 def EventType.organization_deleted @@_organization_deleted ||= EventType.new('organization_deleted') end |
.organization_upserted ⇒ Object
5876 5877 5878 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5876 def EventType.organization_upserted @@_organization_upserted ||= EventType.new('organization_upserted') end |
.rate_deleted ⇒ Object
5776 5777 5778 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5776 def EventType.rate_deleted @@_rate_deleted ||= EventType.new('rate_deleted') end |
.rate_upserted ⇒ Object
5780 5781 5782 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5780 def EventType.rate_upserted @@_rate_upserted ||= EventType.new('rate_upserted') end |
.refund_upserted ⇒ Object
5904 5905 5906 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5904 def EventType.refund_upserted @@_refund_upserted ||= EventType.new('refund_upserted') end |
.spot_rate_deleted ⇒ Object
5784 5785 5786 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5784 def EventType.spot_rate_deleted @@_spot_rate_deleted ||= EventType.new('spot_rate_deleted') end |
.spot_rate_upserted ⇒ Object
5788 5789 5790 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5788 def EventType.spot_rate_upserted @@_spot_rate_upserted ||= EventType.new('spot_rate_upserted') end |
.subcatalog_deleted ⇒ Object
5748 5749 5750 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5748 def EventType.subcatalog_deleted @@_subcatalog_deleted ||= EventType.new('subcatalog_deleted') end |
.subcatalog_item_deleted ⇒ Object
5764 5765 5766 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5764 def EventType.subcatalog_item_deleted @@_subcatalog_item_deleted ||= EventType.new('subcatalog_item_deleted') end |
.subcatalog_item_upserted ⇒ Object
5760 5761 5762 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5760 def EventType.subcatalog_item_upserted @@_subcatalog_item_upserted ||= EventType.new('subcatalog_item_upserted') end |
.subcatalog_upserted ⇒ Object
5744 5745 5746 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5744 def EventType.subcatalog_upserted @@_subcatalog_upserted ||= EventType.new('subcatalog_upserted') end |
.targeting_item_deleted ⇒ Object
5912 5913 5914 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5912 def EventType.targeting_item_deleted @@_targeting_item_deleted ||= EventType.new('targeting_item_deleted') end |
Instance Method Details
#to_hash ⇒ Object
5920 5921 5922 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 5920 def to_hash value end |