| Modifier and Type | Method and Description |
|---|---|
protected CardInfo |
DefaultSapDigitalPaymentService.populateCardInfo(CCPaymentInfoData paymentInfoData)
Populates the
populateCardInfo |
| Modifier and Type | Method and Description |
|---|---|
CreditCardPaymentInfoModel |
CustomerAccountService.createPaymentSubscription(CustomerModel customerModel,
CardInfo cardInfo,
BillingInfo billingInfo,
java.lang.String titleCode,
java.lang.String paymentProvider,
boolean saveInAccount)
Creates a payment subscription using specified
paymentProvider. |
| Modifier and Type | Method and Description |
|---|---|
CreditCardPaymentInfoModel |
DefaultCustomerAccountService.createPaymentSubscription(CustomerModel customerModel,
CardInfo cardInfo,
BillingInfo billingInfo,
java.lang.String titleCode,
java.lang.String paymentProvider,
boolean saveInAccount) |
| Modifier and Type | Method and Description |
|---|---|
void |
PaymentService.attachPaymentInfo(PaymentTransactionModel paymentTransactionModel,
UserModel userModel,
CardInfo cardInfo,
java.math.BigDecimal amount)
Attaches PaymentInfo to the assigned PaymentTransactionModel instance.
|
PaymentTransactionEntryModel |
PaymentService.authorize(OrderModel order,
CardInfo card)
Deprecated.
Since 4.2 use any of the other authorize methods
|
PaymentTransactionEntryModel |
PaymentService.authorize(PaymentTransactionModel transaction,
java.math.BigDecimal amount,
java.util.Currency currency,
AddressModel deliveryAddress,
AddressModel paymentAddress,
CardInfo card)
authorize payment
|
PaymentTransactionEntryModel |
PaymentService.authorize(java.lang.String merchantTransactionCode,
java.math.BigDecimal amount,
java.util.Currency currency,
AddressModel deliveryAddress,
AddressModel paymentAddress,
CardInfo card)
authorize payment
|
NewSubscription |
PaymentService.createSubscription(PaymentTransactionModel transaction,
AddressModel paymentAddress,
CardInfo card)
Creates a subscription at the payment provider side and stores sensitive data there.
|
NewSubscription |
PaymentService.createSubscription(java.lang.String merchantTransactionCode,
java.lang.String paymentProvider,
java.util.Currency currency,
AddressModel paymentAddress,
CardInfo card)
Creates a subscription at the payment provider side and stores sensitive data there.
|
PaymentTransactionEntryModel |
PaymentService.getSubscriptionData(java.lang.String merchantTransactionCode,
java.lang.String subscriptionID,
java.lang.String paymentProvider,
BillingInfo billingInfo,
CardInfo card)
Gets the stored card info or payment address
|
PaymentTransactionEntryModel |
PaymentService.refundStandalone(java.lang.String merchantTransactionCode,
java.math.BigDecimal amount,
java.util.Currency currency,
AddressModel paymentAddress,
CardInfo card)
Refund value to a card (no transaction is obligatory)
|
default PaymentTransactionEntryModel |
PaymentService.refundStandalone(java.lang.String merchantTransactionCode,
java.math.BigDecimal amount,
java.util.Currency currency,
AddressModel paymentAddress,
CardInfo card,
java.lang.String providerName,
java.lang.String subscriptionId)
Refund value to a card (no transaction is obligatory)
|
PaymentTransactionEntryModel |
PaymentService.updateSubscription(java.lang.String merchantTransactionCode,
java.lang.String subscriptionID,
java.lang.String paymentProvider,
AddressModel paymentAddress,
CardInfo card)
Updates the data of the subscription at the payment provider.
|
| Modifier and Type | Method and Description |
|---|---|
protected CardInfo |
DeepCopyTest.createCardInfo(java.lang.String city,
java.lang.String country,
java.lang.String cardholderName) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DeepCopyTest.assertDeepCopy(CardInfo sourceCardInfo,
CardInfo targetCardInfo) |
protected void |
DeepCopyTest.assertPropertiesCopied(CardInfo sourceCardInfo,
CardInfo targetCardInfo) |
| Modifier and Type | Method and Description |
|---|---|
CardInfo |
CardNotSupported.getCard()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CardNotSupported.setCard(CardInfo card)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
CardInfo |
StandaloneRefundRequest.getCard() |
CardInfo |
UpdateSubscriptionRequest.getCard() |
CardInfo |
AuthorizationRequest.getCard() |
CardInfo |
CreateSubscriptionRequest.getCard() |
| Constructor and Description |
|---|
AuthorizationRequest(java.lang.String merchantTransactionCode,
CardInfo card,
java.util.Currency currency,
java.math.BigDecimal totalAmount,
BillingInfo shippingInfo)
An authorized request, where missing data is filled by the payment provider from a previous txn.
|
CreateSubscriptionRequest(java.lang.String merchantTransactionCode,
BillingInfo billingInfo,
java.util.Currency currency,
CardInfo card,
java.lang.String requestId,
java.lang.String requestToken,
java.lang.String paymentProvider) |
StandaloneRefundRequest(java.lang.String merchantTransactionCode,
BillingInfo billTo,
CardInfo card,
java.util.Currency currency,
java.math.BigDecimal totalAmount)
Constructs a simple request
|
StandaloneRefundRequest(java.lang.String merchantTransactionCode,
java.lang.String subscriptionID,
BillingInfo billTo,
CardInfo card,
java.util.Currency currency,
java.math.BigDecimal totalAmount)
Constructs request, where missing data is filled by the payment provider from a previous txn.
|
StandaloneRefundRequest(java.lang.String merchantTransactionCode,
java.lang.String subscriptionID,
BillingInfo billTo,
CardInfo card,
java.util.Currency currency,
java.math.BigDecimal totalAmount,
java.lang.String paymentProvider)
Constructs request
|
UpdateSubscriptionRequest(java.lang.String merchantTransactionCode,
java.lang.String subscriptionID,
java.lang.String paymentProvider,
BillingInfo billingInfo,
CardInfo card) |
| Modifier and Type | Method and Description |
|---|---|
CardInfo |
SubscriptionDataResult.getCard() |
| Modifier and Type | Method and Description |
|---|---|
void |
SubscriptionDataResult.setCard(CardInfo card) |
| Modifier and Type | Method and Description |
|---|---|
void |
CardInfo.copy(CardInfo orig)
Copy the values from another object
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultPaymentServiceImpl.attachPaymentInfo(PaymentTransactionModel paymentTransactionModel,
UserModel userModel,
CardInfo cardInfo,
java.math.BigDecimal amount)
Attaches PaymentInfo to the assigned PaymentTransactionModel instance by using the configured
PaymentInfoCreatorStrategy.
|
PaymentTransactionEntryModel |
DefaultPaymentServiceImpl.authorize(OrderModel order,
CardInfo card)
Deprecated.
Since 4.2.2 use any of the other authorize methods
|
PaymentTransactionEntryModel |
DefaultPaymentServiceImpl.authorize(PaymentTransactionModel transaction,
java.math.BigDecimal amount,
java.util.Currency currency,
AddressModel deliveryAddress,
AddressModel paymentAddress,
CardInfo card)
authorize payment
note: the code of the assigned payment transaction will be used as code-basecode during the PaymentTransactionEntryModel.CODE code generation process, which represents the main benefit of this
method. |
PaymentTransactionEntryModel |
DefaultPaymentServiceImpl.authorize(java.lang.String merchantTransactionCode,
java.math.BigDecimal amount,
java.util.Currency currency,
AddressModel deliveryAddress,
AddressModel paymentAddress,
CardInfo card) |
protected PaymentTransactionEntryModel |
DefaultPaymentServiceImpl.authorizeInternal(PaymentTransactionModel transaction,
java.math.BigDecimal amount,
java.util.Currency currency,
BillingInfo shippingInfo,
CardInfo card,
java.lang.String subscriptionID,
java.lang.String cv2,
java.lang.String paymentProvider)
...
|
protected BillingInfo |
DefaultPaymentServiceImpl.createBillingInfo(AddressModel deliveryAddress,
AddressModel paymentAddress,
CardInfo card)
creates the billing info based on the assigned delivery address instance.
|
NewSubscription |
DefaultPaymentServiceImpl.createSubscription(PaymentTransactionModel transaction,
AddressModel paymentAddress,
CardInfo card) |
NewSubscription |
DefaultPaymentServiceImpl.createSubscription(java.lang.String merchantTransactionCode,
java.lang.String paymentProvider,
java.util.Currency currency,
AddressModel paymentAddress,
CardInfo card) |
PaymentTransactionEntryModel |
DefaultPaymentServiceImpl.getSubscriptionData(java.lang.String merchantTransactionCode,
java.lang.String subscriptionID,
java.lang.String paymentProvider,
BillingInfo billingInfo,
CardInfo card) |
PaymentTransactionEntryModel |
DefaultPaymentServiceImpl.refundStandalone(java.lang.String merchantTransactionCode,
java.math.BigDecimal amount,
java.util.Currency currency,
AddressModel paymentAddress,
CardInfo card) |
PaymentTransactionEntryModel |
DefaultPaymentServiceImpl.refundStandalone(java.lang.String merchantTransactionCode,
java.math.BigDecimal amount,
java.util.Currency currency,
AddressModel paymentAddress,
CardInfo card,
java.lang.String providerName,
java.lang.String subscriptionId) |
PaymentTransactionEntryModel |
DefaultPaymentServiceImpl.updateSubscription(java.lang.String merchantTransactionCode,
java.lang.String subscriptionID,
java.lang.String paymentProvider,
AddressModel paymentAddress,
CardInfo card) |
| Modifier and Type | Method and Description |
|---|---|
CardValidationResult |
CardValidator.checkCard(CardInfo cardInfo)
Performs the complete suite of card validation, including the luhn check.
|
| Modifier and Type | Method and Description |
|---|---|
CardValidationResult |
CardValidatorImpl.checkCard(CardInfo cardInfo) |
protected boolean |
CardValidatorImpl.hasExpirationDate(CardInfo cardInfo) |
protected boolean |
CardValidatorImpl.isExpired(CardInfo cardInfo) |
protected boolean |
CardValidatorImpl.isLuhnCheckCompliant(CardInfo cardInfo) |
protected void |
CardValidatorImpl.validateCardNumber(CardValidationResult validationResult,
CardInfo cardInfo)
Implements basic card validation.
|
protected void |
CardValidatorImpl.validateCardScheme(CardValidationResult result,
CardInfo cardInfo)
checks to see if the card scheme is supported for the given result with card scheme data.
|
protected void |
CardValidatorImpl.validateCv2(CardValidationResult validationResult,
CardInfo cardInfo,
boolean isCv2AvsPolicyDisabled) |
protected void |
CardValidatorImpl.validateCv2Format(CardValidationResult validationResult,
CardInfo cardInfo) |
protected void |
CardValidatorImpl.validateDates(CardValidationResult validationResult,
CardInfo cardInfo) |
protected void |
CardValidatorImpl.validateName(CardValidationResult result,
CardInfo cardInfo)
Checks that the name consists of two separate names
|
| Modifier and Type | Method and Description |
|---|---|
void |
PaymentInfoCreatorStrategy.attachPaymentInfo(PaymentTransactionModel paymentTransactionModel,
UserModel userModel,
CardInfo cardInfo,
java.math.BigDecimal amount)
Attaches PaymentInfo to the assigned PaymentTransactionModel instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultCreditCardPaymentInfoStrategy.attachPaymentInfo(PaymentTransactionModel paymentTransactionModel,
UserModel userModel,
CardInfo cardInfo,
java.math.BigDecimal amount)
Attaches PaymentInfo to the assigned PaymentTransactionModel instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected CardInfo |
AcceleratorTestOrderData.createMasterCardInfo() |
protected CardInfo |
AcceleratorTestOrderData.createVisaCardInfo() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
AcceleratorTestOrderData.containsCardInfo(java.util.List<CreditCardPaymentInfoModel> storedCards,
CardInfo cardInfo) |
void |
AcceleratorTestOrderData.createPaymentInfo(java.lang.String customerUid,
java.lang.String currencyIso,
CardInfo cardInfo,
BillingInfo billingInfo) |
protected boolean |
AcceleratorTestOrderData.matchesCardInfo(CreditCardPaymentInfoModel storedCard,
CardInfo cardInfo) |
Copyright © 2018 SAP SE. All Rights Reserved.