Class: Stripe::PaymentIntent::CaptureParams::PaymentDetails::EventDetails

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



8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
# File 'lib/stripe/resources/payment_intent.rb', line 8928

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.



8910
8911
8912
# File 'lib/stripe/resources/payment_intent.rb', line 8910

def access_controlled_venue
  @access_controlled_venue
end

#addressObject

The event location’s address.



8912
8913
8914
# File 'lib/stripe/resources/payment_intent.rb', line 8912

def address
  @address
end

#affiliateObject

Affiliate details for this purchase.



8914
8915
8916
# File 'lib/stripe/resources/payment_intent.rb', line 8914

def affiliate
  @affiliate
end

#companyObject

The name of the company



8916
8917
8918
# File 'lib/stripe/resources/payment_intent.rb', line 8916

def company
  @company
end

#deliveryObject

Delivery details for this purchase.



8918
8919
8920
# File 'lib/stripe/resources/payment_intent.rb', line 8918

def delivery
  @delivery
end

#ends_atObject

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



8920
8921
8922
# File 'lib/stripe/resources/payment_intent.rb', line 8920

def ends_at
  @ends_at
end

#genreObject

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



8922
8923
8924
# File 'lib/stripe/resources/payment_intent.rb', line 8922

def genre
  @genre
end

#nameObject

The name of the event.



8924
8925
8926
# File 'lib/stripe/resources/payment_intent.rb', line 8924

def name
  @name
end

#starts_atObject

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



8926
8927
8928
# File 'lib/stripe/resources/payment_intent.rb', line 8926

def starts_at
  @starts_at
end