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 + PayerCurrency *string + PayerTotal *int64 + Total *int64 + func (o Amount) Clone() *Amount + func (o Amount) MarshalJSON() ([]byte, error) + func (o Amount) String() string + type BrandEntity struct + ConsumeCount *int64 + DonateCount *int64 + func (o BrandEntity) Clone() *BrandEntity + func (o BrandEntity) MarshalJSON() ([]byte, error) + func (o BrandEntity) String() string + type BrandsApiService services.Service + func (a *BrandsApiService) GetBrand(ctx context.Context, req GetBrandRequest) (resp *BrandEntity, result *core.APIResult, err error) + type GetBrandRequest struct + BrandId *int64 + func (o GetBrandRequest) Clone() *GetBrandRequest + func (o GetBrandRequest) MarshalJSON() ([]byte, error) + func (o GetBrandRequest) String() string + type GetByUserRequest struct + Openid *string + OutTradeNo *string + func (o GetByUserRequest) Clone() *GetByUserRequest + func (o GetByUserRequest) MarshalJSON() ([]byte, error) + func (o GetByUserRequest) String() string + type ListByUserRequest struct + BrandId *int64 + Limit *int64 + Offset *int64 + Openid *string + func (o ListByUserRequest) Clone() *ListByUserRequest + func (o ListByUserRequest) MarshalJSON() ([]byte, error) + func (o ListByUserRequest) String() string + type MerchantOrder struct + Mchid *string + OutTradeNo *string + StoreId *string + SubMchid *string + func (o MerchantOrder) Clone() *MerchantOrder + func (o MerchantOrder) MarshalJSON() ([]byte, error) + func (o MerchantOrder) String() string + type OrdersApiService services.Service + func (a *OrdersApiService) GetByUser(ctx context.Context, req GetByUserRequest) (resp *OrdersEntity, result *core.APIResult, err error) + func (a *OrdersApiService) ListByUser(ctx context.Context, req ListByUserRequest) (resp *OrdersListByUserResponse, result *core.APIResult, err error) + type OrdersEntity struct + Amount *Amount + Appid *string + BrandId *int64 + BusinessId *string + BusinessName *string + DeviceId *string + DonateSource *string + InstitutionName *string + MerchantOrder *MerchantOrder + Payer *Payer + SubAppid *string + SuccessTime *string + WelfareTradeId *string + func (o OrdersEntity) Clone() *OrdersEntity + func (o OrdersEntity) MarshalJSON() ([]byte, error) + func (o OrdersEntity) String() string + type OrdersListByUserResponse struct + Count *int64 + Data []OrdersEntity + Limit *int64 + Offset *int64 + TotalCount *int64 + func (o OrdersListByUserResponse) Clone() *OrdersListByUserResponse + func (o OrdersListByUserResponse) MarshalJSON() ([]byte, error) + func (o OrdersListByUserResponse) String() string + type Payer struct + Avatar *string + Nickname *string + Openid *string + SubOpenid *string + func (o Payer) Clone() *Payer + func (o Payer) MarshalJSON() ([]byte, error) + func (o Payer) String() string