-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy pathGetByV1IdBankAccountsRequest.php
More file actions
45 lines (39 loc) · 1.1 KB
/
GetByV1IdBankAccountsRequest.php
File metadata and controls
45 lines (39 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
namespace Square\BankAccounts\Requests;
use Square\Core\Json\JsonSerializableType;
class GetByV1IdBankAccountsRequest extends JsonSerializableType
{
/**
* Connect V1 ID of the desired `BankAccount`. For more information, see
* [Retrieve a bank account by using an ID issued by V1 Bank Accounts API](https://developer.squareup.com/docs/bank-accounts-api#retrieve-a-bank-account-by-using-an-id-issued-by-v1-bank-accounts-api).
*
* @var string $v1BankAccountId
*/
private string $v1BankAccountId;
/**
* @param array{
* v1BankAccountId: string,
* } $values
*/
public function __construct(
array $values,
) {
$this->v1BankAccountId = $values['v1BankAccountId'];
}
/**
* @return string
*/
public function getV1BankAccountId(): string
{
return $this->v1BankAccountId;
}
/**
* @param string $value
*/
public function setV1BankAccountId(string $value): self
{
$this->v1BankAccountId = $value;
$this->_setField('v1BankAccountId');
return $this;
}
}