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.



3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
# File 'lib/stripe/services/payment_intent_service.rb', line 3938

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.



3920
3921
3922
# File 'lib/stripe/services/payment_intent_service.rb', line 3920

def access_controlled_venue
  @access_controlled_venue
end

#addressObject

The event location’s address.



3922
3923
3924
# File 'lib/stripe/services/payment_intent_service.rb', line 3922

def address
  @address
end

#affiliateObject

Affiliate details for this purchase.



3924
3925
3926
# File 'lib/stripe/services/payment_intent_service.rb', line 3924

def affiliate
  @affiliate
end

#companyObject

The name of the company



3926
3927
3928
# File 'lib/stripe/services/payment_intent_service.rb', line 3926

def company
  @company
end

#deliveryObject

Delivery details for this purchase.



3928
3929
3930
# File 'lib/stripe/services/payment_intent_service.rb', line 3928

def delivery
  @delivery
end

#ends_atObject

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



3930
3931
3932
# File 'lib/stripe/services/payment_intent_service.rb', line 3930

def ends_at
  @ends_at
end

#genreObject

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



3932
3933
3934
# File 'lib/stripe/services/payment_intent_service.rb', line 3932

def genre
  @genre
end

#nameObject

The name of the event.



3934
3935
3936
# File 'lib/stripe/services/payment_intent_service.rb', line 3934

def name
  @name
end

#starts_atObject

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



3936
3937
3938
# File 'lib/stripe/services/payment_intent_service.rb', line 3936

def starts_at
  @starts_at
end