Class: Stripe::PaymentIntentConfirmParams::PaymentDetails::EventDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_confirm_params.rb

Defined Under Namespace

Classes: Address, Affiliate, Delivery

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(access_controlled_venue: nil, address: nil, affiliate: nil, company: nil, delivery: nil, ends_at: nil, genre: nil, name: nil, starts_at: nil) ⇒ EventDetails

Returns a new instance of EventDetails.



535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 535

def initialize(
  access_controlled_venue: nil,
  address: nil,
  affiliate: nil,
  company: nil,
  delivery: nil,
  ends_at: nil,
  genre: nil,
  name: nil,
  starts_at: nil
)
  @access_controlled_venue = access_controlled_venue
  @address = address
  @affiliate = affiliate
  @company = company
  @delivery = delivery
  @ends_at = ends_at
  @genre = genre
  @name = name
  @starts_at = starts_at
end

Instance Attribute Details

#access_controlled_venueObject

Indicates if the tickets are digitally checked when entering the venue.



517
518
519
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 517

def access_controlled_venue
  @access_controlled_venue
end

#addressObject

The event location’s address.



519
520
521
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 519

def address
  @address
end

#affiliateObject

Affiliate details for this purchase.



521
522
523
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 521

def affiliate
  @affiliate
end

#companyObject

The name of the company



523
524
525
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 523

def company
  @company
end

#deliveryObject

Delivery details for this purchase.



525
526
527
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 525

def delivery
  @delivery
end

#ends_atObject

Event end time. Measured in seconds since the Unix epoch.



527
528
529
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 527

def ends_at
  @ends_at
end

#genreObject

Type of the event entertainment (concert, sports event etc)



529
530
531
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 529

def genre
  @genre
end

#nameObject

The name of the event.



531
532
533
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 531

def name
  @name
end

#starts_atObject

Event start time. Measured in seconds since the Unix epoch.



533
534
535
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 533

def starts_at
  @starts_at
end