Class: CheckoutSdk::Sessions::SessionRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/checkout_sdk/sessions/session_request.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_infoCardHolderAccountInfo

Returns:

  • (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

#amountInteger

Returns:

  • (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_categoryString

Returns Category.

Returns:



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_typeString

Returns:



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_descriptorSessionsBillingDescriptor



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_indicatorString



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_dataChannelData

Returns:



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

#completionCompletion

Returns:

  • (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

#currencyString

Returns Common::Currency.

Returns:



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_informationDeviceInformation

Returns:



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_spaGoogleSpa

Returns Google SPA properties (non-hosted only).

Returns:

  • (GoogleSpa)

    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_transactionInitialTransaction

Returns:



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

#installmentInstallment

Returns:



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

#marketplaceSessionMarketplaceData



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_infoMerchantRiskInfo

Returns:



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

#optimizationOptimization

Returns:



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_experiencesArray<String>

Returns The chosen experience(s) for this session. Experience.

Returns:

  • (Array<String>)

    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_idString

Returns:

  • (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

#recurringRecurring

Returns:



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

#referenceString

Returns:

  • (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_addressSessionAddress

Returns:



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_billingTrueClass, FalseClass

Returns:

  • (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

#sourceSessionSource

Returns:



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_typeString

Returns TransactionType.

Returns:



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