Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Ethereum ¶
type Ethereum struct {
FinalTransactionHash string `json:"finalTransactionHash,omitempty"`
FinalTransactionCost blockchains.BigNumber `json:"finalTransactionCost,omitempty"`
FinalAddress string `json:"finalAddress,omitempty"`
FinalAmount blockchains.BigNumber `json:"finalAmount,omitempty"`
}
type Fee ¶
type Fee struct {
mixin.Model[Fee]
Name string `json:"name"`
Type Type `json:"type"`
AffiliateId string `json:"affiliateId,omitempty"`
PartnerId string `json:"partnerId,omitempty"`
PaymentId string `json:"paymentId"`
TransferId string `json:"transferId"`
Commission commission.Commission `json:"commission,omitempty"`
Currency currency.Type `json:"currency"`
Amount currency.Cents `json:"amount"`
AmountRefunded currency.Cents `json:"amountRefunded,omitempty"`
Status Status `json:"status" orm:"default:pending"`
Ethereum Ethereum `json:"ethereum"`
Bitcoin Bitcoin `json:"bitcoin"`
// Stripe livemode
Live bool `json:"live"`
// Internal testing flag
Test bool `json:"-"`
}
Click to show internal directories.
Click to hide internal directories.