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_deleted_v2 ⇒ Object
- .localized_item_snapshot ⇒ Object
- .localized_item_upserted ⇒ Object
- .localized_item_upserted_v2 ⇒ 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.
7910 7911 7912 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7910 def initialize(value) @value = HttpClient::Preconditions.assert_class('value', value, String) end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
7908 7909 7910 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7908 def value @value end |
Class Method Details
.ALL ⇒ Object
.allocation_deleted ⇒ Object
7990 7991 7992 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7990 def EventType.allocation_deleted @@_allocation_deleted ||= EventType.new('allocation_deleted') end |
.allocation_upserted ⇒ Object
7994 7995 7996 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7994 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
7915 7916 7917 7918 7919 7920 7921 7922 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7915 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
7938 7939 7940 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7938 def EventType.attribute_deleted @@_attribute_deleted ||= EventType.new('attribute_deleted') end |
.attribute_upserted ⇒ Object
7934 7935 7936 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7934 def EventType.attribute_upserted @@_attribute_upserted ||= EventType.new('attribute_upserted') end |
.authorization_deleted ⇒ Object
8154 8155 8156 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8154 def EventType. @@_authorization_deleted ||= EventType.new('authorization_deleted') end |
.authorization_deleted_v2 ⇒ Object
8158 8159 8160 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8158 def EventType. @@_authorization_deleted_v2 ||= EventType.new('authorization_deleted_v2') end |
.authorization_status_changed ⇒ Object
8162 8163 8164 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8162 def EventType. @@_authorization_status_changed ||= EventType.new('authorization_status_changed') end |
.authorization_upserted ⇒ Object
8150 8151 8152 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8150 def EventType. @@_authorization_upserted ||= EventType.new('authorization_upserted') end |
.available_promotions_deleted ⇒ Object
7986 7987 7988 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7986 def EventType.available_promotions_deleted @@_available_promotions_deleted ||= EventType.new('available_promotions_deleted') end |
.available_promotions_upserted ⇒ Object
7982 7983 7984 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7982 def EventType.available_promotions_upserted @@_available_promotions_upserted ||= EventType.new('available_promotions_upserted') end |
.capture_upserted ⇒ Object
8182 8183 8184 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8182 def EventType.capture_upserted @@_capture_upserted ||= EventType.new('capture_upserted') end |
.capture_upserted_v2 ⇒ Object
8186 8187 8188 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8186 def EventType.capture_upserted_v2 @@_capture_upserted_v2 ||= EventType.new('capture_upserted_v2') end |
.card_authorization_upserted ⇒ Object
8166 8167 8168 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8166 def EventType. @@_card_authorization_upserted ||= EventType.new('card_authorization_upserted') end |
.card_authorization_upserted_v2 ⇒ Object
8170 8171 8172 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8170 def EventType. @@_card_authorization_upserted_v2 ||= EventType.new('card_authorization_upserted_v2') end |
.card_deleted ⇒ Object
8198 8199 8200 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8198 def EventType.card_deleted @@_card_deleted ||= EventType.new('card_deleted') end |
.card_upserted ⇒ Object
8190 8191 8192 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8190 def EventType.card_upserted @@_card_upserted ||= EventType.new('card_upserted') end |
.card_upserted_v2 ⇒ Object
8194 8195 8196 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8194 def EventType.card_upserted_v2 @@_card_upserted_v2 ||= EventType.new('card_upserted_v2') end |
.catalog_deleted ⇒ Object
7946 7947 7948 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7946 def EventType.catalog_deleted @@_catalog_deleted ||= EventType.new('catalog_deleted') end |
.catalog_item_deleted ⇒ Object
7962 7963 7964 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7962 def EventType.catalog_item_deleted @@_catalog_item_deleted ||= EventType.new('catalog_item_deleted') end |
.catalog_item_upserted ⇒ Object
7958 7959 7960 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7958 def EventType.catalog_item_upserted @@_catalog_item_upserted ||= EventType.new('catalog_item_upserted') end |
.catalog_upserted ⇒ Object
7942 7943 7944 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7942 def EventType.catalog_upserted @@_catalog_upserted ||= EventType.new('catalog_upserted') end |
.experience_deleted ⇒ Object
7998 7999 8000 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7998 def EventType.experience_deleted @@_experience_deleted ||= EventType.new('experience_deleted') end |
.experience_upserted ⇒ Object
8002 8003 8004 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8002 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
7925 7926 7927 7928 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7925 def EventType.from_string(value) HttpClient::Preconditions.assert_class('value', value, String) EventType.ALL.find { |v| v.value == value } end |
.harmonized_item_deleted ⇒ Object
8090 8091 8092 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8090 def EventType.harmonized_item_deleted @@_harmonized_item_deleted ||= EventType.new('harmonized_item_deleted') end |
.harmonized_item_upserted ⇒ Object
8086 8087 8088 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8086 def EventType.harmonized_item_upserted @@_harmonized_item_upserted ||= EventType.new('harmonized_item_upserted') end |
.hs10_code_deleted ⇒ Object
8074 8075 8076 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8074 def EventType.hs10_code_deleted @@_hs10_code_deleted ||= EventType.new('hs10_code_deleted') end |
.hs10_code_upserted ⇒ Object
8070 8071 8072 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8070 def EventType.hs10_code_upserted @@_hs10_code_upserted ||= EventType.new('hs10_code_upserted') end |
.hs6_code_deleted ⇒ Object
8066 8067 8068 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8066 def EventType.hs6_code_deleted @@_hs6_code_deleted ||= EventType.new('hs6_code_deleted') end |
.hs6_code_upserted ⇒ Object
8062 8063 8064 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8062 def EventType.hs6_code_upserted @@_hs6_code_upserted ||= EventType.new('hs6_code_upserted') end |
.item_margin_deleted ⇒ Object
8006 8007 8008 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8006 def EventType.item_margin_deleted @@_item_margin_deleted ||= EventType.new('item_margin_deleted') end |
.item_margin_upserted ⇒ Object
8010 8011 8012 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8010 def EventType.item_margin_upserted @@_item_margin_upserted ||= EventType.new('item_margin_upserted') end |
.item_origin_deleted ⇒ Object
8082 8083 8084 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8082 def EventType.item_origin_deleted @@_item_origin_deleted ||= EventType.new('item_origin_deleted') end |
.item_origin_upserted ⇒ Object
8078 8079 8080 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8078 def EventType.item_origin_upserted @@_item_origin_upserted ||= EventType.new('item_origin_upserted') end |
.item_sales_margin_deleted ⇒ Object
8014 8015 8016 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8014 def EventType.item_sales_margin_deleted @@_item_sales_margin_deleted ||= EventType.new('item_sales_margin_deleted') end |
.item_sales_margin_upserted ⇒ Object
8018 8019 8020 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8018 def EventType.item_sales_margin_upserted @@_item_sales_margin_upserted ||= EventType.new('item_sales_margin_upserted') end |
.label_format_deleted ⇒ Object
8022 8023 8024 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8022 def EventType.label_format_deleted @@_label_format_deleted ||= EventType.new('label_format_deleted') end |
.label_format_upserted ⇒ Object
8026 8027 8028 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8026 def EventType.label_format_upserted @@_label_format_upserted ||= EventType.new('label_format_upserted') end |
.label_upserted ⇒ Object
8102 8103 8104 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8102 def EventType.label_upserted @@_label_upserted ||= EventType.new('label_upserted') end |
.localized_item_deleted ⇒ Object
8122 8123 8124 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8122 def EventType.localized_item_deleted @@_localized_item_deleted ||= EventType.new('localized_item_deleted') end |
.localized_item_deleted_v2 ⇒ Object
8126 8127 8128 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8126 def EventType.localized_item_deleted_v2 @@_localized_item_deleted_v2 ||= EventType.new('localized_item_deleted_v2') end |
.localized_item_snapshot ⇒ Object
8130 8131 8132 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8130 def EventType.localized_item_snapshot @@_localized_item_snapshot ||= EventType.new('localized_item_snapshot') end |
.localized_item_upserted ⇒ Object
8114 8115 8116 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8114 def EventType.localized_item_upserted @@_localized_item_upserted ||= EventType.new('localized_item_upserted') end |
.localized_item_upserted_v2 ⇒ Object
8118 8119 8120 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8118 def EventType.localized_item_upserted_v2 @@_localized_item_upserted_v2 ||= EventType.new('localized_item_upserted_v2') end |
.membership_deleted ⇒ Object
8138 8139 8140 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8138 def EventType.membership_deleted @@_membership_deleted ||= EventType.new('membership_deleted') end |
.membership_upserted ⇒ Object
8134 8135 8136 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8134 def EventType.membership_upserted @@_membership_upserted ||= EventType.new('membership_upserted') end |
.notification_deleted ⇒ Object
8110 8111 8112 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8110 def EventType.notification_deleted @@_notification_deleted ||= EventType.new('notification_deleted') end |
.notification_upserted ⇒ Object
8106 8107 8108 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8106 def EventType.notification_upserted @@_notification_upserted ||= EventType.new('notification_upserted') end |
.online_authorization_upserted ⇒ Object
8174 8175 8176 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8174 def EventType. @@_online_authorization_upserted ||= EventType.new('online_authorization_upserted') end |
.online_authorization_upserted_v2 ⇒ Object
8178 8179 8180 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8178 def EventType. @@_online_authorization_upserted_v2 ||= EventType.new('online_authorization_upserted_v2') end |
.order_deleted ⇒ Object
8030 8031 8032 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8030 def EventType.order_deleted @@_order_deleted ||= EventType.new('order_deleted') end |
.order_identifier_deleted ⇒ Object
8038 8039 8040 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8038 def EventType.order_identifier_deleted @@_order_identifier_deleted ||= EventType.new('order_identifier_deleted') end |
.order_identifier_upserted ⇒ Object
8042 8043 8044 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8042 def EventType.order_identifier_upserted @@_order_identifier_upserted ||= EventType.new('order_identifier_upserted') end |
.order_upserted ⇒ Object
8034 8035 8036 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8034 def EventType.order_upserted @@_order_upserted ||= EventType.new('order_upserted') end |
.organization_deleted ⇒ Object
8146 8147 8148 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8146 def EventType.organization_deleted @@_organization_deleted ||= EventType.new('organization_deleted') end |
.organization_upserted ⇒ Object
8142 8143 8144 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8142 def EventType.organization_upserted @@_organization_upserted ||= EventType.new('organization_upserted') end |
.payment_deleted ⇒ Object
8206 8207 8208 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8206 def EventType.payment_deleted @@_payment_deleted ||= EventType.new('payment_deleted') end |
.payment_upserted ⇒ Object
8202 8203 8204 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8202 def EventType.payment_upserted @@_payment_upserted ||= EventType.new('payment_upserted') end |
.pricing_deleted ⇒ Object
8046 8047 8048 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8046 def EventType.pricing_deleted @@_pricing_deleted ||= EventType.new('pricing_deleted') end |
.pricing_upserted ⇒ Object
8050 8051 8052 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8050 def EventType.pricing_upserted @@_pricing_upserted ||= EventType.new('pricing_upserted') end |
.rate_deleted ⇒ Object
7974 7975 7976 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7974 def EventType.rate_deleted @@_rate_deleted ||= EventType.new('rate_deleted') end |
.rate_upserted ⇒ Object
7978 7979 7980 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7978 def EventType.rate_upserted @@_rate_upserted ||= EventType.new('rate_upserted') end |
.refund_upserted ⇒ Object
8210 8211 8212 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8210 def EventType.refund_upserted @@_refund_upserted ||= EventType.new('refund_upserted') end |
.refund_upserted_v2 ⇒ Object
8214 8215 8216 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8214 def EventType.refund_upserted_v2 @@_refund_upserted_v2 ||= EventType.new('refund_upserted_v2') end |
.return_deleted ⇒ Object
8222 8223 8224 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8222 def EventType.return_deleted @@_return_deleted ||= EventType.new('return_deleted') end |
.return_upserted ⇒ Object
8218 8219 8220 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8218 def EventType.return_upserted @@_return_upserted ||= EventType.new('return_upserted') end |
.snapshot_deleted ⇒ Object
8098 8099 8100 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8098 def EventType.snapshot_deleted @@_snapshot_deleted ||= EventType.new('snapshot_deleted') end |
.snapshot_upserted ⇒ Object
8094 8095 8096 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8094 def EventType.snapshot_upserted @@_snapshot_upserted ||= EventType.new('snapshot_upserted') end |
.subcatalog_deleted ⇒ Object
7954 7955 7956 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7954 def EventType.subcatalog_deleted @@_subcatalog_deleted ||= EventType.new('subcatalog_deleted') end |
.subcatalog_item_deleted ⇒ Object
7970 7971 7972 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7970 def EventType.subcatalog_item_deleted @@_subcatalog_item_deleted ||= EventType.new('subcatalog_item_deleted') end |
.subcatalog_item_upserted ⇒ Object
7966 7967 7968 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7966 def EventType.subcatalog_item_upserted @@_subcatalog_item_upserted ||= EventType.new('subcatalog_item_upserted') end |
.subcatalog_upserted ⇒ Object
7950 7951 7952 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7950 def EventType.subcatalog_upserted @@_subcatalog_upserted ||= EventType.new('subcatalog_upserted') end |
.targeting_item_deleted ⇒ Object
8230 8231 8232 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8230 def EventType.targeting_item_deleted @@_targeting_item_deleted ||= EventType.new('targeting_item_deleted') end |
.targeting_item_upserted ⇒ Object
8226 8227 8228 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8226 def EventType.targeting_item_upserted @@_targeting_item_upserted ||= EventType.new('targeting_item_upserted') end |
.tier_deleted ⇒ Object
8058 8059 8060 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8058 def EventType.tier_deleted @@_tier_deleted ||= EventType.new('tier_deleted') end |
Instance Method Details
#to_hash ⇒ Object
8238 8239 8240 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8238 def to_hash value end |