Class: PayPal::SDK::Merchant::DataTypes::RefundTransactionRequestType

Inherits:
AbstractRequestType show all
Defined in:
lib/paypal-sdk/merchant/data_types.rb

Overview

Unique identifier of the transaction you are refunding. Optional Character length and limitations: 17 single-byte alphanumeric characters

Class Method Summary collapse

Class Method Details

.load_membersObject



3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
# File 'lib/paypal-sdk/merchant/data_types.rb', line 3792

def self.load_members
  # Unique identifier of the transaction you are refunding. Optional Character length and limitations: 17 single-byte alphanumeric characters 
  object_of :TransactionID, String, :namespace => :ns
  # Encrypted PayPal customer account identification number. Optional Character length and limitations: 127 single-byte alphanumeric characters
  object_of :PayerID, String, :namespace => :ns
  # Invoice number corresponding to transaction details for tracking the refund of a payment. This parameter is passed by the merchant or recipient while refunding the transaction. This parameter does not affect the business logic, it is persisted in the DB for transaction reference Optional 
  object_of :InvoiceID, String, :namespace => :ns
  # Type of refund you are making Required 
  object_of :RefundType, RefundType, :namespace => :ns
  # Refund amount. Amount is required if RefundType is Partial. NOTE: If RefundType is Full, do not set Amount.
  object_of :Amount, BasicAmountType, :namespace => :ns
  # Custom memo about the refund. Optional Character length and limitations: 255 single-byte alphanumeric characters
  object_of :Memo, String, :namespace => :ns
  # The maximum time till which refund must be tried. Optional 
  object_of :RetryUntil, DateTime, :namespace => :ns
  # The type of funding source for refund. Optional 
  object_of :RefundSource, RefundSourceCodeType, :namespace => :ns
  # Flag to indicate that the customer was already given store credit for a given transaction. This will allow us to make sure we do not double refund. Optional 
  object_of :RefundAdvice, Boolean, :namespace => :ns
  # To pass the Merchant store informationOptional 
  object_of :MerchantStoreDetails, MerchantStoreDetailsType, :namespace => :ebl
  # Information about the individual details of the items to be refunded.Optional 
  array_of :RefundItemDetails, InvoiceItemType, :namespace => :ebl
  # Unique id for each API request to prevent duplicate payments. Optional Character length and limits: 38 single-byte characters maximum. 
  object_of :MsgSubID, String, :namespace => :ns
end