Interface PaymentMethodApi
- All Known Implementing Classes:
TmaPaymentMethodApiController
public interface PaymentMethodApi
Interface handling operations for
PaymentMethodType.- Since:
- 2302
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<PaymentMethodType>createPaymentMethod(@Valid PaymentMethodType body) org.springframework.http.ResponseEntity<PaymentMethodType>retrievePaymentMethod(String id, @Valid String type, @Valid String baseSiteId, @Valid String relatedPartyId, @Valid String fields) 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, @Valid Integer currentPage, @Valid Integer pageSize)
-
Field Details
-
DEFAULT_PAGE_VALUE
- See Also:
-
MAX_INTEGER
- See Also:
-
-
Method Details
-
createPaymentMethod
@RequestMapping(value="/paymentMethod", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=POST) org.springframework.http.ResponseEntity<PaymentMethodType> createPaymentMethod(@Valid @RequestBody @Valid PaymentMethodType body) -
retrievePaymentMethods
@RequestMapping(value="/paymentMethod", produces="application/json", method=GET) 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, @Valid @RequestParam(required=false,defaultValue="0") @Valid Integer currentPage, @Valid @RequestParam(required=false,defaultValue="20") @Valid Integer pageSize) -
retrievePaymentMethod
@RequestMapping(value="/paymentMethod/{id}", produces="application/json;charset=utf-8", method=GET) org.springframework.http.ResponseEntity<PaymentMethodType> retrievePaymentMethod(@PathVariable("id") String id, @Valid @RequestParam("type") @Valid String type, @Valid @RequestParam("baseSiteId") @Valid String baseSiteId, @Valid @RequestParam("relatedParty.id") @Valid String relatedPartyId, @Valid @RequestParam("fields") @Valid String fields)
-