Sha256: 8d8a6f49196d9aac29291c5215877124cfc4a7f3077d3e37d6be0ee0df47734e

Contents?: true

Size: 1.88 KB

Versions: 9

Compression:

Stored size: 1.88 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 AddOnCreate < Request

      # @!attribute accounting_code
      #   @return [String] Accounting code for invoice line items for this add-on. If no value is provided, it defaults to add-on's code.
      define_attribute :accounting_code, String

      # @!attribute code
      #   @return [String] The unique identifier for the add-on within its plan.
      define_attribute :code, String

      # @!attribute currencies
      #   @return [Array[AddOnPricing]] Add-on pricing
      define_attribute :currencies, Array, { :item_type => :AddOnPricing }

      # @!attribute default_quantity
      #   @return [Integer] Default quantity for the hosted pages.
      define_attribute :default_quantity, Integer

      # @!attribute display_quantity
      #   @return [Boolean] Determines if the quantity field is displayed on the hosted pages for the add-on.
      define_attribute :display_quantity, :Boolean

      # @!attribute name
      #   @return [String] Describes your add-on and will appear in subscribers' invoices.
      define_attribute :name, String

      # @!attribute plan_id
      #   @return [String] Plan ID
      define_attribute :plan_id, String

      # @!attribute tax_code
      #   @return [String] Optional field used by Avalara, Vertex, and Recurly's EU VAT tax feature to determine taxation rules. If you have your own AvaTax or Vertex account configured, use their tax codes to assign specific tax rules. If you are using Recurly's EU VAT feature, you can use values of `unknown`, `physical`, or `digital`.
      define_attribute :tax_code, String
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
recurly-3.2.2 lib/recurly/requests/add_on_create.rb
recurly-3.2.1 lib/recurly/requests/add_on_create.rb
recurly-3.2.0 lib/recurly/requests/add_on_create.rb
recurly-3.1.3 lib/recurly/requests/add_on_create.rb
recurly-3.1.2 lib/recurly/requests/add_on_create.rb
recurly-3.1.1 lib/recurly/requests/add_on_create.rb
recurly-3.1.0 lib/recurly/requests/add_on_create.rb
recurly-3.0.0 lib/recurly/requests/add_on_create.rb
recurly-3.0.0.beta.5 lib/recurly/requests/add_on_create.rb