Class: ApRubySdk::Preauthorization
- Inherits:
-
ApiResource
- Object
- BaseModel
- ApiResource
- ApRubySdk::Preauthorization
- Includes:
- ApiOperations::Create
- Defined in:
- lib/ap_ruby_sdk/preauthorization.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#currency ⇒ Object
Returns the value of attribute currency.
-
#customer ⇒ Object
Returns the value of attribute customer.
-
#payment ⇒ Object
Returns the value of attribute payment.
Attributes inherited from ApiResource
Attributes inherited from BaseModel
#created, #id, #mode, #updated
Class Method Summary collapse
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.
5 6 7 |
# File 'lib/ap_ruby_sdk/preauthorization.rb', line 5 def amount @amount end |
#currency ⇒ Object
Returns the value of attribute currency.
5 6 7 |
# File 'lib/ap_ruby_sdk/preauthorization.rb', line 5 def currency @currency end |
#customer ⇒ Object
Returns the value of attribute customer.
5 6 7 |
# File 'lib/ap_ruby_sdk/preauthorization.rb', line 5 def customer @customer end |
#payment ⇒ Object
Returns the value of attribute payment.
5 6 7 |
# File 'lib/ap_ruby_sdk/preauthorization.rb', line 5 def payment @payment end |
Class Method Details
.list_members ⇒ Object
22 23 24 |
# File 'lib/ap_ruby_sdk/preauthorization.rb', line 22 def self.list_members :preauthorizations end |
.url ⇒ Object
18 19 20 |
# File 'lib/ap_ruby_sdk/preauthorization.rb', line 18 def self.url '/preauthorizations' end |