Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Refund ¶
type Refund struct {
Items []RefundRequestItem
}
type RefundManager ¶
type RefundManager interface { CreateRefund(orderID string, req Refund) GetRefund(orderID string) Refund }
func New ¶
func New() RefundManager
type RefundRequestItem ¶
type RefundRequestItem struct { LineItemId string Quantity int32 Amount RefundRequestItemAmount }
type RefundRequestItemAmount ¶
type RefundRes ¶
type RefundRes struct { Items []RefundRequestItem RefundID string TransactionID string }
Click to show internal directories.
Click to hide internal directories.