Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure you want to rename?
SAFE MODE
/
application
/
vendor
/
braintree
/
braintree_php
/
lib
/
Braintree
:
SettlementBatchSummary.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Braintree; /** * @property-read array $records */ class SettlementBatchSummary extends Base { /** * * @param array $attributes * @return SettlementBatchSummary */ public static function factory($attributes) { $instance = new self(); $instance->_initialize($attributes); return $instance; } /** * @ignore * @param array $attributes */ protected function _initialize($attributes) { $this->_attributes = $attributes; } public function records() { return $this->_attributes['records']; } /** * static method redirecting to gateway * * @param string $settlement_date Date YYYY-MM-DD * @param string $groupByCustomField * @return Result\Successful|Result\Error */ public static function generate($settlement_date, $groupByCustomField = NULL) { return Configuration::gateway()->settlementBatchSummary()->generate($settlement_date, $groupByCustomField); } }