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