Sha256: b171761844d903eb30738662a3c0104a23472cf9a4fd1280cff3065df4b4d7d2

Contents?: true

Size: 650 Bytes

Versions: 9

Compression:

Stored size: 650 Bytes

Contents

# frozen_string_literal: true

module AppStoreDevApi
  module Requests
    module V1
      module SubscriptionOfferCode
        class Create < Request::Body

          data do
            type 'subscriptionOfferCodes'

            attributes do
              property :customer_eligibilities, required: true
              property :duration, required: true
              property :name, required: true
              property :number_of_periods, required: true
              property :offer_eligibility, required: true
              property :offer_mode, required: true
            end
          end
          
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
app_store_dev_api-0.1.9 lib/app_store_dev_api/requests/v1/subscription_offer_code/create.rb
app_store_dev_api-0.1.8 lib/app_store_dev_api/requests/v1/subscription_offer_code/create.rb
app_store_dev_api-0.1.7 lib/app_store_dev_api/requests/v1/subscription_offer_code/create.rb
app_store_dev_api-0.1.6 lib/app_store_dev_api/requests/v1/subscription_offer_code/create.rb
app_store_dev_api-0.1.4 lib/app_store_dev_api/requests/v1/subscription_offer_code/create.rb
app_store_dev_api-0.1.3 lib/app_store_dev_api/requests/v1/subscription_offer_code/create.rb
app_store_dev_api-0.1.2 lib/app_store_dev_api/requests/v1/subscription_offer_code/create.rb
app_store_dev_api-0.1.1 lib/app_store_dev_api/requests/v1/subscription_offer_code/create.rb
app_store_dev_api-0.1.0 lib/app_store_dev_api/requests/v1/subscription_offer_code/create.rb