Class: Stripe::SourceCreateParams::Receiver

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(refund_attributes_method: nil) ⇒ Receiver

Returns a new instance of Receiver.



142
143
144
# File 'lib/stripe/params/source_create_params.rb', line 142

def initialize(refund_attributes_method: nil)
  @refund_attributes_method = refund_attributes_method
end

Instance Attribute Details

#refund_attributes_methodObject

The method Stripe should use to request information needed to process a refund or mispayment. Either ‘email` (an email is sent directly to the customer) or `manual` (a `source.refund_attributes_required` event is sent to your webhooks endpoint). Refer to each payment method’s documentation to learn which refund attributes may be required.



140
141
142
# File 'lib/stripe/params/source_create_params.rb', line 140

def refund_attributes_method
  @refund_attributes_method
end