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
-
#id ⇒ String
Line item ID.
-
#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.
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
#id ⇒ String
Returns Line item ID.
11 |
# File 'lib/recurly/requests/line_item_refund.rb', line 11 define_attribute :id, String |
#prorate ⇒ Boolean
Returns Set to `true` if the line item should be prorated; set to `false` if not. This can only be used on line items that have a start and end date.
15 |
# File 'lib/recurly/requests/line_item_refund.rb', line 15 define_attribute :prorate, :Boolean |
#quantity ⇒ Integer
Returns Line item quantity to be refunded.
19 |
# File 'lib/recurly/requests/line_item_refund.rb', line 19 define_attribute :quantity, Integer |