Class: Stripe::PaymentMethodAttachParams

Inherits:
RequestParams show all
Defined in:
lib/stripe/params/payment_method_attach_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

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
   = 
  @expand = expand
end

Instance Attribute Details

#customerObject

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_accountObject

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 
  
end

#expandObject

Specifies which fields in the response should be expanded.



11
12
13
# File 'lib/stripe/params/payment_method_attach_params.rb', line 11

def expand
  @expand
end