Class: Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::EventDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/payment_intent_service.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.



7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
# File 'lib/stripe/services/payment_intent_service.rb', line 7802

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.



7784
7785
7786
# File 'lib/stripe/services/payment_intent_service.rb', line 7784

def access_controlled_venue
  @access_controlled_venue
end

#addressObject

The event location’s address.



7786
7787
7788
# File 'lib/stripe/services/payment_intent_service.rb', line 7786

def address
  @address
end

#affiliateObject

Affiliate details for this purchase.



7788
7789
7790
# File 'lib/stripe/services/payment_intent_service.rb', line 7788

def affiliate
  @affiliate
end

#companyObject

The name of the company



7790
7791
7792
# File 'lib/stripe/services/payment_intent_service.rb', line 7790

def company
  @company
end

#deliveryObject

Delivery details for this purchase.



7792
7793
7794
# File 'lib/stripe/services/payment_intent_service.rb', line 7792

def delivery
  @delivery
end

#ends_atObject

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



7794
7795
7796
# File 'lib/stripe/services/payment_intent_service.rb', line 7794

def ends_at
  @ends_at
end

#genreObject

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



7796
7797
7798
# File 'lib/stripe/services/payment_intent_service.rb', line 7796

def genre
  @genre
end

#nameObject

The name of the event.



7798
7799
7800
# File 'lib/stripe/services/payment_intent_service.rb', line 7798

def name
  @name
end

#starts_atObject

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



7800
7801
7802
# File 'lib/stripe/services/payment_intent_service.rb', line 7800

def starts_at
  @starts_at
end