Skip to content

Commit

Permalink
fix: IssueRefundRequest type
Browse files Browse the repository at this point in the history
  • Loading branch information
dantio committed Aug 12, 2021
1 parent 9a432f6 commit 8a75516
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/types/restfulTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,9 @@ export type RefundItem = {
export type IssueRefundRequest = {
reasonForRefund: ReasonForRefund,
comment?: string,
} & { refundItems: RefundItem[] } | { orderLevelRefundAmount: SimpleAmount};
refundItems?: RefundItem[],
orderLevelRefundAmount?: SimpleAmount
};

export type Comments = {
content: string,
Expand Down

0 comments on commit 8a75516

Please sign in to comment.