Class: Stripe::PaymentIntentCreateParams::TransferData::PaymentData

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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.



2757
2758
2759
2760
# File 'lib/stripe/params/payment_intent_create_params.rb', line 2757

def initialize(description: nil, metadata: nil)
  @description = description
  @metadata = 
end

Instance Attribute Details

#descriptionObject

An arbitrary string attached to the destination payment. Often useful for displaying to users.



2753
2754
2755
# File 'lib/stripe/params/payment_intent_create_params.rb', line 2753

def description
  @description
end

#metadataObject

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.



2755
2756
2757
# File 'lib/stripe/params/payment_intent_create_params.rb', line 2755

def 
  @metadata
end