proto.gradido.CrossGroupTransfer */ class CrossGroupTransfer extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .proto.gradido.TransferAmount sender = 1; */ private $sender = null; /** * Generated from protobuf field bytes receiver = 2; */ private $receiver = ''; /** * Generated from protobuf field string other_group = 3; */ private $other_group = ''; /** * this matches related OutboundTransfer.paired_transaction_id * * Generated from protobuf field .proto.gradido.Timestamp paired_transaction_id = 4; */ private $paired_transaction_id = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Proto\Gradido\TransferAmount $sender * @type string $receiver * @type string $other_group * @type \Proto\Gradido\Timestamp $paired_transaction_id * this matches related OutboundTransfer.paired_transaction_id * } */ public function __construct($data = NULL) { \GPBMetadata\Gradido\GradidoTransfer::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .proto.gradido.TransferAmount sender = 1; * @return \Proto\Gradido\TransferAmount */ public function getSender() { return $this->sender; } /** * Generated from protobuf field .proto.gradido.TransferAmount sender = 1; * @param \Proto\Gradido\TransferAmount $var * @return $this */ public function setSender($var) { GPBUtil::checkMessage($var, \Proto\Gradido\TransferAmount::class); $this->sender = $var; return $this; } /** * Generated from protobuf field bytes receiver = 2; * @return string */ public function getReceiver() { return $this->receiver; } /** * Generated from protobuf field bytes receiver = 2; * @param string $var * @return $this */ public function setReceiver($var) { GPBUtil::checkString($var, False); $this->receiver = $var; return $this; } /** * Generated from protobuf field string other_group = 3; * @return string */ public function getOtherGroup() { return $this->other_group; } /** * Generated from protobuf field string other_group = 3; * @param string $var * @return $this */ public function setOtherGroup($var) { GPBUtil::checkString($var, True); $this->other_group = $var; return $this; } /** * this matches related OutboundTransfer.paired_transaction_id * * Generated from protobuf field .proto.gradido.Timestamp paired_transaction_id = 4; * @return \Proto\Gradido\Timestamp */ public function getPairedTransactionId() { return $this->paired_transaction_id; } /** * this matches related OutboundTransfer.paired_transaction_id * * Generated from protobuf field .proto.gradido.Timestamp paired_transaction_id = 4; * @param \Proto\Gradido\Timestamp $var * @return $this */ public function setPairedTransactionId($var) { GPBUtil::checkMessage($var, \Proto\Gradido\Timestamp::class); $this->paired_transaction_id = $var; return $this; } }