Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateOrderRequest ¶
type CreateOrderRequest struct { Project string `json:"project"` Amount float64 `json:"amount"` Currency string `json:"currency"` Type string `json:"type"` User CreateOrderUserRequest `json:"user"` MetaData CreateOrderMetaDataRequest `json:"metadata"` }
type CreateOrderResponse ¶
type CreateOrderUserRequest ¶
type GetOrderRequest ¶
type GetOrderResponse ¶
type GetOrderResponse struct {
Items []ResultOrder `json:"items"`
}
type ResultOrder ¶
type ResultOrder struct { ID string `json:"id"` Status string `json:"status"` Amount float64 `json:"amount"` Currency string `json:"currency"` Country string `json:"country"` Tax ResultOrderTax `json:"tax"` MetaData ResultOrderMetadata `json:"metadata"` }
type ResultOrderMetadata ¶
type ResultOrderTax ¶
type ResultOrderTax struct {
Amount float64 `json:"amount"`
}
Click to show internal directories.
Click to hide internal directories.