Class: Stripe::Terminal::ConfigurationService::UpdateParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/terminal/configuration_service.rb

Defined Under Namespace

Classes: BbposWiseposE, Offline, RebootWindow, StripeS700, Tipping, VerifoneP400, Wifi

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(bbpos_wisepos_e: nil, expand: nil, name: nil, offline: nil, reboot_window: nil, stripe_s700: nil, tipping: nil, verifone_p400: nil, wifi: nil) ⇒ UpdateParams

Returns a new instance of UpdateParams.



475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
# File 'lib/stripe/services/terminal/configuration_service.rb', line 475

def initialize(
  bbpos_wisepos_e: nil,
  expand: nil,
  name: nil,
  offline: nil,
  reboot_window: nil,
  stripe_s700: nil,
  tipping: nil,
  verifone_p400: nil,
  wifi: nil
)
  @bbpos_wisepos_e = bbpos_wisepos_e
  @expand = expand
  @name = name
  @offline = offline
  @reboot_window = reboot_window
  @stripe_s700 = stripe_s700
  @tipping = tipping
  @verifone_p400 = verifone_p400
  @wifi = wifi
end

Instance Attribute Details

#bbpos_wisepos_eObject

An object containing device type specific settings for BBPOS WisePOS E readers



457
458
459
# File 'lib/stripe/services/terminal/configuration_service.rb', line 457

def bbpos_wisepos_e
  @bbpos_wisepos_e
end

#expandObject

Specifies which fields in the response should be expanded.



459
460
461
# File 'lib/stripe/services/terminal/configuration_service.rb', line 459

def expand
  @expand
end

#nameObject

Name of the configuration



461
462
463
# File 'lib/stripe/services/terminal/configuration_service.rb', line 461

def name
  @name
end

#offlineObject

Configurations for collecting transactions offline.



463
464
465
# File 'lib/stripe/services/terminal/configuration_service.rb', line 463

def offline
  @offline
end

#reboot_windowObject

Reboot time settings for readers that support customized reboot time configuration.



465
466
467
# File 'lib/stripe/services/terminal/configuration_service.rb', line 465

def reboot_window
  @reboot_window
end

#stripe_s700Object

An object containing device type specific settings for Stripe S700 readers



467
468
469
# File 'lib/stripe/services/terminal/configuration_service.rb', line 467

def stripe_s700
  @stripe_s700
end

#tippingObject

Tipping configurations for readers supporting on-reader tips



469
470
471
# File 'lib/stripe/services/terminal/configuration_service.rb', line 469

def tipping
  @tipping
end

#verifone_p400Object

An object containing device type specific settings for Verifone P400 readers



471
472
473
# File 'lib/stripe/services/terminal/configuration_service.rb', line 471

def verifone_p400
  @verifone_p400
end

#wifiObject

Configurations for connecting to a WiFi network.



473
474
475
# File 'lib/stripe/services/terminal/configuration_service.rb', line 473

def wifi
  @wifi
end