Class: Increase::Models::CardValidation
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::CardValidation
- Defined in:
- lib/increase/models/card_validation.rb
Overview
Defined Under Namespace
Modules: Status, Type Classes: Acceptance, CreatedBy, Decline, Submission
Instance Attribute Summary collapse
-
#acceptance ⇒ Increase::Models::CardValidation::Acceptance?
If the validation is accepted by the recipient bank, this will contain supplemental details.
-
#account_id ⇒ String
The identifier of the Account from which to send the validation.
-
#card_token_id ⇒ String
The ID of the Card Token that was used to validate the card.
-
#cardholder_first_name ⇒ String?
The cardholder’s first name.
-
#cardholder_last_name ⇒ String?
The cardholder’s last name.
-
#cardholder_middle_name ⇒ String?
The cardholder’s middle name.
-
#cardholder_postal_code ⇒ String?
The postal code of the cardholder’s address.
-
#cardholder_street_address ⇒ String?
The cardholder’s street address.
-
#created_at ⇒ Time
The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) date and time at which the validation was created.
-
#created_by ⇒ Increase::Models::CardValidation::CreatedBy?
What object created the validation, either via the API or the dashboard.
-
#decline ⇒ Increase::Models::CardValidation::Decline?
If the validation is rejected by the card network or the destination financial institution, this will contain supplemental details.
-
#id ⇒ String
The Card Validation’s identifier.
-
#idempotency_key ⇒ String?
The idempotency key you chose for this object.
-
#merchant_category_code ⇒ String
A four-digit code (MCC) identifying the type of business or service provided by the merchant.
-
#merchant_city_name ⇒ String
The city where the merchant (typically your business) is located.
-
#merchant_name ⇒ String
The merchant name that will appear in the cardholder’s statement descriptor.
-
#merchant_postal_code ⇒ String
The postal code for the merchant’s (typically your business’s) location.
-
#merchant_state ⇒ String
The U.S.
-
#status ⇒ Symbol, Increase::Models::CardValidation::Status
The lifecycle status of the validation.
-
#submission ⇒ Increase::Models::CardValidation::Submission?
After the validation is submitted to the card network, this will contain supplemental details.
-
#type ⇒ Symbol, Increase::Models::CardValidation::Type
A constant representing the object’s type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(retrieval_reference_number: , submitted_at: , trace_number: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see Submission 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(retrieval_reference_number: , submitted_at: , trace_number: ) ⇒ Object
Some parameter documentations has been truncated, see Submission for more details.
After the validation is submitted to the card network, this will contain supplemental details.
|
|
# File 'lib/increase/models/card_validation.rb', line 142
|
Instance Attribute Details
#acceptance ⇒ Increase::Models::CardValidation::Acceptance?
If the validation is accepted by the recipient bank, this will contain supplemental details.
18 |
# File 'lib/increase/models/card_validation.rb', line 18 required :acceptance, -> { Increase::CardValidation::Acceptance }, nil?: true |
#account_id ⇒ String
The identifier of the Account from which to send the validation.
24 |
# File 'lib/increase/models/card_validation.rb', line 24 required :account_id, String |
#card_token_id ⇒ String
The ID of the Card Token that was used to validate the card.
30 |
# File 'lib/increase/models/card_validation.rb', line 30 required :card_token_id, String |
#cardholder_first_name ⇒ String?
The cardholder’s first name.
36 |
# File 'lib/increase/models/card_validation.rb', line 36 required :cardholder_first_name, String, nil?: true |
#cardholder_last_name ⇒ String?
The cardholder’s last name.
42 |
# File 'lib/increase/models/card_validation.rb', line 42 required :cardholder_last_name, String, nil?: true |
#cardholder_middle_name ⇒ String?
The cardholder’s middle name.
48 |
# File 'lib/increase/models/card_validation.rb', line 48 required :cardholder_middle_name, String, nil?: true |
#cardholder_postal_code ⇒ String?
The postal code of the cardholder’s address.
54 |
# File 'lib/increase/models/card_validation.rb', line 54 required :cardholder_postal_code, String, nil?: true |
#cardholder_street_address ⇒ String?
The cardholder’s street address.
60 |
# File 'lib/increase/models/card_validation.rb', line 60 required :cardholder_street_address, String, nil?: true |
#created_at ⇒ Time
The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) date and time at which the validation was created.
67 |
# File 'lib/increase/models/card_validation.rb', line 67 required :created_at, Time |
#created_by ⇒ Increase::Models::CardValidation::CreatedBy?
What object created the validation, either via the API or the dashboard.
73 |
# File 'lib/increase/models/card_validation.rb', line 73 required :created_by, -> { Increase::CardValidation::CreatedBy }, nil?: true |
#decline ⇒ Increase::Models::CardValidation::Decline?
If the validation is rejected by the card network or the destination financial institution, this will contain supplemental details.
80 |
# File 'lib/increase/models/card_validation.rb', line 80 required :decline, -> { Increase::CardValidation::Decline }, nil?: true |
#id ⇒ String
The Card Validation’s identifier.
11 |
# File 'lib/increase/models/card_validation.rb', line 11 required :id, String |
#idempotency_key ⇒ String?
The idempotency key you chose for this object. This value is unique across Increase and is used to ensure that a request is only processed once. Learn more about [idempotency](increase.com/documentation/idempotency-keys).
88 |
# File 'lib/increase/models/card_validation.rb', line 88 required :idempotency_key, String, nil?: true |
#merchant_category_code ⇒ String
A four-digit code (MCC) identifying the type of business or service provided by the merchant.
95 |
# File 'lib/increase/models/card_validation.rb', line 95 required :merchant_category_code, String |
#merchant_city_name ⇒ String
The city where the merchant (typically your business) is located.
101 |
# File 'lib/increase/models/card_validation.rb', line 101 required :merchant_city_name, String |
#merchant_name ⇒ String
The merchant name that will appear in the cardholder’s statement descriptor. Typically your business name.
108 |
# File 'lib/increase/models/card_validation.rb', line 108 required :merchant_name, String |
#merchant_postal_code ⇒ String
The postal code for the merchant’s (typically your business’s) location.
114 |
# File 'lib/increase/models/card_validation.rb', line 114 required :merchant_postal_code, String |
#merchant_state ⇒ String
The U.S. state where the merchant (typically your business) is located.
120 |
# File 'lib/increase/models/card_validation.rb', line 120 required :merchant_state, String |
#status ⇒ Symbol, Increase::Models::CardValidation::Status
The lifecycle status of the validation.
126 |
# File 'lib/increase/models/card_validation.rb', line 126 required :status, enum: -> { Increase::CardValidation::Status } |
#submission ⇒ Increase::Models::CardValidation::Submission?
After the validation is submitted to the card network, this will contain supplemental details.
133 |
# File 'lib/increase/models/card_validation.rb', line 133 required :submission, -> { Increase::CardValidation::Submission }, nil?: true |
#type ⇒ Symbol, Increase::Models::CardValidation::Type
A constant representing the object’s type. For this resource it will always be ‘card_validation`.
140 |
# File 'lib/increase/models/card_validation.rb', line 140 required :type, enum: -> { Increase::CardValidation::Type } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/increase/models/card_validation.rb', line 415
|