Class: PayPal::SDK::Invoice::DataTypes::OtherPaymentDetailsType

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

Overview

Offline payment details about the invoice.

Class Method Summary collapse

Class Method Details

.load_membersObject



425
426
427
428
429
430
431
432
433
434
# File 'lib/paypal-sdk/invoice/data_types.rb', line 425

def self.load_members
  # Method used for the offline payment. 
  object_of :method, PaymentMethodsType
  # Optional note associated with the payment. 
  object_of :note, String
  # Date when the invoice was paid. 
  object_of :date, DateTime
  # Payment amount. If empty, it means a full payment. 
  object_of :amount, Float
end