◆ getConfig()
◆ getEnvironment()
◆ getMerchantId()
◆ getMerchantKey()
Retrieves the Merchant Key.
- Returns
- string Returns the Merchant Key.
◆ getMerchantPassword()
◆ getProductId()
◆ setEnvironment()
| setEnvironment |
( |
Environment |
$env | ) |
|
Toggles the production mode.
- Parameters
-
| Environment | $env | True for production mode, false for testing. |
- Returns
- self Returns the instance of the class for method chaining.
◆ setMerchantId()
| setMerchantId |
( |
string |
$merchantId | ) |
|
Sets the Merchant ID for payment transactions.
This ID is unique to each merchant and is used to identify them in transactions.
- Parameters
-
| string | $merchantId | The Merchant ID. |
- Returns
- self Returns the instance of the class for method chaining.
◆ setMerchantKey()
| setMerchantKey |
( |
string |
$merchantKey | ) |
|
Sets the Merchant Key for additional security.
This key is a part of the security credentials used for processing transactions.
- Parameters
-
| string | $merchantKey | The Merchant Key. |
- Returns
- self Returns the instance of the class for method chaining.
◆ setMerchantPassword()
| setMerchantPassword |
( |
string |
$merchantPassword | ) |
|
Sets the Merchant Password for authentication.
This password is used alongside the Merchant ID for secure authentication during transactions.
- Parameters
-
| string | $merchantPassword | The Merchant Password. |
- Returns
- self Returns the instance of the class for method chaining.
◆ setProductId()
| setProductId |
( |
int |
$productId | ) |
|
Sets the Product ID for the transaction.
This ID is used to specify and identify the product involved in the transaction.
- Parameters
-
| int | $productId | The Product ID. |
- Returns
- self Returns the instance of the class for method chaining.
The documentation for this class was generated from the following file: