Class CreateCheckoutSessionReq.Builder
- java.lang.Object
-
- com.chrt.api.resources.billing.stripe.requests.CreateCheckoutSessionReq.Builder
-
- All Implemented Interfaces:
CreateCheckoutSessionReq._FinalStage,CreateCheckoutSessionReq.PriceIdStage,CreateCheckoutSessionReq.ProductIdStage
- Enclosing class:
- CreateCheckoutSessionReq
public static final class CreateCheckoutSessionReq.Builder extends java.lang.Object implements CreateCheckoutSessionReq.ProductIdStage, CreateCheckoutSessionReq.PriceIdStage, CreateCheckoutSessionReq._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateCheckoutSessionReqbuild()CreateCheckoutSessionReq.Builderfrom(CreateCheckoutSessionReq other)CreateCheckoutSessionReq._FinalStagepriceId(java.lang.String priceId)CreateCheckoutSessionReq.PriceIdStageproductId(java.lang.String productId)
-
-
-
Method Detail
-
from
public CreateCheckoutSessionReq.Builder from(CreateCheckoutSessionReq other)
- Specified by:
fromin interfaceCreateCheckoutSessionReq.ProductIdStage
-
productId
public CreateCheckoutSessionReq.PriceIdStage productId(@NotNull java.lang.String productId)
- Specified by:
productIdin interfaceCreateCheckoutSessionReq.ProductIdStage
-
priceId
public CreateCheckoutSessionReq._FinalStage priceId(@NotNull java.lang.String priceId)
- Specified by:
priceIdin interfaceCreateCheckoutSessionReq.PriceIdStage
-
build
public CreateCheckoutSessionReq build()
- Specified by:
buildin interfaceCreateCheckoutSessionReq._FinalStage
-
-