class PayPal::SDK::REST::DataTypes::PayoutItem

Public Class Methods

cancel(payout_item_id) click to toggle source
# File lib/paypal-sdk/rest/data_types.rb, line 1727
def cancel(payout_item_id)
  raise ArgumentError.new("payout_item_id required") if payout_item_id.to_s.strip.empty?
  path = "v1/payments/payouts-item/#{payout_item_id}/cancel"
  PayoutItemDetails.new(api.post(path))
end
get(payout_item_id) click to toggle source
# File lib/paypal-sdk/rest/data_types.rb, line 1722
def get(payout_item_id)
  raise ArgumentError.new("payout_item_id required") if payout_item_id.to_s.strip.empty?
  path = "v1/payments/payouts-item/#{payout_item_id}"
  PayoutItemDetails.new(api.get(path))
end
load_members() click to toggle source
# File lib/paypal-sdk/rest/data_types.rb, line 1710
def self.load_members
      object_of :recipient_type, String
      object_of :amount, Currency
      object_of :note, String
      object_of :receiver, String
      object_of :sender_item_id, String
      object_of :recipient_wallet, String
end