Class: Stripe::GiftCards::Transaction::CancelParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/gift_cards/transaction.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(expand: nil) ⇒ CancelParams

Returns a new instance of CancelParams.



172
173
174
# File 'lib/stripe/resources/gift_cards/transaction.rb', line 172

def initialize(expand: nil)
  @expand = expand
end

Instance Attribute Details

#expandObject

Specifies which fields in the response should be expanded.



170
171
172
# File 'lib/stripe/resources/gift_cards/transaction.rb', line 170

def expand
  @expand
end