Package com.twilio.rest.supersim.v1.sim
Class BillingPeriod
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.supersim.v1.sim.BillingPeriod
-
- All Implemented Interfaces:
Serializable
public class BillingPeriod extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BillingPeriod.BpType
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static BillingPeriod
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a BillingPeriod object using the provided ObjectMapper.static BillingPeriod
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a BillingPeriod object using the provided ObjectMapper.String
getAccountSid()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
ZonedDateTime
getEndTime()
BillingPeriod.BpType
getPeriodType()
String
getSid()
String
getSimSid()
ZonedDateTime
getStartTime()
int
hashCode()
static BillingPeriodReader
reader(String pathSimSid)
-
-
-
Method Detail
-
reader
public static BillingPeriodReader reader(String pathSimSid)
-
fromJson
public static BillingPeriod fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a BillingPeriod object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- BillingPeriod object represented by the provided JSON
-
fromJson
public static BillingPeriod fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a BillingPeriod object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- BillingPeriod object represented by the provided JSON
-
getSid
public final String getSid()
-
getAccountSid
public final String getAccountSid()
-
getSimSid
public final String getSimSid()
-
getStartTime
public final ZonedDateTime getStartTime()
-
getEndTime
public final ZonedDateTime getEndTime()
-
getPeriodType
public final BillingPeriod.BpType getPeriodType()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
-