Class: Stripe::DelegatedCheckout::RequestedSessionConfirmParams::PaymentMethodData
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::DelegatedCheckout::RequestedSessionConfirmParams::PaymentMethodData
- Defined in:
- lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb
Defined Under Namespace
Classes: BillingDetails, Card
Instance Attribute Summary collapse
-
#billing_details ⇒ Object
The billing details for the payment method data.
-
#card ⇒ Object
The card for the payment method data.
-
#type ⇒ Object
The type of the payment method data.
Instance Method Summary collapse
-
#initialize(billing_details: nil, card: nil, type: nil) ⇒ PaymentMethodData
constructor
A new instance of PaymentMethodData.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(billing_details: nil, card: nil, type: nil) ⇒ PaymentMethodData
Returns a new instance of PaymentMethodData.
145 146 147 148 149 |
# File 'lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb', line 145 def initialize(billing_details: nil, card: nil, type: nil) @billing_details = billing_details @card = card @type = type end |
Instance Attribute Details
#billing_details ⇒ Object
The billing details for the payment method data.
139 140 141 |
# File 'lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb', line 139 def billing_details @billing_details end |
#card ⇒ Object
The card for the payment method data.
141 142 143 |
# File 'lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb', line 141 def card @card end |
#type ⇒ Object
The type of the payment method data.
143 144 145 |
# File 'lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb', line 143 def type @type end |