You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!is_null($this->container['enabled']) && !in_array($this->container['enabled'], $allowedValues, true)) {
283
+
if ($this->container['type'] === null) {
284
+
$invalidProperties[] = "'type' can't be null";
285
+
}
286
+
$allowedValues = $this->getTypeAllowableValues();
287
+
if (!is_null($this->container['type']) && !in_array($this->container['type'], $allowedValues, true)) {
289
288
$invalidProperties[] = sprintf(
290
-
"invalid value '%s' for 'enabled', must be one of '%s'",
291
-
$this->container['enabled'],
289
+
"invalid value '%s' for 'type', must be one of '%s'",
290
+
$this->container['type'],
292
291
implode("', '", $allowedValues)
293
292
);
294
293
}
@@ -309,59 +308,59 @@ public function valid()
309
308
310
309
311
310
/**
312
-
* Gets addressEditable
311
+
* Gets description
313
312
*
314
-
* @return bool|null
313
+
* @return string|null
315
314
*/
316
-
publicfunctiongetAddressEditable()
315
+
publicfunctiongetDescription()
317
316
{
318
-
return$this->container['addressEditable'];
317
+
return$this->container['description'];
319
318
}
320
319
321
320
/**
322
-
* Sets addressEditable
321
+
* Sets description
323
322
*
324
-
* @param bool|null $addressEditable Indicates whether the shopper is allowed to modify the billing address for the current payment request.
323
+
* @param string|null $description Specifies for which routes the amount in a transfer request must have no non-zero decimal places, so the transfer can only be processed if the amount consists of round numbers.
* @param string|null $enabled Specifies whether the shopper should enter their billing address during checkout. Allowed values: * yes — Perform AVS checks for every card payment. * automatic — Perform AVS checks only when required to optimize the conversion rate. * no — Do not perform AVS checks.
0 commit comments