id = $param; return $this; } /** * Get the transaction ID. * * @return mixed the transaction ID */ public function getId() { return $this->id; } /** * Set the transaction status. * * @param string $param the transaction status * * @return $this the current object, for method chaining */ public function setStatus($param) { $this->status = $param; return $this; } /** * Get the transaction status. * * @return string the transaction status */ public function getStatus(): string { return $this->status; } /** * Set the transaction type. * * @param string $param the transaction type * * @return $this the current object, for method chaining */ public function setType($param) { $this->type = $param; return $this; } /** * Get the transaction type. * * @return string the transaction type */ public function getType(): string { return $this->type; } /** * Set the transaction currency. * * @param string $param the transaction currency * * @return $this the current object, for method chaining */ public function setCurrency($param) { $this->currency = $param; return $this; } /** * Get the transaction currency. * * @return string the transaction currency */ public function getCurrency() { return $this->currency; } /** * Set the transaction amount. * * @param float $param the transaction amount * * @return $this the current object, for method chaining */ public function setAmount($param) { $this->amount = $param; return $this; } /** * Get the transaction amount. * * @return float the transaction amount */ public function getAmount() { return $this->amount; } /** * Set the ID of the subscription associated with the transaction. * * @param string $param the subscription ID * * @return $this the current object, for method chaining */ public function setSubscriptionId($param) { $this->subscription_id = $param; return $this; } /** * Get the ID of the subscription associated with the transaction. * * @return string the subscription ID */ public function getSubscriptionId() { return $this->subscription_id; } }