Sha256: abcb724b2aac37bfa32f97383dc6bd180f63c15f7db80dd8f88247ab6b06b04c

Contents?: true

Size: 1.54 KB

Versions: 47

Compression:

Stored size: 1.54 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 SubscriptionChangeShippingCreate < Request

      # @!attribute address
      #   @return [ShippingAddressCreate]
      define_attribute :address, :ShippingAddressCreate

      # @!attribute address_id
      #   @return [String] Assign a shipping address from the account's existing shipping addresses. If this and address are both present, address will take precedence.
      define_attribute :address_id, String

      # @!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. To remove shipping set this to `null` and the `amount=0`. 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. To remove shipping set this to `null` and the `amount=0`. 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

47 entries across 47 versions & 1 rubygems

Version Path
recurly-4.56.0 lib/recurly/requests/subscription_change_shipping_create.rb
recurly-4.55.0 lib/recurly/requests/subscription_change_shipping_create.rb
recurly-4.54.0 lib/recurly/requests/subscription_change_shipping_create.rb
recurly-4.53.0 lib/recurly/requests/subscription_change_shipping_create.rb
recurly-4.52.0 lib/recurly/requests/subscription_change_shipping_create.rb
recurly-4.49.0 lib/recurly/requests/subscription_change_shipping_create.rb
recurly-4.48.1 lib/recurly/requests/subscription_change_shipping_create.rb
recurly-4.48.0 lib/recurly/requests/subscription_change_shipping_create.rb
recurly-4.47.0 lib/recurly/requests/subscription_change_shipping_create.rb
recurly-4.46.0 lib/recurly/requests/subscription_change_shipping_create.rb
recurly-4.45.0 lib/recurly/requests/subscription_change_shipping_create.rb
recurly-4.44.0 lib/recurly/requests/subscription_change_shipping_create.rb
recurly-4.43.0 lib/recurly/requests/subscription_change_shipping_create.rb
recurly-4.42.0 lib/recurly/requests/subscription_change_shipping_create.rb
recurly-4.41.0 lib/recurly/requests/subscription_change_shipping_create.rb
recurly-4.40.0 lib/recurly/requests/subscription_change_shipping_create.rb
recurly-4.39.0 lib/recurly/requests/subscription_change_shipping_create.rb
recurly-4.38.0 lib/recurly/requests/subscription_change_shipping_create.rb
recurly-4.37.0 lib/recurly/requests/subscription_change_shipping_create.rb
recurly-4.36.0 lib/recurly/requests/subscription_change_shipping_create.rb