Package com.stripe.model.v2.billing
Class MeterEventAdjustment
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.MeterEventAdjustment
- All Implemented Interfaces:
HasId
,StripeObjectInterface
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For more details about Cancel, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Specifies which event to cancel.The time the adjustment was created.The name of the meter event.getId()
The unique id of this meter event adjustment.Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.String representing the object's type.Open Enum.getType()
Open Enum.int
hashCode()
void
setCancel
(MeterEventAdjustment.Cancel cancel) Specifies which event to cancel.void
setCreated
(Instant created) The time the adjustment was created.void
setEventName
(String eventName) The name of the meter event.void
The unique id of this meter event adjustment.void
setLivemode
(Boolean livemode) Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.void
String representing the object's type.void
Open Enum.void
Open Enum.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
MeterEventAdjustment
public MeterEventAdjustment()
-
-
Method Details
-
getCancel
Specifies which event to cancel. -
getCreated
The time the adjustment was created. -
getEventName
The name of the meter event. Corresponds with theevent_name
field on a meter. -
getLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
getObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.billing.meter_event_adjustment
. -
getStatus
Open Enum. The meter event adjustment’s status.One of
complete
, orpending
. -
getType
Open Enum. Specifies whether to cancel a single event or a range of events for a time period. Time period cancellation is not supported yet.Equal to
cancel
. -
setCancel
Specifies which event to cancel. -
setCreated
The time the adjustment was created. -
setEventName
The name of the meter event. Corresponds with theevent_name
field on a meter. -
setId
The unique id of this meter event adjustment. -
setLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
setObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.billing.meter_event_adjustment
. -
setStatus
Open Enum. The meter event adjustment’s status.One of
complete
, orpending
. -
setType
Open Enum. Specifies whether to cancel a single event or a range of events for a time period. Time period cancellation is not supported yet.Equal to
cancel
. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
The unique id of this meter event adjustment.
-