Class TmaPaymentMethodApiController
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaBaseController
de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaPaymentMethodApiController
- All Implemented Interfaces:
PaymentMethodApi
@Controller
public class TmaPaymentMethodApiController
extends TmaBaseController
implements PaymentMethodApi
Default implementation of
PaymentMethodApi- Since:
- 1907
-
Field Summary
Fields inherited from class de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaBaseController
BAD_REQUEST, NOT_FOUND -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<PaymentMethodType>createPaymentMethod(@Valid PaymentMethodType paymentMethod) org.springframework.http.ResponseEntity<List<PaymentMethodType>>retrievePaymentMethods(@Valid String type, @Valid String baseSiteId, @Valid String bankAccountPeriodBIC, @Valid String bankAccountPeriodaccountNumber, @Valid String bankAccountPeriodbank, @Valid String bankCardPeriodcardNumber, @Valid String bankCardPeriodnameOnCard, @Valid String bankCardPeriodtype, @Valid String checkPeriodcheckId, @Valid String checkPeriodbank, @Valid String relatedPartyId, @Valid String relatedPartyPeriodtype, @Valid String loyaltyAccount, @Valid String digitalWalletPeriodservice, @Valid String digitalWalletPeriodid, @Valid String bucket, @Valid String voucherPeriodid, @Valid String voucherPeriodcode, @Valid String fields, @Valid Integer limit, @Valid Integer offset) Methods inherited from class de.hybris.platform.b2ctelcotmfwebservices.v2.controller.TmaBaseController
encodeUrl, filter, getDataMapper, getObjectMapper, getQueryStringWithoutOffsetAndLimit, getRequestUrl, getUnsuccessfulResponse, getUnsuccessfulResponseWithErrorRepresentation, handleInternalError, handleModelNotFoundException, handleTmaApiErrorInternal, init, sanitize, sanitizeQueryString
-
Constructor Details
-
TmaPaymentMethodApiController
public TmaPaymentMethodApiController()
-
-
Method Details
-
retrievePaymentMethods
@RequestMapping(value="/paymentMethod", produces="application/json", method=GET) public org.springframework.http.ResponseEntity<List<PaymentMethodType>> retrievePaymentMethods(@Valid @RequestParam(value="type",required=false) @Valid String type, @Valid @RequestParam(value="baseSiteId",required=false) @Valid String baseSiteId, @Valid @RequestParam(value="bankAccount.BIC",required=false) @Valid String bankAccountPeriodBIC, @Valid @RequestParam(value="bankAccount.accountNumber",required=false) @Valid String bankAccountPeriodaccountNumber, @Valid @RequestParam(value="bankAccount.bank",required=false) @Valid String bankAccountPeriodbank, @Valid @RequestParam(value="bankCard.cardNumber",required=false) @Valid String bankCardPeriodcardNumber, @Valid @RequestParam(value="bankCard.nameOnCard",required=false) @Valid String bankCardPeriodnameOnCard, @Valid @RequestParam(value="bankCard.type",required=false) @Valid String bankCardPeriodtype, @Valid @RequestParam(value="check.checkId",required=false) @Valid String checkPeriodcheckId, @Valid @RequestParam(value="check.bank",required=false) @Valid String checkPeriodbank, @Valid @RequestParam(value="relatedParty.id",required=false) @Valid String relatedPartyId, @Valid @RequestParam(value="relatedParty.type",required=false) @Valid String relatedPartyPeriodtype, @Valid @RequestParam(value="loyaltyAccount",required=false) @Valid String loyaltyAccount, @Valid @RequestParam(value="digitalWallet.service",required=false) @Valid String digitalWalletPeriodservice, @Valid @RequestParam(value="digitalWallet.id",required=false) @Valid String digitalWalletPeriodid, @Valid @RequestParam(value="bucket",required=false) @Valid String bucket, @Valid @RequestParam(value="voucher.id",required=false) @Valid String voucherPeriodid, @Valid @RequestParam(value="voucher.code",required=false) @Valid String voucherPeriodcode, @Valid @RequestParam(value="fields",required=false) @Valid String fields, @Valid @RequestParam(value="limit",required=false) @Valid Integer limit, @Valid @RequestParam(value="offset",required=false) @Valid Integer offset) - Specified by:
retrievePaymentMethodsin interfacePaymentMethodApi
-
createPaymentMethod
@RequestMapping(value="/paymentMethod", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=POST) public org.springframework.http.ResponseEntity<PaymentMethodType> createPaymentMethod(@Valid @RequestBody @Valid PaymentMethodType paymentMethod) - Specified by:
createPaymentMethodin interfacePaymentMethodApi
-