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.



677
678
679
680
681
# File 'lib/stripe/resources/terminal/reader.rb', line 677

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

Instance Attribute Details

#cartObject

Cart



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

def cart
  @cart
end

#expandObject

Specifies which fields in the response should be expanded.



673
674
675
# File 'lib/stripe/resources/terminal/reader.rb', line 673

def expand
  @expand
end

#typeObject

Type



675
676
677
# File 'lib/stripe/resources/terminal/reader.rb', line 675

def type
  @type
end