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-4.56.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.55.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.54.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.53.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.52.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.49.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.48.1 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.48.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.47.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.46.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.45.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.44.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.43.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.42.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.41.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.40.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.39.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.38.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-4.37.0 lib/recurly/requests/subscription_shipping_purchase.rb
recurly-3.28.0 lib/recurly/requests/subscription_shipping_purchase.rb