SV
.then((statusMessage) => {
if (statusMessage === 'User card successfully has approved') {
return this.xmlTransactionRequest(this.safeKey, '0.01')
.then(this.preSaveOnResolve, (reason) => {
const { extraInfo } = reason;
return { message: 'User card not save', extraInfo };
})
.then(response => {
return response;
});
}
});
Есть такая цепочка вызовов, и мне нужно в this.preSaveOnResolve иметь доступ к this, помимо bind, call, apply, есть возможность достучать из метода к this;
Если что то все методы вызываются внутри класса