setPayments() публичный Метод

A list of Payment resources
public setPayments ( Payment[] $payments )
$payments Payment[]
Пример #1
0
 public static function createPaymentHistory()
 {
     $history = new PaymentHistory();
     $history->setCount(self::$count);
     $history->setNext_id(self::$nextId);
     $history->setPayments(array(PaymentTest::createPayment()));
     return $history;
 }