Class 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 Detail

      • OrderOperationPaymentProperties

        public OrderOperationPaymentProperties()
    • Method Detail

      • getCapturePaymentGatewayPriorities

        public List<String> getCapturePaymentGatewayPriorities​(@Nullable
                                                               String applicationId,
                                                               @Nullable
                                                               String tenantId)
        Gets the value of capturePaymentGatewayPriorities based on the given application and tenant id.
        Parameters:
        applicationId - the current context's application id
        tenantId - the current context's tenant id
        Returns:
        the value of capturePaymentGatewayPriorities based on the given application and tenant id
      • getRefundPaymentGatewayPriorities

        public List<String> getRefundPaymentGatewayPriorities​(@Nullable
                                                              String applicationId,
                                                              @Nullable
                                                              String tenantId)
        Gets the value of refundPaymentGatewayPriorities based on the given application and tenant id.
        Parameters:
        applicationId - the current context's application id
        tenantId - the current context's tenant id
        Returns:
        the value of refundPaymentGatewayPriorities based 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.
      • setRefundPaymentGatewayPriorities

        public void setRefundPaymentGatewayPriorities​(List<String> refundPaymentGatewayPriorities)
        A list of payment gateway types defining the order by which payments will be refunded.