Interface StripeExternalCallService
- All Known Implementing Classes:
DefaultStripeExternalCallService
public interface StripeExternalCallService
-
Method Summary
Modifier and TypeMethodDescriptioncom.stripe.model.StripeObject
call
(@NonNull StripePaymentRequest paymentRequest) javax.money.MonetaryAmount
getAmountInMajorUnits
(@NonNull Long amount, @NonNull String currencyCode) getTransactionTotalInMinorUnits
(@NonNull com.broadleafcommerce.paymentgateway.domain.PaymentRequest paymentRequest) boolean
isPaymentIntentRequest
(@NonNull StripePaymentRequest stripePaymentRequest) void
processStripeException
(@NonNull Exception e, @NonNull com.broadleafcommerce.paymentgateway.domain.PaymentResponse paymentResponse, @NonNull com.broadleafcommerce.paymentgateway.domain.PaymentRequest paymentRequest)
-
Method Details
-
call
-
getTransactionTotalInMinorUnits
Long getTransactionTotalInMinorUnits(@NonNull @NonNull com.broadleafcommerce.paymentgateway.domain.PaymentRequest paymentRequest) -
getAmountInMajorUnits
-
processStripeException
void processStripeException(@NonNull @NonNull Exception e, @NonNull @NonNull com.broadleafcommerce.paymentgateway.domain.PaymentResponse paymentResponse, @NonNull @NonNull com.broadleafcommerce.paymentgateway.domain.PaymentRequest paymentRequest) -
isPaymentIntentRequest
-