Versions in this module Expand all Collapse all v0 v0.2.6 Aug 14, 2021 Changes in this version + type PromotionDetail struct + Amount *int64 + CouponId *string + Currency *string + GoodsDetail []PromotionGoodsDetail + MerchantContribute *int64 + Name *string + OtherContribute *int64 + Scope *string + StockId *string + Type *string + WechatpayContribute *int64 + func (o PromotionDetail) Clone() *PromotionDetail + func (o PromotionDetail) MarshalJSON() ([]byte, error) + func (o PromotionDetail) String() string + type PromotionGoodsDetail struct + DiscountAmount *int64 + GoodsId *string + GoodsRemark *string + Quantity *int64 + UnitPrice *int64 + func (o PromotionGoodsDetail) Clone() *PromotionGoodsDetail + func (o PromotionGoodsDetail) MarshalJSON() ([]byte, error) + func (o PromotionGoodsDetail) String() string + type Transaction struct + Amount *TransactionAmount + Appid *string + Attach *string + BankType *string + Mchid *string + OutTradeNo *string + Payer *TransactionPayer + PromotionDetail []PromotionDetail + SuccessTime *string + TradeState *string + TradeStateDesc *string + TradeType *string + TransactionId *string + func (o Transaction) Clone() *Transaction + func (o Transaction) MarshalJSON() ([]byte, error) + func (o Transaction) String() string + type TransactionAmount struct + Currency *string + PayerCurrency *string + PayerTotal *int64 + Total *int64 + func (o TransactionAmount) Clone() *TransactionAmount + func (o TransactionAmount) MarshalJSON() ([]byte, error) + func (o TransactionAmount) String() string + type TransactionPayer struct + Openid *string + func (o TransactionPayer) Clone() *TransactionPayer + func (o TransactionPayer) MarshalJSON() ([]byte, error) + func (o TransactionPayer) String() string