Class: PayPal::SDK::ButtonManagerRails::DataTypes::RefundTransactionRequestType

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



3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
# File 'lib/paypal-sdk/button_manager_rails/data_types.rb', line 3684

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