Class: CheckoutSdk::Sessions::SessionRequest
- Inherits:
-
Object
- Object
- CheckoutSdk::Sessions::SessionRequest
- Defined in:
- lib/checkout_sdk/sessions/session_request.rb
Instance Attribute Summary collapse
- #account_info ⇒ CardHolderAccountInfo
- #amount ⇒ Integer
- #authentication_category ⇒ String
- #authentication_type ⇒ String
- #billing_descriptor ⇒ SessionsBillingDescriptor
- #challenge_indicator ⇒ String
- #channel_data ⇒ ChannelData
- #completion ⇒ Completion
- #currency ⇒ String
- #device_information ⇒ DeviceInformation
-
#google_spa ⇒ GoogleSpa
Google SPA properties (non-hosted only).
- #initial_transaction ⇒ InitialTransaction
- #installment ⇒ Installment
- #marketplace ⇒ SessionMarketplaceData
- #merchant_risk_info ⇒ MerchantRiskInfo
- #optimization ⇒ Optimization
-
#preferred_experiences ⇒ Array<String>
The chosen experience(s) for this session.
- #processing_channel_id ⇒ String
- #recurring ⇒ Recurring
- #reference ⇒ String
- #shipping_address ⇒ SessionAddress
- #shipping_address_matches_billing ⇒ TrueClass, FalseClass
- #source ⇒ SessionSource
- #transaction_type ⇒ String
Instance Method Summary collapse
-
#initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Sessions::SessionChallengeIndicator::NO_PREFERENCE, transaction_type: CheckoutSdk::Sessions::TransactionType::GOODS_SERVICE) ⇒ SessionRequest
constructor
A new instance of SessionRequest.
Constructor Details
#initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Sessions::SessionChallengeIndicator::NO_PREFERENCE, transaction_type: CheckoutSdk::Sessions::TransactionType::GOODS_SERVICE) ⇒ SessionRequest
Returns a new instance of SessionRequest.
84 85 86 87 88 89 90 91 92 93 94 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 84 def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Sessions::SessionChallengeIndicator::NO_PREFERENCE, transaction_type: CheckoutSdk::Sessions::TransactionType::GOODS_SERVICE) @source = source @authentication_type = authentication_type @authentication_category = authentication_category @challenge_indicator = challenge_indicator @transaction_type = transaction_type end |
Instance Attribute Details
#account_info ⇒ CardHolderAccountInfo
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 58 class SessionRequest attr_accessor :source, :amount, :currency, :processing_channel_id, :marketplace, :authentication_type, :authentication_category, :account_info, :challenge_indicator, :billing_descriptor, :reference, :merchant_risk_info, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction, :device_information, :google_spa, :preferred_experiences def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Sessions::SessionChallengeIndicator::NO_PREFERENCE, transaction_type: CheckoutSdk::Sessions::TransactionType::GOODS_SERVICE) @source = source @authentication_type = authentication_type @authentication_category = authentication_category @challenge_indicator = challenge_indicator @transaction_type = transaction_type end end |
#amount ⇒ Integer
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 58 class SessionRequest attr_accessor :source, :amount, :currency, :processing_channel_id, :marketplace, :authentication_type, :authentication_category, :account_info, :challenge_indicator, :billing_descriptor, :reference, :merchant_risk_info, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction, :device_information, :google_spa, :preferred_experiences def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Sessions::SessionChallengeIndicator::NO_PREFERENCE, transaction_type: CheckoutSdk::Sessions::TransactionType::GOODS_SERVICE) @source = source @authentication_type = authentication_type @authentication_category = authentication_category @challenge_indicator = challenge_indicator @transaction_type = transaction_type end end |
#authentication_category ⇒ String
Returns Category.
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 58 class SessionRequest attr_accessor :source, :amount, :currency, :processing_channel_id, :marketplace, :authentication_type, :authentication_category, :account_info, :challenge_indicator, :billing_descriptor, :reference, :merchant_risk_info, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction, :device_information, :google_spa, :preferred_experiences def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Sessions::SessionChallengeIndicator::NO_PREFERENCE, transaction_type: CheckoutSdk::Sessions::TransactionType::GOODS_SERVICE) @source = source @authentication_type = authentication_type @authentication_category = authentication_category @challenge_indicator = challenge_indicator @transaction_type = transaction_type end end |
#authentication_type ⇒ String
Returns AuthenticationType.
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 58 class SessionRequest attr_accessor :source, :amount, :currency, :processing_channel_id, :marketplace, :authentication_type, :authentication_category, :account_info, :challenge_indicator, :billing_descriptor, :reference, :merchant_risk_info, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction, :device_information, :google_spa, :preferred_experiences def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Sessions::SessionChallengeIndicator::NO_PREFERENCE, transaction_type: CheckoutSdk::Sessions::TransactionType::GOODS_SERVICE) @source = source @authentication_type = authentication_type @authentication_category = authentication_category @challenge_indicator = challenge_indicator @transaction_type = transaction_type end end |
#billing_descriptor ⇒ SessionsBillingDescriptor
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 58 class SessionRequest attr_accessor :source, :amount, :currency, :processing_channel_id, :marketplace, :authentication_type, :authentication_category, :account_info, :challenge_indicator, :billing_descriptor, :reference, :merchant_risk_info, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction, :device_information, :google_spa, :preferred_experiences def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Sessions::SessionChallengeIndicator::NO_PREFERENCE, transaction_type: CheckoutSdk::Sessions::TransactionType::GOODS_SERVICE) @source = source @authentication_type = authentication_type @authentication_category = authentication_category @challenge_indicator = challenge_indicator @transaction_type = transaction_type end end |
#challenge_indicator ⇒ String
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 58 class SessionRequest attr_accessor :source, :amount, :currency, :processing_channel_id, :marketplace, :authentication_type, :authentication_category, :account_info, :challenge_indicator, :billing_descriptor, :reference, :merchant_risk_info, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction, :device_information, :google_spa, :preferred_experiences def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Sessions::SessionChallengeIndicator::NO_PREFERENCE, transaction_type: CheckoutSdk::Sessions::TransactionType::GOODS_SERVICE) @source = source @authentication_type = authentication_type @authentication_category = authentication_category @challenge_indicator = challenge_indicator @transaction_type = transaction_type end end |
#channel_data ⇒ ChannelData
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 58 class SessionRequest attr_accessor :source, :amount, :currency, :processing_channel_id, :marketplace, :authentication_type, :authentication_category, :account_info, :challenge_indicator, :billing_descriptor, :reference, :merchant_risk_info, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction, :device_information, :google_spa, :preferred_experiences def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Sessions::SessionChallengeIndicator::NO_PREFERENCE, transaction_type: CheckoutSdk::Sessions::TransactionType::GOODS_SERVICE) @source = source @authentication_type = authentication_type @authentication_category = authentication_category @challenge_indicator = challenge_indicator @transaction_type = transaction_type end end |
#completion ⇒ Completion
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 58 class SessionRequest attr_accessor :source, :amount, :currency, :processing_channel_id, :marketplace, :authentication_type, :authentication_category, :account_info, :challenge_indicator, :billing_descriptor, :reference, :merchant_risk_info, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction, :device_information, :google_spa, :preferred_experiences def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Sessions::SessionChallengeIndicator::NO_PREFERENCE, transaction_type: CheckoutSdk::Sessions::TransactionType::GOODS_SERVICE) @source = source @authentication_type = authentication_type @authentication_category = authentication_category @challenge_indicator = challenge_indicator @transaction_type = transaction_type end end |
#currency ⇒ String
Returns Common::Currency.
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 58 class SessionRequest attr_accessor :source, :amount, :currency, :processing_channel_id, :marketplace, :authentication_type, :authentication_category, :account_info, :challenge_indicator, :billing_descriptor, :reference, :merchant_risk_info, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction, :device_information, :google_spa, :preferred_experiences def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Sessions::SessionChallengeIndicator::NO_PREFERENCE, transaction_type: CheckoutSdk::Sessions::TransactionType::GOODS_SERVICE) @source = source @authentication_type = authentication_type @authentication_category = authentication_category @challenge_indicator = challenge_indicator @transaction_type = transaction_type end end |
#device_information ⇒ DeviceInformation
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 58 class SessionRequest attr_accessor :source, :amount, :currency, :processing_channel_id, :marketplace, :authentication_type, :authentication_category, :account_info, :challenge_indicator, :billing_descriptor, :reference, :merchant_risk_info, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction, :device_information, :google_spa, :preferred_experiences def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Sessions::SessionChallengeIndicator::NO_PREFERENCE, transaction_type: CheckoutSdk::Sessions::TransactionType::GOODS_SERVICE) @source = source @authentication_type = authentication_type @authentication_category = authentication_category @challenge_indicator = challenge_indicator @transaction_type = transaction_type end end |
#google_spa ⇒ GoogleSpa
Returns Google SPA properties (non-hosted only).
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 58 class SessionRequest attr_accessor :source, :amount, :currency, :processing_channel_id, :marketplace, :authentication_type, :authentication_category, :account_info, :challenge_indicator, :billing_descriptor, :reference, :merchant_risk_info, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction, :device_information, :google_spa, :preferred_experiences def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Sessions::SessionChallengeIndicator::NO_PREFERENCE, transaction_type: CheckoutSdk::Sessions::TransactionType::GOODS_SERVICE) @source = source @authentication_type = authentication_type @authentication_category = authentication_category @challenge_indicator = challenge_indicator @transaction_type = transaction_type end end |
#initial_transaction ⇒ InitialTransaction
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 58 class SessionRequest attr_accessor :source, :amount, :currency, :processing_channel_id, :marketplace, :authentication_type, :authentication_category, :account_info, :challenge_indicator, :billing_descriptor, :reference, :merchant_risk_info, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction, :device_information, :google_spa, :preferred_experiences def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Sessions::SessionChallengeIndicator::NO_PREFERENCE, transaction_type: CheckoutSdk::Sessions::TransactionType::GOODS_SERVICE) @source = source @authentication_type = authentication_type @authentication_category = authentication_category @challenge_indicator = challenge_indicator @transaction_type = transaction_type end end |
#installment ⇒ Installment
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 58 class SessionRequest attr_accessor :source, :amount, :currency, :processing_channel_id, :marketplace, :authentication_type, :authentication_category, :account_info, :challenge_indicator, :billing_descriptor, :reference, :merchant_risk_info, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction, :device_information, :google_spa, :preferred_experiences def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Sessions::SessionChallengeIndicator::NO_PREFERENCE, transaction_type: CheckoutSdk::Sessions::TransactionType::GOODS_SERVICE) @source = source @authentication_type = authentication_type @authentication_category = authentication_category @challenge_indicator = challenge_indicator @transaction_type = transaction_type end end |
#marketplace ⇒ SessionMarketplaceData
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 58 class SessionRequest attr_accessor :source, :amount, :currency, :processing_channel_id, :marketplace, :authentication_type, :authentication_category, :account_info, :challenge_indicator, :billing_descriptor, :reference, :merchant_risk_info, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction, :device_information, :google_spa, :preferred_experiences def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Sessions::SessionChallengeIndicator::NO_PREFERENCE, transaction_type: CheckoutSdk::Sessions::TransactionType::GOODS_SERVICE) @source = source @authentication_type = authentication_type @authentication_category = authentication_category @challenge_indicator = challenge_indicator @transaction_type = transaction_type end end |
#merchant_risk_info ⇒ MerchantRiskInfo
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 58 class SessionRequest attr_accessor :source, :amount, :currency, :processing_channel_id, :marketplace, :authentication_type, :authentication_category, :account_info, :challenge_indicator, :billing_descriptor, :reference, :merchant_risk_info, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction, :device_information, :google_spa, :preferred_experiences def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Sessions::SessionChallengeIndicator::NO_PREFERENCE, transaction_type: CheckoutSdk::Sessions::TransactionType::GOODS_SERVICE) @source = source @authentication_type = authentication_type @authentication_category = authentication_category @challenge_indicator = challenge_indicator @transaction_type = transaction_type end end |
#optimization ⇒ Optimization
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 58 class SessionRequest attr_accessor :source, :amount, :currency, :processing_channel_id, :marketplace, :authentication_type, :authentication_category, :account_info, :challenge_indicator, :billing_descriptor, :reference, :merchant_risk_info, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction, :device_information, :google_spa, :preferred_experiences def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Sessions::SessionChallengeIndicator::NO_PREFERENCE, transaction_type: CheckoutSdk::Sessions::TransactionType::GOODS_SERVICE) @source = source @authentication_type = authentication_type @authentication_category = authentication_category @challenge_indicator = challenge_indicator @transaction_type = transaction_type end end |
#preferred_experiences ⇒ Array<String>
Returns The chosen experience(s) for this session. Experience.
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 58 class SessionRequest attr_accessor :source, :amount, :currency, :processing_channel_id, :marketplace, :authentication_type, :authentication_category, :account_info, :challenge_indicator, :billing_descriptor, :reference, :merchant_risk_info, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction, :device_information, :google_spa, :preferred_experiences def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Sessions::SessionChallengeIndicator::NO_PREFERENCE, transaction_type: CheckoutSdk::Sessions::TransactionType::GOODS_SERVICE) @source = source @authentication_type = authentication_type @authentication_category = authentication_category @challenge_indicator = challenge_indicator @transaction_type = transaction_type end end |
#processing_channel_id ⇒ String
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 58 class SessionRequest attr_accessor :source, :amount, :currency, :processing_channel_id, :marketplace, :authentication_type, :authentication_category, :account_info, :challenge_indicator, :billing_descriptor, :reference, :merchant_risk_info, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction, :device_information, :google_spa, :preferred_experiences def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Sessions::SessionChallengeIndicator::NO_PREFERENCE, transaction_type: CheckoutSdk::Sessions::TransactionType::GOODS_SERVICE) @source = source @authentication_type = authentication_type @authentication_category = authentication_category @challenge_indicator = challenge_indicator @transaction_type = transaction_type end end |
#recurring ⇒ Recurring
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 58 class SessionRequest attr_accessor :source, :amount, :currency, :processing_channel_id, :marketplace, :authentication_type, :authentication_category, :account_info, :challenge_indicator, :billing_descriptor, :reference, :merchant_risk_info, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction, :device_information, :google_spa, :preferred_experiences def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Sessions::SessionChallengeIndicator::NO_PREFERENCE, transaction_type: CheckoutSdk::Sessions::TransactionType::GOODS_SERVICE) @source = source @authentication_type = authentication_type @authentication_category = authentication_category @challenge_indicator = challenge_indicator @transaction_type = transaction_type end end |
#reference ⇒ String
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 58 class SessionRequest attr_accessor :source, :amount, :currency, :processing_channel_id, :marketplace, :authentication_type, :authentication_category, :account_info, :challenge_indicator, :billing_descriptor, :reference, :merchant_risk_info, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction, :device_information, :google_spa, :preferred_experiences def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Sessions::SessionChallengeIndicator::NO_PREFERENCE, transaction_type: CheckoutSdk::Sessions::TransactionType::GOODS_SERVICE) @source = source @authentication_type = authentication_type @authentication_category = authentication_category @challenge_indicator = challenge_indicator @transaction_type = transaction_type end end |
#shipping_address ⇒ SessionAddress
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 58 class SessionRequest attr_accessor :source, :amount, :currency, :processing_channel_id, :marketplace, :authentication_type, :authentication_category, :account_info, :challenge_indicator, :billing_descriptor, :reference, :merchant_risk_info, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction, :device_information, :google_spa, :preferred_experiences def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Sessions::SessionChallengeIndicator::NO_PREFERENCE, transaction_type: CheckoutSdk::Sessions::TransactionType::GOODS_SERVICE) @source = source @authentication_type = authentication_type @authentication_category = authentication_category @challenge_indicator = challenge_indicator @transaction_type = transaction_type end end |
#shipping_address_matches_billing ⇒ TrueClass, FalseClass
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 58 class SessionRequest attr_accessor :source, :amount, :currency, :processing_channel_id, :marketplace, :authentication_type, :authentication_category, :account_info, :challenge_indicator, :billing_descriptor, :reference, :merchant_risk_info, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction, :device_information, :google_spa, :preferred_experiences def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Sessions::SessionChallengeIndicator::NO_PREFERENCE, transaction_type: CheckoutSdk::Sessions::TransactionType::GOODS_SERVICE) @source = source @authentication_type = authentication_type @authentication_category = authentication_category @challenge_indicator = challenge_indicator @transaction_type = transaction_type end end |
#source ⇒ SessionSource
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 58 class SessionRequest attr_accessor :source, :amount, :currency, :processing_channel_id, :marketplace, :authentication_type, :authentication_category, :account_info, :challenge_indicator, :billing_descriptor, :reference, :merchant_risk_info, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction, :device_information, :google_spa, :preferred_experiences def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Sessions::SessionChallengeIndicator::NO_PREFERENCE, transaction_type: CheckoutSdk::Sessions::TransactionType::GOODS_SERVICE) @source = source @authentication_type = authentication_type @authentication_category = authentication_category @challenge_indicator = challenge_indicator @transaction_type = transaction_type end end |
#transaction_type ⇒ String
Returns TransactionType.
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 58 class SessionRequest attr_accessor :source, :amount, :currency, :processing_channel_id, :marketplace, :authentication_type, :authentication_category, :account_info, :challenge_indicator, :billing_descriptor, :reference, :merchant_risk_info, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction, :device_information, :google_spa, :preferred_experiences def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Sessions::SessionChallengeIndicator::NO_PREFERENCE, transaction_type: CheckoutSdk::Sessions::TransactionType::GOODS_SERVICE) @source = source @authentication_type = authentication_type @authentication_category = authentication_category @challenge_indicator = challenge_indicator @transaction_type = transaction_type end end |