Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IClient ¶
type IClient interface { GetConfig() IConfiguration PrepareRequest( ctx context.Context, path string, method string, postBody interface{}, headerParams map[string]string, queryParams url.Values, formParams url.Values, formFiles []FormFile) (localVarRequest *http.Request, err error) CallAPI(request *http.Request) (*http.Response, error) Decode(v interface{}, b []byte, contentType string) (err error) }
type IConfiguration ¶
type XenditSdkError ¶
type XenditSdkError struct {
// contains filtered or unexported fields
}
func NewXenditSdkError ¶
func NewXenditSdkError(response *[]byte, paramStatus string, paramStatusText string) *XenditSdkError
func (XenditSdkError) Error ¶
func (e XenditSdkError) Error() string
func (XenditSdkError) ErrorCode ¶
func (e XenditSdkError) ErrorCode() string
func (XenditSdkError) FullError ¶
func (e XenditSdkError) FullError() map[string]interface{}
func (XenditSdkError) RawResponse ¶
func (e XenditSdkError) RawResponse() map[string]interface{}
func (XenditSdkError) Status ¶
func (e XenditSdkError) Status() string
Click to show internal directories.
Click to hide internal directories.