Class: Stripe::PaymentIntentService::UpdateParams::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.



3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
# File 'lib/stripe/services/payment_intent_service.rb', line 3961

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.



3943
3944
3945
# File 'lib/stripe/services/payment_intent_service.rb', line 3943

def access_controlled_venue
  @access_controlled_venue
end

#addressObject

The event location’s address.



3945
3946
3947
# File 'lib/stripe/services/payment_intent_service.rb', line 3945

def address
  @address
end

#affiliateObject

Affiliate details for this purchase.



3947
3948
3949
# File 'lib/stripe/services/payment_intent_service.rb', line 3947

def affiliate
  @affiliate
end

#companyObject

The name of the company



3949
3950
3951
# File 'lib/stripe/services/payment_intent_service.rb', line 3949

def company
  @company
end

#deliveryObject

Delivery details for this purchase.



3951
3952
3953
# File 'lib/stripe/services/payment_intent_service.rb', line 3951

def delivery
  @delivery
end

#ends_atObject

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



3953
3954
3955
# File 'lib/stripe/services/payment_intent_service.rb', line 3953

def ends_at
  @ends_at
end

#genreObject

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



3955
3956
3957
# File 'lib/stripe/services/payment_intent_service.rb', line 3955

def genre
  @genre
end

#nameObject

The name of the event.



3957
3958
3959
# File 'lib/stripe/services/payment_intent_service.rb', line 3957

def name
  @name
end

#starts_atObject

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



3959
3960
3961
# File 'lib/stripe/services/payment_intent_service.rb', line 3959

def starts_at
  @starts_at
end