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.



10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
# File 'lib/stripe/resources/payment_intent.rb', line 10164

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.



10146
10147
10148
# File 'lib/stripe/resources/payment_intent.rb', line 10146

def access_controlled_venue
  @access_controlled_venue
end

#addressObject

The event location’s address.



10148
10149
10150
# File 'lib/stripe/resources/payment_intent.rb', line 10148

def address
  @address
end

#affiliateObject

Affiliate details for this purchase.



10150
10151
10152
# File 'lib/stripe/resources/payment_intent.rb', line 10150

def affiliate
  @affiliate
end

#companyObject

The name of the company



10152
10153
10154
# File 'lib/stripe/resources/payment_intent.rb', line 10152

def company
  @company
end

#deliveryObject

Delivery details for this purchase.



10154
10155
10156
# File 'lib/stripe/resources/payment_intent.rb', line 10154

def delivery
  @delivery
end

#ends_atObject

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



10156
10157
10158
# File 'lib/stripe/resources/payment_intent.rb', line 10156

def ends_at
  @ends_at
end

#genreObject

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



10158
10159
10160
# File 'lib/stripe/resources/payment_intent.rb', line 10158

def genre
  @genre
end

#nameObject

The name of the event.



10160
10161
10162
# File 'lib/stripe/resources/payment_intent.rb', line 10160

def name
  @name
end

#starts_atObject

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



10162
10163
10164
# File 'lib/stripe/resources/payment_intent.rb', line 10162

def starts_at
  @starts_at
end