Class: CheckoutSdk::Payments::HostedPaymentsSession
- Inherits:
-
Object
- Object
- CheckoutSdk::Payments::HostedPaymentsSession
- Defined in:
- lib/checkout_sdk/payments/hosted/hosted_payments_session.rb
Instance Attribute Summary collapse
- #allow_payment_methods ⇒ Array(CheckoutSdk::Common::PaymentSourceType)
- #amount ⇒ Integer
-
#amount_allocations ⇒ Array(CheckoutSdk::Common::AmountAllocations)
-
Not available on Previous.
-
- #billing ⇒ BillingInformation
- #billing_descriptor ⇒ BillingDescriptor
- #cancel_url ⇒ String
- #capture ⇒ TrueClass, FalseClass
- #capture_on ⇒ Time
- #currency ⇒ String
- #customer ⇒ CheckoutSdk::Common::CustomerRequest
- #customer_retry ⇒ PaymentRetryRequest
- #description ⇒ String
- #disabled_payment_methods ⇒ Array(CheckoutSdk::Common::PaymentSourceType)
- #display_name ⇒ String
- #failure_url ⇒ String
- #locale ⇒ String
- #metadata ⇒ Hash(String=>Object)
- #payment_ip ⇒ String
- #payment_type ⇒ String
- #processing ⇒ ProcessingSettings
-
#processing_channel_id ⇒ String
-
Not available on Previous.
-
- #products ⇒ Array(CheckoutSdk::Common::Product)
- #recipient ⇒ PaymentRecipient
- #reference ⇒ String
- #risk ⇒ RiskRequest
- #sender ⇒ CheckoutSdk::Payments::Sender
- #shipping ⇒ ShippingDetails
- #success_url ⇒ String
- #three_ds ⇒ ThreeDSRequest
Instance Method Summary collapse
-
#initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) ⇒ HostedPaymentsSession
constructor
A new instance of HostedPaymentsSession.
Constructor Details
#initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) ⇒ HostedPaymentsSession
Returns a new instance of HostedPaymentsSession.
95 96 97 |
# File 'lib/checkout_sdk/payments/hosted/hosted_payments_session.rb', line 95 def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) @payment_type = payment_type end |
Instance Attribute Details
#allow_payment_methods ⇒ Array(CheckoutSdk::Common::PaymentSourceType)
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 96 97 98 |
# File 'lib/checkout_sdk/payments/hosted/hosted_payments_session.rb', line 65 class HostedPaymentsSession attr_accessor :amount, :currency, :payment_ip, :billing_descriptor, :reference, :description, :display_name, :processing_channel_id, :amount_allocations, :customer, :shipping, :billing, :recipient, :processing, :allow_payment_methods, :disabled_payment_methods, :products, :risk, :customer_retry, :sender, :success_url, :cancel_url, :failure_url, :metadata, :locale, :three_ds, :capture, :capture_on def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) @payment_type = payment_type end end |
#amount ⇒ Integer
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 96 97 98 |
# File 'lib/checkout_sdk/payments/hosted/hosted_payments_session.rb', line 65 class HostedPaymentsSession attr_accessor :amount, :currency, :payment_ip, :billing_descriptor, :reference, :description, :display_name, :processing_channel_id, :amount_allocations, :customer, :shipping, :billing, :recipient, :processing, :allow_payment_methods, :disabled_payment_methods, :products, :risk, :customer_retry, :sender, :success_url, :cancel_url, :failure_url, :metadata, :locale, :three_ds, :capture, :capture_on def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) @payment_type = payment_type end end |
#amount_allocations ⇒ Array(CheckoutSdk::Common::AmountAllocations)
Returns - Not available on Previous.
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 96 97 98 |
# File 'lib/checkout_sdk/payments/hosted/hosted_payments_session.rb', line 65 class HostedPaymentsSession attr_accessor :amount, :currency, :payment_ip, :billing_descriptor, :reference, :description, :display_name, :processing_channel_id, :amount_allocations, :customer, :shipping, :billing, :recipient, :processing, :allow_payment_methods, :disabled_payment_methods, :products, :risk, :customer_retry, :sender, :success_url, :cancel_url, :failure_url, :metadata, :locale, :three_ds, :capture, :capture_on def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) @payment_type = payment_type end end |
#billing ⇒ BillingInformation
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 96 97 98 |
# File 'lib/checkout_sdk/payments/hosted/hosted_payments_session.rb', line 65 class HostedPaymentsSession attr_accessor :amount, :currency, :payment_ip, :billing_descriptor, :reference, :description, :display_name, :processing_channel_id, :amount_allocations, :customer, :shipping, :billing, :recipient, :processing, :allow_payment_methods, :disabled_payment_methods, :products, :risk, :customer_retry, :sender, :success_url, :cancel_url, :failure_url, :metadata, :locale, :three_ds, :capture, :capture_on def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) @payment_type = payment_type end end |
#billing_descriptor ⇒ BillingDescriptor
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 96 97 98 |
# File 'lib/checkout_sdk/payments/hosted/hosted_payments_session.rb', line 65 class HostedPaymentsSession attr_accessor :amount, :currency, :payment_ip, :billing_descriptor, :reference, :description, :display_name, :processing_channel_id, :amount_allocations, :customer, :shipping, :billing, :recipient, :processing, :allow_payment_methods, :disabled_payment_methods, :products, :risk, :customer_retry, :sender, :success_url, :cancel_url, :failure_url, :metadata, :locale, :three_ds, :capture, :capture_on def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) @payment_type = payment_type end end |
#cancel_url ⇒ String
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 96 97 98 |
# File 'lib/checkout_sdk/payments/hosted/hosted_payments_session.rb', line 65 class HostedPaymentsSession attr_accessor :amount, :currency, :payment_ip, :billing_descriptor, :reference, :description, :display_name, :processing_channel_id, :amount_allocations, :customer, :shipping, :billing, :recipient, :processing, :allow_payment_methods, :disabled_payment_methods, :products, :risk, :customer_retry, :sender, :success_url, :cancel_url, :failure_url, :metadata, :locale, :three_ds, :capture, :capture_on def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) @payment_type = payment_type end end |
#capture ⇒ TrueClass, FalseClass
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 96 97 98 |
# File 'lib/checkout_sdk/payments/hosted/hosted_payments_session.rb', line 65 class HostedPaymentsSession attr_accessor :amount, :currency, :payment_ip, :billing_descriptor, :reference, :description, :display_name, :processing_channel_id, :amount_allocations, :customer, :shipping, :billing, :recipient, :processing, :allow_payment_methods, :disabled_payment_methods, :products, :risk, :customer_retry, :sender, :success_url, :cancel_url, :failure_url, :metadata, :locale, :three_ds, :capture, :capture_on def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) @payment_type = payment_type end end |
#capture_on ⇒ Time
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 96 97 98 |
# File 'lib/checkout_sdk/payments/hosted/hosted_payments_session.rb', line 65 class HostedPaymentsSession attr_accessor :amount, :currency, :payment_ip, :billing_descriptor, :reference, :description, :display_name, :processing_channel_id, :amount_allocations, :customer, :shipping, :billing, :recipient, :processing, :allow_payment_methods, :disabled_payment_methods, :products, :risk, :customer_retry, :sender, :success_url, :cancel_url, :failure_url, :metadata, :locale, :three_ds, :capture, :capture_on def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) @payment_type = payment_type end end |
#currency ⇒ String
Returns Common::Currency.
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 96 97 98 |
# File 'lib/checkout_sdk/payments/hosted/hosted_payments_session.rb', line 65 class HostedPaymentsSession attr_accessor :amount, :currency, :payment_ip, :billing_descriptor, :reference, :description, :display_name, :processing_channel_id, :amount_allocations, :customer, :shipping, :billing, :recipient, :processing, :allow_payment_methods, :disabled_payment_methods, :products, :risk, :customer_retry, :sender, :success_url, :cancel_url, :failure_url, :metadata, :locale, :three_ds, :capture, :capture_on def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) @payment_type = payment_type end end |
#customer ⇒ CheckoutSdk::Common::CustomerRequest
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 96 97 98 |
# File 'lib/checkout_sdk/payments/hosted/hosted_payments_session.rb', line 65 class HostedPaymentsSession attr_accessor :amount, :currency, :payment_ip, :billing_descriptor, :reference, :description, :display_name, :processing_channel_id, :amount_allocations, :customer, :shipping, :billing, :recipient, :processing, :allow_payment_methods, :disabled_payment_methods, :products, :risk, :customer_retry, :sender, :success_url, :cancel_url, :failure_url, :metadata, :locale, :three_ds, :capture, :capture_on def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) @payment_type = payment_type end end |
#customer_retry ⇒ PaymentRetryRequest
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 96 97 98 |
# File 'lib/checkout_sdk/payments/hosted/hosted_payments_session.rb', line 65 class HostedPaymentsSession attr_accessor :amount, :currency, :payment_ip, :billing_descriptor, :reference, :description, :display_name, :processing_channel_id, :amount_allocations, :customer, :shipping, :billing, :recipient, :processing, :allow_payment_methods, :disabled_payment_methods, :products, :risk, :customer_retry, :sender, :success_url, :cancel_url, :failure_url, :metadata, :locale, :three_ds, :capture, :capture_on def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) @payment_type = payment_type end end |
#description ⇒ String
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 96 97 98 |
# File 'lib/checkout_sdk/payments/hosted/hosted_payments_session.rb', line 65 class HostedPaymentsSession attr_accessor :amount, :currency, :payment_ip, :billing_descriptor, :reference, :description, :display_name, :processing_channel_id, :amount_allocations, :customer, :shipping, :billing, :recipient, :processing, :allow_payment_methods, :disabled_payment_methods, :products, :risk, :customer_retry, :sender, :success_url, :cancel_url, :failure_url, :metadata, :locale, :three_ds, :capture, :capture_on def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) @payment_type = payment_type end end |
#disabled_payment_methods ⇒ Array(CheckoutSdk::Common::PaymentSourceType)
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 96 97 98 |
# File 'lib/checkout_sdk/payments/hosted/hosted_payments_session.rb', line 65 class HostedPaymentsSession attr_accessor :amount, :currency, :payment_ip, :billing_descriptor, :reference, :description, :display_name, :processing_channel_id, :amount_allocations, :customer, :shipping, :billing, :recipient, :processing, :allow_payment_methods, :disabled_payment_methods, :products, :risk, :customer_retry, :sender, :success_url, :cancel_url, :failure_url, :metadata, :locale, :three_ds, :capture, :capture_on def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) @payment_type = payment_type end end |
#display_name ⇒ String
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 96 97 98 |
# File 'lib/checkout_sdk/payments/hosted/hosted_payments_session.rb', line 65 class HostedPaymentsSession attr_accessor :amount, :currency, :payment_ip, :billing_descriptor, :reference, :description, :display_name, :processing_channel_id, :amount_allocations, :customer, :shipping, :billing, :recipient, :processing, :allow_payment_methods, :disabled_payment_methods, :products, :risk, :customer_retry, :sender, :success_url, :cancel_url, :failure_url, :metadata, :locale, :three_ds, :capture, :capture_on def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) @payment_type = payment_type end end |
#failure_url ⇒ String
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 96 97 98 |
# File 'lib/checkout_sdk/payments/hosted/hosted_payments_session.rb', line 65 class HostedPaymentsSession attr_accessor :amount, :currency, :payment_ip, :billing_descriptor, :reference, :description, :display_name, :processing_channel_id, :amount_allocations, :customer, :shipping, :billing, :recipient, :processing, :allow_payment_methods, :disabled_payment_methods, :products, :risk, :customer_retry, :sender, :success_url, :cancel_url, :failure_url, :metadata, :locale, :three_ds, :capture, :capture_on def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) @payment_type = payment_type end end |
#locale ⇒ String
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 96 97 98 |
# File 'lib/checkout_sdk/payments/hosted/hosted_payments_session.rb', line 65 class HostedPaymentsSession attr_accessor :amount, :currency, :payment_ip, :billing_descriptor, :reference, :description, :display_name, :processing_channel_id, :amount_allocations, :customer, :shipping, :billing, :recipient, :processing, :allow_payment_methods, :disabled_payment_methods, :products, :risk, :customer_retry, :sender, :success_url, :cancel_url, :failure_url, :metadata, :locale, :three_ds, :capture, :capture_on def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) @payment_type = payment_type end end |
#metadata ⇒ Hash(String=>Object)
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 96 97 98 |
# File 'lib/checkout_sdk/payments/hosted/hosted_payments_session.rb', line 65 class HostedPaymentsSession attr_accessor :amount, :currency, :payment_ip, :billing_descriptor, :reference, :description, :display_name, :processing_channel_id, :amount_allocations, :customer, :shipping, :billing, :recipient, :processing, :allow_payment_methods, :disabled_payment_methods, :products, :risk, :customer_retry, :sender, :success_url, :cancel_url, :failure_url, :metadata, :locale, :three_ds, :capture, :capture_on def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) @payment_type = payment_type end end |
#payment_ip ⇒ String
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 96 97 98 |
# File 'lib/checkout_sdk/payments/hosted/hosted_payments_session.rb', line 65 class HostedPaymentsSession attr_accessor :amount, :currency, :payment_ip, :billing_descriptor, :reference, :description, :display_name, :processing_channel_id, :amount_allocations, :customer, :shipping, :billing, :recipient, :processing, :allow_payment_methods, :disabled_payment_methods, :products, :risk, :customer_retry, :sender, :success_url, :cancel_url, :failure_url, :metadata, :locale, :three_ds, :capture, :capture_on def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) @payment_type = payment_type end end |
#payment_type ⇒ String
Returns PaymentType.
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 96 97 98 |
# File 'lib/checkout_sdk/payments/hosted/hosted_payments_session.rb', line 65 class HostedPaymentsSession attr_accessor :amount, :currency, :payment_ip, :billing_descriptor, :reference, :description, :display_name, :processing_channel_id, :amount_allocations, :customer, :shipping, :billing, :recipient, :processing, :allow_payment_methods, :disabled_payment_methods, :products, :risk, :customer_retry, :sender, :success_url, :cancel_url, :failure_url, :metadata, :locale, :three_ds, :capture, :capture_on def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) @payment_type = payment_type end end |
#processing ⇒ ProcessingSettings
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 96 97 98 |
# File 'lib/checkout_sdk/payments/hosted/hosted_payments_session.rb', line 65 class HostedPaymentsSession attr_accessor :amount, :currency, :payment_ip, :billing_descriptor, :reference, :description, :display_name, :processing_channel_id, :amount_allocations, :customer, :shipping, :billing, :recipient, :processing, :allow_payment_methods, :disabled_payment_methods, :products, :risk, :customer_retry, :sender, :success_url, :cancel_url, :failure_url, :metadata, :locale, :three_ds, :capture, :capture_on def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) @payment_type = payment_type end end |
#processing_channel_id ⇒ String
Returns - Not available on Previous.
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 96 97 98 |
# File 'lib/checkout_sdk/payments/hosted/hosted_payments_session.rb', line 65 class HostedPaymentsSession attr_accessor :amount, :currency, :payment_ip, :billing_descriptor, :reference, :description, :display_name, :processing_channel_id, :amount_allocations, :customer, :shipping, :billing, :recipient, :processing, :allow_payment_methods, :disabled_payment_methods, :products, :risk, :customer_retry, :sender, :success_url, :cancel_url, :failure_url, :metadata, :locale, :three_ds, :capture, :capture_on def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) @payment_type = payment_type end end |
#products ⇒ Array(CheckoutSdk::Common::Product)
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 96 97 98 |
# File 'lib/checkout_sdk/payments/hosted/hosted_payments_session.rb', line 65 class HostedPaymentsSession attr_accessor :amount, :currency, :payment_ip, :billing_descriptor, :reference, :description, :display_name, :processing_channel_id, :amount_allocations, :customer, :shipping, :billing, :recipient, :processing, :allow_payment_methods, :disabled_payment_methods, :products, :risk, :customer_retry, :sender, :success_url, :cancel_url, :failure_url, :metadata, :locale, :three_ds, :capture, :capture_on def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) @payment_type = payment_type end end |
#recipient ⇒ PaymentRecipient
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 96 97 98 |
# File 'lib/checkout_sdk/payments/hosted/hosted_payments_session.rb', line 65 class HostedPaymentsSession attr_accessor :amount, :currency, :payment_ip, :billing_descriptor, :reference, :description, :display_name, :processing_channel_id, :amount_allocations, :customer, :shipping, :billing, :recipient, :processing, :allow_payment_methods, :disabled_payment_methods, :products, :risk, :customer_retry, :sender, :success_url, :cancel_url, :failure_url, :metadata, :locale, :three_ds, :capture, :capture_on def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) @payment_type = payment_type end end |
#reference ⇒ String
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 96 97 98 |
# File 'lib/checkout_sdk/payments/hosted/hosted_payments_session.rb', line 65 class HostedPaymentsSession attr_accessor :amount, :currency, :payment_ip, :billing_descriptor, :reference, :description, :display_name, :processing_channel_id, :amount_allocations, :customer, :shipping, :billing, :recipient, :processing, :allow_payment_methods, :disabled_payment_methods, :products, :risk, :customer_retry, :sender, :success_url, :cancel_url, :failure_url, :metadata, :locale, :three_ds, :capture, :capture_on def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) @payment_type = payment_type end end |
#risk ⇒ RiskRequest
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 96 97 98 |
# File 'lib/checkout_sdk/payments/hosted/hosted_payments_session.rb', line 65 class HostedPaymentsSession attr_accessor :amount, :currency, :payment_ip, :billing_descriptor, :reference, :description, :display_name, :processing_channel_id, :amount_allocations, :customer, :shipping, :billing, :recipient, :processing, :allow_payment_methods, :disabled_payment_methods, :products, :risk, :customer_retry, :sender, :success_url, :cancel_url, :failure_url, :metadata, :locale, :three_ds, :capture, :capture_on def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) @payment_type = payment_type end end |
#sender ⇒ CheckoutSdk::Payments::Sender
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 96 97 98 |
# File 'lib/checkout_sdk/payments/hosted/hosted_payments_session.rb', line 65 class HostedPaymentsSession attr_accessor :amount, :currency, :payment_ip, :billing_descriptor, :reference, :description, :display_name, :processing_channel_id, :amount_allocations, :customer, :shipping, :billing, :recipient, :processing, :allow_payment_methods, :disabled_payment_methods, :products, :risk, :customer_retry, :sender, :success_url, :cancel_url, :failure_url, :metadata, :locale, :three_ds, :capture, :capture_on def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) @payment_type = payment_type end end |
#shipping ⇒ ShippingDetails
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 96 97 98 |
# File 'lib/checkout_sdk/payments/hosted/hosted_payments_session.rb', line 65 class HostedPaymentsSession attr_accessor :amount, :currency, :payment_ip, :billing_descriptor, :reference, :description, :display_name, :processing_channel_id, :amount_allocations, :customer, :shipping, :billing, :recipient, :processing, :allow_payment_methods, :disabled_payment_methods, :products, :risk, :customer_retry, :sender, :success_url, :cancel_url, :failure_url, :metadata, :locale, :three_ds, :capture, :capture_on def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) @payment_type = payment_type end end |
#success_url ⇒ String
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 96 97 98 |
# File 'lib/checkout_sdk/payments/hosted/hosted_payments_session.rb', line 65 class HostedPaymentsSession attr_accessor :amount, :currency, :payment_ip, :billing_descriptor, :reference, :description, :display_name, :processing_channel_id, :amount_allocations, :customer, :shipping, :billing, :recipient, :processing, :allow_payment_methods, :disabled_payment_methods, :products, :risk, :customer_retry, :sender, :success_url, :cancel_url, :failure_url, :metadata, :locale, :three_ds, :capture, :capture_on def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) @payment_type = payment_type end end |
#three_ds ⇒ ThreeDSRequest
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 96 97 98 |
# File 'lib/checkout_sdk/payments/hosted/hosted_payments_session.rb', line 65 class HostedPaymentsSession attr_accessor :amount, :currency, :payment_ip, :billing_descriptor, :reference, :description, :display_name, :processing_channel_id, :amount_allocations, :customer, :shipping, :billing, :recipient, :processing, :allow_payment_methods, :disabled_payment_methods, :products, :risk, :customer_retry, :sender, :success_url, :cancel_url, :failure_url, :metadata, :locale, :three_ds, :capture, :capture_on def initialize(payment_type: CheckoutSdk::Payments::PaymentType::REGULAR) @payment_type = payment_type end end |