Class: Stripe::Billing::CreditGrantUpdateParams

Inherits:
RequestParams show all
Defined in:
lib/stripe/params/billing/credit_grant_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

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)
  @expand = expand
  @expires_at = expires_at
   = 
end

Instance Attribute Details

#expandObject

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 expand
  @expand
end

#expires_atObject

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

#metadataObject

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