Class: PayPal::SDK::AdaptiveAccounts::DataTypes::AccountIdentifierType

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

Overview

Identifies a PayPal account to which this request is targeted. Caller of this API has to provide ONLY one of these inputs: emailAddress, accountId or phoneNumber.

Class Method Summary collapse

Class Method Details

.load_membersObject



217
218
219
220
221
222
223
224
# File 'lib/paypal-sdk/adaptive_accounts/data_types.rb', line 217

def self.load_members
  # Identifies the PayPal account based on the emailAddress. 
  object_of :emailAddress, String, :required => true
  # Identifies the PayPal account based on the phoneNumber. 
  object_of :mobilePhoneNumber, String, :required => true
  # Identifies the PayPal account based on the accountId. 
  object_of :accountId, String, :required => true
end