PayPal\Api\CreditCardToken::getExpireMonth PHP Method

getExpireMonth() public method

Expiration month with no leading zero. Acceptable values are 1 through 12.
public getExpireMonth ( ) : integer
return integer
    public function getExpireMonth()
    {
        return $this->expire_month;
    }

Usage Example

 /**
  * @depends testSerializationDeserialization
  * @param CreditCardToken $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getCreditCardId(), "TestSample");
     $this->assertEquals($obj->getPayerId(), "TestSample");
     $this->assertEquals($obj->getLast4(), "TestSample");
     $this->assertEquals($obj->getType(), "TestSample");
     $this->assertEquals($obj->getExpireMonth(), 123);
     $this->assertEquals($obj->getExpireYear(), 123);
 }