Skip to content

Commit

Permalink
Added reference field
Browse files Browse the repository at this point in the history
  • Loading branch information
Silviana Ghita committed Oct 17, 2023
1 parent 20067ca commit fa54d13
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mangopay/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit fa54d13

Please sign in to comment.