Class: PayPal::SDK::AdaptiveAccounts::DataTypes::UserInfoType

Inherits:
DataType
  • Object
show all
Defined in:
lib/paypal-sdk/adaptive_accounts/data_types.rb

Overview

Info about PayPal user such as emailAddress, accountId, firstName, lastName etc.

Class Method Summary collapse

Class Method Details

.load_membersObject



638
639
640
641
642
643
644
645
646
647
648
649
# File 'lib/paypal-sdk/adaptive_accounts/data_types.rb', line 638

def self.load_members
  # Returns emailAddress belonging to PayPal account. 
  object_of :emailAddress, String
  # Valid values are: Personal, Premier, and Business (not case-sensitive). 
  object_of :accountType, String
  # Identifies a PayPal account. Only premier and business accounts have an accountId 
  object_of :accountId, String
  # Identifies a PayPal user, like firstName, lastName. 
  object_of :name, NameType
  # Business Name of the PayPal account holder. 
  object_of :businessName, String
end