Class: GustoEmbedded::Operations::PostV1CompaniesCompanyIdLocationsRequestBody

Inherits:
Crystalline::FieldAugmented show all
Extended by:
T::Sig
Defined in:
lib/gusto_embedded/models/operations/post_v1_companies_company_id_locations_requestbody.rb

Overview

Create a company location.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(city: nil, phone_number: nil, state: nil, street_1: nil, zip: nil, filing_address: nil, mailing_address: nil, street_2: nil) ⇒ PostV1CompaniesCompanyIdLocationsRequestBody

Returns a new instance of PostV1CompaniesCompanyIdLocationsRequestBody.



33
34
35
36
37
38
39
40
41
42
# File 'lib/gusto_embedded/models/operations/post_v1_companies_company_id_locations_requestbody.rb', line 33

def initialize(city: nil, phone_number: nil, state: nil, street_1: nil, zip: nil, filing_address: nil, mailing_address: nil, street_2: nil)
  @city = city
  @phone_number = phone_number
  @state = state
  @street_1 = street_1
  @zip = zip
  @filing_address = filing_address
  @mailing_address = mailing_address
  @street_2 = street_2
end