Class: Stripe::Terminal::Reader::SetReaderDisplayParams

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



370
371
372
373
374
# File 'lib/stripe/resources/terminal/reader.rb', line 370

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

Instance Attribute Details

#cartObject

Cart



364
365
366
# File 'lib/stripe/resources/terminal/reader.rb', line 364

def cart
  @cart
end

#expandObject

Specifies which fields in the response should be expanded.



366
367
368
# File 'lib/stripe/resources/terminal/reader.rb', line 366

def expand
  @expand
end

#typeObject

Type



368
369
370
# File 'lib/stripe/resources/terminal/reader.rb', line 368

def type
  @type
end