New
In effort to support and distinguish multiple payments-related transaction types, we are updating the current paymentTransaction object type from paymentTransactionType to TransactionUnionType. This will make it easier to query for explicit transaction types.
The following updates to the paymentTransaction object type and the affected queries and mutations are listed below:
Within the TransactionUnionType, there will now be 4 children types:
- PaymentType
- VoidType
- RefundType
- ReturnType
The current PaymentTransactions index query, which returns a list of PaymentTransactionTypes will be updated to TransactionIndex, and will return a list of TransactionUnionTypes.
The PaymentTransaction detail query, which returns a single PaymentTransactionType will be updated to Transaction show/detail and will return a single TransactionUnionType.
The PaymentTransactionCreatePayment mutation will be renamed to PaymentCreate.
The PaymentTransactionUpdatePayment mutation will be renamed to PaymentUpdate.
The PaymentTransactionDelete mutation will be renamed to PaymentDelete.