Class: Stripe::PaymentIntentCreateParams::PaymentDetails::FleetDatum::Station

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_create_params.rb

Defined Under Namespace

Classes: ServiceLocation

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(additional_contact_info: nil, customer_service_phone_number: nil, partner_id_code: nil, phone_number: nil, service_location: nil, url: nil) ⇒ Station

Returns a new instance of Station.



1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1078

def initialize(
  additional_contact_info: nil,
  customer_service_phone_number: nil,
  partner_id_code: nil,
  phone_number: nil,
  service_location: nil,
  url: nil
)
  @additional_contact_info = additional_contact_info
  @customer_service_phone_number = customer_service_phone_number
  @partner_id_code = partner_id_code
  @phone_number = phone_number
  @service_location = service_location
  @url = url
end

Instance Attribute Details

#additional_contact_infoObject

Additional contact information for the station.



1066
1067
1068
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1066

def additional_contact_info
  @additional_contact_info
end

#customer_service_phone_numberObject

The customer service phone number of the station.



1068
1069
1070
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1068

def customer_service_phone_number
  @customer_service_phone_number
end

#partner_id_codeObject

The partner ID code of the station.



1070
1071
1072
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1070

def partner_id_code
  @partner_id_code
end

#phone_numberObject

The phone number of the station.



1072
1073
1074
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1072

def phone_number
  @phone_number
end

#service_locationObject

The physical location of the station.



1074
1075
1076
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1074

def service_location
  @service_location
end

#urlObject

The URL of the station.



1076
1077
1078
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1076

def url
  @url
end