Sha256: fb2fd8afb9652cd1e629a17877e09ff39dc899f800623b94447a06d5f76b98fb

Contents?: true

Size: 646 Bytes

Versions: 1

Compression:

Stored size: 646 Bytes

Contents

module BillForward
  # This entity exposes the following child entities via method_missing:
  # 
  # Product             .product
  # TaxationLink[]      .taxation
  # PricingComponent[]  .pricingComponents
  class ProductRatePlan < MutableEntity
    @resource_path = BillForward::ResourcePath.new("product-rate-plans", "productRatePlan")

    protected
      def unserialize_all(hash)
        super
        unserialize_entity('product', Product, hash)

        unserialize_array_of_entities('taxation', TaxationLink, hash)
        unserialize_array_of_entities('pricingComponents', PricingComponent, hash)
      end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bill_forward-1.2014.296 lib/bill_forward/entities/product_rate_plan.rb