Class: Stripe::PaymentIntentCreateParams::TransferData::PaymentData
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCreateParams::TransferData::PaymentData
- Defined in:
- lib/stripe/params/payment_intent_create_params.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
An arbitrary string attached to the destination payment.
-
#metadata ⇒ Object
Set of [key-value pairs](docs.stripe.com/api/metadata) that you can attach to an object.
Instance Method Summary collapse
-
#initialize(description: nil, metadata: nil) ⇒ PaymentData
constructor
A new instance of PaymentData.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(description: nil, metadata: nil) ⇒ PaymentData
Returns a new instance of PaymentData.
5684 5685 5686 5687 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 5684 def initialize(description: nil, metadata: nil) @description = description @metadata = end |
Instance Attribute Details
#description ⇒ Object
An arbitrary string attached to the destination payment. Often useful for displaying to users.
5680 5681 5682 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 5680 def description @description end |
#metadata ⇒ Object
Set of [key-value pairs](docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
5682 5683 5684 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 5682 def @metadata end |