V1Refund

March 13, 2019 ยท View on GitHub

Description

V1Refund

Properties

NameGetterSetterTypeDescriptionNotes
typegetType()setType($value)stringThe type of refund See V1RefundType for possible values[optional]
reasongetReason()setReason($value)stringThe merchant-specified reason for the refund.[optional]
refunded_moneygetRefundedMoney()setRefundedMoney($value)\SquareConnect\Model\V1MoneyThe amount of money refunded. This amount is always negative.[optional]
refunded_processing_fee_moneygetRefundedProcessingFeeMoney()setRefundedProcessingFeeMoney($value)\SquareConnect\Model\V1MoneyThe amount of processing fee money refunded. This amount is always positive.[optional]
refunded_tax_moneygetRefundedTaxMoney()setRefundedTaxMoney($value)\SquareConnect\Model\V1MoneyThe total amount of tax money refunded. This amount is always negative.[optional]
refunded_additive_tax_moneygetRefundedAdditiveTaxMoney()setRefundedAdditiveTaxMoney($value)\SquareConnect\Model\V1MoneyThe amount of additive tax money refunded. This amount is always negative.[optional]
refunded_additive_taxgetRefundedAdditiveTax()setRefundedAdditiveTax($value)\SquareConnect\Model\V1PaymentTax[]All of the additive taxes associated with the refund.[optional]
refunded_inclusive_tax_moneygetRefundedInclusiveTaxMoney()setRefundedInclusiveTaxMoney($value)\SquareConnect\Model\V1MoneyThe amount of inclusive tax money refunded. This amount is always negative.[optional]
refunded_inclusive_taxgetRefundedInclusiveTax()setRefundedInclusiveTax($value)\SquareConnect\Model\V1PaymentTax[]All of the inclusive taxes associated with the refund.[optional]
refunded_tip_moneygetRefundedTipMoney()setRefundedTipMoney($value)\SquareConnect\Model\V1MoneyThe amount of tip money refunded. This amount is always negative.[optional]
refunded_discount_moneygetRefundedDiscountMoney()setRefundedDiscountMoney($value)\SquareConnect\Model\V1MoneyThe amount of discount money refunded. This amount is always positive.[optional]
refunded_surcharge_moneygetRefundedSurchargeMoney()setRefundedSurchargeMoney($value)\SquareConnect\Model\V1MoneyThe amount of surcharge money refunded. This amount is always negative.[optional]
refunded_surchargesgetRefundedSurcharges()setRefundedSurcharges($value)\SquareConnect\Model\V1PaymentSurcharge[]A list of all surcharges associated with the refund.[optional]
created_atgetCreatedAt()setCreatedAt($value)stringThe time when the merchant initiated the refund for Square to process, in ISO 8601 format.[optional]
processed_atgetProcessedAt()setProcessedAt($value)stringThe time when Square processed the refund on behalf of the merchant, in ISO 8601 format.[optional]
payment_idgetPaymentId()setPaymentId($value)stringA Square-issued ID associated with the refund. For single-tender refunds, payment_id is the ID of the original payment ID. For split-tender refunds, payment_id is the ID of the original tender. For exchange-based refunds (is_exchange == true), payment_id is the ID of the original payment ID even if the payment includes other tenders.[optional]
merchant_idgetMerchantId()setMerchantId($value)string[optional]
is_exchangegetIsExchange()setIsExchange($value)boolIndicates whether or not the refund is associated with an exchange. If is_exchange is true, the refund reflects the value of goods returned in the exchange not the total money refunded.[optional]

Note: All properties are protected and only accessed via getters and setters.

[Back to Model list] [Back to API list] [Back to README]