Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountDetails ¶
type CardDetails ¶
type Customer ¶
type Customer struct { ID string CardDetails CardDetails }
type Merchant ¶
type Merchant struct { ID string AccountDetails AccountDetails }
type PaymentDetails ¶
type PaymentDetails struct { ID string MerchantID string CustomerID string Price Money Timestamp int64 Refunded bool RefundTimestamp int64 }
PaymentDetails without sensitive information
func NewPaymentDetailsFromPayment ¶
func NewPaymentDetailsFromPayment(payment Payment) PaymentDetails
Click to show internal directories.
Click to hide internal directories.