Class: PayPal::SDK::AdaptivePayments::DataTypes::GetPrePaymentDisclosureResponse
- Inherits:
-
DataType
- Object
- Core::API::DataTypes::Base
- DataType
- PayPal::SDK::AdaptivePayments::DataTypes::GetPrePaymentDisclosureResponse
- Defined in:
- lib/paypal-sdk/adaptive_payments/data_types.rb
Overview
GetPrePaymentDisclosureResponse contains the information related to PrePayment disclosure. status : indicates the status of response. If Status = RTR then it means that this is RTR transaction. If Status = NON_RTR then it means that this is non RTR transaction. If Status = MISSING_RECEIVER_COUNTRY_INFORMATION then it means the Receiver country information is not found in PayPal database. So merchant has to call the API again with same set of parameter along with Receiver country code.This is useful in case of Unilateral scenario. where receiver is not holding paypal account. This is currently a place holder to support backward compatibility since first name and last name are mandated too. feePayer:Indicates who has agreed to Pay a Fee for the RTR transaction. Merchant can use this information to decide who actually has to pay the fee . senderDisclosure : This Variable Holds the disclosure related to sender. receiverDisclosureList : This list contains the disclosure information related to receivers. Merchant can just parse the details what ever is avaliable in the response and display the same to user.
Class Method Summary collapse
Class Method Details
.load_members ⇒ Object
1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 |
# File 'lib/paypal-sdk/adaptive_payments/data_types.rb', line 1204 def self.load_members include ResponseStatus object_of :responseEnvelope, ResponseEnvelope, :required => true object_of :status, Status, :required => true object_of :feesPayer, String object_of :senderDisclosure, SenderDisclosure object_of :receiverDisclosureList, ReceiverDisclosureList object_of :disclaimer, String array_of :error, ErrorData end |