<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of BilingDetail
 *
 * @author Kunal Mestri <kunal@laurus-it.com>
 */
class BilingDetail {
    private $billingId;
    private $pricingId;
    public function getBillingId() {
        return $this->billingId;
    }

    public function setBillingId($billingId) {
        $this->billingId = $billingId;
    }

    public function getPricingId() {
        return $this->pricingId;
    }

    public function setPricingId($pricingId) {
        $this->pricingId = $pricingId;
    }

     public function toJson() {
        $map = new Map();
        if ($this->getPricingId() != null) {
            $map->put("pricingId", $this->getPricingId());
        }
        if ($this->getBillingId() != null) {
            $map->put("billingId", $this->getBillingId());
        }
       
        return $map->toJson();
    }
    
}

?>
