Class: ModernTreasury::Models::PaymentOrderCreateAsyncParams::LineItem
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ModernTreasury::Models::PaymentOrderCreateAsyncParams::LineItem
- Defined in:
- lib/modern_treasury/models/payment_order_create_async_params.rb
Instance Attribute Summary collapse
-
#accounting_category_id ⇒ String?
The ID of one of your accounting categories.
-
#amount ⇒ Integer
Value in specified currency’s smallest unit.
-
#description ⇒ String?
A free-form description of the line item.
-
#metadata ⇒ Hash{Symbol=>String}?
Additional data represented as key-value pairs.
Method Summary
Methods inherited from Internal::Type::BaseModel
#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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
This class inherits a constructor from ModernTreasury::Internal::Type::BaseModel
Instance Attribute Details
#accounting_category_id ⇒ String?
The ID of one of your accounting categories. Note that these will only be accessible if your accounting system has been connected.
463 |
# File 'lib/modern_treasury/models/payment_order_create_async_params.rb', line 463 optional :accounting_category_id, String, nil?: true |
#amount ⇒ Integer
Value in specified currency’s smallest unit. e.g. $10 would be represented as 1000.
456 |
# File 'lib/modern_treasury/models/payment_order_create_async_params.rb', line 456 required :amount, Integer |
#description ⇒ String?
A free-form description of the line item.
469 |
# File 'lib/modern_treasury/models/payment_order_create_async_params.rb', line 469 optional :description, String, nil?: true |
#metadata ⇒ Hash{Symbol=>String}?
Additional data represented as key-value pairs. Both the key and value must be strings.
476 |
# File 'lib/modern_treasury/models/payment_order_create_async_params.rb', line 476 optional :metadata, ModernTreasury::Internal::Type::HashOf[String] |