Coder Social home page Coder Social logo

rezdy-api-v1's People

Contributors

bploeger avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rezdy-api-v1's Issues

Search customers, bug encounter

Hi,
Thanks first for your repository.
I encounter some difficulties with the customers part.
When i try your script for search specific customer or all, i have this issue :

Type: TypeError Message: Argument 1 passed to Rezdy\Services\CustomerServices::search() must be an instance of Rezdy\Requests\SimpleSearch, instance of Rezdy\Requests\Customer given

But i really use exactly your exemple for search :

`
use Rezdy\RezdyAPI;
use Rezdy\Requests\SimpleSearch;

// Initialize the API
$rezdyAPI = new RezdyAPI('xxxxxx');

$searchParams = [
'search' => 'Moore' ];

// Create a SimpleSearch request
$search = new Customer($searchParams);

// Send the Customer request to the API
$response = $rezdyAPI->customers->search($search);

// View the response
echo $response;
`

Is there something i did wrong ?

Thanks by advance

Quantities for multiple items / participants

Hi,
I encounter some difficulties when i try to do a booking with multiple items.
There's no keys inside the BookingItemQuantity class for indicate wich item is impact by the quantity.
And for the participants i encounter the same deal, but even with 1 item the array is not take at all when i execute the booking->create.

Can you explain me how to add multiple quantitites and ane xemple how add the participants to each one ?
Thanks a lot

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.