Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions bssopenapi-20171214/src/Models/QueryAccountBillRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,16 @@ class QueryAccountBillRequest extends Model
*/
public $productCode;

/**
* @var string
*/
public $billingDate;

/**
* @var string
*/
public $granularity;

/**
* @var int
*/
Expand All @@ -50,6 +60,8 @@ class QueryAccountBillRequest extends Model
'isGroupByProduct' => 'IsGroupByProduct',
'productCode' => 'ProductCode',
'billOwnerId' => 'BillOwnerId',
'billingDate' => 'BillingDate',
'granularity' => 'Granularity'
];

public function validate()
Expand Down Expand Up @@ -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;
}
Expand Down Expand Up @@ -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;
}
Expand Down