Class: Stripe::ChargeCaptureParams::PaymentDetails::FleetDatum::Station

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/charge_capture_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.



753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
# File 'lib/stripe/params/charge_capture_params.rb', line 753

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.



741
742
743
# File 'lib/stripe/params/charge_capture_params.rb', line 741

def additional_contact_info
  @additional_contact_info
end

#customer_service_phone_numberObject

The customer service phone number of the station.



743
744
745
# File 'lib/stripe/params/charge_capture_params.rb', line 743

def customer_service_phone_number
  @customer_service_phone_number
end

#partner_id_codeObject

The partner ID code of the station.



745
746
747
# File 'lib/stripe/params/charge_capture_params.rb', line 745

def partner_id_code
  @partner_id_code
end

#phone_numberObject

The phone number of the station.



747
748
749
# File 'lib/stripe/params/charge_capture_params.rb', line 747

def phone_number
  @phone_number
end

#service_locationObject

The physical location of the station.



749
750
751
# File 'lib/stripe/params/charge_capture_params.rb', line 749

def service_location
  @service_location
end

#urlObject

The URL of the station.



751
752
753
# File 'lib/stripe/params/charge_capture_params.rb', line 751

def url
  @url
end