client

package
v0.1.0-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

* File Created: Sunday, 30th July 2023 12:22:26 pm * Author: Abdul Hamid (abdul.surel@gmail.com) * * Copyright (c) 2023 Author

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Opts           Options
	Order          *order.Client
	Payment        *payment.Client
	Promo          *promo.Client
	Disbursement   *disbursement.Client
	Settlement     *settlement.Client
	Refund         *refund.Client
	EWalletAccount *ewalletaccount.Client
	VA             *virtualaccount.Client
	Invoice        *invoice.Client
}

Client represents return for NewClient.

func NewClient

func NewClient(opts Options) *Client

NewClient represents the creation of new client with options to access all the different resources.

func (*Client) Init

func (c *Client) Init()

type Options

type Options struct {
	ServerKey string
}

Options represents of parameter option for NewClient.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL