diff --git a/bssopenapi-20171214/src/Models/QueryAccountBillRequest.php b/bssopenapi-20171214/src/Models/QueryAccountBillRequest.php index 5fd53fbabc..3e5f495259 100644 --- a/bssopenapi-20171214/src/Models/QueryAccountBillRequest.php +++ b/bssopenapi-20171214/src/Models/QueryAccountBillRequest.php @@ -38,6 +38,16 @@ class QueryAccountBillRequest extends Model */ public $productCode; + /** + * @var string + */ + public $billingDate; + + /** + * @var string + */ + public $granularity; + /** * @var int */ @@ -50,6 +60,8 @@ class QueryAccountBillRequest extends Model 'isGroupByProduct' => 'IsGroupByProduct', 'productCode' => 'ProductCode', 'billOwnerId' => 'BillOwnerId', + 'billingDate' => 'BillingDate', + 'granularity' => 'Granularity' ]; public function validate() @@ -80,6 +92,12 @@ public function toMap() if (null !== $this->billOwnerId) { $res['BillOwnerId'] = $this->billOwnerId; } + if (null !== $this->billingDate) { + $res['BillingDate'] = $this->billingDate; + } + if (null !== $this->granularity) { + $res['Granularity'] = $this->granularity; + } return $res; } @@ -113,6 +131,12 @@ public static function fromMap($map = []) if (isset($map['BillOwnerId'])) { $model->billOwnerId = $map['BillOwnerId']; } + if (isset($map['BillingDate'])) { + $model->billOwnerId = $map['BillingDate']; + } + if (isset($map['Granularity'])) { + $model->billOwnerId = $map['Granularity']; + } return $model; }