Class TenantInfoBillingContact
- java.lang.Object
-
- com.yahoo.vespa.hosted.controller.tenant.TenantInfoBillingContact
-
public class TenantInfoBillingContact extends java.lang.Object- Author:
- smorgrav
-
-
Field Summary
Fields Modifier and Type Field Description static TenantInfoBillingContactEMPTY
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TenantInfoAddressaddress()java.lang.Stringemail()booleanequals(java.lang.Object o)inthashCode()booleanisEmpty()java.lang.Stringname()java.lang.Stringphone()TenantInfoBillingContactwithAddress(TenantInfoAddress newAddress)TenantInfoBillingContactwithEmail(java.lang.String newEmail)TenantInfoBillingContactwithName(java.lang.String newName)TenantInfoBillingContactwithPhone(java.lang.String newPhone)
-
-
-
Field Detail
-
EMPTY
public static final TenantInfoBillingContact EMPTY
-
-
Method Detail
-
name
public java.lang.String name()
-
email
public java.lang.String email()
-
phone
public java.lang.String phone()
-
address
public TenantInfoAddress address()
-
withName
public TenantInfoBillingContact withName(java.lang.String newName)
-
withEmail
public TenantInfoBillingContact withEmail(java.lang.String newEmail)
-
withPhone
public TenantInfoBillingContact withPhone(java.lang.String newPhone)
-
withAddress
public TenantInfoBillingContact withAddress(TenantInfoAddress newAddress)
-
isEmpty
public boolean isEmpty()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-