com.chargebee.models.ThirdPartyPaymentMethod Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chargebee-java Show documentation
Show all versions of chargebee-java Show documentation
Java client library for ChargeBee API
package com.chargebee.models;
import com.chargebee.*;
import com.chargebee.internal.*;
import com.chargebee.filters.*;
import com.chargebee.filters.enums.SortOrder;
import com.chargebee.internal.HttpUtil.Method;
import com.chargebee.models.enums.*;
import org.json.*;
import java.io.*;
import java.sql.Timestamp;
import java.util.*;
public class ThirdPartyPaymentMethod extends Resource {
//Constructors
//============
public ThirdPartyPaymentMethod(String jsonStr) {
super(jsonStr);
}
public ThirdPartyPaymentMethod(JSONObject jsonObj) {
super(jsonObj);
}
// Fields
//=======
public Type type() {
return reqEnum("type", Type.class);
}
public Gateway gateway() {
return reqEnum("gateway", Gateway.class);
}
public String gatewayAccountId() {
return optString("gateway_account_id");
}
public String referenceId() {
return reqString("reference_id");
}
// Operations
//===========
}