Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllCurrency = []Currency{ CurrencyUsd, CurrencyEur, CurrencyGbp, CurrencyCad, }
View Source
var AllProvider = []Provider{ ProviderCloverly, ProviderDigitalHumani, }
Functions ¶
This section is empty.
Types ¶
type EstimateIn ¶
type EstimateIn struct { ID *string `json:"id"` Carbon *int `json:"carbon"` Options *EstimateOptions `json:"options"` }
type EstimateOptions ¶
type EstimateOptions struct {
Provider *Provider `json:"provider"`
}
type GetAirport ¶
type GetEstimate ¶
type PaymentActions ¶
type PaymentActions struct { Checkout *PaymentResponse `json:"checkout"` Confirm *PaymentResponse `json:"confirm"` }
type PaymentOptions ¶
type PaymentResponse ¶
type Price ¶
type Price struct { Currency Currency `json:"currency"` Cents int `json:"cents"` Breakdown []*PriceElement `json:"breakdown"` }
type PriceElement ¶
Click to show internal directories.
Click to hide internal directories.