Class: PayPal::SDK::AdaptiveAccounts::DataTypes::AddPaymentCardRequest

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

Overview

Identifying the PayPal account to which this request is targetted to. Caller of this API has to either provided an emailAddress or an accountId.

Class Method Summary collapse

Class Method Details

.load_membersObject



429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
# File 'lib/paypal-sdk/adaptive_accounts/data_types.rb', line 429

def self.load_members
  object_of :requestEnvelope, RequestEnvelope, :required => true
  # Identifying the PayPal account to which this request is targetted to. Caller of this API has to either provided an emailAddress or an accountId. 
  object_of :emailAddress, String
  # Identifying the PayPal account to which this request is targetted to. Caller of this API has to either provided an emailAddress or an accountId. 
  object_of :accountId, String
  object_of :createAccountKey, String
  object_of :nameOnCard, NameType, :required => true
  object_of :billingAddress, AddressType, :required => true
  object_of :cardOwnerDateOfBirth, Date
  object_of :cardNumber, String, :required => true
  object_of :cardType, CardTypeType, :required => true
  object_of :expirationDate, CardDateType
  # CVV2: Proivde only for requests where confirmationType is None (Direct request) 
  object_of :cardVerificationNumber, String
  object_of :startDate, CardDateType
  # Up to 2 digit for Switch/Maestro cards. 
  object_of :issueNumber, String
  object_of :confirmationType, ConfirmationType, :required => true
  object_of :webOptions, WebOptionsType
end