PHP Class Dumplie\CustomerService\Domain\Payment

Afficher le fichier Open project: dumplie/dumplie Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( PaymentId $id, Order $order )
id ( ) : PaymentId
isPaid ( ) : boolean
isRejected ( ) : boolean
pay ( )
reject ( )

Method Details

__construct() public méthode

public __construct ( PaymentId $id, Order $order )
$id PaymentId
$order Order

id() public méthode

public id ( ) : PaymentId
Résultat PaymentId

isPaid() public méthode

public isPaid ( ) : boolean
Résultat boolean

isRejected() public méthode

public isRejected ( ) : boolean
Résultat boolean

pay() public méthode

public pay ( )

reject() public méthode

public reject ( )