Versions in this module Expand all Collapse all v0 v0.2.17 Jun 25, 2023 v0.0.1 Jun 25, 2023 Changes in this version + type Amount struct + Currency *string + Total *int64 + func (o Amount) Clone() *Amount + func (o Amount) MarshalJSON() ([]byte, error) + func (o Amount) String() string + type AppApiService services.Service + func (a *AppApiService) CloseOrder(ctx context.Context, req CloseOrderRequest) (result *core.APIResult, err error) + func (a *AppApiService) Prepay(ctx context.Context, req PrepayRequest) (resp *PrepayResponse, result *core.APIResult, err error) + func (a *AppApiService) QueryOrderById(ctx context.Context, req QueryOrderByIdRequest) (resp *partnerpayments.Transaction, result *core.APIResult, err error) + func (a *AppApiService) QueryOrderByOutTradeNo(ctx context.Context, req QueryOrderByOutTradeNoRequest) (resp *partnerpayments.Transaction, result *core.APIResult, err error) + type CloseOrderRequest struct + OutTradeNo *string + SpMchid *string + SubMchid *string + func (o CloseOrderRequest) Clone() *CloseOrderRequest + func (o CloseOrderRequest) MarshalJSON() ([]byte, error) + func (o CloseOrderRequest) String() string + type CloseRequest struct + SpMchid *string + SubMchid *string + func (o CloseRequest) Clone() *CloseRequest + func (o CloseRequest) MarshalJSON() ([]byte, error) + func (o CloseRequest) String() string + type Detail struct + CostPrice *int64 + GoodsDetail []GoodsDetail + InvoiceId *string + func (o Detail) Clone() *Detail + func (o Detail) MarshalJSON() ([]byte, error) + func (o Detail) String() string + type GoodsDetail struct + GoodsName *string + MerchantGoodsId *string + Quantity *int64 + UnitPrice *int64 + WechatpayGoodsId *string + func (o GoodsDetail) Clone() *GoodsDetail + func (o GoodsDetail) MarshalJSON() ([]byte, error) + func (o GoodsDetail) String() string + type PrepayRequest struct + Amount *Amount + Attach *string + Description *string + Detail *Detail + GoodsTag *string + LimitPay []string + NotifyUrl *string + OutTradeNo *string + SceneInfo *SceneInfo + SettleInfo *SettleInfo + SpAppid *string + SpMchid *string + SubAppid *string + SubMchid *string + SupportFapiao *bool + TimeExpire *time.Time + func (o PrepayRequest) Clone() *PrepayRequest + func (o PrepayRequest) MarshalJSON() ([]byte, error) + func (o PrepayRequest) String() string + type PrepayResponse struct + PrepayId *string + func (o PrepayResponse) Clone() *PrepayResponse + func (o PrepayResponse) MarshalJSON() ([]byte, error) + func (o PrepayResponse) String() string + type QueryOrderByIdRequest struct + SpMchid *string + SubMchid *string + TransactionId *string + func (o QueryOrderByIdRequest) Clone() *QueryOrderByIdRequest + func (o QueryOrderByIdRequest) MarshalJSON() ([]byte, error) + func (o QueryOrderByIdRequest) String() string + type QueryOrderByOutTradeNoRequest struct + OutTradeNo *string + SpMchid *string + SubMchid *string + func (o QueryOrderByOutTradeNoRequest) Clone() *QueryOrderByOutTradeNoRequest + func (o QueryOrderByOutTradeNoRequest) MarshalJSON() ([]byte, error) + func (o QueryOrderByOutTradeNoRequest) String() string + type SceneInfo struct + DeviceId *string + PayerClientIp *string + StoreInfo *StoreInfo + func (o SceneInfo) Clone() *SceneInfo + func (o SceneInfo) MarshalJSON() ([]byte, error) + func (o SceneInfo) String() string + type SettleInfo struct + ProfitSharing *bool + func (o SettleInfo) Clone() *SettleInfo + func (o SettleInfo) MarshalJSON() ([]byte, error) + func (o SettleInfo) String() string + type StoreInfo struct + Address *string + AreaCode *string + Id *string + Name *string + func (o StoreInfo) Clone() *StoreInfo + func (o StoreInfo) MarshalJSON() ([]byte, error) + func (o StoreInfo) String() string