Class: Stripe::PromotionCodeService::RetrieveParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/promotion_code_service.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.



145
146
147
# File 'lib/stripe/services/promotion_code_service.rb', line 145

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

Instance Attribute Details

#expandObject

Specifies which fields in the response should be expanded.



143
144
145
# File 'lib/stripe/services/promotion_code_service.rb', line 143

def expand
  @expand
end