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.



655
656
657
658
659
# File 'lib/stripe/resources/terminal/reader.rb', line 655

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

Instance Attribute Details

#cartObject

Cart



649
650
651
# File 'lib/stripe/resources/terminal/reader.rb', line 649

def cart
  @cart
end

#expandObject

Specifies which fields in the response should be expanded.



651
652
653
# File 'lib/stripe/resources/terminal/reader.rb', line 651

def expand
  @expand
end

#typeObject

Type



653
654
655
# File 'lib/stripe/resources/terminal/reader.rb', line 653

def type
  @type
end