-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #342 from Mangopay/feature/add-payout-payment-ref
Adds PaymentRef to PayOut object for refunding bank wire pay-in
- Loading branch information
Showing
4 changed files
with
47 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
src/main/java/com/mangopay/entities/subentities/PayOutPaymentRef.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package com.mangopay.entities.subentities; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
|
||
public class PayOutPaymentRef { | ||
|
||
// Only valid PaymentRef reasonType is PAYIN_REFUND | ||
@SerializedName("ReasonType") | ||
private String reasonType; | ||
|
||
@SerializedName("ReferenceId") | ||
private String referenceId; | ||
|
||
public String getReasonType() { | ||
return reasonType; | ||
} | ||
|
||
public void setReasonType(String reasonType) { | ||
this.reasonType = reasonType; | ||
} | ||
|
||
public String getReferenceId() { | ||
return referenceId; | ||
} | ||
|
||
public void setReferenceId(String referenceId) { | ||
this.referenceId = referenceId; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#Mon Aug 26 15:10:34 EEST 2024 | ||
#Wed Dec 11 22:22:55 EET 2024 | ||
version=2.38.2 |