Documentation ¶
Index ¶
- func CheckOrderFulfillabilityOrderPath() string
- func CreateOrderOrderPath() string
- func DecodeCheckOrderFulfillabilityRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeCreateOrderRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func DecodeListOrdersRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
- func EncodeCheckOrderFulfillabilityError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeCheckOrderFulfillabilityResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeCreateOrderError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeCreateOrderResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func EncodeListOrdersError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) func(context.Context, http.ResponseWriter, error) error
- func EncodeListOrdersResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
- func ListOrdersOrderPath() string
- func Mount(mux goahttp.Muxer, h *Server)
- func MountCheckOrderFulfillabilityHandler(mux goahttp.Muxer, h http.Handler)
- func MountCreateOrderHandler(mux goahttp.Muxer, h http.Handler)
- func MountListOrdersHandler(mux goahttp.Muxer, h http.Handler)
- func NewCheckOrderFulfillabilityHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewCheckOrderFulfillabilityPayload(body *CheckOrderFulfillabilityRequestBody) *order.CheckOrderFulfillabilityPayload
- func NewCreateOrderHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewCreateOrderPayload(body *CreateOrderRequestBody) *order.CreateOrderPayload
- func NewListOrdersHandler(endpoint goa.Endpoint, mux goahttp.Muxer, ...) http.Handler
- func NewListOrdersPayload(body *ListOrdersRequestBody) *order.ListOrdersPayload
- func ValidateCardNetworkParametersRequestBodyRequestBody(body *CardNetworkParametersRequestBodyRequestBody) (err error)
- func ValidateCheckOrderFulfillabilityRequestBody(body *CheckOrderFulfillabilityRequestBody) (err error)
- func ValidateCreateOrderRequestBody(body *CreateOrderRequestBody) (err error)
- func ValidateDepositRequestBodyRequestBody(body *DepositRequestBodyRequestBody) (err error)
- func ValidateIntakeFormAnswersRequestBodyRequestBody(body *IntakeFormAnswersRequestBodyRequestBody) (err error)
- func ValidateIntakeFormFieldAnswerRequestBodyRequestBody(body *IntakeFormFieldAnswerRequestBodyRequestBody) (err error)
- func ValidateLineItemRequestBodyRequestBody(body *LineItemRequestBodyRequestBody) (err error)
- func ValidateNoShowFeeRequestBodyRequestBody(body *NoShowFeeRequestBodyRequestBody) (err error)
- func ValidateOrderRequestBodyRequestBody(body *OrderRequestBodyRequestBody) (err error)
- func ValidateOrderedTicketsRequestBodyRequestBody(body *OrderedTicketsRequestBodyRequestBody) (err error)
- func ValidatePaymentInformationRequestBodyRequestBody(body *PaymentInformationRequestBodyRequestBody) (err error)
- func ValidatePaymentProcessingParametersRequestBodyRequestBody(body *PaymentProcessingParametersRequestBodyRequestBody) (err error)
- func ValidatePostalAddressRequestBodyRequestBody(body *PostalAddressRequestBodyRequestBody) (err error)
- func ValidatePriceRequestBodyRequestBody(body *PriceRequestBodyRequestBody) (err error)
- func ValidateTokenizationConfigRequestBodyRequestBody(body *TokenizationConfigRequestBodyRequestBody) (err error)
- func ValidateUserInformationRequestBodyRequestBody(body *UserInformationRequestBodyRequestBody) (err error)
- type CardNetworkParametersRequestBodyRequestBody
- type CheckOrderFulfillabilityBadRequestResponseBody
- type CheckOrderFulfillabilityClientClosedRequestResponseBody
- type CheckOrderFulfillabilityConflictResponseBody
- type CheckOrderFulfillabilityForbiddenResponseBody
- type CheckOrderFulfillabilityGatewayTimeoutResponseBody
- type CheckOrderFulfillabilityInternalServerErrorResponseBody
- type CheckOrderFulfillabilityNotFoundResponseBody
- type CheckOrderFulfillabilityNotImplementedResponseBody
- type CheckOrderFulfillabilityRequestBody
- type CheckOrderFulfillabilityResponseBody
- type CheckOrderFulfillabilityServiceUnavailableResponseBody
- type CheckOrderFulfillabilityTooManyRequestsResponseBody
- type CheckOrderFulfillabilityUnauthorizedResponseBody
- type CreateOrderBadRequestResponseBody
- type CreateOrderClientClosedRequestResponseBody
- type CreateOrderConflictResponseBody
- type CreateOrderForbiddenResponseBody
- type CreateOrderGatewayTimeoutResponseBody
- type CreateOrderInternalServerErrorResponseBody
- type CreateOrderNotFoundResponseBody
- type CreateOrderNotImplementedResponseBody
- type CreateOrderRequestBody
- type CreateOrderResponseBody
- type CreateOrderServiceUnavailableResponseBody
- type CreateOrderTooManyRequestsResponseBody
- type CreateOrderUnauthorizedResponseBody
- type DepositRequestBodyRequestBody
- type DepositResponseBody
- type ErrorNamer
- type FeesResponseBody
- type IntakeFormAnswersRequestBodyRequestBody
- type IntakeFormAnswersResponseBody
- type IntakeFormFieldAnswerRequestBodyRequestBody
- type IntakeFormFieldAnswerResponseBody
- type LineItemFulfillabilityResponseBody
- type LineItemRequestBodyRequestBody
- type LineItemResponseBody
- type ListOrdersBadRequestResponseBody
- type ListOrdersClientClosedRequestResponseBody
- type ListOrdersConflictResponseBody
- type ListOrdersForbiddenResponseBody
- type ListOrdersGatewayTimeoutResponseBody
- type ListOrdersInternalServerErrorResponseBody
- type ListOrdersNotFoundResponseBody
- type ListOrdersNotImplementedResponseBody
- type ListOrdersRequestBody
- type ListOrdersResponseBody
- type ListOrdersServiceUnavailableResponseBody
- type ListOrdersTooManyRequestsResponseBody
- type ListOrdersUnauthorizedResponseBody
- type LocalizedStringResponseBody
- type MountPoint
- type NoShowFeeRequestBodyRequestBody
- type NoShowFeeResponseBody
- type OrderFailureResponseBody
- type OrderFulfillabilityResponseBody
- type OrderIdsRequestBodyRequestBody
- type OrderRequestBodyRequestBody
- type OrderResponseBody
- type OrderedTicketsRequestBodyRequestBody
- type OrderedTicketsResponseBody
- type PaymentFailureInformationResponseBody
- type PaymentInformationRequestBodyRequestBody
- type PaymentInformationResponseBody
- type PaymentProcessingParametersRequestBodyRequestBody
- type PerTicketFeeResponseBody
- type PostalAddressRequestBodyRequestBody
- type PostalAddressResponseBody
- type PriceRequestBodyRequestBody
- type PriceResponseBody
- type Server
- type SpecificPerOrderFeeResponseBody
- type SpecificPerTicketFeeResponseBody
- type TextResponseBody
- type ThreeDS1ParametersResponseBody
- type TicketTypeResponseBody
- type TokenizationConfigRequestBodyRequestBody
- type UpdatedAvailabilityResponseBody
- type UserInformationRequestBodyRequestBody
- type UserInformationResponseBody
- type ViolatedTicketConstraintResponseBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckOrderFulfillabilityOrderPath ¶
func CheckOrderFulfillabilityOrderPath() string
CheckOrderFulfillabilityOrderPath returns the URL path to the order service check_order_fulfillability HTTP endpoint.
func CreateOrderOrderPath ¶
func CreateOrderOrderPath() string
CreateOrderOrderPath returns the URL path to the order service create_order HTTP endpoint.
func DecodeCheckOrderFulfillabilityRequest ¶
func DecodeCheckOrderFulfillabilityRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeCheckOrderFulfillabilityRequest returns a decoder for requests sent to the order check_order_fulfillability endpoint.
func DecodeCreateOrderRequest ¶
func DecodeCreateOrderRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeCreateOrderRequest returns a decoder for requests sent to the order create_order endpoint.
func DecodeListOrdersRequest ¶
func DecodeListOrdersRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (interface{}, error)
DecodeListOrdersRequest returns a decoder for requests sent to the order list_orders endpoint.
func EncodeCheckOrderFulfillabilityError ¶
func EncodeCheckOrderFulfillabilityError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeCheckOrderFulfillabilityError returns an encoder for errors returned by the check_order_fulfillability order endpoint.
func EncodeCheckOrderFulfillabilityResponse ¶
func EncodeCheckOrderFulfillabilityResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeCheckOrderFulfillabilityResponse returns an encoder for responses returned by the order check_order_fulfillability endpoint.
func EncodeCreateOrderError ¶
func EncodeCreateOrderError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeCreateOrderError returns an encoder for errors returned by the create_order order endpoint.
func EncodeCreateOrderResponse ¶
func EncodeCreateOrderResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeCreateOrderResponse returns an encoder for responses returned by the order create_order endpoint.
func EncodeListOrdersError ¶
func EncodeListOrdersError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) func(context.Context, http.ResponseWriter, error) error
EncodeListOrdersError returns an encoder for errors returned by the list_orders order endpoint.
func EncodeListOrdersResponse ¶
func EncodeListOrdersResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) func(context.Context, http.ResponseWriter, interface{}) error
EncodeListOrdersResponse returns an encoder for responses returned by the order list_orders endpoint.
func ListOrdersOrderPath ¶
func ListOrdersOrderPath() string
ListOrdersOrderPath returns the URL path to the order service list_orders HTTP endpoint.
func MountCheckOrderFulfillabilityHandler ¶
MountCheckOrderFulfillabilityHandler configures the mux to serve the "order" service "check_order_fulfillability" endpoint.
func MountCreateOrderHandler ¶
MountCreateOrderHandler configures the mux to serve the "order" service "create_order" endpoint.
func MountListOrdersHandler ¶
MountListOrdersHandler configures the mux to serve the "order" service "list_orders" endpoint.
func NewCheckOrderFulfillabilityHandler ¶
func NewCheckOrderFulfillabilityHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewCheckOrderFulfillabilityHandler creates a HTTP handler which loads the HTTP request and calls the "order" service "check_order_fulfillability" endpoint.
func NewCheckOrderFulfillabilityPayload ¶
func NewCheckOrderFulfillabilityPayload(body *CheckOrderFulfillabilityRequestBody) *order.CheckOrderFulfillabilityPayload
NewCheckOrderFulfillabilityPayload builds a order service check_order_fulfillability endpoint payload.
func NewCreateOrderHandler ¶
func NewCreateOrderHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewCreateOrderHandler creates a HTTP handler which loads the HTTP request and calls the "order" service "create_order" endpoint.
func NewCreateOrderPayload ¶
func NewCreateOrderPayload(body *CreateOrderRequestBody) *order.CreateOrderPayload
NewCreateOrderPayload builds a order service create_order endpoint payload.
func NewListOrdersHandler ¶
func NewListOrdersHandler( endpoint goa.Endpoint, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) http.Handler
NewListOrdersHandler creates a HTTP handler which loads the HTTP request and calls the "order" service "list_orders" endpoint.
func NewListOrdersPayload ¶
func NewListOrdersPayload(body *ListOrdersRequestBody) *order.ListOrdersPayload
NewListOrdersPayload builds a order service list_orders endpoint payload.
func ValidateCardNetworkParametersRequestBodyRequestBody ¶
func ValidateCardNetworkParametersRequestBodyRequestBody(body *CardNetworkParametersRequestBodyRequestBody) (err error)
ValidateCardNetworkParametersRequestBodyRequestBody runs the validations defined on CardNetworkParametersRequestBodyRequestBody
func ValidateCheckOrderFulfillabilityRequestBody ¶
func ValidateCheckOrderFulfillabilityRequestBody(body *CheckOrderFulfillabilityRequestBody) (err error)
ValidateCheckOrderFulfillabilityRequestBody runs the validations defined on check_order_fulfillability_request_body
func ValidateCreateOrderRequestBody ¶
func ValidateCreateOrderRequestBody(body *CreateOrderRequestBody) (err error)
ValidateCreateOrderRequestBody runs the validations defined on create_order_request_body
func ValidateDepositRequestBodyRequestBody ¶
func ValidateDepositRequestBodyRequestBody(body *DepositRequestBodyRequestBody) (err error)
ValidateDepositRequestBodyRequestBody runs the validations defined on DepositRequestBodyRequestBody
func ValidateIntakeFormAnswersRequestBodyRequestBody ¶
func ValidateIntakeFormAnswersRequestBodyRequestBody(body *IntakeFormAnswersRequestBodyRequestBody) (err error)
ValidateIntakeFormAnswersRequestBodyRequestBody runs the validations defined on IntakeFormAnswersRequestBodyRequestBody
func ValidateIntakeFormFieldAnswerRequestBodyRequestBody ¶
func ValidateIntakeFormFieldAnswerRequestBodyRequestBody(body *IntakeFormFieldAnswerRequestBodyRequestBody) (err error)
ValidateIntakeFormFieldAnswerRequestBodyRequestBody runs the validations defined on IntakeFormFieldAnswerRequestBodyRequestBody
func ValidateLineItemRequestBodyRequestBody ¶
func ValidateLineItemRequestBodyRequestBody(body *LineItemRequestBodyRequestBody) (err error)
ValidateLineItemRequestBodyRequestBody runs the validations defined on LineItemRequestBodyRequestBody
func ValidateNoShowFeeRequestBodyRequestBody ¶
func ValidateNoShowFeeRequestBodyRequestBody(body *NoShowFeeRequestBodyRequestBody) (err error)
ValidateNoShowFeeRequestBodyRequestBody runs the validations defined on NoShowFeeRequestBodyRequestBody
func ValidateOrderRequestBodyRequestBody ¶
func ValidateOrderRequestBodyRequestBody(body *OrderRequestBodyRequestBody) (err error)
ValidateOrderRequestBodyRequestBody runs the validations defined on OrderRequestBodyRequestBody
func ValidateOrderedTicketsRequestBodyRequestBody ¶
func ValidateOrderedTicketsRequestBodyRequestBody(body *OrderedTicketsRequestBodyRequestBody) (err error)
ValidateOrderedTicketsRequestBodyRequestBody runs the validations defined on OrderedTicketsRequestBodyRequestBody
func ValidatePaymentInformationRequestBodyRequestBody ¶
func ValidatePaymentInformationRequestBodyRequestBody(body *PaymentInformationRequestBodyRequestBody) (err error)
ValidatePaymentInformationRequestBodyRequestBody runs the validations defined on PaymentInformationRequestBodyRequestBody
func ValidatePaymentProcessingParametersRequestBodyRequestBody ¶
func ValidatePaymentProcessingParametersRequestBodyRequestBody(body *PaymentProcessingParametersRequestBodyRequestBody) (err error)
ValidatePaymentProcessingParametersRequestBodyRequestBody runs the validations defined on PaymentProcessingParametersRequestBodyRequestBody
func ValidatePostalAddressRequestBodyRequestBody ¶
func ValidatePostalAddressRequestBodyRequestBody(body *PostalAddressRequestBodyRequestBody) (err error)
ValidatePostalAddressRequestBodyRequestBody runs the validations defined on PostalAddressRequestBodyRequestBody
func ValidatePriceRequestBodyRequestBody ¶
func ValidatePriceRequestBodyRequestBody(body *PriceRequestBodyRequestBody) (err error)
ValidatePriceRequestBodyRequestBody runs the validations defined on PriceRequestBodyRequestBody
func ValidateTokenizationConfigRequestBodyRequestBody ¶
func ValidateTokenizationConfigRequestBodyRequestBody(body *TokenizationConfigRequestBodyRequestBody) (err error)
ValidateTokenizationConfigRequestBodyRequestBody runs the validations defined on TokenizationConfigRequestBodyRequestBody
func ValidateUserInformationRequestBodyRequestBody ¶
func ValidateUserInformationRequestBodyRequestBody(body *UserInformationRequestBodyRequestBody) (err error)
ValidateUserInformationRequestBodyRequestBody runs the validations defined on UserInformationRequestBodyRequestBody
Types ¶
type CardNetworkParametersRequestBodyRequestBody ¶
type CardNetworkParametersRequestBodyRequestBody struct { CardNetwork *string `form:"card_network,omitempty" json:"card_network,omitempty" xml:"card_network,omitempty"` AcquirerBin *string `form:"acquirer_bin,omitempty" json:"acquirer_bin,omitempty" xml:"acquirer_bin,omitempty"` AcquirerMerchantID *string `form:"acquirer_merchant_id,omitempty" json:"acquirer_merchant_id,omitempty" xml:"acquirer_merchant_id,omitempty"` }
CardNetworkParametersRequestBodyRequestBody is used to define fields on request body types.
type CheckOrderFulfillabilityBadRequestResponseBody ¶
type CheckOrderFulfillabilityBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
CheckOrderFulfillabilityBadRequestResponseBody is the type of the "order" service "check_order_fulfillability" endpoint HTTP response body for the "bad_request" error.
func NewCheckOrderFulfillabilityBadRequestResponseBody ¶
func NewCheckOrderFulfillabilityBadRequestResponseBody(res *goa.ServiceError) *CheckOrderFulfillabilityBadRequestResponseBody
NewCheckOrderFulfillabilityBadRequestResponseBody builds the HTTP response body from the result of the "check_order_fulfillability" endpoint of the "order" service.
type CheckOrderFulfillabilityClientClosedRequestResponseBody ¶
type CheckOrderFulfillabilityClientClosedRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
CheckOrderFulfillabilityClientClosedRequestResponseBody is the type of the "order" service "check_order_fulfillability" endpoint HTTP response body for the "client_closed_request" error.
func NewCheckOrderFulfillabilityClientClosedRequestResponseBody ¶
func NewCheckOrderFulfillabilityClientClosedRequestResponseBody(res *goa.ServiceError) *CheckOrderFulfillabilityClientClosedRequestResponseBody
NewCheckOrderFulfillabilityClientClosedRequestResponseBody builds the HTTP response body from the result of the "check_order_fulfillability" endpoint of the "order" service.
type CheckOrderFulfillabilityConflictResponseBody ¶
type CheckOrderFulfillabilityConflictResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
CheckOrderFulfillabilityConflictResponseBody is the type of the "order" service "check_order_fulfillability" endpoint HTTP response body for the "conflict" error.
func NewCheckOrderFulfillabilityConflictResponseBody ¶
func NewCheckOrderFulfillabilityConflictResponseBody(res *goa.ServiceError) *CheckOrderFulfillabilityConflictResponseBody
NewCheckOrderFulfillabilityConflictResponseBody builds the HTTP response body from the result of the "check_order_fulfillability" endpoint of the "order" service.
type CheckOrderFulfillabilityForbiddenResponseBody ¶
type CheckOrderFulfillabilityForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
CheckOrderFulfillabilityForbiddenResponseBody is the type of the "order" service "check_order_fulfillability" endpoint HTTP response body for the "forbidden" error.
func NewCheckOrderFulfillabilityForbiddenResponseBody ¶
func NewCheckOrderFulfillabilityForbiddenResponseBody(res *goa.ServiceError) *CheckOrderFulfillabilityForbiddenResponseBody
NewCheckOrderFulfillabilityForbiddenResponseBody builds the HTTP response body from the result of the "check_order_fulfillability" endpoint of the "order" service.
type CheckOrderFulfillabilityGatewayTimeoutResponseBody ¶
type CheckOrderFulfillabilityGatewayTimeoutResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
CheckOrderFulfillabilityGatewayTimeoutResponseBody is the type of the "order" service "check_order_fulfillability" endpoint HTTP response body for the "gateway_timeout" error.
func NewCheckOrderFulfillabilityGatewayTimeoutResponseBody ¶
func NewCheckOrderFulfillabilityGatewayTimeoutResponseBody(res *goa.ServiceError) *CheckOrderFulfillabilityGatewayTimeoutResponseBody
NewCheckOrderFulfillabilityGatewayTimeoutResponseBody builds the HTTP response body from the result of the "check_order_fulfillability" endpoint of the "order" service.
type CheckOrderFulfillabilityInternalServerErrorResponseBody ¶
type CheckOrderFulfillabilityInternalServerErrorResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
CheckOrderFulfillabilityInternalServerErrorResponseBody is the type of the "order" service "check_order_fulfillability" endpoint HTTP response body for the "internal_server_error" error.
func NewCheckOrderFulfillabilityInternalServerErrorResponseBody ¶
func NewCheckOrderFulfillabilityInternalServerErrorResponseBody(res *goa.ServiceError) *CheckOrderFulfillabilityInternalServerErrorResponseBody
NewCheckOrderFulfillabilityInternalServerErrorResponseBody builds the HTTP response body from the result of the "check_order_fulfillability" endpoint of the "order" service.
type CheckOrderFulfillabilityNotFoundResponseBody ¶
type CheckOrderFulfillabilityNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
CheckOrderFulfillabilityNotFoundResponseBody is the type of the "order" service "check_order_fulfillability" endpoint HTTP response body for the "not_found" error.
func NewCheckOrderFulfillabilityNotFoundResponseBody ¶
func NewCheckOrderFulfillabilityNotFoundResponseBody(res *goa.ServiceError) *CheckOrderFulfillabilityNotFoundResponseBody
NewCheckOrderFulfillabilityNotFoundResponseBody builds the HTTP response body from the result of the "check_order_fulfillability" endpoint of the "order" service.
type CheckOrderFulfillabilityNotImplementedResponseBody ¶
type CheckOrderFulfillabilityNotImplementedResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
CheckOrderFulfillabilityNotImplementedResponseBody is the type of the "order" service "check_order_fulfillability" endpoint HTTP response body for the "not_implemented" error.
func NewCheckOrderFulfillabilityNotImplementedResponseBody ¶
func NewCheckOrderFulfillabilityNotImplementedResponseBody(res *goa.ServiceError) *CheckOrderFulfillabilityNotImplementedResponseBody
NewCheckOrderFulfillabilityNotImplementedResponseBody builds the HTTP response body from the result of the "check_order_fulfillability" endpoint of the "order" service.
type CheckOrderFulfillabilityRequestBody ¶
type CheckOrderFulfillabilityRequestBody struct { MerchantID *string `form:"merchant_id,omitempty" json:"merchant_id,omitempty" xml:"merchant_id,omitempty"` Item []*LineItemRequestBodyRequestBody `form:"item,omitempty" json:"item,omitempty" xml:"item,omitempty"` CartID *string `form:"cart_id,omitempty" json:"cart_id,omitempty" xml:"cart_id,omitempty"` }
CheckOrderFulfillabilityRequestBody is the type of the "order" service "check_order_fulfillability" endpoint HTTP request body.
type CheckOrderFulfillabilityResponseBody ¶
type CheckOrderFulfillabilityResponseBody struct { Fulfillability *OrderFulfillabilityResponseBody `form:"fulfillability,omitempty" json:"fulfillability,omitempty" xml:"fulfillability,omitempty"` FeesAndTaxes *PriceResponseBody `form:"fees_and_taxes,omitempty" json:"fees_and_taxes,omitempty" xml:"fees_and_taxes,omitempty"` Fees *FeesResponseBody `form:"fees,omitempty" json:"fees,omitempty" xml:"fees,omitempty"` CartExpirationSec *string `form:"cart_expiration_sec,omitempty" json:"cart_expiration_sec,omitempty" xml:"cart_expiration_sec,omitempty"` }
CheckOrderFulfillabilityResponseBody is the type of the "order" service "check_order_fulfillability" endpoint HTTP response body.
func NewCheckOrderFulfillabilityResponseBody ¶
func NewCheckOrderFulfillabilityResponseBody(res *order.CheckOrderFulfillabilityResponse) *CheckOrderFulfillabilityResponseBody
NewCheckOrderFulfillabilityResponseBody builds the HTTP response body from the result of the "check_order_fulfillability" endpoint of the "order" service.
type CheckOrderFulfillabilityServiceUnavailableResponseBody ¶
type CheckOrderFulfillabilityServiceUnavailableResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
CheckOrderFulfillabilityServiceUnavailableResponseBody is the type of the "order" service "check_order_fulfillability" endpoint HTTP response body for the "service_unavailable" error.
func NewCheckOrderFulfillabilityServiceUnavailableResponseBody ¶
func NewCheckOrderFulfillabilityServiceUnavailableResponseBody(res *goa.ServiceError) *CheckOrderFulfillabilityServiceUnavailableResponseBody
NewCheckOrderFulfillabilityServiceUnavailableResponseBody builds the HTTP response body from the result of the "check_order_fulfillability" endpoint of the "order" service.
type CheckOrderFulfillabilityTooManyRequestsResponseBody ¶
type CheckOrderFulfillabilityTooManyRequestsResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
CheckOrderFulfillabilityTooManyRequestsResponseBody is the type of the "order" service "check_order_fulfillability" endpoint HTTP response body for the "too_many_requests" error.
func NewCheckOrderFulfillabilityTooManyRequestsResponseBody ¶
func NewCheckOrderFulfillabilityTooManyRequestsResponseBody(res *goa.ServiceError) *CheckOrderFulfillabilityTooManyRequestsResponseBody
NewCheckOrderFulfillabilityTooManyRequestsResponseBody builds the HTTP response body from the result of the "check_order_fulfillability" endpoint of the "order" service.
type CheckOrderFulfillabilityUnauthorizedResponseBody ¶
type CheckOrderFulfillabilityUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
CheckOrderFulfillabilityUnauthorizedResponseBody is the type of the "order" service "check_order_fulfillability" endpoint HTTP response body for the "unauthorized" error.
func NewCheckOrderFulfillabilityUnauthorizedResponseBody ¶
func NewCheckOrderFulfillabilityUnauthorizedResponseBody(res *goa.ServiceError) *CheckOrderFulfillabilityUnauthorizedResponseBody
NewCheckOrderFulfillabilityUnauthorizedResponseBody builds the HTTP response body from the result of the "check_order_fulfillability" endpoint of the "order" service.
type CreateOrderBadRequestResponseBody ¶
type CreateOrderBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
CreateOrderBadRequestResponseBody is the type of the "order" service "create_order" endpoint HTTP response body for the "bad_request" error.
func NewCreateOrderBadRequestResponseBody ¶
func NewCreateOrderBadRequestResponseBody(res *goa.ServiceError) *CreateOrderBadRequestResponseBody
NewCreateOrderBadRequestResponseBody builds the HTTP response body from the result of the "create_order" endpoint of the "order" service.
type CreateOrderClientClosedRequestResponseBody ¶
type CreateOrderClientClosedRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
CreateOrderClientClosedRequestResponseBody is the type of the "order" service "create_order" endpoint HTTP response body for the "client_closed_request" error.
func NewCreateOrderClientClosedRequestResponseBody ¶
func NewCreateOrderClientClosedRequestResponseBody(res *goa.ServiceError) *CreateOrderClientClosedRequestResponseBody
NewCreateOrderClientClosedRequestResponseBody builds the HTTP response body from the result of the "create_order" endpoint of the "order" service.
type CreateOrderConflictResponseBody ¶
type CreateOrderConflictResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
CreateOrderConflictResponseBody is the type of the "order" service "create_order" endpoint HTTP response body for the "conflict" error.
func NewCreateOrderConflictResponseBody ¶
func NewCreateOrderConflictResponseBody(res *goa.ServiceError) *CreateOrderConflictResponseBody
NewCreateOrderConflictResponseBody builds the HTTP response body from the result of the "create_order" endpoint of the "order" service.
type CreateOrderForbiddenResponseBody ¶
type CreateOrderForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
CreateOrderForbiddenResponseBody is the type of the "order" service "create_order" endpoint HTTP response body for the "forbidden" error.
func NewCreateOrderForbiddenResponseBody ¶
func NewCreateOrderForbiddenResponseBody(res *goa.ServiceError) *CreateOrderForbiddenResponseBody
NewCreateOrderForbiddenResponseBody builds the HTTP response body from the result of the "create_order" endpoint of the "order" service.
type CreateOrderGatewayTimeoutResponseBody ¶
type CreateOrderGatewayTimeoutResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
CreateOrderGatewayTimeoutResponseBody is the type of the "order" service "create_order" endpoint HTTP response body for the "gateway_timeout" error.
func NewCreateOrderGatewayTimeoutResponseBody ¶
func NewCreateOrderGatewayTimeoutResponseBody(res *goa.ServiceError) *CreateOrderGatewayTimeoutResponseBody
NewCreateOrderGatewayTimeoutResponseBody builds the HTTP response body from the result of the "create_order" endpoint of the "order" service.
type CreateOrderInternalServerErrorResponseBody ¶
type CreateOrderInternalServerErrorResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
CreateOrderInternalServerErrorResponseBody is the type of the "order" service "create_order" endpoint HTTP response body for the "internal_server_error" error.
func NewCreateOrderInternalServerErrorResponseBody ¶
func NewCreateOrderInternalServerErrorResponseBody(res *goa.ServiceError) *CreateOrderInternalServerErrorResponseBody
NewCreateOrderInternalServerErrorResponseBody builds the HTTP response body from the result of the "create_order" endpoint of the "order" service.
type CreateOrderNotFoundResponseBody ¶
type CreateOrderNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
CreateOrderNotFoundResponseBody is the type of the "order" service "create_order" endpoint HTTP response body for the "not_found" error.
func NewCreateOrderNotFoundResponseBody ¶
func NewCreateOrderNotFoundResponseBody(res *goa.ServiceError) *CreateOrderNotFoundResponseBody
NewCreateOrderNotFoundResponseBody builds the HTTP response body from the result of the "create_order" endpoint of the "order" service.
type CreateOrderNotImplementedResponseBody ¶
type CreateOrderNotImplementedResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
CreateOrderNotImplementedResponseBody is the type of the "order" service "create_order" endpoint HTTP response body for the "not_implemented" error.
func NewCreateOrderNotImplementedResponseBody ¶
func NewCreateOrderNotImplementedResponseBody(res *goa.ServiceError) *CreateOrderNotImplementedResponseBody
NewCreateOrderNotImplementedResponseBody builds the HTTP response body from the result of the "create_order" endpoint of the "order" service.
type CreateOrderRequestBody ¶
type CreateOrderRequestBody struct { Order *OrderRequestBodyRequestBody `form:"order,omitempty" json:"order,omitempty" xml:"order,omitempty"` PaymentProcessingParameters *PaymentProcessingParametersRequestBodyRequestBody `` /* 139-byte string literal not displayed */ IdempotencyToken *string `form:"idempotency_token,omitempty" json:"idempotency_token,omitempty" xml:"idempotency_token,omitempty"` }
CreateOrderRequestBody is the type of the "order" service "create_order" endpoint HTTP request body.
type CreateOrderResponseBody ¶
type CreateOrderResponseBody struct { Order *OrderResponseBody `form:"order,omitempty" json:"order,omitempty" xml:"order,omitempty"` OrderFailure *OrderFailureResponseBody `form:"order_failure,omitempty" json:"order_failure,omitempty" xml:"order_failure,omitempty"` }
CreateOrderResponseBody is the type of the "order" service "create_order" endpoint HTTP response body.
func NewCreateOrderResponseBody ¶
func NewCreateOrderResponseBody(res *order.CreateOrderResponse) *CreateOrderResponseBody
NewCreateOrderResponseBody builds the HTTP response body from the result of the "create_order" endpoint of the "order" service.
type CreateOrderServiceUnavailableResponseBody ¶
type CreateOrderServiceUnavailableResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
CreateOrderServiceUnavailableResponseBody is the type of the "order" service "create_order" endpoint HTTP response body for the "service_unavailable" error.
func NewCreateOrderServiceUnavailableResponseBody ¶
func NewCreateOrderServiceUnavailableResponseBody(res *goa.ServiceError) *CreateOrderServiceUnavailableResponseBody
NewCreateOrderServiceUnavailableResponseBody builds the HTTP response body from the result of the "create_order" endpoint of the "order" service.
type CreateOrderTooManyRequestsResponseBody ¶
type CreateOrderTooManyRequestsResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
CreateOrderTooManyRequestsResponseBody is the type of the "order" service "create_order" endpoint HTTP response body for the "too_many_requests" error.
func NewCreateOrderTooManyRequestsResponseBody ¶
func NewCreateOrderTooManyRequestsResponseBody(res *goa.ServiceError) *CreateOrderTooManyRequestsResponseBody
NewCreateOrderTooManyRequestsResponseBody builds the HTTP response body from the result of the "create_order" endpoint of the "order" service.
type CreateOrderUnauthorizedResponseBody ¶
type CreateOrderUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
CreateOrderUnauthorizedResponseBody is the type of the "order" service "create_order" endpoint HTTP response body for the "unauthorized" error.
func NewCreateOrderUnauthorizedResponseBody ¶
func NewCreateOrderUnauthorizedResponseBody(res *goa.ServiceError) *CreateOrderUnauthorizedResponseBody
NewCreateOrderUnauthorizedResponseBody builds the HTTP response body from the result of the "create_order" endpoint of the "order" service.
type DepositRequestBodyRequestBody ¶
type DepositRequestBodyRequestBody struct { Deposit *PriceRequestBodyRequestBody `form:"deposit,omitempty" json:"deposit,omitempty" xml:"deposit,omitempty"` MinAdvanceCancellationSec *string `` /* 136-byte string literal not displayed */ DepositType *string `form:"deposit_type,omitempty" json:"deposit_type,omitempty" xml:"deposit_type,omitempty"` }
DepositRequestBodyRequestBody is used to define fields on request body types.
type DepositResponseBody ¶
type DepositResponseBody struct { Deposit *PriceResponseBody `form:"deposit" json:"deposit" xml:"deposit"` MinAdvanceCancellationSec string `form:"min_advance_cancellation_sec" json:"min_advance_cancellation_sec" xml:"min_advance_cancellation_sec"` DepositType string `form:"deposit_type" json:"deposit_type" xml:"deposit_type"` }
DepositResponseBody is used to define fields on response body types.
type ErrorNamer ¶
type ErrorNamer interface {
ErrorName() string
}
ErrorNamer is an interface implemented by generated error structs that exposes the name of the error as defined in the design.
type FeesResponseBody ¶
type FeesResponseBody struct { PerTicketFee []*SpecificPerTicketFeeResponseBody `form:"per_ticket_fee" json:"per_ticket_fee" xml:"per_ticket_fee"` PerOrderFee []*SpecificPerOrderFeeResponseBody `form:"per_order_fee" json:"per_order_fee" xml:"per_order_fee"` }
FeesResponseBody is used to define fields on response body types.
type IntakeFormAnswersRequestBodyRequestBody ¶
type IntakeFormAnswersRequestBodyRequestBody struct {
Answer []*IntakeFormFieldAnswerRequestBodyRequestBody `form:"answer,omitempty" json:"answer,omitempty" xml:"answer,omitempty"`
}
IntakeFormAnswersRequestBodyRequestBody is used to define fields on request body types.
type IntakeFormAnswersResponseBody ¶
type IntakeFormAnswersResponseBody struct {
Answer []*IntakeFormFieldAnswerResponseBody `form:"answer" json:"answer" xml:"answer"`
}
IntakeFormAnswersResponseBody is used to define fields on response body types.
type IntakeFormFieldAnswerRequestBodyRequestBody ¶
type IntakeFormFieldAnswerRequestBodyRequestBody struct { ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` Response []string `form:"response,omitempty" json:"response,omitempty" xml:"response,omitempty"` }
IntakeFormFieldAnswerRequestBodyRequestBody is used to define fields on request body types.
type IntakeFormFieldAnswerResponseBody ¶
type IntakeFormFieldAnswerResponseBody struct { ID string `form:"id" json:"id" xml:"id"` Response []string `form:"response" json:"response" xml:"response"` }
IntakeFormFieldAnswerResponseBody is used to define fields on response body types.
type LineItemFulfillabilityResponseBody ¶
type LineItemFulfillabilityResponseBody struct { Item *LineItemResponseBody `form:"item" json:"item" xml:"item"` Result string `form:"result" json:"result" xml:"result"` UnfulfillableReason *string `form:"unfulfillable_reason,omitempty" json:"unfulfillable_reason,omitempty" xml:"unfulfillable_reason,omitempty"` Availability *UpdatedAvailabilityResponseBody `form:"availability,omitempty" json:"availability,omitempty" xml:"availability,omitempty"` TicketType []*TicketTypeResponseBody `form:"ticket_type,omitempty" json:"ticket_type,omitempty" xml:"ticket_type,omitempty"` ViolatedTicketConstraint []*ViolatedTicketConstraintResponseBody `` /* 130-byte string literal not displayed */ }
LineItemFulfillabilityResponseBody is used to define fields on response body types.
type LineItemRequestBodyRequestBody ¶
type LineItemRequestBodyRequestBody struct { ServiceID *string `form:"service_id,omitempty" json:"service_id,omitempty" xml:"service_id,omitempty"` StartSec *string `form:"start_sec,omitempty" json:"start_sec,omitempty" xml:"start_sec,omitempty"` DurationSec *string `form:"duration_sec,omitempty" json:"duration_sec,omitempty" xml:"duration_sec,omitempty"` Tickets []*OrderedTicketsRequestBodyRequestBody `form:"tickets,omitempty" json:"tickets,omitempty" xml:"tickets,omitempty"` Price *PriceRequestBodyRequestBody `form:"price,omitempty" json:"price,omitempty" xml:"price,omitempty"` Status *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"` IntakeFormAnswers *IntakeFormAnswersRequestBodyRequestBody `form:"intake_form_answers,omitempty" json:"intake_form_answers,omitempty" xml:"intake_form_answers,omitempty"` WarningReason *string `form:"warning_reason,omitempty" json:"warning_reason,omitempty" xml:"warning_reason,omitempty"` }
LineItemRequestBodyRequestBody is used to define fields on request body types.
type LineItemResponseBody ¶
type LineItemResponseBody struct { ServiceID string `form:"service_id" json:"service_id" xml:"service_id"` StartSec string `form:"start_sec" json:"start_sec" xml:"start_sec"` DurationSec string `form:"duration_sec" json:"duration_sec" xml:"duration_sec"` Tickets []*OrderedTicketsResponseBody `form:"tickets,omitempty" json:"tickets,omitempty" xml:"tickets,omitempty"` Price *PriceResponseBody `form:"price" json:"price" xml:"price"` Status *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"` IntakeFormAnswers *IntakeFormAnswersResponseBody `form:"intake_form_answers,omitempty" json:"intake_form_answers,omitempty" xml:"intake_form_answers,omitempty"` WarningReason *string `form:"warning_reason,omitempty" json:"warning_reason,omitempty" xml:"warning_reason,omitempty"` }
LineItemResponseBody is used to define fields on response body types.
type ListOrdersBadRequestResponseBody ¶
type ListOrdersBadRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ListOrdersBadRequestResponseBody is the type of the "order" service "list_orders" endpoint HTTP response body for the "bad_request" error.
func NewListOrdersBadRequestResponseBody ¶
func NewListOrdersBadRequestResponseBody(res *goa.ServiceError) *ListOrdersBadRequestResponseBody
NewListOrdersBadRequestResponseBody builds the HTTP response body from the result of the "list_orders" endpoint of the "order" service.
type ListOrdersClientClosedRequestResponseBody ¶
type ListOrdersClientClosedRequestResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ListOrdersClientClosedRequestResponseBody is the type of the "order" service "list_orders" endpoint HTTP response body for the "client_closed_request" error.
func NewListOrdersClientClosedRequestResponseBody ¶
func NewListOrdersClientClosedRequestResponseBody(res *goa.ServiceError) *ListOrdersClientClosedRequestResponseBody
NewListOrdersClientClosedRequestResponseBody builds the HTTP response body from the result of the "list_orders" endpoint of the "order" service.
type ListOrdersConflictResponseBody ¶
type ListOrdersConflictResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ListOrdersConflictResponseBody is the type of the "order" service "list_orders" endpoint HTTP response body for the "conflict" error.
func NewListOrdersConflictResponseBody ¶
func NewListOrdersConflictResponseBody(res *goa.ServiceError) *ListOrdersConflictResponseBody
NewListOrdersConflictResponseBody builds the HTTP response body from the result of the "list_orders" endpoint of the "order" service.
type ListOrdersForbiddenResponseBody ¶
type ListOrdersForbiddenResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ListOrdersForbiddenResponseBody is the type of the "order" service "list_orders" endpoint HTTP response body for the "forbidden" error.
func NewListOrdersForbiddenResponseBody ¶
func NewListOrdersForbiddenResponseBody(res *goa.ServiceError) *ListOrdersForbiddenResponseBody
NewListOrdersForbiddenResponseBody builds the HTTP response body from the result of the "list_orders" endpoint of the "order" service.
type ListOrdersGatewayTimeoutResponseBody ¶
type ListOrdersGatewayTimeoutResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ListOrdersGatewayTimeoutResponseBody is the type of the "order" service "list_orders" endpoint HTTP response body for the "gateway_timeout" error.
func NewListOrdersGatewayTimeoutResponseBody ¶
func NewListOrdersGatewayTimeoutResponseBody(res *goa.ServiceError) *ListOrdersGatewayTimeoutResponseBody
NewListOrdersGatewayTimeoutResponseBody builds the HTTP response body from the result of the "list_orders" endpoint of the "order" service.
type ListOrdersInternalServerErrorResponseBody ¶
type ListOrdersInternalServerErrorResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ListOrdersInternalServerErrorResponseBody is the type of the "order" service "list_orders" endpoint HTTP response body for the "internal_server_error" error.
func NewListOrdersInternalServerErrorResponseBody ¶
func NewListOrdersInternalServerErrorResponseBody(res *goa.ServiceError) *ListOrdersInternalServerErrorResponseBody
NewListOrdersInternalServerErrorResponseBody builds the HTTP response body from the result of the "list_orders" endpoint of the "order" service.
type ListOrdersNotFoundResponseBody ¶
type ListOrdersNotFoundResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ListOrdersNotFoundResponseBody is the type of the "order" service "list_orders" endpoint HTTP response body for the "not_found" error.
func NewListOrdersNotFoundResponseBody ¶
func NewListOrdersNotFoundResponseBody(res *goa.ServiceError) *ListOrdersNotFoundResponseBody
NewListOrdersNotFoundResponseBody builds the HTTP response body from the result of the "list_orders" endpoint of the "order" service.
type ListOrdersNotImplementedResponseBody ¶
type ListOrdersNotImplementedResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ListOrdersNotImplementedResponseBody is the type of the "order" service "list_orders" endpoint HTTP response body for the "not_implemented" error.
func NewListOrdersNotImplementedResponseBody ¶
func NewListOrdersNotImplementedResponseBody(res *goa.ServiceError) *ListOrdersNotImplementedResponseBody
NewListOrdersNotImplementedResponseBody builds the HTTP response body from the result of the "list_orders" endpoint of the "order" service.
type ListOrdersRequestBody ¶
type ListOrdersRequestBody struct { UserID *string `form:"user_id,omitempty" json:"user_id,omitempty" xml:"user_id,omitempty"` OrderIds *OrderIdsRequestBodyRequestBody `form:"order_ids,omitempty" json:"order_ids,omitempty" xml:"order_ids,omitempty"` }
ListOrdersRequestBody is the type of the "order" service "list_orders" endpoint HTTP request body.
type ListOrdersResponseBody ¶
type ListOrdersResponseBody struct {
Order []*OrderResponseBody `form:"order" json:"order" xml:"order"`
}
ListOrdersResponseBody is the type of the "order" service "list_orders" endpoint HTTP response body.
func NewListOrdersResponseBody ¶
func NewListOrdersResponseBody(res *order.ListOrdersResponse) *ListOrdersResponseBody
NewListOrdersResponseBody builds the HTTP response body from the result of the "list_orders" endpoint of the "order" service.
type ListOrdersServiceUnavailableResponseBody ¶
type ListOrdersServiceUnavailableResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
ListOrdersServiceUnavailableResponseBody is the type of the "order" service "list_orders" endpoint HTTP response body for the "service_unavailable" error.
func NewListOrdersServiceUnavailableResponseBody ¶
func NewListOrdersServiceUnavailableResponseBody(res *goa.ServiceError) *ListOrdersServiceUnavailableResponseBody
NewListOrdersServiceUnavailableResponseBody builds the HTTP response body from the result of the "list_orders" endpoint of the "order" service.
type ListOrdersTooManyRequestsResponseBody ¶
type ListOrdersTooManyRequestsResponseBody struct { // Name is the name of this class of errors. Name string `form:"name" json:"name" xml:"name"` // ID is a unique identifier for this particular occurrence of the problem. ID string `form:"id" json:"id" xml:"id"` // Message is a human-readable explanation specific to this occurrence of the // problem. Message string `form:"message" json:"message" xml:"message"` // Is the error temporary? Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` // Is the error a timeout? Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` // Is the error a server-side fault? Fault bool `form:"fault" json:"fault" xml:"fault"` }
ListOrdersTooManyRequestsResponseBody is the type of the "order" service "list_orders" endpoint HTTP response body for the "too_many_requests" error.
func NewListOrdersTooManyRequestsResponseBody ¶
func NewListOrdersTooManyRequestsResponseBody(res *goa.ServiceError) *ListOrdersTooManyRequestsResponseBody
NewListOrdersTooManyRequestsResponseBody builds the HTTP response body from the result of the "list_orders" endpoint of the "order" service.
type ListOrdersUnauthorizedResponseBody ¶
type ListOrdersUnauthorizedResponseBody struct { string `form:"name" json:"name" xml:"name"` ID string `form:"id" json:"id" xml:"id"` // problem. Message string `form:"message" json:"message" xml:"message"` Temporary bool `form:"temporary" json:"temporary" xml:"temporary"` Timeout bool `form:"timeout" json:"timeout" xml:"timeout"` Fault bool `form:"fault" json:"fault" xml:"fault"` }Name
ListOrdersUnauthorizedResponseBody is the type of the "order" service "list_orders" endpoint HTTP response body for the "unauthorized" error.
func NewListOrdersUnauthorizedResponseBody ¶
func NewListOrdersUnauthorizedResponseBody(res *goa.ServiceError) *ListOrdersUnauthorizedResponseBody
NewListOrdersUnauthorizedResponseBody builds the HTTP response body from the result of the "list_orders" endpoint of the "order" service.
type LocalizedStringResponseBody ¶
type LocalizedStringResponseBody struct { Locale string `form:"locale" json:"locale" xml:"locale"` Value string `form:"value" json:"value" xml:"value"` }
LocalizedStringResponseBody is used to define fields on response body types.
type MountPoint ¶
type MountPoint struct { // Method is the name of the service method served by the mounted HTTP handler. Method string // Verb is the HTTP method used to match requests to the mounted handler. Verb string // Pattern is the HTTP request path pattern used to match requests to the // mounted handler. Pattern string }
MountPoint holds information about the mounted endpoints.
type NoShowFeeRequestBodyRequestBody ¶
type NoShowFeeRequestBodyRequestBody struct { Fee *PriceRequestBodyRequestBody `form:"fee,omitempty" json:"fee,omitempty" xml:"fee,omitempty"` FeeType *string `form:"fee_type,omitempty" json:"fee_type,omitempty" xml:"fee_type,omitempty"` }
NoShowFeeRequestBodyRequestBody is used to define fields on request body types.
type NoShowFeeResponseBody ¶
type NoShowFeeResponseBody struct { Fee *PriceResponseBody `form:"fee" json:"fee" xml:"fee"` FeeType string `form:"fee_type" json:"fee_type" xml:"fee_type"` }
NoShowFeeResponseBody is used to define fields on response body types.
type OrderFailureResponseBody ¶
type OrderFailureResponseBody struct { Cause string `form:"cause" json:"cause" xml:"cause"` Fulfillability *OrderFulfillabilityResponseBody `form:"fulfillability,omitempty" json:"fulfillability,omitempty" xml:"fulfillability,omitempty"` RejectedCardType *string `form:"rejected_card_type,omitempty" json:"rejected_card_type,omitempty" xml:"rejected_card_type,omitempty"` Description *string `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"` PaymentFailure *PaymentFailureInformationResponseBody `form:"payment_failure,omitempty" json:"payment_failure,omitempty" xml:"payment_failure,omitempty"` }
OrderFailureResponseBody is used to define fields on response body types.
type OrderFulfillabilityResponseBody ¶
type OrderFulfillabilityResponseBody struct { Result string `form:"result" json:"result" xml:"result"` ItemFulfillability []*LineItemFulfillabilityResponseBody `form:"item_fulfillability" json:"item_fulfillability" xml:"item_fulfillability"` UnfulfillableReason *string `form:"unfulfillable_reason,omitempty" json:"unfulfillable_reason,omitempty" xml:"unfulfillable_reason,omitempty"` }
OrderFulfillabilityResponseBody is used to define fields on response body types.
type OrderIdsRequestBodyRequestBody ¶
type OrderIdsRequestBodyRequestBody struct {
OrderID []string `form:"order_id,omitempty" json:"order_id,omitempty" xml:"order_id,omitempty"`
}
OrderIdsRequestBodyRequestBody is used to define fields on request body types.
type OrderRequestBodyRequestBody ¶
type OrderRequestBodyRequestBody struct { OrderID *string `form:"order_id,omitempty" json:"order_id,omitempty" xml:"order_id,omitempty"` UserInformation *UserInformationRequestBodyRequestBody `form:"user_information,omitempty" json:"user_information,omitempty" xml:"user_information,omitempty"` PaymentInformation *PaymentInformationRequestBodyRequestBody `form:"payment_information,omitempty" json:"payment_information,omitempty" xml:"payment_information,omitempty"` MerchantID *string `form:"merchant_id,omitempty" json:"merchant_id,omitempty" xml:"merchant_id,omitempty"` Item []*LineItemRequestBodyRequestBody `form:"item,omitempty" json:"item,omitempty" xml:"item,omitempty"` }
OrderRequestBodyRequestBody is used to define fields on request body types.
type OrderResponseBody ¶
type OrderResponseBody struct { OrderID *string `form:"order_id,omitempty" json:"order_id,omitempty" xml:"order_id,omitempty"` UserInformation *UserInformationResponseBody `form:"user_information" json:"user_information" xml:"user_information"` PaymentInformation *PaymentInformationResponseBody `form:"payment_information,omitempty" json:"payment_information,omitempty" xml:"payment_information,omitempty"` MerchantID *string `form:"merchant_id,omitempty" json:"merchant_id,omitempty" xml:"merchant_id,omitempty"` Item []*LineItemResponseBody `form:"item,omitempty" json:"item,omitempty" xml:"item,omitempty"` }
OrderResponseBody is used to define fields on response body types.
type OrderedTicketsRequestBodyRequestBody ¶
type OrderedTicketsRequestBodyRequestBody struct { TicketID *string `form:"ticket_id,omitempty" json:"ticket_id,omitempty" xml:"ticket_id,omitempty"` Count *int32 `form:"count,omitempty" json:"count,omitempty" xml:"count,omitempty"` }
OrderedTicketsRequestBodyRequestBody is used to define fields on request body types.
type OrderedTicketsResponseBody ¶
type OrderedTicketsResponseBody struct { TicketID string `form:"ticket_id" json:"ticket_id" xml:"ticket_id"` Count int32 `form:"count" json:"count" xml:"count"` }
OrderedTicketsResponseBody is used to define fields on response body types.
type PaymentFailureInformationResponseBody ¶
type PaymentFailureInformationResponseBody struct {
Threeds1Parameters *ThreeDS1ParametersResponseBody `form:"threeds1_parameters" json:"threeds1_parameters" xml:"threeds1_parameters"`
}
PaymentFailureInformationResponseBody is used to define fields on response body types.
type PaymentInformationRequestBodyRequestBody ¶
type PaymentInformationRequestBodyRequestBody struct { PrepaymentStatus *string `form:"prepayment_status,omitempty" json:"prepayment_status,omitempty" xml:"prepayment_status,omitempty"` PaymentTransactionID *string `form:"payment_transaction_id,omitempty" json:"payment_transaction_id,omitempty" xml:"payment_transaction_id,omitempty"` Price *PriceRequestBodyRequestBody `form:"price,omitempty" json:"price,omitempty" xml:"price,omitempty"` TaxAmount *PriceRequestBodyRequestBody `form:"tax_amount,omitempty" json:"tax_amount,omitempty" xml:"tax_amount,omitempty"` Fees *PriceRequestBodyRequestBody `form:"fees,omitempty" json:"fees,omitempty" xml:"fees,omitempty"` FeesAndTaxes *PriceRequestBodyRequestBody `form:"fees_and_taxes,omitempty" json:"fees_and_taxes,omitempty" xml:"fees_and_taxes,omitempty"` Deposit *DepositRequestBodyRequestBody `form:"deposit,omitempty" json:"deposit,omitempty" xml:"deposit,omitempty"` NoShowFee *NoShowFeeRequestBodyRequestBody `form:"no_show_fee,omitempty" json:"no_show_fee,omitempty" xml:"no_show_fee,omitempty"` PaymentProcessedBy *string `form:"payment_processed_by,omitempty" json:"payment_processed_by,omitempty" xml:"payment_processed_by,omitempty"` PaymentOptionID *string `form:"payment_option_id,omitempty" json:"payment_option_id,omitempty" xml:"payment_option_id,omitempty"` UserPaymentOptionID *string `form:"user_payment_option_id,omitempty" json:"user_payment_option_id,omitempty" xml:"user_payment_option_id,omitempty"` FraudSignals *string `form:"fraud_signals,omitempty" json:"fraud_signals,omitempty" xml:"fraud_signals,omitempty"` PaResponse *string `form:"pa_response,omitempty" json:"pa_response,omitempty" xml:"pa_response,omitempty"` MdMerchantData *string `form:"md_merchant_data,omitempty" json:"md_merchant_data,omitempty" xml:"md_merchant_data,omitempty"` }
PaymentInformationRequestBodyRequestBody is used to define fields on request body types.
type PaymentInformationResponseBody ¶
type PaymentInformationResponseBody struct { PrepaymentStatus string `form:"prepayment_status" json:"prepayment_status" xml:"prepayment_status"` PaymentTransactionID *string `form:"payment_transaction_id,omitempty" json:"payment_transaction_id,omitempty" xml:"payment_transaction_id,omitempty"` Price *PriceResponseBody `form:"price" json:"price" xml:"price"` TaxAmount *PriceResponseBody `form:"tax_amount,omitempty" json:"tax_amount,omitempty" xml:"tax_amount,omitempty"` Fees *PriceResponseBody `form:"fees,omitempty" json:"fees,omitempty" xml:"fees,omitempty"` FeesAndTaxes *PriceResponseBody `form:"fees_and_taxes,omitempty" json:"fees_and_taxes,omitempty" xml:"fees_and_taxes,omitempty"` Deposit *DepositResponseBody `form:"deposit,omitempty" json:"deposit,omitempty" xml:"deposit,omitempty"` NoShowFee *NoShowFeeResponseBody `form:"no_show_fee,omitempty" json:"no_show_fee,omitempty" xml:"no_show_fee,omitempty"` PaymentProcessedBy string `form:"payment_processed_by" json:"payment_processed_by" xml:"payment_processed_by"` PaymentOptionID *string `form:"payment_option_id,omitempty" json:"payment_option_id,omitempty" xml:"payment_option_id,omitempty"` UserPaymentOptionID *string `form:"user_payment_option_id,omitempty" json:"user_payment_option_id,omitempty" xml:"user_payment_option_id,omitempty"` FraudSignals *string `form:"fraud_signals,omitempty" json:"fraud_signals,omitempty" xml:"fraud_signals,omitempty"` PaResponse *string `form:"pa_response,omitempty" json:"pa_response,omitempty" xml:"pa_response,omitempty"` MdMerchantData *string `form:"md_merchant_data,omitempty" json:"md_merchant_data,omitempty" xml:"md_merchant_data,omitempty"` }
PaymentInformationResponseBody is used to define fields on response body types.
type PaymentProcessingParametersRequestBodyRequestBody ¶
type PaymentProcessingParametersRequestBodyRequestBody struct { Processor *string `form:"processor,omitempty" json:"processor,omitempty" xml:"processor,omitempty"` PaymentMethodToken *string `form:"payment_method_token,omitempty" json:"payment_method_token,omitempty" xml:"payment_method_token,omitempty"` UnparsedPaymentMethodToken *string `` /* 139-byte string literal not displayed */ Version *string `form:"version,omitempty" json:"version,omitempty" xml:"version,omitempty"` PaymentProcessor *string `form:"payment_processor,omitempty" json:"payment_processor,omitempty" xml:"payment_processor,omitempty"` TokenizationConfig *TokenizationConfigRequestBodyRequestBody `form:"tokenization_config,omitempty" json:"tokenization_config,omitempty" xml:"tokenization_config,omitempty"` }
PaymentProcessingParametersRequestBodyRequestBody is used to define fields on request body types.
type PerTicketFeeResponseBody ¶
type PerTicketFeeResponseBody struct { ServiceCharge *PriceResponseBody `form:"service_charge" json:"service_charge" xml:"service_charge"` FacilityFee *PriceResponseBody `form:"facility_fee" json:"facility_fee" xml:"facility_fee"` Taxes *PriceResponseBody `form:"taxes" json:"taxes" xml:"taxes"` }
PerTicketFeeResponseBody is used to define fields on response body types.
type PostalAddressRequestBodyRequestBody ¶
type PostalAddressRequestBodyRequestBody struct { Country *string `form:"country,omitempty" json:"country,omitempty" xml:"country,omitempty"` Locality *string `form:"locality,omitempty" json:"locality,omitempty" xml:"locality,omitempty"` Region *string `form:"region,omitempty" json:"region,omitempty" xml:"region,omitempty"` PostalCode *string `form:"postal_code,omitempty" json:"postal_code,omitempty" xml:"postal_code,omitempty"` StreetAddress *string `form:"street_address,omitempty" json:"street_address,omitempty" xml:"street_address,omitempty"` }
PostalAddressRequestBodyRequestBody is used to define fields on request body types.
type PostalAddressResponseBody ¶
type PostalAddressResponseBody struct { Country string `form:"country" json:"country" xml:"country"` Locality string `form:"locality" json:"locality" xml:"locality"` Region *string `form:"region,omitempty" json:"region,omitempty" xml:"region,omitempty"` PostalCode string `form:"postal_code" json:"postal_code" xml:"postal_code"` StreetAddress string `form:"street_address" json:"street_address" xml:"street_address"` }
PostalAddressResponseBody is used to define fields on response body types.
type PriceRequestBodyRequestBody ¶
type PriceRequestBodyRequestBody struct { PriceMicros *int64 `form:"price_micros,omitempty" json:"price_micros,omitempty" xml:"price_micros,omitempty"` CurrencyCode *string `form:"currency_code,omitempty" json:"currency_code,omitempty" xml:"currency_code,omitempty"` PricingOptionTag *string `form:"pricing_option_tag,omitempty" json:"pricing_option_tag,omitempty" xml:"pricing_option_tag,omitempty"` }
PriceRequestBodyRequestBody is used to define fields on request body types.
type PriceResponseBody ¶
type PriceResponseBody struct { PriceMicros int64 `form:"price_micros" json:"price_micros" xml:"price_micros"` CurrencyCode string `form:"currency_code" json:"currency_code" xml:"currency_code"` PricingOptionTag *string `form:"pricing_option_tag,omitempty" json:"pricing_option_tag,omitempty" xml:"pricing_option_tag,omitempty"` }
PriceResponseBody is used to define fields on response body types.
type Server ¶
type Server struct { Mounts []*MountPoint CheckOrderFulfillability http.Handler CreateOrder http.Handler ListOrders http.Handler }
Server lists the order service endpoint HTTP handlers.
func New ¶
func New( e *order.Endpoints, mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder, encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, errhandler func(context.Context, http.ResponseWriter, error), formatter func(err error) goahttp.Statuser, ) *Server
New instantiates HTTP handlers for all the order service endpoints using the provided encoder and decoder. The handlers are mounted on the given mux using the HTTP verb and path defined in the design. errhandler is called whenever a response fails to be encoded. formatter is used to format errors returned by the service methods prior to encoding. Both errhandler and formatter are optional and can be nil.
type SpecificPerOrderFeeResponseBody ¶
type SpecificPerOrderFeeResponseBody struct { FeeName string `form:"fee_name" json:"fee_name" xml:"fee_name"` FeeAmount *PriceResponseBody `form:"fee_amount" json:"fee_amount" xml:"fee_amount"` }
SpecificPerOrderFeeResponseBody is used to define fields on response body types.
type SpecificPerTicketFeeResponseBody ¶
type SpecificPerTicketFeeResponseBody struct { TicketID string `form:"ticket_id" json:"ticket_id" xml:"ticket_id"` ServiceID string `form:"service_id" json:"service_id" xml:"service_id"` FeeName string `form:"fee_name" json:"fee_name" xml:"fee_name"` FeeAmount *PriceResponseBody `form:"fee_amount" json:"fee_amount" xml:"fee_amount"` }
SpecificPerTicketFeeResponseBody is used to define fields on response body types.
type TextResponseBody ¶
type TextResponseBody struct { Value *string `form:"value,omitempty" json:"value,omitempty" xml:"value,omitempty"` LocalizedValue []*LocalizedStringResponseBody `form:"localized_value,omitempty" json:"localized_value,omitempty" xml:"localized_value,omitempty"` }
TextResponseBody is used to define fields on response body types.
type ThreeDS1ParametersResponseBody ¶
type ThreeDS1ParametersResponseBody struct { AcsURL string `form:"acs_url" json:"acs_url" xml:"acs_url"` PaReq string `form:"pa_req" json:"pa_req" xml:"pa_req"` TransactionID string `form:"transaction_id" json:"transaction_id" xml:"transaction_id"` MdMerchantData string `form:"md_merchant_data" json:"md_merchant_data" xml:"md_merchant_data"` }
ThreeDS1ParametersResponseBody is used to define fields on response body types.
type TicketTypeResponseBody ¶
type TicketTypeResponseBody struct { TicketTypeID string `form:"ticket_type_id" json:"ticket_type_id" xml:"ticket_type_id"` ShortDescription string `form:"short_description" json:"short_description" xml:"short_description"` LocalizedShortDescription *TextResponseBody `form:"localized_short_description" json:"localized_short_description" xml:"localized_short_description"` Price *PriceResponseBody `form:"price" json:"price" xml:"price"` PerTicketFee *PerTicketFeeResponseBody `form:"per_ticket_fee,omitempty" json:"per_ticket_fee,omitempty" xml:"per_ticket_fee,omitempty"` OptionDescription string `form:"option_description" json:"option_description" xml:"option_description"` LocalizedOptionDescription *TextResponseBody `` /* 136-byte string literal not displayed */ }
TicketTypeResponseBody is used to define fields on response body types.
type TokenizationConfigRequestBodyRequestBody ¶
type TokenizationConfigRequestBodyRequestBody struct { TokenizationParameter map[string]string `form:"tokenization_parameter,omitempty" json:"tokenization_parameter,omitempty" xml:"tokenization_parameter,omitempty"` BillingInformationFormat *string `` /* 130-byte string literal not displayed */ MerchantOfRecordName *string `form:"merchant_of_record_name,omitempty" json:"merchant_of_record_name,omitempty" xml:"merchant_of_record_name,omitempty"` PaymentCountryCode *string `form:"payment_country_code,omitempty" json:"payment_country_code,omitempty" xml:"payment_country_code,omitempty"` CardNetworkParameters []*CardNetworkParametersRequestBodyRequestBody `form:"card_network_parameters,omitempty" json:"card_network_parameters,omitempty" xml:"card_network_parameters,omitempty"` AllowedAuthMethods []string `form:"allowed_auth_methods,omitempty" json:"allowed_auth_methods,omitempty" xml:"allowed_auth_methods,omitempty"` }
TokenizationConfigRequestBodyRequestBody is used to define fields on request body types.
type UpdatedAvailabilityResponseBody ¶
type UpdatedAvailabilityResponseBody struct {
SpotsOpen int32 `form:"spots_open" json:"spots_open" xml:"spots_open"`
}
UpdatedAvailabilityResponseBody is used to define fields on response body types.
type UserInformationRequestBodyRequestBody ¶
type UserInformationRequestBodyRequestBody struct { UserID *string `form:"user_id,omitempty" json:"user_id,omitempty" xml:"user_id,omitempty"` GivenName *string `form:"given_name,omitempty" json:"given_name,omitempty" xml:"given_name,omitempty"` FamilyName *string `form:"family_name,omitempty" json:"family_name,omitempty" xml:"family_name,omitempty"` Address *PostalAddressRequestBodyRequestBody `form:"address,omitempty" json:"address,omitempty" xml:"address,omitempty"` Telephone *string `form:"telephone,omitempty" json:"telephone,omitempty" xml:"telephone,omitempty"` Email *string `form:"email,omitempty" json:"email,omitempty" xml:"email,omitempty"` LanguageCode *string `form:"language_code,omitempty" json:"language_code,omitempty" xml:"language_code,omitempty"` }
UserInformationRequestBodyRequestBody is used to define fields on request body types.
type UserInformationResponseBody ¶
type UserInformationResponseBody struct { UserID string `form:"user_id" json:"user_id" xml:"user_id"` GivenName string `form:"given_name" json:"given_name" xml:"given_name"` FamilyName string `form:"family_name" json:"family_name" xml:"family_name"` Address *PostalAddressResponseBody `form:"address,omitempty" json:"address,omitempty" xml:"address,omitempty"` Telephone string `form:"telephone" json:"telephone" xml:"telephone"` Email string `form:"email" json:"email" xml:"email"` LanguageCode *string `form:"language_code,omitempty" json:"language_code,omitempty" xml:"language_code,omitempty"` }
UserInformationResponseBody is used to define fields on response body types.
type ViolatedTicketConstraintResponseBody ¶
type ViolatedTicketConstraintResponseBody struct { MinTicketCount int32 `form:"min_ticket_count" json:"min_ticket_count" xml:"min_ticket_count"` MaxTicketCount int32 `form:"max_ticket_count" json:"max_ticket_count" xml:"max_ticket_count"` TicketID string `form:"ticket_id" json:"ticket_id" xml:"ticket_id"` }
ViolatedTicketConstraintResponseBody is used to define fields on response body types.