Class PaymentEndpoint
java.lang.Object
com.maplander.backend.controller.endpoint.fiabci.PaymentEndpoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncancelAccount(Long userId) cancelSubscriptionPayment(Long userId) changeCardSubscription(Long userId, String token) changeSubscription(Long officeId, SubscriptionTypeEnum type, PaymentTypeEnum paymentType) changeSubscriptionsToIndividual(Long officeId) Deprecated.createPaymentUser(Long userId, SubscriptionTypeEnum typeEnum, String token) Deprecated.createPaymentUserNew(Long userId, SubscriptionTypeEnum typeEnum, String token) createUserAndToken(String token, DeviceTypeEnum type, String appleId, User user) getPlans()getSubscription(Long userId) pauseAccountPayment(Long userId) reactivePlan(Long officeId) sendPlansApple(Long userId) subscriptionCharge(Long userId, AccountTypeEnum accountType, PaymentTypeEnum paymentType)
-
Constructor Details
-
PaymentEndpoint
public PaymentEndpoint()
-
-
Method Details
-
createTokenPayment
-
createUserAndToken
public EntityResponse<UserAndToken> createUserAndToken(String token, DeviceTypeEnum type, String appleId, User user) -
createPaymentUser
@Deprecated public EntityResponse<PaymentUser> createPaymentUser(Long userId, SubscriptionTypeEnum typeEnum, String token) Deprecated. -
createPaymentUserNew
public EntityResponse<PaymentUser> createPaymentUserNew(Long userId, SubscriptionTypeEnum typeEnum, String token) -
cancelSubscriptionPayment
-
pauseAccountPayment
-
cancelAccount
-
getSubscription
-
subscriptionCharge
public EntityResponse<PaymentUser> subscriptionCharge(Long userId, AccountTypeEnum accountType, PaymentTypeEnum paymentType) -
getPlans
-
changeCardSubscription
-
changeSubscription
public EntityResponse<PaymentUser> changeSubscription(Long officeId, SubscriptionTypeEnum type, PaymentTypeEnum paymentType) -
sendPlansApple
-
reactivePlan
-
changeSubscriptionsToIndividual
Deprecated.
-