id = $id; return $this; } /** * Identifier of the terms. 128 characters max. * * @return string */ public function getId() { return $this->id; } /** * Term type. Allowed values: `MONTHLY`, `WEEKLY`, `YEARLY`. * * @param string $type * * @return $this */ public function setType($type) { $this->type = $type; return $this; } /** * Term type. Allowed values: `MONTHLY`, `WEEKLY`, `YEARLY`. * * @return string */ public function getType() { return $this->type; } /** * Max Amount associated with this term. * * @param \PayPal\Api\Currency $max_billing_amount * * @return $this */ public function setMaxBillingAmount($max_billing_amount) { $this->max_billing_amount = $max_billing_amount; return $this; } /** * Max Amount associated with this term. * * @return \PayPal\Api\Currency */ public function getMaxBillingAmount() { return $this->max_billing_amount; } /** * Max Amount associated with this term. * * @deprecated Instead use setMaxBillingAmount * * @param \PayPal\Api\Currency $max_billing_amount * @return $this */ public function setMax_billing_amount($max_billing_amount) { $this->max_billing_amount = $max_billing_amount; return $this; } /** * Max Amount associated with this term. * @deprecated Instead use getMaxBillingAmount * * @return \PayPal\Api\Currency */ public function getMax_billing_amount() { return $this->max_billing_amount; } /** * How many times money can be pulled during this term. * * @param string $occurrences * * @return $this */ public function setOccurrences($occurrences) { $this->occurrences = $occurrences; return $this; } /** * How many times money can be pulled during this term. * * @return string */ public function getOccurrences() { return $this->occurrences; } /** * Amount_range associated with this term. * * @param \PayPal\Api\Currency $amount_range * * @return $this */ public function setAmountRange($amount_range) { $this->amount_range = $amount_range; return $this; } /** * Amount_range associated with this term. * * @return \PayPal\Api\Currency */ public function getAmountRange() { return $this->amount_range; } /** * Amount_range associated with this term. * * @deprecated Instead use setAmountRange * * @param \PayPal\Api\Currency $amount_range * @return $this */ public function setAmount_range($amount_range) { $this->amount_range = $amount_range; return $this; } /** * Amount_range associated with this term. * @deprecated Instead use getAmountRange * * @return \PayPal\Api\Currency */ public function getAmount_range() { return $this->amount_range; } /** * Buyer's ability to edit the amount in this term. * * @param string $buyer_editable * * @return $this */ public function setBuyerEditable($buyer_editable) { $this->buyer_editable = $buyer_editable; return $this; } /** * Buyer's ability to edit the amount in this term. * * @return string */ public function getBuyerEditable() { return $this->buyer_editable; } /** * Buyer's ability to edit the amount in this term. * * @deprecated Instead use setBuyerEditable * * @param string $buyer_editable * @return $this */ public function setBuyer_editable($buyer_editable) { $this->buyer_editable = $buyer_editable; return $this; } /** * Buyer's ability to edit the amount in this term. * @deprecated Instead use getBuyerEditable * * @return string */ public function getBuyer_editable() { return $this->buyer_editable; } }