Method CreatePaymentRequest
CreatePaymentRequest(String, String, String, String, Decimal)
Create a new (unvalidated) payment request using default and supplied values.
Declaration
public OnlineEftposPaymentRequest CreatePaymentRequest(string payerId, string payerIdType, string bankId, string orderId, decimal amount)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | payerId | The id of the entity to request payment from. |
| System.String | payerIdType | The type id provided in the |
| System.String | bankId | The unique ID of the bank to which the payer is registered with/using for this request. |
| System.String | orderId | Your (merchant) reference for the transaction. |
| System.Decimal | amount | The amount of the transaction as a decimal value. |
Returns
| Type | Description |
|---|---|
| OnlineEftposPaymentRequest | An OnlineEftposPaymentRequest pre-populated with appropriate values, but unvalidated. Call the EnsureValid() method to confirm validity. |
CreatePaymentRequest(String, String, String, String, Decimal)
Create a new (unvalidated) payment request using default and supplied values.
Declaration
public OnlineEftposPaymentRequest CreatePaymentRequest(string payerId, string payerIdType, string bankId, string orderId, decimal amount)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | payerId | The id of the entity to request payment from. |
| System.String | payerIdType | The type id provided in the |
| System.String | bankId | The unique ID of the bank to which the payer is registered with/using for this request. |
| System.String | orderId | Your (merchant) reference for the transaction. |
| System.Decimal | amount | The amount of the transaction as a decimal value. |
Returns
| Type | Description |
|---|---|
| OnlineEftposPaymentRequest | An OnlineEftposPaymentRequest pre-populated with appropriate values, but unvalidated. Call the EnsureValid() method to confirm validity. |
CreatePaymentRequest(String, String, String, String, Decimal, String, String)
Create a new (unvalidated) payment request using default and supplied values.
Declaration
public OnlineEftposPaymentRequest CreatePaymentRequest(string payerId, string payerIdType, string bankId, string orderId, decimal amount, string userIP, string userAgent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | payerId | The id of the entity to request payment from. |
| System.String | payerIdType | The type id provided in the |
| System.String | bankId | The unique ID of the bank to which the payer is registered with/using for this request. |
| System.String | orderId | Your (merchant) reference for the transaction. |
| System.Decimal | amount | The amount of the transaction as a decimal value. |
| System.String | userIP | The IP address of the requesting client. |
| System.String | userAgent | The user agent string of the requesting client. |
Returns
| Type | Description |
|---|---|
| OnlineEftposPaymentRequest | An OnlineEftposPaymentRequest pre-populated with appropriate values, but unvalidated. Call the EnsureValid() method to confirm validity. |