-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MPSDK-1411] Implements Bancontact PayIn method
- Loading branch information
1 parent
482fad3
commit 52a1cd1
Showing
6 changed files
with
125 additions
and
1 deletion.
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
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
54 changes: 54 additions & 0 deletions
54
src/main/java/com/mangopay/entities/subentities/PayInPaymentDetailsBancontact.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,54 @@ | ||
package com.mangopay.entities.subentities; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import com.mangopay.core.Dto; | ||
import com.mangopay.core.interfaces.PayInPaymentDetails; | ||
|
||
/** | ||
* Class representing the BANCONTACT type for mean of payment in PayIn entity. | ||
*/ | ||
public class PayInPaymentDetailsBancontact extends Dto implements PayInPaymentDetails { | ||
|
||
/** | ||
* The URL where you should redirect your client in a mobile app experience | ||
*/ | ||
@SerializedName("DeepLinkURL") | ||
private String deepLinkUrl; | ||
|
||
/** | ||
* An optional value to be specified on the user's bank statement | ||
* It can be up to 10 char alphanumeric and space. | ||
*/ | ||
@SerializedName("StatementDescriptor") | ||
private String statementDescriptor; | ||
|
||
/** | ||
* Whether the Bancontact pay-ins are being made to be re-used in a recurring payment flow | ||
*/ | ||
@SerializedName("Recurring") | ||
private Boolean recurring; | ||
|
||
public String getDeepLinkUrl() { | ||
return deepLinkUrl; | ||
} | ||
|
||
public void setDeepLinkUrl(String deepLinkUrl) { | ||
this.deepLinkUrl = deepLinkUrl; | ||
} | ||
|
||
public String getStatementDescriptor() { | ||
return statementDescriptor; | ||
} | ||
|
||
public void setStatementDescriptor(String statementDescriptor) { | ||
this.statementDescriptor = statementDescriptor; | ||
} | ||
|
||
public Boolean getRecurring() { | ||
return recurring; | ||
} | ||
|
||
public void setRecurring(Boolean recurring) { | ||
this.recurring = recurring; | ||
} | ||
} |
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