Class VendorCreationRequest
java.lang.Object
com.broadleafcommerce.vendor.domain.request.VendorCreationRequest
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The primary address associated with this vendor.User information for an admin user that is to be created to manage this vendor.By default, TenantServices will create a vendor catalog upon notice of a new vendor being created.By default, TenantServices will create a vendor catalog upon notice of a new vendor being created.getName()
A unique name for the vendor.The primary contact associated with this vendor.A unique reference key used throughout the system to associate data to the vendor.int
hashCode()
void
setAddress
(Address address) The primary address associated with this vendor.void
setAdminUser
(AdminUserInfo adminUser) User information for an admin user that is to be created to manage this vendor.void
setDefaultCurrency
(String defaultCurrency) By default, TenantServices will create a vendor catalog upon notice of a new vendor being created.void
setDefaultLocale
(String defaultLocale) By default, TenantServices will create a vendor catalog upon notice of a new vendor being created.void
A unique name for the vendor.void
setPrimaryContact
(Contact primaryContact) The primary contact associated with this vendor.void
setVendorRef
(String vendorRef) A unique reference key used throughout the system to associate data to the vendor.toString()
-
Constructor Details
-
VendorCreationRequest
public VendorCreationRequest()
-
-
Method Details
-
getName
A unique name for the vendor.- Returns:
- a unique name for the vendor
-
getVendorRef
A unique reference key used throughout the system to associate data to the vendor. This cannot be changed once set.- Returns:
- a unique reference key for the vendor
-
getAddress
The primary address associated with this vendor.- Returns:
- The primary address associated with this vendor.
-
getPrimaryContact
The primary contact associated with this vendor.- Returns:
- The primary contact associated with this vendor.
-
getAdminUser
User information for an admin user that is to be created to manage this vendor.- Returns:
- User information for an admin user.
-
getDefaultLocale
By default, TenantServices will create a vendor catalog upon notice of a new vendor being created. This field is used to inform the default locale to set on that catalog.This must match a valid IETF BCP 47 language tag format.
- Returns:
- the IETF BCP 47 language tag of the locale
- See Also:
-
getDefaultCurrency
By default, TenantServices will create a vendor catalog upon notice of a new vendor being created. This field is used to inform the default currency to set on that catalog.- Returns:
- the ISO 4217 code of the currency
-
setName
A unique name for the vendor.- Parameters:
name
- a unique name for the vendor
-
setVendorRef
A unique reference key used throughout the system to associate data to the vendor. This cannot be changed once set.- Parameters:
vendorRef
- a unique reference key for the vendor
-
setAddress
The primary address associated with this vendor.- Parameters:
address
- The primary address associated with this vendor.
-
setPrimaryContact
The primary contact associated with this vendor.- Parameters:
primaryContact
- The primary contact associated with this vendor.
-
setAdminUser
User information for an admin user that is to be created to manage this vendor.- Parameters:
adminUser
- User information for an admin user.
-
setDefaultLocale
By default, TenantServices will create a vendor catalog upon notice of a new vendor being created. This field is used to inform the default locale to set on that catalog.This must match a valid IETF BCP 47 language tag format.
- Parameters:
defaultLocale
- the IETF BCP 47 language tag of the locale- See Also:
-
setDefaultCurrency
By default, TenantServices will create a vendor catalog upon notice of a new vendor being created. This field is used to inform the default currency to set on that catalog.- Parameters:
defaultCurrency
- the ISO 4217 code of the currency
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-