class PayPal::SDK::REST::DataTypes::PaymentInstruction

Public Class Methods

find(resource_id) click to toggle source
# File lib/paypal-sdk/rest/data_types.rb, line 1091
def find(resource_id)
  raise ArgumentError.new("id required") if resource_id.to_s.strip.empty?
  path = "v1/payments/payments/payment/#{resource_id}/payment-instruction"
  self.new(api.get(path))
end
load_members() click to toggle source
# File lib/paypal-sdk/rest/data_types.rb, line 1078
def self.load_members
  object_of :reference_number, String
  object_of :instruction_type, String
  object_of :recipient_banking_instruction, RecipientBankingInstruction
  object_of :amount, Currency
  object_of :payment_due_date, String
  object_of :note, String
  array_of  :links, Links
end