Class: Increase::Models::CardPayment::Element::CardAuthorizationExpiration
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::CardPayment::Element::CardAuthorizationExpiration
- Defined in:
- lib/increase/models/card_payment.rb
Overview
Defined Under Namespace
Modules: Currency, Network, Type
Instance Attribute Summary collapse
-
#card_authorization_id ⇒ String
The identifier for the Card Authorization this reverses.
-
#currency ⇒ Symbol, Increase::Models::CardPayment::Element::CardAuthorizationExpiration::Currency
The [ISO 4217](en.wikipedia.org/wiki/ISO_4217) code for the reversal’s currency.
-
#expired_amount ⇒ Integer
The amount of this authorization expiration in the minor unit of the transaction’s currency.
-
#id ⇒ String
The Card Authorization Expiration identifier.
-
#network ⇒ Symbol, Increase::Models::CardPayment::Element::CardAuthorizationExpiration::Network
The card network used to process this card authorization.
-
#type ⇒ Symbol, Increase::Models::CardPayment::Element::CardAuthorizationExpiration::Type
A constant representing the object’s type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id: , card_authorization_id: , currency: , expired_amount: , network: , type: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see CardAuthorizationExpiration for more details.
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(id: , card_authorization_id: , currency: , expired_amount: , network: , type: ) ⇒ Object
Some parameter documentations has been truncated, see Increase::Models::CardPayment::Element::CardAuthorizationExpiration for more details.
A Card Authorization Expiration object. This field will be present in the JSON response if and only if ‘category` is equal to `card_authorization_expiration`. Card Authorization Expirations are cancellations of authorizations that were never settled by the acquirer.
|
|
# File 'lib/increase/models/card_payment.rb', line 1857
|
Instance Attribute Details
#card_authorization_id ⇒ String
The identifier for the Card Authorization this reverses.
1828 |
# File 'lib/increase/models/card_payment.rb', line 1828 required :card_authorization_id, String |
#currency ⇒ Symbol, Increase::Models::CardPayment::Element::CardAuthorizationExpiration::Currency
The [ISO 4217](en.wikipedia.org/wiki/ISO_4217) code for the reversal’s currency.
1835 |
# File 'lib/increase/models/card_payment.rb', line 1835 required :currency, enum: -> { Increase::CardPayment::Element::CardAuthorizationExpiration::Currency } |
#expired_amount ⇒ Integer
The amount of this authorization expiration in the minor unit of the transaction’s currency. For dollars, for example, this is cents.
1842 |
# File 'lib/increase/models/card_payment.rb', line 1842 required :expired_amount, Integer |
#id ⇒ String
The Card Authorization Expiration identifier.
1822 |
# File 'lib/increase/models/card_payment.rb', line 1822 required :id, String |
#network ⇒ Symbol, Increase::Models::CardPayment::Element::CardAuthorizationExpiration::Network
The card network used to process this card authorization.
1848 |
# File 'lib/increase/models/card_payment.rb', line 1848 required :network, enum: -> { Increase::CardPayment::Element::CardAuthorizationExpiration::Network } |
#type ⇒ Symbol, Increase::Models::CardPayment::Element::CardAuthorizationExpiration::Type
A constant representing the object’s type. For this resource it will always be ‘card_authorization_expiration`.
1855 |
# File 'lib/increase/models/card_payment.rb', line 1855 required :type, enum: -> { Increase::CardPayment::Element::CardAuthorizationExpiration::Type } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/increase/models/card_payment.rb', line 1889
|