Variable actionsPayloadExampleConst
actionsPayloadExample: {
CANCEL_TRANSACTION: { fields: { reason: "string" }; type: "object" };
REFUND_ISSUED: { fields: { amount: "number" }; type: "object" };
REFUND_OWED: { fields: { amount: "number" }; type: "object" };
SET_TRANSACTION_CUSTOMER_ACK_ID: {
fields: { customerAckId: "string" };
type: "object";
};
SET_TRANSACTION_EXTERNAL_ID: {
fields: { externalId: "string" };
type: "object";
};
SET_TRANSACTION_PAYMENT_METHOD_ACK_ID: {
fields: { paymentMethodAckId: "string" };
type: "object";
};
START_TRANSACTION: {
fields: {
customerAckId: "string (optional)";
externalID: "string (optional)";
paymentMethodAckId: "string (optional)";
total: "number";
};
type: "object";
};
} = ...
Type Declaration
ReadonlyCANCEL_TRANSACTION: { fields: { reason: "string" }; type: "object" }
ReadonlyREFUND_ISSUED: { fields: { amount: "number" }; type: "object" }
ReadonlyREFUND_OWED: { fields: { amount: "number" }; type: "object" }
ReadonlySET_TRANSACTION_CUSTOMER_ACK_ID: { fields: { customerAckId: "string" }; type: "object" }
ReadonlySET_TRANSACTION_EXTERNAL_ID: { fields: { externalId: "string" }; type: "object" }
ReadonlySET_TRANSACTION_PAYMENT_METHOD_ACK_ID: { fields: { paymentMethodAckId: "string" }; type: "object" }
ReadonlySTART_TRANSACTION: {
fields: {
customerAckId: "string (optional)";
externalID: "string (optional)";
paymentMethodAckId: "string (optional)";
total: "number";
};
type: "object";
}