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.



3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
# File 'lib/stripe/services/payment_intent_service.rb', line 3916

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.



3898
3899
3900
# File 'lib/stripe/services/payment_intent_service.rb', line 3898

def access_controlled_venue
  @access_controlled_venue
end

#addressObject

The event location’s address.



3900
3901
3902
# File 'lib/stripe/services/payment_intent_service.rb', line 3900

def address
  @address
end

#affiliateObject

Affiliate details for this purchase.



3902
3903
3904
# File 'lib/stripe/services/payment_intent_service.rb', line 3902

def affiliate
  @affiliate
end

#companyObject

The name of the company



3904
3905
3906
# File 'lib/stripe/services/payment_intent_service.rb', line 3904

def company
  @company
end

#deliveryObject

Delivery details for this purchase.



3906
3907
3908
# File 'lib/stripe/services/payment_intent_service.rb', line 3906

def delivery
  @delivery
end

#ends_atObject

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



3908
3909
3910
# File 'lib/stripe/services/payment_intent_service.rb', line 3908

def ends_at
  @ends_at
end

#genreObject

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



3910
3911
3912
# File 'lib/stripe/services/payment_intent_service.rb', line 3910

def genre
  @genre
end

#nameObject

The name of the event.



3912
3913
3914
# File 'lib/stripe/services/payment_intent_service.rb', line 3912

def name
  @name
end

#starts_atObject

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



3914
3915
3916
# File 'lib/stripe/services/payment_intent_service.rb', line 3914

def starts_at
  @starts_at
end