/**
  * @param TpDataApiPayment[] $payments
  */
 public function setPayments(array $payments = array())
 {
     $this->payments = TpValueFormatter::formatList('TpDataApiPayment', $payments);
 }
 /**
  * @param TpDataApiMerchantAccountMethod[] $methods
  */
 public function setMethods(array $methods = array())
 {
     $this->methods = TpValueFormatter::formatList('TpDataApiMerchantAccountMethod', $methods);
 }
 /**
  * @param int[]|null $method
  */
 public function setMethod(array $method = array())
 {
     $this->method = TpValueFormatter::formatList('int', $method);
 }