meta['last4'] ) ) { return false; } return true; } /** * Returns the last four digits * * @since 2.6.0 * @return string Last 4 digits */ public function get_last4() { return isset( $this->meta['last4'] ) ? $this->meta['last4'] : null; } /** * Set the last four digits * * @since 2.6.0 * @param string $last4 */ public function set_last4( $last4 ) { $this->meta['last4'] = $last4; } }