Class: Lithic::Models::Transactions::Events::EnhancedData::Common
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::Transactions::Events::EnhancedData::Common
- Defined in:
- lib/lithic/models/transactions/events/enhanced_data.rb
Overview
Defined Under Namespace
Instance Attribute Summary collapse
-
#customer_reference_number ⇒ String?
A customer identifier.
- #line_items ⇒ Array<Lithic::Models::Transactions::Events::EnhancedData::Common::LineItem>
-
#merchant_reference_number ⇒ String?
A merchant identifier.
-
#order_date ⇒ Date?
The date of the order.
- #tax ⇒ Lithic::Models::Transactions::Events::EnhancedData::Common::Tax
Instance Method Summary collapse
-
#initialize(amount: nil, description: nil, product_code: nil, quantity: nil) ⇒ Object
constructor
An L2/L3 enhanced commercial data line item.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(amount: nil, description: nil, product_code: nil, quantity: nil) ⇒ Object
An L2/L3 enhanced commercial data line item.
|
|
# File 'lib/lithic/models/transactions/events/enhanced_data.rb', line 115
|
Instance Attribute Details
#customer_reference_number ⇒ String?
A customer identifier.
65 |
# File 'lib/lithic/models/transactions/events/enhanced_data.rb', line 65 optional :customer_reference_number, String, nil?: true |
#line_items ⇒ Array<Lithic::Models::Transactions::Events::EnhancedData::Common::LineItem>
53 54 |
# File 'lib/lithic/models/transactions/events/enhanced_data.rb', line 53 required :line_items, -> { Lithic::Internal::Type::ArrayOf[Lithic::Transactions::Events::EnhancedData::Common::LineItem] } |
#merchant_reference_number ⇒ String?
A merchant identifier.
71 |
# File 'lib/lithic/models/transactions/events/enhanced_data.rb', line 71 optional :merchant_reference_number, String, nil?: true |
#order_date ⇒ Date?
The date of the order.
77 |
# File 'lib/lithic/models/transactions/events/enhanced_data.rb', line 77 optional :order_date, Date, nil?: true |
#tax ⇒ Lithic::Models::Transactions::Events::EnhancedData::Common::Tax
59 |
# File 'lib/lithic/models/transactions/events/enhanced_data.rb', line 59 required :tax, -> { Lithic::Transactions::Events::EnhancedData::Common::Tax } |