Sha256: 05cf5c2767220352b5e569e6eb21d29776c71cf81f8b8272dfac9d4405a4e888

Contents?: true

Size: 1.06 KB

Versions: 95

Compression:

Stored size: 1.06 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 SubscriptionShippingPurchase < Request

      # @!attribute amount
      #   @return [Float] Assigns the subscription's shipping cost. If this is greater than zero then a `method_id` or `method_code` is required.
      define_attribute :amount, Float

      # @!attribute method_code
      #   @return [String] The code of the shipping method used to deliver the subscription. If `method_id` and `method_code` are both present, `method_id` will be used.
      define_attribute :method_code, String

      # @!attribute method_id
      #   @return [String] The id of the shipping method used to deliver the subscription. If `method_id` and `method_code` are both present, `method_id` will be used.
      define_attribute :method_id, String
    end
  end
end

Version data entries

95 entries across 95 versions & 1 rubygems

Version Path
recurly-3.22.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.21.1 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.21.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.20.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-3.21.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.19.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-3.20.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.18.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.17.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-3.19.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.15.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.14.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.13.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.12.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.11.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.10.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.9.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.8.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.7.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.6.0 lib/recurly/requests/subscription_shipping_purchase.rb