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
- #initial_transaction ⇒ InitialTransaction
- #installment ⇒ Installment
- #marketplace ⇒ SessionMarketplaceData
- #merchant_risk_info ⇒ MerchantRiskInfo
- #optimization ⇒ Optimization
- #prior_transaction_reference ⇒ String
- #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::Common::ChallengeIndicator::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::Common::ChallengeIndicator::NO_PREFERENCE, transaction_type: CheckoutSdk::Sessions::TransactionType::GOODS_SERVICE) ⇒ SessionRequest
Returns a new instance of SessionRequest.
78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 78 def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Common::ChallengeIndicator::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
54 55 56 57 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 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 54 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, :prior_transaction_reference, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Common::ChallengeIndicator::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
54 55 56 57 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 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 54 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, :prior_transaction_reference, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Common::ChallengeIndicator::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.
54 55 56 57 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 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 54 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, :prior_transaction_reference, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Common::ChallengeIndicator::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.
54 55 56 57 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 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 54 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, :prior_transaction_reference, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Common::ChallengeIndicator::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
54 55 56 57 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 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 54 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, :prior_transaction_reference, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Common::ChallengeIndicator::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
Returns Common::ChallengeIndicator.
54 55 56 57 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 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 54 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, :prior_transaction_reference, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Common::ChallengeIndicator::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
54 55 56 57 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 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 54 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, :prior_transaction_reference, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Common::ChallengeIndicator::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
54 55 56 57 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 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 54 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, :prior_transaction_reference, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Common::ChallengeIndicator::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.
54 55 56 57 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 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 54 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, :prior_transaction_reference, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Common::ChallengeIndicator::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
54 55 56 57 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 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 54 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, :prior_transaction_reference, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Common::ChallengeIndicator::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
54 55 56 57 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 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 54 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, :prior_transaction_reference, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Common::ChallengeIndicator::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
54 55 56 57 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 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 54 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, :prior_transaction_reference, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Common::ChallengeIndicator::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
54 55 56 57 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 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 54 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, :prior_transaction_reference, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Common::ChallengeIndicator::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
54 55 56 57 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 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 54 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, :prior_transaction_reference, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Common::ChallengeIndicator::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 |
#prior_transaction_reference ⇒ String
54 55 56 57 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 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 54 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, :prior_transaction_reference, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Common::ChallengeIndicator::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
54 55 56 57 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 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 54 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, :prior_transaction_reference, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Common::ChallengeIndicator::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
54 55 56 57 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 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 54 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, :prior_transaction_reference, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Common::ChallengeIndicator::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
54 55 56 57 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 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 54 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, :prior_transaction_reference, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Common::ChallengeIndicator::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
54 55 56 57 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 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 54 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, :prior_transaction_reference, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Common::ChallengeIndicator::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
54 55 56 57 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 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 54 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, :prior_transaction_reference, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Common::ChallengeIndicator::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
54 55 56 57 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 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 54 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, :prior_transaction_reference, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Common::ChallengeIndicator::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.
54 55 56 57 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 |
# File 'lib/checkout_sdk/sessions/session_request.rb', line 54 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, :prior_transaction_reference, :transaction_type, :shipping_address, :shipping_address_matches_billing, :completion, :channel_data, :recurring, :installment, :optimization, :initial_transaction def initialize(source: CardSource.new, authentication_type: CheckoutSdk::Sessions::AuthenticationType::REGULAR, authentication_category: CheckoutSdk::Sessions::Category::PAYMENT, challenge_indicator: CheckoutSdk::Common::ChallengeIndicator::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 |