Class: Stripe::Terminal::ReaderService::SetReaderDisplayParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/terminal/reader_service.rb

Defined Under Namespace

Classes: Cart

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(cart: nil, expand: nil, type: nil) ⇒ SetReaderDisplayParams

Returns a new instance of SetReaderDisplayParams.



266
267
268
269
270
# File 'lib/stripe/services/terminal/reader_service.rb', line 266

def initialize(cart: nil, expand: nil, type: nil)
  @cart = cart
  @expand = expand
  @type = type
end

Instance Attribute Details

#cartObject

Cart



260
261
262
# File 'lib/stripe/services/terminal/reader_service.rb', line 260

def cart
  @cart
end

#expandObject

Specifies which fields in the response should be expanded.



262
263
264
# File 'lib/stripe/services/terminal/reader_service.rb', line 262

def expand
  @expand
end

#typeObject

Type



264
265
266
# File 'lib/stripe/services/terminal/reader_service.rb', line 264

def type
  @type
end