Class: Stripe::DelegatedCheckout::RequestedSessionCreateParams::PaymentMethodData
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::DelegatedCheckout::RequestedSessionCreateParams::PaymentMethodData
- Defined in:
- lib/stripe/params/delegated_checkout/requested_session_create_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
Constructor Details
#initialize(billing_details: nil, card: nil, type: nil) ⇒ PaymentMethodData
Returns a new instance of PaymentMethodData.
205 206 207 208 209 |
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 205 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.
199 200 201 |
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 199 def billing_details @billing_details end |
#card ⇒ Object
The card for the payment method data.
201 202 203 |
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 201 def card @card end |
#type ⇒ Object
The type of the payment method data.
203 204 205 |
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 203 def type @type end |