Class: PayPal::SDK::AdaptivePayments::DataTypes::GetPrePaymentDisclosureRequest

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

Overview

GetPrePaymentDisclosureRequest is used to get the PrePayment Disclosure.; GetPrePaymentDisclosureRequest contains following parameters payKey :The pay key that identifies the payment for which you want to retrieve details. this is the pay key returned in the PayResponse message. receiverInfoList : This is an optional.This needs to be provided in case of Unilateral scenario. receiverInfoList has a list of ReceiverInfo type. List is provided here to support in future for Parallel/Chained Payemnts. Each ReceiverInfo has following variables firstName : firstName of recipient. lastName : lastName of recipient. countryCode : CountryCode of Recipient.

Class Method Summary collapse

Class Method Details

.load_membersObject



1193
1194
1195
1196
1197
# File 'lib/paypal-sdk/adaptive_payments/data_types.rb', line 1193

def self.load_members
  object_of :requestEnvelope, RequestEnvelope, :required => true
  object_of :payKey, String, :required => true
  object_of :receiverInfoList, ReceiverInfoList
end