Class BroadleafHPSOrderAbstractionInitRequest
- All Implemented Interfaces:
Serializable
When using Chase Hosted Payment Solutions (HPS), this is a request payload provided to the
HPSOrderAbstractionEndpoint to initiate the Order Abstraction UID Init Request.
This is a BLC-specific payload, and is not directly used when interacting with Chase APIs. For
that, see HPSOrderAbstractionInitRequest.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanBilling address fields.A description that will be stored in the UID metadata (on Chase's side) to indicate why this profile was created.This field allows the API caller to request a specific, named form pre-configured in Chase HPS.In most cases, this will be the Broadleaf Cart ID.After HPS submission is completed and the profile is created, the caller's next step is typically to create a BLCPaymentwith the result.inthashCode()voidsetBillingAddress(BroadleafHPSOrderAbstractionInitBillingAddress billingAddress) Billing address fields.voidsetDescription(String description) A description that will be stored in the UID metadata (on Chase's side) to indicate why this profile was created.voidsetHpsFormName(String hpsFormName) This field allows the API caller to request a specific, named form pre-configured in Chase HPS.voidsetPaymentOwnerId(String paymentOwnerId) In most cases, this will be the Broadleaf Cart ID.voidsetPaymentOwnerType(String paymentOwnerType) After HPS submission is completed and the profile is created, the caller's next step is typically to create a BLCPaymentwith the result.toString()
-
Constructor Details
-
BroadleafHPSOrderAbstractionInitRequest
public BroadleafHPSOrderAbstractionInitRequest()
-
-
Method Details
-
getHpsFormName
This field allows the API caller to request a specific, named form pre-configured in Chase HPS. If not specified, this will fall back to theHPSProviderDiscriminatedProperties.getFormName(String, String). If provided, this value is validated againstHPSProviderDiscriminatedProperties.getAllowedRequestableFormNames(String, String). -
getDescription
A description that will be stored in the UID metadata (on Chase's side) to indicate why this profile was created. If not provided, a generic default value will be set by the system. -
getPaymentOwnerType
After HPS submission is completed and the profile is created, the caller's next step is typically to create a BLC
Paymentwith the result. In an effort to guarantee consistency of payment ownership (i.e., a profile created for cartX cannot be used to create a Payment for cartY), the caller should send the expected payment owner information in this field. It will be passed along and stored in the UID metadata (on Chase's side).In most cases, this will be 'BLC_CART'.
-
getPaymentOwnerId
In most cases, this will be the Broadleaf Cart ID. Please seegetPaymentOwnerType()for more context about this field. -
getBillingAddress
Billing address fields. If provided, will be passed along to pre-populate the HPF with these values. Useful in scenarios where a shipping address is already known and the billing address is the 'same as shipping address'. -
setHpsFormName
This field allows the API caller to request a specific, named form pre-configured in Chase HPS. If not specified, this will fall back to theHPSProviderDiscriminatedProperties.getFormName(String, String). If provided, this value is validated againstHPSProviderDiscriminatedProperties.getAllowedRequestableFormNames(String, String). -
setDescription
A description that will be stored in the UID metadata (on Chase's side) to indicate why this profile was created. If not provided, a generic default value will be set by the system. -
setPaymentOwnerType
After HPS submission is completed and the profile is created, the caller's next step is typically to create a BLC
Paymentwith the result. In an effort to guarantee consistency of payment ownership (i.e., a profile created for cartX cannot be used to create a Payment for cartY), the caller should send the expected payment owner information in this field. It will be passed along and stored in the UID metadata (on Chase's side).In most cases, this will be 'BLC_CART'.
-
setPaymentOwnerId
In most cases, this will be the Broadleaf Cart ID. Please seegetPaymentOwnerType()for more context about this field. -
setBillingAddress
public void setBillingAddress(@Nullable BroadleafHPSOrderAbstractionInitBillingAddress billingAddress) Billing address fields. If provided, will be passed along to pre-populate the HPF with these values. Useful in scenarios where a shipping address is already known and the billing address is the 'same as shipping address'. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-