Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckoutUtility ¶
CheckoutUtility CheckoutUtility service
func (CheckoutUtility) OriginKeys ¶
func (a CheckoutUtility) OriginKeys(req *CheckoutUtilityRequest, ctxs ..._context.Context) (CheckoutUtilityResponse, *_nethttp.Response, error)
OriginKeys Create originKey values for one or more merchant domains. This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains.
- @param request CheckoutUtilityRequest - reference of CheckoutUtilityRequest).
- @param ctxs ..._context.Context - optional, for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return CheckoutUtilityResponse
type CheckoutUtilityRequest ¶
type CheckoutUtilityRequest struct { // The list of origin domains, for which origin keys are requested. OriginDomains []string `json:"originDomains"` }
CheckoutUtilityRequest struct for CheckoutUtilityRequest
type CheckoutUtilityResponse ¶
type CheckoutUtilityResponse struct { // The list of origin keys for all requested domains. For each list item, the key is the domain and the value is the origin key. OriginKeys *map[string]interface{} `json:"originKeys,omitempty"` }
CheckoutUtilityResponse struct for CheckoutUtilityResponse
Click to show internal directories.
Click to hide internal directories.