-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
66316dd
commit 534293d
Showing
52 changed files
with
540 additions
and
234 deletions.
There are no files selected for viewing
Binary file not shown.
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
14 changes: 7 additions & 7 deletions
14
adyen-core/src/main/java/com/adyen/core/models/paymentdetails/CVCOnlyPaymentDetails.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 |
---|---|---|
@@ -1,19 +1,19 @@ | ||
package com.adyen.core.models.paymentdetails; | ||
|
||
import java.util.Collection; | ||
|
||
/** | ||
* PaymentDetails class for one click credit card payments if only the CVC code is required. | ||
*/ | ||
public class CVCOnlyPaymentDetails extends PaymentDetails { | ||
|
||
private static final String CARD_DETAILS_CVC = "cardDetails.cvc"; | ||
public static final String CARD_DETAILS_CVC = "cardDetails.cvc"; | ||
|
||
/** | ||
* Create PaymentDetails for recurring one click credit card payment. | ||
* @param cvc The cvc code collected from the user. | ||
*/ | ||
public CVCOnlyPaymentDetails(final String cvc) { | ||
map.put(CARD_DETAILS_CVC, cvc); | ||
public CVCOnlyPaymentDetails(Collection<InputDetail> inputDetails) { | ||
super(inputDetails); | ||
} | ||
|
||
public boolean fillCvc(final String cvc) { | ||
return super.fill(CARD_DETAILS_CVC, cvc); | ||
} | ||
} |
Oops, something went wrong.