src/Resource/Refund.php
public function bankAccountPartial($amount, $type, $bankNumber, $agencyNumber, $agencyCheckNumber, $accountNumber, $accountCheckNumber, Customer $holder)
    {
        $data = $this->bankAccountDataCustomer($type, $bankNumber, $agencyNumber, $agencyCheckNumber, $accountNumber, $accountCheckNumber, $holder);
        $data->amount = $amount;

        return $this->execute($data);
    }
public function bankAccountPartial($amount, $type, $bankNumber, $agencyNumber, $agencyCheckNumber, $accountNumber, $accountCheckNumber, Customer $holder)
    {
        $data = $this->bankAccountDataCustomer($type, $bankNumber, $agencyNumber, $agencyCheckNumber, $accountNumber, $accountCheckNumber, $holder);
        $data->amount = $amount;

        return $this->execute($data);
    }
public function bankAccountPartial ( $ amount , $ type , $ bankNumber , $ agencyNumber , $ agencyCheckNumber , $ accountNumber , $ accountCheckNumber , Customer $ holder ) { $ data = $ this -> bankAccountDataCustomer ( $ type , $ bankNumber , $ agencyNumber , $ agencyCheckNumber , $ accountNumber , $ accountCheckNumber , $ holder ) ; $ data -> amount = $ amount ; return $ this -> execute ( $ data ) ; }
Making a partial refund in the bank account.

@param string                  $type               Kind of bank account. possible values: CHECKING, SAVING.
@param string                  $bankNumber         Bank number. possible values: 001, 237, 341, 041.
@param int                     $agencyNumber       Branch number.
@param int                     $agencyCheckNumber  Checksum of the agency.
@param int                     $accountNumber      Account number.
@param int                     $accountCheckNumber Digit account checker.
@param \Moip\Resource\Customer $holder

@return Refund
Making a partial refund in the bank account .