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.



910
911
912
913
914
# File 'lib/stripe/resources/terminal/reader.rb', line 910

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

Instance Attribute Details

#cartObject

Cart



904
905
906
# File 'lib/stripe/resources/terminal/reader.rb', line 904

def cart
  @cart
end

#expandObject

Specifies which fields in the response should be expanded.



906
907
908
# File 'lib/stripe/resources/terminal/reader.rb', line 906

def expand
  @expand
end

#typeObject

Type



908
909
910
# File 'lib/stripe/resources/terminal/reader.rb', line 908

def type
  @type
end