You are here

public static function Braintree_TestHelper::settle in Commerce Braintree 7

3 calls to Braintree_TestHelper::settle()
Braintree_SettlementBatchSummaryTest::testGenerate_canBeGroupedByACustomField in braintree_php/tests/integration/SettlementBatchSummaryTest.php
Braintree_SettlementBatchSummaryTest::testGenerate_returnsTransactionsSettledOnAGivenDay in braintree_php/tests/integration/SettlementBatchSummaryTest.php
Braintree_TransactionTest::createTransactionToRefund in braintree_php/tests/integration/TransactionTest.php

File

braintree_php/tests/TestHelper.php, line 103

Class

Braintree_TestHelper

Code

public static function settle($transactionId) {
  Braintree_Http::put('/transactions/' . $transactionId . '/settle');
}