I'd change this myself, but I have no permissions in the repo and I don't really want to create a fork for this.
You can add the funcion after GetStatus() method:
public function IsRefunded() {
return $this->GetStatus() == self::StatusRefunded;
}
That would be easier than going GetStatus and checking the variable.
I'd change this myself, but I have no permissions in the repo and I don't really want to create a fork for this.
Example link is broken. I can't find that email notifier anymore.
The demo page fails in the invoice verifier in line L270.
Method IsRefunded() is not available under class InvoiceInfo L679
You can add the funcion after GetStatus() method:
public function IsRefunded() {
return $this->GetStatus() == self::StatusRefunded;
}
That would be easier than going GetStatus and checking the variable.