Class: Paggi::Charge

Inherits:
Resource show all
Includes:
Rest::Cancel, Rest::Capture, Rest::Create
Defined in:
lib/paggi/charge.rb

Instance Attribute Summary collapse

Attributes inherited from Resource

#created, #errors, #id

Method Summary

Methods included from Rest::Capture

#capture, included

Methods included from Rest::Cancel

#cancel, included

Methods included from Rest::Create

#create, included

Methods inherited from Resource

build, class_name, #initialize, opts, request, #to_json, url, #valid?

Constructor Details

This class inherits a constructor from Paggi::Resource

Instance Attribute Details

#amountObject

Returns the value of attribute amount.



7
8
9
# File 'lib/paggi/charge.rb', line 7

def amount
  @amount
end

#customerObject

Returns the value of attribute customer.



7
8
9
# File 'lib/paggi/charge.rb', line 7

def customer
  @customer
end

#descriptionObject

Returns the value of attribute description.



7
8
9
# File 'lib/paggi/charge.rb', line 7

def description
  @description
end

#destinationObject

Returns the value of attribute destination.



7
8
9
# File 'lib/paggi/charge.rb', line 7

def destination
  @destination
end

#expected_compensationObject

Returns the value of attribute expected_compensation.



7
8
9
# File 'lib/paggi/charge.rb', line 7

def expected_compensation
  @expected_compensation
end

#intermediariesObject

Returns the value of attribute intermediaries.



7
8
9
# File 'lib/paggi/charge.rb', line 7

def intermediaries
  @intermediaries
end

#receipt_emailObject

Returns the value of attribute receipt_email.



7
8
9
# File 'lib/paggi/charge.rb', line 7

def receipt_email
  @receipt_email
end

#statement_descriptorObject

Returns the value of attribute statement_descriptor.



7
8
9
# File 'lib/paggi/charge.rb', line 7

def statement_descriptor
  @statement_descriptor
end

#statusObject

Returns the value of attribute status.



7
8
9
# File 'lib/paggi/charge.rb', line 7

def status
  @status
end