Documentation
¶
Overview ¶
ENGMODEL-OWNER-UNIT: FU-CHECKOUT ENGMODEL-CODE-DESCRIPTION: accepts checkout requests and forwards payment authorization flow input
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckoutController ¶
type CheckoutController struct{}
ENGMODEL-LINKS: IF-PAYMENTS-CHECKOUT-API, FLOW-CUSTOMER-CHECKOUT, DO-PAYMENTS-AUTH-REQUEST, FU-CHECKOUT
func (*CheckoutController) HandleBankUnavailable ¶
func (c *CheckoutController) HandleBankUnavailable(paymentID string)
ENGMODEL-LINKS: IF-PAYMENTS-CHECKOUT-API, IF-PAYMENTS-BANK-AUTH, FLOW-CUSTOMER-CHECKOUT TRLC-LINKS: REQ-PAY-006
func (*CheckoutController) StartSession ¶
func (c *CheckoutController) StartSession(paymentID string, amountCents int)
ENGMODEL-LINKS: IF-PAYMENTS-CHECKOUT-API, FLOW-CUSTOMER-CHECKOUT, DO-PAYMENTS-AUTH-REQUEST TRLC-LINKS: REQ-PAY-001
func (*CheckoutController) SubmitAuthorizationRequest ¶
func (c *CheckoutController) SubmitAuthorizationRequest(paymentID string)
ENGMODEL-LINKS: IF-PAYMENTS-CHECKOUT-API, IF-PAYMENTS-BANK-AUTH, FLOW-CUSTOMER-CHECKOUT, DO-PAYMENTS-AUTH-REQUEST TRLC-LINKS: REQ-PAY-001
type CustomerMessageService ¶
type CustomerMessageService struct{}
ENGMODEL-LINKS: IF-PAYMENTS-CHECKOUT-API, FLOW-CUSTOMER-CHECKOUT, FU-CHECKOUT
func (*CustomerMessageService) ShowDeclineReason ¶
func (m *CustomerMessageService) ShowDeclineReason(paymentID, declineReason string)
ENGMODEL-LINKS: IF-PAYMENTS-CHECKOUT-API, FLOW-CUSTOMER-CHECKOUT, DO-PAYMENTS-AUTH-DECISION TRLC-LINKS: REQ-PAY-003
func (*CustomerMessageService) ShowRetryOption ¶
func (m *CustomerMessageService) ShowRetryOption(paymentID string)
ENGMODEL-LINKS: IF-PAYMENTS-CHECKOUT-API, FLOW-CUSTOMER-CHECKOUT TRLC-LINKS: REQ-PAY-003
func (*CustomerMessageService) ShowTemporaryUnavailable ¶
func (m *CustomerMessageService) ShowTemporaryUnavailable(paymentID string)
ENGMODEL-LINKS: IF-PAYMENTS-CHECKOUT-API, IF-PAYMENTS-BANK-AUTH, FLOW-CUSTOMER-CHECKOUT TRLC-LINKS: REQ-PAY-006