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



917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
# File 'lib/paypal-sdk/adaptive_payments/data_types.rb', line 917

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