This repository has been archived on 2026-04-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
PayPal-PHP-SDK/lib/PayPal/Api/AgreementDetails.php
japatel 9c0827643b Renaming Namespaces and Organizing Classes
- Updated OpenId classes to be in API namespace
- Updated PP Naming Convention to PayPal Naming Convention
- FormatConverter Class got its own namespace
- Handlers are grouped in Handler namespace
- Samples and Tests Updated Accordingly
2014-12-18 14:16:41 -06:00

410 lines
9.6 KiB
PHP

<?php
namespace PayPal\Api;
use PayPal\Common\PayPalModel;
/**
* Class AgreementDetails
*
* A resource representing the agreement details.
*
* @package PayPal\Api
*
* @property \PayPal\Api\Currency outstanding_balance
* @property string cycles_remaining
* @property string cycles_completed
* @property string next_billing_date
* @property string last_payment_date
* @property \PayPal\Api\Currency last_payment_amount
* @property string final_payment_date
* @property string failed_payment_count
*/
class AgreementDetails extends PayPalModel
{
/**
* The outstanding balance for this agreement.
*
* @param \PayPal\Api\Currency $outstanding_balance
*
* @return $this
*/
public function setOutstandingBalance($outstanding_balance)
{
$this->outstanding_balance = $outstanding_balance;
return $this;
}
/**
* The outstanding balance for this agreement.
*
* @return \PayPal\Api\Currency
*/
public function getOutstandingBalance()
{
return $this->outstanding_balance;
}
/**
* The outstanding balance for this agreement.
*
* @deprecated Instead use setOutstandingBalance
*
* @param \PayPal\Api\Currency $outstanding_balance
* @return $this
*/
public function setOutstanding_balance($outstanding_balance)
{
$this->outstanding_balance = $outstanding_balance;
return $this;
}
/**
* The outstanding balance for this agreement.
* @deprecated Instead use getOutstandingBalance
*
* @return \PayPal\Api\Currency
*/
public function getOutstanding_balance()
{
return $this->outstanding_balance;
}
/**
* Number of cycles remaining for this agreement.
*
* @param string $cycles_remaining
*
* @return $this
*/
public function setCyclesRemaining($cycles_remaining)
{
$this->cycles_remaining = $cycles_remaining;
return $this;
}
/**
* Number of cycles remaining for this agreement.
*
* @return string
*/
public function getCyclesRemaining()
{
return $this->cycles_remaining;
}
/**
* Number of cycles remaining for this agreement.
*
* @deprecated Instead use setCyclesRemaining
*
* @param string $cycles_remaining
* @return $this
*/
public function setCycles_remaining($cycles_remaining)
{
$this->cycles_remaining = $cycles_remaining;
return $this;
}
/**
* Number of cycles remaining for this agreement.
* @deprecated Instead use getCyclesRemaining
*
* @return string
*/
public function getCycles_remaining()
{
return $this->cycles_remaining;
}
/**
* Number of cycles completed for this agreement.
*
* @param string $cycles_completed
*
* @return $this
*/
public function setCyclesCompleted($cycles_completed)
{
$this->cycles_completed = $cycles_completed;
return $this;
}
/**
* Number of cycles completed for this agreement.
*
* @return string
*/
public function getCyclesCompleted()
{
return $this->cycles_completed;
}
/**
* Number of cycles completed for this agreement.
*
* @deprecated Instead use setCyclesCompleted
*
* @param string $cycles_completed
* @return $this
*/
public function setCycles_completed($cycles_completed)
{
$this->cycles_completed = $cycles_completed;
return $this;
}
/**
* Number of cycles completed for this agreement.
* @deprecated Instead use getCyclesCompleted
*
* @return string
*/
public function getCycles_completed()
{
return $this->cycles_completed;
}
/**
* The next billing date for this agreement, represented as 2014-02-19T10:00:00Z format.
*
* @param string $next_billing_date
*
* @return $this
*/
public function setNextBillingDate($next_billing_date)
{
$this->next_billing_date = $next_billing_date;
return $this;
}
/**
* The next billing date for this agreement, represented as 2014-02-19T10:00:00Z format.
*
* @return string
*/
public function getNextBillingDate()
{
return $this->next_billing_date;
}
/**
* The next billing date for this agreement, represented as 2014-02-19T10:00:00Z format.
*
* @deprecated Instead use setNextBillingDate
*
* @param string $next_billing_date
* @return $this
*/
public function setNext_billing_date($next_billing_date)
{
$this->next_billing_date = $next_billing_date;
return $this;
}
/**
* The next billing date for this agreement, represented as 2014-02-19T10:00:00Z format.
* @deprecated Instead use getNextBillingDate
*
* @return string
*/
public function getNext_billing_date()
{
return $this->next_billing_date;
}
/**
* Last payment date for this agreement, represented as 2014-06-09T09:42:31Z format.
*
* @param string $last_payment_date
*
* @return $this
*/
public function setLastPaymentDate($last_payment_date)
{
$this->last_payment_date = $last_payment_date;
return $this;
}
/**
* Last payment date for this agreement, represented as 2014-06-09T09:42:31Z format.
*
* @return string
*/
public function getLastPaymentDate()
{
return $this->last_payment_date;
}
/**
* Last payment date for this agreement, represented as 2014-06-09T09:42:31Z format.
*
* @deprecated Instead use setLastPaymentDate
*
* @param string $last_payment_date
* @return $this
*/
public function setLast_payment_date($last_payment_date)
{
$this->last_payment_date = $last_payment_date;
return $this;
}
/**
* Last payment date for this agreement, represented as 2014-06-09T09:42:31Z format.
* @deprecated Instead use getLastPaymentDate
*
* @return string
*/
public function getLast_payment_date()
{
return $this->last_payment_date;
}
/**
* Last payment amount for this agreement.
*
* @param \PayPal\Api\Currency $last_payment_amount
*
* @return $this
*/
public function setLastPaymentAmount($last_payment_amount)
{
$this->last_payment_amount = $last_payment_amount;
return $this;
}
/**
* Last payment amount for this agreement.
*
* @return \PayPal\Api\Currency
*/
public function getLastPaymentAmount()
{
return $this->last_payment_amount;
}
/**
* Last payment amount for this agreement.
*
* @deprecated Instead use setLastPaymentAmount
*
* @param \PayPal\Api\Currency $last_payment_amount
* @return $this
*/
public function setLast_payment_amount($last_payment_amount)
{
$this->last_payment_amount = $last_payment_amount;
return $this;
}
/**
* Last payment amount for this agreement.
* @deprecated Instead use getLastPaymentAmount
*
* @return \PayPal\Api\Currency
*/
public function getLast_payment_amount()
{
return $this->last_payment_amount;
}
/**
* Last payment date for this agreement, represented as 2015-02-19T10:00:00Z format.
*
* @param string $final_payment_date
*
* @return $this
*/
public function setFinalPaymentDate($final_payment_date)
{
$this->final_payment_date = $final_payment_date;
return $this;
}
/**
* Last payment date for this agreement, represented as 2015-02-19T10:00:00Z format.
*
* @return string
*/
public function getFinalPaymentDate()
{
return $this->final_payment_date;
}
/**
* Last payment date for this agreement, represented as 2015-02-19T10:00:00Z format.
*
* @deprecated Instead use setFinalPaymentDate
*
* @param string $final_payment_date
* @return $this
*/
public function setFinal_payment_date($final_payment_date)
{
$this->final_payment_date = $final_payment_date;
return $this;
}
/**
* Last payment date for this agreement, represented as 2015-02-19T10:00:00Z format.
* @deprecated Instead use getFinalPaymentDate
*
* @return string
*/
public function getFinal_payment_date()
{
return $this->final_payment_date;
}
/**
* Total number of failed payments for this agreement.
*
* @param string $failed_payment_count
*
* @return $this
*/
public function setFailedPaymentCount($failed_payment_count)
{
$this->failed_payment_count = $failed_payment_count;
return $this;
}
/**
* Total number of failed payments for this agreement.
*
* @return string
*/
public function getFailedPaymentCount()
{
return $this->failed_payment_count;
}
/**
* Total number of failed payments for this agreement.
*
* @deprecated Instead use setFailedPaymentCount
*
* @param string $failed_payment_count
* @return $this
*/
public function setFailed_payment_count($failed_payment_count)
{
$this->failed_payment_count = $failed_payment_count;
return $this;
}
/**
* Total number of failed payments for this agreement.
* @deprecated Instead use getFailedPaymentCount
*
* @return string
*/
public function getFailed_payment_count()
{
return $this->failed_payment_count;
}
}