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

com.siftscience.UpdateMerchantResponse Maven / Gradle / Ivy

The newest version!
package com.siftscience;

import com.siftscience.model.CreateMerchantResponseBody;
import okhttp3.Response;

import java.io.IOException;

import static com.siftscience.FieldSet.gson;

public class UpdateMerchantResponse extends SiftMerchantResponse {


    public UpdateMerchantResponse(Response okResponse, FieldSet requestBody) throws IOException{
        super(okResponse, requestBody);
    }

    @Override
    void populateBodyFromJson(String jsonBody) {
        body = gson.fromJson(jsonBody, CreateMerchantResponseBody.class);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy