From fa54d13549002f1f79993244ea79a7136ce017bf Mon Sep 17 00:00:00 2001 From: Silviana Ghita Date: Tue, 17 Oct 2023 16:48:39 +0300 Subject: [PATCH] Added reference field --- mangopay/resources.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mangopay/resources.py b/mangopay/resources.py index b014cc6..c086f87 100644 --- a/mangopay/resources.py +++ b/mangopay/resources.py @@ -799,6 +799,7 @@ class PayPalWebPayIn(PayIn): culture = CharField(api_name='Culture') shipping_preference = CharField(api_name='ShippingPreference', choices=constants.SHIPPING_PREFERENCE_CHOICES, default=None) + reference = CharField(api_name="Reference", required=False) class Meta: verbose_name = 'payin' @@ -1344,6 +1345,7 @@ class PayInRefund(Refund): debited_funds = MoneyField(api_name='DebitedFunds') fees = MoneyField(api_name='Fees') payin = ForeignKeyField(PayIn) + reference = CharField(api_name="Reference", required=False) class Meta: verbose_name = 'refund'