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.



7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
# File 'lib/stripe/services/payment_intent_service.rb', line 7774

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.



7756
7757
7758
# File 'lib/stripe/services/payment_intent_service.rb', line 7756

def access_controlled_venue
  @access_controlled_venue
end

#addressObject

The event location’s address.



7758
7759
7760
# File 'lib/stripe/services/payment_intent_service.rb', line 7758

def address
  @address
end

#affiliateObject

Affiliate details for this purchase.



7760
7761
7762
# File 'lib/stripe/services/payment_intent_service.rb', line 7760

def affiliate
  @affiliate
end

#companyObject

The name of the company



7762
7763
7764
# File 'lib/stripe/services/payment_intent_service.rb', line 7762

def company
  @company
end

#deliveryObject

Delivery details for this purchase.



7764
7765
7766
# File 'lib/stripe/services/payment_intent_service.rb', line 7764

def delivery
  @delivery
end

#ends_atObject

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



7766
7767
7768
# File 'lib/stripe/services/payment_intent_service.rb', line 7766

def ends_at
  @ends_at
end

#genreObject

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



7768
7769
7770
# File 'lib/stripe/services/payment_intent_service.rb', line 7768

def genre
  @genre
end

#nameObject

The name of the event.



7770
7771
7772
# File 'lib/stripe/services/payment_intent_service.rb', line 7770

def name
  @name
end

#starts_atObject

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



7772
7773
7774
# File 'lib/stripe/services/payment_intent_service.rb', line 7772

def starts_at
  @starts_at
end