-
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 #304 from Mangopay/feature/new-mops
added Satispay, and Blik, Multibanco integrations
- Loading branch information
Showing
14 changed files
with
373 additions
and
48 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
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
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
28 changes: 28 additions & 0 deletions
28
src/main/java/com/mangopay/entities/subentities/PayInPaymentDetailsBlik.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,28 @@ | ||
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 BLIK type for mean of payment in PayIn entity. | ||
*/ | ||
public class PayInPaymentDetailsBlik extends Dto implements PayInPaymentDetails { | ||
|
||
/** | ||
* An optional value to be specified on the user's bank statement | ||
*/ | ||
@SerializedName("StatementDescriptor") | ||
private String statementDescriptor; | ||
|
||
public String getStatementDescriptor() { | ||
return statementDescriptor; | ||
} | ||
|
||
public PayInPaymentDetailsBlik setStatementDescriptor(String statementDescriptor) { | ||
this.statementDescriptor = statementDescriptor; | ||
return this; | ||
} | ||
|
||
|
||
} |
28 changes: 28 additions & 0 deletions
28
src/main/java/com/mangopay/entities/subentities/PayInPaymentDetailsMultibanco.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,28 @@ | ||
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 MULTIBANCO type for mean of payment in PayIn entity. | ||
*/ | ||
public class PayInPaymentDetailsMultibanco extends Dto implements PayInPaymentDetails { | ||
|
||
/** | ||
* An optional value to be specified on the user's bank statement | ||
*/ | ||
@SerializedName("StatementDescriptor") | ||
private String statementDescriptor; | ||
|
||
public String getStatementDescriptor() { | ||
return statementDescriptor; | ||
} | ||
|
||
public PayInPaymentDetailsMultibanco setStatementDescriptor(String statementDescriptor) { | ||
this.statementDescriptor = statementDescriptor; | ||
return this; | ||
} | ||
|
||
|
||
} |
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
39 changes: 39 additions & 0 deletions
39
src/main/java/com/mangopay/entities/subentities/PayInPaymentDetailsSatispay.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,39 @@ | ||
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 SATISPAY type for mean of payment in PayIn entity. | ||
*/ | ||
public class PayInPaymentDetailsSatispay extends Dto implements PayInPaymentDetails { | ||
|
||
@SerializedName("Country") | ||
private String country; | ||
|
||
/** | ||
* An optional value to be specified on the user's bank statement | ||
*/ | ||
@SerializedName("StatementDescriptor") | ||
private String statementDescriptor; | ||
|
||
public void setCountry(String country) { | ||
this.country = country; | ||
} | ||
|
||
public String getCountry() { | ||
return country; | ||
} | ||
|
||
public String getStatementDescriptor() { | ||
return statementDescriptor; | ||
} | ||
|
||
public PayInPaymentDetailsSatispay setStatementDescriptor(String statementDescriptor) { | ||
this.statementDescriptor = statementDescriptor; | ||
return this; | ||
} | ||
|
||
|
||
} |
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 @@ | ||
#Fri Jul 28 16:19:09 EEST 2023 | ||
#Tue Sep 12 14:00:55 EEST 2023 | ||
version=2.30.0 |
Oops, something went wrong.