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.
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
Instance Method Summary collapse
-
#initialize(customer: nil, expand: nil) ⇒ PaymentMethodAttachParams
constructor
A new instance of PaymentMethodAttachParams.
Methods inherited from RequestParams
Constructor Details
#initialize(customer: nil, expand: nil) ⇒ PaymentMethodAttachParams
Returns a new instance of PaymentMethodAttachParams.
11 12 13 14 |
# File 'lib/stripe/params/payment_method_attach_params.rb', line 11 def initialize(customer: nil, expand: nil) @customer = customer @expand = 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 |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
9 10 11 |
# File 'lib/stripe/params/payment_method_attach_params.rb', line 9 def @expand end |