Class: PayPal::SDK::ButtonManager::DataTypes::RefundTransactionRequestType

Inherits:
AbstractRequestType show all
Defined in:
lib/paypal-sdk/button_manager/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



3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
# File 'lib/paypal-sdk/button_manager/data_types.rb', line 3628

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