Class: Stripe::Issuing::TransactionRefundParams

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(expand: nil, refund_amount: nil) ⇒ TransactionRefundParams

Returns a new instance of TransactionRefundParams.



12
13
14
15
# File 'lib/stripe/params/issuing/transaction_refund_params.rb', line 12

def initialize(expand: nil, refund_amount: nil)
  @expand = expand
  @refund_amount = refund_amount
end

Instance Attribute Details

#expandObject

Specifies which fields in the response should be expanded.



8
9
10
# File 'lib/stripe/params/issuing/transaction_refund_params.rb', line 8

def expand
  @expand
end

#refund_amountObject

The total amount to attempt to refund. This amount is in the provided currency, or defaults to the cards currency, and in the [smallest currency unit](stripe.com/docs/currencies#zero-decimal).



10
11
12
# File 'lib/stripe/params/issuing/transaction_refund_params.rb', line 10

def refund_amount
  @refund_amount
end