Package com.boldsign.model
Class BillingViewModel
- java.lang.Object
-
- com.boldsign.model.BillingViewModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class BillingViewModel extends Object
BillingViewModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBillingViewModel.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_BALANCE_CREDITS
-
Constructor Summary
Constructors Constructor Description BillingViewModel()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BillingViewModelbalanceCredits(Double balanceCredits)Map<String,Object>createFormData()booleanequals(Object o)static BillingViewModelfromJson(String jsonString)Create an instance of BillingViewModel given an JSON stringDoublegetBalanceCredits()Get balanceCreditsinthashCode()voidsetBalanceCredits(Double balanceCredits)StringtoJson()Convert an instance of BillingViewModel to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Method Detail
-
balanceCredits
public BillingViewModel balanceCredits(Double balanceCredits)
-
getBalanceCredits
@Nullable public Double getBalanceCredits()
Get balanceCredits- Returns:
- balanceCredits
-
setBalanceCredits
public void setBalanceCredits(Double balanceCredits)
-
createFormData
public Map<String,Object> createFormData() throws ApiException
- Throws:
ApiException
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to BillingViewModel
-
fromJson
public static BillingViewModel fromJson(String jsonString) throws IOException
Create an instance of BillingViewModel given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BillingViewModel
- Throws:
IOException- if the JSON string is invalid with respect to BillingViewModel
-
toJson
public String toJson()
Convert an instance of BillingViewModel to an JSON string- Returns:
- JSON string
-
-