usimple-saleor-sdk
Version:
This package contains all queries and mutations that are used in our sample storefront. It can be used for semi-custom or fully-custom (with ability to extend existing queries) storefront solutions.
37 lines • 782 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.paymentGatewayFragment = exports.paymentFragment = void 0;
const graphql_tag_1 = __importDefault(require("graphql-tag"));
exports.paymentFragment = graphql_tag_1.default `
fragment Payment on Payment {
id
gateway
token
creditCard {
brand
firstDigits
lastDigits
expMonth
expYear
}
total {
amount
currency
}
}
`;
exports.paymentGatewayFragment = graphql_tag_1.default `
fragment PaymentGateway on PaymentGateway {
id
name
config {
field
value
}
currencies
}
`;
//# sourceMappingURL=payment.js.map