Class: Recurly::Requests::LineItemRefund

Inherits:
Recurly::Request show all
Defined in:
lib/recurly/requests/line_item_refund.rb

Instance Attribute Summary collapse

Attributes inherited from Recurly::Request

#attributes

Method Summary

Methods inherited from Recurly::Request

#==, #to_s

Methods included from Schema::SchemaFactory

#schema

Methods included from Schema::RequestCaster

#cast_request

Methods included from Schema::ResourceCaster

#cast

Methods included from Schema::SchemaValidator

#get_did_you_mean, #validate!, #validate_attribute!

Instance Attribute Details

#idString

Returns Line item ID.

Returns:

  • (String)

    Line item ID



11
# File 'lib/recurly/requests/line_item_refund.rb', line 11

define_attribute :id, String

#prorateBoolean

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.

Returns:

  • (Boolean)

    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

#quantityInteger

Returns Line item quantity to be refunded.

Returns:

  • (Integer)

    Line item quantity to be refunded.



19
# File 'lib/recurly/requests/line_item_refund.rb', line 19

define_attribute :quantity, Integer