Class: PayPal::SDK::AdaptivePayments::DataTypes::PreapprovalRequest

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

Overview

A request to create a Preapproval. A Preapproval is an agreement between a Paypal account holder (the sender) and the API caller (the service invoker) to make payment(s) on the the sender’s behalf with various limitations defined.

Class Method Summary collapse

Class Method Details

.load_membersObject



905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
# File 'lib/paypal-sdk/adaptive_payments/data_types.rb', line 905

def self.load_members
  object_of :requestEnvelope, RequestEnvelope, :required => true
  object_of :clientDetails, ClientDetailsType
  object_of :cancelUrl, String, :required => true
  object_of :currencyCode, String, :required => true
  object_of :dateOfMonth, Integer
  object_of :dayOfWeek, DayOfWeek
  object_of :endingDate, DateTime
  object_of :maxAmountPerPayment, Float
  object_of :maxNumberOfPayments, Integer
  object_of :maxNumberOfPaymentsPerPeriod, Integer
  object_of :maxTotalAmountOfAllPayments, Float
  object_of :paymentPeriod, String
  object_of :returnUrl, String, :required => true
  object_of :memo, String
  object_of :ipnNotificationUrl, String
  object_of :senderEmail, String
  object_of :startingDate, DateTime, :required => true
  object_of :pinType, String
  object_of :feesPayer, String
  object_of :displayMaxTotalAmount, Boolean
  object_of :requireInstantFundingSource, Boolean
  object_of :sender, SenderIdentifier
end