Pratik Khandelwal
getCurrentSubscription
nullable type. Doing a
it
Subscription?
Subscription
cancelSubscription
it.id
getCurrentSubscription.invoke(customerId).let { cancelSubscription.invoke(it.id, cancelled).let { subscription -> subscriptionApiMapper.fromDomainModel(subscription) } }
Rob Elliot
getCurrentSubscription.invoke(customerId)?.let {
let
?.let
null
A modern programming language that makes developers happier.