Class: Increase::Models::Simulations::CardAuthorizationCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::Simulations::CardAuthorizationCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/increase/models/simulations/card_authorization_create_params.rb
Overview
Defined Under Namespace
Modules: DeclineReason Classes: NetworkDetails, ProcessingCategory
Instance Attribute Summary collapse
-
#amount ⇒ Integer
The authorization amount in cents.
-
#authenticated_card_payment_id ⇒ String?
The identifier of a Card Payment with a ‘card_authentication` if you want to simulate an authenticated authorization.
-
#card_id ⇒ String?
The identifier of the Card to be authorized.
-
#decline_reason ⇒ Symbol, ...
Forces a card decline with a specific reason.
-
#digital_wallet_token_id ⇒ String?
The identifier of the Digital Wallet Token to be authorized.
-
#event_subscription_id ⇒ String?
The identifier of the Event Subscription to use.
-
#merchant_acceptor_id ⇒ String?
The merchant identifier (commonly abbreviated as MID) of the merchant the card is transacting with.
-
#merchant_category_code ⇒ String?
The Merchant Category Code (commonly abbreviated as MCC) of the merchant the card is transacting with.
-
#merchant_city ⇒ String?
The city the merchant resides in.
-
#merchant_country ⇒ String?
The country the merchant resides in.
-
#merchant_descriptor ⇒ String?
The merchant descriptor of the merchant the card is transacting with.
-
#merchant_state ⇒ String?
The state the merchant resides in.
-
#network_details ⇒ Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails?
Fields specific to a given card network.
-
#network_risk_score ⇒ Integer?
The risk score generated by the card network.
-
#physical_card_id ⇒ String?
The identifier of the Physical Card to be authorized.
-
#processing_category ⇒ Increase::Models::Simulations::CardAuthorizationCreateParams::ProcessingCategory?
Fields specific to a specific type of authorization, such as Automatic Fuel Dispensers, Refund Authorizations, or Cash Disbursements.
-
#terminal_id ⇒ String?
The terminal identifier (commonly abbreviated as TID) of the terminal the card is transacting with.
Attributes included from Internal::Type::RequestParameters
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(amount: , authenticated_card_payment_id: nil, card_id: nil, decline_reason: nil, digital_wallet_token_id: nil, event_subscription_id: nil, merchant_acceptor_id: nil, merchant_category_code: nil, merchant_city: nil, merchant_country: nil, merchant_descriptor: nil, merchant_state: nil, network_details: nil, network_risk_score: nil, physical_card_id: nil, processing_category: nil, terminal_id: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see CardAuthorizationCreateParams for more details.
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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: , authenticated_card_payment_id: nil, card_id: nil, decline_reason: nil, digital_wallet_token_id: nil, event_subscription_id: nil, merchant_acceptor_id: nil, merchant_category_code: nil, merchant_city: nil, merchant_country: nil, merchant_descriptor: nil, merchant_state: nil, network_details: nil, network_risk_score: nil, physical_card_id: nil, processing_category: nil, terminal_id: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Increase::Models::Simulations::CardAuthorizationCreateParams for more details.
|
|
# File 'lib/increase/models/simulations/card_authorization_create_params.rb', line 124
|
Instance Attribute Details
#amount ⇒ Integer
The authorization amount in cents.
15 |
# File 'lib/increase/models/simulations/card_authorization_create_params.rb', line 15 required :amount, Integer |
#authenticated_card_payment_id ⇒ String?
The identifier of a Card Payment with a ‘card_authentication` if you want to simulate an authenticated authorization.
22 |
# File 'lib/increase/models/simulations/card_authorization_create_params.rb', line 22 optional :authenticated_card_payment_id, String |
#card_id ⇒ String?
The identifier of the Card to be authorized.
28 |
# File 'lib/increase/models/simulations/card_authorization_create_params.rb', line 28 optional :card_id, String |
#decline_reason ⇒ Symbol, ...
Forces a card decline with a specific reason. No real time decision will be sent.
35 |
# File 'lib/increase/models/simulations/card_authorization_create_params.rb', line 35 optional :decline_reason, enum: -> { Increase::Simulations::CardAuthorizationCreateParams::DeclineReason } |
#digital_wallet_token_id ⇒ String?
The identifier of the Digital Wallet Token to be authorized.
41 |
# File 'lib/increase/models/simulations/card_authorization_create_params.rb', line 41 optional :digital_wallet_token_id, String |
#event_subscription_id ⇒ String?
The identifier of the Event Subscription to use. If provided, will override the default real time event subscription. Because you can only create one real time decision event subscription, you can use this field to route events to any specified event subscription for testing purposes.
50 |
# File 'lib/increase/models/simulations/card_authorization_create_params.rb', line 50 optional :event_subscription_id, String |
#merchant_acceptor_id ⇒ String?
The merchant identifier (commonly abbreviated as MID) of the merchant the card is transacting with.
57 |
# File 'lib/increase/models/simulations/card_authorization_create_params.rb', line 57 optional :merchant_acceptor_id, String |
#merchant_category_code ⇒ String?
The Merchant Category Code (commonly abbreviated as MCC) of the merchant the card is transacting with.
64 |
# File 'lib/increase/models/simulations/card_authorization_create_params.rb', line 64 optional :merchant_category_code, String |
#merchant_city ⇒ String?
The city the merchant resides in.
70 |
# File 'lib/increase/models/simulations/card_authorization_create_params.rb', line 70 optional :merchant_city, String |
#merchant_country ⇒ String?
The country the merchant resides in.
76 |
# File 'lib/increase/models/simulations/card_authorization_create_params.rb', line 76 optional :merchant_country, String |
#merchant_descriptor ⇒ String?
The merchant descriptor of the merchant the card is transacting with.
82 |
# File 'lib/increase/models/simulations/card_authorization_create_params.rb', line 82 optional :merchant_descriptor, String |
#merchant_state ⇒ String?
The state the merchant resides in.
88 |
# File 'lib/increase/models/simulations/card_authorization_create_params.rb', line 88 optional :merchant_state, String |
#network_details ⇒ Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails?
Fields specific to a given card network.
94 |
# File 'lib/increase/models/simulations/card_authorization_create_params.rb', line 94 optional :network_details, -> { Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails } |
#network_risk_score ⇒ Integer?
The risk score generated by the card network. For Visa this is the Visa Advanced Authorization risk score, from 0 to 99, where 99 is the riskiest.
101 |
# File 'lib/increase/models/simulations/card_authorization_create_params.rb', line 101 optional :network_risk_score, Integer |
#physical_card_id ⇒ String?
The identifier of the Physical Card to be authorized.
107 |
# File 'lib/increase/models/simulations/card_authorization_create_params.rb', line 107 optional :physical_card_id, String |
#processing_category ⇒ Increase::Models::Simulations::CardAuthorizationCreateParams::ProcessingCategory?
Fields specific to a specific type of authorization, such as Automatic Fuel Dispensers, Refund Authorizations, or Cash Disbursements.
114 115 |
# File 'lib/increase/models/simulations/card_authorization_create_params.rb', line 114 optional :processing_category, -> { Increase::Simulations::CardAuthorizationCreateParams::ProcessingCategory } |
#terminal_id ⇒ String?
The terminal identifier (commonly abbreviated as TID) of the terminal the card is transacting with.
122 |
# File 'lib/increase/models/simulations/card_authorization_create_params.rb', line 122 optional :terminal_id, String |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/increase/models/simulations/card_authorization_create_params.rb', line 229
|