Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typo #33

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -371,10 +371,10 @@ func (c Client) GetBeneficiaries() ([]Beneficiaries, *midtrans.Error)
// CreatePayout : This method for Creator to create a payout. It can be used for single payout and also multiple payouts.
func (c Client) CreatePayout(req CreatePayoutReq) (*CreatePayoutResponse, *midtrans.Error)

// ApprovePayout : this method for Apporver to approve multiple payout request.
// ApprovePayout : this method for Approver to approve multiple payout request.
func (c Client) ApprovePayout(req ApprovePayoutReq) (*ApprovePayoutResponse, *midtrans.Error)

// RejectPayout : This method for Apporver to reject multiple payout request.
// RejectPayout : This method for Approver to reject multiple payout request.
func (c Client) RejectPayout(req RejectPayoutReq) (*RejectPayoutResponse, *midtrans.Error)

// GetPayoutDetails : Get details of a single payout.
Expand Down
4 changes: 2 additions & 2 deletions iris/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func (c Client) CreatePayout(req CreatePayoutReq) (*CreatePayoutResponse, *midtr
return resp, nil
}

// ApprovePayout : this method for Apporver to approve multiple payout request.
// ApprovePayout : this method for Approver to approve multiple payout request.
// https://iris-docs.midtrans.com/#approve-payouts
func (c Client) ApprovePayout(req ApprovePayoutReq) (*ApprovePayoutResponse, *midtrans.Error) {
resp := &ApprovePayoutResponse{}
Expand All @@ -126,7 +126,7 @@ func (c Client) ApprovePayout(req ApprovePayoutReq) (*ApprovePayoutResponse, *mi
return resp, nil
}

// RejectPayout : This method for Apporver to reject multiple payout request.
// RejectPayout : This method for Approver to reject multiple payout request.
// https://iris-docs.midtrans.com/#reject-payouts
func (c Client) RejectPayout(req RejectPayoutReq) (*RejectPayoutResponse, *midtrans.Error) {
resp := &RejectPayoutResponse{}
Expand Down