Class: Recurly::Requests::LineItemRefund
- Inherits:
-
Recurly::Request
- Object
- Recurly::Request
- Recurly::Requests::LineItemRefund
- Defined in:
- lib/recurly/requests/line_item_refund.rb
Instance Attribute Summary collapse
-
#amount ⇒ Float
The specific amount to be refunded from the adjustment.
-
#id ⇒ String
Line item ID.
-
#percentage ⇒ Integer
The percentage of the adjustment’s remaining balance to refund.
-
#prorate ⇒ Boolean
Set to ‘true` if the line item should be prorated; set to `false` if not.
-
#quantity ⇒ Integer
Line item quantity to be refunded.
-
#quantity_decimal ⇒ String
Decimal quantity to refund.
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
11 |
# File 'lib/recurly/requests/line_item_refund.rb', line 11 define_attribute :amount, Float |
#id ⇒ String
15 |
# File 'lib/recurly/requests/line_item_refund.rb', line 15 define_attribute :id, String |
#percentage ⇒ Integer
19 |
# File 'lib/recurly/requests/line_item_refund.rb', line 19 define_attribute :percentage, Integer |
#prorate ⇒ Boolean
23 |
# File 'lib/recurly/requests/line_item_refund.rb', line 23 define_attribute :prorate, :Boolean |
#quantity ⇒ Integer
27 |
# File 'lib/recurly/requests/line_item_refund.rb', line 27 define_attribute :quantity, Integer |
#quantity_decimal ⇒ String
31 |
# File 'lib/recurly/requests/line_item_refund.rb', line 31 define_attribute :quantity_decimal, String |