amount = $amount; $this->currencyCode = $currencyCode; $this->userId = $userId; $this->assocId = $assocId; } /** * Get the row id of the payment. * @return int */ function getId() { return $this->paymentId; } /** * Set the id of payment * @param $paymentId int * @return int new payment id */ function setId($paymentId) { return $this->paymentId = $paymentId; } /** * Set the payment amount * @param $amount numeric * @return numeric new amount */ function setAmount($amount) { return $this->amount = $amount; } /** * Get the payment amount * @return numeric */ function getAmount() { return $this->amount; } /** * Set the currency code for the transaction (ISO 4217) * @param $currencyCode string * @return string new currency code */ function setCurrencyCode($currencyCode) { return $this->currencyCode = $currencyCode; } /** * Get the currency code for the transaction (ISO 4217) * @return string */ function getCurrencyCode() { return $this->currencyCode; } /** * Get the context ID for the payment. * @return int */ function getContextId() { return $this->contextId; } /** * Set the context ID for the payment. * @param $contextId int */ function setContextId($contextId) { $this->contextId = $contextId; } /** * Set the type for this payment (PAYMENT_TYPE_...) * @param $type int PAYMENT_TYPE_... * @return int New payment type */ function setType($type) { return $this->type = $type; } /** * Get the type of this payment (PAYMENT_TYPE_...) * @return int PAYMENT_TYPE_... */ function getType() { return $this->type; } /** * Set the user ID of the customer. * @param $userId int * @return int New user ID */ function setUserId($userId) { return $this->userId = $userId; } /** * Get the user ID of the customer. * @return int */ function getUserId() { return $this->userId; } /** * Set the association ID for the payment. * @param $assocId int * @return int New association ID */ function setAssocId($assocId) { return $this->assocId = $assocId; } /** * Get the association ID for the payment. * @return int */ function getAssocId() { return $this->assocId; } } ?>