package com.youcruit.billogram.objects.response.billogram;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import com.youcruit.billogram.objects.response.event.CallbackEvent;

public class Callback {
    @Expose
    CallbackBillogram billogram;
    @Expose
    CallbackEvent event;
    @Expose
    private String url;
    @SerializedName("sign_key")
    @Expose
    private String signKey;
    @Expose
    private String custom;

    
    public String getUrl() {
	return url;
    }

    
    public void setUrl(String url) {
	this.url = url;
    }

    public String getSignKey() {
	return signKey;
    }

    
    public void setSignKey(String signKey) {
	this.signKey = signKey;
    }

    public String getCustom() {
	return custom;
    }

    
    public void setCustom(String custom) {
	this.custom = custom;
    }
}

@@ -248,32 +248,40 @@
     @Expose%0A    
+private 
 CallbackBillogra
@@ -309,16 +309,24 @@
 ose%0A    
+private 
 Callback
@@ -485,21 +485,94 @@
 custom;%0A
-%0A
     
+@Expose%0A    @SerializedName(%22callback_id%22)%0A    private String callbackId;%0A
 %0A    pub
@@ -606,27 +606,22 @@
 rn url;%0A
+%0A
     %7D
-%0A%0A    
 %0A    pub
@@ -945,10 +945,563 @@
 ;%0A    %7D%0A
+%0A    public void verifySignature(String key) %7B%0A%0A    %7D%0A%0A    public CallbackBillogram getBillogram() %7B%0A        return billogram;%0A    %7D%0A%0A    public void setBillogram(CallbackBillogram billogram) %7B%0A        this.billogram = billogram;%0A    %7D%0A%0A    public CallbackEvent getEvent() %7B%0A        return event;%0A    %7D%0A%0A    public void setEvent(CallbackEvent event) %7B%0A        this.event = event;%0A    %7D%0A%0A    public String getCallbackId() %7B%0A        return callbackId;%0A    %7D%0A%0A    public void setCallbackId(String callbackId) %7B%0A        this.callbackId = callbackId;%0A    %7D%0A%0A
 %7D%0A

Add event & billogram to callback WITH getters