ok

Mini Shell

Direktori : /home2/selectio/www/limpiar.in.net/vendor/iyzico/iyzipay-php/src/Iyzipay/Model/
Upload File :
Current File : //home2/selectio/www/limpiar.in.net/vendor/iyzico/iyzipay-php/src/Iyzipay/Model/CardInformation.php

<?php

namespace Iyzipay\Model;

use Iyzipay\BaseModel;
use Iyzipay\JsonBuilder;
use Iyzipay\RequestStringBuilder;

class CardInformation extends BaseModel
{
    private $cardAlias;
    private $cardNumber;
    private $expireYear;
    private $expireMonth;
    private $cardHolderName;

    public function getCardAlias()
    {
        return $this->cardAlias;
    }

    public function setCardAlias($cardAlias)
    {
        $this->cardAlias = $cardAlias;
    }

    public function getCardNumber()
    {
        return $this->cardNumber;
    }

    public function setCardNumber($cardNumber)
    {
        $this->cardNumber = $cardNumber;
    }

    public function getExpireYear()
    {
        return $this->expireYear;
    }

    public function setExpireYear($expireYear)
    {
        $this->expireYear = $expireYear;
    }

    public function getExpireMonth()
    {
        return $this->expireMonth;
    }

    public function setExpireMonth($expireMonth)
    {
        $this->expireMonth = $expireMonth;
    }

    public function getCardHolderName()
    {
        return $this->cardHolderName;
    }

    public function setCardHolderName($cardHolderName)
    {
        $this->cardHolderName = $cardHolderName;
    }

    public function getJsonObject()
    {
        return JsonBuilder::create()
            ->add("cardAlias", $this->getCardAlias())
            ->add("cardNumber", $this->getCardNumber())
            ->add("expireYear", $this->getExpireYear())
            ->add("expireMonth", $this->getExpireMonth())
            ->add("cardHolderName", $this->getCardHolderName())
            ->getObject();
    }

    public function toPKIRequestString()
    {
        return RequestStringBuilder::create()
            ->append("cardAlias", $this->getCardAlias())
            ->append("cardNumber", $this->getCardNumber())
            ->append("expireYear", $this->getExpireYear())
            ->append("expireMonth", $this->getExpireMonth())
            ->append("cardHolderName", $this->getCardHolderName())
            ->getRequestString();
    }
}

Zerion Mini Shell 1.0