Skip to content
This repository was archived by the owner on Oct 10, 2019. It is now read-only.
This repository was archived by the owner on Oct 10, 2019. It is now read-only.

Have Klarna::setAddress accept one call to set both Billing and Shipping Address #18

@LeonidasJP

Description

@LeonidasJP

Currently, Klarna::setAddress will only accept an address, if either the flag Flags::IS_SHIPPING or Flags::IS_BILLING has been set (eg: $k->setAddress(Flags::IS_SHIPPING, $addr);)
If both of these flags are set in the same call, it will refuse to accept an address passed to the function. (eg: $k->setAddress(Flags::IS_SHIPPING & Flags::IS_BILLING, $addr);)

Is it possible to extend the functionality of Klarna::setAddress to allow both flags to be set, and set both the Billing and Shipping addresses at the same time?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions