Class: Payrix::Resource::Entries

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

Constant Summary collapse

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

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) ⇒ Entries

Returns a new instance of Entries.



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

def initialize(params)
  super(params, ATTRS)

  @resource_name = 'entries'
end