Class PromotionName.Builder (0.2.0)

public static class PromotionName.Builder

Builder for accounts/{account}/promotions/{promotion}.

Inheritance

java.lang.Object > PromotionName.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public PromotionName build()
Returns
Type Description
PromotionName

getAccount()

public String getAccount()
Returns
Type Description
String

getPromotion()

public String getPromotion()
Returns
Type Description
String

setAccount(String account)

public PromotionName.Builder setAccount(String account)
Parameter
Name Description
account String
Returns
Type Description
PromotionName.Builder

setPromotion(String promotion)

public PromotionName.Builder setPromotion(String promotion)
Parameter
Name Description
promotion String
Returns
Type Description
PromotionName.Builder