Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PayContext ¶
type PayContext struct {
// contains filtered or unexported fields
}
PayContext context of Pay
func NewPayContext ¶
func NewPayContext(behavior PayBehavior) *PayContext
NewPayContext create a PayContext instance
type ThirdPartyPay ¶
type ThirdPartyPay struct{}
ThirdPartyPay pay by ThirdParty
func (*ThirdPartyPay) OrderPay ¶
func (t *ThirdPartyPay) OrderPay(ctx *PayContext)
OrderPay of ThirdPartyPay
Click to show internal directories.
Click to hide internal directories.