Class OrderOperationPaymentProperties
- java.lang.Object
-
- com.broadleafcommerce.orderoperation.properties.DiscriminatedProperties<OrderOperationPaymentProperties>
-
- com.broadleafcommerce.orderoperation.service.payment.OrderOperationPaymentProperties
-
@ConfigurationProperties("broadleaf.orderoperation.service.payment") public class OrderOperationPaymentProperties extends DiscriminatedProperties<OrderOperationPaymentProperties>Payment-related properties within OrderOperationServices, discriminated by tenant and application.- Author:
- Sunny Yu
-
-
Constructor Summary
Constructors Constructor Description OrderOperationPaymentProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getCapturePaymentGatewayPriorities(String applicationId, String tenantId)Gets the value ofcapturePaymentGatewayPrioritiesbased on the given application and tenant id.List<String>getRefundPaymentGatewayPriorities(String applicationId, String tenantId)Gets the value ofrefundPaymentGatewayPrioritiesbased on the given application and tenant id.voidsetCapturePaymentGatewayPriorities(List<String> capturePaymentGatewayPriorities)A list of payment gateway types defining the order by which payments will be captured.voidsetRefundPaymentGatewayPriorities(List<String> refundPaymentGatewayPriorities)A list of payment gateway types defining the order by which payments will be refunded.-
Methods inherited from class com.broadleafcommerce.orderoperation.properties.DiscriminatedProperties
getApplication, getField, getTenant, setApplication, setTenant
-
-
-
-
Method Detail
-
getCapturePaymentGatewayPriorities
public List<String> getCapturePaymentGatewayPriorities(@Nullable String applicationId, @Nullable String tenantId)
Gets the value ofcapturePaymentGatewayPrioritiesbased on the given application and tenant id.- Parameters:
applicationId- the current context's application idtenantId- the current context's tenant id- Returns:
- the value of
capturePaymentGatewayPrioritiesbased on the given application and tenant id
-
getRefundPaymentGatewayPriorities
public List<String> getRefundPaymentGatewayPriorities(@Nullable String applicationId, @Nullable String tenantId)
Gets the value ofrefundPaymentGatewayPrioritiesbased on the given application and tenant id.- Parameters:
applicationId- the current context's application idtenantId- the current context's tenant id- Returns:
- the value of
refundPaymentGatewayPrioritiesbased on the given application and tenant id
-
setCapturePaymentGatewayPriorities
public void setCapturePaymentGatewayPriorities(List<String> capturePaymentGatewayPriorities)
A list of payment gateway types defining the order by which payments will be captured.
-
-