Name | Getter | Setter | Type | Description | Notes |
---|---|---|---|---|---|
payment_id | getPaymentId() | setPaymentId($value) | string | The ID of the payment to refund. If you're creating a PARTIAL refund for a split tender payment, instead provide the id of the particular tender you want to refund. See Split Tender Payments for details. | |
type | getType() | setType($value) | string | TThe type of refund (FULL or PARTIAL). | |
reason | getReason() | setReason($value) | string | The reason for the refund. | |
refunded_money | getRefundedMoney() | setRefundedMoney($value) | \SquareConnect\Model\V1Money | The amount of money to refund. Required only for PARTIAL refunds. | [optional] |
request_idempotence_key | getRequestIdempotenceKey() | setRequestIdempotenceKey($value) | string | An optional key to ensure idempotence if you issue the same PARTIAL refund request more than once. | [optional] |
Note: All properties are protected and only accessed via getters and setters.