Class: ActiveMerchant::Billing::PaypalPermissions::Parsers::GetAdvancedPersonalDataNVParser

Inherits:
PersonalDataNVParser show all
Defined in:
lib/paypal_permissions/parsers/get_advanced_personal_data.rb

Class Method Summary collapse

Methods inherited from PersonalDataNVParser

parse

Methods inherited from CommonNVParser

parse, process_envelope_pair, process_error_idx, process_error_pair

Class Method Details

.personal_data_mappingsObject



9
10
11
12
13
14
15
16
17
18
19
# File 'lib/paypal_permissions/parsers/get_advanced_personal_data.rb', line 9

def personal_data_mappings
  {
    "http://axschema.org/birthDate" => :birthdate,
    "http://schema.openid.net/contact/street1" => :street1,
    "http://schema.openid.net/contact/street2" => :street2,
    "http://axschema.org/contact/city/home" => :city,
    "http://axschema.org/contact/state/home" => :state,
    "http://axschema.org/contact/postalCode/home" => :postal_code,
    "http://axschema.org/contact/phone/default" => :phone,
  }
end