Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Partner ¶
type Partner struct {
mixin.Model[Partner]
Enabled bool `json:"enabled"`
Connected bool `json:"connected"`
Name string `json:"name"`
Email string `json:"email,omitempty"`
Phone string `json:"phone,omitempty"`
Address Address `json:"address,omitempty"`
Website string `json:"website,omitempty"`
Country string `json:"country"`
TaxId string `json:"taxId"`
Timezone string `json:"timezone"`
Commission commission.Commission `json:"commission"`
Schedule schedule.Schedule `json:"schedule"`
// Wallet is how this partner is PAID: a web3 address they connect
// themselves. Payouts settle in crypto (or by wire, arranged off this
// record) — there is no processor account id here, because Hanzo does
// not disburse through a payment processor. An empty wallet does not
// stop a fee from being EARNED; it only means the transfer that records
// what is owed has nowhere to send it yet.
Wallet string `json:"wallet,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.