Class: Payrix::Resource::PendingEntries

Inherits:
Base
  • Object
show all
Includes:
Mixin::CreateDisabled, Mixin::DeleteDisabled, Mixin::UpdateDisabled
Defined in:
lib/payrix/resource/pending_entries.rb

Constant Summary collapse

ATTRS =
[:id, :created, :modified, :creator, :modifier, 
:entity, :onentity, :fromentity, :fund, :opposingPendingEntry, 
:entry, :adjustment, :profitShare, :chargeback, :disbursement, 
:fee, :refund, :txn, :event, :eventId, 
:description, :amount, :pending, :originalCurrency, :currencyRate, 
:terminalTxn, :isFee, :entityDebt, :statement, :settlement]

Instance Attribute Summary

Attributes inherited from Base

#resource_name

Instance Method Summary collapse

Methods included from Mixin::CreateDisabled

#create

Methods included from Mixin::DeleteDisabled

#delete

Methods included from Mixin::UpdateDisabled

#update

Methods inherited from Base

#create, #delete, #details, #has_errors?, #has_more?, #request_options, #request_options=, #response, #retrieve, #set, #status, #to_json, #totals, #update

Constructor Details

#initialize(params) ⇒ PendingEntries

Returns a new instance of PendingEntries.



8
9
10
11
12
# File 'lib/payrix/resource/pending_entries.rb', line 8

def initialize(params)
  super(params, ATTRS)

  @resource_name = 'pendingEntries'
end