MassPayTransaction Type
This type describes the transaction that is being included in the mass payment.
Remarks
The transaction must be specified in the Transactions property.
For example, the following code adds one transaction to the mass payment.
Example: Setting the fields:
MassPayTransaction transaction = new MassPayTransaction() transaction.RecipientEmail = "Recipient@mysite.com" transaction.Amount = "10.00" transaction.TransactionId = "123456789" transaction.Note = "Test payment." component.Transactions.Add(transaction)
Example: Using the Constructors:
component.Transactions.Add(new MassPayTransaction("Recipient@mysite.com", "10.00", "Test payment."));
Fields
Amount String |
Amount to be sent to each recipient. |
Note String |
Optional note for each recipient. |
RecipientEmail String |
Email address of each recipient. |
TransactionId String |
Optional merchant tracking number. |
Constructors
public MassPayTransaction();
public MassPayTransaction(String recipientEmail);
public MassPayTransaction(String recipientEmail, String amount);
public MassPayTransaction(String recipientEmail, String amount, String note);
public MassPayTransaction(String recipientEmail, String amount, String note, String transactionId);