package uniread.api;
 
import static unipay.api.util.ComponentConstants.LONG_NULL;
import static unipay.api.util.ComponentConstants.STRING_NULL;
import static uniread.core.util.FormatUtil.getInteger;
import static uniread.core.util.FormatUtil.getString;
 
import unipay.fields.Fields;
import unipay.exception.names.RequestType;
import uniread.core.ApiObject;
import uniread.core.validator.ValidationObject;
 
/**
 * @author CodeGen [Sergey Sereda]
 * @company UnitedThinkers
 * @since 2019/09/11
 */
 
@CustomValidator(groups = {CardInfoFormGroup.class, VoidRefundReqGroup.class, CaptureReqGroup.class})
public class TransactionRequest extends DuoComponent<> {
 
    public TransactionRequest(){
        super();
        applyDefaults();
    }
 
    public TransactionRequest(){
        super();
    }
 
 
    private void applyDefaults() {
        if (!isProxyObject()) {
        }
    }
 
    @Override
    public void from(){
        if (!isInitialized()) {
            return;
        }
    }
 
    @Override
    public void to(){
        if (!isInitialized()) {
            return;
        }
    }
 
    @Override
    public void initializeNew() {
        link();
        synch();
    }
 
 
    @Override
    public String toString(){
        StringBuilder sb = new StringBuilder();
        sb.append("transactionRequest: {");
        sb.append('}');
        return sb.toString();
    }
 
 
}