Method: ShellCardManagementApIs::CardDeliveryAddress.names

Defined in:
lib/shell_card_management_ap_is/models/card_delivery_address.rb

.namesObject

A mapping from model property names to API property names.



105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# File 'lib/shell_card_management_ap_is/models/card_delivery_address.rb', line 105

def self.names
  @_hash = {} if @_hash.nil?
  @_hash['contact_fore_name'] = 'ContactForeName'
  @_hash['contact_middle_name'] = 'ContactMiddleName'
  @_hash['contact_last_name'] = 'ContactLastName'
  @_hash['contact_title'] = 'ContactTitle'
  @_hash['company_name'] = 'CompanyName'
  @_hash['address_id'] = 'AddressId'
  @_hash['address_line1'] = 'AddressLine1'
  @_hash['address_line2'] = 'AddressLine2'
  @_hash['address_line3'] = 'AddressLine3'
  @_hash['zip_code'] = 'ZipCode'
  @_hash['city'] = 'City'
  @_hash['region_id'] = 'RegionId'
  @_hash['region'] = 'Region'
  @_hash['country_id'] = 'CountryId'
  @_hash['country_iso_code'] = 'CountryISOCode'
  @_hash['country'] = 'Country'
  @_hash
end