getPaymentMethodCode() === ConfigProvider::CODE; } /** * @return string * @since 100.1.0 */ public function getNumberLast4Digits() { return $this->getTokenDetails()['maskedCC']; } /** * @return string * @since 100.1.0 */ public function getExpDate() { return $this->getTokenDetails()['expirationDate']; } /** * @return string * @since 100.1.0 */ public function getIconUrl() { return $this->getIconForType($this->getTokenDetails()['type'])['url']; } /** * @return int * @since 100.1.0 */ public function getIconHeight() { return $this->getIconForType($this->getTokenDetails()['type'])['height']; } /** * @return int * @since 100.1.0 */ public function getIconWidth() { return $this->getIconForType($this->getTokenDetails()['type'])['width']; } }