From 0f2ea1334edca297a78bb94cc8cb278f671edb78 Mon Sep 17 00:00:00 2001 From: Damian Karzon Date: Thu, 7 Dec 2023 10:41:08 +1000 Subject: [PATCH] Added the ApplicationFee property to PaymentSaveOptions --- src/Pinch.SDK/Payments/PaymentSaveOptions.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/Pinch.SDK/Payments/PaymentSaveOptions.cs b/src/Pinch.SDK/Payments/PaymentSaveOptions.cs index ad969e3..f2a16d8 100644 --- a/src/Pinch.SDK/Payments/PaymentSaveOptions.cs +++ b/src/Pinch.SDK/Payments/PaymentSaveOptions.cs @@ -9,26 +9,37 @@ public class PaymentSaveOptions /// Payment ID. Leave blank to create a new Payment. /// public string Id { get; set; } + /// /// The Payer ID of the Payer to debit. /// public string PayerId { get; set; } + /// /// The payment amount in cents. eg. $10.00 = 1000 /// public int Amount { get; set; } + /// /// The date to take the payment. If submitted outside of banking hours on the scheduled date, the payment will be taken the next business day. /// public DateTime TransactionDate { get; set; } + /// /// A description of the payment. This may be shown to the Payer to understand the payment. /// public string Description { get; set; } + /// /// Optional. The ID of the payment Source you want to use. If omitted, the first valid source will be used. /// public string SourceId { get; set; } + + /// + /// Optional. The application fee amount in cents. This fee is added to the transaction fee and settled to the Primary Merchant. + /// + public int? ApplicationFee { get; set; } + /// /// A list of source types to surcharge (Pass on the fees to the customer). eg. ['bank-account', 'credit-card'] ///