SilverStripe\Omnipay\Model\Payment::getMaxCaptureAmount
Calculate the max amount that can be captured for this payment.
If the Status of the payment isn't 'Authorized', this will return 0
Signature
public function getMaxCaptureAmount()
Returns
- int|string
- the max amount that can be captured for this payment.