Class: Increase::Models::CardPushTransfer::PresentmentAmount

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/card_push_transfer.rb

Overview

Defined Under Namespace

Modules: Currency

Instance Attribute Summary collapse

Instance Method Summary collapse

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(currency: , value: ) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::CardPushTransfer::PresentmentAmount for more details.

The amount that was transferred. The receiving bank will have converted this to the cardholder’s currency. The amount that is applied to your Increase account matches the currency of your account.

Parameters:



# File 'lib/increase/models/card_push_transfer.rb', line 718

Instance Attribute Details

#currencySymbol, Increase::Models::CardPushTransfer::PresentmentAmount::Currency

The [ISO 4217](en.wikipedia.org/wiki/ISO_4217) currency code.



709
# File 'lib/increase/models/card_push_transfer.rb', line 709

required :currency, enum: -> { Increase::CardPushTransfer::PresentmentAmount::Currency }

#valueString

The amount value represented as a string containing a decimal number in major units (so e.g., “12.34” for $12.34).

Returns:

  • (String)


716
# File 'lib/increase/models/card_push_transfer.rb', line 716

required :value, String