You are here

public function Mollie_API_Object_Method::getMaximumAmount in Commerce Mollie 7

Return value

float|null

File

Mollie/API/Object/Method.php, line 83

Class

Mollie_API_Object_Method
Copyright (c) 2013, Mollie B.V. All rights reserved.

Code

public function getMaximumAmount() {
  if (empty($this->amount)) {
    return NULL;
  }
  return (double) $this->amount->maximum;
}