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.



171
172
173
# File 'lib/stripe/resources/promotion_code.rb', line 171

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

Instance Attribute Details

#expandObject

Specifies which fields in the response should be expanded.



169
170
171
# File 'lib/stripe/resources/promotion_code.rb', line 169

def expand
  @expand
end