PHP Class Braintree\Test\Transaction

The constants in this class can be used to create transactions with the desired status in the sandbox environment.
Afficher le fichier Open project: braintree/braintree_php Class Usage Examples

Méthodes publiques

Méthode Description
settle ( $transactionId ) : Transaction settle a transaction by id in sandbox
settlementConfirm ( $transactionId ) : Transaction settlement confirm a transaction by id in sandbox
settlementDecline ( $transactionId ) : Transaction settlement decline a transaction by id in sandbox
settlementPending ( $transactionId ) : Transaction settlement pending a transaction by id in sandbox

Method Details

settle() public static méthode

settle a transaction by id in sandbox
public static settle ( $transactionId ) : Transaction
Résultat Transaction

settlementConfirm() public static méthode

settlement confirm a transaction by id in sandbox
public static settlementConfirm ( $transactionId ) : Transaction
Résultat Transaction

settlementDecline() public static méthode

settlement decline a transaction by id in sandbox
public static settlementDecline ( $transactionId ) : Transaction
Résultat Transaction

settlementPending() public static méthode

settlement pending a transaction by id in sandbox
public static settlementPending ( $transactionId ) : Transaction
Résultat Transaction