Class: Stripe::Treasury::InboundTransferCreateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Treasury::InboundTransferCreateParams
- Defined in:
- lib/stripe/params/treasury/inbound_transfer_create_params.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Amount (in cents) to be transferred.
-
#currency ⇒ Object
Three-letter [ISO currency code](www.iso.org/iso-4217-currency-codes.html), in lowercase.
-
#description ⇒ Object
An arbitrary string attached to the object.
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
-
#financial_account ⇒ Object
The FinancialAccount to send funds to.
-
#metadata ⇒ Object
Set of [key-value pairs](stripe.com/docs/api/metadata) that you can attach to an object.
-
#origin_payment_method ⇒ Object
The origin payment method to be debited for the InboundTransfer.
-
#statement_descriptor ⇒ Object
The complete description that appears on your customers’ statements.
Instance Method Summary collapse
-
#initialize(amount: nil, currency: nil, description: nil, expand: nil, financial_account: nil, metadata: nil, origin_payment_method: nil, statement_descriptor: nil) ⇒ InboundTransferCreateParams
constructor
A new instance of InboundTransferCreateParams.
Methods inherited from RequestParams
Constructor Details
#initialize(amount: nil, currency: nil, description: nil, expand: nil, financial_account: nil, metadata: nil, origin_payment_method: nil, statement_descriptor: nil) ⇒ InboundTransferCreateParams
Returns a new instance of InboundTransferCreateParams.
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
# File 'lib/stripe/params/treasury/inbound_transfer_create_params.rb', line 24 def initialize( amount: nil, currency: nil, description: nil, expand: nil, financial_account: nil, metadata: nil, origin_payment_method: nil, statement_descriptor: nil ) @amount = amount @currency = currency @description = description @expand = @financial_account = financial_account @metadata = @origin_payment_method = origin_payment_method @statement_descriptor = statement_descriptor end |
Instance Attribute Details
#amount ⇒ Object
Amount (in cents) to be transferred.
8 9 10 |
# File 'lib/stripe/params/treasury/inbound_transfer_create_params.rb', line 8 def amount @amount end |
#currency ⇒ Object
Three-letter [ISO currency code](www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](stripe.com/docs/currencies).
10 11 12 |
# File 'lib/stripe/params/treasury/inbound_transfer_create_params.rb', line 10 def currency @currency end |
#description ⇒ Object
An arbitrary string attached to the object. Often useful for displaying to users.
12 13 14 |
# File 'lib/stripe/params/treasury/inbound_transfer_create_params.rb', line 12 def description @description end |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
14 15 16 |
# File 'lib/stripe/params/treasury/inbound_transfer_create_params.rb', line 14 def @expand end |
#financial_account ⇒ Object
The FinancialAccount to send funds to.
16 17 18 |
# File 'lib/stripe/params/treasury/inbound_transfer_create_params.rb', line 16 def financial_account @financial_account end |
#metadata ⇒ Object
Set of [key-value pairs](stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to ‘metadata`.
18 19 20 |
# File 'lib/stripe/params/treasury/inbound_transfer_create_params.rb', line 18 def @metadata end |
#origin_payment_method ⇒ Object
The origin payment method to be debited for the InboundTransfer.
20 21 22 |
# File 'lib/stripe/params/treasury/inbound_transfer_create_params.rb', line 20 def origin_payment_method @origin_payment_method end |
#statement_descriptor ⇒ Object
The complete description that appears on your customers’ statements. Maximum 10 characters.
22 23 24 |
# File 'lib/stripe/params/treasury/inbound_transfer_create_params.rb', line 22 def statement_descriptor @statement_descriptor end |