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::Common::ChallengeIndicator::NO_PREFERENCE, transaction_type: CheckoutSdk::Sessions::TransactionType::GOODS_SERVICE) ⇒ 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_infoCardHolderAccountInfo



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

#amountInteger



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_categoryString



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_typeString



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_descriptorSessionsBillingDescriptor



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_indicatorString



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_dataChannelData



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

#completionCompletion



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

#currencyString



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_transactionInitialTransaction



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

#installmentInstallment



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

#marketplaceSessionMarketplaceData



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_infoMerchantRiskInfo



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

#optimizationOptimization



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_referenceString



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_idString



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

#recurringRecurring



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

#referenceString



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_addressSessionAddress



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

#sourceSessionSource



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_typeString



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