All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.safecharge.request.DeleteUPORequest Maven / Gradle / Ivy

Go to download

SafeCharge’s REST API SDK for Java provides developer tools for accessing Safecharge's REST API. SafeCharge’s REST API is a simple, easy to use, secure and stateless API, which enables online merchants and service providers to process consumer payments through SafeCharge’s payment gateway. The API supports merchants of all levels of PCI certification, from their online and mobile merchant applications, and is compatible with a large variety of payment options, i.e. payment cards, alternative payment methods, etc.

There is a newer version: 1.7.11
Show newest version
package com.safecharge.request;

import javax.validation.ConstraintViolationException;

import com.safecharge.request.basic.EditUPOBasicRequest;
import com.safecharge.util.Constants;
import com.safecharge.util.ValidChecksum;
import com.safecharge.util.ValidationUtils;

@ValidChecksum(orderMappingName = Constants.ChecksumOrderMapping.DELETE_UPO)
public class DeleteUPORequest extends EditUPOBasicRequest {

    public static Builder builder() {
        return new Builder();
    }

    public static class Builder extends EditUPOBasicRequest.Builder {

        @Override
        public SafechargeBaseRequest build() throws ConstraintViolationException {
            DeleteUPORequest deleteUPORequest = new DeleteUPORequest();
            return ValidationUtils.validate(super.build(deleteUPORequest));
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy