Skip to content

Commit 3de2120

Browse files
committed
add more card params
1 parent 681c43e commit 3de2120

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

src/Models/Receipts/Payments/CardPaymentPayload.php

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ class CardPaymentPayload extends PaymentParent
2020
public string $acquirer_and_seller;
2121
public int $commission;
2222
public string $provider_type;
23+
public string $bank_name;
24+
public string $owner_name;
25+
public bool $signature_required;
26+
public string $tapxphone_terminal;
27+
public string $transaction_id;
2328

2429
public function __construct(
2530
string $value,
@@ -34,7 +39,12 @@ public function __construct(
3439
string $receipt_no = '',
3540
string $acquirer_and_seller = '',
3641
int $commission = 0,
37-
string $provider_type = ''
42+
string $provider_type = '',
43+
string $bank_name = '',
44+
string $owner_name = '',
45+
bool $signature_required = false,
46+
string $tapxphone_terminal = '',
47+
string $transaction_id = ''
3848
) {
3949
parent::__construct(parent::TYPE_CARD, $value, $label);
4050

@@ -59,5 +69,11 @@ public function __construct(
5969

6070
$this->provider_type = $provider_type;
6171
}
72+
73+
$this->bank_name = $bank_name;
74+
$this->owner_name = $owner_name;
75+
$this->signature_required = $signature_required;
76+
$this->tapxphone_terminal = $tapxphone_terminal;
77+
$this->transaction_id = $transaction_id;
6278
}
6379
}

0 commit comments

Comments
 (0)