Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateOrderService ¶
type CreateOrderService struct {
BaseURL string
WebBaseURL string
FabricID string
MerchantID string
MerchantCode string
NotifyPath string
PrivateKeyPEM string
ReturnURL string
ApplyFabricTokenService *ApplyFabricToken.ApplyFabricTokenService
Client *http.Client
}
===CreateOrderService===
func NewCreateOrderService ¶
func NewCreateOrderService( baseURL, webBaseURL, fabricID, merchantID, merchantCode, notifyPath, privateKeyPEM, returnURL string, applyFabricTokenService *ApplyFabricToken.ApplyFabricTokenService, opts ...Option, ) *CreateOrderService
func (*CreateOrderService) CreateOrder ¶
func (s *CreateOrderService) CreateOrder(title, amount string) (string, error)
type Option ¶ added in v0.0.6
type Option func(*CreateOrderService)
func WithClient ¶ added in v0.0.6
type PreOrderBizContent ¶
type PreOrderResponse ¶
Click to show internal directories.
Click to hide internal directories.