Documentation ¶
Index ¶
- type AmmanaService
- func (_m *AmmanaService) GetAuth() (ammana.GenerateAccessTokenResponse, error)
- func (_m *AmmanaService) GetCardDetail(request ammana.GetCardDetailRequest) (ammana.GetCardDetailResponse, error)
- func (_m *AmmanaService) GetOrderURL(request ammana.OrderRequest) (ammana.OrderResponse, error)
- func (_m *AmmanaService) GetPaymentDetail(invoiceCode string) (ammana.GetPaymentDetailResponse, error)
- func (_m *AmmanaService) SetSettleOrder(invoiceCode string) (ammana.SetSettlePaymentResponse, error)
- func (_m *AmmanaService) SetVoidOrder(invoiceCode string) (ammana.SetVoidPaymentResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AmmanaService ¶
AmmanaService is an autogenerated mock type for the AmmanaService type
func (*AmmanaService) GetAuth ¶
func (_m *AmmanaService) GetAuth() (ammana.GenerateAccessTokenResponse, error)
GetAuth provides a mock function with given fields:
func (*AmmanaService) GetCardDetail ¶
func (_m *AmmanaService) GetCardDetail(request ammana.GetCardDetailRequest) (ammana.GetCardDetailResponse, error)
GetCardDetail provides a mock function with given fields: request
func (*AmmanaService) GetOrderURL ¶
func (_m *AmmanaService) GetOrderURL(request ammana.OrderRequest) (ammana.OrderResponse, error)
GetOrderURL provides a mock function with given fields: request
func (*AmmanaService) GetPaymentDetail ¶
func (_m *AmmanaService) GetPaymentDetail(invoiceCode string) (ammana.GetPaymentDetailResponse, error)
GetPaymentDetail provides a mock function with given fields: invoiceCode
func (*AmmanaService) SetSettleOrder ¶
func (_m *AmmanaService) SetSettleOrder(invoiceCode string) (ammana.SetSettlePaymentResponse, error)
SetSettleOrder provides a mock function with given fields: invoiceCode
func (*AmmanaService) SetVoidOrder ¶
func (_m *AmmanaService) SetVoidOrder(invoiceCode string) (ammana.SetVoidPaymentResponse, error)
SetVoidOrder provides a mock function with given fields: invoiceCode
Click to show internal directories.
Click to hide internal directories.