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 SummaryNested ClassesModifier and TypeClassDescriptionstatic classSpecifies which event to cancel.
- 
Field SummaryFields inherited from class com.stripe.model.StripeObjectPRETTY_PRINT_GSON
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanbooleanSpecifies 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 valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.String representing the object's type.Open Enum.getType()Open Enum.inthashCode()voidsetCancel(MeterEventAdjustment.Cancel cancel) Specifies which event to cancel.voidsetCreated(Instant created) The time the adjustment was created.voidsetEventName(String eventName) The name of the meter event.voidThe unique id of this meter event adjustment.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidString representing the object's type.voidOpen Enum.voidOpen Enum.Methods inherited from class com.stripe.model.StripeObjectdeserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
- 
Constructor Details- 
MeterEventAdjustmentpublic MeterEventAdjustment()
 
- 
- 
Method Details- 
getCancelSpecifies which event to cancel.
- 
getCreatedThe time the adjustment was created.
- 
getEventNameThe name of the meter event. Corresponds with theevent_namefield on a meter.
- 
getLivemodeHas the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.
- 
getObjectString 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.
- 
getStatusOpen Enum. The meter event adjustment’s status.One of complete, orpending.
- 
getTypeOpen 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.
- 
setCancelSpecifies which event to cancel.
- 
setCreatedThe time the adjustment was created.
- 
setEventNameThe name of the meter event. Corresponds with theevent_namefield on a meter.
- 
setIdThe unique id of this meter event adjustment.
- 
setLivemodeHas the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.
- 
setObjectString 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.
- 
setStatusOpen Enum. The meter event adjustment’s status.One of complete, orpending.
- 
setTypeOpen 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
- 
hashCodepublic int hashCode()
- 
getIdThe unique id of this meter event adjustment.
 
-