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, Boolean usdPrice) changeSubscription(Long officeId, SubscriptionTypeEnum type, PaymentTypeEnum paymentType) 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, Boolean usdPrice) sendPlansApple(Long userId) subscriptionCharge(Long userId, AccountTypeEnum accountType, PaymentTypeEnum paymentType, Boolean usdPrice)
-
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, Boolean usdPrice) -
getPlans
-
changeCardSubscription
public EntityResponse<PaymentUser> changeCardSubscription(Long userId, String token, Boolean usdPrice) -
changeSubscription
public EntityResponse<PaymentUser> changeSubscription(Long officeId, SubscriptionTypeEnum type, PaymentTypeEnum paymentType) -
sendPlansApple
-
reactivePlan
-