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



7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
# File 'lib/stripe/services/payment_intent_service.rb', line 7058

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.



7040
7041
7042
# File 'lib/stripe/services/payment_intent_service.rb', line 7040

def access_controlled_venue
  @access_controlled_venue
end

#addressObject

The event location’s address.



7042
7043
7044
# File 'lib/stripe/services/payment_intent_service.rb', line 7042

def address
  @address
end

#affiliateObject

Affiliate details for this purchase.



7044
7045
7046
# File 'lib/stripe/services/payment_intent_service.rb', line 7044

def affiliate
  @affiliate
end

#companyObject

The name of the company



7046
7047
7048
# File 'lib/stripe/services/payment_intent_service.rb', line 7046

def company
  @company
end

#deliveryObject

Delivery details for this purchase.



7048
7049
7050
# File 'lib/stripe/services/payment_intent_service.rb', line 7048

def delivery
  @delivery
end

#ends_atObject

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



7050
7051
7052
# File 'lib/stripe/services/payment_intent_service.rb', line 7050

def ends_at
  @ends_at
end

#genreObject

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



7052
7053
7054
# File 'lib/stripe/services/payment_intent_service.rb', line 7052

def genre
  @genre
end

#nameObject

The name of the event.



7054
7055
7056
# File 'lib/stripe/services/payment_intent_service.rb', line 7054

def name
  @name
end

#starts_atObject

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



7056
7057
7058
# File 'lib/stripe/services/payment_intent_service.rb', line 7056

def starts_at
  @starts_at
end