ok

Mini Shell

Direktori : /home2/selectio/www/myclassicfit.com/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/
Upload File :
Current File : /home2/selectio/www/myclassicfit.com/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/BankToken.php

<?php

namespace PayPal\Api;

use PayPal\Common\PayPalModel;

/**
 * Class BankToken
 *
 * A resource representing a bank that can be used to fund a payment.
 *
 * @package PayPal\Api
 *
 * @property string bank_id
 * @property string external_customer_id
 * @property string mandate_reference_number
 */
class BankToken extends PayPalModel
{
    /**
     * ID of a previously saved Bank resource using /vault/bank API.
     *
     * @param string $bank_id
     * 
     * @return $this
     */
    public function setBankId($bank_id)
    {
        $this->bank_id = $bank_id;
        return $this;
    }

    /**
     * ID of a previously saved Bank resource using /vault/bank API.
     *
     * @return string
     */
    public function getBankId()
    {
        return $this->bank_id;
    }

    /**
     * The unique identifier of the payer used when saving this bank using /vault/bank API.
     *
     * @param string $external_customer_id
     * 
     * @return $this
     */
    public function setExternalCustomerId($external_customer_id)
    {
        $this->external_customer_id = $external_customer_id;
        return $this;
    }

    /**
     * The unique identifier of the payer used when saving this bank using /vault/bank API.
     *
     * @return string
     */
    public function getExternalCustomerId()
    {
        return $this->external_customer_id;
    }

    /**
     * Identifier of the direct debit mandate to validate. Currently supported only for EU bank accounts(SEPA).
     *
     * @param string $mandate_reference_number
     * 
     * @return $this
     */
    public function setMandateReferenceNumber($mandate_reference_number)
    {
        $this->mandate_reference_number = $mandate_reference_number;
        return $this;
    }

    /**
     * Identifier of the direct debit mandate to validate. Currently supported only for EU bank accounts(SEPA).
     *
     * @return string
     */
    public function getMandateReferenceNumber()
    {
        return $this->mandate_reference_number;
    }

}

Zerion Mini Shell 1.0