Sha256: b1ed5eb6dc4fd41182e2ec8686bfb998eb6a568cc9e51bac1baf0292fc1c1374

Contents?: true

Size: 1.23 KB

Versions: 38

Compression:

Stored size: 1.23 KB

Contents

# This file is automatically created by Recurly's OpenAPI generation process
# and thus any edits you make by hand will be lost. If you wish to make a
# change to this file, please create a Github issue explaining the changes you
# need and we will usher them to the appropriate places.
module Recurly
  module Requests
    class LineItemRefund < Request

      # @!attribute id
      #   @return [String] Line item ID
      define_attribute :id, String

      # @!attribute prorate
      #   @return [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.
      define_attribute :prorate, :Boolean

      # @!attribute quantity
      #   @return [Integer] Line item quantity to be refunded.
      define_attribute :quantity, Integer

      # @!attribute quantity_decimal
      #   @return [String] A floating-point alternative to Quantity. If this value is present, it will be used in place of Quantity for calculations, and Quantity will be the rounded integer value of this number. This field supports up to 9 decimal places. The Decimal Quantity feature must be enabled to utilize this field.
      define_attribute :quantity_decimal, String
    end
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
recurly-4.53.0 lib/recurly/requests/line_item_refund.rb
recurly-4.52.0 lib/recurly/requests/line_item_refund.rb
recurly-4.49.0 lib/recurly/requests/line_item_refund.rb
recurly-4.48.1 lib/recurly/requests/line_item_refund.rb
recurly-4.48.0 lib/recurly/requests/line_item_refund.rb
recurly-4.47.0 lib/recurly/requests/line_item_refund.rb
recurly-4.46.0 lib/recurly/requests/line_item_refund.rb
recurly-4.45.0 lib/recurly/requests/line_item_refund.rb
recurly-4.44.0 lib/recurly/requests/line_item_refund.rb
recurly-4.43.0 lib/recurly/requests/line_item_refund.rb
recurly-4.42.0 lib/recurly/requests/line_item_refund.rb
recurly-4.41.0 lib/recurly/requests/line_item_refund.rb
recurly-4.40.0 lib/recurly/requests/line_item_refund.rb
recurly-4.39.0 lib/recurly/requests/line_item_refund.rb
recurly-4.38.0 lib/recurly/requests/line_item_refund.rb
recurly-4.37.0 lib/recurly/requests/line_item_refund.rb
recurly-3.28.0 lib/recurly/requests/line_item_refund.rb
recurly-4.36.0 lib/recurly/requests/line_item_refund.rb
recurly-4.35.0 lib/recurly/requests/line_item_refund.rb
recurly-3.27.0 lib/recurly/requests/line_item_refund.rb