-
public class FetchConvFeeRequest.BuilderThe Builder class is used to construct a FetchConvFeeRequest with the necessary attributes.It provides setter methods for all required fields and a build method to create the final object.
-
-
Field Summary
Fields Modifier and Type Field Description private StringpayuIdprivate StringmerchantKeyprivate doubleamountprivate Stringsourceprivate StringtimeStampprivate StringrequestIdprivate CommonDynamicAttributescommonDynamicAttributesprivate List<VariableDynamicAttributes>variableDynamicAttributesList
-
Method Summary
Modifier and Type Method Description FetchConvFeeRequest.BuildersetPayuId(String payuId)Sets the PayU ID for the request. FetchConvFeeRequest.BuildersetMerchantKey(String merchantKey)Sets the merchant key for the request. FetchConvFeeRequest.BuildersetAmount(double amount)Sets the amount for the request. FetchConvFeeRequest.BuildersetSource(String source)Sets the source for the request. FetchConvFeeRequest.BuildersetTimeStamp(String timeStamp)Sets the timestamp for the request. FetchConvFeeRequest.BuildersetRequestId(String requestId)Sets the request ID for the request. FetchConvFeeRequest.BuildersetCommonDynamicAttributes(CommonDynamicAttributes commonDynamicAttributes)Sets the common dynamic attributes for the request. FetchConvFeeRequest.BuildersetVariableDynamicAttributesList(List<VariableDynamicAttributes> variableDynamicAttributesList)Sets the list of variable dynamic attributes for the request. FetchConvFeeRequestbuild()Builds and returns the FetchConvFeeRequest object. -
-
Method Detail
-
setPayuId
FetchConvFeeRequest.Builder setPayuId(String payuId)
Sets the PayU ID for the request.
- Parameters:
payuId- The PayU ID.
-
setMerchantKey
FetchConvFeeRequest.Builder setMerchantKey(String merchantKey)
Sets the merchant key for the request.
- Parameters:
merchantKey- The merchant key.
-
setAmount
FetchConvFeeRequest.Builder setAmount(double amount)
Sets the amount for the request.
- Parameters:
amount- The amount.
-
setSource
FetchConvFeeRequest.Builder setSource(String source)
Sets the source for the request.
- Parameters:
source- The source.
-
setTimeStamp
FetchConvFeeRequest.Builder setTimeStamp(String timeStamp)
Sets the timestamp for the request.
- Parameters:
timeStamp- The timestamp.
-
setRequestId
FetchConvFeeRequest.Builder setRequestId(String requestId)
Sets the request ID for the request.
- Parameters:
requestId- The request ID.
-
setCommonDynamicAttributes
FetchConvFeeRequest.Builder setCommonDynamicAttributes(CommonDynamicAttributes commonDynamicAttributes)
Sets the common dynamic attributes for the request.
- Parameters:
commonDynamicAttributes- The common dynamic attributes.
-
setVariableDynamicAttributesList
FetchConvFeeRequest.Builder setVariableDynamicAttributesList(List<VariableDynamicAttributes> variableDynamicAttributesList)
Sets the list of variable dynamic attributes for the request.
- Parameters:
variableDynamicAttributesList- The list of variable dynamic attributes.
-
build
FetchConvFeeRequest build()
Builds and returns the FetchConvFeeRequest object.
-
-
-
-