Class: ActiveMerchant::Billing::PaypalPermissions::Parsers::GetBasicPersonalDataNVParser

Inherits:
PersonalDataNVParser show all
Defined in:
lib/paypal_permissions/parsers/get_basic_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
# File 'lib/paypal_permissions/parsers/get_basic_personal_data.rb', line 9

def personal_data_mappings
  {
    "http://axschema.org/contact/country/home" => :country,
    "http://axschema.org/contact/email" => :email,
    "http://axschema.org/namePerson/first" => :first_name,
    "http://axschema.org/namePerson/last" => :last_name,
    "http://schema.openid.net/contact/fullname" => :full_name,
    "https://www.paypal.com/webapps/auth/schema/payerID" => :payer_id,
  }
end