| Modifier and Type | Method and Description |
|---|---|
PaymentTransactionEntryModel |
CsCheckoutService.authorisePayment(CartModel cart,
CardInfo cardInfo,
double amount)
Authorise payment for the cart or order.
|
| Modifier and Type | Method and Description |
|---|---|
PaymentTransactionEntryModel |
DefaultCsCheckoutService.authorisePayment(CartModel cart,
CardInfo cardInfo,
double amount) |
protected CreditCardPaymentInfoModel |
DefaultCsCheckoutService.createSubscription(CartModel cart,
CardInfo cardInfo) |
| Modifier and Type | Method and Description |
|---|---|
PaymentTransactionEntryModel |
CsCardPaymentService.authoriseCardPayment(AbstractOrderModel order,
CardInfo cardInfo,
double amount)
Authorise payment for the cart or order.
|
void |
CsCardPaymentService.validate(AbstractOrderModel order,
CardInfo cardInfo,
double amount)
Validate the order, cardInfo and amount.
|
| Modifier and Type | Method and Description |
|---|---|
PaymentTransactionEntryModel |
DefaultCsCardPaymentService.authoriseCardPayment(AbstractOrderModel order,
CardInfo cardInfo,
double amount) |
protected boolean |
DefaultCardValidator.isLuhnCheckSupported(CardInfo cardInfo) |
protected PaymentTransactionEntryModel |
DefaultCsCardPaymentService.preAuth(AbstractOrderModel order,
CardInfo cardInfo,
double amount) |
void |
DefaultCsCardPaymentService.validate(AbstractOrderModel order,
CardInfo cardInfo,
double amount)
Validate the order, cardInfo and amount.
|
protected void |
DefaultCsCardPaymentService.validateBillingInfo(AbstractOrderModel order,
CardInfo cardInfo,
List<ResourceMessage> errorMessages)
Validate the the billing info in the cardInfo.
|
protected void |
DefaultCsCardPaymentService.validateCardInfo(AbstractOrderModel order,
CardInfo cardInfo,
List<ResourceMessage> errorMessages)
Validate the cardInfo.
|
protected void |
DefaultCardValidator.validateCardNumber(CardValidationResult validationResult,
CardInfo cardInfo) |
protected void |
DefaultCardValidator.validateCardScheme(CardValidationResult result,
CardInfo cardInfo) |
protected void |
DefaultCardValidator.validateDates(CardValidationResult validationResult,
CardInfo cardInfo) |
| Modifier and Type | Method and Description |
|---|---|
CardInfo |
DefaultCheckoutController.PaymentOption.getCardInfo() |
| Constructor and Description |
|---|
PaymentOption(CardInfo cardInfo)
Construct the payment option with a blank card info.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PaymentService.attachPaymentInfo(PaymentTransactionModel paymentTransactionModel,
UserModel userModel,
CardInfo cardInfo,
BigDecimal amount)
Attaches PaymentInfo to the assigned PaymentTransactionModel instance.
|
PaymentTransactionEntryModel |
PaymentService.authorize(OrderModel order,
CardInfo card)
Deprecated.
|
PaymentTransactionEntryModel |
PaymentService.authorize(PaymentTransactionModel transaction,
BigDecimal amount,
Currency currency,
AddressModel deliveryAddress,
AddressModel paymentAddress,
CardInfo card)
authorize payment
|
PaymentTransactionEntryModel |
PaymentService.authorize(String merchantTransactionCode,
BigDecimal amount,
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(String merchantTransactionCode,
String paymentProvider,
Currency currency,
AddressModel paymentAddress,
CardInfo card)
Creates a subscription at the payment provider side and stores sensitive data there.
|
PaymentTransactionEntryModel |
PaymentService.getSubscriptionData(String merchantTransactionCode,
String subscriptionID,
String paymentProvider,
BillingInfo billingInfo,
CardInfo card)
Gets the stored card info or payment address
|
PaymentTransactionEntryModel |
PaymentService.refundStandalone(String merchantTransactionCode,
BigDecimal amount,
Currency currency,
AddressModel paymentAddress,
CardInfo card)
Refund value to a card (no transaction is obligatory)
|
PaymentTransactionEntryModel |
PaymentService.updateSubscription(String merchantTransactionCode,
String subscriptionID,
String paymentProvider,
AddressModel paymentAddress,
CardInfo card)
Updates the data of the subscription at the payment provider.
|
| Modifier and Type | Method and Description |
|---|---|
CardInfo |
CardNotSupported.getCard() |
| Modifier and Type | Method and Description |
|---|---|
void |
CardNotSupported.setCard(CardInfo card) |
| Modifier and Type | Method and Description |
|---|---|
CardInfo |
StandaloneRefundRequest.getCard() |
CardInfo |
AuthorizationRequest.getCard() |
CardInfo |
CreateSubscriptionRequest.getCard() |
CardInfo |
UpdateSubscriptionRequest.getCard() |
| Constructor and Description |
|---|
AuthorizationRequest(String merchantTransactionCode,
CardInfo card,
Currency currency,
BigDecimal totalAmount,
BillingInfo shippingInfo)
An authorized request, where missing data is filled by the payment provider from a previous txn.
|
CreateSubscriptionRequest(String merchantTransactionCode,
BillingInfo billingInfo,
Currency currency,
CardInfo card,
String requestId,
String requestToken,
String paymentProvider) |
StandaloneRefundRequest(String merchantTransactionCode,
BillingInfo billTo,
CardInfo card,
Currency currency,
BigDecimal totalAmount)
Constructs a simple request
|
StandaloneRefundRequest(String merchantTransactionCode,
String subscriptionID,
BillingInfo billTo,
CardInfo card,
Currency currency,
BigDecimal totalAmount)
Constructs request, where missing data is filled by the payment proveder from a previous txn.
|
UpdateSubscriptionRequest(String merchantTransactionCode,
String subscriptionID,
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 object
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultPaymentServiceImpl.attachPaymentInfo(PaymentTransactionModel paymentTransactionModel,
UserModel userModel,
CardInfo cardInfo,
BigDecimal amount)
Attaches PaymentInfo to the assigned PaymentTransactionModel instance by using the configured
PaymentInfoCreatorStrategy.
|
PaymentTransactionEntryModel |
DefaultPaymentServiceImpl.authorize(OrderModel order,
CardInfo card)
Deprecated.
|
PaymentTransactionEntryModel |
DefaultPaymentServiceImpl.authorize(PaymentTransactionModel transaction,
BigDecimal amount,
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(String merchantTransactionCode,
BigDecimal amount,
Currency currency,
AddressModel deliveryAddress,
AddressModel paymentAddress,
CardInfo card) |
protected PaymentTransactionEntryModel |
DefaultPaymentServiceImpl.authorizeInternal(PaymentTransactionModel transaction,
BigDecimal amount,
Currency currency,
BillingInfo shippingInfo,
CardInfo card,
String subscriptionID,
String cv2,
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(String merchantTransactionCode,
String paymentProvider,
Currency currency,
AddressModel paymentAddress,
CardInfo card) |
PaymentTransactionEntryModel |
DefaultPaymentServiceImpl.getSubscriptionData(String merchantTransactionCode,
String subscriptionID,
String paymentProvider,
BillingInfo billingInfo,
CardInfo card) |
PaymentTransactionEntryModel |
DefaultPaymentServiceImpl.refundStandalone(String merchantTransactionCode,
BigDecimal amount,
Currency currency,
AddressModel paymentAddress,
CardInfo card) |
PaymentTransactionEntryModel |
DefaultPaymentServiceImpl.updateSubscription(String merchantTransactionCode,
String subscriptionID,
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 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.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,
BigDecimal amount)
Attaches PaymentInfo to the assigned PaymentTransactionModel instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultCreditCardPaymentInfoStrategy.attachPaymentInfo(PaymentTransactionModel paymentTransactionModel,
UserModel userModel,
CardInfo cardInfo,
BigDecimal amount)
Attaches PaymentInfo to the assigned PaymentTransactionModel instance.
|
| Modifier and Type | Method and Description |
|---|---|
PaymentTransactionEntryModel |
DefaultSubscriptionCsCheckoutService.authorisePayment(CartModel cart,
CardInfo cardInfo,
double amount) |
Copyright © 2017 SAP SE. All Rights Reserved.