Class: Recurly::Requests::ExternalTransaction
- Inherits:
-
Recurly::Request
- Object
- Recurly::Request
- Recurly::Requests::ExternalTransaction
- Defined in:
- lib/recurly/requests/external_transaction.rb
Instance Attribute Summary collapse
-
#amount ⇒ Float
The total amount of the transcaction.
-
#collected_at ⇒ DateTime
Datetime that the external payment was collected.
-
#description ⇒ String
Used as the transaction's description.
-
#payment_method ⇒ String
Payment method used for external transaction.
Attributes inherited from Recurly::Request
Method Summary
Methods inherited from Recurly::Request
Methods included from Schema::SchemaFactory
Methods included from Schema::RequestCaster
Methods included from Schema::ResourceCaster
Methods included from Schema::SchemaValidator
#get_did_you_mean, #validate!, #validate_attribute!
Instance Attribute Details
#amount ⇒ Float
Returns The total amount of the transcaction. Cannot excceed the invoice total.
11 |
# File 'lib/recurly/requests/external_transaction.rb', line 11 define_attribute :amount, Float |
#collected_at ⇒ DateTime
Returns Datetime that the external payment was collected. Defaults to current datetime.
15 |
# File 'lib/recurly/requests/external_transaction.rb', line 15 define_attribute :collected_at, DateTime |
#description ⇒ String
Returns Used as the transaction's description.
19 |
# File 'lib/recurly/requests/external_transaction.rb', line 19 define_attribute :description, String |
#payment_method ⇒ String
Returns Payment method used for external transaction.
23 |
# File 'lib/recurly/requests/external_transaction.rb', line 23 define_attribute :payment_method, String |