GetClickwrapAgreementsOptions
in package
GetClickwrapAgreementsOptions Class Doc Comment
Tags
Table of Contents
- $client_user_id : string|null
- $client_user_id The client user ID to filter to a single user's agreements.
- $from_date : string|null
- $from_date The earliest date to return agreements from.
- $page_number : string|null
- $page_number The results for this endpoint are paginated. Use this parameter to indicate which page to return. The `minimumPagesRemaining` value in the response indicates whether to continue querying for additional pages. For example, if the page size is 40: * If this property is set to 0 (the default), the endpoint returns results 1-40. * If this property is set to 1, the endpoint returns results 41-80. The default value is 0.
- $status : string|null
- $status User agreement status. One of: - `created` - `agreed` - `declined`
- $to_date : string|null
- $to_date The latest date to return agreements from.
- getClientUserId() : string|null
- Gets client_user_id
- getFromDate() : string|null
- Gets from_date
- getPageNumber() : string|null
- Gets page_number
- getStatus() : string|null
- Gets status
- getToDate() : string|null
- Gets to_date
- setClientUserId() : self
- Sets client_user_id
- setFromDate() : self
- Sets from_date
- setPageNumber() : self
- Sets page_number
- setStatus() : self
- Sets status
- setToDate() : self
- Sets to_date
Properties
$client_user_id
$client_user_id The client user ID to filter to a single user's agreements.
protected
string|null
$client_user_id
= null
$from_date
$from_date The earliest date to return agreements from.
protected
string|null
$from_date
= null
$page_number
$page_number The results for this endpoint are paginated. Use this parameter to indicate which page to return. The `minimumPagesRemaining` value in the response indicates whether to continue querying for additional pages. For example, if the page size is 40: * If this property is set to 0 (the default), the endpoint returns results 1-40. * If this property is set to 1, the endpoint returns results 41-80. The default value is 0.
protected
string|null
$page_number
= null
$status
$status User agreement status. One of: - `created` - `agreed` - `declined`
protected
string|null
$status
= null
$to_date
$to_date The latest date to return agreements from.
protected
string|null
$to_date
= null
Methods
getClientUserId()
Gets client_user_id
public
getClientUserId() : string|null
Return values
string|null —getFromDate()
Gets from_date
public
getFromDate() : string|null
Return values
string|null —getPageNumber()
Gets page_number
public
getPageNumber() : string|null
Return values
string|null —getStatus()
Gets status
public
getStatus() : string|null
Return values
string|null —getToDate()
Gets to_date
public
getToDate() : string|null
Return values
string|null —setClientUserId()
Sets client_user_id
public
setClientUserId(string|null $client_user_id) : self
Parameters
- $client_user_id : string|null
-
The client user ID to filter to a single user's agreements.
Return values
self —setFromDate()
Sets from_date
public
setFromDate(string|null $from_date) : self
Parameters
- $from_date : string|null
-
The earliest date to return agreements from.
Return values
self —setPageNumber()
Sets page_number
public
setPageNumber(string|null $page_number) : self
Parameters
- $page_number : string|null
-
The results for this endpoint are paginated. Use this parameter to indicate which page to return. The
minimumPagesRemainingvalue in the response indicates whether to continue querying for additional pages. For example, if the page size is 40: * If this property is set to 0 (the default), the endpoint returns results 1-40. * If this property is set to 1, the endpoint returns results 41-80. The default value is 0.
Return values
self —setStatus()
Sets status
public
setStatus(string|null $status) : self
Parameters
- $status : string|null
-
User agreement status. One of: -
created-agreed-declined
Return values
self —setToDate()
Sets to_date
public
setToDate(string|null $to_date) : self
Parameters
- $to_date : string|null
-
The latest date to return agreements from.