public static class OpnMembership.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
OpnMembership |
build() |
OpnMembership.Builder |
copy(OpnMembership model) |
OpnMembership.Builder |
opnMembershipType(String opnMembershipType)
OPN membership type
|
OpnMembership.Builder |
opnNumber(String opnNumber)
OPN Number number
|
OpnMembership.Builder |
opnStatus(OpnMembership.OpnStatus opnStatus)
OPN status
|
OpnMembership.Builder |
timeEnd(Date timeEnd)
OPN membership end date.
|
OpnMembership.Builder |
timeStart(Date timeStart)
OPN membership start date.
|
public OpnMembership.Builder timeStart(Date timeStart)
OPN membership start date. An RFC3339 formatted datetime string
timeStart
- the value to setpublic OpnMembership.Builder timeEnd(Date timeEnd)
OPN membership end date. An RFC3339 formatted datetime string
timeEnd
- the value to setpublic OpnMembership.Builder opnStatus(OpnMembership.OpnStatus opnStatus)
OPN status
opnStatus
- the value to setpublic OpnMembership.Builder opnNumber(String opnNumber)
OPN Number number
opnNumber
- the value to setpublic OpnMembership.Builder opnMembershipType(String opnMembershipType)
OPN membership type
opnMembershipType
- the value to setpublic OpnMembership build()
public OpnMembership.Builder copy(OpnMembership model)
Copyright © 2016–2024. All rights reserved.