From 2f4361922ad60b40bf6b19485067979909cb1834 Mon Sep 17 00:00:00 2001 From: patrickng Date: Fri, 30 Jul 2021 12:29:59 +0800 Subject: [PATCH] Bug fixed missing query daily account billing --- .../src/Models/QueryAccountBillRequest.php | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) 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; }