Sha256: a4ff23949fad20fa97e8d5e6b4758124fac54b4e2e98956221df75a06aa8506f

Contents?: true

Size: 1.78 KB

Versions: 24

Compression:

Stored size: 1.78 KB

Contents

module GoTransverseTractApi

  module Product

    class RecurringProductPrice < ProductPrice

      class << self

        #
        # @param {Long} recurrence_period
        #
        def find_by_recurrence_period recurrence_period
          GoTransverseTractApi.get_response_for(self, {recurrence_period: recurrence_period})
        end

        #
        # @param {Long} recurrence_amount
        #
        def find_by_recurrence_amount recurrence_amount
          GoTransverseTractApi.get_response_for(self, {recurrence_amount: recurrence_amount})
        end

        #
        # @param {Boolean} recurring_payment_required
        #
        def find_by_recurring_payment_required recurring_payment_required
          GoTransverseTractApi.get_response_for(self, {recurring_payment_required: recurring_payment_required})
        end

        #
        # @param {Boolean} bill_in_advance
        #
        def find_by_bill_in_advance bill_in_advance
          GoTransverseTractApi.get_response_for(self, {bill_in_advance: bill_in_advance})
        end

        #
        # @param {Boolean} prorated_on_cancel
        #
        def find_by_prorated_on_cancel prorated_on_cancel
          GoTransverseTractApi.get_response_for(self, {prorated_on_cancel: prorated_on_cancel})
        end

        #
        # @param {Boolean} prorated_on_order
        #
        def find_by_prorated_on_order prorated_on_order
          GoTransverseTractApi.get_response_for(self, {prorated_on_order: prorated_on_order})
        end

        #
        # @param {Boolean} prorated_on_order_no_charge
        #
        def find_by_prorated_on_order_no_charge prorated_on_order_no_charge
          GoTransverseTractApi.get_response_for(self, {prorated_on_order_no_charge: prorated_on_order_no_charge})
        end

      end

    end

  end

end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.5.2 lib/gotransverse-tract-api/product/recurring_product_price.rb
gotransverse-tract-api-0.5.1 lib/gotransverse-tract-api/product/recurring_product_price.rb
gotransverse-tract-api-0.5.0 lib/gotransverse-tract-api/product/recurring_product_price.rb
gotransverse-tract-api-0.4.3 lib/gotransverse-tract-api/product/recurring_product_price.rb
gotransverse-tract-api-0.4.2 lib/gotransverse-tract-api/product/recurring_product_price.rb
gotransverse-tract-api-0.4.1 lib/gotransverse-tract-api/product/recurring_product_price.rb
gotransverse-tract-api-0.4.0 lib/gotransverse-tract-api/product/recurring_product_price.rb
gotransverse-tract-api-0.3.4 lib/gotransverse-tract-api/product/recurring_product_price.rb
gotransverse-tract-api-0.3.3 lib/gotransverse-tract-api/product/recurring_product_price.rb
gotransverse-tract-api-0.3.2 lib/gotransverse-tract-api/product/recurring_product_price.rb
gotransverse-tract-api-0.3.1 lib/gotransverse-tract-api/product/recurring_product_price.rb
gotransverse-tract-api-0.3.0 lib/gotransverse-tract-api/product/recurring_product_price.rb
gotransverse-tract-api-0.2.5 lib/gotransverse-tract-api/product/recurring_product_price.rb
gotransverse-tract-api-0.2.4 lib/gotransverse-tract-api/product/recurring_product_price.rb
gotransverse-tract-api-0.2.3 lib/gotransverse-tract-api/product/recurring_product_price.rb
gotransverse-tract-api-0.2.2 lib/gotransverse-tract-api/product/recurring_product_price.rb
gotransverse-tract-api-0.2.1 lib/gotransverse-tract-api/product/recurring_product_price.rb
gotransverse-tract-api-0.2.0 lib/gotransverse-tract-api/product/recurring_product_price.rb
gotransverse-tract-api-0.1.12 lib/gotransverse-tract-api/product/recurring_product_price.rb
gotransverse-tract-api-0.1.11 lib/gotransverse-tract-api/product/recurring_product_price.rb