Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 623 Bytes

AmountType.md

File metadata and controls

27 lines (17 loc) · 623 Bytes

Simpay\Model\Response\AmountType

The Simpay\Model\Response\AmountType class represents an object that contains a string value.

Properties

Name Type Description
$value string The string value

Methods

__construct

public function __construct(string $value)

This method is the constructor of the Simpay\Model\Response\AmountType class. It takes in one parameter: $value, which is a string. It sets the property $value to the parameter value.

Example

$amountType = new AmountType('fixed');

echo $amountType->value; // fixed