Help us shape the future of Go! Take the 2026 Go Developer Survey

sample

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2026 License: MIT Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL