PHP Class Braintree\Test\Transaction

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

Public Methods

Method 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 method

settle a transaction by id in sandbox
public static settle ( $transactionId ) : Transaction
return Transaction

settlementConfirm() public static method

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

settlementDecline() public static method

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

settlementPending() public static method

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