Class: Stripe::SourceUpdateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::SourceUpdateParams
- Defined in:
- lib/stripe/params/source_update_params.rb
Defined Under Namespace
Classes: Mandate, Owner, SourceOrder
Instance Attribute Summary collapse
-
#amount ⇒ Object
Amount associated with the source.
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
-
#mandate ⇒ Object
Information about a mandate possibility attached to a source object (generally for bank debits) as well as its acceptance status.
-
#metadata ⇒ Object
Set of [key-value pairs](stripe.com/docs/api/metadata) that you can attach to an object.
-
#owner ⇒ Object
Information about the owner of the payment instrument that may be used or required by particular source types.
-
#source_order ⇒ Object
Information about the items and shipping associated with the source.
Instance Method Summary collapse
-
#initialize(amount: nil, expand: nil, mandate: nil, metadata: nil, owner: nil, source_order: nil) ⇒ SourceUpdateParams
constructor
A new instance of SourceUpdateParams.
Methods inherited from RequestParams
Constructor Details
#initialize(amount: nil, expand: nil, mandate: nil, metadata: nil, owner: nil, source_order: nil) ⇒ SourceUpdateParams
Returns a new instance of SourceUpdateParams.
243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 |
# File 'lib/stripe/params/source_update_params.rb', line 243 def initialize( amount: nil, expand: nil, mandate: nil, metadata: nil, owner: nil, source_order: nil ) @amount = amount @expand = @mandate = mandate @metadata = @owner = owner @source_order = source_order end |
Instance Attribute Details
#amount ⇒ Object
Amount associated with the source.
231 232 233 |
# File 'lib/stripe/params/source_update_params.rb', line 231 def amount @amount end |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
233 234 235 |
# File 'lib/stripe/params/source_update_params.rb', line 233 def @expand end |
#mandate ⇒ Object
Information about a mandate possibility attached to a source object (generally for bank debits) as well as its acceptance status.
235 236 237 |
# File 'lib/stripe/params/source_update_params.rb', line 235 def mandate @mandate 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`.
237 238 239 |
# File 'lib/stripe/params/source_update_params.rb', line 237 def @metadata end |
#owner ⇒ Object
Information about the owner of the payment instrument that may be used or required by particular source types.
239 240 241 |
# File 'lib/stripe/params/source_update_params.rb', line 239 def owner @owner end |
#source_order ⇒ Object
Information about the items and shipping associated with the source. Required for transactional credit (for example Klarna) sources before you can charge it.
241 242 243 |
# File 'lib/stripe/params/source_update_params.rb', line 241 def source_order @source_order end |