Skip to content

Commit 44ea4c6

Browse files
author
Matteo Miotello
committed
added expiry date to modify pulse license payload
1 parent 0608807 commit 44ea4c6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Payloads/ModifyLicenseManagedInVCSPPulsePayload.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@ public function assignedCompanyUid( string $companyUid ) {
2323
return $this;
2424
}
2525

26+
public function expirationDate( string $isoDate ): ModifyLicenseManagedInVCSPPulsePayload {
27+
$this->Modifiers[] = [
28+
'value' => $isoDate,
29+
'path' => '/expirationDate',
30+
'op' => 'replace'
31+
];
32+
33+
return $this;
34+
}
35+
2636
public function getContentType(): string {
2737
return 'application/json';
2838
}

0 commit comments

Comments
 (0)