Class: Stripe::SourceCreateParams::Receiver
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::SourceCreateParams::Receiver
- Defined in:
- lib/stripe/params/source_create_params.rb
Instance Attribute Summary collapse
-
#refund_attributes_method ⇒ Object
The method Stripe should use to request information needed to process a refund or mispayment.
Instance Method Summary collapse
-
#initialize(refund_attributes_method: nil) ⇒ Receiver
constructor
A new instance of Receiver.
Methods inherited from RequestParams
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_method ⇒ Object
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 |