Class: ApRubySdk::Refund
- Inherits:
-
ApiResource
- Object
- BaseModel
- ApiResource
- ApRubySdk::Refund
- Defined in:
- lib/ap_ruby_sdk/refund.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#currency ⇒ Object
Returns the value of attribute currency.
-
#originalTransaction ⇒ Object
Returns the value of attribute originalTransaction.
-
#originalTransactionId ⇒ Object
Returns the value of attribute originalTransactionId.
-
#reason ⇒ Object
Returns the value of attribute reason.
-
#status ⇒ Object
Returns the value of attribute status.
Attributes inherited from ApiResource
Attributes inherited from BaseModel
#created, #id, #mode, #updated
Class Method Summary collapse
Methods included from ApiOperations::List
Methods included from ApiOperations::Retrieve
Methods included from ApiOperations::Create
Methods inherited from ApiResource
construct_object, url_with_prefix
Methods inherited from BaseModel
#attributes=, #initialize, #to_json
Constructor Details
This class inherits a constructor from ApRubySdk::BaseModel
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
7 8 9 |
# File 'lib/ap_ruby_sdk/refund.rb', line 7 def amount @amount end |
#currency ⇒ Object
Returns the value of attribute currency.
7 8 9 |
# File 'lib/ap_ruby_sdk/refund.rb', line 7 def currency @currency end |
#originalTransaction ⇒ Object
Returns the value of attribute originalTransaction.
7 8 9 |
# File 'lib/ap_ruby_sdk/refund.rb', line 7 def originalTransaction @originalTransaction end |
#originalTransactionId ⇒ Object
Returns the value of attribute originalTransactionId.
7 8 9 |
# File 'lib/ap_ruby_sdk/refund.rb', line 7 def originalTransactionId @originalTransactionId end |
#reason ⇒ Object
Returns the value of attribute reason.
7 8 9 |
# File 'lib/ap_ruby_sdk/refund.rb', line 7 def reason @reason end |
#status ⇒ Object
Returns the value of attribute status.
7 8 9 |
# File 'lib/ap_ruby_sdk/refund.rb', line 7 def status @status end |
Class Method Details
.list_members ⇒ Object
22 23 24 |
# File 'lib/ap_ruby_sdk/refund.rb', line 22 def self.list_members :refundTransactions end |
.url ⇒ Object
18 19 20 |
# File 'lib/ap_ruby_sdk/refund.rb', line 18 def self.url '/refunds' end |