Class UsageEventCreateParams
java.lang.Object
com.chargebee.v4.models.usageEvent.params.UsageEventCreateParams
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a new builder for UsageEventCreateParams.Get the form data for this request.Get the nested JSON body representation for this request.Get the JSON string representation for this request.
-
Method Details
-
getDeduplicationId
-
getSubscriptionId
-
getUsageTimestamp
-
getProperties
-
toFormData
Get the form data for this request. -
toJsonMap
Get the nested JSON body representation for this request.Unlike
toFormData(), which flattens nested objects/arrays into bracketedqs-style keys forapplication/x-www-form-urlencodedrequests, this method preserves the real object/array hierarchy so the payload can be serialized as a JSON string. Leaf values (e.g.Timestamp) are converted to their API representation byJsonUtilduring serialization. -
toJsonString
Get the JSON string representation for this request. -
builder
Create a new builder for UsageEventCreateParams.
-