Class: Stripe::PromotionCode::RetrieveParams

Inherits:
RequestParams show all
Defined in:
lib/stripe/resources/promotion_code.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(expand: nil) ⇒ RetrieveParams

Returns a new instance of RetrieveParams.



196
197
198
# File 'lib/stripe/resources/promotion_code.rb', line 196

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

Instance Attribute Details

#expandObject

Specifies which fields in the response should be expanded.



194
195
196
# File 'lib/stripe/resources/promotion_code.rb', line 194

def expand
  @expand
end