Class: Stripe::Billing::CreditGrantUpdateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Billing::CreditGrantUpdateParams
- Defined in:
- lib/stripe/params/billing/credit_grant_update_params.rb
Instance Attribute Summary collapse
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
-
#expires_at ⇒ Object
The time when the billing credits created by this credit grant expire.
-
#metadata ⇒ Object
Set of key-value pairs you can attach to an object.
Instance Method Summary collapse
-
#initialize(expand: nil, expires_at: nil, metadata: nil) ⇒ CreditGrantUpdateParams
constructor
A new instance of CreditGrantUpdateParams.
Methods inherited from RequestParams
Constructor Details
#initialize(expand: nil, expires_at: nil, metadata: nil) ⇒ CreditGrantUpdateParams
Returns a new instance of CreditGrantUpdateParams.
14 15 16 17 18 |
# File 'lib/stripe/params/billing/credit_grant_update_params.rb', line 14 def initialize(expand: nil, expires_at: nil, metadata: nil) = @expires_at = expires_at = end |
Instance Attribute Details
#expand ⇒ Object
Specifies which fields in the response should be expanded.
8 9 10 |
# File 'lib/stripe/params/billing/credit_grant_update_params.rb', line 8 def end |
#expires_at ⇒ Object
The time when the billing credits created by this credit grant expire. If set to empty, the billing credits never expire.
10 11 12 |
# File 'lib/stripe/params/billing/credit_grant_update_params.rb', line 10 def expires_at @expires_at end |
#metadata ⇒ Object
Set of key-value pairs you can attach to an object. You can use this to store additional information about the object (for example, cost basis) in a structured format.
12 13 14 |
# File 'lib/stripe/params/billing/credit_grant_update_params.rb', line 12 def end |