Skip to main content

beyonic@0.1.5

Adaptor

Adaptor.execute

Kind: static class of Adaptor

new exports.execute(operations)

Execute a sequence of operations. Wraps language-common/execute, and prepends initial state for beyonic.

ParamTypeDescription
operationsOperationsOperations to be performed.

Example

execute(
create('foo'),
delete('bar')
)(state)

Adaptor.createPayment

Kind: static class of Adaptor

new exports.createPayment(data)

Create a payment

ParamTypeDescription
dataobjectPayload data for the payment

Example

execute(
createPayment(data)
)(state)

Adaptor.createContact

Kind: static class of Adaptor

new exports.createContact(data)

Create a contact

ParamTypeDescription
dataobjectPayload data for the contact

Example

execute(
createContact(data)
)(state)

Adaptor.createCollectionRequest

Kind: static class of Adaptor

new exports.createCollectionRequest(data)

Create a collection request

ParamTypeDescription
dataobjectPayload data for the collection request

Example

execute(
createCollectionRequest(data)
)(state)