Money
Money is an amount in minor units (cents) of an ISO 4217 currency.
Money is an amount in minor units (cents) of an ISO 4217 currency.
type Money struct {
Value int64 `json:"value"`
Currency string `json:"currency"`
}Fields#
Value#
Value int64 `json:"value"`Value is in minor units of Currency: 500 with "USD" is $5.00 (zero decimals for JPY or KRW, three for KWD). It is 0 when GitHub hides the tier amount.
Currency#
Currency string `json:"currency"`Currency is the ISO 4217 code. GitHub is always "USD".