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/RelatedResources.php
Ganesh Hegde 11f91adee4 updated stubs
2013-05-27 11:53:45 +05:30

71 lines
1.2 KiB
PHP

<?php
namespace PayPal\Api;
class RelatedResources extends \PPModel {
/**
* A sale transaction
* @param PayPal\Api\Sale $sale
*/
public function setSale($sale) {
$this->sale = $sale;
}
/**
* A sale transaction
* @return PayPal\Api\Sale
*/
public function getSale() {
return $this->sale;
}
/**
* An authorization transaction
* @param PayPal\Api\Authorization $authorization
*/
public function setAuthorization($authorization) {
$this->authorization = $authorization;
}
/**
* An authorization transaction
* @return PayPal\Api\Authorization
*/
public function getAuthorization() {
return $this->authorization;
}
/**
* A capture transaction
* @param PayPal\Api\Capture $capture
*/
public function setCapture($capture) {
$this->capture = $capture;
}
/**
* A capture transaction
* @return PayPal\Api\Capture
*/
public function getCapture() {
return $this->capture;
}
/**
* A refund transaction
* @param PayPal\Api\Refund $refund
*/
public function setRefund($refund) {
$this->refund = $refund;
}
/**
* A refund transaction
* @return PayPal\Api\Refund
*/
public function getRefund() {
return $this->refund;
}
}