From e6fd565f72b3a4259ab3d7a0b14f932ad42b18d1 Mon Sep 17 00:00:00 2001 From: Taqi Aziz Date: Wed, 22 Nov 2023 23:12:40 +0700 Subject: [PATCH] fix typo --- README.md | 4 ++-- iris/client.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 36ffb3d..c23611b 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/iris/client.go b/iris/client.go index ce356de..c3fa98b 100644 --- a/iris/client.go +++ b/iris/client.go @@ -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{} @@ -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{}