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_upserted ⇒ Object
- .available_promotions_deleted ⇒ Object
- .available_promotions_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
- .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
- .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
7149 7150 7151 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7149 def initialize(value) @value = HttpClient::Preconditions.assert_class('value', value, String) end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
7147 7148 7149 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7147 def value @value end |
Class Method Details
.ALL ⇒ Object
.allocation_deleted ⇒ Object
7229 7230 7231 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7229 def EventType.allocation_deleted @@_allocation_deleted ||= EventType.new('allocation_deleted') end |
.allocation_upserted ⇒ Object
7233 7234 7235 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7233 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
7154 7155 7156 7157 7158 7159 7160 7161 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7154 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
7177 7178 7179 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7177 def EventType.attribute_deleted @@_attribute_deleted ||= EventType.new('attribute_deleted') end |
.attribute_upserted ⇒ Object
7173 7174 7175 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7173 def EventType.attribute_upserted @@_attribute_upserted ||= EventType.new('attribute_upserted') end |
.authorization_deleted ⇒ Object
7385 7386 7387 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7385 def EventType. @@_authorization_deleted ||= EventType.new('authorization_deleted') end |
.authorization_upserted ⇒ Object
7381 7382 7383 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7381 def EventType. @@_authorization_upserted ||= EventType.new('authorization_upserted') end |
.available_promotions_deleted ⇒ Object
7225 7226 7227 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7225 def EventType.available_promotions_deleted @@_available_promotions_deleted ||= EventType.new('available_promotions_deleted') end |
.available_promotions_upserted ⇒ Object
7221 7222 7223 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7221 def EventType.available_promotions_upserted @@_available_promotions_upserted ||= EventType.new('available_promotions_upserted') end |
.capture_upserted ⇒ Object
7389 7390 7391 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7389 def EventType.capture_upserted @@_capture_upserted ||= EventType.new('capture_upserted') end |
.card_deleted ⇒ Object
7397 7398 7399 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7397 def EventType.card_deleted @@_card_deleted ||= EventType.new('card_deleted') end |
.card_upserted ⇒ Object
7393 7394 7395 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7393 def EventType.card_upserted @@_card_upserted ||= EventType.new('card_upserted') end |
.catalog_deleted ⇒ Object
7185 7186 7187 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7185 def EventType.catalog_deleted @@_catalog_deleted ||= EventType.new('catalog_deleted') end |
.catalog_item_deleted ⇒ Object
7201 7202 7203 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7201 def EventType.catalog_item_deleted @@_catalog_item_deleted ||= EventType.new('catalog_item_deleted') end |
.catalog_item_upserted ⇒ Object
7197 7198 7199 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7197 def EventType.catalog_item_upserted @@_catalog_item_upserted ||= EventType.new('catalog_item_upserted') end |
.catalog_upserted ⇒ Object
7181 7182 7183 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7181 def EventType.catalog_upserted @@_catalog_upserted ||= EventType.new('catalog_upserted') end |
.experience_deleted ⇒ Object
7237 7238 7239 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7237 def EventType.experience_deleted @@_experience_deleted ||= EventType.new('experience_deleted') end |
.experience_upserted ⇒ Object
7241 7242 7243 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7241 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
7164 7165 7166 7167 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7164 def EventType.from_string(value) HttpClient::Preconditions.assert_class('value', value, String) EventType.ALL.find { |v| v.value == value } end |
.harmonized_item_deleted ⇒ Object
7329 7330 7331 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7329 def EventType.harmonized_item_deleted @@_harmonized_item_deleted ||= EventType.new('harmonized_item_deleted') end |
.harmonized_item_upserted ⇒ Object
7325 7326 7327 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7325 def EventType.harmonized_item_upserted @@_harmonized_item_upserted ||= EventType.new('harmonized_item_upserted') end |
.hs10_code_deleted ⇒ Object
7313 7314 7315 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7313 def EventType.hs10_code_deleted @@_hs10_code_deleted ||= EventType.new('hs10_code_deleted') end |
.hs10_code_upserted ⇒ Object
7309 7310 7311 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7309 def EventType.hs10_code_upserted @@_hs10_code_upserted ||= EventType.new('hs10_code_upserted') end |
.hs6_code_deleted ⇒ Object
7305 7306 7307 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7305 def EventType.hs6_code_deleted @@_hs6_code_deleted ||= EventType.new('hs6_code_deleted') end |
.hs6_code_upserted ⇒ Object
7301 7302 7303 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7301 def EventType.hs6_code_upserted @@_hs6_code_upserted ||= EventType.new('hs6_code_upserted') end |
.item_margin_deleted ⇒ Object
7245 7246 7247 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7245 def EventType.item_margin_deleted @@_item_margin_deleted ||= EventType.new('item_margin_deleted') end |
.item_margin_upserted ⇒ Object
7249 7250 7251 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7249 def EventType.item_margin_upserted @@_item_margin_upserted ||= EventType.new('item_margin_upserted') end |
.item_origin_deleted ⇒ Object
7321 7322 7323 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7321 def EventType.item_origin_deleted @@_item_origin_deleted ||= EventType.new('item_origin_deleted') end |
.item_origin_upserted ⇒ Object
7317 7318 7319 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7317 def EventType.item_origin_upserted @@_item_origin_upserted ||= EventType.new('item_origin_upserted') end |
.item_sales_margin_deleted ⇒ Object
7253 7254 7255 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7253 def EventType.item_sales_margin_deleted @@_item_sales_margin_deleted ||= EventType.new('item_sales_margin_deleted') end |
.item_sales_margin_upserted ⇒ Object
7257 7258 7259 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7257 def EventType.item_sales_margin_upserted @@_item_sales_margin_upserted ||= EventType.new('item_sales_margin_upserted') end |
.label_format_deleted ⇒ Object
7261 7262 7263 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7261 def EventType.label_format_deleted @@_label_format_deleted ||= EventType.new('label_format_deleted') end |
.label_format_upserted ⇒ Object
7265 7266 7267 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7265 def EventType.label_format_upserted @@_label_format_upserted ||= EventType.new('label_format_upserted') end |
.label_upserted ⇒ Object
7341 7342 7343 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7341 def EventType.label_upserted @@_label_upserted ||= EventType.new('label_upserted') end |
.localized_item_deleted ⇒ Object
7357 7358 7359 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7357 def EventType.localized_item_deleted @@_localized_item_deleted ||= EventType.new('localized_item_deleted') end |
.localized_item_snapshot ⇒ Object
7361 7362 7363 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7361 def EventType.localized_item_snapshot @@_localized_item_snapshot ||= EventType.new('localized_item_snapshot') end |
.localized_item_upserted ⇒ Object
7353 7354 7355 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7353 def EventType.localized_item_upserted @@_localized_item_upserted ||= EventType.new('localized_item_upserted') end |
.membership_deleted ⇒ Object
7369 7370 7371 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7369 def EventType.membership_deleted @@_membership_deleted ||= EventType.new('membership_deleted') end |
.membership_upserted ⇒ Object
7365 7366 7367 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7365 def EventType.membership_upserted @@_membership_upserted ||= EventType.new('membership_upserted') end |
.notification_deleted ⇒ Object
7349 7350 7351 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7349 def EventType.notification_deleted @@_notification_deleted ||= EventType.new('notification_deleted') end |
.notification_upserted ⇒ Object
7345 7346 7347 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7345 def EventType.notification_upserted @@_notification_upserted ||= EventType.new('notification_upserted') end |
.order_deleted ⇒ Object
7269 7270 7271 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7269 def EventType.order_deleted @@_order_deleted ||= EventType.new('order_deleted') end |
.order_identifier_deleted ⇒ Object
7277 7278 7279 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7277 def EventType.order_identifier_deleted @@_order_identifier_deleted ||= EventType.new('order_identifier_deleted') end |
.order_identifier_upserted ⇒ Object
7281 7282 7283 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7281 def EventType.order_identifier_upserted @@_order_identifier_upserted ||= EventType.new('order_identifier_upserted') end |
.order_upserted ⇒ Object
7273 7274 7275 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7273 def EventType.order_upserted @@_order_upserted ||= EventType.new('order_upserted') end |
.organization_deleted ⇒ Object
7377 7378 7379 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7377 def EventType.organization_deleted @@_organization_deleted ||= EventType.new('organization_deleted') end |
.organization_upserted ⇒ Object
7373 7374 7375 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7373 def EventType.organization_upserted @@_organization_upserted ||= EventType.new('organization_upserted') end |
.pricing_deleted ⇒ Object
7285 7286 7287 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7285 def EventType.pricing_deleted @@_pricing_deleted ||= EventType.new('pricing_deleted') end |
.pricing_upserted ⇒ Object
7289 7290 7291 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7289 def EventType.pricing_upserted @@_pricing_upserted ||= EventType.new('pricing_upserted') end |
.rate_deleted ⇒ Object
7213 7214 7215 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7213 def EventType.rate_deleted @@_rate_deleted ||= EventType.new('rate_deleted') end |
.rate_upserted ⇒ Object
7217 7218 7219 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7217 def EventType.rate_upserted @@_rate_upserted ||= EventType.new('rate_upserted') end |
.refund_upserted ⇒ Object
7401 7402 7403 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7401 def EventType.refund_upserted @@_refund_upserted ||= EventType.new('refund_upserted') end |
.return_deleted ⇒ Object
7409 7410 7411 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7409 def EventType.return_deleted @@_return_deleted ||= EventType.new('return_deleted') end |
.return_upserted ⇒ Object
7405 7406 7407 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7405 def EventType.return_upserted @@_return_upserted ||= EventType.new('return_upserted') end |
.snapshot_deleted ⇒ Object
7337 7338 7339 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7337 def EventType.snapshot_deleted @@_snapshot_deleted ||= EventType.new('snapshot_deleted') end |
.snapshot_upserted ⇒ Object
7333 7334 7335 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7333 def EventType.snapshot_upserted @@_snapshot_upserted ||= EventType.new('snapshot_upserted') end |
.subcatalog_deleted ⇒ Object
7193 7194 7195 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7193 def EventType.subcatalog_deleted @@_subcatalog_deleted ||= EventType.new('subcatalog_deleted') end |
.subcatalog_item_deleted ⇒ Object
7209 7210 7211 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7209 def EventType.subcatalog_item_deleted @@_subcatalog_item_deleted ||= EventType.new('subcatalog_item_deleted') end |
.subcatalog_item_upserted ⇒ Object
7205 7206 7207 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7205 def EventType.subcatalog_item_upserted @@_subcatalog_item_upserted ||= EventType.new('subcatalog_item_upserted') end |
.subcatalog_upserted ⇒ Object
7189 7190 7191 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7189 def EventType.subcatalog_upserted @@_subcatalog_upserted ||= EventType.new('subcatalog_upserted') end |
.targeting_item_deleted ⇒ Object
7417 7418 7419 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7417 def EventType.targeting_item_deleted @@_targeting_item_deleted ||= EventType.new('targeting_item_deleted') end |
.targeting_item_upserted ⇒ Object
7413 7414 7415 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7413 def EventType.targeting_item_upserted @@_targeting_item_upserted ||= EventType.new('targeting_item_upserted') end |
.tier_deleted ⇒ Object
7297 7298 7299 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7297 def EventType.tier_deleted @@_tier_deleted ||= EventType.new('tier_deleted') end |
Instance Method Details
#to_hash ⇒ Object
7425 7426 7427 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7425 def to_hash value end |