Documentation ¶
Overview ¶
Package payment provides APIs related to payments.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client performs API operations.
type Iter ¶
type Iter struct {
// contains filtered or unexported fields
}
Iter provides a mechanism for lazily decoding and iterating over a list.
type Payment ¶
type Payment struct { ID int64 `json:"id"` Subscription int64 `json:"subscription_id"` Amount uint `json:"amount"` Currency paddle.Currency `json:"currency"` PayoutDate paddle.Time `json:"payout_date"` Paid bool `json:"is_paid"` OneOff bool `json:"is_one_off_charge"` Receipt string `json:"receipt_url"` }
Payment may represent an existing payment or an upcoming (unpaid) payment.
Click to show internal directories.
Click to hide internal directories.