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.



669
670
671
672
673
# File 'lib/stripe/resources/terminal/reader.rb', line 669

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

Instance Attribute Details

#cartObject

Cart



663
664
665
# File 'lib/stripe/resources/terminal/reader.rb', line 663

def cart
  @cart
end

#expandObject

Specifies which fields in the response should be expanded.



665
666
667
# File 'lib/stripe/resources/terminal/reader.rb', line 665

def expand
  @expand
end

#typeObject

Type



667
668
669
# File 'lib/stripe/resources/terminal/reader.rb', line 667

def type
  @type
end