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.



778
779
780
781
782
# File 'lib/stripe/resources/terminal/reader.rb', line 778

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

Instance Attribute Details

#cartObject

Cart



770
771
772
# File 'lib/stripe/resources/terminal/reader.rb', line 770

def cart
  @cart
end

#expandObject

Specifies which fields in the response should be expanded.



773
774
775
# File 'lib/stripe/resources/terminal/reader.rb', line 773

def expand
  @expand
end

#typeObject

Type



776
777
778
# File 'lib/stripe/resources/terminal/reader.rb', line 776

def type
  @type
end