mirror of
https://github.com/vercel/commerce.git
synced 2025-05-12 12:47:50 +00:00
39 lines
592 B
TypeScript
39 lines
592 B
TypeScript
const orderTransactionFragment = /* GraphQL */ `
|
|
fragment OrderTransaction on OrderTransaction {
|
|
id
|
|
processedAt
|
|
paymentIcon {
|
|
id
|
|
url
|
|
altText
|
|
}
|
|
paymentDetails {
|
|
... on CardPaymentDetails {
|
|
last4
|
|
cardBrand
|
|
}
|
|
}
|
|
transactionAmount {
|
|
presentmentMoney {
|
|
...Price
|
|
}
|
|
}
|
|
giftCardDetails {
|
|
last4
|
|
balance {
|
|
...Price
|
|
}
|
|
}
|
|
status
|
|
kind
|
|
transactionParentId
|
|
type
|
|
typeDetails {
|
|
name
|
|
message
|
|
}
|
|
}
|
|
`;
|
|
|
|
export default orderTransactionFragment;
|