Class: Stripe::PaymentMethodAttachParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentMethodAttachParams
- Defined in:
- lib/stripe/params/payment_method_attach_params.rb
Instance Attribute Summary collapse
-
#customer ⇒ Object
The ID of the customer to which to attach the PaymentMethod.
-
#customer_account ⇒ Object
The ID of the Account representing the customer to which to attach the PaymentMethod.
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
Instance Method Summary collapse
-
#initialize(customer: nil, customer_account: nil, expand: nil) ⇒ PaymentMethodAttachParams
constructor
A new instance of PaymentMethodAttachParams.
Methods inherited from RequestParams
Constructor Details
#initialize(customer: nil, customer_account: nil, expand: nil) ⇒ PaymentMethodAttachParams
13 14 15 16 17 |
# File 'lib/stripe/params/payment_method_attach_params.rb', line 13 def initialize(customer: nil, customer_account: nil, expand: nil) @customer = customer @customer_account = customer_account = end |
Instance Attribute Details
#customer ⇒ Object
The ID of the customer to which to attach the PaymentMethod.
7 8 9 |
# File 'lib/stripe/params/payment_method_attach_params.rb', line 7 def customer @customer end |
#customer_account ⇒ Object
The ID of the Account representing the customer to which to attach the PaymentMethod.
9 10 11 |
# File 'lib/stripe/params/payment_method_attach_params.rb', line 9 def customer_account @customer_account end |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
11 12 13 |
# File 'lib/stripe/params/payment_method_attach_params.rb', line 11 def end |